@opengeni/contracts 5.5.0 → 5.5.2-canary.40656248492001

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 (543) hide show
  1. package/dist/agent-authored-durable-text.d.ts +9 -9
  2. package/dist/agent-config.d.ts +148 -37
  3. package/dist/api-key-presets.d.ts +19 -0
  4. package/dist/app-action-catalog-types.d.ts +32 -0
  5. package/dist/app-action-catalog.gen.d.ts +2 -0
  6. package/dist/app-actions.d.ts +91 -0
  7. package/dist/app-actions.js +10130 -0
  8. package/dist/app-actions.js.map +1 -0
  9. package/dist/app-shot.d.ts +55 -0
  10. package/dist/artifact-catalog.d.ts +33 -0
  11. package/dist/artifacts.d.ts +166 -0
  12. package/dist/atlassian-native-retirement.d.ts +16 -0
  13. package/dist/atlassian-native-retirement.js +30 -0
  14. package/dist/atlassian-native-retirement.js.map +1 -0
  15. package/dist/atlassian.js +48 -23
  16. package/dist/automation-templates.d.ts +434 -0
  17. package/dist/automation-templates.js +31 -0
  18. package/dist/automation-templates.js.map +1 -0
  19. package/dist/billing-subscriptions.d.ts +61 -0
  20. package/dist/bots.d.ts +583 -0
  21. package/dist/bundled-skills.d.ts +58 -2
  22. package/dist/canonical-human-identities.js +3 -1
  23. package/dist/child-lifecycle-notice-protocol.d.ts +45 -0
  24. package/dist/chunk-2QKIEAGY.js +396 -0
  25. package/dist/chunk-2QKIEAGY.js.map +1 -0
  26. package/dist/chunk-2WOWEWXV.js +426 -0
  27. package/dist/chunk-2WOWEWXV.js.map +1 -0
  28. package/dist/chunk-2ZIHHL72.js +153 -0
  29. package/dist/chunk-2ZIHHL72.js.map +1 -0
  30. package/dist/chunk-32U6NKQQ.js +389 -0
  31. package/dist/chunk-32U6NKQQ.js.map +1 -0
  32. package/dist/chunk-4YDDHSO2.js +799 -0
  33. package/dist/chunk-4YDDHSO2.js.map +1 -0
  34. package/dist/chunk-56SNIMDO.js +9 -0
  35. package/dist/chunk-56SNIMDO.js.map +1 -0
  36. package/dist/chunk-5RWB6QVL.js +101 -0
  37. package/dist/chunk-5RWB6QVL.js.map +1 -0
  38. package/dist/chunk-5UGUOT3L.js +243 -0
  39. package/dist/chunk-5UGUOT3L.js.map +1 -0
  40. package/dist/chunk-6LAT33BH.js +130 -0
  41. package/dist/chunk-6LAT33BH.js.map +1 -0
  42. package/dist/chunk-7272KVWZ.js +60 -0
  43. package/dist/chunk-7272KVWZ.js.map +1 -0
  44. package/dist/chunk-72QC2GTL.js +36 -0
  45. package/dist/chunk-72QC2GTL.js.map +1 -0
  46. package/dist/chunk-7EQGGZBY.js +105 -0
  47. package/dist/chunk-7EQGGZBY.js.map +1 -0
  48. package/dist/chunk-A3LXWVYU.js +382 -0
  49. package/dist/chunk-A3LXWVYU.js.map +1 -0
  50. package/dist/chunk-AQYDZUJV.js +34 -0
  51. package/dist/chunk-AQYDZUJV.js.map +1 -0
  52. package/dist/chunk-BHCEVVUP.js +93 -0
  53. package/dist/chunk-BHCEVVUP.js.map +1 -0
  54. package/dist/chunk-BMUTAZX5.js +486 -0
  55. package/dist/chunk-BMUTAZX5.js.map +1 -0
  56. package/dist/chunk-DGG6IBBK.js +150 -0
  57. package/dist/chunk-DGG6IBBK.js.map +1 -0
  58. package/dist/{chunk-YBW5JSA3.js → chunk-FBCTUMHI.js} +123 -102
  59. package/dist/chunk-FBCTUMHI.js.map +1 -0
  60. package/dist/chunk-G2KJTFIC.js +97 -0
  61. package/dist/chunk-G2KJTFIC.js.map +1 -0
  62. package/dist/chunk-G4RKARXZ.js +1167 -0
  63. package/dist/chunk-G4RKARXZ.js.map +1 -0
  64. package/dist/chunk-H6UJJIUM.js +350 -0
  65. package/dist/chunk-H6UJJIUM.js.map +1 -0
  66. package/dist/chunk-JOTHDW4H.js +18 -0
  67. package/dist/chunk-JOTHDW4H.js.map +1 -0
  68. package/dist/chunk-L4GUEP7K.js +56480 -0
  69. package/dist/chunk-L4GUEP7K.js.map +1 -0
  70. package/dist/{chunk-SIOU2K4U.js → chunk-LJH2EYGT.js} +23 -23
  71. package/dist/chunk-MTJKSIGA.js +161 -0
  72. package/dist/chunk-MTJKSIGA.js.map +1 -0
  73. package/dist/chunk-MYHMB6GZ.js +202 -0
  74. package/dist/chunk-MYHMB6GZ.js.map +1 -0
  75. package/dist/chunk-PI5VIKJY.js +660 -0
  76. package/dist/chunk-PI5VIKJY.js.map +1 -0
  77. package/dist/{chunk-RIY7GYQS.js → chunk-PTSROVDG.js} +2 -2
  78. package/dist/chunk-PUIUXIOL.js +189 -0
  79. package/dist/chunk-PUIUXIOL.js.map +1 -0
  80. package/dist/chunk-R6VXJIMB.js +19 -0
  81. package/dist/chunk-R6VXJIMB.js.map +1 -0
  82. package/dist/chunk-RLJUNVAM.js +15 -0
  83. package/dist/chunk-RLJUNVAM.js.map +1 -0
  84. package/dist/chunk-RR6APCBK.js +213 -0
  85. package/dist/chunk-RR6APCBK.js.map +1 -0
  86. package/dist/{chunk-TXTQIYCV.js → chunk-RUQ4I6DO.js} +59 -13
  87. package/dist/chunk-RUQ4I6DO.js.map +1 -0
  88. package/dist/{chunk-WYBDERIY.js → chunk-RWEEUDHD.js} +53 -42
  89. package/dist/chunk-RWEEUDHD.js.map +1 -0
  90. package/dist/chunk-S7MSQQL6.js +158 -0
  91. package/dist/chunk-S7MSQQL6.js.map +1 -0
  92. package/dist/{chunk-5Q54VCCH.js → chunk-SHO4YO4B.js} +20 -36
  93. package/dist/chunk-SHO4YO4B.js.map +1 -0
  94. package/dist/{chunk-HHZSZYYF.js → chunk-T3HSWMA5.js} +20 -4
  95. package/dist/chunk-T3HSWMA5.js.map +1 -0
  96. package/dist/{chunk-YRKRZ6OF.js → chunk-TOOJIBJC.js} +2 -2
  97. package/dist/chunk-UCUOTRS6.js +431 -0
  98. package/dist/chunk-UCUOTRS6.js.map +1 -0
  99. package/dist/chunk-UH4K7GP7.js +424 -0
  100. package/dist/chunk-UH4K7GP7.js.map +1 -0
  101. package/dist/chunk-UIZWGPHV.js +120 -0
  102. package/dist/chunk-UIZWGPHV.js.map +1 -0
  103. package/dist/chunk-VLUKBV6Y.js +1170 -0
  104. package/dist/chunk-VLUKBV6Y.js.map +1 -0
  105. package/dist/chunk-W2QQ5Y6K.js +55 -0
  106. package/dist/chunk-W2QQ5Y6K.js.map +1 -0
  107. package/dist/{chunk-Y3KNXVTD.js → chunk-W3NBPR4E.js} +131 -31
  108. package/dist/chunk-W3NBPR4E.js.map +1 -0
  109. package/dist/{chunk-NRMCVHAU.js → chunk-WMGO4HJU.js} +11 -9
  110. package/dist/chunk-WMGO4HJU.js.map +1 -0
  111. package/dist/{chunk-MYBZRDTY.js → chunk-WQI7VNN4.js} +19 -9
  112. package/dist/chunk-WQI7VNN4.js.map +1 -0
  113. package/dist/{chunk-PX3VCKAU.js → chunk-WVCFSOUZ.js} +1 -1
  114. package/dist/{chunk-PX3VCKAU.js.map → chunk-WVCFSOUZ.js.map} +1 -1
  115. package/dist/chunk-XB6GQLBH.js +76 -0
  116. package/dist/chunk-XB6GQLBH.js.map +1 -0
  117. package/dist/{chunk-D2HKF2EF.js → chunk-XP5M3IKT.js} +2 -2
  118. package/dist/{chunk-O77VSFYZ.js → chunk-ZMPU5BWE.js} +12 -2
  119. package/dist/chunk-ZMPU5BWE.js.map +1 -0
  120. package/dist/{chunk-3SIZGL3O.js → chunk-ZYVEJFNU.js} +22 -18
  121. package/dist/chunk-ZYVEJFNU.js.map +1 -0
  122. package/dist/claude-provider-account-authority.d.ts +18 -0
  123. package/dist/claude-subscription-oauth.d.ts +25 -0
  124. package/dist/claude-subscription-usage.d.ts +95 -1
  125. package/dist/client-error-report.d.ts +154 -8
  126. package/dist/client-error-report.js +157 -2
  127. package/dist/client-error-report.js.map +1 -1
  128. package/dist/code-search.d.ts +1 -1
  129. package/dist/code-search.js.map +1 -1
  130. package/dist/codex-provider-account-authority.js +23 -12
  131. package/dist/codex-provider-account-authority.js.map +1 -1
  132. package/dist/company-profile.d.ts +144 -0
  133. package/dist/connect.d.ts +38 -0
  134. package/dist/connect.js +244 -164
  135. package/dist/connect.js.map +1 -1
  136. package/dist/connection-account-label.d.ts +2 -0
  137. package/dist/connection-account-label.js +34 -0
  138. package/dist/connection-account-label.js.map +1 -0
  139. package/dist/connection-authority.js +49 -24
  140. package/dist/connector-attachments.js +3 -1
  141. package/dist/connector-destinations.js +3 -1
  142. package/dist/connector-tool-permissions.d.ts +68 -4
  143. package/dist/credential-profiles.d.ts +166 -0
  144. package/dist/cua-desktop-tools.d.ts +19 -0
  145. package/dist/define-schema.d.ts +8 -0
  146. package/dist/desktop-app.d.ts +28 -0
  147. package/dist/direct-model-provider.d.ts +38 -0
  148. package/dist/document-artifact-commands.js +2 -2
  149. package/dist/document-artifact-query.js +2 -2
  150. package/dist/editable-artifact-binary.d.ts +7 -0
  151. package/dist/editable-artifact-causal-frontier.js +2 -2
  152. package/dist/editable-artifact-codec-registry.js +7 -7
  153. package/dist/editable-artifact-committed-transaction.js +4 -2
  154. package/dist/editable-artifact-live.js +8 -8
  155. package/dist/editable-artifact-serialized-commit.js +9 -9
  156. package/dist/editable-artifact-versions.d.ts +7 -1
  157. package/dist/editable-artifact-versions.js +1 -1
  158. package/dist/editable-artifacts.js +49 -43
  159. package/dist/event-preview.d.ts +22 -0
  160. package/dist/event-triggers.d.ts +1253 -0
  161. package/dist/event-triggers.js +148 -0
  162. package/dist/event-triggers.js.map +1 -0
  163. package/dist/external-identities.d.ts +34 -0
  164. package/dist/external-identities.js +4 -2
  165. package/dist/feedback.d.ts +181 -0
  166. package/dist/file-access.d.ts +23 -0
  167. package/dist/first-party-tool-authorization.d.ts +852 -0
  168. package/dist/github-repository-contracts.js +64 -43
  169. package/dist/github-repository-contracts.js.map +1 -1
  170. package/dist/google-drive-native-retirement.d.ts +12 -0
  171. package/dist/google-drive-native-retirement.js +20 -0
  172. package/dist/google-drive-native-retirement.js.map +1 -0
  173. package/dist/google-drive.d.ts +1 -1
  174. package/dist/google-drive.js +323 -239
  175. package/dist/google-drive.js.map +1 -1
  176. package/dist/host-mcp-bindings.js +250 -198
  177. package/dist/host-mcp-bindings.js.map +1 -1
  178. package/dist/index.d.ts +29072 -20593
  179. package/dist/index.js +2432 -366
  180. package/dist/inference-residency.d.ts +22 -0
  181. package/dist/insights-usage.d.ts +948 -0
  182. package/dist/insights-usage.js +608 -0
  183. package/dist/insights-usage.js.map +1 -0
  184. package/dist/integration-capability-id.d.ts +8 -0
  185. package/dist/interaction-action-deadline.d.ts +48 -0
  186. package/dist/interaction-driver-diagnostic.d.ts +28 -0
  187. package/dist/interaction.d.ts +2126 -881
  188. package/dist/knowledge-entries.d.ts +38 -0
  189. package/dist/knowledge-preparation.d.ts +4 -0
  190. package/dist/learning-refusal.d.ts +43 -0
  191. package/dist/learning-refusal.js +49 -0
  192. package/dist/learning-refusal.js.map +1 -0
  193. package/dist/managed-auth-session-sets.d.ts +1 -0
  194. package/dist/managed-auth-session-sets.js +207 -146
  195. package/dist/managed-auth-session-sets.js.map +1 -1
  196. package/dist/managed-sign-in-methods.d.ts +96 -0
  197. package/dist/managed-sign-in-methods.js +157 -35
  198. package/dist/managed-sign-in-methods.js.map +1 -1
  199. package/dist/mcp-structured-content.d.ts +25 -0
  200. package/dist/message-time-zone.d.ts +38 -0
  201. package/dist/message-time-zone.js +19 -0
  202. package/dist/message-time-zone.js.map +1 -0
  203. package/dist/modal-native-proof-v2.d.ts +587 -0
  204. package/dist/modal-native-proof-v2.js +39 -0
  205. package/dist/modal-native-proof-v2.js.map +1 -0
  206. package/dist/model-account-choice.d.ts +237 -0
  207. package/dist/model-account-settings.d.ts +422 -0
  208. package/dist/model-availability.d.ts +15 -0
  209. package/dist/model-connection-access.d.ts +13 -0
  210. package/dist/model-context-inspector.d.ts +8 -0
  211. package/dist/model-display.d.ts +43 -0
  212. package/dist/model-display.js +17 -0
  213. package/dist/model-display.js.map +1 -0
  214. package/dist/model-picker-order.js.map +1 -1
  215. package/dist/model-residency.d.ts +304 -0
  216. package/dist/organization-access.d.ts +416 -0
  217. package/dist/organization-access.js +40 -0
  218. package/dist/organization-access.js.map +1 -0
  219. package/dist/organization-integration-policy.d.ts +18 -0
  220. package/dist/organization-membership-lifecycle.d.ts +66 -0
  221. package/dist/organization-model-usage.d.ts +146 -0
  222. package/dist/organization-model-usage.js +87 -0
  223. package/dist/organization-model-usage.js.map +1 -0
  224. package/dist/organization-recovery.js +3 -1
  225. package/dist/organization-usage.d.ts +12 -0
  226. package/dist/passkey-only-account.d.ts +14 -0
  227. package/dist/passkey-only-account.js +13 -0
  228. package/dist/passkey-only-account.js.map +1 -0
  229. package/dist/permissions.d.ts +19 -0
  230. package/dist/personal-github.js +220 -148
  231. package/dist/personal-github.js.map +1 -1
  232. package/dist/personal-integration-setup.d.ts +81 -0
  233. package/dist/personal-integration-setup.js +42 -0
  234. package/dist/personal-integration-setup.js.map +1 -0
  235. package/dist/prepared-mcp-setup.d.ts +54 -0
  236. package/dist/prepared-mcp-setup.js +13 -0
  237. package/dist/prepared-mcp-setup.js.map +1 -0
  238. package/dist/presentation-artifact-commands.js +2 -2
  239. package/dist/presentation-artifact-query.js +2 -2
  240. package/dist/primitives.d.ts +18 -0
  241. package/dist/product-analytics.d.ts +27 -10
  242. package/dist/product-lifecycle-facts.d.ts +26 -3
  243. package/dist/prompt-cache-diagnostics.d.ts +92 -0
  244. package/dist/recordings.d.ts +1371 -0
  245. package/dist/remember.d.ts +98 -2
  246. package/dist/retained-output.d.ts +4 -2
  247. package/dist/sandbox-file-artifacts.d.ts +19 -2
  248. package/dist/sandbox-provider-command.d.ts +5 -44
  249. package/dist/sandbox-recovery.d.ts +139 -8
  250. package/dist/secret-generator.d.ts +44 -0
  251. package/dist/secret-mask-strings.d.ts +32 -0
  252. package/dist/secret-references.d.ts +90 -0
  253. package/dist/secret-resolution.d.ts +143 -0
  254. package/dist/secret-shape-masking.d.ts +52 -0
  255. package/dist/secret-shape-masking.js +19 -0
  256. package/dist/secret-shape-masking.js.map +1 -0
  257. package/dist/secret-totp.d.ts +41 -0
  258. package/dist/secret-use-approval-question.d.ts +11 -0
  259. package/dist/secret-use-approval-question.js +11 -0
  260. package/dist/secret-use-approval-question.js.map +1 -0
  261. package/dist/secret-use-approvals.d.ts +106 -0
  262. package/dist/secret-value-masking.d.ts +299 -0
  263. package/dist/secret-value-masking.js +62 -0
  264. package/dist/secret-value-masking.js.map +1 -0
  265. package/dist/secret-value.d.ts +19 -0
  266. package/dist/session-history-import.d.ts +444 -8
  267. package/dist/session-history.d.ts +111 -0
  268. package/dist/session-history.js +35 -0
  269. package/dist/session-history.js.map +1 -0
  270. package/dist/session-list-entries.d.ts +8 -0
  271. package/dist/session-list-entries.js +61 -0
  272. package/dist/session-list-entries.js.map +1 -0
  273. package/dist/session-mcp-projections.d.ts +13 -1
  274. package/dist/session-mcp-tool-permissions.d.ts +62 -0
  275. package/dist/session-target.d.ts +18 -0
  276. package/dist/session-titles.d.ts +8 -0
  277. package/dist/session-titles.js +5 -1
  278. package/dist/session-usage-limit-refusal.d.ts +34 -0
  279. package/dist/session-usage-limit-refusal.js +15 -0
  280. package/dist/session-usage-limit-refusal.js.map +1 -0
  281. package/dist/session-usage-limits.d.ts +127 -0
  282. package/dist/session-usage-limits.js +43 -0
  283. package/dist/session-usage-limits.js.map +1 -0
  284. package/dist/site-data.d.ts +286 -0
  285. package/dist/site-operations.d.ts +39 -0
  286. package/dist/site-publishing.d.ts +813 -0
  287. package/dist/site-session-http.d.ts +103 -4
  288. package/dist/site-session-http.js +27 -1
  289. package/dist/site-sql.d.ts +425 -0
  290. package/dist/skills.d.ts +38 -0
  291. package/dist/slack-bot-scopes.d.ts +9 -7
  292. package/dist/slack-bot-scopes.js +6 -3
  293. package/dist/slack-rest-mcp.d.ts +36 -0
  294. package/dist/slack-rest-mcp.js +25 -0
  295. package/dist/slack-rest-mcp.js.map +1 -0
  296. package/dist/spreadsheet-artifact-commands.d.ts +14 -1
  297. package/dist/spreadsheet-artifact-commands.js +9 -2
  298. package/dist/spreadsheet-artifact-query.d.ts +13 -6
  299. package/dist/spreadsheet-artifact-query.js +4 -3
  300. package/dist/subscription-account-actions.d.ts +83 -0
  301. package/dist/subscription-account-pools.d.ts +326 -0
  302. package/dist/subscription-personal-authority-v2.d.ts +28 -0
  303. package/dist/subscription-personal-authority-v2.js +13 -0
  304. package/dist/subscription-personal-authority-v2.js.map +1 -0
  305. package/dist/subscription-plans.d.ts +38 -0
  306. package/dist/subscription-usage-pool.d.ts +89 -0
  307. package/dist/tool-action-review.d.ts +141 -0
  308. package/dist/tool-catalog.d.ts +479 -0
  309. package/dist/tool-policy.d.ts +5 -0
  310. package/dist/tool-review-presentation.d.ts +29 -0
  311. package/dist/tool-review-presentation.js +21 -0
  312. package/dist/tool-review-presentation.js.map +1 -0
  313. package/dist/turn-serving-policy.d.ts +223 -0
  314. package/dist/usage-allowances.d.ts +30 -0
  315. package/dist/usage-allowances.js +5 -1
  316. package/dist/values.d.ts +11 -0
  317. package/dist/values.js +19 -0
  318. package/dist/values.js.map +1 -0
  319. package/dist/vault-provider-wire.d.ts +907 -0
  320. package/dist/vault-provider-wire.js +74 -0
  321. package/dist/vault-provider-wire.js.map +1 -0
  322. package/dist/vaults.d.ts +2185 -0
  323. package/dist/video-generation.d.ts +75 -0
  324. package/dist/video-generation.js +8 -1
  325. package/dist/workspace-control-event.d.ts +18 -0
  326. package/dist/workspace-control-event.js +18 -0
  327. package/dist/workspace-control-event.js.map +1 -0
  328. package/dist/workspace-governance-context.d.ts +18 -0
  329. package/dist/workspace-integration-wire.d.ts +1 -1
  330. package/dist/workspace-integration-wire.js +1 -1
  331. package/dist/workspace-integrations.d.ts +212 -12
  332. package/dist/xai-provider-account-authority.js +3 -1
  333. package/package.json +121 -4
  334. package/src/agent-authored-durable-text.ts +14 -11
  335. package/src/agent-config.ts +382 -203
  336. package/src/agent-instruction-changes.ts +94 -74
  337. package/src/agent-learning.ts +94 -66
  338. package/src/agent-topology.ts +58 -52
  339. package/src/api-key-presets.ts +28 -0
  340. package/src/app-action-catalog-types.ts +32 -0
  341. package/src/app-action-catalog.gen.ts +9905 -0
  342. package/src/app-actions.ts +365 -0
  343. package/src/app-shot.ts +176 -0
  344. package/src/artifact-catalog.ts +81 -46
  345. package/src/artifacts.ts +360 -227
  346. package/src/atlassian-native-retirement.ts +33 -0
  347. package/src/atlassian.ts +136 -108
  348. package/src/automation-templates.ts +201 -0
  349. package/src/billing-subscriptions.ts +48 -0
  350. package/src/bots.ts +238 -0
  351. package/src/bundled-skills.ts +79 -22
  352. package/src/canonical-human-identities.ts +65 -62
  353. package/src/child-lifecycle-notice-protocol.gen.json +1310 -0
  354. package/src/child-lifecycle-notice-protocol.ts +224 -0
  355. package/src/claude-provider-account-authority.ts +12 -0
  356. package/src/claude-subscription-oauth.ts +61 -19
  357. package/src/claude-subscription-usage.ts +64 -35
  358. package/src/client-error-report.ts +344 -9
  359. package/src/code-search.ts +1 -1
  360. package/src/codex-provider-account-authority.ts +22 -16
  361. package/src/company-brain-governed-writes.ts +265 -244
  362. package/src/company-brain.ts +165 -154
  363. package/src/company-profile.ts +362 -297
  364. package/src/connect.ts +222 -173
  365. package/src/connection-account-label.ts +45 -0
  366. package/src/connection-authority.ts +172 -152
  367. package/src/connector-attachments.ts +139 -123
  368. package/src/connector-destinations.ts +48 -43
  369. package/src/connector-tool-permissions.ts +104 -46
  370. package/src/credential-profiles.ts +161 -0
  371. package/src/cua-desktop-tools.gen.json +6722 -0
  372. package/src/cua-desktop-tools.linux.gen.json +6798 -0
  373. package/src/cua-desktop-tools.ts +42 -0
  374. package/src/cua-desktop-tools.windows.gen.json +6739 -0
  375. package/src/define-schema.ts +10 -0
  376. package/src/desktop-app.ts +50 -0
  377. package/src/direct-model-provider.ts +112 -0
  378. package/src/editable-artifact-binary.ts +29 -8
  379. package/src/editable-artifact-committed-transaction.ts +19 -18
  380. package/src/editable-artifact-serialized-commit.ts +8 -2
  381. package/src/editable-artifact-versions.ts +7 -1
  382. package/src/event-preview.ts +53 -3
  383. package/src/event-triggers.ts +891 -0
  384. package/src/external-identities.ts +239 -195
  385. package/src/feedback.ts +125 -30
  386. package/src/file-access.ts +26 -0
  387. package/src/first-party-tool-authorization.ts +383 -0
  388. package/src/github-repository-contracts.ts +78 -64
  389. package/src/google-drive-native-retirement.ts +20 -0
  390. package/src/google-drive.ts +286 -234
  391. package/src/governed-learning-activation.ts +159 -137
  392. package/src/governed-learning-evaluator.ts +141 -133
  393. package/src/host-mcp-bindings.ts +244 -221
  394. package/src/image-generation.ts +105 -95
  395. package/src/index.ts +13928 -9899
  396. package/src/inference-residency.ts +36 -0
  397. package/src/insights-usage.ts +774 -0
  398. package/src/integration-capability-id.ts +16 -0
  399. package/src/interaction-action-deadline.ts +143 -0
  400. package/src/interaction-driver-diagnostic.ts +89 -0
  401. package/src/interaction.ts +3527 -2427
  402. package/src/knowledge-entries.ts +386 -299
  403. package/src/knowledge-preparation.ts +49 -41
  404. package/src/knowledge.ts +242 -213
  405. package/src/learning-refusal.ts +90 -0
  406. package/src/managed-auth-session-sets.ts +180 -133
  407. package/src/managed-sign-in-methods.ts +156 -34
  408. package/src/mcp-oauth.ts +58 -46
  409. package/src/mcp-receipts.ts +199 -194
  410. package/src/mcp-structured-content.ts +81 -0
  411. package/src/memory-slack-delivery.ts +172 -142
  412. package/src/message-time-zone.ts +109 -0
  413. package/src/modal-native-proof-v2.ts +430 -0
  414. package/src/model-account-choice.ts +178 -0
  415. package/src/model-account-settings.ts +210 -0
  416. package/src/model-availability.ts +22 -0
  417. package/src/model-connection-access.ts +62 -14
  418. package/src/model-context-inspector.ts +130 -109
  419. package/src/model-display.ts +221 -0
  420. package/src/model-picker-order.ts +1 -1
  421. package/src/model-residency.ts +535 -0
  422. package/src/organization-access.ts +216 -0
  423. package/src/organization-integration-policy.ts +47 -28
  424. package/src/organization-membership-lifecycle.ts +558 -384
  425. package/src/organization-model-usage.ts +82 -0
  426. package/src/organization-recovery.ts +148 -135
  427. package/src/organization-usage.ts +84 -52
  428. package/src/passkey-only-account.ts +29 -0
  429. package/src/permissions.ts +94 -52
  430. package/src/personal-github.ts +211 -171
  431. package/src/personal-integration-setup.ts +150 -0
  432. package/src/preference-registry.ts +319 -263
  433. package/src/prepared-mcp-setup.ts +190 -0
  434. package/src/primitives.ts +22 -0
  435. package/src/product-analytics.ts +40 -15
  436. package/src/product-lifecycle-facts.ts +50 -20
  437. package/src/prompt-cache-diagnostics.ts +212 -0
  438. package/src/recordings.ts +1153 -0
  439. package/src/remember.ts +184 -172
  440. package/src/retained-output.ts +181 -168
  441. package/src/sandbox-file-artifacts.ts +78 -57
  442. package/src/sandbox-provider-command.ts +55 -72
  443. package/src/sandbox-recovery.ts +163 -77
  444. package/src/scoped-knowledge.ts +62 -43
  445. package/src/secret-generator.ts +156 -0
  446. package/src/secret-mask-strings.ts +175 -0
  447. package/src/secret-references.ts +414 -0
  448. package/src/secret-resolution.ts +322 -0
  449. package/src/secret-shape-masking.ts +573 -0
  450. package/src/secret-totp.ts +188 -0
  451. package/src/secret-use-approval-question.ts +22 -0
  452. package/src/secret-use-approvals.ts +219 -0
  453. package/src/secret-value-masking.ts +1283 -0
  454. package/src/secret-value.ts +22 -0
  455. package/src/session-goal-reports.ts +55 -49
  456. package/src/session-history-import.ts +84 -68
  457. package/src/session-history.ts +197 -0
  458. package/src/session-list-entries.ts +106 -0
  459. package/src/session-mcp-projections.ts +21 -3
  460. package/src/session-mcp-tool-permissions.ts +109 -0
  461. package/src/session-message-search.ts +46 -38
  462. package/src/session-target.ts +58 -0
  463. package/src/session-titles.ts +40 -4
  464. package/src/session-topology-primitives.ts +20 -12
  465. package/src/session-usage-limit-refusal.ts +101 -0
  466. package/src/session-usage-limits.ts +169 -0
  467. package/src/signup-attribution.ts +20 -15
  468. package/src/site-data.ts +337 -0
  469. package/src/site-operations.ts +154 -0
  470. package/src/site-publishing.ts +903 -0
  471. package/src/site-session-http.ts +344 -16
  472. package/src/site-sql.ts +1120 -0
  473. package/src/skill-use.ts +18 -17
  474. package/src/skills.ts +105 -50
  475. package/src/slack-bot-scopes.ts +18 -35
  476. package/src/slack-rest-mcp.ts +222 -0
  477. package/src/slack-task-policy.ts +97 -73
  478. package/src/spreadsheet-artifact-commands.ts +74 -13
  479. package/src/spreadsheet-artifact-query.ts +188 -50
  480. package/src/subscription-account-actions.ts +103 -0
  481. package/src/subscription-account-pools.ts +74 -0
  482. package/src/subscription-personal-authority-v2.ts +69 -0
  483. package/src/subscription-plans.ts +51 -0
  484. package/src/subscription-usage-pool.ts +44 -0
  485. package/src/task-notes.ts +70 -68
  486. package/src/tool-action-review.ts +271 -0
  487. package/src/tool-catalog.ts +694 -379
  488. package/src/tool-policy.ts +82 -0
  489. package/src/tool-result-spill.ts +13 -9
  490. package/src/tool-review-presentation.ts +643 -0
  491. package/src/turn-serving-policy.ts +167 -0
  492. package/src/usage-allowances.ts +212 -136
  493. package/src/values.ts +25 -0
  494. package/src/vault-provider-wire.ts +580 -0
  495. package/src/vaults.ts +1296 -0
  496. package/src/video-generation.ts +430 -361
  497. package/src/work-claims.ts +183 -166
  498. package/src/workspace-control-event.ts +134 -0
  499. package/src/workspace-governance-context.ts +63 -0
  500. package/src/workspace-instruction-policies.ts +346 -279
  501. package/src/workspace-integration-wire.ts +10 -0
  502. package/src/workspace-integrations.ts +488 -398
  503. package/src/workspace-learning-administration.ts +58 -44
  504. package/src/workspace-learning-policy.ts +126 -99
  505. package/src/workspace-state.ts +239 -220
  506. package/src/xai-provider-account-authority.ts +23 -17
  507. package/dist/chunk-3SIZGL3O.js.map +0 -1
  508. package/dist/chunk-566IFOVP.js +0 -26133
  509. package/dist/chunk-566IFOVP.js.map +0 -1
  510. package/dist/chunk-5IXYF6XN.js +0 -728
  511. package/dist/chunk-5IXYF6XN.js.map +0 -1
  512. package/dist/chunk-5Q54VCCH.js.map +0 -1
  513. package/dist/chunk-BCS7WHCK.js +0 -139
  514. package/dist/chunk-BCS7WHCK.js.map +0 -1
  515. package/dist/chunk-EK7NDGFR.js +0 -128
  516. package/dist/chunk-EK7NDGFR.js.map +0 -1
  517. package/dist/chunk-GRG7PHWQ.js +0 -25
  518. package/dist/chunk-GRG7PHWQ.js.map +0 -1
  519. package/dist/chunk-HHZSZYYF.js.map +0 -1
  520. package/dist/chunk-ICDZGUX2.js +0 -186
  521. package/dist/chunk-ICDZGUX2.js.map +0 -1
  522. package/dist/chunk-JUFK3T4Q.js +0 -80
  523. package/dist/chunk-JUFK3T4Q.js.map +0 -1
  524. package/dist/chunk-MYBZRDTY.js.map +0 -1
  525. package/dist/chunk-NRMCVHAU.js.map +0 -1
  526. package/dist/chunk-O77VSFYZ.js.map +0 -1
  527. package/dist/chunk-P3HLDT77.js +0 -59
  528. package/dist/chunk-P3HLDT77.js.map +0 -1
  529. package/dist/chunk-TXTQIYCV.js.map +0 -1
  530. package/dist/chunk-WYBDERIY.js.map +0 -1
  531. package/dist/chunk-Y3KNXVTD.js.map +0 -1
  532. package/dist/chunk-YBW5JSA3.js.map +0 -1
  533. package/dist/chunk-YRXAWWCU.js +0 -45
  534. package/dist/chunk-YRXAWWCU.js.map +0 -1
  535. package/dist/chunk-YWMOIZ6A.js +0 -185
  536. package/dist/chunk-YWMOIZ6A.js.map +0 -1
  537. package/dist/site-request-headers.test.d.ts +0 -1
  538. package/dist/transcription-recordings.d.ts +0 -300
  539. package/src/transcription-recordings.ts +0 -169
  540. /package/dist/{chunk-SIOU2K4U.js.map → chunk-LJH2EYGT.js.map} +0 -0
  541. /package/dist/{chunk-RIY7GYQS.js.map → chunk-PTSROVDG.js.map} +0 -0
  542. /package/dist/{chunk-YRKRZ6OF.js.map → chunk-TOOJIBJC.js.map} +0 -0
  543. /package/dist/{chunk-D2HKF2EF.js.map → chunk-XP5M3IKT.js.map} +0 -0
