@opengeni/contracts 0.50.0 → 1.0.0

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 (369) hide show
  1. package/dist/agent-authored-durable-text.d.ts +70 -0
  2. package/dist/agent-config.d.ts +869 -0
  3. package/dist/agent-instruction-changes.d.ts +110 -0
  4. package/dist/agent-learning.d.ts +243 -0
  5. package/dist/agent-topology.d.ts +292 -0
  6. package/dist/allowance-refusal.d.ts +9 -0
  7. package/dist/allowance-refusal.js +50 -0
  8. package/dist/allowance-refusal.js.map +1 -0
  9. package/dist/analytics-consent-report.d.ts +19 -0
  10. package/dist/analytics-consent-report.js +10 -0
  11. package/dist/analytics-consent-report.js.map +1 -0
  12. package/dist/api-key-presets.d.ts +19 -0
  13. package/dist/artifact-catalog.d.ts +161 -0
  14. package/dist/artifacts.d.ts +135 -11
  15. package/dist/atlassian-native-retirement.d.ts +16 -0
  16. package/dist/atlassian-native-retirement.js +30 -0
  17. package/dist/atlassian-native-retirement.js.map +1 -0
  18. package/dist/atlassian.d.ts +2 -0
  19. package/dist/atlassian.js +26 -12
  20. package/dist/browser-storage.d.ts +5 -0
  21. package/dist/browser-storage.js +9 -0
  22. package/dist/browser-storage.js.map +1 -0
  23. package/dist/bundled-skills.d.ts +40 -0
  24. package/dist/chunk-2ACYHZFB.js +292 -0
  25. package/dist/chunk-2ACYHZFB.js.map +1 -0
  26. package/dist/chunk-2VORLN2R.js +353 -0
  27. package/dist/chunk-2VORLN2R.js.map +1 -0
  28. package/dist/{chunk-Y3MLSLB4.js → chunk-3SIZGL3O.js} +42 -30
  29. package/dist/chunk-3SIZGL3O.js.map +1 -0
  30. package/dist/chunk-46KLD2UH.js +186 -0
  31. package/dist/chunk-46KLD2UH.js.map +1 -0
  32. package/dist/chunk-4JGHSSB7.js +11 -0
  33. package/dist/chunk-4JGHSSB7.js.map +1 -0
  34. package/dist/{chunk-M5ZGRVIQ.js → chunk-5IXYF6XN.js} +14 -5
  35. package/dist/chunk-5IXYF6XN.js.map +1 -0
  36. package/dist/chunk-BCS7WHCK.js +139 -0
  37. package/dist/chunk-BCS7WHCK.js.map +1 -0
  38. package/dist/chunk-EK7NDGFR.js +128 -0
  39. package/dist/chunk-EK7NDGFR.js.map +1 -0
  40. package/dist/{chunk-5UDNP7AO.js → chunk-FZ6BXQHL.js} +78 -38
  41. package/dist/chunk-FZ6BXQHL.js.map +1 -0
  42. package/dist/{chunk-CM6BMECR.js → chunk-GRG7PHWQ.js} +2 -1
  43. package/dist/chunk-GRG7PHWQ.js.map +1 -0
  44. package/dist/chunk-KHHZTBP7.js +11 -0
  45. package/dist/chunk-KHHZTBP7.js.map +1 -0
  46. package/dist/chunk-KR2V42UZ.js +187 -0
  47. package/dist/chunk-KR2V42UZ.js.map +1 -0
  48. package/dist/chunk-MZLBPKFE.js +168 -0
  49. package/dist/chunk-MZLBPKFE.js.map +1 -0
  50. package/dist/{chunk-LW7OH6CS.js → chunk-NRMCVHAU.js} +6 -5
  51. package/dist/chunk-NRMCVHAU.js.map +1 -0
  52. package/dist/{chunk-TZ6YEYN4.js → chunk-NVJMJWLL.js} +3 -1
  53. package/dist/chunk-NVJMJWLL.js.map +1 -0
  54. package/dist/chunk-O77VSFYZ.js +70 -0
  55. package/dist/chunk-O77VSFYZ.js.map +1 -0
  56. package/dist/chunk-PX3VCKAU.js +29 -0
  57. package/dist/chunk-PX3VCKAU.js.map +1 -0
  58. package/dist/chunk-QR5D2IQC.js +61 -0
  59. package/dist/chunk-QR5D2IQC.js.map +1 -0
  60. package/dist/chunk-RJ76DRPO.js +117 -0
  61. package/dist/chunk-RJ76DRPO.js.map +1 -0
  62. package/dist/chunk-RKX3NQYS.js +28 -0
  63. package/dist/chunk-RKX3NQYS.js.map +1 -0
  64. package/dist/{chunk-JBCIY7QD.js → chunk-SIOU2K4U.js} +45 -22
  65. package/dist/chunk-SIOU2K4U.js.map +1 -0
  66. package/dist/chunk-TSCDAGET.js +75 -0
  67. package/dist/chunk-TSCDAGET.js.map +1 -0
  68. package/dist/{chunk-LSB7GRLG.js → chunk-TXTQIYCV.js} +15 -11
  69. package/dist/chunk-TXTQIYCV.js.map +1 -0
  70. package/dist/chunk-X7ETVO4P.js +26544 -0
  71. package/dist/chunk-X7ETVO4P.js.map +1 -0
  72. package/dist/{chunk-CADSX6UN.js → chunk-Y3KNXVTD.js} +2 -2
  73. package/dist/chunk-YBW5JSA3.js +251 -0
  74. package/dist/chunk-YBW5JSA3.js.map +1 -0
  75. package/dist/chunk-YRXAWWCU.js +45 -0
  76. package/dist/chunk-YRXAWWCU.js.map +1 -0
  77. package/dist/claude-provider-account-authority.d.ts +18 -0
  78. package/dist/claude-subscription-oauth.d.ts +42 -0
  79. package/dist/claude-subscription-usage.d.ts +159 -0
  80. package/dist/client-error-report.d.ts +109 -0
  81. package/dist/client-error-report.js +87 -0
  82. package/dist/client-error-report.js.map +1 -0
  83. package/dist/code-search.d.ts +52 -0
  84. package/dist/code-search.js +40 -0
  85. package/dist/code-search.js.map +1 -0
  86. package/dist/company-brain-governed-writes.d.ts +475 -0
  87. package/dist/company-brain.d.ts +336 -0
  88. package/dist/company-profile.d.ts +566 -0
  89. package/dist/connect.d.ts +325 -0
  90. package/dist/connect.js +191 -0
  91. package/dist/connect.js.map +1 -0
  92. package/dist/connection-account-label.d.ts +2 -0
  93. package/dist/connection-account-label.js +35 -0
  94. package/dist/connection-account-label.js.map +1 -0
  95. package/dist/connection-authority.d.ts +193 -0
  96. package/dist/connection-authority.js +50 -0
  97. package/dist/connection-authority.js.map +1 -0
  98. package/dist/connector-attachments.d.ts +95 -0
  99. package/dist/connector-attachments.js +51 -0
  100. package/dist/connector-attachments.js.map +1 -0
  101. package/dist/connector-tool-permissions.d.ts +73 -0
  102. package/dist/direct-model-provider.d.ts +36 -0
  103. package/dist/editable-artifact-codec-registry.d.ts +16 -7
  104. package/dist/editable-artifact-codec-registry.js +18 -8
  105. package/dist/editable-artifact-committed-transaction.d.ts +2 -2
  106. package/dist/editable-artifact-committed-transaction.js +2 -2
  107. package/dist/editable-artifact-live.d.ts +11 -12
  108. package/dist/editable-artifact-live.js +110 -45
  109. package/dist/editable-artifact-live.js.map +1 -1
  110. package/dist/editable-artifact-serialized-commit.d.ts +2 -1
  111. package/dist/editable-artifact-serialized-commit.js +8 -7
  112. package/dist/editable-artifact-versions.d.ts +20 -5
  113. package/dist/editable-artifact-versions.js +23 -5
  114. package/dist/editable-artifacts.d.ts +2 -0
  115. package/dist/editable-artifacts.js +47 -35
  116. package/dist/external-identities.d.ts +784 -0
  117. package/dist/external-identities.js +44 -0
  118. package/dist/external-identities.js.map +1 -0
  119. package/dist/feedback.d.ts +51 -0
  120. package/dist/github-repository-contracts.d.ts +36 -0
  121. package/dist/github-repository-contracts.js +59 -0
  122. package/dist/github-repository-contracts.js.map +1 -0
  123. package/dist/github-repository.d.ts +14 -0
  124. package/dist/github-repository.js +36 -0
  125. package/dist/github-repository.js.map +1 -0
  126. package/dist/google-drive.d.ts +90 -1
  127. package/dist/google-drive.js +90 -16
  128. package/dist/google-drive.js.map +1 -1
  129. package/dist/governed-learning-activation.d.ts +154 -0
  130. package/dist/governed-learning-evaluator.d.ts +152 -0
  131. package/dist/host-mcp-bindings.d.ts +326 -0
  132. package/dist/host-mcp-bindings.js +252 -0
  133. package/dist/host-mcp-bindings.js.map +1 -0
  134. package/dist/image-generation.d.ts +1 -0
  135. package/dist/index.d.ts +32396 -11386
  136. package/dist/index.js +2198 -164
  137. package/dist/insights-usage.d.ts +877 -0
  138. package/dist/insights-usage.js +509 -0
  139. package/dist/insights-usage.js.map +1 -0
  140. package/dist/interaction.d.ts +344 -0
  141. package/dist/knowledge-entries.d.ts +982 -0
  142. package/dist/knowledge-preparation.d.ts +237 -0
  143. package/dist/knowledge.d.ts +197 -0
  144. package/dist/managed-auth-session-sets.d.ts +241 -0
  145. package/dist/managed-auth-session-sets.js +191 -0
  146. package/dist/managed-auth-session-sets.js.map +1 -0
  147. package/dist/managed-sign-in-methods.d.ts +56 -0
  148. package/dist/managed-sign-in-methods.js +46 -0
  149. package/dist/managed-sign-in-methods.js.map +1 -0
  150. package/dist/mcp-catalog-limits.d.ts +2 -0
  151. package/dist/mcp-endpoint.d.ts +7 -0
  152. package/dist/mcp-endpoint.js +9 -0
  153. package/dist/mcp-endpoint.js.map +1 -0
  154. package/dist/mcp-oauth.d.ts +71 -0
  155. package/dist/modal-native-proof-v2.d.ts +587 -0
  156. package/dist/modal-native-proof-v2.js +37 -0
  157. package/dist/modal-native-proof-v2.js.map +1 -0
  158. package/dist/model-availability.d.ts +15 -0
  159. package/dist/model-connection-access.d.ts +24 -0
  160. package/dist/model-context-inspector.d.ts +329 -0
  161. package/dist/model-display.d.ts +38 -0
  162. package/dist/model-display.js +134 -0
  163. package/dist/model-display.js.map +1 -0
  164. package/dist/model-picker-order.d.ts +25 -0
  165. package/dist/model-picker-order.js +42 -0
  166. package/dist/model-picker-order.js.map +1 -0
  167. package/dist/organization-access.d.ts +231 -0
  168. package/dist/organization-access.js +34 -0
  169. package/dist/organization-access.js.map +1 -0
  170. package/dist/organization-integration-policy.d.ts +27 -0
  171. package/dist/organization-membership-lifecycle.d.ts +1022 -0
  172. package/dist/organization-model-usage.d.ts +146 -0
  173. package/dist/organization-model-usage.js +67 -0
  174. package/dist/organization-model-usage.js.map +1 -0
  175. package/dist/organization-recovery.d.ts +337 -0
  176. package/dist/organization-recovery.js +37 -0
  177. package/dist/organization-recovery.js.map +1 -0
  178. package/dist/organization-usage.d.ts +138 -0
  179. package/dist/permissions.d.ts +54 -0
  180. package/dist/personal-github.d.ts +320 -0
  181. package/dist/personal-github.js +222 -0
  182. package/dist/personal-github.js.map +1 -0
  183. package/dist/plugin-discovery.d.ts +35 -0
  184. package/dist/plugin-discovery.js +7 -0
  185. package/dist/plugin-discovery.js.map +1 -0
  186. package/dist/preference-registry.d.ts +44 -1
  187. package/dist/product-analytics.d.ts +113 -0
  188. package/dist/product-lifecycle-facts.d.ts +73 -0
  189. package/dist/remember.d.ts +350 -0
  190. package/dist/retained-output.d.ts +8 -0
  191. package/dist/sandbox-file-artifacts.d.ts +57 -0
  192. package/dist/sandbox-provider-command.d.ts +113 -0
  193. package/dist/sandbox-recovery.d.ts +146 -0
  194. package/dist/sandbox-snapshots.d.ts +39 -0
  195. package/dist/session-final-reply.d.ts +6 -0
  196. package/dist/session-final-reply.js +9 -0
  197. package/dist/session-final-reply.js.map +1 -0
  198. package/dist/session-goal-reports.d.ts +21 -0
  199. package/dist/session-history-import.d.ts +947 -0
  200. package/dist/session-list-entries.d.ts +4 -0
  201. package/dist/session-list-entries.js +51 -0
  202. package/dist/session-list-entries.js.map +1 -0
  203. package/dist/session-mcp-projections.d.ts +215 -0
  204. package/dist/session-message-search.d.ts +68 -0
  205. package/dist/session-titles.d.ts +68 -0
  206. package/dist/session-titles.js +25 -0
  207. package/dist/session-titles.js.map +1 -0
  208. package/dist/session-topology-primitives.d.ts +22 -0
  209. package/dist/signup-attribution.d.ts +39 -0
  210. package/dist/site-request-headers.test.d.ts +1 -0
  211. package/dist/site-session-http.d.ts +11 -0
  212. package/dist/site-session-http.js +11 -0
  213. package/dist/site-session-http.js.map +1 -0
  214. package/dist/skill-catalog-context.d.ts +7 -0
  215. package/dist/skill-files.d.ts +12 -0
  216. package/dist/skill-metadata.d.ts +9 -0
  217. package/dist/skill-use.d.ts +61 -0
  218. package/dist/skills.d.ts +185 -0
  219. package/dist/slack-bot-scopes.d.ts +46 -21
  220. package/dist/slack-bot-scopes.js +14 -3
  221. package/dist/slack-rest-mcp.d.ts +31 -0
  222. package/dist/slack-rest-mcp.js +19 -0
  223. package/dist/slack-rest-mcp.js.map +1 -0
  224. package/dist/spreadsheet-artifact-commands.d.ts +2 -3
  225. package/dist/spreadsheet-artifact-commands.js +4 -2
  226. package/dist/spreadsheet-artifact-query.js +3 -2
  227. package/dist/subscription-account-pools.d.ts +292 -0
  228. package/dist/task-notes.d.ts +42 -1
  229. package/dist/tool-catalog.d.ts +286 -0
  230. package/dist/tool-result-spill.d.ts +16 -0
  231. package/dist/usage-allowances.d.ts +285 -0
  232. package/dist/usage-allowances.js +49 -0
  233. package/dist/usage-allowances.js.map +1 -0
  234. package/dist/video-generation.d.ts +3 -0
  235. package/dist/video-generation.js +1 -1
  236. package/dist/work-claims.d.ts +411 -0
  237. package/dist/workspace-instruction-policies.d.ts +94 -0
  238. package/dist/workspace-integration-wire.d.ts +36 -0
  239. package/dist/workspace-integration-wire.js +23 -0
  240. package/dist/workspace-integration-wire.js.map +1 -0
  241. package/dist/workspace-integrations.d.ts +948 -0
  242. package/dist/workspace-learning-administration.d.ts +289 -0
  243. package/dist/workspace-learning-policy.d.ts +1 -1
  244. package/dist/workspace-state.d.ts +85 -416
  245. package/dist/xai-provider-account-authority.d.ts +3 -0
  246. package/dist/xai-provider-account-authority.js +1 -1
  247. package/package.json +134 -1
  248. package/src/agent-authored-durable-text.ts +116 -0
  249. package/src/agent-config.ts +1527 -0
  250. package/src/agent-instruction-changes.ts +98 -0
  251. package/src/agent-learning.ts +161 -0
  252. package/src/agent-topology.ts +69 -0
  253. package/src/allowance-refusal.ts +81 -0
  254. package/src/analytics-consent-report.ts +20 -0
  255. package/src/api-key-presets.ts +25 -0
  256. package/src/artifact-catalog.ts +60 -0
  257. package/src/artifacts.ts +146 -18
  258. package/src/atlassian-native-retirement.ts +33 -0
  259. package/src/browser-storage.ts +10 -0
  260. package/src/bundled-skills.ts +73 -0
  261. package/src/claude-provider-account-authority.ts +12 -0
  262. package/src/claude-subscription-oauth.ts +62 -0
  263. package/src/claude-subscription-usage.ts +59 -0
  264. package/src/client-error-report.ts +184 -0
  265. package/src/code-search.ts +105 -0
  266. package/src/company-brain-governed-writes.ts +356 -0
  267. package/src/company-brain.ts +201 -0
  268. package/src/company-profile.ts +167 -1
  269. package/src/connect.ts +202 -0
  270. package/src/connection-account-label.ts +46 -0
  271. package/src/connection-authority.ts +213 -0
  272. package/src/connector-attachments.ts +327 -0
  273. package/src/connector-tool-permissions.ts +60 -0
  274. package/src/direct-model-provider.ts +98 -0
  275. package/src/editable-artifact-codec-registry.ts +55 -17
  276. package/src/editable-artifact-committed-transaction.ts +44 -31
  277. package/src/editable-artifact-live.ts +123 -57
  278. package/src/editable-artifact-serialized-commit.ts +2 -1
  279. package/src/editable-artifact-versions.ts +26 -5
  280. package/src/editable-artifacts.ts +2 -0
  281. package/src/external-identities.ts +285 -0
  282. package/src/feedback.ts +39 -0
  283. package/src/github-repository-contracts.ts +85 -0
  284. package/src/github-repository.ts +59 -0
  285. package/src/google-drive.ts +76 -4
  286. package/src/governed-learning-activation.ts +191 -0
  287. package/src/governed-learning-evaluator.ts +176 -0
  288. package/src/host-mcp-bindings.ts +298 -0
  289. package/src/image-generation.ts +8 -2
  290. package/src/index.ts +7093 -1466
  291. package/src/insights-usage.ts +679 -0
  292. package/src/interaction.ts +220 -5
  293. package/src/knowledge-entries.ts +375 -0
  294. package/src/knowledge-preparation.ts +50 -0
  295. package/src/knowledge.ts +134 -6
  296. package/src/managed-auth-session-sets.ts +253 -0
  297. package/src/managed-sign-in-methods.ts +37 -0
  298. package/src/mcp-catalog-limits.ts +2 -0
  299. package/src/mcp-endpoint.ts +30 -0
  300. package/src/mcp-oauth.ts +66 -0
  301. package/src/modal-native-proof-v2.ts +398 -0
  302. package/src/model-availability.ts +22 -0
  303. package/src/model-connection-access.ts +17 -0
  304. package/src/model-context-inspector.ts +139 -0
  305. package/src/model-display.ts +195 -0
  306. package/src/model-picker-order.ts +97 -0
  307. package/src/organization-access.ts +176 -0
  308. package/src/organization-integration-policy.ts +54 -0
  309. package/src/organization-membership-lifecycle.ts +559 -0
  310. package/src/organization-model-usage.ts +72 -0
  311. package/src/organization-recovery.ts +186 -0
  312. package/src/organization-usage.ts +79 -0
  313. package/src/permissions.ts +58 -0
  314. package/src/personal-github.ts +267 -0
  315. package/src/plugin-discovery.ts +33 -0
  316. package/src/preference-registry.ts +20 -1
  317. package/src/product-analytics.ts +253 -0
  318. package/src/product-lifecycle-facts.ts +121 -0
  319. package/src/remember.ts +243 -0
  320. package/src/retained-output.ts +20 -3
  321. package/src/sandbox-file-artifacts.ts +73 -0
  322. package/src/sandbox-provider-command.ts +82 -0
  323. package/src/sandbox-recovery.ts +116 -0
  324. package/src/sandbox-snapshots.ts +142 -0
  325. package/src/session-final-reply.ts +16 -0
  326. package/src/session-goal-reports.ts +55 -0
  327. package/src/session-history-import.ts +159 -0
  328. package/src/session-list-entries.ts +91 -0
  329. package/src/session-mcp-projections.ts +273 -0
  330. package/src/session-message-search.ts +54 -0
  331. package/src/session-titles.ts +467 -0
  332. package/src/session-topology-primitives.ts +21 -0
  333. package/src/signup-attribution.ts +81 -0
  334. package/src/site-request-headers.test.ts +28 -0
  335. package/src/site-session-http.ts +63 -0
  336. package/src/skill-catalog-context.ts +50 -0
  337. package/src/skill-files.ts +52 -0
  338. package/src/skill-metadata.ts +40 -0
  339. package/src/skill-use.ts +77 -0
  340. package/src/skills.ts +136 -0
  341. package/src/slack-bot-scopes.ts +106 -42
  342. package/src/slack-rest-mcp.ts +194 -0
  343. package/src/spreadsheet-artifact-commands.ts +12 -13
  344. package/src/subscription-account-pools.ts +44 -0
  345. package/src/task-notes.ts +14 -1
  346. package/src/tool-catalog.ts +155 -0
  347. package/src/tool-result-spill.ts +35 -0
  348. package/src/usage-allowances.ts +187 -0
  349. package/src/work-claims.ts +266 -0
  350. package/src/workspace-instruction-policies.ts +31 -0
  351. package/src/workspace-integration-wire.ts +99 -0
  352. package/src/workspace-integrations.ts +640 -0
  353. package/src/workspace-learning-administration.ts +88 -0
  354. package/src/workspace-learning-policy.ts +4 -3
  355. package/src/workspace-state.ts +16 -126
  356. package/src/xai-provider-account-authority.ts +1 -0
  357. package/dist/chunk-5UDNP7AO.js.map +0 -1
  358. package/dist/chunk-BVGIYW7D.js +0 -11
  359. package/dist/chunk-BVGIYW7D.js.map +0 -1
  360. package/dist/chunk-CM6BMECR.js.map +0 -1
  361. package/dist/chunk-JBCIY7QD.js.map +0 -1
  362. package/dist/chunk-LSB7GRLG.js.map +0 -1
  363. package/dist/chunk-LW7OH6CS.js.map +0 -1
  364. package/dist/chunk-M5ZGRVIQ.js.map +0 -1
  365. package/dist/chunk-Q6A7XT2N.js +0 -16734
  366. package/dist/chunk-Q6A7XT2N.js.map +0 -1
  367. package/dist/chunk-TZ6YEYN4.js.map +0 -1
  368. package/dist/chunk-Y3MLSLB4.js.map +0 -1
  369. /package/dist/{chunk-CADSX6UN.js.map → chunk-Y3KNXVTD.js.map} +0 -0
