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

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 (522) hide show
  1. package/lib/access-control-values.d.ts +98 -0
  2. package/lib/access-control-values.d.ts.map +1 -0
  3. package/lib/access-control-values.js +101 -0
  4. package/lib/access-control-values.js.map +1 -0
  5. package/lib/access-control.d.ts +22 -119
  6. package/lib/access-control.d.ts.map +1 -1
  7. package/lib/access-control.js +6 -78
  8. package/lib/access-control.js.map +1 -1
  9. package/lib/account-values.d.ts +53 -0
  10. package/lib/account-values.d.ts.map +1 -0
  11. package/lib/account-values.js +91 -0
  12. package/lib/account-values.js.map +1 -0
  13. package/lib/analytics.d.ts +12 -38
  14. package/lib/analytics.d.ts.map +1 -1
  15. package/lib/api-schemas/access-control.d.ts +215 -0
  16. package/lib/api-schemas/access-control.d.ts.map +1 -0
  17. package/lib/api-schemas/access-control.js +165 -0
  18. package/lib/api-schemas/access-control.js.map +1 -0
  19. package/lib/api-schemas/account.d.ts +101 -0
  20. package/lib/api-schemas/account.d.ts.map +1 -0
  21. package/lib/api-schemas/account.js +136 -0
  22. package/lib/api-schemas/account.js.map +1 -0
  23. package/lib/api-schemas/adapter.d.ts +80 -0
  24. package/lib/api-schemas/adapter.d.ts.map +1 -0
  25. package/lib/api-schemas/adapter.js +726 -0
  26. package/lib/api-schemas/adapter.js.map +1 -0
  27. package/lib/api-schemas/agent-runs.d.ts +3781 -0
  28. package/lib/api-schemas/agent-runs.d.ts.map +1 -0
  29. package/lib/api-schemas/agent-runs.js +991 -0
  30. package/lib/api-schemas/agent-runs.js.map +1 -0
  31. package/lib/api-schemas/analytics.d.ts +86 -0
  32. package/lib/api-schemas/analytics.d.ts.map +1 -0
  33. package/lib/api-schemas/analytics.js +58 -0
  34. package/lib/api-schemas/analytics.js.map +1 -0
  35. package/lib/api-schemas/apikey.d.ts +231 -0
  36. package/lib/api-schemas/apikey.d.ts.map +1 -0
  37. package/lib/api-schemas/apikey.js +172 -0
  38. package/lib/api-schemas/apikey.js.map +1 -0
  39. package/lib/api-schemas/app-lifecycle.d.ts +1114 -0
  40. package/lib/api-schemas/app-lifecycle.d.ts.map +1 -0
  41. package/lib/api-schemas/app-lifecycle.js +750 -0
  42. package/lib/api-schemas/app-lifecycle.js.map +1 -0
  43. package/lib/api-schemas/app-runtime.d.ts +9056 -0
  44. package/lib/api-schemas/app-runtime.d.ts.map +1 -0
  45. package/lib/api-schemas/app-runtime.js +782 -0
  46. package/lib/api-schemas/app-runtime.js.map +1 -0
  47. package/lib/api-schemas/apps.d.ts +247 -0
  48. package/lib/api-schemas/apps.d.ts.map +1 -0
  49. package/lib/api-schemas/apps.js +366 -0
  50. package/lib/api-schemas/apps.js.map +1 -0
  51. package/lib/api-schemas/audit-trail.d.ts +465 -0
  52. package/lib/api-schemas/audit-trail.d.ts.map +1 -0
  53. package/lib/api-schemas/audit-trail.js +218 -0
  54. package/lib/api-schemas/audit-trail.js.map +1 -0
  55. package/lib/api-schemas/bulk-operation.d.ts +104 -0
  56. package/lib/api-schemas/bulk-operation.d.ts.map +1 -0
  57. package/lib/api-schemas/bulk-operation.js +66 -0
  58. package/lib/api-schemas/bulk-operation.js.map +1 -0
  59. package/lib/api-schemas/commands.d.ts +50 -0
  60. package/lib/api-schemas/commands.d.ts.map +1 -0
  61. package/lib/api-schemas/commands.js +58 -0
  62. package/lib/api-schemas/commands.js.map +1 -0
  63. package/lib/api-schemas/content.d.ts +3561 -0
  64. package/lib/api-schemas/content.d.ts.map +1 -0
  65. package/lib/api-schemas/content.js +842 -0
  66. package/lib/api-schemas/content.js.map +1 -0
  67. package/lib/api-schemas/cost-analytics.d.ts +300 -0
  68. package/lib/api-schemas/cost-analytics.d.ts.map +1 -0
  69. package/lib/api-schemas/cost-analytics.js +218 -0
  70. package/lib/api-schemas/cost-analytics.js.map +1 -0
  71. package/lib/api-schemas/dashboard.d.ts +408 -0
  72. package/lib/api-schemas/dashboard.d.ts.map +1 -0
  73. package/lib/api-schemas/dashboard.js +311 -0
  74. package/lib/api-schemas/dashboard.js.map +1 -0
  75. package/lib/api-schemas/data-store.d.ts +1650 -0
  76. package/lib/api-schemas/data-store.d.ts.map +1 -0
  77. package/lib/api-schemas/data-store.js +504 -0
  78. package/lib/api-schemas/data-store.js.map +1 -0
  79. package/lib/api-schemas/document-processing.d.ts +1501 -0
  80. package/lib/api-schemas/document-processing.d.ts.map +1 -0
  81. package/lib/api-schemas/document-processing.js +312 -0
  82. package/lib/api-schemas/document-processing.js.map +1 -0
  83. package/lib/api-schemas/embeddings.d.ts +184 -0
  84. package/lib/api-schemas/embeddings.d.ts.map +1 -0
  85. package/lib/api-schemas/embeddings.js +102 -0
  86. package/lib/api-schemas/embeddings.js.map +1 -0
  87. package/lib/api-schemas/environment.d.ts +412 -0
  88. package/lib/api-schemas/environment.d.ts.map +1 -0
  89. package/lib/api-schemas/environment.js +170 -0
  90. package/lib/api-schemas/environment.js.map +1 -0
  91. package/lib/api-schemas/events.d.ts +4880 -0
  92. package/lib/api-schemas/events.d.ts.map +1 -0
  93. package/lib/api-schemas/events.js +832 -0
  94. package/lib/api-schemas/events.js.map +1 -0
  95. package/lib/api-schemas/files.d.ts +107 -0
  96. package/lib/api-schemas/files.d.ts.map +1 -0
  97. package/lib/api-schemas/files.js +137 -0
  98. package/lib/api-schemas/files.js.map +1 -0
  99. package/lib/api-schemas/group.d.ts +122 -0
  100. package/lib/api-schemas/group.d.ts.map +1 -0
  101. package/lib/api-schemas/group.js +142 -0
  102. package/lib/api-schemas/group.js.map +1 -0
  103. package/lib/api-schemas/index.d.ts +36 -0
  104. package/lib/api-schemas/index.d.ts.map +1 -0
  105. package/lib/api-schemas/index.js +36 -0
  106. package/lib/api-schemas/index.js.map +1 -0
  107. package/lib/api-schemas/indexing.d.ts +144 -0
  108. package/lib/api-schemas/indexing.d.ts.map +1 -0
  109. package/lib/api-schemas/indexing.js +217 -0
  110. package/lib/api-schemas/indexing.js.map +1 -0
  111. package/lib/api-schemas/integrations.d.ts +269 -0
  112. package/lib/api-schemas/integrations.d.ts.map +1 -0
  113. package/lib/api-schemas/integrations.js +335 -0
  114. package/lib/api-schemas/integrations.js.map +1 -0
  115. package/lib/api-schemas/interaction.d.ts +22454 -0
  116. package/lib/api-schemas/interaction.d.ts.map +1 -0
  117. package/lib/api-schemas/interaction.js +2065 -0
  118. package/lib/api-schemas/interaction.js.map +1 -0
  119. package/lib/api-schemas/invites.d.ts +162 -0
  120. package/lib/api-schemas/invites.d.ts.map +1 -0
  121. package/lib/api-schemas/invites.js +106 -0
  122. package/lib/api-schemas/invites.js.map +1 -0
  123. package/lib/api-schemas/oauth-server.d.ts +415 -0
  124. package/lib/api-schemas/oauth-server.d.ts.map +1 -0
  125. package/lib/api-schemas/oauth-server.js +193 -0
  126. package/lib/api-schemas/oauth-server.js.map +1 -0
  127. package/lib/api-schemas/oauth.d.ts +150 -0
  128. package/lib/api-schemas/oauth.d.ts.map +1 -0
  129. package/lib/api-schemas/oauth.js +148 -0
  130. package/lib/api-schemas/oauth.js.map +1 -0
  131. package/lib/api-schemas/parameters.d.ts +64 -0
  132. package/lib/api-schemas/parameters.d.ts.map +1 -0
  133. package/lib/api-schemas/parameters.js +246 -0
  134. package/lib/api-schemas/parameters.js.map +1 -0
  135. package/lib/api-schemas/process.d.ts +499 -0
  136. package/lib/api-schemas/process.d.ts.map +1 -0
  137. package/lib/api-schemas/process.js +817 -0
  138. package/lib/api-schemas/process.js.map +1 -0
  139. package/lib/api-schemas/project-configuration.d.ts +4900 -0
  140. package/lib/api-schemas/project-configuration.d.ts.map +1 -0
  141. package/lib/api-schemas/project-configuration.js +425 -0
  142. package/lib/api-schemas/project-configuration.js.map +1 -0
  143. package/lib/api-schemas/project.d.ts +7247 -0
  144. package/lib/api-schemas/project.d.ts.map +1 -0
  145. package/lib/api-schemas/project.js +185 -0
  146. package/lib/api-schemas/project.js.map +1 -0
  147. package/lib/api-schemas/prompt.d.ts +70 -0
  148. package/lib/api-schemas/prompt.d.ts.map +1 -0
  149. package/lib/api-schemas/prompt.js +77 -0
  150. package/lib/api-schemas/prompt.js.map +1 -0
  151. package/lib/api-schemas/quota.d.ts +90 -0
  152. package/lib/api-schemas/quota.d.ts.map +1 -0
  153. package/lib/api-schemas/quota.js +95 -0
  154. package/lib/api-schemas/quota.js.map +1 -0
  155. package/lib/api-schemas/registry.d.ts +97458 -0
  156. package/lib/api-schemas/registry.d.ts.map +1 -0
  157. package/lib/api-schemas/registry.js +2586 -0
  158. package/lib/api-schemas/registry.js.map +1 -0
  159. package/lib/api-schemas/schema-primitives.d.ts +5 -0
  160. package/lib/api-schemas/schema-primitives.d.ts.map +1 -0
  161. package/lib/api-schemas/schema-primitives.js +11 -0
  162. package/lib/api-schemas/schema-primitives.js.map +1 -0
  163. package/lib/api-schemas/secrets.d.ts +497 -0
  164. package/lib/api-schemas/secrets.d.ts.map +1 -0
  165. package/lib/api-schemas/secrets.js +298 -0
  166. package/lib/api-schemas/secrets.js.map +1 -0
  167. package/lib/api-schemas/store.d.ts +22140 -0
  168. package/lib/api-schemas/store.d.ts.map +1 -0
  169. package/lib/api-schemas/store.js +557 -0
  170. package/lib/api-schemas/store.js.map +1 -0
  171. package/lib/api-schemas/sts.d.ts +156 -0
  172. package/lib/api-schemas/sts.d.ts.map +1 -0
  173. package/lib/api-schemas/sts.js +96 -0
  174. package/lib/api-schemas/sts.js.map +1 -0
  175. package/lib/api-schemas/task.d.ts +215 -0
  176. package/lib/api-schemas/task.d.ts.map +1 -0
  177. package/lib/api-schemas/task.js +95 -0
  178. package/lib/api-schemas/task.js.map +1 -0
  179. package/lib/api-schemas/tools.d.ts +111 -0
  180. package/lib/api-schemas/tools.d.ts.map +1 -0
  181. package/lib/api-schemas/tools.js +122 -0
  182. package/lib/api-schemas/tools.js.map +1 -0
  183. package/lib/api-schemas/user.d.ts +208 -0
  184. package/lib/api-schemas/user.d.ts.map +1 -0
  185. package/lib/api-schemas/user.js +180 -0
  186. package/lib/api-schemas/user.js.map +1 -0
  187. package/lib/api-schemas/view-execution.d.ts +3163 -0
  188. package/lib/api-schemas/view-execution.d.ts.map +1 -0
  189. package/lib/api-schemas/view-execution.js +172 -0
  190. package/lib/api-schemas/view-execution.js.map +1 -0
  191. package/lib/api-schemas/views.d.ts +5990 -0
  192. package/lib/api-schemas/views.d.ts.map +1 -0
  193. package/lib/api-schemas/views.js +396 -0
  194. package/lib/api-schemas/views.js.map +1 -0
  195. package/lib/api-schemas/workflow-runs.d.ts +2209 -0
  196. package/lib/api-schemas/workflow-runs.d.ts.map +1 -0
  197. package/lib/api-schemas/workflow-runs.js +589 -0
  198. package/lib/api-schemas/workflow-runs.js.map +1 -0
  199. package/lib/apikey-values.d.ts +10 -0
  200. package/lib/apikey-values.d.ts.map +1 -0
  201. package/lib/apikey-values.js +11 -0
  202. package/lib/apikey-values.js.map +1 -0
  203. package/lib/apikey.d.ts +37 -36
  204. package/lib/apikey.d.ts.map +1 -1
  205. package/lib/apikey.js +5 -4
  206. package/lib/apikey.js.map +1 -1
  207. package/lib/apps.d.ts +116 -1121
  208. package/lib/apps.d.ts.map +1 -1
  209. package/lib/apps.js.map +1 -1
  210. package/lib/ask-user.d.ts +8 -1
  211. package/lib/ask-user.d.ts.map +1 -1
  212. package/lib/audit-trail.d.ts +17 -128
  213. package/lib/audit-trail.d.ts.map +1 -1
  214. package/lib/audit-trail.js.map +1 -1
  215. package/lib/browser-credentials.d.ts +11 -106
  216. package/lib/browser-credentials.d.ts.map +1 -1
  217. package/lib/common.d.ts +59 -81
  218. package/lib/common.d.ts.map +1 -1
  219. package/lib/cost-analytics.d.ts +14 -167
  220. package/lib/cost-analytics.d.ts.map +1 -1
  221. package/lib/cost-analytics.js.map +1 -1
  222. package/lib/data-platform.d.ts +122 -786
  223. package/lib/data-platform.d.ts.map +1 -1
  224. package/lib/data-platform.js +41 -61
  225. package/lib/data-platform.js.map +1 -1
  226. package/lib/email.d.ts +5 -17
  227. package/lib/email.d.ts.map +1 -1
  228. package/lib/email.js +0 -3
  229. package/lib/email.js.map +1 -1
  230. package/lib/embeddings.d.ts +14 -56
  231. package/lib/embeddings.d.ts.map +1 -1
  232. package/lib/environment.d.ts +19 -113
  233. package/lib/environment.d.ts.map +1 -1
  234. package/lib/environment.js +3 -0
  235. package/lib/environment.js.map +1 -1
  236. package/lib/facets.d.ts +4 -7
  237. package/lib/facets.d.ts.map +1 -1
  238. package/lib/group.d.ts +33 -39
  239. package/lib/group.d.ts.map +1 -1
  240. package/lib/group.js +0 -1
  241. package/lib/group.js.map +1 -1
  242. package/lib/index.d.ts +7 -0
  243. package/lib/index.d.ts.map +1 -1
  244. package/lib/index.js.map +1 -1
  245. package/lib/integrations.d.ts +20 -108
  246. package/lib/integrations.d.ts.map +1 -1
  247. package/lib/integrations.js.map +1 -1
  248. package/lib/interaction-values.d.ts +11 -0
  249. package/lib/interaction-values.d.ts.map +1 -0
  250. package/lib/interaction-values.js +24 -0
  251. package/lib/interaction-values.js.map +1 -0
  252. package/lib/interaction.d.ts +116 -734
  253. package/lib/interaction.d.ts.map +1 -1
  254. package/lib/interaction.js +56 -12
  255. package/lib/interaction.js.map +1 -1
  256. package/lib/meters.d.ts +11 -7
  257. package/lib/meters.d.ts.map +1 -1
  258. package/lib/meters.js.map +1 -1
  259. package/lib/oauth-server.d.ts +33 -119
  260. package/lib/oauth-server.d.ts.map +1 -1
  261. package/lib/oauth.d.ts +14 -96
  262. package/lib/oauth.d.ts.map +1 -1
  263. package/lib/oauth.js +0 -4
  264. package/lib/oauth.js.map +1 -1
  265. package/lib/payload.d.ts +15 -38
  266. package/lib/payload.d.ts.map +1 -1
  267. package/lib/platform-event.d.ts +49 -462
  268. package/lib/platform-event.d.ts.map +1 -1
  269. package/lib/platform-event.js.map +1 -1
  270. package/lib/principal-context.d.ts +10 -15
  271. package/lib/principal-context.d.ts.map +1 -1
  272. package/lib/project-values.d.ts +24 -0
  273. package/lib/project-values.d.ts.map +1 -0
  274. package/lib/project-values.js +42 -0
  275. package/lib/project-values.js.map +1 -0
  276. package/lib/project.d.ts +55 -503
  277. package/lib/project.d.ts.map +1 -1
  278. package/lib/project.js +6 -76
  279. package/lib/project.js.map +1 -1
  280. package/lib/prompt.d.ts +20 -51
  281. package/lib/prompt.d.ts.map +1 -1
  282. package/lib/prompt.js.map +1 -1
  283. package/lib/query.d.ts +27 -88
  284. package/lib/query.d.ts.map +1 -1
  285. package/lib/rate-limiter.d.ts +19 -70
  286. package/lib/rate-limiter.d.ts.map +1 -1
  287. package/lib/rate-limiter.js +0 -3
  288. package/lib/rate-limiter.js.map +1 -1
  289. package/lib/refs.d.ts +3 -11
  290. package/lib/refs.d.ts.map +1 -1
  291. package/lib/refs.js.map +1 -1
  292. package/lib/roles/types.d.ts +14 -20
  293. package/lib/roles/types.d.ts.map +1 -1
  294. package/lib/roles/types.js +5 -9
  295. package/lib/roles/types.js.map +1 -1
  296. package/lib/runs.d.ts +6 -25
  297. package/lib/runs.d.ts.map +1 -1
  298. package/lib/secrets.d.ts +20 -105
  299. package/lib/secrets.d.ts.map +1 -1
  300. package/lib/store/agent-approval.d.ts +5 -14
  301. package/lib/store/agent-approval.d.ts.map +1 -1
  302. package/lib/store/agent-approval.js.map +1 -1
  303. package/lib/store/agent-run.d.ts +63 -342
  304. package/lib/store/agent-run.d.ts.map +1 -1
  305. package/lib/store/collections.d.ts +11 -63
  306. package/lib/store/collections.d.ts.map +1 -1
  307. package/lib/store/collections.js.map +1 -1
  308. package/lib/store/conversation-state.d.ts +63 -61
  309. package/lib/store/conversation-state.d.ts.map +1 -1
  310. package/lib/store/conversation-state.js +2 -0
  311. package/lib/store/conversation-state.js.map +1 -1
  312. package/lib/store/doc-analyzer.d.ts +9 -32
  313. package/lib/store/doc-analyzer.d.ts.map +1 -1
  314. package/lib/store/dsl-workflow.d.ts +37 -151
  315. package/lib/store/dsl-workflow.d.ts.map +1 -1
  316. package/lib/store/dsl-workflow.js.map +1 -1
  317. package/lib/store/editing-policy-schema.generated.d.ts +3 -0
  318. package/lib/store/editing-policy-schema.generated.d.ts.map +1 -0
  319. package/lib/store/editing-policy-schema.generated.js +28 -0
  320. package/lib/store/editing-policy-schema.generated.js.map +1 -0
  321. package/lib/store/grounded-extraction.d.ts +7 -104
  322. package/lib/store/grounded-extraction.d.ts.map +1 -1
  323. package/lib/store/grounded-extraction.js.map +1 -1
  324. package/lib/store/index.d.ts +2 -0
  325. package/lib/store/index.d.ts.map +1 -1
  326. package/lib/store/index.js +3 -0
  327. package/lib/store/index.js.map +1 -1
  328. package/lib/store/intake-policy-schema.generated.d.ts +3 -0
  329. package/lib/store/intake-policy-schema.generated.d.ts.map +1 -0
  330. package/lib/store/intake-policy-schema.generated.js +1425 -0
  331. package/lib/store/intake-policy-schema.generated.js.map +1 -0
  332. package/lib/store/process-schema.d.ts +80 -0
  333. package/lib/store/process-schema.d.ts.map +1 -1
  334. package/lib/store/process-schema.js +79 -0
  335. package/lib/store/process-schema.js.map +1 -1
  336. package/lib/store/process-validation.d.ts.map +1 -1
  337. package/lib/store/process-validation.js +70 -2
  338. package/lib/store/process-validation.js.map +1 -1
  339. package/lib/store/process.d.ts +36 -125
  340. package/lib/store/process.d.ts.map +1 -1
  341. package/lib/store/process.js.map +1 -1
  342. package/lib/store/rendering.d.ts +9 -64
  343. package/lib/store/rendering.d.ts.map +1 -1
  344. package/lib/store/rendering.js.map +1 -1
  345. package/lib/store/store.d.ts +98 -693
  346. package/lib/store/store.d.ts.map +1 -1
  347. package/lib/store/store.js +4 -443
  348. package/lib/store/store.js.map +1 -1
  349. package/lib/store/task.d.ts +15 -59
  350. package/lib/store/task.d.ts.map +1 -1
  351. package/lib/store/task.js +0 -3
  352. package/lib/store/task.js.map +1 -1
  353. package/lib/store/workflow.d.ts +56 -516
  354. package/lib/store/workflow.d.ts.map +1 -1
  355. package/lib/store/workflow.js +28 -11
  356. package/lib/store/workflow.js.map +1 -1
  357. package/lib/sts-token-types.d.ts +12 -66
  358. package/lib/sts-token-types.d.ts.map +1 -1
  359. package/lib/sts-token-types.js.map +1 -1
  360. package/lib/tools.d.ts +8 -100
  361. package/lib/tools.d.ts.map +1 -1
  362. package/lib/transient-tokens-values.d.ts +11 -0
  363. package/lib/transient-tokens-values.d.ts.map +1 -0
  364. package/lib/transient-tokens-values.js +12 -0
  365. package/lib/transient-tokens-values.js.map +1 -0
  366. package/lib/transient-tokens.d.ts +15 -13
  367. package/lib/transient-tokens.d.ts.map +1 -1
  368. package/lib/transient-tokens.js +5 -5
  369. package/lib/transient-tokens.js.map +1 -1
  370. package/lib/user.d.ts +54 -155
  371. package/lib/user.d.ts.map +1 -1
  372. package/lib/user.js +1 -78
  373. package/lib/user.js.map +1 -1
  374. package/lib/versions.d.ts +24 -1
  375. package/lib/versions.d.ts.map +1 -1
  376. package/lib/versions.js +23 -0
  377. package/lib/versions.js.map +1 -1
  378. package/lib/vertesia-common.js +6 -2
  379. package/lib/vertesia-common.js.map +1 -1
  380. package/lib/views-schema.d.ts +4 -4
  381. package/lib/views.d.ts +56 -312
  382. package/lib/views.d.ts.map +1 -1
  383. package/lib/views.js.map +1 -1
  384. package/package.json +14 -5
  385. package/src/access-control-values.ts +113 -0
  386. package/src/access-control.ts +33 -138
  387. package/src/account-values.ts +95 -0
  388. package/src/agent-resources.test.ts +100 -0
  389. package/src/analytics.ts +18 -42
  390. package/src/api-schemas/access-control.contract.test.ts +209 -0
  391. package/src/api-schemas/access-control.ts +208 -0
  392. package/src/api-schemas/account.contract.test.ts +318 -0
  393. package/src/api-schemas/account.ts +150 -0
  394. package/src/api-schemas/adapter-edge-cases.test.ts +480 -0
  395. package/src/api-schemas/adapter.ts +778 -0
  396. package/src/api-schemas/agent-runs.ts +1081 -0
  397. package/src/api-schemas/analytics.ts +65 -0
  398. package/src/api-schemas/apikey.contract.test.ts +270 -0
  399. package/src/api-schemas/apikey.ts +199 -0
  400. package/src/api-schemas/app-lifecycle.ts +841 -0
  401. package/src/api-schemas/app-runtime.ts +919 -0
  402. package/src/api-schemas/apps.ts +415 -0
  403. package/src/api-schemas/audit-trail.ts +243 -0
  404. package/src/api-schemas/bulk-operation.contract.test.ts +39 -0
  405. package/src/api-schemas/bulk-operation.ts +75 -0
  406. package/src/api-schemas/bundle-isolation.test.ts +80 -0
  407. package/src/api-schemas/commands.contract.test.ts +51 -0
  408. package/src/api-schemas/commands.ts +62 -0
  409. package/src/api-schemas/content.ts +939 -0
  410. package/src/api-schemas/cost-analytics.contract.test.ts +64 -0
  411. package/src/api-schemas/cost-analytics.ts +235 -0
  412. package/src/api-schemas/dashboard.contract.test.ts +127 -0
  413. package/src/api-schemas/dashboard.ts +351 -0
  414. package/src/api-schemas/data-store.contract.test.ts +91 -0
  415. package/src/api-schemas/data-store.ts +571 -0
  416. package/src/api-schemas/document-processing.contract.test.ts +76 -0
  417. package/src/api-schemas/document-processing.ts +344 -0
  418. package/src/api-schemas/embeddings.ts +113 -0
  419. package/src/api-schemas/environment.contract.test.ts +184 -0
  420. package/src/api-schemas/environment.ts +190 -0
  421. package/src/api-schemas/events.ts +921 -0
  422. package/src/api-schemas/files.ts +159 -0
  423. package/src/api-schemas/group.contract.test.ts +205 -0
  424. package/src/api-schemas/group.ts +155 -0
  425. package/src/api-schemas/index.ts +35 -0
  426. package/src/api-schemas/indexing.contract.test.ts +83 -0
  427. package/src/api-schemas/indexing.ts +234 -0
  428. package/src/api-schemas/integrations.ts +369 -0
  429. package/src/api-schemas/interaction.ts +2357 -0
  430. package/src/api-schemas/invites.contract.test.ts +268 -0
  431. package/src/api-schemas/invites.ts +127 -0
  432. package/src/api-schemas/llumiverse.contract.test.ts +108 -0
  433. package/src/api-schemas/oauth-server.ts +219 -0
  434. package/src/api-schemas/oauth.contract.test.ts +118 -0
  435. package/src/api-schemas/oauth.ts +166 -0
  436. package/src/api-schemas/parameters.test.ts +402 -0
  437. package/src/api-schemas/parameters.ts +310 -0
  438. package/src/api-schemas/process.ts +929 -0
  439. package/src/api-schemas/project-configuration.ts +478 -0
  440. package/src/api-schemas/project.contract.test.ts +365 -0
  441. package/src/api-schemas/project.ts +214 -0
  442. package/src/api-schemas/prompt.ts +88 -0
  443. package/src/api-schemas/pruning-limits.test.ts +189 -0
  444. package/src/api-schemas/quota.contract.test.ts +147 -0
  445. package/src/api-schemas/quota.ts +122 -0
  446. package/src/api-schemas/registry-groups.test.ts +91 -0
  447. package/src/api-schemas/registry.ts +3487 -0
  448. package/src/api-schemas/response-pruning.test.ts +260 -0
  449. package/src/api-schemas/schema-primitives.ts +12 -0
  450. package/src/api-schemas/secrets.ts +332 -0
  451. package/src/api-schemas/store.contract.test.ts +450 -0
  452. package/src/api-schemas/store.ts +604 -0
  453. package/src/api-schemas/sts.contract.test.ts +80 -0
  454. package/src/api-schemas/sts.ts +110 -0
  455. package/src/api-schemas/task.ts +104 -0
  456. package/src/api-schemas/tools.ts +140 -0
  457. package/src/api-schemas/user.contract.test.ts +191 -0
  458. package/src/api-schemas/user.ts +204 -0
  459. package/src/api-schemas/view-execution.ts +200 -0
  460. package/src/api-schemas/views.ts +437 -0
  461. package/src/api-schemas/workflow-runs.ts +653 -0
  462. package/src/apikey-values.ts +10 -0
  463. package/src/apikey.ts +49 -40
  464. package/src/apps.ts +249 -1179
  465. package/src/ask-user.ts +9 -1
  466. package/src/audit-trail.ts +45 -137
  467. package/src/browser-credentials.ts +21 -106
  468. package/src/common.ts +67 -78
  469. package/src/cost-analytics.ts +37 -176
  470. package/src/data-platform.ts +205 -776
  471. package/src/email.ts +5 -17
  472. package/src/embeddings.ts +22 -60
  473. package/src/environment.ts +52 -124
  474. package/src/facets.ts +4 -7
  475. package/src/group.ts +38 -42
  476. package/src/index.ts +11 -0
  477. package/src/integrations.ts +39 -129
  478. package/src/interaction-values.ts +23 -0
  479. package/src/interaction.ts +231 -841
  480. package/src/meters.ts +11 -7
  481. package/src/oauth-server.ts +58 -127
  482. package/src/oauth.ts +24 -108
  483. package/src/payload.ts +25 -40
  484. package/src/platform-event.ts +98 -484
  485. package/src/principal-context.ts +11 -15
  486. package/src/project-values.ts +41 -0
  487. package/src/project.ts +116 -588
  488. package/src/prompt.ts +34 -61
  489. package/src/query.ts +34 -93
  490. package/src/rate-limiter.ts +27 -75
  491. package/src/refs.ts +4 -11
  492. package/src/roles/types.ts +20 -20
  493. package/src/runs.ts +11 -24
  494. package/src/secrets.ts +38 -117
  495. package/src/store/agent-approval.ts +9 -14
  496. package/src/store/agent-run.ts +106 -434
  497. package/src/store/collections.ts +21 -63
  498. package/src/store/content-type-editing.test.ts +17 -0
  499. package/src/store/conversation-state.ts +78 -64
  500. package/src/store/doc-analyzer.ts +17 -33
  501. package/src/store/dsl-workflow.ts +62 -158
  502. package/src/store/editing-policy-schema.generated.ts +30 -0
  503. package/src/store/grounded-extraction.ts +13 -104
  504. package/src/store/index.ts +3 -0
  505. package/src/store/intake-policy-schema.generated.ts +1442 -0
  506. package/src/store/process-schema.test.ts +43 -0
  507. package/src/store/process-schema.ts +79 -0
  508. package/src/store/process-validation.test.ts +141 -0
  509. package/src/store/process-validation.ts +82 -2
  510. package/src/store/process.ts +70 -146
  511. package/src/store/rendering.ts +15 -64
  512. package/src/store/store.ts +197 -1182
  513. package/src/store/task.ts +25 -59
  514. package/src/store/workflow.ts +103 -554
  515. package/src/sts-token-types.ts +24 -75
  516. package/src/tools.ts +18 -97
  517. package/src/transient-tokens-values.ts +11 -0
  518. package/src/transient-tokens.ts +16 -13
  519. package/src/user.ts +74 -214
  520. package/src/versions.ts +24 -0
  521. package/src/views-schema.test.ts +9 -1
  522. package/src/views.ts +106 -329