@@ -0,0 +1,1253 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * Event sources, normalized events and event triggers.
4
+ *
5
+ * An event source delivers events into a workspace: a webhook endpoint a person
6
+ * pastes into another app, an app Opengeni receives events from directly, or an
7
+ * MCP connection whose server offers the MCP Events extension. Every source
8
+ * produces the same normalized event. An automation (a scheduled task) runs
9
+ * when one of its event triggers matches an event.
10
+ *
11
+ * This module must not import `./index`: the scheduled-task schemas there
12
+ * embed these schemas.
13
+ */
14
+ /**
15
+ * `workspace` is "This workspace": things that happen in Opengeni itself, such
16
+ * as a meeting's transcript becoming ready, as one person may see them.
17
+ */
18
+ export declare const EVENT_SOURCE_KINDS: readonly ["webhook", "github", "slack", "gmail", "mcp", "workspace"];
19
+ export declare const EventSourceKind: z.ZodEnum<{
20
+ github: "github";
21
+ gmail: "gmail";
22
+ mcp: "mcp";
23
+ slack: "slack";
24
+ webhook: "webhook";
25
+ workspace: "workspace";
26
+ }>;
27
+ export type EventSourceKind = z.infer<typeof EventSourceKind>;
28
+ /**
29
+ * How a webhook endpoint verifies and reads deliveries: `standard` is
30
+ * Opengeni's own format (Standard Webhooks with an Opengeni secret), `linear`
31
+ * and `sentry` are those apps' webhooks, and `custom` reads any other app's
32
+ * webhooks as the source's `format` describes.
33
+ */
34
+ export declare const WEBHOOK_EVENT_ADAPTERS: readonly ["standard", "linear", "sentry", "custom"];
35
+ export declare const WebhookEventAdapter: z.ZodEnum<{
36
+ custom: "custom";
37
+ linear: "linear";
38
+ sentry: "sentry";
39
+ standard: "standard";
40
+ }>;
41
+ export type WebhookEventAdapter = z.infer<typeof WebhookEventAdapter>;
42
+ /** An HTTP header name, matched without regard to case. */
43
+ export declare const WebhookHeaderName: z.ZodString;
44
+ /** A dot-separated path into a JSON object, such as `data.object.id`. */
45
+ export declare const WebhookJsonPath: z.ZodString;
46
+ /** Where a value comes from: a JSON path in the event, or a request header. */
47
+ export declare const WebhookValueSource: z.ZodUnion<readonly [z.ZodObject<{
48
+ path: z.ZodString;
49
+ }, z.core.$strict>, z.ZodObject<{
50
+ header: z.ZodString;
51
+ }, z.core.$strict>]>;
52
+ export type WebhookValueSource = z.infer<typeof WebhookValueSource>;
53
+ /**
54
+ * How a custom webhook proves it came from the app, always over the exact raw
55
+ * body and with the source's secret:
56
+ * - `standard_webhooks`: Standard Webhooks (`webhook-id`, `webhook-timestamp`,
57
+ * `webhook-signature`) with a `whsec_` secret, as Svix-based apps send.
58
+ * - `hmac_sha256`: the HMAC-SHA256 of the body in `header`, hex or base64,
59
+ * after an optional `prefix` such as `sha256=`.
60
+ * - `timestamped_hmac_sha256`: a `t=<unix seconds>,v1=<hex>` header whose
61
+ * signature is the HMAC-SHA256 of `<t>.<body>`, as Stripe and Tailscale
62
+ * send; deliveries signed more than `toleranceSeconds` away are refused.
63
+ * - `token`: the secret itself in `header`, after an optional `prefix` such
64
+ * as `Bearer ` (a shared token, as GitLab sends).
65
+ */
66
+ export declare const WebhookSignatureFormat: z.ZodDiscriminatedUnion<[z.ZodObject<{
67
+ scheme: z.ZodLiteral<"standard_webhooks">;
68
+ }, z.core.$strict>, z.ZodObject<{
69
+ scheme: z.ZodLiteral<"hmac_sha256">;
70
+ header: z.ZodString;
71
+ encoding: z.ZodDefault<z.ZodEnum<{
72
+ base64: "base64";
73
+ hex: "hex";
74
+ }>>;
75
+ prefix: z.ZodDefault<z.ZodString>;
76
+ }, z.core.$strict>, z.ZodObject<{
77
+ scheme: z.ZodLiteral<"timestamped_hmac_sha256">;
78
+ header: z.ZodString;
79
+ toleranceSeconds: z.ZodDefault<z.ZodNumber>;
80
+ }, z.core.$strict>, z.ZodObject<{
81
+ scheme: z.ZodLiteral<"token">;
82
+ header: z.ZodString;
83
+ prefix: z.ZodDefault<z.ZodString>;
84
+ }, z.core.$strict>], "scheme">;
85
+ export type WebhookSignatureFormat = z.infer<typeof WebhookSignatureFormat>;
86
+ export declare const EventSourceStatus: z.ZodEnum<{
87
+ active: "active";
88
+ blocked: "blocked";
89
+ disabled: "disabled";
90
+ }>;
91
+ export type EventSourceStatus = z.infer<typeof EventSourceStatus>;
92
+ /**
93
+ * Why an event source or trigger is not active, or why a source can't send
94
+ * an event type, as a code clients word in their own language. Each comes
95
+ * with the same reason as an English sentence (`statusReason`,
96
+ * `unavailableReason`) and, for some, what the app or server said
97
+ * (`…Detail`). The wire carries a plain string: a client reads a code it
98
+ * doesn't know, or none, as "show the sentence".
99
+ *
100
+ * - `turned_off`: someone turned it off.
101
+ * - `awaiting_secret`: a pasted Linear, Sentry or custom webhook waits for its signing secret.
102
+ * - `reconnect`: the owner's connection to the app has to be signed in again.
103
+ * - `missing_permission`: the connection no longer allows reading what the events need.
104
+ * - `app_not_enabled`: the app isn't turned on for the connected account.
105
+ * - `account_changed`: the connection now signs in as another account (the detail names it).
106
+ * - `connector_removed`: the app or connector is no longer added to the workspace.
107
+ * - `host_sign_in`: the server signs in through the app that embeds Opengeni, which automations can't use.
108
+ * - `events_unsupported`: the server doesn't offer events.
109
+ * - `event_type_gone`: the server no longer offers this event type.
110
+ * - `forbidden`: the server won't let the owner's account receive these events with these settings.
111
+ * - `invalid_arguments`: the server rejected the trigger's subscription arguments.
112
+ * - `needs_public_address`: the server sends this type only to a public https address, which the deployment lacks.
113
+ * - `push_only`: the server sends this type only over a held-open connection, which isn't supported yet.
114
+ * - `delivery_mode_unsupported`: the server won't send this type in a way the deployment can receive.
115
+ * - `callback_unreachable`: the server can't reach the deployment's webhook address.
116
+ * - `not_answering`: the app or server hasn't answered for over an hour.
117
+ * - `github_event_not_subscribed`: the GitHub App isn't subscribed to the event (the detail names it).
118
+ * - `unavailable`: the source can't receive events for another reason.
119
+ */
120
+ export declare const EVENT_STATUS_REASON_CODES: readonly ["turned_off", "awaiting_secret", "reconnect", "missing_permission", "app_not_enabled", "account_changed", "connector_removed", "host_sign_in", "events_unsupported", "event_type_gone", "forbidden", "invalid_arguments", "needs_public_address", "push_only", "delivery_mode_unsupported", "callback_unreachable", "not_answering", "github_event_not_subscribed", "unavailable"];
121
+ export type EventStatusReasonCode = (typeof EVENT_STATUS_REASON_CODES)[number];
122
+ /** Whether `code` is one this version of the contract knows. */
123
+ export declare function isEventStatusReasonCode(code: unknown): code is EventStatusReasonCode;
124
+ /** Who can use a source and see its events: only its owner, or the workspace. */
125
+ export declare const EventSourceVisibility: z.ZodEnum<{
126
+ private: "private";
127
+ workspace: "workspace";
128
+ }>;
129
+ export type EventSourceVisibility = z.infer<typeof EventSourceVisibility>;
130
+ export declare const EVENT_SOURCE_NAME_MAX_LENGTH = 120;
131
+ export declare const EVENT_TYPE_MAX_LENGTH = 200;
132
+ export declare const EVENT_SUMMARY_MAX_LENGTH = 500;
133
+ export declare const EVENT_SUBJECT_MAX_LENGTH = 300;
134
+ /** Serialized UTF-8 bytes of an event's stored `data`; larger data is cut. */
135
+ export declare const EVENT_DATA_MAX_BYTES: number;
136
+ /** Raw request bodies above this size are refused before verification. */
137
+ export declare const EVENT_DELIVERY_BODY_MAX_BYTES: number;
138
+ export declare const EVENT_TRIGGERS_PER_AUTOMATION_MAX = 16;
139
+ export declare const EVENT_TRIGGER_TYPES_MAX = 32;
140
+ export declare const EVENT_TRIGGER_CONDITIONS_MAX = 16;
141
+ export declare const DEFAULT_EVENT_RUNS_PER_HOUR = 30;
142
+ export declare const MAX_EVENT_RUNS_PER_HOUR = 1000;
143
+ /** Raw delivery bodies are deleted after this many days; delivery rows stay. */
144
+ export declare const EVENT_DELIVERY_BODY_RETENTION_DAYS = 7;
145
+ /** Normalized events and delivery rows are deleted after this many days. */
146
+ export declare const EVENT_RETENTION_DAYS = 30;
147
+ export declare const EventSourceName: z.ZodString;
148
+ export declare const EventTypeName: z.ZodString;
149
+ /**
150
+ * How a custom webhook source reads another app's deliveries. Paths are read
151
+ * in each event: the body, or each item of the list `batch` names.
152
+ */
153
+ export declare const WebhookFormat: z.ZodObject<{
154
+ preset: z.ZodOptional<z.ZodString>;
155
+ signature: z.ZodDiscriminatedUnion<[z.ZodObject<{
156
+ scheme: z.ZodLiteral<"standard_webhooks">;
157
+ }, z.core.$strict>, z.ZodObject<{
158
+ scheme: z.ZodLiteral<"hmac_sha256">;
159
+ header: z.ZodString;
160
+ encoding: z.ZodDefault<z.ZodEnum<{
161
+ base64: "base64";
162
+ hex: "hex";
163
+ }>>;
164
+ prefix: z.ZodDefault<z.ZodString>;
165
+ }, z.core.$strict>, z.ZodObject<{
166
+ scheme: z.ZodLiteral<"timestamped_hmac_sha256">;
167
+ header: z.ZodString;
168
+ toleranceSeconds: z.ZodDefault<z.ZodNumber>;
169
+ }, z.core.$strict>, z.ZodObject<{
170
+ scheme: z.ZodLiteral<"token">;
171
+ header: z.ZodString;
172
+ prefix: z.ZodDefault<z.ZodString>;
173
+ }, z.core.$strict>], "scheme">;
174
+ batch: z.ZodOptional<z.ZodObject<{
175
+ path: z.ZodOptional<z.ZodString>;
176
+ }, z.core.$strict>>;
177
+ type: z.ZodUnion<readonly [z.ZodObject<{
178
+ path: z.ZodString;
179
+ }, z.core.$strict>, z.ZodObject<{
180
+ header: z.ZodString;
181
+ }, z.core.$strict>, z.ZodObject<{
182
+ value: z.ZodString;
183
+ }, z.core.$strict>]>;
184
+ deliveryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
185
+ path: z.ZodString;
186
+ }, z.core.$strict>, z.ZodObject<{
187
+ header: z.ZodString;
188
+ }, z.core.$strict>]>>;
189
+ eventId: z.ZodOptional<z.ZodString>;
190
+ occurredAt: z.ZodOptional<z.ZodString>;
191
+ summary: z.ZodOptional<z.ZodString>;
192
+ subject: z.ZodOptional<z.ZodString>;
193
+ url: z.ZodOptional<z.ZodString>;
194
+ actor: z.ZodOptional<z.ZodString>;
195
+ }, z.core.$strict>;
196
+ export type WebhookFormat = z.infer<typeof WebhookFormat>;
197
+ export type WebhookFormatInput = z.input<typeof WebhookFormat>;
198
+ /**
199
+ * Formats for apps whose webhooks are well known, keyed by their `preset`.
200
+ * A custom source made with one is the same as one that spells it out.
201
+ */
202
+ export declare const WEBHOOK_FORMAT_PRESETS: {
203
+ /** Tailscale: a JSON list of events, signed `t=…,v1=…` over `<t>.<body>`. */
204
+ readonly tailscale: {
205
+ readonly preset: "tailscale";
206
+ readonly signature: {
207
+ readonly scheme: "timestamped_hmac_sha256";
208
+ readonly header: "Tailscale-Webhook-Signature";
209
+ };
210
+ readonly batch: {};
211
+ readonly type: {
212
+ readonly path: "type";
213
+ };
214
+ readonly occurredAt: "timestamp";
215
+ readonly summary: "message";
216
+ readonly subject: "data.deviceName";
217
+ readonly url: "data.url";
218
+ readonly actor: "data.actor";
219
+ };
220
+ };
221
+ export type WebhookFormatPreset = keyof typeof WEBHOOK_FORMAT_PRESETS;
222
+ export declare const EventSourceMcpBinding: z.ZodObject<{
223
+ serverId: z.ZodString;
224
+ connectionId: z.ZodNullable<z.ZodString>;
225
+ }, z.core.$strict>;
226
+ export type EventSourceMcpBinding = z.infer<typeof EventSourceMcpBinding>;
227
+ export declare const EventSource: z.ZodObject<{
228
+ id: z.ZodString;
229
+ workspaceId: z.ZodString;
230
+ kind: z.ZodEnum<{
231
+ github: "github";
232
+ gmail: "gmail";
233
+ mcp: "mcp";
234
+ slack: "slack";
235
+ webhook: "webhook";
236
+ workspace: "workspace";
237
+ }>;
238
+ adapter: z.ZodNullable<z.ZodEnum<{
239
+ custom: "custom";
240
+ linear: "linear";
241
+ sentry: "sentry";
242
+ standard: "standard";
243
+ }>>;
244
+ format: z.ZodDefault<z.ZodNullable<z.ZodObject<{
245
+ preset: z.ZodOptional<z.ZodString>;
246
+ signature: z.ZodDiscriminatedUnion<[z.ZodObject<{
247
+ scheme: z.ZodLiteral<"standard_webhooks">;
248
+ }, z.core.$strict>, z.ZodObject<{
249
+ scheme: z.ZodLiteral<"hmac_sha256">;
250
+ header: z.ZodString;
251
+ encoding: z.ZodDefault<z.ZodEnum<{
252
+ base64: "base64";
253
+ hex: "hex";
254
+ }>>;
255
+ prefix: z.ZodDefault<z.ZodString>;
256
+ }, z.core.$strict>, z.ZodObject<{
257
+ scheme: z.ZodLiteral<"timestamped_hmac_sha256">;
258
+ header: z.ZodString;
259
+ toleranceSeconds: z.ZodDefault<z.ZodNumber>;
260
+ }, z.core.$strict>, z.ZodObject<{
261
+ scheme: z.ZodLiteral<"token">;
262
+ header: z.ZodString;
263
+ prefix: z.ZodDefault<z.ZodString>;
264
+ }, z.core.$strict>], "scheme">;
265
+ batch: z.ZodOptional<z.ZodObject<{
266
+ path: z.ZodOptional<z.ZodString>;
267
+ }, z.core.$strict>>;
268
+ type: z.ZodUnion<readonly [z.ZodObject<{
269
+ path: z.ZodString;
270
+ }, z.core.$strict>, z.ZodObject<{
271
+ header: z.ZodString;
272
+ }, z.core.$strict>, z.ZodObject<{
273
+ value: z.ZodString;
274
+ }, z.core.$strict>]>;
275
+ deliveryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
276
+ path: z.ZodString;
277
+ }, z.core.$strict>, z.ZodObject<{
278
+ header: z.ZodString;
279
+ }, z.core.$strict>]>>;
280
+ eventId: z.ZodOptional<z.ZodString>;
281
+ occurredAt: z.ZodOptional<z.ZodString>;
282
+ summary: z.ZodOptional<z.ZodString>;
283
+ subject: z.ZodOptional<z.ZodString>;
284
+ url: z.ZodOptional<z.ZodString>;
285
+ actor: z.ZodOptional<z.ZodString>;
286
+ }, z.core.$strict>>>;
287
+ name: z.ZodString;
288
+ ownerSubjectId: z.ZodNullable<z.ZodString>;
289
+ visibility: z.ZodEnum<{
290
+ private: "private";
291
+ workspace: "workspace";
292
+ }>;
293
+ status: z.ZodEnum<{
294
+ active: "active";
295
+ blocked: "blocked";
296
+ disabled: "disabled";
297
+ }>;
298
+ statusReason: z.ZodNullable<z.ZodString>;
299
+ statusReasonCode: z.ZodDefault<z.ZodNullable<z.ZodString>>;
300
+ statusReasonDetail: z.ZodDefault<z.ZodNullable<z.ZodString>>;
301
+ webhookUrl: z.ZodNullable<z.ZodString>;
302
+ awaitingSigningSecret: z.ZodDefault<z.ZodBoolean>;
303
+ mcp: z.ZodNullable<z.ZodObject<{
304
+ serverId: z.ZodString;
305
+ connectionId: z.ZodNullable<z.ZodString>;
306
+ }, z.core.$strict>>;
307
+ lastDeliveryAt: z.ZodNullable<z.ZodString>;
308
+ createdAt: z.ZodString;
309
+ updatedAt: z.ZodString;
310
+ viewerAccess: z.ZodOptional<z.ZodEnum<{
311
+ manage: "manage";
312
+ use: "use";
313
+ }>>;
314
+ }, z.core.$strip>;
315
+ export type EventSource = z.infer<typeof EventSource>;
316
+ /**
317
+ * Linear and Sentry generate the secret once they have the webhook URL, so it
318
+ * is pasted on create or afterwards; a custom webhook takes the secret its app
319
+ * shows or the one a person chose there. Standard sources get one from
320
+ * Opengeni.
321
+ */
322
+ export declare const EventSourceSigningSecretInput: z.ZodString;
323
+ export declare const CreateEventSourceRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
324
+ kind: z.ZodLiteral<"webhook">;
325
+ adapter: z.ZodEnum<{
326
+ custom: "custom";
327
+ linear: "linear";
328
+ sentry: "sentry";
329
+ standard: "standard";
330
+ }>;
331
+ name: z.ZodString;
332
+ visibility: z.ZodDefault<z.ZodEnum<{
333
+ private: "private";
334
+ workspace: "workspace";
335
+ }>>;
336
+ signingSecret: z.ZodOptional<z.ZodString>;
337
+ format: z.ZodOptional<z.ZodObject<{
338
+ preset: z.ZodOptional<z.ZodString>;
339
+ signature: z.ZodDiscriminatedUnion<[z.ZodObject<{
340
+ scheme: z.ZodLiteral<"standard_webhooks">;
341
+ }, z.core.$strict>, z.ZodObject<{
342
+ scheme: z.ZodLiteral<"hmac_sha256">;
343
+ header: z.ZodString;
344
+ encoding: z.ZodDefault<z.ZodEnum<{
345
+ base64: "base64";
346
+ hex: "hex";
347
+ }>>;
348
+ prefix: z.ZodDefault<z.ZodString>;
349
+ }, z.core.$strict>, z.ZodObject<{
350
+ scheme: z.ZodLiteral<"timestamped_hmac_sha256">;
351
+ header: z.ZodString;
352
+ toleranceSeconds: z.ZodDefault<z.ZodNumber>;
353
+ }, z.core.$strict>, z.ZodObject<{
354
+ scheme: z.ZodLiteral<"token">;
355
+ header: z.ZodString;
356
+ prefix: z.ZodDefault<z.ZodString>;
357
+ }, z.core.$strict>], "scheme">;
358
+ batch: z.ZodOptional<z.ZodObject<{
359
+ path: z.ZodOptional<z.ZodString>;
360
+ }, z.core.$strict>>;
361
+ type: z.ZodUnion<readonly [z.ZodObject<{
362
+ path: z.ZodString;
363
+ }, z.core.$strict>, z.ZodObject<{
364
+ header: z.ZodString;
365
+ }, z.core.$strict>, z.ZodObject<{
366
+ value: z.ZodString;
367
+ }, z.core.$strict>]>;
368
+ deliveryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
369
+ path: z.ZodString;
370
+ }, z.core.$strict>, z.ZodObject<{
371
+ header: z.ZodString;
372
+ }, z.core.$strict>]>>;
373
+ eventId: z.ZodOptional<z.ZodString>;
374
+ occurredAt: z.ZodOptional<z.ZodString>;
375
+ summary: z.ZodOptional<z.ZodString>;
376
+ subject: z.ZodOptional<z.ZodString>;
377
+ url: z.ZodOptional<z.ZodString>;
378
+ actor: z.ZodOptional<z.ZodString>;
379
+ }, z.core.$strict>>;
380
+ }, z.core.$strict>, z.ZodObject<{
381
+ kind: z.ZodEnum<{
382
+ github: "github";
383
+ slack: "slack";
384
+ }>;
385
+ name: z.ZodOptional<z.ZodString>;
386
+ }, z.core.$strict>, z.ZodObject<{
387
+ kind: z.ZodLiteral<"gmail">;
388
+ connectionId: z.ZodOptional<z.ZodString>;
389
+ name: z.ZodOptional<z.ZodString>;
390
+ }, z.core.$strict>, z.ZodObject<{
391
+ kind: z.ZodLiteral<"mcp">;
392
+ serverId: z.ZodString;
393
+ connectionId: z.ZodOptional<z.ZodString>;
394
+ name: z.ZodOptional<z.ZodString>;
395
+ }, z.core.$strict>, z.ZodObject<{
396
+ kind: z.ZodLiteral<"workspace">;
397
+ name: z.ZodOptional<z.ZodString>;
398
+ }, z.core.$strict>], "kind">;
399
+ /** What a caller sends; a webhook source's `visibility` defaults to `private`. */
400
+ export type CreateEventSourceRequest = z.input<typeof CreateEventSourceRequest>;
401
+ export type ParsedCreateEventSourceRequest = z.output<typeof CreateEventSourceRequest>;
402
+ export declare const CreateEventSourceResponse: z.ZodObject<{
403
+ source: z.ZodObject<{
404
+ id: z.ZodString;
405
+ workspaceId: z.ZodString;
406
+ kind: z.ZodEnum<{
407
+ github: "github";
408
+ gmail: "gmail";
409
+ mcp: "mcp";
410
+ slack: "slack";
411
+ webhook: "webhook";
412
+ workspace: "workspace";
413
+ }>;
414
+ adapter: z.ZodNullable<z.ZodEnum<{
415
+ custom: "custom";
416
+ linear: "linear";
417
+ sentry: "sentry";
418
+ standard: "standard";
419
+ }>>;
420
+ format: z.ZodDefault<z.ZodNullable<z.ZodObject<{
421
+ preset: z.ZodOptional<z.ZodString>;
422
+ signature: z.ZodDiscriminatedUnion<[z.ZodObject<{
423
+ scheme: z.ZodLiteral<"standard_webhooks">;
424
+ }, z.core.$strict>, z.ZodObject<{
425
+ scheme: z.ZodLiteral<"hmac_sha256">;
426
+ header: z.ZodString;
427
+ encoding: z.ZodDefault<z.ZodEnum<{
428
+ base64: "base64";
429
+ hex: "hex";
430
+ }>>;
431
+ prefix: z.ZodDefault<z.ZodString>;
432
+ }, z.core.$strict>, z.ZodObject<{
433
+ scheme: z.ZodLiteral<"timestamped_hmac_sha256">;
434
+ header: z.ZodString;
435
+ toleranceSeconds: z.ZodDefault<z.ZodNumber>;
436
+ }, z.core.$strict>, z.ZodObject<{
437
+ scheme: z.ZodLiteral<"token">;
438
+ header: z.ZodString;
439
+ prefix: z.ZodDefault<z.ZodString>;
440
+ }, z.core.$strict>], "scheme">;
441
+ batch: z.ZodOptional<z.ZodObject<{
442
+ path: z.ZodOptional<z.ZodString>;
443
+ }, z.core.$strict>>;
444
+ type: z.ZodUnion<readonly [z.ZodObject<{
445
+ path: z.ZodString;
446
+ }, z.core.$strict>, z.ZodObject<{
447
+ header: z.ZodString;
448
+ }, z.core.$strict>, z.ZodObject<{
449
+ value: z.ZodString;
450
+ }, z.core.$strict>]>;
451
+ deliveryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
452
+ path: z.ZodString;
453
+ }, z.core.$strict>, z.ZodObject<{
454
+ header: z.ZodString;
455
+ }, z.core.$strict>]>>;
456
+ eventId: z.ZodOptional<z.ZodString>;
457
+ occurredAt: z.ZodOptional<z.ZodString>;
458
+ summary: z.ZodOptional<z.ZodString>;
459
+ subject: z.ZodOptional<z.ZodString>;
460
+ url: z.ZodOptional<z.ZodString>;
461
+ actor: z.ZodOptional<z.ZodString>;
462
+ }, z.core.$strict>>>;
463
+ name: z.ZodString;
464
+ ownerSubjectId: z.ZodNullable<z.ZodString>;
465
+ visibility: z.ZodEnum<{
466
+ private: "private";
467
+ workspace: "workspace";
468
+ }>;
469
+ status: z.ZodEnum<{
470
+ active: "active";
471
+ blocked: "blocked";
472
+ disabled: "disabled";
473
+ }>;
474
+ statusReason: z.ZodNullable<z.ZodString>;
475
+ statusReasonCode: z.ZodDefault<z.ZodNullable<z.ZodString>>;
476
+ statusReasonDetail: z.ZodDefault<z.ZodNullable<z.ZodString>>;
477
+ webhookUrl: z.ZodNullable<z.ZodString>;
478
+ awaitingSigningSecret: z.ZodDefault<z.ZodBoolean>;
479
+ mcp: z.ZodNullable<z.ZodObject<{
480
+ serverId: z.ZodString;
481
+ connectionId: z.ZodNullable<z.ZodString>;
482
+ }, z.core.$strict>>;
483
+ lastDeliveryAt: z.ZodNullable<z.ZodString>;
484
+ createdAt: z.ZodString;
485
+ updatedAt: z.ZodString;
486
+ viewerAccess: z.ZodOptional<z.ZodEnum<{
487
+ manage: "manage";
488
+ use: "use";
489
+ }>>;
490
+ }, z.core.$strip>;
491
+ signingSecret: z.ZodOptional<z.ZodString>;
492
+ }, z.core.$strict>;
493
+ export type CreateEventSourceResponse = z.infer<typeof CreateEventSourceResponse>;
494
+ export declare const UpdateEventSourceRequest: z.ZodObject<{
495
+ name: z.ZodOptional<z.ZodString>;
496
+ visibility: z.ZodOptional<z.ZodEnum<{
497
+ private: "private";
498
+ workspace: "workspace";
499
+ }>>;
500
+ status: z.ZodOptional<z.ZodEnum<{
501
+ active: "active";
502
+ disabled: "disabled";
503
+ }>>;
504
+ signingSecret: z.ZodOptional<z.ZodString>;
505
+ format: z.ZodOptional<z.ZodObject<{
506
+ preset: z.ZodOptional<z.ZodString>;
507
+ signature: z.ZodDiscriminatedUnion<[z.ZodObject<{
508
+ scheme: z.ZodLiteral<"standard_webhooks">;
509
+ }, z.core.$strict>, z.ZodObject<{
510
+ scheme: z.ZodLiteral<"hmac_sha256">;
511
+ header: z.ZodString;
512
+ encoding: z.ZodDefault<z.ZodEnum<{
513
+ base64: "base64";
514
+ hex: "hex";
515
+ }>>;
516
+ prefix: z.ZodDefault<z.ZodString>;
517
+ }, z.core.$strict>, z.ZodObject<{
518
+ scheme: z.ZodLiteral<"timestamped_hmac_sha256">;
519
+ header: z.ZodString;
520
+ toleranceSeconds: z.ZodDefault<z.ZodNumber>;
521
+ }, z.core.$strict>, z.ZodObject<{
522
+ scheme: z.ZodLiteral<"token">;
523
+ header: z.ZodString;
524
+ prefix: z.ZodDefault<z.ZodString>;
525
+ }, z.core.$strict>], "scheme">;
526
+ batch: z.ZodOptional<z.ZodObject<{
527
+ path: z.ZodOptional<z.ZodString>;
528
+ }, z.core.$strict>>;
529
+ type: z.ZodUnion<readonly [z.ZodObject<{
530
+ path: z.ZodString;
531
+ }, z.core.$strict>, z.ZodObject<{
532
+ header: z.ZodString;
533
+ }, z.core.$strict>, z.ZodObject<{
534
+ value: z.ZodString;
535
+ }, z.core.$strict>]>;
536
+ deliveryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
537
+ path: z.ZodString;
538
+ }, z.core.$strict>, z.ZodObject<{
539
+ header: z.ZodString;
540
+ }, z.core.$strict>]>>;
541
+ eventId: z.ZodOptional<z.ZodString>;
542
+ occurredAt: z.ZodOptional<z.ZodString>;
543
+ summary: z.ZodOptional<z.ZodString>;
544
+ subject: z.ZodOptional<z.ZodString>;
545
+ url: z.ZodOptional<z.ZodString>;
546
+ actor: z.ZodOptional<z.ZodString>;
547
+ }, z.core.$strict>>;
548
+ }, z.core.$strict>;
549
+ export type UpdateEventSourceRequest = z.infer<typeof UpdateEventSourceRequest>;
550
+ export declare const RotateEventSourceSecretResponse: z.ZodObject<{
551
+ signingSecret: z.ZodString;
552
+ }, z.core.$strict>;
553
+ export type RotateEventSourceSecretResponse = z.infer<typeof RotateEventSourceSecretResponse>;
554
+ export declare const ListEventSourcesResponse: z.ZodObject<{
555
+ sources: z.ZodArray<z.ZodObject<{
556
+ id: z.ZodString;
557
+ workspaceId: z.ZodString;
558
+ kind: z.ZodEnum<{
559
+ github: "github";
560
+ gmail: "gmail";
561
+ mcp: "mcp";
562
+ slack: "slack";
563
+ webhook: "webhook";
564
+ workspace: "workspace";
565
+ }>;
566
+ adapter: z.ZodNullable<z.ZodEnum<{
567
+ custom: "custom";
568
+ linear: "linear";
569
+ sentry: "sentry";
570
+ standard: "standard";
571
+ }>>;
572
+ format: z.ZodDefault<z.ZodNullable<z.ZodObject<{
573
+ preset: z.ZodOptional<z.ZodString>;
574
+ signature: z.ZodDiscriminatedUnion<[z.ZodObject<{
575
+ scheme: z.ZodLiteral<"standard_webhooks">;
576
+ }, z.core.$strict>, z.ZodObject<{
577
+ scheme: z.ZodLiteral<"hmac_sha256">;
578
+ header: z.ZodString;
579
+ encoding: z.ZodDefault<z.ZodEnum<{
580
+ base64: "base64";
581
+ hex: "hex";
582
+ }>>;
583
+ prefix: z.ZodDefault<z.ZodString>;
584
+ }, z.core.$strict>, z.ZodObject<{
585
+ scheme: z.ZodLiteral<"timestamped_hmac_sha256">;
586
+ header: z.ZodString;
587
+ toleranceSeconds: z.ZodDefault<z.ZodNumber>;
588
+ }, z.core.$strict>, z.ZodObject<{
589
+ scheme: z.ZodLiteral<"token">;
590
+ header: z.ZodString;
591
+ prefix: z.ZodDefault<z.ZodString>;
592
+ }, z.core.$strict>], "scheme">;
593
+ batch: z.ZodOptional<z.ZodObject<{
594
+ path: z.ZodOptional<z.ZodString>;
595
+ }, z.core.$strict>>;
596
+ type: z.ZodUnion<readonly [z.ZodObject<{
597
+ path: z.ZodString;
598
+ }, z.core.$strict>, z.ZodObject<{
599
+ header: z.ZodString;
600
+ }, z.core.$strict>, z.ZodObject<{
601
+ value: z.ZodString;
602
+ }, z.core.$strict>]>;
603
+ deliveryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
604
+ path: z.ZodString;
605
+ }, z.core.$strict>, z.ZodObject<{
606
+ header: z.ZodString;
607
+ }, z.core.$strict>]>>;
608
+ eventId: z.ZodOptional<z.ZodString>;
609
+ occurredAt: z.ZodOptional<z.ZodString>;
610
+ summary: z.ZodOptional<z.ZodString>;
611
+ subject: z.ZodOptional<z.ZodString>;
612
+ url: z.ZodOptional<z.ZodString>;
613
+ actor: z.ZodOptional<z.ZodString>;
614
+ }, z.core.$strict>>>;
615
+ name: z.ZodString;
616
+ ownerSubjectId: z.ZodNullable<z.ZodString>;
617
+ visibility: z.ZodEnum<{
618
+ private: "private";
619
+ workspace: "workspace";
620
+ }>;
621
+ status: z.ZodEnum<{
622
+ active: "active";
623
+ blocked: "blocked";
624
+ disabled: "disabled";
625
+ }>;
626
+ statusReason: z.ZodNullable<z.ZodString>;
627
+ statusReasonCode: z.ZodDefault<z.ZodNullable<z.ZodString>>;
628
+ statusReasonDetail: z.ZodDefault<z.ZodNullable<z.ZodString>>;
629
+ webhookUrl: z.ZodNullable<z.ZodString>;
630
+ awaitingSigningSecret: z.ZodDefault<z.ZodBoolean>;
631
+ mcp: z.ZodNullable<z.ZodObject<{
632
+ serverId: z.ZodString;
633
+ connectionId: z.ZodNullable<z.ZodString>;
634
+ }, z.core.$strict>>;
635
+ lastDeliveryAt: z.ZodNullable<z.ZodString>;
636
+ createdAt: z.ZodString;
637
+ updatedAt: z.ZodString;
638
+ viewerAccess: z.ZodOptional<z.ZodEnum<{
639
+ manage: "manage";
640
+ use: "use";
641
+ }>>;
642
+ }, z.core.$strip>>;
643
+ }, z.core.$strict>;
644
+ export type ListEventSourcesResponse = z.infer<typeof ListEventSourcesResponse>;
645
+ /**
646
+ * Sources that need no setting up, named by a key until they are used: an
647
+ * MCP server the person is signed in to that offers events
648
+ * (`mcp-server:<serverId>`), a Gmail account they connected
649
+ * (`gmail:<connectionId>`), and "This workspace" (`workspace`). A trigger may
650
+ * name one by its key: the person's own source is added the first time it is
651
+ * used, and using the key again finds that same source.
652
+ */
653
+ export declare const READY_EVENT_SOURCE_KINDS: readonly ["mcp", "gmail", "workspace"];
654
+ export type ReadyEventSourceKind = (typeof READY_EVENT_SOURCE_KINDS)[number];
655
+ /** What adds a ready source: the matching create request. */
656
+ export type ReadyEventSourceRequest = {
657
+ kind: "mcp";
658
+ serverId: string;
659
+ } | {
660
+ kind: "gmail";
661
+ connectionId: string;
662
+ } | {
663
+ kind: "workspace";
664
+ };
665
+ export declare function readyEventSourceKey(request: ReadyEventSourceRequest): string;
666
+ /** The source a key names, or null when it is not a ready source's key. */
667
+ export declare function readyEventSourceRequest(key: string): ReadyEventSourceRequest | null;
668
+ export declare const ReadyEventSource: z.ZodObject<{
669
+ key: z.ZodString;
670
+ kind: z.ZodEnum<{
671
+ gmail: "gmail";
672
+ mcp: "mcp";
673
+ workspace: "workspace";
674
+ }>;
675
+ name: z.ZodString;
676
+ }, z.core.$strict>;
677
+ export type ReadyEventSource = z.infer<typeof ReadyEventSource>;
678
+ export declare const ListReadyEventSourcesResponse: z.ZodObject<{
679
+ sources: z.ZodArray<z.ZodObject<{
680
+ key: z.ZodString;
681
+ kind: z.ZodEnum<{
682
+ gmail: "gmail";
683
+ mcp: "mcp";
684
+ workspace: "workspace";
685
+ }>;
686
+ name: z.ZodString;
687
+ }, z.core.$strict>>;
688
+ }, z.core.$strict>;
689
+ export type ListReadyEventSourcesResponse = z.infer<typeof ListReadyEventSourcesResponse>;
690
+ /** A source's id, or a ready source's key. */
691
+ export declare const EventSourceRef: z.ZodString;
692
+ /** Whether a trigger's source names a ready source by its key rather than an id. */
693
+ export declare function isReadyEventSourceKey(ref: string): boolean;
694
+ /**
695
+ * Who caused an event. `opengeni` marks Opengeni's own identities (its GitHub
696
+ * App bot, its Slack bot); triggers ignore those events unless they opt in.
697
+ */
698
+ export declare const EventActorKind: z.ZodEnum<{
699
+ bot: "bot";
700
+ opengeni: "opengeni";
701
+ person: "person";
702
+ unknown: "unknown";
703
+ }>;
704
+ export type EventActorKind = z.infer<typeof EventActorKind>;
705
+ export declare const EventActor: z.ZodObject<{
706
+ kind: z.ZodEnum<{
707
+ bot: "bot";
708
+ opengeni: "opengeni";
709
+ person: "person";
710
+ unknown: "unknown";
711
+ }>;
712
+ name: z.ZodNullable<z.ZodString>;
713
+ }, z.core.$strict>;
714
+ export type EventActor = z.infer<typeof EventActor>;
715
+ export declare const InboundEvent: z.ZodObject<{
716
+ id: z.ZodString;
717
+ sourceId: z.ZodString;
718
+ sourceKind: z.ZodEnum<{
719
+ github: "github";
720
+ gmail: "gmail";
721
+ mcp: "mcp";
722
+ slack: "slack";
723
+ webhook: "webhook";
724
+ workspace: "workspace";
725
+ }>;
726
+ type: z.ZodString;
727
+ occurredAt: z.ZodString;
728
+ receivedAt: z.ZodString;
729
+ subject: z.ZodNullable<z.ZodString>;
730
+ summary: z.ZodString;
731
+ url: z.ZodNullable<z.ZodString>;
732
+ actor: z.ZodObject<{
733
+ kind: z.ZodEnum<{
734
+ bot: "bot";
735
+ opengeni: "opengeni";
736
+ person: "person";
737
+ unknown: "unknown";
738
+ }>;
739
+ name: z.ZodNullable<z.ZodString>;
740
+ }, z.core.$strict>;
741
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
742
+ dataTruncated: z.ZodBoolean;
743
+ gapBefore: z.ZodBoolean;
744
+ }, z.core.$strip>;
745
+ export type InboundEvent = z.infer<typeof InboundEvent>;
746
+ export declare const InboundEventSummary: z.ZodObject<{
747
+ id: z.ZodString;
748
+ sourceId: z.ZodString;
749
+ sourceKind: z.ZodEnum<{
750
+ github: "github";
751
+ gmail: "gmail";
752
+ mcp: "mcp";
753
+ slack: "slack";
754
+ webhook: "webhook";
755
+ workspace: "workspace";
756
+ }>;
757
+ type: z.ZodString;
758
+ occurredAt: z.ZodString;
759
+ subject: z.ZodNullable<z.ZodString>;
760
+ summary: z.ZodString;
761
+ url: z.ZodNullable<z.ZodString>;
762
+ actor: z.ZodObject<{
763
+ kind: z.ZodEnum<{
764
+ bot: "bot";
765
+ opengeni: "opengeni";
766
+ person: "person";
767
+ unknown: "unknown";
768
+ }>;
769
+ name: z.ZodNullable<z.ZodString>;
770
+ }, z.core.$strict>;
771
+ }, z.core.$strip>;
772
+ export type InboundEventSummary = z.infer<typeof InboundEventSummary>;
773
+ export declare const ListInboundEventsResponse: z.ZodObject<{
774
+ events: z.ZodArray<z.ZodObject<{
775
+ id: z.ZodString;
776
+ sourceId: z.ZodString;
777
+ sourceKind: z.ZodEnum<{
778
+ github: "github";
779
+ gmail: "gmail";
780
+ mcp: "mcp";
781
+ slack: "slack";
782
+ webhook: "webhook";
783
+ workspace: "workspace";
784
+ }>;
785
+ type: z.ZodString;
786
+ occurredAt: z.ZodString;
787
+ receivedAt: z.ZodString;
788
+ subject: z.ZodNullable<z.ZodString>;
789
+ summary: z.ZodString;
790
+ url: z.ZodNullable<z.ZodString>;
791
+ actor: z.ZodObject<{
792
+ kind: z.ZodEnum<{
793
+ bot: "bot";
794
+ opengeni: "opengeni";
795
+ person: "person";
796
+ unknown: "unknown";
797
+ }>;
798
+ name: z.ZodNullable<z.ZodString>;
799
+ }, z.core.$strict>;
800
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
801
+ dataTruncated: z.ZodBoolean;
802
+ gapBefore: z.ZodBoolean;
803
+ }, z.core.$strip>>;
804
+ nextCursor: z.ZodNullable<z.ZodString>;
805
+ }, z.core.$strict>;
806
+ export type ListInboundEventsResponse = z.infer<typeof ListInboundEventsResponse>;
807
+ export declare const EventDeliveryStatus: z.ZodEnum<{
808
+ accepted: "accepted";
809
+ failed: "failed";
810
+ ignored: "ignored";
811
+ rejected: "rejected";
812
+ }>;
813
+ export type EventDeliveryStatus = z.infer<typeof EventDeliveryStatus>;
814
+ export declare const EventDelivery: z.ZodObject<{
815
+ id: z.ZodString;
816
+ sourceId: z.ZodString;
817
+ receivedAt: z.ZodString;
818
+ status: z.ZodEnum<{
819
+ accepted: "accepted";
820
+ failed: "failed";
821
+ ignored: "ignored";
822
+ rejected: "rejected";
823
+ }>;
824
+ reason: z.ZodNullable<z.ZodString>;
825
+ eventIds: z.ZodArray<z.ZodString>;
826
+ eventTypes: z.ZodArray<z.ZodString>;
827
+ bodyBytes: z.ZodNumber;
828
+ bodyRetained: z.ZodBoolean;
829
+ duplicateCount: z.ZodNumber;
830
+ replayOfDeliveryId: z.ZodNullable<z.ZodString>;
831
+ }, z.core.$strip>;
832
+ export type EventDelivery = z.infer<typeof EventDelivery>;
833
+ export declare const ListEventDeliveriesResponse: z.ZodObject<{
834
+ deliveries: z.ZodArray<z.ZodObject<{
835
+ id: z.ZodString;
836
+ sourceId: z.ZodString;
837
+ receivedAt: z.ZodString;
838
+ status: z.ZodEnum<{
839
+ accepted: "accepted";
840
+ failed: "failed";
841
+ ignored: "ignored";
842
+ rejected: "rejected";
843
+ }>;
844
+ reason: z.ZodNullable<z.ZodString>;
845
+ eventIds: z.ZodArray<z.ZodString>;
846
+ eventTypes: z.ZodArray<z.ZodString>;
847
+ bodyBytes: z.ZodNumber;
848
+ bodyRetained: z.ZodBoolean;
849
+ duplicateCount: z.ZodNumber;
850
+ replayOfDeliveryId: z.ZodNullable<z.ZodString>;
851
+ }, z.core.$strip>>;
852
+ nextCursor: z.ZodNullable<z.ZodString>;
853
+ }, z.core.$strict>;
854
+ export type ListEventDeliveriesResponse = z.infer<typeof ListEventDeliveriesResponse>;
855
+ export declare const ReplayEventDeliveryResponse: z.ZodObject<{
856
+ delivery: z.ZodObject<{
857
+ id: z.ZodString;
858
+ sourceId: z.ZodString;
859
+ receivedAt: z.ZodString;
860
+ status: z.ZodEnum<{
861
+ accepted: "accepted";
862
+ failed: "failed";
863
+ ignored: "ignored";
864
+ rejected: "rejected";
865
+ }>;
866
+ reason: z.ZodNullable<z.ZodString>;
867
+ eventIds: z.ZodArray<z.ZodString>;
868
+ eventTypes: z.ZodArray<z.ZodString>;
869
+ bodyBytes: z.ZodNumber;
870
+ bodyRetained: z.ZodBoolean;
871
+ duplicateCount: z.ZodNumber;
872
+ replayOfDeliveryId: z.ZodNullable<z.ZodString>;
873
+ }, z.core.$strip>;
874
+ }, z.core.$strict>;
875
+ export type ReplayEventDeliveryResponse = z.infer<typeof ReplayEventDeliveryResponse>;
876
+ export declare const SendTestEventRequest: z.ZodObject<{
877
+ type: z.ZodDefault<z.ZodString>;
878
+ data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
879
+ }, z.core.$strict>;
880
+ /** What a caller sends; `type` defaults to `opengeni.test` and `data` to `{}`. */
881
+ export type SendTestEventRequest = z.input<typeof SendTestEventRequest>;
882
+ export type ParsedSendTestEventRequest = z.output<typeof SendTestEventRequest>;
883
+ export declare const SendTestEventResponse: z.ZodObject<{
884
+ event: z.ZodObject<{
885
+ id: z.ZodString;
886
+ sourceId: z.ZodString;
887
+ sourceKind: z.ZodEnum<{
888
+ github: "github";
889
+ gmail: "gmail";
890
+ mcp: "mcp";
891
+ slack: "slack";
892
+ webhook: "webhook";
893
+ workspace: "workspace";
894
+ }>;
895
+ type: z.ZodString;
896
+ occurredAt: z.ZodString;
897
+ receivedAt: z.ZodString;
898
+ subject: z.ZodNullable<z.ZodString>;
899
+ summary: z.ZodString;
900
+ url: z.ZodNullable<z.ZodString>;
901
+ actor: z.ZodObject<{
902
+ kind: z.ZodEnum<{
903
+ bot: "bot";
904
+ opengeni: "opengeni";
905
+ person: "person";
906
+ unknown: "unknown";
907
+ }>;
908
+ name: z.ZodNullable<z.ZodString>;
909
+ }, z.core.$strict>;
910
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
911
+ dataTruncated: z.ZodBoolean;
912
+ gapBefore: z.ZodBoolean;
913
+ }, z.core.$strip>;
914
+ matchedAutomationIds: z.ZodArray<z.ZodString>;
915
+ }, z.core.$strict>;
916
+ export type SendTestEventResponse = z.infer<typeof SendTestEventResponse>;
917
+ /** A field an event condition can read. */
918
+ export declare const EVENT_CONDITION_FIELD_PATTERN: RegExp;
919
+ export declare const EventConditionOperator: z.ZodEnum<{
920
+ contains: "contains";
921
+ equals: "equals";
922
+ exists: "exists";
923
+ in: "in";
924
+ not_equals: "not_equals";
925
+ not_exists: "not_exists";
926
+ not_in: "not_in";
927
+ }>;
928
+ export type EventConditionOperator = z.infer<typeof EventConditionOperator>;
929
+ export declare const EventCondition: z.ZodObject<{
930
+ field: z.ZodString;
931
+ op: z.ZodEnum<{
932
+ contains: "contains";
933
+ equals: "equals";
934
+ exists: "exists";
935
+ in: "in";
936
+ not_equals: "not_equals";
937
+ not_exists: "not_exists";
938
+ not_in: "not_in";
939
+ }>;
940
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>]>>;
941
+ }, z.core.$strict>;
942
+ export type EventCondition = z.infer<typeof EventCondition>;
943
+ export declare const EventTriggerInput: z.ZodObject<{
944
+ sourceId: z.ZodString;
945
+ eventTypes: z.ZodArray<z.ZodString>;
946
+ conditions: z.ZodDefault<z.ZodArray<z.ZodObject<{
947
+ field: z.ZodString;
948
+ op: z.ZodEnum<{
949
+ contains: "contains";
950
+ equals: "equals";
951
+ exists: "exists";
952
+ in: "in";
953
+ not_equals: "not_equals";
954
+ not_exists: "not_exists";
955
+ not_in: "not_in";
956
+ }>;
957
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>]>>;
958
+ }, z.core.$strict>>>;
959
+ includeOwnEvents: z.ZodDefault<z.ZodBoolean>;
960
+ arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
961
+ }, z.core.$strict>;
962
+ export type EventTriggerInput = z.input<typeof EventTriggerInput>;
963
+ export type ParsedEventTriggerInput = z.output<typeof EventTriggerInput>;
964
+ export declare const EventTriggerStatus: z.ZodEnum<{
965
+ active: "active";
966
+ blocked: "blocked";
967
+ disabled: "disabled";
968
+ }>;
969
+ export type EventTriggerStatus = z.infer<typeof EventTriggerStatus>;
970
+ export declare const EventTrigger: z.ZodObject<{
971
+ id: z.ZodString;
972
+ sourceId: z.ZodString;
973
+ sourceKind: z.ZodEnum<{
974
+ github: "github";
975
+ gmail: "gmail";
976
+ mcp: "mcp";
977
+ slack: "slack";
978
+ webhook: "webhook";
979
+ workspace: "workspace";
980
+ }>;
981
+ eventTypes: z.ZodArray<z.ZodString>;
982
+ conditions: z.ZodArray<z.ZodObject<{
983
+ field: z.ZodString;
984
+ op: z.ZodEnum<{
985
+ contains: "contains";
986
+ equals: "equals";
987
+ exists: "exists";
988
+ in: "in";
989
+ not_equals: "not_equals";
990
+ not_exists: "not_exists";
991
+ not_in: "not_in";
992
+ }>;
993
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>]>>;
994
+ }, z.core.$strict>>;
995
+ includeOwnEvents: z.ZodBoolean;
996
+ arguments: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
997
+ status: z.ZodEnum<{
998
+ active: "active";
999
+ blocked: "blocked";
1000
+ disabled: "disabled";
1001
+ }>;
1002
+ statusReason: z.ZodNullable<z.ZodString>;
1003
+ statusReasonCode: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1004
+ statusReasonDetail: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1005
+ createdAt: z.ZodString;
1006
+ updatedAt: z.ZodString;
1007
+ }, z.core.$strip>;
1008
+ export type EventTrigger = z.infer<typeof EventTrigger>;
1009
+ /**
1010
+ * What the automations that continue a chat are waiting for, as the chat list
1011
+ * and header show it: the soonest scheduled run and the events that can start
1012
+ * a run. Only automations the reader can see contribute; a chat that waits
1013
+ * only on someone else's private automation has none.
1014
+ */
1015
+ export declare const SessionAutomationWaitSummary: z.ZodObject<{
1016
+ nextRunAt: z.ZodNullable<z.ZodString>;
1017
+ event: z.ZodNullable<z.ZodObject<{
1018
+ source: z.ZodNullable<z.ZodObject<{
1019
+ kind: z.ZodEnum<{
1020
+ github: "github";
1021
+ gmail: "gmail";
1022
+ mcp: "mcp";
1023
+ slack: "slack";
1024
+ webhook: "webhook";
1025
+ workspace: "workspace";
1026
+ }>;
1027
+ name: z.ZodString;
1028
+ }, z.core.$strict>>;
1029
+ eventTypes: z.ZodArray<z.ZodString>;
1030
+ }, z.core.$strict>>;
1031
+ events: z.ZodOptional<z.ZodArray<z.ZodObject<{
1032
+ source: z.ZodNullable<z.ZodObject<{
1033
+ kind: z.ZodEnum<{
1034
+ github: "github";
1035
+ gmail: "gmail";
1036
+ mcp: "mcp";
1037
+ slack: "slack";
1038
+ webhook: "webhook";
1039
+ workspace: "workspace";
1040
+ }>;
1041
+ name: z.ZodString;
1042
+ }, z.core.$strict>>;
1043
+ eventTypes: z.ZodArray<z.ZodString>;
1044
+ }, z.core.$strict>>>;
1045
+ automations: z.ZodNumber;
1046
+ }, z.core.$strict>;
1047
+ export type SessionAutomationWaitSummary = z.infer<typeof SessionAutomationWaitSummary>;
1048
+ /** Event triggers and the event run policy of an automation. */
1049
+ export declare const ScheduledTaskEventsInput: z.ZodObject<{
1050
+ triggers: z.ZodArray<z.ZodObject<{
1051
+ sourceId: z.ZodString;
1052
+ eventTypes: z.ZodArray<z.ZodString>;
1053
+ conditions: z.ZodDefault<z.ZodArray<z.ZodObject<{
1054
+ field: z.ZodString;
1055
+ op: z.ZodEnum<{
1056
+ contains: "contains";
1057
+ equals: "equals";
1058
+ exists: "exists";
1059
+ in: "in";
1060
+ not_equals: "not_equals";
1061
+ not_exists: "not_exists";
1062
+ not_in: "not_in";
1063
+ }>;
1064
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>]>>;
1065
+ }, z.core.$strict>>>;
1066
+ includeOwnEvents: z.ZodDefault<z.ZodBoolean>;
1067
+ arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1068
+ }, z.core.$strict>>;
1069
+ maxRunsPerHour: z.ZodOptional<z.ZodNumber>;
1070
+ once: z.ZodOptional<z.ZodBoolean>;
1071
+ }, z.core.$strict>;
1072
+ export type ScheduledTaskEventsInput = z.input<typeof ScheduledTaskEventsInput>;
1073
+ export type ParsedScheduledTaskEventsInput = z.output<typeof ScheduledTaskEventsInput>;
1074
+ export declare const ScheduledTaskEvents: z.ZodObject<{
1075
+ triggers: z.ZodArray<z.ZodObject<{
1076
+ id: z.ZodString;
1077
+ sourceId: z.ZodString;
1078
+ sourceKind: z.ZodEnum<{
1079
+ github: "github";
1080
+ gmail: "gmail";
1081
+ mcp: "mcp";
1082
+ slack: "slack";
1083
+ webhook: "webhook";
1084
+ workspace: "workspace";
1085
+ }>;
1086
+ eventTypes: z.ZodArray<z.ZodString>;
1087
+ conditions: z.ZodArray<z.ZodObject<{
1088
+ field: z.ZodString;
1089
+ op: z.ZodEnum<{
1090
+ contains: "contains";
1091
+ equals: "equals";
1092
+ exists: "exists";
1093
+ in: "in";
1094
+ not_equals: "not_equals";
1095
+ not_exists: "not_exists";
1096
+ not_in: "not_in";
1097
+ }>;
1098
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>]>>;
1099
+ }, z.core.$strict>>;
1100
+ includeOwnEvents: z.ZodBoolean;
1101
+ arguments: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1102
+ status: z.ZodEnum<{
1103
+ active: "active";
1104
+ blocked: "blocked";
1105
+ disabled: "disabled";
1106
+ }>;
1107
+ statusReason: z.ZodNullable<z.ZodString>;
1108
+ statusReasonCode: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1109
+ statusReasonDetail: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1110
+ createdAt: z.ZodString;
1111
+ updatedAt: z.ZodString;
1112
+ }, z.core.$strip>>;
1113
+ maxRunsPerHour: z.ZodNumber;
1114
+ once: z.ZodBoolean;
1115
+ completedAt: z.ZodNullable<z.ZodString>;
1116
+ throttledSince: z.ZodNullable<z.ZodString>;
1117
+ }, z.core.$strip>;
1118
+ export type ScheduledTaskEvents = z.infer<typeof ScheduledTaskEvents>;
1119
+ /** The events an event run carried. */
1120
+ export declare const ScheduledTaskRunEventOccurrence: z.ZodObject<{
1121
+ triggerIds: z.ZodArray<z.ZodString>;
1122
+ eventCount: z.ZodNumber;
1123
+ events: z.ZodArray<z.ZodObject<{
1124
+ id: z.ZodString;
1125
+ sourceId: z.ZodString;
1126
+ sourceKind: z.ZodEnum<{
1127
+ github: "github";
1128
+ gmail: "gmail";
1129
+ mcp: "mcp";
1130
+ slack: "slack";
1131
+ webhook: "webhook";
1132
+ workspace: "workspace";
1133
+ }>;
1134
+ type: z.ZodString;
1135
+ occurredAt: z.ZodString;
1136
+ subject: z.ZodNullable<z.ZodString>;
1137
+ summary: z.ZodString;
1138
+ url: z.ZodNullable<z.ZodString>;
1139
+ actor: z.ZodObject<{
1140
+ kind: z.ZodEnum<{
1141
+ bot: "bot";
1142
+ opengeni: "opengeni";
1143
+ person: "person";
1144
+ unknown: "unknown";
1145
+ }>;
1146
+ name: z.ZodNullable<z.ZodString>;
1147
+ }, z.core.$strict>;
1148
+ }, z.core.$strip>>;
1149
+ }, z.core.$strip>;
1150
+ export type ScheduledTaskRunEventOccurrence = z.infer<typeof ScheduledTaskRunEventOccurrence>;
1151
+ /** Bytes of a run's chat update spent on its events at most. */
1152
+ export declare const SCHEDULED_OCCURRENCE_EVENTS_MAX_BYTES: number;
1153
+ /** Bytes of one carried event's `data` at most; the full event stays fetchable by id. */
1154
+ export declare const SCHEDULED_OCCURRENCE_EVENT_DATA_MAX_BYTES: number;
1155
+ export declare const ScheduledOccurrenceEvent: z.ZodObject<{
1156
+ id: z.ZodString;
1157
+ sourceId: z.ZodString;
1158
+ sourceKind: z.ZodEnum<{
1159
+ github: "github";
1160
+ gmail: "gmail";
1161
+ mcp: "mcp";
1162
+ slack: "slack";
1163
+ webhook: "webhook";
1164
+ workspace: "workspace";
1165
+ }>;
1166
+ type: z.ZodString;
1167
+ occurredAt: z.ZodString;
1168
+ subject: z.ZodNullable<z.ZodString>;
1169
+ summary: z.ZodString;
1170
+ url: z.ZodNullable<z.ZodString>;
1171
+ actor: z.ZodObject<{
1172
+ kind: z.ZodEnum<{
1173
+ bot: "bot";
1174
+ opengeni: "opengeni";
1175
+ person: "person";
1176
+ unknown: "unknown";
1177
+ }>;
1178
+ name: z.ZodNullable<z.ZodString>;
1179
+ }, z.core.$strict>;
1180
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1181
+ dataTruncated: z.ZodBoolean;
1182
+ }, z.core.$strip>;
1183
+ export type ScheduledOccurrenceEvent = z.infer<typeof ScheduledOccurrenceEvent>;
1184
+ /**
1185
+ * The events an event run delivers into its chat, bounded to fit the chat
1186
+ * update. `events` holds the oldest that fit; `eventCount` counts them all.
1187
+ */
1188
+ export declare const ScheduledOccurrenceEvents: z.ZodObject<{
1189
+ occurrenceId: z.ZodString;
1190
+ eventCount: z.ZodNumber;
1191
+ events: z.ZodArray<z.ZodObject<{
1192
+ id: z.ZodString;
1193
+ sourceId: z.ZodString;
1194
+ sourceKind: z.ZodEnum<{
1195
+ github: "github";
1196
+ gmail: "gmail";
1197
+ mcp: "mcp";
1198
+ slack: "slack";
1199
+ webhook: "webhook";
1200
+ workspace: "workspace";
1201
+ }>;
1202
+ type: z.ZodString;
1203
+ occurredAt: z.ZodString;
1204
+ subject: z.ZodNullable<z.ZodString>;
1205
+ summary: z.ZodString;
1206
+ url: z.ZodNullable<z.ZodString>;
1207
+ actor: z.ZodObject<{
1208
+ kind: z.ZodEnum<{
1209
+ bot: "bot";
1210
+ opengeni: "opengeni";
1211
+ person: "person";
1212
+ unknown: "unknown";
1213
+ }>;
1214
+ name: z.ZodNullable<z.ZodString>;
1215
+ }, z.core.$strict>;
1216
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1217
+ dataTruncated: z.ZodBoolean;
1218
+ }, z.core.$strip>>;
1219
+ gapBefore: z.ZodBoolean;
1220
+ }, z.core.$strip>;
1221
+ export type ScheduledOccurrenceEvents = z.infer<typeof ScheduledOccurrenceEvents>;
1222
+ /** An event type a source offers, for trigger pickers and agents. */
1223
+ export declare const EventTypeDescriptor: z.ZodObject<{
1224
+ type: z.ZodString;
1225
+ description: z.ZodString;
1226
+ fields: z.ZodArray<z.ZodObject<{
1227
+ field: z.ZodString;
1228
+ description: z.ZodString;
1229
+ }, z.core.$strip>>;
1230
+ argumentsSchema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1231
+ available: z.ZodBoolean;
1232
+ unavailableReason: z.ZodNullable<z.ZodString>;
1233
+ unavailableReasonCode: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1234
+ unavailableReasonDetail: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1235
+ }, z.core.$strip>;
1236
+ export type EventTypeDescriptor = z.infer<typeof EventTypeDescriptor>;
1237
+ export declare const ListEventTypesResponse: z.ZodObject<{
1238
+ sourceId: z.ZodString;
1239
+ eventTypes: z.ZodArray<z.ZodObject<{
1240
+ type: z.ZodString;
1241
+ description: z.ZodString;
1242
+ fields: z.ZodArray<z.ZodObject<{
1243
+ field: z.ZodString;
1244
+ description: z.ZodString;
1245
+ }, z.core.$strip>>;
1246
+ argumentsSchema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1247
+ available: z.ZodBoolean;
1248
+ unavailableReason: z.ZodNullable<z.ZodString>;
1249
+ unavailableReasonCode: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1250
+ unavailableReasonDetail: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1251
+ }, z.core.$strip>>;
1252
+ }, z.core.$strict>;
1253
+ export type ListEventTypesResponse = z.infer<typeof ListEventTypesResponse>;