@@ -37,12 +37,41 @@ export declare const CompanyProfileContent: z.ZodObject<{
37
37
  }, z.core.$strip>>;
38
38
  }, z.core.$strict>;
39
39
  export type CompanyProfileContent = z.infer<typeof CompanyProfileContent>;
40
+ /**
41
+ * The same profile, bounded for an **agent** author. The human `account:admin`
42
+ * route keeps `CompanyProfileContent` and its wider limits; this is the shape
43
+ * persisted by the first-party `company_profile_propose` tool. The current tool
44
+ * accepts only identity and mission and writes empty compatibility lists, but
45
+ * the validator must still read historical revisions without rewriting them.
46
+ */
47
+ export declare const AgentAuthoredCompanyProfileContent: z.ZodObject<{
48
+ identity: z.ZodNullable<z.ZodString>;
49
+ mission: z.ZodNullable<z.ZodString>;
50
+ products: z.ZodArray<z.ZodObject<{
51
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
52
+ content: z.ZodString;
53
+ }, z.core.$strip>>;
54
+ customers: z.ZodArray<z.ZodObject<{
55
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
56
+ content: z.ZodString;
57
+ }, z.core.$strip>>;
58
+ goals: z.ZodArray<z.ZodObject<{
59
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
60
+ content: z.ZodString;
61
+ }, z.core.$strip>>;
62
+ constraints: z.ZodArray<z.ZodObject<{
63
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
64
+ content: z.ZodString;
65
+ }, z.core.$strip>>;
66
+ }, z.core.$strict>;
67
+ export type AgentAuthoredCompanyProfileContent = z.infer<typeof AgentAuthoredCompanyProfileContent>;
40
68
  export declare const CompanyProfileRevisionIntent: z.ZodEnum<{
41
69
  active: "active";
42
70
  proposal: "proposal";
43
71
  }>;