@@ -0,0 +1,1114 @@
1
+ import { z } from 'zod';
2
+ export declare const UpdateAppInstallationToolAllowlistPayloadSchema: z.ZodObject<{
3
+ tool_allowlist: z.ZodType<string[] | null, unknown, z.core.$ZodTypeInternals<string[] | null, unknown>>;
4
+ }, z.core.$strict>;
5
+ export declare const ValidateUrlResponseSchema: z.ZodObject<{
6
+ valid: z.ZodBoolean;
7
+ }, z.core.$strict>;
8
+ export declare const ValidateUrlRequestSchema: z.ZodObject<{
9
+ url: z.ZodString;
10
+ }, z.core.$strict>;
11
+ export declare const AppVersionUrlsSchema: z.ZodObject<{
12
+ live_url: z.ZodOptional<z.ZodString>;
13
+ app_url: z.ZodOptional<z.ZodString>;
14
+ plugin_url: z.ZodOptional<z.ZodString>;
15
+ package_url: z.ZodOptional<z.ZodString>;
16
+ internal_preview_url: z.ZodOptional<z.ZodString>;
17
+ }, z.core.$strict>;
18
+ export declare const AppVersionGitRefTypeSchema: z.ZodEnum<{
19
+ tag: "tag";
20
+ branch: "branch";
21
+ commit: "commit";
22
+ detached: "detached";
23
+ }>;
24
+ export declare const AppVersionTargetSchema: z.ZodEnum<{
25
+ static: "static";
26
+ service: "service";
27
+ }>;
28
+ export declare const AppVersionStateSchema: z.ZodEnum<{
29
+ ready: "ready";
30
+ failed: "failed";
31
+ expired: "expired";
32
+ }>;
33
+ export declare const AppVersionKindSchema: z.ZodEnum<{
34
+ design: "design";
35
+ version: "version";
36
+ }>;
37
+ export declare const StartAppScaffoldResponseSchema: z.ZodObject<{
38
+ workflow_id: z.ZodString;
39
+ run_id: z.ZodString;
40
+ app_id: z.ZodString;
41
+ app_record_id: z.ZodOptional<z.ZodString>;
42
+ git_url: z.ZodOptional<z.ZodString>;
43
+ create_version: z.ZodBoolean;
44
+ }, z.core.$strict>;
45
+ export declare const AppScaffoldModuleSchema: z.ZodEnum<{
46
+ examples: "examples";
47
+ service: "service";
48
+ assistant: "assistant";
49
+ "content-app": "content-app";
50
+ }>;
51
+ export declare const AppBuildTriggerSchema: z.ZodEnum<{
52
+ api: "api";
53
+ agent: "agent";
54
+ ui: "ui";
55
+ git_push: "git_push";
56
+ }>;
57
+ export declare const Extract_AppVersionGitRefType_branch_tag_commitSchema: z.ZodEnum<{
58
+ tag: "tag";
59
+ branch: "branch";
60
+ commit: "commit";
61
+ }>;
62
+ export declare const StartAppBuildResponseSchema: z.ZodObject<{
63
+ workflow_id: z.ZodString;
64
+ run_id: z.ZodString;
65
+ app_id: z.ZodString;
66
+ version_id: z.ZodOptional<z.ZodString>;
67
+ rebuild_version_record_id: z.ZodOptional<z.ZodString>;
68
+ source_ref: z.ZodOptional<z.ZodString>;
69
+ source_ref_type: z.ZodOptional<z.ZodEnum<{
70
+ tag: "tag";
71
+ branch: "branch";
72
+ commit: "commit";
73
+ }>>;
74
+ }, z.core.$strict>;
75
+ export declare const AgentToolApprovalClassSchema: z.ZodEnum<{
76
+ read_only: "read_only";
77
+ side_effecting: "side_effecting";
78
+ control: "control";
79
+ requires_confirmation: "requires_confirmation";
80
+ }>;
81
+ export declare const AppDevelopmentTaskSchema: z.ZodObject<{
82
+ id: z.ZodString;
83
+ branch: z.ZodString;
84
+ source_commit: z.ZodString;
85
+ commit_date: z.ZodOptional<z.ZodString>;
86
+ }, z.core.$strict>;
87
+ export declare const AppInstallationProviderBindingSchema: z.ZodObject<{
88
+ provider_key: z.ZodString;
89
+ oauth_provider_id: z.ZodString;
90
+ oauth_provider_name: z.ZodString;
91
+ }, z.core.$strict>;
92
+ export declare const AppInstallationOAuthBindingSchema: z.ZodObject<{
93
+ collection_id: z.ZodString;
94
+ oauth_provider_id: z.ZodString;
95
+ oauth_provider_name: z.ZodString;
96
+ }, z.core.$strict>;
97
+ export declare const OAuthClientCredentialsSchema: z.ZodObject<{
98
+ client_id: z.ZodOptional<z.ZodString>;
99
+ client_secret: z.ZodOptional<z.ZodString>;
100
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
101
+ }, z.core.$strict>;
102
+ export declare const AppPackageScopeSchema: z.ZodEnum<{
103
+ interactions: "interactions";
104
+ all: "all";
105
+ ui: "ui";
106
+ tools: "tools";
107
+ types: "types";
108
+ processes: "processes";
109
+ views: "views";
110
+ templates: "templates";
111
+ dashboards: "dashboards";
112
+ settings: "settings";
113
+ widgets: "widgets";
114
+ activities: "activities";
115
+ }>;
116
+ export declare const AppInspectionCapabilityReportSchema: z.ZodObject<{
117
+ capability: z.ZodEnum<{
118
+ interactions: "interactions";
119
+ all: "all";
120
+ ui: "ui";
121
+ tools: "tools";
122
+ types: "types";
123
+ processes: "processes";
124
+ views: "views";
125
+ templates: "templates";
126
+ dashboards: "dashboards";
127
+ settings: "settings";
128
+ widgets: "widgets";
129
+ activities: "activities";
130
+ }>;
131
+ declared: z.ZodBoolean;
132
+ exposed_ids: z.ZodArray<z.ZodString>;
133
+ exposed_count: z.ZodNumber;
134
+ }, z.core.$strict>;
135
+ export declare const AppScaffoldProgressStatusSchema: z.ZodEnum<{
136
+ failed: "failed";
137
+ queued: "queued";
138
+ reserving: "reserving";
139
+ scaffolding: "scaffolding";
140
+ pushing: "pushing";
141
+ building: "building";
142
+ completed: "completed";
143
+ }>;
144
+ export declare const AppRepoTreeEntrySchema: z.ZodObject<{
145
+ name: z.ZodString;
146
+ path: z.ZodString;
147
+ type: z.ZodEnum<{
148
+ blob: "blob";
149
+ tree: "tree";
150
+ }>;
151
+ }, z.core.$strict>;
152
+ export declare const AppRepoRefSchema: z.ZodObject<{
153
+ name: z.ZodString;
154
+ commit: z.ZodString;
155
+ commit_subject: z.ZodOptional<z.ZodString>;
156
+ commit_date: z.ZodOptional<z.ZodString>;
157
+ commit_author: z.ZodOptional<z.ZodString>;
158
+ }, z.core.$strict>;
159
+ export declare const AppRepoCommitSchema: z.ZodObject<{
160
+ commit: z.ZodString;
161
+ message: z.ZodString;
162
+ author: z.ZodOptional<z.ZodString>;
163
+ date: z.ZodOptional<z.ZodString>;
164
+ }, z.core.$strict>;
165
+ export declare const AgentRunTypeSchema: z.ZodEnum<{
166
+ api: "api";
167
+ schedule: "schedule";
168
+ event_subscription: "event_subscription";
169
+ }>;
170
+ export declare const EventRefSchema: z.ZodObject<{
171
+ event_id: z.ZodString;
172
+ root_event_id: z.ZodString;
173
+ caused_by_event_id: z.ZodOptional<z.ZodString>;
174
+ hop_count: z.ZodNumber;
175
+ event_category: z.ZodEnum<{
176
+ system: "system";
177
+ content: "content";
178
+ billing: "billing";
179
+ external: "external";
180
+ workflow: "workflow";
181
+ security: "security";
182
+ }>;
183
+ action: z.ZodString;
184
+ resource_type: z.ZodString;
185
+ resource_id: z.ZodString;
186
+ account_id: z.ZodNullable<z.ZodString>;
187
+ project_id: z.ZodNullable<z.ZodString>;
188
+ tenant_id: z.ZodNullable<z.ZodString>;
189
+ }, z.core.$strict>;
190
+ export declare const InCodeTypeRefSchema: z.ZodObject<{
191
+ ref_type: z.ZodLiteral<"incode">;
192
+ id: z.ZodString;
193
+ name: z.ZodString;
194
+ default_view: z.ZodOptional<z.ZodEnum<{
195
+ text: "text";
196
+ image: "image";
197
+ properties: "properties";
198
+ auto: "auto";
199
+ pdf: "pdf";
200
+ }>>;
201
+ }, z.core.$strict>;
202
+ export declare const StoredTypeRefSchema: z.ZodObject<{
203
+ ref_type: z.ZodLiteral<"stored">;
204
+ id: z.ZodString;
205
+ name: z.ZodString;
206
+ default_view: z.ZodOptional<z.ZodEnum<{
207
+ text: "text";
208
+ image: "image";
209
+ properties: "properties";
210
+ auto: "auto";
211
+ pdf: "pdf";
212
+ }>>;
213
+ }, z.core.$strict>;
214
+ export declare const ConversationActivityStateSchema: z.ZodEnum<{
215
+ working: "working";
216
+ idle: "idle";
217
+ }>;
218
+ export declare const AgentRunStatusSchema: z.ZodEnum<{
219
+ failed: "failed";
220
+ completed: "completed";
221
+ created: "created";
222
+ running: "running";
223
+ cancelled: "cancelled";
224
+ }>;
225
+ export declare const RunKindSchema: z.ZodEnum<{
226
+ agent: "agent";
227
+ process: "process";
228
+ }>;
229
+ export declare const RunTypeSchema: z.ZodEnum<{
230
+ programmatic: "programmatic";
231
+ autonomous: "autonomous";
232
+ supervised: "supervised";
233
+ }>;
234
+ export declare const AppBuildProgressStatusSchema: z.ZodEnum<{
235
+ failed: "failed";
236
+ queued: "queued";
237
+ building: "building";
238
+ completed: "completed";
239
+ resolving: "resolving";
240
+ }>;
241
+ export declare const DeleteAppVersionResponseSchema: z.ZodObject<{
242
+ id: z.ZodString;
243
+ app_id: z.ZodString;
244
+ version_id: z.ZodString;
245
+ storage_prefix: z.ZodOptional<z.ZodString>;
246
+ deleted: z.ZodBoolean;
247
+ warnings: z.ZodArray<z.ZodString>;
248
+ }, z.core.$strict>;
249
+ export declare const AppRepoBranchSchema: z.ZodObject<{
250
+ name: z.ZodString;
251
+ commit: z.ZodString;
252
+ source_ref: z.ZodString;
253
+ }, z.core.$strict>;
254
+ export declare const AppRepoDocumentCommitSchema: z.ZodObject<{
255
+ ref: z.ZodString;
256
+ previous_commit: z.ZodString;
257
+ commit: z.ZodString;
258
+ paths: z.ZodArray<z.ZodString>;
259
+ }, z.core.$strict>;
260
+ export declare const AppVersionGitSourceSchema: z.ZodObject<{
261
+ url: z.ZodOptional<z.ZodString>;
262
+ remote: z.ZodOptional<z.ZodString>;
263
+ ref: z.ZodOptional<z.ZodString>;
264
+ ref_type: z.ZodOptional<z.ZodEnum<{
265
+ tag: "tag";
266
+ branch: "branch";
267
+ commit: "commit";
268
+ detached: "detached";
269
+ }>>;
270
+ branch: z.ZodOptional<z.ZodString>;
271
+ tag: z.ZodOptional<z.ZodString>;
272
+ commit: z.ZodOptional<z.ZodString>;
273
+ dirty: z.ZodOptional<z.ZodBoolean>;
274
+ pushed: z.ZodOptional<z.ZodBoolean>;
275
+ push_warning: z.ZodOptional<z.ZodString>;
276
+ }, z.core.$strict>;
277
+ export declare const StartAppScaffoldRequestSchema: z.ZodObject<{
278
+ app_id: z.ZodString;
279
+ title: z.ZodOptional<z.ZodString>;
280
+ description: z.ZodOptional<z.ZodString>;
281
+ modules: z.ZodOptional<z.ZodArray<z.ZodEnum<{
282
+ examples: "examples";
283
+ service: "service";
284
+ assistant: "assistant";
285
+ "content-app": "content-app";
286
+ }>>>;
287
+ create_version: z.ZodOptional<z.ZodBoolean>;
288
+ }, z.core.$strict>;
289
+ export declare const StartAppBuildRequestSchema: z.ZodObject<{
290
+ source_ref: z.ZodOptional<z.ZodString>;
291
+ source_ref_type: z.ZodOptional<z.ZodEnum<{
292
+ tag: "tag";
293
+ branch: "branch";
294
+ commit: "commit";
295
+ }>>;
296
+ trigger: z.ZodOptional<z.ZodEnum<{
297
+ api: "api";
298
+ agent: "agent";
299
+ ui: "ui";
300
+ git_push: "git_push";
301
+ }>>;
302
+ target: z.ZodOptional<z.ZodEnum<{
303
+ static: "static";
304
+ service: "service";
305
+ }>>;
306
+ title: z.ZodOptional<z.ZodString>;
307
+ description: z.ZodOptional<z.ZodString>;
308
+ }, z.core.$strict>;
309
+ export declare const AgentToolDefinitionSchema: z.ZodObject<{
310
+ name: z.ZodString;
311
+ description: z.ZodOptional<z.ZodString>;
312
+ input_schema: z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>;
313
+ url: z.ZodOptional<z.ZodString>;
314
+ category: z.ZodOptional<z.ZodString>;
315
+ default: z.ZodOptional<z.ZodBoolean>;
316
+ tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
317
+ annotations: z.ZodOptional<z.ZodObject<{
318
+ title: z.ZodOptional<z.ZodString>;
319
+ readOnlyHint: z.ZodOptional<z.ZodBoolean>;
320
+ destructiveHint: z.ZodOptional<z.ZodBoolean>;
321
+ idempotentHint: z.ZodOptional<z.ZodBoolean>;
322
+ openWorldHint: z.ZodOptional<z.ZodBoolean>;
323
+ }, z.core.$strict>>;
324
+ approval_class: z.ZodOptional<z.ZodEnum<{
325
+ read_only: "read_only";
326
+ side_effecting: "side_effecting";
327
+ control: "control";
328
+ requires_confirmation: "requires_confirmation";
329
+ }>>;
330
+ }, z.core.$strict>;
331
+ export declare const AppDevelopmentTaskListSchema: z.ZodObject<{
332
+ default_branch: z.ZodOptional<z.ZodString>;
333
+ tasks: z.ZodArray<z.ZodObject<{
334
+ id: z.ZodString;
335
+ branch: z.ZodString;
336
+ source_commit: z.ZodString;
337
+ commit_date: z.ZodOptional<z.ZodString>;
338
+ }, z.core.$strict>>;
339
+ }, z.core.$strict>;
340
+ export declare const OAuthClientCredentialsMapSchema: z.ZodObject<{}, z.core.$catchall<z.ZodObject<{
341
+ client_id: z.ZodOptional<z.ZodString>;
342
+ client_secret: z.ZodOptional<z.ZodString>;
343
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
344
+ }, z.core.$strict>>>;
345
+ export declare const AppOAuthCollectionParamsSchema: z.ZodObject<{}, z.core.$catchall<z.ZodObject<{
346
+ client_id: z.ZodOptional<z.ZodString>;
347
+ client_secret: z.ZodOptional<z.ZodString>;
348
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
349
+ }, z.core.$strict>>>;
350
+ export declare const AppInspectionIssueSchema: z.ZodObject<{
351
+ severity: z.ZodEnum<{
352
+ error: "error";
353
+ warning: "warning";
354
+ }>;
355
+ capability: z.ZodOptional<z.ZodEnum<{
356
+ interactions: "interactions";
357
+ all: "all";
358
+ ui: "ui";
359
+ tools: "tools";
360
+ types: "types";
361
+ processes: "processes";
362
+ views: "views";
363
+ templates: "templates";
364
+ dashboards: "dashboards";
365
+ settings: "settings";
366
+ widgets: "widgets";
367
+ activities: "activities";
368
+ }>>;
369
+ code: z.ZodString;
370
+ message: z.ZodString;
371
+ }, z.core.$strict>;
372
+ export declare const AppScaffoldProgressSchema: z.ZodObject<{
373
+ status: z.ZodEnum<{
374
+ failed: "failed";
375
+ queued: "queued";
376
+ reserving: "reserving";
377
+ scaffolding: "scaffolding";
378
+ pushing: "pushing";
379
+ building: "building";
380
+ completed: "completed";
381
+ }>;
382
+ step: z.ZodString;
383
+ app_id: z.ZodOptional<z.ZodString>;
384
+ app_record_id: z.ZodOptional<z.ZodString>;
385
+ installation_id: z.ZodOptional<z.ZodString>;
386
+ git_url: z.ZodOptional<z.ZodString>;
387
+ files: z.ZodOptional<z.ZodNumber>;
388
+ initial_version_build: z.ZodOptional<z.ZodObject<{
389
+ workflow_id: z.ZodString;
390
+ run_id: z.ZodString;
391
+ app_id: z.ZodString;
392
+ version_id: z.ZodOptional<z.ZodString>;
393
+ rebuild_version_record_id: z.ZodOptional<z.ZodString>;
394
+ source_ref: z.ZodOptional<z.ZodString>;
395
+ source_ref_type: z.ZodOptional<z.ZodEnum<{
396
+ tag: "tag";
397
+ branch: "branch";
398
+ commit: "commit";
399
+ }>>;
400
+ }, z.core.$strict>>;
401
+ error: z.ZodOptional<z.ZodString>;
402
+ error_details: z.ZodOptional<z.ZodArray<z.ZodString>>;
403
+ updated_at: z.ZodString;
404
+ }, z.core.$strict>;
405
+ export declare const AppRepoTreeSchema: z.ZodObject<{
406
+ ref: z.ZodOptional<z.ZodString>;
407
+ prefix: z.ZodOptional<z.ZodString>;
408
+ entries: z.ZodArray<z.ZodObject<{
409
+ name: z.ZodString;
410
+ path: z.ZodString;
411
+ type: z.ZodEnum<{
412
+ blob: "blob";
413
+ tree: "tree";
414
+ }>;
415
+ }, z.core.$strict>>;
416
+ }, z.core.$strict>;
417
+ export declare const AppRepoRefsSchema: z.ZodObject<{
418
+ default_branch: z.ZodOptional<z.ZodString>;
419
+ branches: z.ZodArray<z.ZodObject<{
420
+ name: z.ZodString;
421
+ commit: z.ZodString;
422
+ commit_subject: z.ZodOptional<z.ZodString>;
423
+ commit_date: z.ZodOptional<z.ZodString>;
424
+ commit_author: z.ZodOptional<z.ZodString>;
425
+ }, z.core.$strict>>;
426
+ tags: z.ZodArray<z.ZodObject<{
427
+ name: z.ZodString;
428
+ commit: z.ZodString;
429
+ commit_subject: z.ZodOptional<z.ZodString>;
430
+ commit_date: z.ZodOptional<z.ZodString>;
431
+ commit_author: z.ZodOptional<z.ZodString>;
432
+ }, z.core.$strict>>;
433
+ }, z.core.$strict>;
434
+ export declare const AppRepoCommitsSchema: z.ZodObject<{
435
+ ref: z.ZodOptional<z.ZodString>;
436
+ path: z.ZodOptional<z.ZodString>;
437
+ commits: z.ZodArray<z.ZodObject<{
438
+ commit: z.ZodString;
439
+ message: z.ZodString;
440
+ author: z.ZodOptional<z.ZodString>;
441
+ date: z.ZodOptional<z.ZodString>;
442
+ }, z.core.$strict>>;
443
+ next_cursor: z.ZodOptional<z.ZodString>;
444
+ }, z.core.$strict>;
445
+ export declare const ContentObjectTypeRefSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
446
+ ref_type: z.ZodLiteral<"stored">;
447
+ id: z.ZodString;
448
+ name: z.ZodString;
449
+ default_view: z.ZodOptional<z.ZodEnum<{
450
+ text: "text";
451
+ image: "image";
452
+ properties: "properties";
453
+ auto: "auto";
454
+ pdf: "pdf";
455
+ }>>;
456
+ }, z.core.$strict>, z.ZodObject<{
457
+ ref_type: z.ZodLiteral<"incode">;
458
+ id: z.ZodString;
459
+ name: z.ZodString;
460
+ default_view: z.ZodOptional<z.ZodEnum<{
461
+ text: "text";
462
+ image: "image";
463
+ properties: "properties";
464
+ auto: "auto";
465
+ pdf: "pdf";
466
+ }>>;
467
+ }, z.core.$strict>], "ref_type">;
468
+ export declare const AppBuildProgressSchema: z.ZodObject<{
469
+ status: z.ZodEnum<{
470
+ failed: "failed";
471
+ queued: "queued";
472
+ building: "building";
473
+ completed: "completed";
474
+ resolving: "resolving";
475
+ }>;
476
+ step: z.ZodString;
477
+ app_id: z.ZodOptional<z.ZodString>;
478
+ version_id: z.ZodOptional<z.ZodString>;
479
+ source_ref: z.ZodOptional<z.ZodString>;
480
+ source_ref_type: z.ZodOptional<z.ZodEnum<{
481
+ tag: "tag";
482
+ branch: "branch";
483
+ commit: "commit";
484
+ }>>;
485
+ source_commit: z.ZodOptional<z.ZodString>;
486
+ file_count: z.ZodOptional<z.ZodNumber>;
487
+ app_url: z.ZodOptional<z.ZodString>;
488
+ error: z.ZodOptional<z.ZodString>;
489
+ updated_at: z.ZodString;
490
+ }, z.core.$strict>;
491
+ export declare const AppVersionStorageSchema: z.ZodObject<{
492
+ tenant_id: z.ZodOptional<z.ZodString>;
493
+ app_prefix: z.ZodOptional<z.ZodString>;
494
+ artifacts_prefix: z.ZodOptional<z.ZodString>;
495
+ source_archive: z.ZodOptional<z.ZodString>;
496
+ source_git: z.ZodOptional<z.ZodObject<{
497
+ url: z.ZodOptional<z.ZodString>;
498
+ remote: z.ZodOptional<z.ZodString>;
499
+ ref: z.ZodOptional<z.ZodString>;
500
+ ref_type: z.ZodOptional<z.ZodEnum<{
501
+ tag: "tag";
502
+ branch: "branch";
503
+ commit: "commit";
504
+ detached: "detached";
505
+ }>>;
506
+ branch: z.ZodOptional<z.ZodString>;
507
+ tag: z.ZodOptional<z.ZodString>;
508
+ commit: z.ZodOptional<z.ZodString>;
509
+ dirty: z.ZodOptional<z.ZodBoolean>;
510
+ pushed: z.ZodOptional<z.ZodBoolean>;
511
+ push_warning: z.ZodOptional<z.ZodString>;
512
+ }, z.core.$strict>>;
513
+ build_prefix: z.ZodOptional<z.ZodString>;
514
+ manifest_path: z.ZodOptional<z.ZodString>;
515
+ service_archive: z.ZodOptional<z.ZodString>;
516
+ live_metadata_path: z.ZodOptional<z.ZodString>;
517
+ }, z.core.$strict>;
518
+ export declare const AppToolCollectionSchema: z.ZodObject<{
519
+ name: z.ZodString;
520
+ description: z.ZodOptional<z.ZodString>;
521
+ tools: z.ZodArray<z.ZodObject<{
522
+ name: z.ZodString;
523
+ description: z.ZodOptional<z.ZodString>;
524
+ input_schema: z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>;
525
+ url: z.ZodOptional<z.ZodString>;
526
+ category: z.ZodOptional<z.ZodString>;
527
+ default: z.ZodOptional<z.ZodBoolean>;
528
+ tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
529
+ annotations: z.ZodOptional<z.ZodObject<{
530
+ title: z.ZodOptional<z.ZodString>;
531
+ readOnlyHint: z.ZodOptional<z.ZodBoolean>;
532
+ destructiveHint: z.ZodOptional<z.ZodBoolean>;
533
+ idempotentHint: z.ZodOptional<z.ZodBoolean>;
534
+ openWorldHint: z.ZodOptional<z.ZodBoolean>;
535
+ }, z.core.$strict>>;
536
+ approval_class: z.ZodOptional<z.ZodEnum<{
537
+ read_only: "read_only";
538
+ side_effecting: "side_effecting";
539
+ control: "control";
540
+ requires_confirmation: "requires_confirmation";
541
+ }>>;
542
+ }, z.core.$strict>>;
543
+ }, z.core.$strict>;
544
+ export declare const AppOAuthProviderParamsSchema: z.ZodObject<{}, z.core.$catchall<z.ZodObject<{
545
+ client_id: z.ZodOptional<z.ZodString>;
546
+ client_secret: z.ZodOptional<z.ZodString>;
547
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
548
+ }, z.core.$strict>>>;
549
+ export declare const AppInspectionResultSchema: z.ZodObject<{
550
+ app_id: z.ZodString;
551
+ name: z.ZodString;
552
+ version: z.ZodOptional<z.ZodString>;
553
+ endpoint: z.ZodOptional<z.ZodString>;
554
+ endpoint_reachable: z.ZodBoolean;
555
+ installed: z.ZodBoolean;
556
+ access_control: z.ZodOptional<z.ZodString>;
557
+ capabilities: z.ZodArray<z.ZodEnum<{
558
+ interactions: "interactions";
559
+ all: "all";
560
+ ui: "ui";
561
+ tools: "tools";
562
+ types: "types";
563
+ processes: "processes";
564
+ views: "views";
565
+ templates: "templates";
566
+ dashboards: "dashboards";
567
+ settings: "settings";
568
+ widgets: "widgets";
569
+ activities: "activities";
570
+ }>>;
571
+ package: z.ZodArray<z.ZodObject<{
572
+ capability: z.ZodEnum<{
573
+ interactions: "interactions";
574
+ all: "all";
575
+ ui: "ui";
576
+ tools: "tools";
577
+ types: "types";
578
+ processes: "processes";
579
+ views: "views";
580
+ templates: "templates";
581
+ dashboards: "dashboards";
582
+ settings: "settings";
583
+ widgets: "widgets";
584
+ activities: "activities";
585
+ }>;
586
+ declared: z.ZodBoolean;
587
+ exposed_ids: z.ZodArray<z.ZodString>;
588
+ exposed_count: z.ZodNumber;
589
+ }, z.core.$strict>>;
590
+ issues: z.ZodArray<z.ZodObject<{
591
+ severity: z.ZodEnum<{
592
+ error: "error";
593
+ warning: "warning";
594
+ }>;
595
+ capability: z.ZodOptional<z.ZodEnum<{
596
+ interactions: "interactions";
597
+ all: "all";
598
+ ui: "ui";
599
+ tools: "tools";
600
+ types: "types";
601
+ processes: "processes";
602
+ views: "views";
603
+ templates: "templates";
604
+ dashboards: "dashboards";
605
+ settings: "settings";
606
+ widgets: "widgets";
607
+ activities: "activities";
608
+ }>>;
609
+ code: z.ZodString;
610
+ message: z.ZodString;
611
+ }, z.core.$strict>>;
612
+ probe_error: z.ZodOptional<z.ZodString>;
613
+ }, z.core.$strict>;
614
+ export declare const AppVersionRecordSchema: z.ZodObject<{
615
+ id: z.ZodString;
616
+ account: z.ZodString;
617
+ project: z.ZodString;
618
+ app: z.ZodOptional<z.ZodString>;
619
+ app_id: z.ZodString;
620
+ app_name: z.ZodString;
621
+ version_id: z.ZodString;
622
+ kind: z.ZodEnum<{
623
+ design: "design";
624
+ version: "version";
625
+ }>;
626
+ state: z.ZodEnum<{
627
+ ready: "ready";
628
+ failed: "failed";
629
+ expired: "expired";
630
+ }>;
631
+ promoted: z.ZodOptional<z.ZodBoolean>;
632
+ target: z.ZodOptional<z.ZodEnum<{
633
+ static: "static";
634
+ service: "service";
635
+ }>>;
636
+ agent_run_id: z.ZodOptional<z.ZodString>;
637
+ development_task_id: z.ZodOptional<z.ZodString>;
638
+ build_workflow_id: z.ZodOptional<z.ZodString>;
639
+ build_workflow_run_id: z.ZodOptional<z.ZodString>;
640
+ sandbox_id: z.ZodOptional<z.ZodString>;
641
+ title: z.ZodOptional<z.ZodString>;
642
+ description: z.ZodOptional<z.ZodString>;
643
+ storage: z.ZodOptional<z.ZodObject<{
644
+ tenant_id: z.ZodOptional<z.ZodString>;
645
+ app_prefix: z.ZodOptional<z.ZodString>;
646
+ artifacts_prefix: z.ZodOptional<z.ZodString>;
647
+ source_archive: z.ZodOptional<z.ZodString>;
648
+ source_git: z.ZodOptional<z.ZodObject<{
649
+ url: z.ZodOptional<z.ZodString>;
650
+ remote: z.ZodOptional<z.ZodString>;
651
+ ref: z.ZodOptional<z.ZodString>;
652
+ ref_type: z.ZodOptional<z.ZodEnum<{
653
+ tag: "tag";
654
+ branch: "branch";
655
+ commit: "commit";
656
+ detached: "detached";
657
+ }>>;
658
+ branch: z.ZodOptional<z.ZodString>;
659
+ tag: z.ZodOptional<z.ZodString>;
660
+ commit: z.ZodOptional<z.ZodString>;
661
+ dirty: z.ZodOptional<z.ZodBoolean>;
662
+ pushed: z.ZodOptional<z.ZodBoolean>;
663
+ push_warning: z.ZodOptional<z.ZodString>;
664
+ }, z.core.$strict>>;
665
+ build_prefix: z.ZodOptional<z.ZodString>;
666
+ manifest_path: z.ZodOptional<z.ZodString>;
667
+ service_archive: z.ZodOptional<z.ZodString>;
668
+ live_metadata_path: z.ZodOptional<z.ZodString>;
669
+ }, z.core.$strict>>;
670
+ source_commit: z.ZodOptional<z.ZodString>;
671
+ urls: z.ZodOptional<z.ZodObject<{
672
+ live_url: z.ZodOptional<z.ZodString>;
673
+ app_url: z.ZodOptional<z.ZodString>;
674
+ plugin_url: z.ZodOptional<z.ZodString>;
675
+ package_url: z.ZodOptional<z.ZodString>;
676
+ internal_preview_url: z.ZodOptional<z.ZodString>;
677
+ }, z.core.$strict>>;
678
+ manifest: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
679
+ files: z.ZodOptional<z.ZodArray<z.ZodString>>;
680
+ file_count: z.ZodOptional<z.ZodNumber>;
681
+ source_file_count: z.ZodOptional<z.ZodNumber>;
682
+ screenshot_artifact: z.ZodOptional<z.ZodString>;
683
+ checks: z.ZodOptional<z.ZodArray<z.ZodString>>;
684
+ created_by: z.ZodOptional<z.ZodString>;
685
+ created_at: z.ZodString;
686
+ updated_at: z.ZodString;
687
+ built_at: z.ZodOptional<z.ZodString>;
688
+ checked_at: z.ZodOptional<z.ZodString>;
689
+ expires_at: z.ZodOptional<z.ZodString>;
690
+ }, z.core.$strict>;
691
+ export declare const AgentRunSearchHitSchema: z.ZodObject<{
692
+ id: z.ZodString;
693
+ score: z.ZodNumber;
694
+ interaction: z.ZodOptional<z.ZodString>;
695
+ run_type: z.ZodOptional<z.ZodEnum<{
696
+ programmatic: "programmatic";
697
+ autonomous: "autonomous";
698
+ supervised: "supervised";
699
+ }>>;
700
+ run_kind: z.ZodOptional<z.ZodEnum<{
701
+ agent: "agent";
702
+ process: "process";
703
+ }>>;
704
+ interaction_name: z.ZodOptional<z.ZodString>;
705
+ status: z.ZodEnum<{
706
+ failed: "failed";
707
+ completed: "completed";
708
+ created: "created";
709
+ running: "running";
710
+ cancelled: "cancelled";
711
+ }>;
712
+ activity_state: z.ZodOptional<z.ZodEnum<{
713
+ working: "working";
714
+ idle: "idle";
715
+ }>>;
716
+ started_at: z.ZodString;
717
+ completed_at: z.ZodOptional<z.ZodString>;
718
+ started_by: z.ZodString;
719
+ title: z.ZodOptional<z.ZodString>;
720
+ topic: z.ZodOptional<z.ZodString>;
721
+ lessons_learned: z.ZodOptional<z.ZodArray<z.ZodString>>;
722
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
723
+ categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
724
+ interactive: z.ZodBoolean;
725
+ collection_id: z.ZodOptional<z.ZodString>;
726
+ content_type: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
727
+ ref_type: z.ZodLiteral<"stored">;
728
+ id: z.ZodString;
729
+ name: z.ZodString;
730
+ default_view: z.ZodOptional<z.ZodEnum<{
731
+ text: "text";
732
+ image: "image";
733
+ properties: "properties";
734
+ auto: "auto";
735
+ pdf: "pdf";
736
+ }>>;
737
+ }, z.core.$strict>, z.ZodObject<{
738
+ ref_type: z.ZodLiteral<"incode">;
739
+ id: z.ZodString;
740
+ name: z.ZodString;
741
+ default_view: z.ZodOptional<z.ZodEnum<{
742
+ text: "text";
743
+ image: "image";
744
+ properties: "properties";
745
+ auto: "auto";
746
+ pdf: "pdf";
747
+ }>>;
748
+ }, z.core.$strict>], "ref_type">>;
749
+ tool_names: z.ZodOptional<z.ZodArray<z.ZodString>>;
750
+ schedule_id: z.ZodOptional<z.ZodString>;
751
+ event_subscription_id: z.ZodOptional<z.ZodString>;
752
+ event_ref: z.ZodOptional<z.ZodObject<{
753
+ event_id: z.ZodString;
754
+ root_event_id: z.ZodString;
755
+ caused_by_event_id: z.ZodOptional<z.ZodString>;
756
+ hop_count: z.ZodNumber;
757
+ event_category: z.ZodEnum<{
758
+ system: "system";
759
+ content: "content";
760
+ billing: "billing";
761
+ external: "external";
762
+ workflow: "workflow";
763
+ security: "security";
764
+ }>;
765
+ action: z.ZodString;
766
+ resource_type: z.ZodString;
767
+ resource_id: z.ZodString;
768
+ account_id: z.ZodNullable<z.ZodString>;
769
+ project_id: z.ZodNullable<z.ZodString>;
770
+ tenant_id: z.ZodNullable<z.ZodString>;
771
+ }, z.core.$strict>>;
772
+ source_type: z.ZodOptional<z.ZodEnum<{
773
+ api: "api";
774
+ schedule: "schedule";
775
+ event_subscription: "event_subscription";
776
+ }>>;
777
+ type: z.ZodOptional<z.ZodEnum<{
778
+ api: "api";
779
+ schedule: "schedule";
780
+ event_subscription: "event_subscription";
781
+ }>>;
782
+ created_at: z.ZodString;
783
+ updated_at: z.ZodString;
784
+ }, z.core.$strict>;
785
+ export declare const UpsertAppVersionRequestSchema: z.ZodObject<{
786
+ record_id: z.ZodOptional<z.ZodString>;
787
+ app: z.ZodOptional<z.ZodString>;
788
+ app_id: z.ZodString;
789
+ app_name: z.ZodOptional<z.ZodString>;
790
+ version_id: z.ZodString;
791
+ kind: z.ZodEnum<{
792
+ design: "design";
793
+ version: "version";
794
+ }>;
795
+ state: z.ZodOptional<z.ZodEnum<{
796
+ ready: "ready";
797
+ failed: "failed";
798
+ expired: "expired";
799
+ }>>;
800
+ target: z.ZodOptional<z.ZodEnum<{
801
+ static: "static";
802
+ service: "service";
803
+ }>>;
804
+ agent_run_id: z.ZodOptional<z.ZodString>;
805
+ development_task_id: z.ZodOptional<z.ZodString>;
806
+ build_workflow_id: z.ZodOptional<z.ZodString>;
807
+ build_workflow_run_id: z.ZodOptional<z.ZodString>;
808
+ sandbox_id: z.ZodOptional<z.ZodString>;
809
+ title: z.ZodOptional<z.ZodString>;
810
+ description: z.ZodOptional<z.ZodString>;
811
+ storage: z.ZodOptional<z.ZodObject<{
812
+ tenant_id: z.ZodOptional<z.ZodString>;
813
+ app_prefix: z.ZodOptional<z.ZodString>;
814
+ artifacts_prefix: z.ZodOptional<z.ZodString>;
815
+ source_archive: z.ZodOptional<z.ZodString>;
816
+ source_git: z.ZodOptional<z.ZodObject<{
817
+ url: z.ZodOptional<z.ZodString>;
818
+ remote: z.ZodOptional<z.ZodString>;
819
+ ref: z.ZodOptional<z.ZodString>;
820
+ ref_type: z.ZodOptional<z.ZodEnum<{
821
+ tag: "tag";
822
+ branch: "branch";
823
+ commit: "commit";
824
+ detached: "detached";
825
+ }>>;
826
+ branch: z.ZodOptional<z.ZodString>;
827
+ tag: z.ZodOptional<z.ZodString>;
828
+ commit: z.ZodOptional<z.ZodString>;
829
+ dirty: z.ZodOptional<z.ZodBoolean>;
830
+ pushed: z.ZodOptional<z.ZodBoolean>;
831
+ push_warning: z.ZodOptional<z.ZodString>;
832
+ }, z.core.$strict>>;
833
+ build_prefix: z.ZodOptional<z.ZodString>;
834
+ manifest_path: z.ZodOptional<z.ZodString>;
835
+ service_archive: z.ZodOptional<z.ZodString>;
836
+ live_metadata_path: z.ZodOptional<z.ZodString>;
837
+ }, z.core.$strict>>;
838
+ source_commit: z.ZodOptional<z.ZodString>;
839
+ urls: z.ZodOptional<z.ZodObject<{
840
+ live_url: z.ZodOptional<z.ZodString>;
841
+ app_url: z.ZodOptional<z.ZodString>;
842
+ plugin_url: z.ZodOptional<z.ZodString>;
843
+ package_url: z.ZodOptional<z.ZodString>;
844
+ internal_preview_url: z.ZodOptional<z.ZodString>;
845
+ }, z.core.$strict>>;
846
+ manifest: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
847
+ files: z.ZodOptional<z.ZodArray<z.ZodString>>;
848
+ file_count: z.ZodOptional<z.ZodNumber>;
849
+ source_file_count: z.ZodOptional<z.ZodNumber>;
850
+ screenshot_artifact: z.ZodOptional<z.ZodString>;
851
+ checks: z.ZodOptional<z.ZodArray<z.ZodString>>;
852
+ built_at: z.ZodOptional<z.ZodString>;
853
+ checked_at: z.ZodOptional<z.ZodString>;
854
+ expires_at: z.ZodOptional<z.ZodString>;
855
+ }, z.core.$strict>;
856
+ export declare const AppInstallationPayloadSchema: z.ZodObject<{
857
+ app_id: z.ZodString;
858
+ settings: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
859
+ access_control: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
860
+ all: "all";
861
+ ui: "ui";
862
+ none: "none";
863
+ }>, z.ZodNull]>>;
864
+ oauth_params: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodObject<{
865
+ client_id: z.ZodOptional<z.ZodString>;
866
+ client_secret: z.ZodOptional<z.ZodString>;
867
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
868
+ }, z.core.$strict>>>>;
869
+ oauth_provider_params: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodObject<{
870
+ client_id: z.ZodOptional<z.ZodString>;
871
+ client_secret: z.ZodOptional<z.ZodString>;
872
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
873
+ }, z.core.$strict>>>>;
874
+ }, z.core.$strict>;
875
+ export declare const AppDevelopmentTaskDetailsSchema: z.ZodObject<{
876
+ id: z.ZodString;
877
+ branch: z.ZodString;
878
+ source_commit: z.ZodString;
879
+ commit_date: z.ZodOptional<z.ZodString>;
880
+ agent_run: z.ZodOptional<z.ZodObject<{
881
+ id: z.ZodString;
882
+ score: z.ZodNumber;
883
+ interaction: z.ZodOptional<z.ZodString>;
884
+ run_type: z.ZodOptional<z.ZodEnum<{
885
+ programmatic: "programmatic";
886
+ autonomous: "autonomous";
887
+ supervised: "supervised";
888
+ }>>;
889
+ run_kind: z.ZodOptional<z.ZodEnum<{
890
+ agent: "agent";
891
+ process: "process";
892
+ }>>;
893
+ interaction_name: z.ZodOptional<z.ZodString>;
894
+ status: z.ZodEnum<{
895
+ failed: "failed";
896
+ completed: "completed";
897
+ created: "created";
898
+ running: "running";
899
+ cancelled: "cancelled";
900
+ }>;
901
+ activity_state: z.ZodOptional<z.ZodEnum<{
902
+ working: "working";
903
+ idle: "idle";
904
+ }>>;
905
+ started_at: z.ZodString;
906
+ completed_at: z.ZodOptional<z.ZodString>;
907
+ started_by: z.ZodString;
908
+ title: z.ZodOptional<z.ZodString>;
909
+ topic: z.ZodOptional<z.ZodString>;
910
+ lessons_learned: z.ZodOptional<z.ZodArray<z.ZodString>>;
911
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
912
+ categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
913
+ interactive: z.ZodBoolean;
914
+ collection_id: z.ZodOptional<z.ZodString>;
915
+ content_type: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
916
+ ref_type: z.ZodLiteral<"stored">;
917
+ id: z.ZodString;
918
+ name: z.ZodString;
919
+ default_view: z.ZodOptional<z.ZodEnum<{
920
+ text: "text";
921
+ image: "image";
922
+ properties: "properties";
923
+ auto: "auto";
924
+ pdf: "pdf";
925
+ }>>;
926
+ }, z.core.$strict>, z.ZodObject<{
927
+ ref_type: z.ZodLiteral<"incode">;
928
+ id: z.ZodString;
929
+ name: z.ZodString;
930
+ default_view: z.ZodOptional<z.ZodEnum<{
931
+ text: "text";
932
+ image: "image";
933
+ properties: "properties";
934
+ auto: "auto";
935
+ pdf: "pdf";
936
+ }>>;
937
+ }, z.core.$strict>], "ref_type">>;
938
+ tool_names: z.ZodOptional<z.ZodArray<z.ZodString>>;
939
+ schedule_id: z.ZodOptional<z.ZodString>;
940
+ event_subscription_id: z.ZodOptional<z.ZodString>;
941
+ event_ref: z.ZodOptional<z.ZodObject<{
942
+ event_id: z.ZodString;
943
+ root_event_id: z.ZodString;
944
+ caused_by_event_id: z.ZodOptional<z.ZodString>;
945
+ hop_count: z.ZodNumber;
946
+ event_category: z.ZodEnum<{
947
+ system: "system";
948
+ content: "content";
949
+ billing: "billing";
950
+ external: "external";
951
+ workflow: "workflow";
952
+ security: "security";
953
+ }>;
954
+ action: z.ZodString;
955
+ resource_type: z.ZodString;
956
+ resource_id: z.ZodString;
957
+ account_id: z.ZodNullable<z.ZodString>;
958
+ project_id: z.ZodNullable<z.ZodString>;
959
+ tenant_id: z.ZodNullable<z.ZodString>;
960
+ }, z.core.$strict>>;
961
+ source_type: z.ZodOptional<z.ZodEnum<{
962
+ api: "api";
963
+ schedule: "schedule";
964
+ event_subscription: "event_subscription";
965
+ }>>;
966
+ type: z.ZodOptional<z.ZodEnum<{
967
+ api: "api";
968
+ schedule: "schedule";
969
+ event_subscription: "event_subscription";
970
+ }>>;
971
+ created_at: z.ZodString;
972
+ updated_at: z.ZodString;
973
+ }, z.core.$strict>>;
974
+ }, z.core.$strict>;
975
+ export declare const AppVersionRecordArraySchema: z.ZodArray<z.ZodObject<{
976
+ id: z.ZodString;
977
+ account: z.ZodString;
978
+ project: z.ZodString;
979
+ app: z.ZodOptional<z.ZodString>;
980
+ app_id: z.ZodString;
981
+ app_name: z.ZodString;
982
+ version_id: z.ZodString;
983
+ kind: z.ZodEnum<{
984
+ design: "design";
985
+ version: "version";
986
+ }>;
987
+ state: z.ZodEnum<{
988
+ ready: "ready";
989
+ failed: "failed";
990
+ expired: "expired";
991
+ }>;
992
+ promoted: z.ZodOptional<z.ZodBoolean>;
993
+ target: z.ZodOptional<z.ZodEnum<{
994
+ static: "static";
995
+ service: "service";
996
+ }>>;
997
+ agent_run_id: z.ZodOptional<z.ZodString>;
998
+ development_task_id: z.ZodOptional<z.ZodString>;
999
+ build_workflow_id: z.ZodOptional<z.ZodString>;
1000
+ build_workflow_run_id: z.ZodOptional<z.ZodString>;
1001
+ sandbox_id: z.ZodOptional<z.ZodString>;
1002
+ title: z.ZodOptional<z.ZodString>;
1003
+ description: z.ZodOptional<z.ZodString>;
1004
+ storage: z.ZodOptional<z.ZodObject<{
1005
+ tenant_id: z.ZodOptional<z.ZodString>;
1006
+ app_prefix: z.ZodOptional<z.ZodString>;
1007
+ artifacts_prefix: z.ZodOptional<z.ZodString>;
1008
+ source_archive: z.ZodOptional<z.ZodString>;
1009
+ source_git: z.ZodOptional<z.ZodObject<{
1010
+ url: z.ZodOptional<z.ZodString>;
1011
+ remote: z.ZodOptional<z.ZodString>;
1012
+ ref: z.ZodOptional<z.ZodString>;
1013
+ ref_type: z.ZodOptional<z.ZodEnum<{
1014
+ tag: "tag";
1015
+ branch: "branch";
1016
+ commit: "commit";
1017
+ detached: "detached";
1018
+ }>>;
1019
+ branch: z.ZodOptional<z.ZodString>;
1020
+ tag: z.ZodOptional<z.ZodString>;
1021
+ commit: z.ZodOptional<z.ZodString>;
1022
+ dirty: z.ZodOptional<z.ZodBoolean>;
1023
+ pushed: z.ZodOptional<z.ZodBoolean>;
1024
+ push_warning: z.ZodOptional<z.ZodString>;
1025
+ }, z.core.$strict>>;
1026
+ build_prefix: z.ZodOptional<z.ZodString>;
1027
+ manifest_path: z.ZodOptional<z.ZodString>;
1028
+ service_archive: z.ZodOptional<z.ZodString>;
1029
+ live_metadata_path: z.ZodOptional<z.ZodString>;
1030
+ }, z.core.$strict>>;
1031
+ source_commit: z.ZodOptional<z.ZodString>;
1032
+ urls: z.ZodOptional<z.ZodObject<{
1033
+ live_url: z.ZodOptional<z.ZodString>;
1034
+ app_url: z.ZodOptional<z.ZodString>;
1035
+ plugin_url: z.ZodOptional<z.ZodString>;
1036
+ package_url: z.ZodOptional<z.ZodString>;
1037
+ internal_preview_url: z.ZodOptional<z.ZodString>;
1038
+ }, z.core.$strict>>;
1039
+ manifest: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
1040
+ files: z.ZodOptional<z.ZodArray<z.ZodString>>;
1041
+ file_count: z.ZodOptional<z.ZodNumber>;
1042
+ source_file_count: z.ZodOptional<z.ZodNumber>;
1043
+ screenshot_artifact: z.ZodOptional<z.ZodString>;
1044
+ checks: z.ZodOptional<z.ZodArray<z.ZodString>>;
1045
+ created_by: z.ZodOptional<z.ZodString>;
1046
+ created_at: z.ZodString;
1047
+ updated_at: z.ZodString;
1048
+ built_at: z.ZodOptional<z.ZodString>;
1049
+ checked_at: z.ZodOptional<z.ZodString>;
1050
+ expires_at: z.ZodOptional<z.ZodString>;
1051
+ }, z.core.$strict>>;
1052
+ export declare const AppToolCollectionArraySchema: z.ZodArray<z.ZodObject<{
1053
+ name: z.ZodString;
1054
+ description: z.ZodOptional<z.ZodString>;
1055
+ tools: z.ZodArray<z.ZodObject<{
1056
+ name: z.ZodString;
1057
+ description: z.ZodOptional<z.ZodString>;
1058
+ input_schema: z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>;
1059
+ url: z.ZodOptional<z.ZodString>;
1060
+ category: z.ZodOptional<z.ZodString>;
1061
+ default: z.ZodOptional<z.ZodBoolean>;
1062
+ tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1063
+ annotations: z.ZodOptional<z.ZodObject<{
1064
+ title: z.ZodOptional<z.ZodString>;
1065
+ readOnlyHint: z.ZodOptional<z.ZodBoolean>;
1066
+ destructiveHint: z.ZodOptional<z.ZodBoolean>;
1067
+ idempotentHint: z.ZodOptional<z.ZodBoolean>;
1068
+ openWorldHint: z.ZodOptional<z.ZodBoolean>;
1069
+ }, z.core.$strict>>;
1070
+ approval_class: z.ZodOptional<z.ZodEnum<{
1071
+ read_only: "read_only";
1072
+ side_effecting: "side_effecting";
1073
+ control: "control";
1074
+ requires_confirmation: "requires_confirmation";
1075
+ }>>;
1076
+ }, z.core.$strict>>;
1077
+ }, z.core.$strict>>;
1078
+ export declare const AppInstallationKindSchema: z.ZodEnum<{
1079
+ all: "all";
1080
+ ui: "ui";
1081
+ tools: "tools";
1082
+ }>;
1083
+ export declare const AppInstallationsQuerySchema: z.ZodObject<{
1084
+ kind: z.ZodOptional<z.ZodEnum<{
1085
+ all: "all";
1086
+ ui: "ui";
1087
+ tools: "tools";
1088
+ }>>;
1089
+ available_in: z.ZodOptional<z.ZodEnum<{
1090
+ app_portal: "app_portal";
1091
+ composite_app: "composite_app";
1092
+ }>>;
1093
+ }, z.core.$strict>;
1094
+ export declare const AppInstallationProjectsQuerySchema: z.ZodObject<{
1095
+ name: z.ZodOptional<z.ZodString>;
1096
+ id: z.ZodOptional<z.ZodString>;
1097
+ }, z.core.$strict>;
1098
+ export declare const SystemPackageQuerySchema: z.ZodObject<{
1099
+ scope: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1100
+ interactions: "interactions";
1101
+ all: "all";
1102
+ ui: "ui";
1103
+ tools: "tools";
1104
+ types: "types";
1105
+ processes: "processes";
1106
+ views: "views";
1107
+ templates: "templates";
1108
+ dashboards: "dashboards";
1109
+ settings: "settings";
1110
+ widgets: "widgets";
1111
+ activities: "activities";
1112
+ }>>>;
1113
+ }, z.core.$strict>;
1114
+ //# sourceMappingURL=app-lifecycle.d.ts.map