44
72
  export type CompanyProfileRevisionIntent = z.infer<typeof CompanyProfileRevisionIntent>;
45
73
  export declare const CompanyProfileProvenanceSource: z.ZodEnum<{
74
+ agent_admin: "agent_admin";
46
75
  durable_learning: "durable_learning";
47
76
  human: "human";
48
77
  migration: "migration";
@@ -97,6 +126,7 @@ export declare const CompanyProfileRevision: z.ZodObject<{
97
126
  }, z.core.$strict>;
98
127
  provenance: z.ZodObject<{
99
128
  source: z.ZodEnum<{
129
+ agent_admin: "agent_admin";
100
130
  durable_learning: "durable_learning";
101
131
  human: "human";
102
132
  migration: "migration";
@@ -149,6 +179,7 @@ export declare const CompanyProfileSnapshotEntry: z.ZodObject<{
149
179
  activatedAt: z.ZodString;
150
180
  provenance: z.ZodObject<{
151
181
  source: z.ZodEnum<{
182
+ agent_admin: "agent_admin";
152
183
  durable_learning: "durable_learning";
153
184
  human: "human";
154
185
  migration: "migration";
@@ -173,6 +204,7 @@ export declare const CompanyProfileSnapshot: z.ZodObject<{
173
204
  activatedAt: z.ZodString;
174
205
  provenance: z.ZodObject<{
175
206
  source: z.ZodEnum<{
207
+ agent_admin: "agent_admin";
176
208
  durable_learning: "durable_learning";
177
209
  human: "human";
178
210
  migration: "migration";
@@ -202,6 +234,7 @@ export declare const ResolvedCompanyProfileSnapshot: z.ZodObject<{
202
234
  activatedAt: z.ZodString;
203
235
  provenance: z.ZodObject<{
204
236
  source: z.ZodEnum<{
237
+ agent_admin: "agent_admin";
205
238
  durable_learning: "durable_learning";
206
239
  human: "human";
207
240
  migration: "migration";
@@ -277,6 +310,7 @@ export declare const CompanyProfileListResponse: z.ZodObject<{
277
310
  }, z.core.$strict>;
278
311
  provenance: z.ZodObject<{
279
312
  source: z.ZodEnum<{
313
+ agent_admin: "agent_admin";
280
314
  durable_learning: "durable_learning";
281
315
  human: "human";
282
316
  migration: "migration";
@@ -319,6 +353,7 @@ export declare const CompanyProfileListResponse: z.ZodObject<{
319
353
  }, z.core.$strict>;
320
354
  provenance: z.ZodObject<{
321
355
  source: z.ZodEnum<{
356
+ agent_admin: "agent_admin";
322
357
  durable_learning: "durable_learning";
323
358
  human: "human";
324
359
  migration: "migration";
@@ -430,6 +465,7 @@ export declare const CompanyProfileMutationResponse: z.ZodObject<{
430
465
  }, z.core.$strict>;
431
466
  provenance: z.ZodObject<{
432
467
  source: z.ZodEnum<{
468
+ agent_admin: "agent_admin";
433
469
  durable_learning: "durable_learning";
434
470
  human: "human";
435
471
  migration: "migration";
@@ -473,6 +509,534 @@ export declare const CompanyProfileMutationResponse: z.ZodObject<{
473
509
  }, z.core.$strip>>;
474
510
  }, z.core.$strip>;
475
511
  export type CompanyProfileMutationResponse = z.infer<typeof CompanyProfileMutationResponse>;
512
+ export declare const COMPANY_PROFILE_AGENT_APPROVE_OPTION: "activate";
513
+ export declare const COMPANY_PROFILE_AGENT_REJECT_OPTION: "skip";
514
+ export declare const CompanyProfileAgentPolicyMode: z.ZodEnum<{
515
+ automatic: "automatic";
516
+ off: "off";
517
+ suggest: "suggest";
518
+ }>;
519
+ export type CompanyProfileAgentPolicyMode = z.infer<typeof CompanyProfileAgentPolicyMode>;
520
+ export declare const CompanyProfileAgentPolicy: z.ZodObject<{
521
+ organizationId: z.ZodString;
522
+ mode: z.ZodEnum<{
523
+ automatic: "automatic";
524
+ off: "off";
525
+ suggest: "suggest";
526
+ }>;
527
+ version: z.ZodNumber;
528
+ updatedAt: z.ZodString;
529
+ changed: z.ZodOptional<z.ZodBoolean>;
530
+ }, z.core.$strip>;
531
+ export type CompanyProfileAgentPolicy = z.infer<typeof CompanyProfileAgentPolicy>;
532
+ export declare const UpdateCompanyProfileAgentPolicyRequest: z.ZodObject<{
533
+ mode: z.ZodEnum<{
534
+ automatic: "automatic";
535
+ off: "off";
536
+ suggest: "suggest";
537
+ }>;
538
+ expectedVersion: z.ZodNumber;
539
+ operationId: z.ZodString;
540
+ }, z.core.$strict>;
541
+ export type UpdateCompanyProfileAgentPolicyRequest = z.infer<typeof UpdateCompanyProfileAgentPolicyRequest>;
542
+ export declare const CompanyProfileAgentAttempt: z.ZodObject<{
543
+ accountId: z.ZodString;
544
+ workspaceId: z.ZodString;
545
+ sessionId: z.ZodString;
546
+ turnId: z.ZodString;
547
+ attemptId: z.ZodString;
548
+ executionGeneration: z.ZodNumber;
549
+ agentSubjectId: z.ZodString;
550
+ }, z.core.$strict>;
551
+ export type CompanyProfileAgentAttempt = z.infer<typeof CompanyProfileAgentAttempt>;
552
+ export declare const CompanyProfileAgentProposalRequest: z.ZodObject<{
553
+ operationId: z.ZodString;
554
+ profile: z.ZodObject<{
555
+ identity: z.ZodNullable<z.ZodString>;
556
+ mission: z.ZodNullable<z.ZodString>;
557
+ products: z.ZodArray<z.ZodObject<{
558
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
559
+ content: z.ZodString;
560
+ }, z.core.$strip>>;
561
+ customers: z.ZodArray<z.ZodObject<{
562
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
563
+ content: z.ZodString;
564
+ }, z.core.$strip>>;
565
+ goals: z.ZodArray<z.ZodObject<{
566
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
567
+ content: z.ZodString;
568
+ }, z.core.$strip>>;
569
+ constraints: z.ZodArray<z.ZodObject<{
570
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
571
+ content: z.ZodString;
572
+ }, z.core.$strip>>;
573
+ }, z.core.$strict>;
574
+ reason: z.ZodString;
575
+ }, z.core.$strict>;
576
+ export type CompanyProfileAgentProposalRequest = z.infer<typeof CompanyProfileAgentProposalRequest>;
577
+ export declare const CompanyProfileAgentHumanInputPrompt: z.ZodObject<{
578
+ questions: z.ZodArray<z.ZodLazy<z.ZodObject<{
579
+ id: z.ZodString;
580
+ kind: z.ZodEnum<{
581
+ multi_select: "multi_select";
582
+ single_select: "single_select";
583
+ text: "text";
584
+ }>;
585
+ prompt: z.ZodString;
586
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
587
+ helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
588
+ skillReview: z.ZodOptional<z.ZodNullable<z.ZodObject<{
589
+ removalOperationId: z.ZodOptional<z.ZodUUID>;
590
+ sourceOperationId: z.ZodUUID;
591
+ skillId: z.ZodUUID;
592
+ revisionId: z.ZodUUID;
593
+ expectedRevisionId: z.ZodNullable<z.ZodUUID>;
594
+ expectedScopeVersion: z.ZodNumber;
595
+ }, z.core.$strip>>>;
596
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
597
+ id: z.ZodString;
598
+ label: z.ZodString;
599
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
600
+ }, z.core.$strip>>>;
601
+ required: z.ZodDefault<z.ZodBoolean>;
602
+ allowOther: z.ZodDefault<z.ZodBoolean>;
603
+ validation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
604
+ minSelections: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
605
+ maxSelections: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
606
+ }, z.core.$strip>>>;
607
+ }, z.core.$strip>>>;
608
+ allowSkip: z.ZodLiteral<false>;
609
+ }, z.core.$strip>;
610
+ export type CompanyProfileAgentHumanInputPrompt = z.infer<typeof CompanyProfileAgentHumanInputPrompt>;
611
+ export declare const CompanyProfileAgentReviewRequiredReceipt: z.ZodObject<{
612
+ status: z.ZodLiteral<"confirmation_required">;
613
+ operationId: z.ZodString;
614
+ proposalReceiptId: z.ZodString;
615
+ revision: z.ZodObject<{
616
+ id: z.ZodString;
617
+ revision: z.ZodNumber;
618
+ contentHash: z.ZodString;
619
+ operationId: z.ZodString;
620
+ accountId: z.ZodString;
621
+ intent: z.ZodEnum<{
622
+ active: "active";
623
+ proposal: "proposal";
624
+ }>;
625
+ profile: z.ZodObject<{
626
+ identity: z.ZodNullable<z.ZodString>;
627
+ mission: z.ZodNullable<z.ZodString>;
628
+ products: z.ZodArray<z.ZodObject<{
629
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
630
+ content: z.ZodString;
631
+ }, z.core.$strip>>;
632
+ customers: z.ZodArray<z.ZodObject<{
633
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
634
+ content: z.ZodString;
635
+ }, z.core.$strip>>;
636
+ goals: z.ZodArray<z.ZodObject<{
637
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
638
+ content: z.ZodString;
639
+ }, z.core.$strip>>;
640
+ constraints: z.ZodArray<z.ZodObject<{
641
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
642
+ content: z.ZodString;
643
+ }, z.core.$strip>>;
644
+ }, z.core.$strict>;
645
+ provenance: z.ZodObject<{
646
+ source: z.ZodEnum<{
647
+ agent_admin: "agent_admin";
648
+ durable_learning: "durable_learning";
649
+ human: "human";
650
+ migration: "migration";
651
+ }>;
652
+ sourceId: z.ZodNullable<z.ZodString>;
653
+ }, z.core.$strip>;
654
+ supersedesRevisionId: z.ZodNullable<z.ZodString>;
655
+ createdBySubjectId: z.ZodString;
656
+ createdAt: z.ZodString;
657
+ }, z.core.$strip>;
658
+ policyMode: z.ZodLiteral<"suggest">;
659
+ humanInput: z.ZodObject<{
660
+ questions: z.ZodArray<z.ZodLazy<z.ZodObject<{
661
+ id: z.ZodString;
662
+ kind: z.ZodEnum<{
663
+ multi_select: "multi_select";
664
+ single_select: "single_select";
665
+ text: "text";
666
+ }>;
667
+ prompt: z.ZodString;
668
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
669
+ helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
670
+ skillReview: z.ZodOptional<z.ZodNullable<z.ZodObject<{
671
+ removalOperationId: z.ZodOptional<z.ZodUUID>;
672
+ sourceOperationId: z.ZodUUID;
673
+ skillId: z.ZodUUID;
674
+ revisionId: z.ZodUUID;
675
+ expectedRevisionId: z.ZodNullable<z.ZodUUID>;
676
+ expectedScopeVersion: z.ZodNumber;
677
+ }, z.core.$strip>>>;
678
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
679
+ id: z.ZodString;
680
+ label: z.ZodString;
681
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
682
+ }, z.core.$strip>>>;
683
+ required: z.ZodDefault<z.ZodBoolean>;
684
+ allowOther: z.ZodDefault<z.ZodBoolean>;
685
+ validation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
686
+ minSelections: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
687
+ maxSelections: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
688
+ }, z.core.$strip>>>;
689
+ }, z.core.$strip>>>;
690
+ allowSkip: z.ZodLiteral<false>;
691
+ }, z.core.$strip>;
692
+ confirmWith: z.ZodLiteral<"company_profile_confirm">;
693
+ replayed: z.ZodBoolean;
694
+ }, z.core.$strip>;
695
+ export type CompanyProfileAgentReviewRequiredReceipt = z.infer<typeof CompanyProfileAgentReviewRequiredReceipt>;
696
+ export declare const CompanyProfileAgentAutomaticActivationReceipt: z.ZodObject<{
697
+ status: z.ZodLiteral<"activated">;
698
+ operationId: z.ZodString;
699
+ proposalReceiptId: z.ZodString;
700
+ automaticActivationReceiptId: z.ZodString;
701
+ policyMode: z.ZodLiteral<"automatic">;
702
+ mutation: z.ZodObject<{
703
+ revision: z.ZodNullable<z.ZodObject<{
704
+ id: z.ZodString;
705
+ revision: z.ZodNumber;
706
+ contentHash: z.ZodString;
707
+ operationId: z.ZodString;
708
+ accountId: z.ZodString;
709
+ intent: z.ZodEnum<{
710
+ active: "active";
711
+ proposal: "proposal";
712
+ }>;
713
+ profile: z.ZodObject<{
714
+ identity: z.ZodNullable<z.ZodString>;
715
+ mission: z.ZodNullable<z.ZodString>;
716
+ products: z.ZodArray<z.ZodObject<{
717
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
718
+ content: z.ZodString;
719
+ }, z.core.$strip>>;
720
+ customers: z.ZodArray<z.ZodObject<{
721
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
722
+ content: z.ZodString;
723
+ }, z.core.$strip>>;
724
+ goals: z.ZodArray<z.ZodObject<{
725
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
726
+ content: z.ZodString;
727
+ }, z.core.$strip>>;
728
+ constraints: z.ZodArray<z.ZodObject<{
729
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
730
+ content: z.ZodString;
731
+ }, z.core.$strip>>;
732
+ }, z.core.$strict>;
733
+ provenance: z.ZodObject<{
734
+ source: z.ZodEnum<{
735
+ agent_admin: "agent_admin";
736
+ durable_learning: "durable_learning";
737
+ human: "human";
738
+ migration: "migration";
739
+ }>;
740
+ sourceId: z.ZodNullable<z.ZodString>;
741
+ }, z.core.$strip>;
742
+ supersedesRevisionId: z.ZodNullable<z.ZodString>;
743
+ createdBySubjectId: z.ZodString;
744
+ createdAt: z.ZodString;
745
+ }, z.core.$strip>>;
746
+ head: z.ZodNullable<z.ZodObject<{
747
+ accountId: z.ZodString;
748
+ revisionId: z.ZodString;
749
+ revision: z.ZodNumber;
750
+ contentHash: z.ZodString;
751
+ activationVersion: z.ZodNumber;
752
+ activatedAt: z.ZodString;
753
+ }, z.core.$strip>>;
754
+ event: z.ZodNullable<z.ZodObject<{
755
+ id: z.ZodString;
756
+ operationId: z.ZodString;
757
+ accountId: z.ZodString;
758
+ type: z.ZodEnum<{
759
+ activate: "activate";
760
+ rollback: "rollback";
761
+ }>;
762
+ activationVersion: z.ZodNumber;
763
+ oldRevision: z.ZodNullable<z.ZodObject<{
764
+ id: z.ZodString;
765
+ revision: z.ZodNumber;
766
+ contentHash: z.ZodString;
767
+ }, z.core.$strip>>;
768
+ newRevision: z.ZodNullable<z.ZodObject<{
769
+ id: z.ZodString;
770
+ revision: z.ZodNumber;
771
+ contentHash: z.ZodString;
772
+ }, z.core.$strip>>;
773
+ actorSubjectId: z.ZodString;
774
+ reason: z.ZodString;
775
+ createdAt: z.ZodString;
776
+ }, z.core.$strip>>;
777
+ }, z.core.$strip>;
778
+ replayed: z.ZodBoolean;
779
+ }, z.core.$strip>;
780
+ export type CompanyProfileAgentAutomaticActivationReceipt = z.infer<typeof CompanyProfileAgentAutomaticActivationReceipt>;
781
+ export declare const CompanyProfileAgentProposalReceipt: z.ZodDiscriminatedUnion<[z.ZodObject<{
782
+ status: z.ZodLiteral<"confirmation_required">;
783
+ operationId: z.ZodString;
784
+ proposalReceiptId: z.ZodString;
785
+ revision: z.ZodObject<{
786
+ id: z.ZodString;
787
+ revision: z.ZodNumber;
788
+ contentHash: z.ZodString;
789
+ operationId: z.ZodString;
790
+ accountId: z.ZodString;
791
+ intent: z.ZodEnum<{
792
+ active: "active";
793
+ proposal: "proposal";
794
+ }>;
795
+ profile: z.ZodObject<{
796
+ identity: z.ZodNullable<z.ZodString>;
797
+ mission: z.ZodNullable<z.ZodString>;
798
+ products: z.ZodArray<z.ZodObject<{
799
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
800
+ content: z.ZodString;
801
+ }, z.core.$strip>>;
802
+ customers: z.ZodArray<z.ZodObject<{
803
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
804
+ content: z.ZodString;
805
+ }, z.core.$strip>>;
806
+ goals: z.ZodArray<z.ZodObject<{
807
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
808
+ content: z.ZodString;
809
+ }, z.core.$strip>>;
810
+ constraints: z.ZodArray<z.ZodObject<{
811
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
812
+ content: z.ZodString;
813
+ }, z.core.$strip>>;
814
+ }, z.core.$strict>;
815
+ provenance: z.ZodObject<{
816
+ source: z.ZodEnum<{
817
+ agent_admin: "agent_admin";
818
+ durable_learning: "durable_learning";
819
+ human: "human";
820
+ migration: "migration";
821
+ }>;
822
+ sourceId: z.ZodNullable<z.ZodString>;
823
+ }, z.core.$strip>;
824
+ supersedesRevisionId: z.ZodNullable<z.ZodString>;
825
+ createdBySubjectId: z.ZodString;
826
+ createdAt: z.ZodString;
827
+ }, z.core.$strip>;
828
+ policyMode: z.ZodLiteral<"suggest">;
829
+ humanInput: z.ZodObject<{
830
+ questions: z.ZodArray<z.ZodLazy<z.ZodObject<{
831
+ id: z.ZodString;
832
+ kind: z.ZodEnum<{
833
+ multi_select: "multi_select";
834
+ single_select: "single_select";
835
+ text: "text";
836
+ }>;
837
+ prompt: z.ZodString;
838
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
839
+ helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
840
+ skillReview: z.ZodOptional<z.ZodNullable<z.ZodObject<{
841
+ removalOperationId: z.ZodOptional<z.ZodUUID>;
842
+ sourceOperationId: z.ZodUUID;
843
+ skillId: z.ZodUUID;
844
+ revisionId: z.ZodUUID;
845
+ expectedRevisionId: z.ZodNullable<z.ZodUUID>;
846
+ expectedScopeVersion: z.ZodNumber;
847
+ }, z.core.$strip>>>;
848
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
849
+ id: z.ZodString;
850
+ label: z.ZodString;
851
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
852
+ }, z.core.$strip>>>;
853
+ required: z.ZodDefault<z.ZodBoolean>;
854
+ allowOther: z.ZodDefault<z.ZodBoolean>;
855
+ validation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
856
+ minSelections: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
857
+ maxSelections: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
858
+ }, z.core.$strip>>>;
859
+ }, z.core.$strip>>>;
860
+ allowSkip: z.ZodLiteral<false>;
861
+ }, z.core.$strip>;
862
+ confirmWith: z.ZodLiteral<"company_profile_confirm">;
863
+ replayed: z.ZodBoolean;
864
+ }, z.core.$strip>, z.ZodObject<{
865
+ status: z.ZodLiteral<"activated">;
866
+ operationId: z.ZodString;
867
+ proposalReceiptId: z.ZodString;
868
+ automaticActivationReceiptId: z.ZodString;
869
+ policyMode: z.ZodLiteral<"automatic">;
870
+ mutation: z.ZodObject<{
871
+ revision: z.ZodNullable<z.ZodObject<{
872
+ id: z.ZodString;
873
+ revision: z.ZodNumber;
874
+ contentHash: z.ZodString;
875
+ operationId: z.ZodString;
876
+ accountId: z.ZodString;
877
+ intent: z.ZodEnum<{
878
+ active: "active";
879
+ proposal: "proposal";
880
+ }>;
881
+ profile: z.ZodObject<{
882
+ identity: z.ZodNullable<z.ZodString>;
883
+ mission: z.ZodNullable<z.ZodString>;
884
+ products: z.ZodArray<z.ZodObject<{
885
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
886
+ content: z.ZodString;
887
+ }, z.core.$strip>>;
888
+ customers: z.ZodArray<z.ZodObject<{
889
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
890
+ content: z.ZodString;
891
+ }, z.core.$strip>>;
892
+ goals: z.ZodArray<z.ZodObject<{
893
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
894
+ content: z.ZodString;
895
+ }, z.core.$strip>>;
896
+ constraints: z.ZodArray<z.ZodObject<{
897
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
898
+ content: z.ZodString;
899
+ }, z.core.$strip>>;
900
+ }, z.core.$strict>;
901
+ provenance: z.ZodObject<{
902
+ source: z.ZodEnum<{
903
+ agent_admin: "agent_admin";
904
+ durable_learning: "durable_learning";
905
+ human: "human";
906
+ migration: "migration";
907
+ }>;
908
+ sourceId: z.ZodNullable<z.ZodString>;
909
+ }, z.core.$strip>;
910
+ supersedesRevisionId: z.ZodNullable<z.ZodString>;
911
+ createdBySubjectId: z.ZodString;
912
+ createdAt: z.ZodString;
913
+ }, z.core.$strip>>;
914
+ head: z.ZodNullable<z.ZodObject<{
915
+ accountId: z.ZodString;
916
+ revisionId: z.ZodString;
917
+ revision: z.ZodNumber;
918
+ contentHash: z.ZodString;
919
+ activationVersion: z.ZodNumber;
920
+ activatedAt: z.ZodString;
921
+ }, z.core.$strip>>;
922
+ event: z.ZodNullable<z.ZodObject<{
923
+ id: z.ZodString;
924
+ operationId: z.ZodString;
925
+ accountId: z.ZodString;
926
+ type: z.ZodEnum<{
927
+ activate: "activate";
928
+ rollback: "rollback";
929
+ }>;
930
+ activationVersion: z.ZodNumber;
931
+ oldRevision: z.ZodNullable<z.ZodObject<{
932
+ id: z.ZodString;
933
+ revision: z.ZodNumber;
934
+ contentHash: z.ZodString;
935
+ }, z.core.$strip>>;
936
+ newRevision: z.ZodNullable<z.ZodObject<{
937
+ id: z.ZodString;
938
+ revision: z.ZodNumber;
939
+ contentHash: z.ZodString;
940
+ }, z.core.$strip>>;
941
+ actorSubjectId: z.ZodString;
942
+ reason: z.ZodString;
943
+ createdAt: z.ZodString;
944
+ }, z.core.$strip>>;
945
+ }, z.core.$strip>;
946
+ replayed: z.ZodBoolean;
947
+ }, z.core.$strip>], "status">;
948
+ export type CompanyProfileAgentProposalReceipt = z.infer<typeof CompanyProfileAgentProposalReceipt>;
949
+ export declare const CompanyProfileAgentConfirmRequest: z.ZodObject<{
950
+ operationId: z.ZodString;
951
+ proposalReceiptId: z.ZodString;
952
+ humanInputRequestId: z.ZodString;
953
+ }, z.core.$strict>;
954
+ export type CompanyProfileAgentConfirmRequest = z.infer<typeof CompanyProfileAgentConfirmRequest>;
955
+ export declare const CompanyProfileAgentConfirmationReceipt: z.ZodObject<{
956
+ status: z.ZodLiteral<"activated">;
957
+ operationId: z.ZodString;
958
+ confirmationReceiptId: z.ZodString;
959
+ proposalReceiptId: z.ZodString;
960
+ humanInputRequestId: z.ZodString;
961
+ mutation: z.ZodObject<{
962
+ revision: z.ZodNullable<z.ZodObject<{
963
+ id: z.ZodString;
964
+ revision: z.ZodNumber;
965
+ contentHash: z.ZodString;
966
+ operationId: z.ZodString;
967
+ accountId: z.ZodString;
968
+ intent: z.ZodEnum<{
969
+ active: "active";
970
+ proposal: "proposal";
971
+ }>;
972
+ profile: z.ZodObject<{
973
+ identity: z.ZodNullable<z.ZodString>;
974
+ mission: z.ZodNullable<z.ZodString>;
975
+ products: z.ZodArray<z.ZodObject<{
976
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
977
+ content: z.ZodString;
978
+ }, z.core.$strip>>;
979
+ customers: z.ZodArray<z.ZodObject<{
980
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
981
+ content: z.ZodString;
982
+ }, z.core.$strip>>;
983
+ goals: z.ZodArray<z.ZodObject<{
984
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
985
+ content: z.ZodString;
986
+ }, z.core.$strip>>;
987
+ constraints: z.ZodArray<z.ZodObject<{
988
+ key: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
989
+ content: z.ZodString;
990
+ }, z.core.$strip>>;
991
+ }, z.core.$strict>;
992
+ provenance: z.ZodObject<{
993
+ source: z.ZodEnum<{
994
+ agent_admin: "agent_admin";
995
+ durable_learning: "durable_learning";
996
+ human: "human";
997
+ migration: "migration";
998
+ }>;
999
+ sourceId: z.ZodNullable<z.ZodString>;
1000
+ }, z.core.$strip>;
1001
+ supersedesRevisionId: z.ZodNullable<z.ZodString>;
1002
+ createdBySubjectId: z.ZodString;
1003
+ createdAt: z.ZodString;
1004
+ }, z.core.$strip>>;
1005
+ head: z.ZodNullable<z.ZodObject<{
1006
+ accountId: z.ZodString;
1007
+ revisionId: z.ZodString;
1008
+ revision: z.ZodNumber;
1009
+ contentHash: z.ZodString;
1010
+ activationVersion: z.ZodNumber;
1011
+ activatedAt: z.ZodString;
1012
+ }, z.core.$strip>>;
1013
+ event: z.ZodNullable<z.ZodObject<{
1014
+ id: z.ZodString;
1015
+ operationId: z.ZodString;
1016
+ accountId: z.ZodString;
1017
+ type: z.ZodEnum<{
1018
+ activate: "activate";
1019
+ rollback: "rollback";
1020
+ }>;
1021
+ activationVersion: z.ZodNumber;
1022
+ oldRevision: z.ZodNullable<z.ZodObject<{
1023
+ id: z.ZodString;
1024
+ revision: z.ZodNumber;
1025
+ contentHash: z.ZodString;
1026
+ }, z.core.$strip>>;
1027
+ newRevision: z.ZodNullable<z.ZodObject<{
1028
+ id: z.ZodString;
1029
+ revision: z.ZodNumber;
1030
+ contentHash: z.ZodString;
1031
+ }, z.core.$strip>>;
1032
+ actorSubjectId: z.ZodString;
1033
+ reason: z.ZodString;
1034
+ createdAt: z.ZodString;
1035
+ }, z.core.$strip>>;
1036
+ }, z.core.$strip>;
1037
+ replayed: z.ZodBoolean;
1038
+ }, z.core.$strip>;
1039
+ export type CompanyProfileAgentConfirmationReceipt = z.infer<typeof CompanyProfileAgentConfirmationReceipt>;
476
1040
  export declare const CompanyProfileDiffRequest: z.ZodObject<{
477
1041
  fromRevisionId: z.ZodString;
478
1042
  toRevisionId: z.ZodString;
@@ -511,6 +1075,7 @@ export declare const CompanyProfileDiffResponse: z.ZodObject<{
511
1075
  }, z.core.$strict>;
512
1076
  provenance: z.ZodObject<{
513
1077
  source: z.ZodEnum<{
1078
+ agent_admin: "agent_admin";
514
1079
  durable_learning: "durable_learning";
515
1080
  human: "human";
516
1081
  migration: "migration";
@@ -553,6 +1118,7 @@ export declare const CompanyProfileDiffResponse: z.ZodObject<{
553
1118
  }, z.core.$strict>;
554
1119
  provenance: z.ZodObject<{
555
1120
  source: z.ZodEnum<{
1121
+ agent_admin: "agent_admin";
556
1122
  durable_learning: "durable_learning";
557
1123
  human: "human";
558
1124
  migration: "migration";