@sourcey/catalog-verifier 1.1.4 → 1.1.5

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 (492) hide show
  1. package/SBOM.cdx.json +16 -16
  2. package/SOURCEY-CLOSURE.json +572 -588
  3. package/SOURCEY-DISTRIBUTION.json +1 -1
  4. package/THIRD_PARTY_NOTICES.json +6 -6
  5. package/dist/contracts/agent-readiness/src/authority.d.ts +51 -0
  6. package/dist/contracts/agent-readiness/src/authority.d.ts.map +1 -0
  7. package/dist/contracts/agent-readiness/src/authority.js +36 -0
  8. package/dist/contracts/agent-readiness/src/authority.js.map +1 -0
  9. package/dist/contracts/agent-readiness/src/binding.d.ts +600 -0
  10. package/dist/contracts/agent-readiness/src/binding.d.ts.map +1 -0
  11. package/dist/contracts/agent-readiness/src/binding.js +466 -0
  12. package/dist/contracts/agent-readiness/src/binding.js.map +1 -0
  13. package/dist/contracts/agent-readiness/src/declaration-acquisition.d.ts +484 -202
  14. package/dist/contracts/agent-readiness/src/declaration-acquisition.d.ts.map +1 -1
  15. package/dist/contracts/agent-readiness/src/declaration-acquisition.js +13 -11
  16. package/dist/contracts/agent-readiness/src/declaration-acquisition.js.map +1 -1
  17. package/dist/contracts/agent-readiness/src/declaration-reference.d.ts +4 -7
  18. package/dist/contracts/agent-readiness/src/declaration-reference.d.ts.map +1 -1
  19. package/dist/contracts/agent-readiness/src/declaration-reference.js +3 -6
  20. package/dist/contracts/agent-readiness/src/declaration-reference.js.map +1 -1
  21. package/dist/contracts/agent-readiness/src/declaration.d.ts +1930 -334
  22. package/dist/contracts/agent-readiness/src/declaration.d.ts.map +1 -1
  23. package/dist/contracts/agent-readiness/src/declaration.js +73 -78
  24. package/dist/contracts/agent-readiness/src/declaration.js.map +1 -1
  25. package/dist/contracts/agent-readiness/src/index.d.ts +3532 -4849
  26. package/dist/contracts/agent-readiness/src/index.d.ts.map +1 -1
  27. package/dist/contracts/agent-readiness/src/index.js +228 -949
  28. package/dist/contracts/agent-readiness/src/index.js.map +1 -1
  29. package/dist/contracts/agent-readiness/src/jobs.d.ts +199 -0
  30. package/dist/contracts/agent-readiness/src/jobs.d.ts.map +1 -0
  31. package/dist/contracts/agent-readiness/src/jobs.js +125 -0
  32. package/dist/contracts/agent-readiness/src/jobs.js.map +1 -0
  33. package/dist/contracts/agent-readiness/src/operate-policy.d.ts +251 -0
  34. package/dist/contracts/agent-readiness/src/operate-policy.d.ts.map +1 -0
  35. package/dist/contracts/agent-readiness/src/operate-policy.js +86 -0
  36. package/dist/contracts/agent-readiness/src/operate-policy.js.map +1 -0
  37. package/dist/contracts/agent-readiness/src/run.d.ts +485 -0
  38. package/dist/contracts/agent-readiness/src/run.d.ts.map +1 -0
  39. package/dist/contracts/agent-readiness/src/run.js +308 -0
  40. package/dist/contracts/agent-readiness/src/run.js.map +1 -0
  41. package/dist/contracts/agent-readiness/src/shared.d.ts +53 -62
  42. package/dist/contracts/agent-readiness/src/shared.d.ts.map +1 -1
  43. package/dist/contracts/agent-readiness/src/shared.js +51 -85
  44. package/dist/contracts/agent-readiness/src/shared.js.map +1 -1
  45. package/dist/contracts/api/src/index.d.ts +13861 -14913
  46. package/dist/contracts/api/src/index.d.ts.map +1 -1
  47. package/dist/contracts/api/src/index.js +93 -80
  48. package/dist/contracts/api/src/index.js.map +1 -1
  49. package/dist/contracts/artifact/src/index.d.ts +135 -71
  50. package/dist/contracts/artifact/src/index.d.ts.map +1 -1
  51. package/dist/contracts/artifact/src/index.js +16 -12
  52. package/dist/contracts/artifact/src/index.js.map +1 -1
  53. package/dist/contracts/assets/src/index.d.ts +0 -129
  54. package/dist/contracts/assets/src/index.d.ts.map +1 -1
  55. package/dist/contracts/assets/src/index.js +4 -4
  56. package/dist/contracts/assets/src/index.js.map +1 -1
  57. package/dist/contracts/assurance/src/index.d.ts +0 -1
  58. package/dist/contracts/assurance/src/index.d.ts.map +1 -1
  59. package/dist/contracts/authoring/src/index.d.ts +48 -247
  60. package/dist/contracts/authoring/src/index.d.ts.map +1 -1
  61. package/dist/contracts/authoring/src/index.js +4 -7
  62. package/dist/contracts/authoring/src/index.js.map +1 -1
  63. package/dist/contracts/authority/src/index.d.ts +0 -3
  64. package/dist/contracts/authority/src/index.d.ts.map +1 -1
  65. package/dist/contracts/authority/src/index.js +1 -2
  66. package/dist/contracts/authority/src/index.js.map +1 -1
  67. package/dist/contracts/billing/src/index.d.ts +0 -124
  68. package/dist/contracts/billing/src/index.d.ts.map +1 -1
  69. package/dist/contracts/billing/src/index.js +2 -58
  70. package/dist/contracts/billing/src/index.js.map +1 -1
  71. package/dist/contracts/catalog-verifier/src/index.d.ts +0 -3
  72. package/dist/contracts/catalog-verifier/src/index.d.ts.map +1 -1
  73. package/dist/contracts/company-authoring/src/index.d.ts +72 -0
  74. package/dist/contracts/company-authoring/src/index.d.ts.map +1 -0
  75. package/dist/contracts/company-authoring/src/index.js +41 -0
  76. package/dist/contracts/company-authoring/src/index.js.map +1 -0
  77. package/dist/contracts/company-standing/src/index.d.ts +106 -0
  78. package/dist/contracts/company-standing/src/index.d.ts.map +1 -0
  79. package/dist/contracts/company-standing/src/index.js +114 -0
  80. package/dist/contracts/company-standing/src/index.js.map +1 -0
  81. package/dist/contracts/company-verification/src/index.d.ts +94 -0
  82. package/dist/contracts/company-verification/src/index.d.ts.map +1 -0
  83. package/dist/contracts/company-verification/src/index.js +138 -0
  84. package/dist/contracts/company-verification/src/index.js.map +1 -0
  85. package/dist/contracts/datasets/src/index.d.ts +80 -129
  86. package/dist/contracts/datasets/src/index.d.ts.map +1 -1
  87. package/dist/contracts/events/src/index.d.ts +41 -5
  88. package/dist/contracts/events/src/index.d.ts.map +1 -1
  89. package/dist/contracts/events/src/index.js +51 -12
  90. package/dist/contracts/events/src/index.js.map +1 -1
  91. package/dist/contracts/evidence/src/index.d.ts +6 -291
  92. package/dist/contracts/evidence/src/index.d.ts.map +1 -1
  93. package/dist/contracts/evidence/src/index.js +12 -99
  94. package/dist/contracts/evidence/src/index.js.map +1 -1
  95. package/dist/contracts/feed/src/index.d.ts +0 -3
  96. package/dist/contracts/feed/src/index.d.ts.map +1 -1
  97. package/dist/contracts/observations/src/index.d.ts +0 -1
  98. package/dist/contracts/observations/src/index.d.ts.map +1 -1
  99. package/dist/contracts/observations/src/index.js +1 -4
  100. package/dist/contracts/observations/src/index.js.map +1 -1
  101. package/dist/contracts/policies/src/index.d.ts +0 -13
  102. package/dist/contracts/policies/src/index.d.ts.map +1 -1
  103. package/dist/contracts/policies/src/index.js +3 -2
  104. package/dist/contracts/policies/src/index.js.map +1 -1
  105. package/dist/contracts/publication/src/index.d.ts +282 -1285
  106. package/dist/contracts/publication/src/index.d.ts.map +1 -1
  107. package/dist/contracts/publication/src/index.js +22 -162
  108. package/dist/contracts/publication/src/index.js.map +1 -1
  109. package/dist/contracts/release/src/index.d.ts +120 -21
  110. package/dist/contracts/release/src/index.d.ts.map +1 -1
  111. package/dist/contracts/release/src/index.js +14 -2
  112. package/dist/contracts/release/src/index.js.map +1 -1
  113. package/dist/contracts/revisions/src/index.d.ts +107 -69
  114. package/dist/contracts/revisions/src/index.d.ts.map +1 -1
  115. package/dist/contracts/revisions/src/index.js +26 -8
  116. package/dist/contracts/revisions/src/index.js.map +1 -1
  117. package/dist/contracts/routes/src/index.d.ts +1 -17
  118. package/dist/contracts/routes/src/index.d.ts.map +1 -1
  119. package/dist/contracts/routes/src/index.js +7 -7
  120. package/dist/contracts/routes/src/index.js.map +1 -1
  121. package/dist/contracts/sourcey-publication/src/ownership.d.ts.map +1 -1
  122. package/dist/contracts/sourcey-publication/src/ownership.js +3 -1
  123. package/dist/contracts/sourcey-publication/src/ownership.js.map +1 -1
  124. package/dist/contracts/standards/src/index.d.ts +0 -1552
  125. package/dist/contracts/standards/src/index.d.ts.map +1 -1
  126. package/dist/contracts/standards/src/index.js +1 -723
  127. package/dist/contracts/standards/src/index.js.map +1 -1
  128. package/dist/contracts/startup-credits-commercial/src/index.d.ts +53 -382
  129. package/dist/contracts/startup-credits-commercial/src/index.d.ts.map +1 -1
  130. package/dist/contracts/startup-credits-commercial/src/index.js +30 -267
  131. package/dist/contracts/startup-credits-commercial/src/index.js.map +1 -1
  132. package/dist/modules/agent-readiness-engine/src/assertions.d.ts +24 -0
  133. package/dist/modules/agent-readiness-engine/src/assertions.d.ts.map +1 -0
  134. package/dist/modules/agent-readiness-engine/src/assertions.js +145 -0
  135. package/dist/modules/agent-readiness-engine/src/assertions.js.map +1 -0
  136. package/dist/modules/agent-readiness-engine/src/binding.d.ts +12 -0
  137. package/dist/modules/agent-readiness-engine/src/binding.d.ts.map +1 -0
  138. package/dist/modules/agent-readiness-engine/src/binding.js +104 -0
  139. package/dist/modules/agent-readiness-engine/src/binding.js.map +1 -0
  140. package/dist/modules/agent-readiness-engine/src/checks.d.ts +57 -0
  141. package/dist/modules/agent-readiness-engine/src/checks.d.ts.map +1 -0
  142. package/dist/modules/agent-readiness-engine/src/checks.js +126 -0
  143. package/dist/modules/agent-readiness-engine/src/checks.js.map +1 -0
  144. package/dist/modules/agent-readiness-engine/src/path.d.ts +24 -0
  145. package/dist/modules/agent-readiness-engine/src/path.d.ts.map +1 -0
  146. package/dist/modules/agent-readiness-engine/src/path.js +308 -0
  147. package/dist/modules/agent-readiness-engine/src/path.js.map +1 -0
  148. package/dist/modules/agent-readiness-engine/src/rate.d.ts +23 -0
  149. package/dist/modules/agent-readiness-engine/src/rate.d.ts.map +1 -0
  150. package/dist/modules/agent-readiness-engine/src/rate.js +57 -0
  151. package/dist/modules/agent-readiness-engine/src/rate.js.map +1 -0
  152. package/dist/modules/agent-readiness-engine/src/run.d.ts +9 -0
  153. package/dist/modules/agent-readiness-engine/src/run.d.ts.map +1 -0
  154. package/dist/modules/agent-readiness-engine/src/run.js +45 -0
  155. package/dist/modules/agent-readiness-engine/src/run.js.map +1 -0
  156. package/dist/modules/agent-readiness-engine/src/templates.d.ts +21 -0
  157. package/dist/modules/agent-readiness-engine/src/templates.d.ts.map +1 -0
  158. package/dist/modules/agent-readiness-engine/src/templates.js +89 -0
  159. package/dist/modules/agent-readiness-engine/src/templates.js.map +1 -0
  160. package/dist/modules/agent-readiness-jobs/src/index.d.ts +196 -0
  161. package/dist/modules/agent-readiness-jobs/src/index.d.ts.map +1 -0
  162. package/dist/modules/agent-readiness-jobs/src/index.js +186 -0
  163. package/dist/modules/agent-readiness-jobs/src/index.js.map +1 -0
  164. package/dist/modules/agent-readiness-policy/src/current-policy.d.ts +64 -245
  165. package/dist/modules/agent-readiness-policy/src/current-policy.d.ts.map +1 -1
  166. package/dist/modules/agent-readiness-policy/src/current-policy.js +10 -478
  167. package/dist/modules/agent-readiness-policy/src/current-policy.js.map +1 -1
  168. package/dist/modules/agent-readiness-policy/src/declaration-jobs.d.ts +20 -0
  169. package/dist/modules/agent-readiness-policy/src/declaration-jobs.d.ts.map +1 -0
  170. package/dist/modules/agent-readiness-policy/src/declaration-jobs.js +32 -0
  171. package/dist/modules/agent-readiness-policy/src/declaration-jobs.js.map +1 -0
  172. package/dist/modules/agent-readiness-policy/src/impact.d.ts +1 -80
  173. package/dist/modules/agent-readiness-policy/src/impact.d.ts.map +1 -1
  174. package/dist/modules/agent-readiness-policy/src/impact.js +2 -189
  175. package/dist/modules/agent-readiness-policy/src/impact.js.map +1 -1
  176. package/dist/modules/agent-readiness-policy/src/index.d.ts +21 -968
  177. package/dist/modules/agent-readiness-policy/src/index.d.ts.map +1 -1
  178. package/dist/modules/agent-readiness-policy/src/index.js +137 -470
  179. package/dist/modules/agent-readiness-policy/src/index.js.map +1 -1
  180. package/dist/modules/agent-readiness-policy/src/offer-relations.d.ts +0 -5
  181. package/dist/modules/agent-readiness-policy/src/offer-relations.d.ts.map +1 -1
  182. package/dist/modules/agent-readiness-policy/src/offer-relations.js +2 -4
  183. package/dist/modules/agent-readiness-policy/src/offer-relations.js.map +1 -1
  184. package/dist/modules/agent-readiness-policy/src/operate-policy.d.ts +16 -0
  185. package/dist/modules/agent-readiness-policy/src/operate-policy.d.ts.map +1 -0
  186. package/dist/modules/agent-readiness-policy/src/operate-policy.js +110 -0
  187. package/dist/modules/agent-readiness-policy/src/operate-policy.js.map +1 -0
  188. package/dist/modules/agent-readiness-policy/src/prior-projection.d.ts +3 -0
  189. package/dist/modules/agent-readiness-policy/src/prior-projection.d.ts.map +1 -0
  190. package/dist/modules/agent-readiness-policy/src/prior-projection.js +11 -0
  191. package/dist/modules/agent-readiness-policy/src/prior-projection.js.map +1 -0
  192. package/dist/modules/agent-readiness-policy/src/revision.d.ts +13 -2
  193. package/dist/modules/agent-readiness-policy/src/revision.d.ts.map +1 -1
  194. package/dist/modules/agent-readiness-policy/src/revision.js +79 -38
  195. package/dist/modules/agent-readiness-policy/src/revision.js.map +1 -1
  196. package/dist/modules/agent-readiness-repository/src/change.d.ts +3 -4
  197. package/dist/modules/agent-readiness-repository/src/change.d.ts.map +1 -1
  198. package/dist/modules/agent-readiness-repository/src/change.js +4 -4
  199. package/dist/modules/agent-readiness-repository/src/change.js.map +1 -1
  200. package/dist/modules/agent-readiness-repository/src/declaration-blob.d.ts +0 -5
  201. package/dist/modules/agent-readiness-repository/src/declaration-blob.d.ts.map +1 -1
  202. package/dist/modules/agent-readiness-repository/src/declaration-blob.js +2 -9
  203. package/dist/modules/agent-readiness-repository/src/declaration-blob.js.map +1 -1
  204. package/dist/modules/agent-readiness-repository/src/index.d.ts +1 -51
  205. package/dist/modules/agent-readiness-repository/src/index.d.ts.map +1 -1
  206. package/dist/modules/agent-readiness-repository/src/index.js +4 -113
  207. package/dist/modules/agent-readiness-repository/src/index.js.map +1 -1
  208. package/dist/modules/artifact/src/agent-readiness-closure.d.ts +4 -7
  209. package/dist/modules/artifact/src/agent-readiness-closure.d.ts.map +1 -1
  210. package/dist/modules/artifact/src/agent-readiness-closure.js +5 -22
  211. package/dist/modules/artifact/src/agent-readiness-closure.js.map +1 -1
  212. package/dist/modules/artifact/src/index.d.ts +5 -4
  213. package/dist/modules/artifact/src/index.d.ts.map +1 -1
  214. package/dist/modules/artifact/src/index.js +47 -45
  215. package/dist/modules/artifact/src/index.js.map +1 -1
  216. package/dist/modules/artifact/src/policy-closure.js +2 -2
  217. package/dist/modules/artifact/src/policy-closure.js.map +1 -1
  218. package/dist/modules/assets/src/authority-bundle.d.ts +2 -5
  219. package/dist/modules/assets/src/authority-bundle.d.ts.map +1 -1
  220. package/dist/modules/assets/src/authority-bundle.js +1 -9
  221. package/dist/modules/assets/src/authority-bundle.js.map +1 -1
  222. package/dist/modules/assets/src/delta.d.ts +0 -5
  223. package/dist/modules/assets/src/delta.d.ts.map +1 -1
  224. package/dist/modules/assets/src/delta.js +1 -38
  225. package/dist/modules/assets/src/delta.js.map +1 -1
  226. package/dist/modules/assets/src/index.d.ts +1 -1
  227. package/dist/modules/assets/src/index.d.ts.map +1 -1
  228. package/dist/modules/assets/src/ingestion.d.ts +2 -1
  229. package/dist/modules/assets/src/ingestion.d.ts.map +1 -1
  230. package/dist/modules/authority/src/index.d.ts +3 -10
  231. package/dist/modules/authority/src/index.d.ts.map +1 -1
  232. package/dist/modules/authority/src/index.js +113 -201
  233. package/dist/modules/authority/src/index.js.map +1 -1
  234. package/dist/modules/authority-state/src/index.d.ts +2 -1
  235. package/dist/modules/authority-state/src/index.d.ts.map +1 -1
  236. package/dist/modules/catalog-admission/src/admission-conflicts.d.ts +5 -7
  237. package/dist/modules/catalog-admission/src/admission-conflicts.d.ts.map +1 -1
  238. package/dist/modules/catalog-admission/src/admission-conflicts.js +1 -1
  239. package/dist/modules/catalog-admission/src/admission-conflicts.js.map +1 -1
  240. package/dist/modules/catalog-admission/src/change-analysis.d.ts +1 -2
  241. package/dist/modules/catalog-admission/src/change-analysis.d.ts.map +1 -1
  242. package/dist/modules/catalog-admission/src/change-analysis.js +0 -4
  243. package/dist/modules/catalog-admission/src/change-analysis.js.map +1 -1
  244. package/dist/modules/catalog-admission/src/index.d.ts +2 -9
  245. package/dist/modules/catalog-admission/src/index.d.ts.map +1 -1
  246. package/dist/modules/catalog-admission/src/index.js +28 -13
  247. package/dist/modules/catalog-admission/src/index.js.map +1 -1
  248. package/dist/modules/catalog-admission/src/machine-admission.d.ts +65 -19
  249. package/dist/modules/catalog-admission/src/machine-admission.d.ts.map +1 -1
  250. package/dist/modules/catalog-admission/src/machine-admission.js +5 -331
  251. package/dist/modules/catalog-admission/src/machine-admission.js.map +1 -1
  252. package/dist/modules/catalog-admission/src/publication-composition.d.ts +17 -1
  253. package/dist/modules/catalog-admission/src/publication-composition.d.ts.map +1 -1
  254. package/dist/modules/catalog-admission/src/publication-dependencies.d.ts +1 -6
  255. package/dist/modules/catalog-admission/src/publication-dependencies.d.ts.map +1 -1
  256. package/dist/modules/catalog-admission/src/publication-dependencies.js +5 -33
  257. package/dist/modules/catalog-admission/src/publication-dependencies.js.map +1 -1
  258. package/dist/modules/catalog-admission/src/publication-entities.d.ts +0 -1
  259. package/dist/modules/catalog-admission/src/publication-entities.d.ts.map +1 -1
  260. package/dist/modules/catalog-admission/src/publication-entities.js +1 -1
  261. package/dist/modules/catalog-admission/src/publication-entities.js.map +1 -1
  262. package/dist/modules/catalog-admission/src/publication.d.ts +3 -8
  263. package/dist/modules/catalog-admission/src/publication.d.ts.map +1 -1
  264. package/dist/modules/catalog-admission/src/publication.js +0 -13
  265. package/dist/modules/catalog-admission/src/publication.js.map +1 -1
  266. package/dist/modules/catalog-admission/src/submission.js +1 -1
  267. package/dist/modules/catalog-admission/src/submission.js.map +1 -1
  268. package/dist/modules/catalog-admission/src/taxonomy.d.ts +3 -0
  269. package/dist/modules/catalog-admission/src/taxonomy.d.ts.map +1 -0
  270. package/dist/modules/catalog-admission/src/taxonomy.js +7 -0
  271. package/dist/modules/catalog-admission/src/taxonomy.js.map +1 -0
  272. package/dist/modules/catalog-authoring-validation/src/index.d.ts +0 -1
  273. package/dist/modules/catalog-authoring-validation/src/index.d.ts.map +1 -1
  274. package/dist/modules/catalog-authoring-validation/src/index.js +1 -1
  275. package/dist/modules/catalog-authoring-validation/src/index.js.map +1 -1
  276. package/dist/modules/catalog-model/src/index.d.ts +2 -2
  277. package/dist/modules/catalog-model/src/index.d.ts.map +1 -1
  278. package/dist/modules/catalog-primitives/src/index.d.ts +2 -4
  279. package/dist/modules/catalog-primitives/src/index.d.ts.map +1 -1
  280. package/dist/modules/catalog-primitives/src/index.js +24 -0
  281. package/dist/modules/catalog-primitives/src/index.js.map +1 -1
  282. package/dist/modules/catalog-read-port/src/index.d.ts +3 -3
  283. package/dist/modules/catalog-read-port/src/index.d.ts.map +1 -1
  284. package/dist/modules/evidence-comparison/src/domains.d.ts +8 -0
  285. package/dist/modules/evidence-comparison/src/domains.d.ts.map +1 -0
  286. package/dist/modules/evidence-comparison/src/domains.js +16 -0
  287. package/dist/modules/evidence-comparison/src/domains.js.map +1 -0
  288. package/dist/modules/evidence-operations/src/attested-capture.d.ts +75 -0
  289. package/dist/modules/evidence-operations/src/attested-capture.d.ts.map +1 -0
  290. package/dist/modules/evidence-operations/src/attested-capture.js +227 -0
  291. package/dist/modules/evidence-operations/src/attested-capture.js.map +1 -0
  292. package/dist/modules/evidence-operations/src/configuration.d.ts +2 -163
  293. package/dist/modules/evidence-operations/src/configuration.d.ts.map +1 -1
  294. package/dist/modules/evidence-operations/src/configuration.js +7 -7
  295. package/dist/modules/evidence-operations/src/configuration.js.map +1 -1
  296. package/dist/modules/evidence-operations/src/evidence-authority-materialization.d.ts +53 -0
  297. package/dist/modules/evidence-operations/src/evidence-authority-materialization.d.ts.map +1 -0
  298. package/dist/modules/evidence-operations/src/evidence-authority-materialization.js +161 -0
  299. package/dist/modules/evidence-operations/src/evidence-authority-materialization.js.map +1 -0
  300. package/dist/modules/evidence-operations/src/evidence-authority.d.ts +27 -2128
  301. package/dist/modules/evidence-operations/src/evidence-authority.d.ts.map +1 -1
  302. package/dist/modules/evidence-operations/src/evidence-authority.js +46 -206
  303. package/dist/modules/evidence-operations/src/evidence-authority.js.map +1 -1
  304. package/dist/modules/evidence-operations/src/evidence-normalization.d.ts +10 -96
  305. package/dist/modules/evidence-operations/src/evidence-normalization.d.ts.map +1 -1
  306. package/dist/modules/evidence-operations/src/evidence-normalization.js +32 -329
  307. package/dist/modules/evidence-operations/src/evidence-normalization.js.map +1 -1
  308. package/dist/modules/evidence-operations/src/evidence-revision.d.ts +5 -0
  309. package/dist/modules/evidence-operations/src/evidence-revision.d.ts.map +1 -0
  310. package/dist/modules/evidence-operations/src/evidence-revision.js +12 -0
  311. package/dist/modules/evidence-operations/src/evidence-revision.js.map +1 -0
  312. package/dist/modules/evidence-operations/src/proof-graph.d.ts +13 -6
  313. package/dist/modules/evidence-operations/src/proof-graph.d.ts.map +1 -1
  314. package/dist/modules/evidence-operations/src/proof-graph.js +82 -59
  315. package/dist/modules/evidence-operations/src/proof-graph.js.map +1 -1
  316. package/dist/modules/evidence-operations/src/retained-revision.d.ts +7 -5
  317. package/dist/modules/evidence-operations/src/retained-revision.d.ts.map +1 -1
  318. package/dist/modules/evidence-operations/src/retained-revision.js +14 -16
  319. package/dist/modules/evidence-operations/src/retained-revision.js.map +1 -1
  320. package/dist/modules/evidence-operations/src/source-authority.js +1 -1
  321. package/dist/modules/evidence-operations/src/source-authority.js.map +1 -1
  322. package/dist/modules/evidence-operations/src/submission-verifier.d.ts +13 -23
  323. package/dist/modules/evidence-operations/src/submission-verifier.d.ts.map +1 -1
  324. package/dist/modules/evidence-operations/src/submission-verifier.js +5 -20
  325. package/dist/modules/evidence-operations/src/submission-verifier.js.map +1 -1
  326. package/dist/modules/provenance/src/evidence-bindings.d.ts +2 -1
  327. package/dist/modules/provenance/src/evidence-bindings.d.ts.map +1 -1
  328. package/dist/modules/provenance/src/evidence-coverage.d.ts +2 -1
  329. package/dist/modules/provenance/src/evidence-coverage.d.ts.map +1 -1
  330. package/dist/modules/provenance/src/index.d.ts +17 -11
  331. package/dist/modules/provenance/src/index.d.ts.map +1 -1
  332. package/dist/modules/provenance/src/index.js +62 -62
  333. package/dist/modules/provenance/src/index.js.map +1 -1
  334. package/dist/modules/provenance/src/material-claims.d.ts +7 -136
  335. package/dist/modules/provenance/src/material-claims.d.ts.map +1 -1
  336. package/dist/modules/provenance/src/material-claims.js +8 -10
  337. package/dist/modules/provenance/src/material-claims.js.map +1 -1
  338. package/dist/modules/release/src/agent-readiness-authority.d.ts +71 -0
  339. package/dist/modules/release/src/agent-readiness-authority.d.ts.map +1 -0
  340. package/dist/modules/release/src/agent-readiness-authority.js +164 -0
  341. package/dist/modules/release/src/agent-readiness-authority.js.map +1 -0
  342. package/dist/modules/release/src/agent-readiness-publication-inputs.d.ts +1 -2
  343. package/dist/modules/release/src/agent-readiness-publication-inputs.d.ts.map +1 -1
  344. package/dist/modules/release/src/agent-readiness-publication-inputs.js +3 -6
  345. package/dist/modules/release/src/agent-readiness-publication-inputs.js.map +1 -1
  346. package/dist/modules/release/src/agent-readiness-regrade-evidence.d.ts +13 -89
  347. package/dist/modules/release/src/agent-readiness-regrade-evidence.d.ts.map +1 -1
  348. package/dist/modules/release/src/agent-readiness-regrade-evidence.js +14 -46
  349. package/dist/modules/release/src/agent-readiness-regrade-evidence.js.map +1 -1
  350. package/dist/modules/release/src/changes.d.ts +3 -3
  351. package/dist/modules/release/src/changes.d.ts.map +1 -1
  352. package/dist/modules/release/src/changes.js +1 -2
  353. package/dist/modules/release/src/changes.js.map +1 -1
  354. package/dist/modules/release/src/evidence-admission.d.ts +10 -10
  355. package/dist/modules/release/src/evidence-admission.d.ts.map +1 -1
  356. package/dist/modules/release/src/evidence-admission.js +52 -60
  357. package/dist/modules/release/src/evidence-admission.js.map +1 -1
  358. package/dist/modules/release/src/evidence-bundle-tree.d.ts +7 -7
  359. package/dist/modules/release/src/evidence-bundle-tree.d.ts.map +1 -1
  360. package/dist/modules/release/src/evidence-bundle-tree.js +15 -15
  361. package/dist/modules/release/src/evidence-bundle-tree.js.map +1 -1
  362. package/dist/modules/release/src/identity.d.ts +2 -1
  363. package/dist/modules/release/src/identity.d.ts.map +1 -1
  364. package/dist/modules/release/src/identity.js.map +1 -1
  365. package/dist/modules/release/src/inputs.d.ts +12 -11
  366. package/dist/modules/release/src/inputs.d.ts.map +1 -1
  367. package/dist/modules/release/src/inputs.js +30 -202
  368. package/dist/modules/release/src/inputs.js.map +1 -1
  369. package/dist/modules/release/src/publication-inputs.d.ts +2 -1
  370. package/dist/modules/release/src/publication-inputs.d.ts.map +1 -1
  371. package/dist/modules/release/src/transition.d.ts +2 -2
  372. package/dist/modules/release/src/transition.d.ts.map +1 -1
  373. package/dist/modules/release/src/transition.js.map +1 -1
  374. package/dist/modules/release/src/verification-policies.d.ts +59 -242
  375. package/dist/modules/release/src/verification-policies.d.ts.map +1 -1
  376. package/dist/modules/release/src/verification-policies.js +2 -2
  377. package/dist/modules/release/src/verification-policies.js.map +1 -1
  378. package/dist/modules/sourcey-publication/src/verifier.d.ts +4 -3
  379. package/dist/modules/sourcey-publication/src/verifier.d.ts.map +1 -1
  380. package/dist/modules/sourcey-publication/src/verifier.js +53 -50
  381. package/dist/modules/sourcey-publication/src/verifier.js.map +1 -1
  382. package/dist/packages/catalog-verifier/src/application.d.ts +2 -5
  383. package/dist/packages/catalog-verifier/src/application.d.ts.map +1 -1
  384. package/dist/packages/catalog-verifier/src/application.js +2 -5
  385. package/dist/packages/catalog-verifier/src/application.js.map +1 -1
  386. package/dist/packages/catalog-verifier/src/program.js +1 -1
  387. package/dist/packages/catalog-verifier/src/program.js.map +1 -1
  388. package/package.json +2 -3
  389. package/dist/contracts/agent-readiness/src/evidence.d.ts +0 -245
  390. package/dist/contracts/agent-readiness/src/evidence.d.ts.map +0 -1
  391. package/dist/contracts/agent-readiness/src/evidence.js +0 -213
  392. package/dist/contracts/agent-readiness/src/evidence.js.map +0 -1
  393. package/dist/contracts/agent-readiness/src/interaction.d.ts +0 -26
  394. package/dist/contracts/agent-readiness/src/interaction.d.ts.map +0 -1
  395. package/dist/contracts/agent-readiness/src/interaction.js +0 -24
  396. package/dist/contracts/agent-readiness/src/interaction.js.map +0 -1
  397. package/dist/contracts/agent-readiness/src/method-pack.d.ts +0 -389
  398. package/dist/contracts/agent-readiness/src/method-pack.d.ts.map +0 -1
  399. package/dist/contracts/agent-readiness/src/method-pack.js +0 -181
  400. package/dist/contracts/agent-readiness/src/method-pack.js.map +0 -1
  401. package/dist/modules/agent-readiness-policy/src/corroboration.d.ts +0 -38
  402. package/dist/modules/agent-readiness-policy/src/corroboration.d.ts.map +0 -1
  403. package/dist/modules/agent-readiness-policy/src/corroboration.js +0 -66
  404. package/dist/modules/agent-readiness-policy/src/corroboration.js.map +0 -1
  405. package/dist/modules/agent-readiness-policy/src/current-policy-metrics.d.ts +0 -35
  406. package/dist/modules/agent-readiness-policy/src/current-policy-metrics.d.ts.map +0 -1
  407. package/dist/modules/agent-readiness-policy/src/current-policy-metrics.js +0 -721
  408. package/dist/modules/agent-readiness-policy/src/current-policy-metrics.js.map +0 -1
  409. package/dist/modules/agent-readiness-policy/src/current-policy-standards.d.ts +0 -99
  410. package/dist/modules/agent-readiness-policy/src/current-policy-standards.d.ts.map +0 -1
  411. package/dist/modules/agent-readiness-policy/src/current-policy-standards.js +0 -99
  412. package/dist/modules/agent-readiness-policy/src/current-policy-standards.js.map +0 -1
  413. package/dist/modules/agent-readiness-policy/src/current-policy-validation.d.ts +0 -4
  414. package/dist/modules/agent-readiness-policy/src/current-policy-validation.d.ts.map +0 -1
  415. package/dist/modules/agent-readiness-policy/src/current-policy-validation.js +0 -11
  416. package/dist/modules/agent-readiness-policy/src/current-policy-validation.js.map +0 -1
  417. package/dist/modules/agent-readiness-policy/src/grading.d.ts +0 -40
  418. package/dist/modules/agent-readiness-policy/src/grading.d.ts.map +0 -1
  419. package/dist/modules/agent-readiness-policy/src/grading.js +0 -46
  420. package/dist/modules/agent-readiness-policy/src/grading.js.map +0 -1
  421. package/dist/modules/agent-readiness-policy/src/policy-validation.d.ts +0 -3
  422. package/dist/modules/agent-readiness-policy/src/policy-validation.d.ts.map +0 -1
  423. package/dist/modules/agent-readiness-policy/src/policy-validation.js +0 -39
  424. package/dist/modules/agent-readiness-policy/src/policy-validation.js.map +0 -1
  425. package/dist/modules/agent-readiness-policy/src/projection-lineage.d.ts +0 -3
  426. package/dist/modules/agent-readiness-policy/src/projection-lineage.d.ts.map +0 -1
  427. package/dist/modules/agent-readiness-policy/src/projection-lineage.js +0 -12
  428. package/dist/modules/agent-readiness-policy/src/projection-lineage.js.map +0 -1
  429. package/dist/modules/agent-readiness-policy/src/standard-mapping.d.ts +0 -7
  430. package/dist/modules/agent-readiness-policy/src/standard-mapping.d.ts.map +0 -1
  431. package/dist/modules/agent-readiness-policy/src/standard-mapping.js +0 -14
  432. package/dist/modules/agent-readiness-policy/src/standard-mapping.js.map +0 -1
  433. package/dist/modules/agent-readiness-policy/src/surface-selection.d.ts +0 -44
  434. package/dist/modules/agent-readiness-policy/src/surface-selection.d.ts.map +0 -1
  435. package/dist/modules/agent-readiness-policy/src/surface-selection.js +0 -238
  436. package/dist/modules/agent-readiness-policy/src/surface-selection.js.map +0 -1
  437. package/dist/modules/agent-readiness-repository/src/admission.d.ts +0 -35
  438. package/dist/modules/agent-readiness-repository/src/admission.d.ts.map +0 -1
  439. package/dist/modules/agent-readiness-repository/src/admission.js +0 -56
  440. package/dist/modules/agent-readiness-repository/src/admission.js.map +0 -1
  441. package/dist/modules/authority/src/retained-capture-receipt.d.ts +0 -95
  442. package/dist/modules/authority/src/retained-capture-receipt.d.ts.map +0 -1
  443. package/dist/modules/authority/src/retained-capture-receipt.js +0 -76
  444. package/dist/modules/authority/src/retained-capture-receipt.js.map +0 -1
  445. package/dist/modules/catalog-admission/src/publication-recomposition.d.ts +0 -42
  446. package/dist/modules/catalog-admission/src/publication-recomposition.d.ts.map +0 -1
  447. package/dist/modules/catalog-admission/src/publication-recomposition.js +0 -163
  448. package/dist/modules/catalog-admission/src/publication-recomposition.js.map +0 -1
  449. package/dist/modules/evidence-comparison/src/values.d.ts +0 -75
  450. package/dist/modules/evidence-comparison/src/values.d.ts.map +0 -1
  451. package/dist/modules/evidence-comparison/src/values.js +0 -283
  452. package/dist/modules/evidence-comparison/src/values.js.map +0 -1
  453. package/dist/modules/evidence-grounding/src/figures.d.ts +0 -56
  454. package/dist/modules/evidence-grounding/src/figures.d.ts.map +0 -1
  455. package/dist/modules/evidence-grounding/src/figures.js +0 -727
  456. package/dist/modules/evidence-grounding/src/figures.js.map +0 -1
  457. package/dist/modules/evidence-grounding/src/index.d.ts +0 -4
  458. package/dist/modules/evidence-grounding/src/index.d.ts.map +0 -1
  459. package/dist/modules/evidence-grounding/src/index.js +0 -4
  460. package/dist/modules/evidence-grounding/src/index.js.map +0 -1
  461. package/dist/modules/evidence-grounding/src/locator.d.ts +0 -50
  462. package/dist/modules/evidence-grounding/src/locator.d.ts.map +0 -1
  463. package/dist/modules/evidence-grounding/src/locator.js +0 -162
  464. package/dist/modules/evidence-grounding/src/locator.js.map +0 -1
  465. package/dist/modules/evidence-grounding/src/written.d.ts +0 -29
  466. package/dist/modules/evidence-grounding/src/written.d.ts.map +0 -1
  467. package/dist/modules/evidence-grounding/src/written.js +0 -111
  468. package/dist/modules/evidence-grounding/src/written.js.map +0 -1
  469. package/dist/modules/evidence-operations/src/dependency-versions.d.ts +0 -2
  470. package/dist/modules/evidence-operations/src/dependency-versions.d.ts.map +0 -1
  471. package/dist/modules/evidence-operations/src/dependency-versions.js +0 -17
  472. package/dist/modules/evidence-operations/src/dependency-versions.js.map +0 -1
  473. package/dist/modules/evidence-operations/src/html-document.d.ts +0 -4
  474. package/dist/modules/evidence-operations/src/html-document.d.ts.map +0 -1
  475. package/dist/modules/evidence-operations/src/html-document.js +0 -99
  476. package/dist/modules/evidence-operations/src/html-document.js.map +0 -1
  477. package/dist/modules/policy-identity/src/index.d.ts +0 -7
  478. package/dist/modules/policy-identity/src/index.d.ts.map +0 -1
  479. package/dist/modules/policy-identity/src/index.js +0 -23
  480. package/dist/modules/policy-identity/src/index.js.map +0 -1
  481. package/dist/modules/release/src/publication-authorities.d.ts +0 -298
  482. package/dist/modules/release/src/publication-authorities.d.ts.map +0 -1
  483. package/dist/modules/release/src/publication-authorities.js +0 -56
  484. package/dist/modules/release/src/publication-authorities.js.map +0 -1
  485. package/dist/modules/standard-adapter-runtime/src/index.d.ts +0 -16
  486. package/dist/modules/standard-adapter-runtime/src/index.d.ts.map +0 -1
  487. package/dist/modules/standard-adapter-runtime/src/index.js +0 -43
  488. package/dist/modules/standard-adapter-runtime/src/index.js.map +0 -1
  489. package/dist/modules/standard-evidence/src/index.d.ts +0 -33
  490. package/dist/modules/standard-evidence/src/index.d.ts.map +0 -1
  491. package/dist/modules/standard-evidence/src/index.js +0 -149
  492. package/dist/modules/standard-evidence/src/index.js.map +0 -1
@@ -1,1352 +1,11 @@
1
+ import type { AttestedCapture } from "provenry/capture/attestation";
1
2
  import { type Digest } from "provenry/primitives";
2
3
  import { z } from "zod";
3
- import { type AgentReadinessDeclarationRevision, type AgentReadinessOfferRelationInput, type AgentReadinessProfileInput, type AgentReadinessRevision } from "../../../contracts/agent-readiness/src/index.js";
4
4
  import type { DecisionBasis } from "../../../contracts/authority/src/index.js";
5
5
  import { type CatalogEventIntent } from "../../../contracts/events/src/index.js";
6
6
  import { type EvidenceReviewDecision } from "../../../contracts/evidence/src/index.js";
7
7
  import { type Observation } from "../../../contracts/observations/src/index.js";
8
- import { type EntityRevision, type OfferRevision, type ProgramRevision } from "../../../contracts/revisions/src/index.js";
9
- import { type EvidenceReviewProposal } from "./submission-verifier.js";
10
- export declare const evidenceCatalogProposalCoreSchema: z.ZodObject<{
11
- catalog_proposal_contract: z.ZodLiteral<"sourcey.evidence-catalog-proposal/v1alpha1">;
12
- materialized_at: z.ZodISODateTime;
13
- review_proposal: z.ZodObject<{
14
- proposal_contract: z.ZodLiteral<"sourcey.evidence-review-proposal/v1alpha1">;
15
- operation_id: z.ZodString;
16
- job_id: z.ZodString;
17
- target_id: z.ZodString;
18
- base_release_id: z.ZodString;
19
- capture_policy_digest: z.ZodString;
20
- coverage_policy_digest: z.ZodString;
21
- subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
22
- subject_type: z.ZodLiteral<"entity">;
23
- entity_id: z.ZodString;
24
- revision_digest: z.ZodString;
25
- }, z.core.$strict>, z.ZodObject<{
26
- subject_type: z.ZodLiteral<"program">;
27
- entity_id: z.ZodString;
28
- program_id: z.ZodString;
29
- revision_digest: z.ZodString;
30
- }, z.core.$strict>, z.ZodObject<{
31
- subject_type: z.ZodLiteral<"offer">;
32
- entity_id: z.ZodString;
33
- program_id: z.ZodOptional<z.ZodString>;
34
- offer_id: z.ZodString;
35
- revision_digest: z.ZodString;
36
- }, z.core.$strict>, z.ZodObject<{
37
- subject_type: z.ZodLiteral<"agent_readiness_profile">;
38
- entity_id: z.ZodString;
39
- agent_readiness_profile_id: z.ZodString;
40
- revision_digest: z.ZodString;
41
- }, z.core.$strict>], "subject_type">;
42
- authority_entity_revision_digest: z.ZodString;
43
- authority_program_revision_digest: z.ZodNullable<z.ZodString>;
44
- submission: z.ZodObject<{
45
- submission_contract: z.ZodLiteral<"sourcey.evidence-submission/v1alpha1">;
46
- base_revision_digest: z.ZodString;
47
- capture: z.ZodObject<{
48
- subject_source_url: z.ZodURL;
49
- requested_url: z.ZodURL;
50
- final_url: z.ZodURL;
51
- redirect_chain: z.ZodArray<z.ZodObject<{
52
- status: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<303>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
53
- from: z.ZodURL;
54
- to: z.ZodURL;
55
- }, z.core.$strict>>;
56
- retrieved_at: z.ZodISODateTime;
57
- method: z.ZodEnum<{
58
- archive: "archive";
59
- headless: "headless";
60
- http: "http";
61
- manual: "manual";
62
- }>;
63
- response_status_code: z.ZodNumber;
64
- media_type: z.ZodString;
65
- digest: z.ZodString;
66
- availability: z.ZodEnum<{
67
- public: "public";
68
- restricted: "restricted";
69
- }>;
70
- artifact_scope: z.ZodOptional<z.ZodEnum<{
71
- complete_document: "complete_document";
72
- document_excerpt: "document_excerpt";
73
- }>>;
74
- source_content: z.ZodOptional<z.ZodObject<{
75
- digest: z.ZodString;
76
- bytes: z.ZodNumber;
77
- media_type: z.ZodString;
78
- normalized_digest: z.ZodString;
79
- normalized_bytes: z.ZodNumber;
80
- }, z.core.$strict>>;
81
- }, z.core.$strict>;
82
- normalization: z.ZodObject<{
83
- normalizer_contract: z.ZodLiteral<"sourcey.evidence-normalizer/v1alpha1">;
84
- normalizer_id: z.ZodLiteral<"sourcey-deterministic-content">;
85
- version: z.ZodLiteral<"1">;
86
- toolchain_digest: z.ZodString;
87
- object_digest: z.ZodString;
88
- }, z.core.$strict>;
89
- assertions: z.ZodArray<z.ZodObject<{
90
- path: z.ZodString;
91
- polarity: z.ZodEnum<{
92
- contradicts: "contradicts";
93
- supports: "supports";
94
- }>;
95
- proof_kind: z.ZodEnum<{
96
- attested: "attested";
97
- derived: "derived";
98
- editorial: "editorial";
99
- observed: "observed";
100
- }>;
101
- derivation_rule: z.ZodNullable<z.ZodEnum<{
102
- "consideration-from-benefits": "consideration-from-benefits";
103
- "contact-access-from-first-party-mailto": "contact-access-from-first-party-mailto";
104
- "eligibility-composition-from-criteria": "eligibility-composition-from-criteria";
105
- "first-party-access-operator": "first-party-access-operator";
106
- "form-access-from-first-party-application": "form-access-from-first-party-application";
107
- "public-availability-from-application": "public-availability-from-application";
108
- }>>;
109
- locators: z.ZodArray<z.ZodObject<{
110
- kind: z.ZodLiteral<"utf8-range">;
111
- start_byte: z.ZodNumber;
112
- end_byte: z.ZodNumber;
113
- value_digest: z.ZodString;
114
- }, z.core.$strict>>;
115
- }, z.core.$strict>>;
116
- }, z.core.$strict>;
117
- review_projection: z.ZodObject<{
118
- source_standing: z.ZodEnum<{
119
- "archived-first-party": "archived-first-party";
120
- "archived-third-party": "archived-third-party";
121
- "live-first-party": "live-first-party";
122
- "live-third-party": "live-third-party";
123
- "manual-first-party": "manual-first-party";
124
- "manual-third-party": "manual-third-party";
125
- }>;
126
- assertions: z.ZodArray<z.ZodObject<{
127
- path: z.ZodString;
128
- polarity: z.ZodEnum<{
129
- contradicts: "contradicts";
130
- supports: "supports";
131
- }>;
132
- proof_kind: z.ZodEnum<{
133
- attested: "attested";
134
- derived: "derived";
135
- editorial: "editorial";
136
- observed: "observed";
137
- }>;
138
- derivation_rule: z.ZodNullable<z.ZodEnum<{
139
- "consideration-from-benefits": "consideration-from-benefits";
140
- "contact-access-from-first-party-mailto": "contact-access-from-first-party-mailto";
141
- "eligibility-composition-from-criteria": "eligibility-composition-from-criteria";
142
- "first-party-access-operator": "first-party-access-operator";
143
- "form-access-from-first-party-application": "form-access-from-first-party-application";
144
- "public-availability-from-application": "public-availability-from-application";
145
- }>>;
146
- values: z.ZodArray<z.ZodObject<{
147
- start_byte: z.ZodNumber;
148
- end_byte: z.ZodNumber;
149
- value_digest: z.ZodString;
150
- text: z.ZodString;
151
- }, z.core.$strict>>;
152
- }, z.core.$strict>>;
153
- }, z.core.$strict>;
154
- proposal_digest: z.ZodString;
155
- }, z.core.$strict>;
156
- review_decision: z.ZodObject<{
157
- review_decision_contract: z.ZodLiteral<"sourcey.evidence-review-decision/v1alpha1">;
158
- review_proposal_digest: z.ZodString;
159
- decision_basis: z.ZodDiscriminatedUnion<[z.ZodObject<{
160
- kind: z.ZodLiteral<"human">;
161
- actor_id: z.ZodString;
162
- }, z.core.$strict>, z.ZodObject<{
163
- kind: z.ZodLiteral<"policy">;
164
- policy_id: z.ZodString;
165
- policy_digest: z.ZodString;
166
- evaluator_id: z.ZodString;
167
- evaluator_digest: z.ZodString;
168
- input_digest: z.ZodString;
169
- execution_receipt_digest: z.ZodString;
170
- }, z.core.$strict>], "kind">;
171
- decision: z.ZodEnum<{
172
- approved: "approved";
173
- rejected: "rejected";
174
- }>;
175
- decided_at: z.ZodISODateTime;
176
- rationale: z.ZodNullable<z.ZodString>;
177
- decision_digest: z.ZodString;
178
- }, z.core.$strict>;
179
- subject_revision: z.ZodUnion<readonly [z.ZodObject<{
180
- revision_contract: z.ZodLiteral<"sourcey.entity-revision/v1alpha1">;
181
- entity_id: z.ZodString;
182
- content: z.ZodObject<{
183
- name: z.ZodString;
184
- summary: z.ZodOptional<z.ZodString>;
185
- description: z.ZodString;
186
- domains: z.ZodArray<z.ZodObject<{
187
- value: z.ZodString;
188
- role: z.ZodEnum<{
189
- alias: "alias";
190
- primary: "primary";
191
- }>;
192
- valid_from: z.ZodISODateTime;
193
- valid_until: z.ZodOptional<z.ZodISODateTime>;
194
- }, z.core.$strict>>;
195
- category: z.ZodString;
196
- links: z.ZodObject<{
197
- site: z.ZodURL;
198
- pricing: z.ZodOptional<z.ZodURL>;
199
- }, z.core.$strict>;
200
- }, z.core.$strict>;
201
- revision_digest: z.ZodString;
202
- }, z.core.$strict>, z.ZodObject<{
203
- revision_contract: z.ZodLiteral<"sourcey.program-revision/v1alpha1">;
204
- entity_id: z.ZodString;
205
- program_id: z.ZodString;
206
- content: z.ZodObject<{
207
- title: z.ZodString;
208
- summary: z.ZodOptional<z.ZodString>;
209
- }, z.core.$strict>;
210
- revision_digest: z.ZodString;
211
- }, z.core.$strict>, z.ZodObject<{
212
- revision_contract: z.ZodLiteral<"sourcey.offer-revision/v1alpha1">;
213
- entity_id: z.ZodString;
214
- program_id: z.ZodOptional<z.ZodString>;
215
- offer_id: z.ZodString;
216
- content: z.ZodObject<{
217
- title: z.ZodString;
218
- summary: z.ZodString;
219
- description: z.ZodOptional<z.ZodString>;
220
- lifecycle: z.ZodObject<{
221
- status: z.ZodEnum<{
222
- active: "active";
223
- ended: "ended";
224
- withdrawn: "withdrawn";
225
- }>;
226
- effective_from: z.ZodISODateTime;
227
- effective_until: z.ZodOptional<z.ZodISODateTime>;
228
- }, z.core.$strict>;
229
- economics: z.ZodObject<{
230
- consideration: z.ZodDiscriminatedUnion<[z.ZodObject<{
231
- kind: z.ZodLiteral<"none">;
232
- }, z.core.$strict>, z.ZodObject<{
233
- kind: z.ZodLiteral<"fixed">;
234
- amount: z.ZodObject<{
235
- currency: z.ZodString;
236
- minor_units: z.ZodNumber;
237
- }, z.core.$strict>;
238
- }, z.core.$strict>, z.ZodObject<{
239
- kind: z.ZodLiteral<"variable">;
240
- description: z.ZodString;
241
- }, z.core.$strict>, z.ZodObject<{
242
- kind: z.ZodLiteral<"unknown">;
243
- description: z.ZodString;
244
- }, z.core.$strict>], "kind">;
245
- benefits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
246
- benefit_id: z.ZodString;
247
- description: z.ZodString;
248
- kind: z.ZodLiteral<"credit">;
249
- value: z.ZodDiscriminatedUnion<[z.ZodObject<{
250
- kind: z.ZodLiteral<"exact">;
251
- amount: z.ZodObject<{
252
- currency: z.ZodString;
253
- minor_units: z.ZodNumber;
254
- }, z.core.$strict>;
255
- }, z.core.$strict>, z.ZodObject<{
256
- kind: z.ZodLiteral<"up-to">;
257
- amount: z.ZodObject<{
258
- currency: z.ZodString;
259
- minor_units: z.ZodNumber;
260
- }, z.core.$strict>;
261
- }, z.core.$strict>, z.ZodObject<{
262
- kind: z.ZodLiteral<"at-least">;
263
- amount: z.ZodObject<{
264
- currency: z.ZodString;
265
- minor_units: z.ZodNumber;
266
- }, z.core.$strict>;
267
- }, z.core.$strict>, z.ZodObject<{
268
- kind: z.ZodLiteral<"range">;
269
- minimum: z.ZodObject<{
270
- currency: z.ZodString;
271
- minor_units: z.ZodNumber;
272
- }, z.core.$strict>;
273
- maximum: z.ZodObject<{
274
- currency: z.ZodString;
275
- minor_units: z.ZodNumber;
276
- }, z.core.$strict>;
277
- }, z.core.$strict>], "kind">;
278
- duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
279
- kind: z.ZodLiteral<"exact">;
280
- value: z.ZodString;
281
- }, z.core.$strict>, z.ZodObject<{
282
- kind: z.ZodLiteral<"up-to">;
283
- value: z.ZodString;
284
- }, z.core.$strict>, z.ZodObject<{
285
- kind: z.ZodLiteral<"at-least">;
286
- value: z.ZodString;
287
- }, z.core.$strict>], "kind">>;
288
- }, z.core.$strict>, z.ZodObject<{
289
- benefit_id: z.ZodString;
290
- description: z.ZodString;
291
- kind: z.ZodLiteral<"discount">;
292
- percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
293
- kind: z.ZodLiteral<"exact">;
294
- basis_points: z.ZodNumber;
295
- }, z.core.$strict>, z.ZodObject<{
296
- kind: z.ZodLiteral<"up-to">;
297
- basis_points: z.ZodNumber;
298
- }, z.core.$strict>, z.ZodObject<{
299
- kind: z.ZodLiteral<"at-least">;
300
- basis_points: z.ZodNumber;
301
- }, z.core.$strict>, z.ZodObject<{
302
- kind: z.ZodLiteral<"range">;
303
- minimum_basis_points: z.ZodNumber;
304
- maximum_basis_points: z.ZodNumber;
305
- }, z.core.$strict>], "kind">;
306
- applies_to: z.ZodOptional<z.ZodString>;
307
- duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
308
- kind: z.ZodLiteral<"exact">;
309
- value: z.ZodString;
310
- }, z.core.$strict>, z.ZodObject<{
311
- kind: z.ZodLiteral<"up-to">;
312
- value: z.ZodString;
313
- }, z.core.$strict>, z.ZodObject<{
314
- kind: z.ZodLiteral<"at-least">;
315
- value: z.ZodString;
316
- }, z.core.$strict>], "kind">>;
317
- }, z.core.$strict>, z.ZodObject<{
318
- benefit_id: z.ZodString;
319
- description: z.ZodString;
320
- kind: z.ZodLiteral<"cashback">;
321
- value: z.ZodDiscriminatedUnion<[z.ZodObject<{
322
- kind: z.ZodLiteral<"money">;
323
- value: z.ZodDiscriminatedUnion<[z.ZodObject<{
324
- kind: z.ZodLiteral<"exact">;
325
- amount: z.ZodObject<{
326
- currency: z.ZodString;
327
- minor_units: z.ZodNumber;
328
- }, z.core.$strict>;
329
- }, z.core.$strict>, z.ZodObject<{
330
- kind: z.ZodLiteral<"up-to">;
331
- amount: z.ZodObject<{
332
- currency: z.ZodString;
333
- minor_units: z.ZodNumber;
334
- }, z.core.$strict>;
335
- }, z.core.$strict>, z.ZodObject<{
336
- kind: z.ZodLiteral<"at-least">;
337
- amount: z.ZodObject<{
338
- currency: z.ZodString;
339
- minor_units: z.ZodNumber;
340
- }, z.core.$strict>;
341
- }, z.core.$strict>, z.ZodObject<{
342
- kind: z.ZodLiteral<"range">;
343
- minimum: z.ZodObject<{
344
- currency: z.ZodString;
345
- minor_units: z.ZodNumber;
346
- }, z.core.$strict>;
347
- maximum: z.ZodObject<{
348
- currency: z.ZodString;
349
- minor_units: z.ZodNumber;
350
- }, z.core.$strict>;
351
- }, z.core.$strict>], "kind">;
352
- }, z.core.$strict>, z.ZodObject<{
353
- kind: z.ZodLiteral<"percentage">;
354
- value: z.ZodDiscriminatedUnion<[z.ZodObject<{
355
- kind: z.ZodLiteral<"exact">;
356
- basis_points: z.ZodNumber;
357
- }, z.core.$strict>, z.ZodObject<{
358
- kind: z.ZodLiteral<"up-to">;
359
- basis_points: z.ZodNumber;
360
- }, z.core.$strict>, z.ZodObject<{
361
- kind: z.ZodLiteral<"at-least">;
362
- basis_points: z.ZodNumber;
363
- }, z.core.$strict>, z.ZodObject<{
364
- kind: z.ZodLiteral<"range">;
365
- minimum_basis_points: z.ZodNumber;
366
- maximum_basis_points: z.ZodNumber;
367
- }, z.core.$strict>], "kind">;
368
- }, z.core.$strict>], "kind">;
369
- duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
370
- kind: z.ZodLiteral<"exact">;
371
- value: z.ZodString;
372
- }, z.core.$strict>, z.ZodObject<{
373
- kind: z.ZodLiteral<"up-to">;
374
- value: z.ZodString;
375
- }, z.core.$strict>, z.ZodObject<{
376
- kind: z.ZodLiteral<"at-least">;
377
- value: z.ZodString;
378
- }, z.core.$strict>], "kind">>;
379
- }, z.core.$strict>, z.ZodObject<{
380
- benefit_id: z.ZodString;
381
- description: z.ZodString;
382
- kind: z.ZodLiteral<"waiver">;
383
- waived_item: z.ZodString;
384
- }, z.core.$strict>, z.ZodObject<{
385
- benefit_id: z.ZodString;
386
- description: z.ZodString;
387
- kind: z.ZodLiteral<"free-service">;
388
- service: z.ZodString;
389
- duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
390
- kind: z.ZodLiteral<"exact">;
391
- value: z.ZodString;
392
- }, z.core.$strict>, z.ZodObject<{
393
- kind: z.ZodLiteral<"up-to">;
394
- value: z.ZodString;
395
- }, z.core.$strict>, z.ZodObject<{
396
- kind: z.ZodLiteral<"at-least">;
397
- value: z.ZodString;
398
- }, z.core.$strict>], "kind">>;
399
- }, z.core.$strict>, z.ZodObject<{
400
- benefit_id: z.ZodString;
401
- description: z.ZodString;
402
- kind: z.ZodLiteral<"other">;
403
- }, z.core.$strict>], "kind">>;
404
- }, z.core.$strict>;
405
- eligibility: z.ZodObject<{
406
- rule: z.ZodType<import("../../../contracts/revisions/src/index.js").EligibilityRule, unknown, z.core.$ZodTypeInternals<import("../../../contracts/revisions/src/index.js").EligibilityRule, unknown>>;
407
- }, z.core.$strict>;
408
- roles: z.ZodObject<{
409
- terms_authority_entity_id: z.ZodString;
410
- access_operator_entity_id: z.ZodString;
411
- }, z.core.$strict>;
412
- access: z.ZodObject<{
413
- availability: z.ZodEnum<{
414
- automatic: "automatic";
415
- invite: "invite";
416
- membership: "membership";
417
- other: "other";
418
- public: "public";
419
- referral: "referral";
420
- }>;
421
- method: z.ZodEnum<{
422
- automatic: "automatic";
423
- code: "code";
424
- contact: "contact";
425
- form: "form";
426
- other: "other";
427
- }>;
428
- url: z.ZodOptional<z.ZodURL>;
429
- public_code: z.ZodOptional<z.ZodString>;
430
- instructions: z.ZodOptional<z.ZodString>;
431
- }, z.core.$strict>;
432
- terms_url: z.ZodOptional<z.ZodURL>;
433
- }, z.core.$strict>;
434
- revision_digest: z.ZodString;
435
- }, z.core.$strict>, z.ZodObject<{
436
- agent_readiness_profile_id: z.ZodString;
437
- entity_id: z.ZodString;
438
- scope: z.ZodObject<{
439
- product: z.ZodObject<{
440
- key: z.ZodString;
441
- name: z.ZodString;
442
- }, z.core.$strict>;
443
- funnel: z.ZodObject<{
444
- key: z.ZodString;
445
- name: z.ZodString;
446
- }, z.core.$strict>;
447
- }, z.core.$strict>;
448
- catalog_binding: z.ZodObject<{
449
- base_release_id: z.ZodString;
450
- entity_revision_digest: z.ZodString;
451
- }, z.core.$strict>;
452
- declaration_revision_digest: z.ZodString;
453
- declaration: z.ZodDiscriminatedUnion<[z.ZodObject<{
454
- status: z.ZodLiteral<"none">;
455
- }, z.core.$strict>, z.ZodObject<{
456
- declaration_id: z.ZodString;
457
- provenance: z.ZodUnion<readonly [z.ZodObject<{
458
- repository: z.ZodLiteral<"sourcey/agent-ready-services">;
459
- commit: z.ZodString;
460
- path: z.ZodString;
461
- git_blob_oid: z.ZodString;
462
- blob_digest: z.ZodString;
463
- }, z.core.$strict>, z.ZodObject<{
464
- source: z.ZodLiteral<"sourcey">;
465
- path: z.ZodString;
466
- blob_digest: z.ZodString;
467
- }, z.core.$strict>]>;
468
- status: z.ZodEnum<{
469
- community_declared: "community_declared";
470
- entity_attested: "entity_attested";
471
- }>;
472
- }, z.core.$strict>], "status">;
473
- lifecycle: z.ZodEnum<{
474
- active: "active";
475
- ended: "ended";
476
- withdrawn: "withdrawn";
477
- }>;
478
- effective_from: z.ZodISODateTime;
479
- effective_until: z.ZodOptional<z.ZodISODateTime>;
480
- signals: z.ZodArray<z.ZodObject<{
481
- stage: z.ZodEnum<{
482
- evaluate: "evaluate";
483
- operate: "operate";
484
- pay: "pay";
485
- provision: "provision";
486
- sign_up: "sign_up";
487
- }>;
488
- signal_code: z.ZodString;
489
- selector_group_id: z.ZodString;
490
- value: z.ZodEnum<{
491
- no: "no";
492
- not_applicable: "not_applicable";
493
- partial: "partial";
494
- unknown: "unknown";
495
- yes: "yes";
496
- }>;
497
- observed_at: z.ZodISODateTime;
498
- tested_surfaces: z.ZodArray<z.ZodObject<{
499
- node_kind: z.ZodEnum<{
500
- endpoint: "endpoint";
501
- interface: "interface";
502
- resource: "resource";
503
- surface_exclusion: "surface_exclusion";
504
- }>;
505
- node_id: z.ZodString;
506
- }, z.core.$strict>>;
507
- assessment_method: z.ZodObject<{
508
- name: z.ZodString;
509
- version: z.ZodString;
510
- method_digest: z.ZodString;
511
- }, z.core.$strict>;
512
- determination_bases: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
513
- captures: z.ZodArray<z.ZodObject<{
514
- retained_capture_digest: z.ZodString;
515
- capture_rung: z.ZodEnum<{
516
- archive: "archive";
517
- headless: "headless";
518
- http: "http";
519
- manual: "manual";
520
- }>;
521
- }, z.core.$strict>>;
522
- artifact_digests: z.ZodArray<z.ZodString>;
523
- kind: z.ZodLiteral<"direct_observation">;
524
- locators: z.ZodArray<z.ZodObject<{
525
- artifact_digest: z.ZodString;
526
- start_byte: z.ZodNumber;
527
- end_byte: z.ZodNumber;
528
- value_digest: z.ZodString;
529
- }, z.core.$strict>>;
530
- }, z.core.$strict>, z.ZodObject<{
531
- captures: z.ZodArray<z.ZodObject<{
532
- retained_capture_digest: z.ZodString;
533
- capture_rung: z.ZodEnum<{
534
- archive: "archive";
535
- headless: "headless";
536
- http: "http";
537
- manual: "manual";
538
- }>;
539
- }, z.core.$strict>>;
540
- artifact_digests: z.ZodArray<z.ZodString>;
541
- kind: z.ZodLiteral<"service_exchange">;
542
- endpoint_id: z.ZodString;
543
- assessment_target_id: z.ZodString;
544
- source_observation_digest: z.ZodString;
545
- approved_request: z.ZodObject<{
546
- source_url: z.ZodURL;
547
- request: z.ZodObject<{
548
- method: z.ZodLiteral<"GET">;
549
- target_url: z.ZodOptional<z.ZodURL>;
550
- headers: z.ZodArray<z.ZodObject<{
551
- name: z.ZodString;
552
- value: z.ZodString;
553
- }, z.core.$strict>>;
554
- success_assertions: z.ZodOptional<z.ZodArray<z.ZodObject<{
555
- pointer: z.ZodString;
556
- equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
557
- }, z.core.$strict>>>;
558
- }, z.core.$strict>;
559
- }, z.core.$strict>;
560
- response_status_code: z.ZodNumber;
561
- response_content_digest: z.ZodString;
562
- }, z.core.$strict>, z.ZodObject<{
563
- captures: z.ZodArray<z.ZodObject<{
564
- retained_capture_digest: z.ZodString;
565
- capture_rung: z.ZodEnum<{
566
- archive: "archive";
567
- headless: "headless";
568
- http: "http";
569
- manual: "manual";
570
- }>;
571
- }, z.core.$strict>>;
572
- artifact_digests: z.ZodArray<z.ZodString>;
573
- kind: z.ZodLiteral<"bounded_absence">;
574
- coverage_scope: z.ZodEnum<{
575
- exact_funnel: "exact_funnel";
576
- exact_resource: "exact_resource";
577
- tested_surfaces: "tested_surfaces";
578
- }>;
579
- covered_surfaces: z.ZodArray<z.ZodObject<{
580
- node_kind: z.ZodEnum<{
581
- endpoint: "endpoint";
582
- interface: "interface";
583
- resource: "resource";
584
- surface_exclusion: "surface_exclusion";
585
- }>;
586
- node_id: z.ZodString;
587
- }, z.core.$strict>>;
588
- covered_branches: z.ZodNumber;
589
- }, z.core.$strict>, z.ZodObject<{
590
- captures: z.ZodArray<z.ZodObject<{
591
- retained_capture_digest: z.ZodString;
592
- capture_rung: z.ZodEnum<{
593
- archive: "archive";
594
- headless: "headless";
595
- http: "http";
596
- manual: "manual";
597
- }>;
598
- }, z.core.$strict>>;
599
- artifact_digests: z.ZodArray<z.ZodString>;
600
- kind: z.ZodLiteral<"explicit_first_party_declaration">;
601
- source_surface: z.ZodObject<{
602
- node_kind: z.ZodEnum<{
603
- endpoint: "endpoint";
604
- interface: "interface";
605
- resource: "resource";
606
- surface_exclusion: "surface_exclusion";
607
- }>;
608
- node_id: z.ZodString;
609
- }, z.core.$strict>;
610
- locators: z.ZodArray<z.ZodObject<{
611
- artifact_digest: z.ZodString;
612
- start_byte: z.ZodNumber;
613
- end_byte: z.ZodNumber;
614
- value_digest: z.ZodString;
615
- }, z.core.$strict>>;
616
- }, z.core.$strict>, z.ZodObject<{
617
- kind: z.ZodLiteral<"standard_requirement">;
618
- adapter_digest: z.ZodString;
619
- evidence_record_digest: z.ZodString;
620
- requirement: z.ZodObject<{
621
- namespace: z.ZodString;
622
- version: z.ZodString;
623
- requirement_id: z.ZodString;
624
- relation: z.ZodEnum<{
625
- "informational-reference": "informational-reference";
626
- tests: "tests";
627
- }>;
628
- }, z.core.$strict>;
629
- artifact_digests: z.ZodArray<z.ZodString>;
630
- }, z.core.$strict>, z.ZodObject<{
631
- kind: z.ZodLiteral<"certification_receipt">;
632
- certification_receipt_digest: z.ZodString;
633
- }, z.core.$strict>], "kind">>;
634
- note: z.ZodOptional<z.ZodString>;
635
- }, z.core.$strict>>;
636
- revision_contract: z.ZodLiteral<"sourcey.agent-readiness-revision/v1alpha1">;
637
- revision_digest: z.ZodString;
638
- }, z.core.$strict>]>;
639
- agent_readiness_profile_input: z.ZodNullable<z.ZodObject<{
640
- agent_readiness_profile_id: z.ZodString;
641
- entity_id: z.ZodString;
642
- scope: z.ZodObject<{
643
- product: z.ZodObject<{
644
- key: z.ZodString;
645
- name: z.ZodString;
646
- }, z.core.$strict>;
647
- funnel: z.ZodObject<{
648
- key: z.ZodString;
649
- name: z.ZodString;
650
- }, z.core.$strict>;
651
- }, z.core.$strict>;
652
- catalog_binding: z.ZodObject<{
653
- base_release_id: z.ZodString;
654
- entity_revision_digest: z.ZodString;
655
- }, z.core.$strict>;
656
- declaration_revision_digest: z.ZodString;
657
- declaration: z.ZodDiscriminatedUnion<[z.ZodObject<{
658
- status: z.ZodLiteral<"none">;
659
- }, z.core.$strict>, z.ZodObject<{
660
- declaration_id: z.ZodString;
661
- provenance: z.ZodUnion<readonly [z.ZodObject<{
662
- repository: z.ZodLiteral<"sourcey/agent-ready-services">;
663
- commit: z.ZodString;
664
- path: z.ZodString;
665
- git_blob_oid: z.ZodString;
666
- blob_digest: z.ZodString;
667
- }, z.core.$strict>, z.ZodObject<{
668
- source: z.ZodLiteral<"sourcey">;
669
- path: z.ZodString;
670
- blob_digest: z.ZodString;
671
- }, z.core.$strict>]>;
672
- status: z.ZodEnum<{
673
- community_declared: "community_declared";
674
- entity_attested: "entity_attested";
675
- }>;
676
- }, z.core.$strict>], "status">;
677
- lifecycle: z.ZodEnum<{
678
- active: "active";
679
- ended: "ended";
680
- withdrawn: "withdrawn";
681
- }>;
682
- effective_from: z.ZodISODateTime;
683
- effective_until: z.ZodOptional<z.ZodISODateTime>;
684
- signals: z.ZodArray<z.ZodObject<{
685
- stage: z.ZodEnum<{
686
- evaluate: "evaluate";
687
- operate: "operate";
688
- pay: "pay";
689
- provision: "provision";
690
- sign_up: "sign_up";
691
- }>;
692
- signal_code: z.ZodString;
693
- selector_group_id: z.ZodString;
694
- value: z.ZodEnum<{
695
- no: "no";
696
- not_applicable: "not_applicable";
697
- partial: "partial";
698
- unknown: "unknown";
699
- yes: "yes";
700
- }>;
701
- observed_at: z.ZodISODateTime;
702
- tested_surfaces: z.ZodArray<z.ZodObject<{
703
- node_kind: z.ZodEnum<{
704
- endpoint: "endpoint";
705
- interface: "interface";
706
- resource: "resource";
707
- surface_exclusion: "surface_exclusion";
708
- }>;
709
- node_id: z.ZodString;
710
- }, z.core.$strict>>;
711
- assessment_method: z.ZodObject<{
712
- name: z.ZodString;
713
- version: z.ZodString;
714
- method_digest: z.ZodString;
715
- }, z.core.$strict>;
716
- determination_bases: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
717
- captures: z.ZodArray<z.ZodObject<{
718
- retained_capture_digest: z.ZodString;
719
- capture_rung: z.ZodEnum<{
720
- archive: "archive";
721
- headless: "headless";
722
- http: "http";
723
- manual: "manual";
724
- }>;
725
- }, z.core.$strict>>;
726
- artifact_digests: z.ZodArray<z.ZodString>;
727
- kind: z.ZodLiteral<"direct_observation">;
728
- locators: z.ZodArray<z.ZodObject<{
729
- artifact_digest: z.ZodString;
730
- start_byte: z.ZodNumber;
731
- end_byte: z.ZodNumber;
732
- value_digest: z.ZodString;
733
- }, z.core.$strict>>;
734
- }, z.core.$strict>, z.ZodObject<{
735
- captures: z.ZodArray<z.ZodObject<{
736
- retained_capture_digest: z.ZodString;
737
- capture_rung: z.ZodEnum<{
738
- archive: "archive";
739
- headless: "headless";
740
- http: "http";
741
- manual: "manual";
742
- }>;
743
- }, z.core.$strict>>;
744
- artifact_digests: z.ZodArray<z.ZodString>;
745
- kind: z.ZodLiteral<"service_exchange">;
746
- endpoint_id: z.ZodString;
747
- assessment_target_id: z.ZodString;
748
- source_observation_digest: z.ZodString;
749
- approved_request: z.ZodObject<{
750
- source_url: z.ZodURL;
751
- request: z.ZodObject<{
752
- method: z.ZodLiteral<"GET">;
753
- target_url: z.ZodOptional<z.ZodURL>;
754
- headers: z.ZodArray<z.ZodObject<{
755
- name: z.ZodString;
756
- value: z.ZodString;
757
- }, z.core.$strict>>;
758
- success_assertions: z.ZodOptional<z.ZodArray<z.ZodObject<{
759
- pointer: z.ZodString;
760
- equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
761
- }, z.core.$strict>>>;
762
- }, z.core.$strict>;
763
- }, z.core.$strict>;
764
- response_status_code: z.ZodNumber;
765
- response_content_digest: z.ZodString;
766
- }, z.core.$strict>, z.ZodObject<{
767
- captures: z.ZodArray<z.ZodObject<{
768
- retained_capture_digest: z.ZodString;
769
- capture_rung: z.ZodEnum<{
770
- archive: "archive";
771
- headless: "headless";
772
- http: "http";
773
- manual: "manual";
774
- }>;
775
- }, z.core.$strict>>;
776
- artifact_digests: z.ZodArray<z.ZodString>;
777
- kind: z.ZodLiteral<"bounded_absence">;
778
- coverage_scope: z.ZodEnum<{
779
- exact_funnel: "exact_funnel";
780
- exact_resource: "exact_resource";
781
- tested_surfaces: "tested_surfaces";
782
- }>;
783
- covered_surfaces: z.ZodArray<z.ZodObject<{
784
- node_kind: z.ZodEnum<{
785
- endpoint: "endpoint";
786
- interface: "interface";
787
- resource: "resource";
788
- surface_exclusion: "surface_exclusion";
789
- }>;
790
- node_id: z.ZodString;
791
- }, z.core.$strict>>;
792
- covered_branches: z.ZodNumber;
793
- }, z.core.$strict>, z.ZodObject<{
794
- captures: z.ZodArray<z.ZodObject<{
795
- retained_capture_digest: z.ZodString;
796
- capture_rung: z.ZodEnum<{
797
- archive: "archive";
798
- headless: "headless";
799
- http: "http";
800
- manual: "manual";
801
- }>;
802
- }, z.core.$strict>>;
803
- artifact_digests: z.ZodArray<z.ZodString>;
804
- kind: z.ZodLiteral<"explicit_first_party_declaration">;
805
- source_surface: z.ZodObject<{
806
- node_kind: z.ZodEnum<{
807
- endpoint: "endpoint";
808
- interface: "interface";
809
- resource: "resource";
810
- surface_exclusion: "surface_exclusion";
811
- }>;
812
- node_id: z.ZodString;
813
- }, z.core.$strict>;
814
- locators: z.ZodArray<z.ZodObject<{
815
- artifact_digest: z.ZodString;
816
- start_byte: z.ZodNumber;
817
- end_byte: z.ZodNumber;
818
- value_digest: z.ZodString;
819
- }, z.core.$strict>>;
820
- }, z.core.$strict>, z.ZodObject<{
821
- kind: z.ZodLiteral<"standard_requirement">;
822
- adapter_digest: z.ZodString;
823
- evidence_record_digest: z.ZodString;
824
- requirement: z.ZodObject<{
825
- namespace: z.ZodString;
826
- version: z.ZodString;
827
- requirement_id: z.ZodString;
828
- relation: z.ZodEnum<{
829
- "informational-reference": "informational-reference";
830
- tests: "tests";
831
- }>;
832
- }, z.core.$strict>;
833
- artifact_digests: z.ZodArray<z.ZodString>;
834
- }, z.core.$strict>, z.ZodObject<{
835
- kind: z.ZodLiteral<"certification_receipt">;
836
- certification_receipt_digest: z.ZodString;
837
- }, z.core.$strict>], "kind">>;
838
- note: z.ZodOptional<z.ZodString>;
839
- }, z.core.$strict>>;
840
- input_contract: z.ZodLiteral<"sourcey.agent-readiness-input/v1alpha1">;
841
- evidence_bindings: z.ZodArray<z.ZodObject<{
842
- stage: z.ZodEnum<{
843
- evaluate: "evaluate";
844
- operate: "operate";
845
- pay: "pay";
846
- provision: "provision";
847
- sign_up: "sign_up";
848
- }>;
849
- signal_code: z.ZodString;
850
- evidence_event_ids: z.ZodArray<z.ZodString>;
851
- observation_ids: z.ZodArray<z.ZodString>;
852
- }, z.core.$strict>>;
853
- }, z.core.$strict>>;
854
- agent_readiness_declaration_revision: z.ZodNullable<z.ZodObject<{
855
- revision_contract: z.ZodLiteral<"sourcey.agent-readiness-declaration-revision/v1alpha1">;
856
- entity_id: z.ZodString;
857
- declaration: z.ZodObject<{
858
- declaration_id: z.ZodString;
859
- scope: z.ZodObject<{
860
- product: z.ZodObject<{
861
- key: z.ZodString;
862
- name: z.ZodString;
863
- }, z.core.$strict>;
864
- funnel: z.ZodObject<{
865
- key: z.ZodString;
866
- name: z.ZodString;
867
- }, z.core.$strict>;
868
- }, z.core.$strict>;
869
- assessment_targets: z.ZodArray<z.ZodObject<{
870
- target_id: z.ZodString;
871
- name: z.ZodString;
872
- interface_ids: z.ZodArray<z.ZodString>;
873
- }, z.core.$strict>>;
874
- participants: z.ZodArray<z.ZodObject<{
875
- participant_id: z.ZodString;
876
- roles: z.ZodArray<z.ZodEnum<{
877
- access_operator: "access_operator";
878
- identity_provider: "identity_provider";
879
- operations_provider: "operations_provider";
880
- payment_provider: "payment_provider";
881
- provisioning_provider: "provisioning_provider";
882
- subject: "subject";
883
- }>>;
884
- identity: z.ZodUnion<readonly [z.ZodObject<{
885
- entity_id: z.ZodString;
886
- }, z.core.$strict>, z.ZodObject<{
887
- origin_source_id: z.ZodString;
888
- }, z.core.$strict>]>;
889
- }, z.core.$strict>>;
890
- resources: z.ZodArray<z.ZodObject<{
891
- resource_id: z.ZodString;
892
- uri: z.ZodURL;
893
- roles: z.ZodArray<z.ZodEnum<{
894
- access: "access";
895
- authentication: "authentication";
896
- checkout: "checkout";
897
- descriptor: "descriptor";
898
- discovery: "discovery";
899
- documentation: "documentation";
900
- eligibility: "eligibility";
901
- operations: "operations";
902
- policy: "policy";
903
- pricing: "pricing";
904
- provisioning: "provisioning";
905
- recovery: "recovery";
906
- status: "status";
907
- terms: "terms";
908
- }>>;
909
- operated_by_participant_id: z.ZodString;
910
- standard_bindings: z.ZodArray<z.ZodObject<{
911
- namespace: z.ZodString;
912
- version: z.ZodString;
913
- relation: z.ZodEnum<{
914
- declares: "declares";
915
- describes: "describes";
916
- implements: "implements";
917
- uses: "uses";
918
- }>;
919
- }, z.core.$strict>>;
920
- allowed_redirect_hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
921
- }, z.core.$strict>>;
922
- endpoints: z.ZodArray<z.ZodObject<{
923
- endpoint_id: z.ZodString;
924
- uri: z.ZodURL;
925
- transport: z.ZodEnum<{
926
- grpc: "grpc";
927
- http: "http";
928
- websocket: "websocket";
929
- }>;
930
- roles: z.ZodArray<z.ZodEnum<{
931
- authorization: "authorization";
932
- checkout: "checkout";
933
- protected_resource: "protected_resource";
934
- recovery: "recovery";
935
- registration: "registration";
936
- service: "service";
937
- status: "status";
938
- token: "token";
939
- webhook: "webhook";
940
- }>>;
941
- operated_by_participant_id: z.ZodString;
942
- standard_bindings: z.ZodArray<z.ZodObject<{
943
- namespace: z.ZodString;
944
- version: z.ZodString;
945
- relation: z.ZodEnum<{
946
- declares: "declares";
947
- describes: "describes";
948
- implements: "implements";
949
- uses: "uses";
950
- }>;
951
- }, z.core.$strict>>;
952
- allowed_redirect_hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
953
- }, z.core.$strict>>;
954
- interfaces: z.ZodArray<z.ZodObject<{
955
- interface_id: z.ZodString;
956
- modality: z.ZodEnum<{
957
- agent_service: "agent_service";
958
- command_line: "command_line";
959
- network_api: "network_api";
960
- software_library: "software_library";
961
- tool_server: "tool_server";
962
- web_application: "web_application";
963
- }>;
964
- functions: z.ZodArray<z.ZodEnum<{
965
- authentication: "authentication";
966
- commerce: "commerce";
967
- events: "events";
968
- recovery: "recovery";
969
- service_operation: "service_operation";
970
- }>>;
971
- endpoint_ids: z.ZodArray<z.ZodString>;
972
- resource_ids: z.ZodArray<z.ZodString>;
973
- operated_by_participant_id: z.ZodString;
974
- standard_bindings: z.ZodArray<z.ZodObject<{
975
- namespace: z.ZodString;
976
- version: z.ZodString;
977
- relation: z.ZodEnum<{
978
- declares: "declares";
979
- describes: "describes";
980
- implements: "implements";
981
- uses: "uses";
982
- }>;
983
- }, z.core.$strict>>;
984
- }, z.core.$strict>>;
985
- relations: z.ZodArray<z.ZodObject<{
986
- relation_id: z.ZodString;
987
- kind: z.ZodEnum<{
988
- alternative_to: "alternative_to";
989
- authenticates: "authenticates";
990
- describes: "describes";
991
- precedes: "precedes";
992
- requires: "requires";
993
- }>;
994
- from: z.ZodObject<{
995
- node_kind: z.ZodEnum<{
996
- endpoint: "endpoint";
997
- interface: "interface";
998
- resource: "resource";
999
- surface_exclusion: "surface_exclusion";
1000
- }>;
1001
- node_id: z.ZodString;
1002
- }, z.core.$strict>;
1003
- to: z.ZodObject<{
1004
- node_kind: z.ZodEnum<{
1005
- endpoint: "endpoint";
1006
- interface: "interface";
1007
- resource: "resource";
1008
- surface_exclusion: "surface_exclusion";
1009
- }>;
1010
- node_id: z.ZodString;
1011
- }, z.core.$strict>;
1012
- }, z.core.$strict>>;
1013
- surface_exclusions: z.ZodArray<z.ZodObject<{
1014
- exclusion_id: z.ZodString;
1015
- role: z.ZodEnum<{
1016
- access: "access";
1017
- authentication: "authentication";
1018
- checkout: "checkout";
1019
- descriptor: "descriptor";
1020
- discovery: "discovery";
1021
- documentation: "documentation";
1022
- eligibility: "eligibility";
1023
- operations: "operations";
1024
- policy: "policy";
1025
- pricing: "pricing";
1026
- provisioning: "provisioning";
1027
- recovery: "recovery";
1028
- status: "status";
1029
- terms: "terms";
1030
- }>;
1031
- rationale: z.ZodString;
1032
- }, z.core.$strict>>;
1033
- authority_intent: z.ZodEnum<{
1034
- community: "community";
1035
- entity: "entity";
1036
- }>;
1037
- declared_at: z.ZodISODateTime;
1038
- source_bindings: z.ZodArray<z.ZodObject<{
1039
- source_binding_id: z.ZodString;
1040
- source_id: z.ZodString;
1041
- field_paths: z.ZodArray<z.ZodString>;
1042
- target: z.ZodObject<{
1043
- node_kind: z.ZodEnum<{
1044
- assessment_target: "assessment_target";
1045
- declaration: "declaration";
1046
- endpoint: "endpoint";
1047
- interface: "interface";
1048
- participant: "participant";
1049
- relation: "relation";
1050
- resource: "resource";
1051
- surface_exclusion: "surface_exclusion";
1052
- }>;
1053
- node_id: z.ZodString;
1054
- }, z.core.$strict>;
1055
- }, z.core.$strict>>;
1056
- }, z.core.$strict>;
1057
- sources: z.ZodArray<z.ZodObject<{
1058
- source_id: z.ZodString;
1059
- url: z.ZodURL;
1060
- }, z.core.$strict>>;
1061
- revision_digest: z.ZodString;
1062
- }, z.core.$strict>>;
1063
- agent_readiness_offer_relation_inputs: z.ZodArray<z.ZodObject<{
1064
- relation_input_contract: z.ZodLiteral<"sourcey.agent-readiness-offer-relation-input/v1alpha1">;
1065
- agent_readiness_profile_id: z.ZodString;
1066
- offer_id: z.ZodString;
1067
- purpose: z.ZodEnum<{
1068
- application_path: "application_path";
1069
- operating_path: "operating_path";
1070
- redemption_path: "redemption_path";
1071
- }>;
1072
- applicable_stages: z.ZodArray<z.ZodEnum<{
1073
- evaluate: "evaluate";
1074
- operate: "operate";
1075
- pay: "pay";
1076
- provision: "provision";
1077
- sign_up: "sign_up";
1078
- }>>;
1079
- effective_from: z.ZodISODateTime;
1080
- effective_until: z.ZodOptional<z.ZodISODateTime>;
1081
- declaration_revision_digest: z.ZodString;
1082
- offer_relation_proposal_id: z.ZodString;
1083
- admitted_offer_revision_digest: z.ZodString;
1084
- }, z.core.$strict>>;
1085
- authority_entity_revision: z.ZodObject<{
1086
- revision_contract: z.ZodLiteral<"sourcey.entity-revision/v1alpha1">;
1087
- entity_id: z.ZodString;
1088
- content: z.ZodObject<{
1089
- name: z.ZodString;
1090
- summary: z.ZodOptional<z.ZodString>;
1091
- description: z.ZodString;
1092
- domains: z.ZodArray<z.ZodObject<{
1093
- value: z.ZodString;
1094
- role: z.ZodEnum<{
1095
- alias: "alias";
1096
- primary: "primary";
1097
- }>;
1098
- valid_from: z.ZodISODateTime;
1099
- valid_until: z.ZodOptional<z.ZodISODateTime>;
1100
- }, z.core.$strict>>;
1101
- category: z.ZodString;
1102
- links: z.ZodObject<{
1103
- site: z.ZodURL;
1104
- pricing: z.ZodOptional<z.ZodURL>;
1105
- }, z.core.$strict>;
1106
- }, z.core.$strict>;
1107
- revision_digest: z.ZodString;
1108
- }, z.core.$strict>;
1109
- authority_program_revision: z.ZodNullable<z.ZodObject<{
1110
- revision_contract: z.ZodLiteral<"sourcey.program-revision/v1alpha1">;
1111
- entity_id: z.ZodString;
1112
- program_id: z.ZodString;
1113
- content: z.ZodObject<{
1114
- title: z.ZodString;
1115
- summary: z.ZodOptional<z.ZodString>;
1116
- }, z.core.$strict>;
1117
- revision_digest: z.ZodString;
1118
- }, z.core.$strict>>;
1119
- capture_receipt_intent: z.ZodObject<{
1120
- receipt_digest: z.ZodString;
1121
- core: z.ZodObject<{
1122
- receipt_contract: z.ZodLiteral<"sourcey.capture-receipt/v1alpha1">;
1123
- issuer_id: z.ZodString;
1124
- operation_id: z.ZodString;
1125
- job_id: z.ZodString;
1126
- base_release_id: z.ZodString;
1127
- subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
1128
- subject_type: z.ZodLiteral<"entity">;
1129
- entity_id: z.ZodString;
1130
- revision_digest: z.ZodString;
1131
- }, z.core.$strict>, z.ZodObject<{
1132
- subject_type: z.ZodLiteral<"program">;
1133
- entity_id: z.ZodString;
1134
- program_id: z.ZodString;
1135
- revision_digest: z.ZodString;
1136
- }, z.core.$strict>, z.ZodObject<{
1137
- subject_type: z.ZodLiteral<"offer">;
1138
- entity_id: z.ZodString;
1139
- program_id: z.ZodOptional<z.ZodString>;
1140
- offer_id: z.ZodString;
1141
- revision_digest: z.ZodString;
1142
- }, z.core.$strict>, z.ZodObject<{
1143
- subject_type: z.ZodLiteral<"agent_readiness_profile">;
1144
- entity_id: z.ZodString;
1145
- agent_readiness_profile_id: z.ZodString;
1146
- revision_digest: z.ZodString;
1147
- }, z.core.$strict>], "subject_type">;
1148
- authority_entity_revision_digest: z.ZodString;
1149
- authority_program_revision_digest: z.ZodNullable<z.ZodString>;
1150
- capture_policy_digest: z.ZodString;
1151
- review_decision: z.ZodObject<{
1152
- review_decision_contract: z.ZodLiteral<"sourcey.evidence-review-decision/v1alpha1">;
1153
- review_proposal_digest: z.ZodString;
1154
- decision_basis: z.ZodDiscriminatedUnion<[z.ZodObject<{
1155
- kind: z.ZodLiteral<"human">;
1156
- actor_id: z.ZodString;
1157
- }, z.core.$strict>, z.ZodObject<{
1158
- kind: z.ZodLiteral<"policy">;
1159
- policy_id: z.ZodString;
1160
- policy_digest: z.ZodString;
1161
- evaluator_id: z.ZodString;
1162
- evaluator_digest: z.ZodString;
1163
- input_digest: z.ZodString;
1164
- execution_receipt_digest: z.ZodString;
1165
- }, z.core.$strict>], "kind">;
1166
- decision: z.ZodEnum<{
1167
- approved: "approved";
1168
- rejected: "rejected";
1169
- }>;
1170
- decided_at: z.ZodISODateTime;
1171
- rationale: z.ZodNullable<z.ZodString>;
1172
- decision_digest: z.ZodString;
1173
- }, z.core.$strict>;
1174
- capture: z.ZodObject<{
1175
- subject_source_url: z.ZodURL;
1176
- requested_url: z.ZodURL;
1177
- final_url: z.ZodURL;
1178
- redirect_chain: z.ZodArray<z.ZodObject<{
1179
- status: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<303>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
1180
- from: z.ZodURL;
1181
- to: z.ZodURL;
1182
- }, z.core.$strict>>;
1183
- retrieved_at: z.ZodISODateTime;
1184
- method: z.ZodEnum<{
1185
- archive: "archive";
1186
- headless: "headless";
1187
- http: "http";
1188
- manual: "manual";
1189
- }>;
1190
- response_status_code: z.ZodNumber;
1191
- media_type: z.ZodString;
1192
- digest: z.ZodString;
1193
- availability: z.ZodEnum<{
1194
- public: "public";
1195
- restricted: "restricted";
1196
- }>;
1197
- artifact_scope: z.ZodOptional<z.ZodEnum<{
1198
- complete_document: "complete_document";
1199
- document_excerpt: "document_excerpt";
1200
- }>>;
1201
- source_content: z.ZodOptional<z.ZodObject<{
1202
- digest: z.ZodString;
1203
- bytes: z.ZodNumber;
1204
- media_type: z.ZodString;
1205
- normalized_digest: z.ZodString;
1206
- normalized_bytes: z.ZodNumber;
1207
- }, z.core.$strict>>;
1208
- bytes: z.ZodNumber;
1209
- }, z.core.$strict>;
1210
- issued_at: z.ZodISODateTime;
1211
- }, z.core.$strict>;
1212
- }, z.core.$strict>;
1213
- observations: z.ZodArray<z.ZodObject<{
1214
- observation_contract: z.ZodLiteral<"sourcey.observation/v1alpha1">;
1215
- source_id: z.ZodString;
1216
- source_uri: z.ZodURL;
1217
- retrieved_at: z.ZodISODateTime;
1218
- method: z.ZodObject<{
1219
- name: z.ZodString;
1220
- version: z.ZodString;
1221
- }, z.core.$strict>;
1222
- outcome: z.ZodEnum<{
1223
- "contradicts-candidate": "contradicts-candidate";
1224
- error: "error";
1225
- "supports-candidate": "supports-candidate";
1226
- unreachable: "unreachable";
1227
- }>;
1228
- capture: z.ZodOptional<z.ZodObject<{
1229
- digest: z.ZodString;
1230
- bytes: z.ZodNumber;
1231
- media_type: z.ZodString;
1232
- availability: z.ZodEnum<{
1233
- "private-receipt": "private-receipt";
1234
- public: "public";
1235
- }>;
1236
- requested_uri: z.ZodOptional<z.ZodURL>;
1237
- final_uri: z.ZodOptional<z.ZodURL>;
1238
- redirect_chain: z.ZodOptional<z.ZodArray<z.ZodObject<{
1239
- status: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<303>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
1240
- from: z.ZodURL;
1241
- to: z.ZodURL;
1242
- }, z.core.$strict>>>;
1243
- source_standing: z.ZodOptional<z.ZodEnum<{
1244
- "archived-first-party": "archived-first-party";
1245
- "archived-third-party": "archived-third-party";
1246
- "live-first-party": "live-first-party";
1247
- "live-third-party": "live-third-party";
1248
- "manual-first-party": "manual-first-party";
1249
- "manual-third-party": "manual-third-party";
1250
- }>>;
1251
- normalized_object: z.ZodOptional<z.ZodObject<{
1252
- digest: z.ZodString;
1253
- bytes: z.ZodNumber;
1254
- media_type: z.ZodLiteral<"text/plain; charset=utf-8">;
1255
- normalizer_contract: z.ZodLiteral<"sourcey.evidence-normalizer/v1alpha1">;
1256
- normalizer_id: z.ZodString;
1257
- version: z.ZodString;
1258
- toolchain_digest: z.ZodString;
1259
- }, z.core.$strict>>;
1260
- artifact_scope: z.ZodOptional<z.ZodEnum<{
1261
- complete_document: "complete_document";
1262
- document_excerpt: "document_excerpt";
1263
- }>>;
1264
- source_content: z.ZodOptional<z.ZodObject<{
1265
- digest: z.ZodString;
1266
- bytes: z.ZodNumber;
1267
- media_type: z.ZodString;
1268
- normalized_digest: z.ZodString;
1269
- normalized_bytes: z.ZodNumber;
1270
- }, z.core.$strict>>;
1271
- }, z.core.$strict>>;
1272
- no_capture_reason: z.ZodOptional<z.ZodEnum<{
1273
- "access-denied": "access-denied";
1274
- "connect-timeout": "connect-timeout";
1275
- "dns-failure": "dns-failure";
1276
- "empty-response": "empty-response";
1277
- "extractor-error": "extractor-error";
1278
- "policy-blocked": "policy-blocked";
1279
- "tls-failure": "tls-failure";
1280
- }>>;
1281
- observation_id: z.ZodString;
1282
- }, z.core.$strict>>;
1283
- event_intents: z.ZodArray<z.ZodObject<{
1284
- event_id: z.ZodString;
1285
- core: z.ZodObject<{
1286
- event_contract: z.ZodLiteral<"sourcey.catalog-event/v1alpha1">;
1287
- kind: z.ZodEnum<{
1288
- "agent-readiness-profile.merged": "agent-readiness-profile.merged";
1289
- "agent-readiness-profile.reparented": "agent-readiness-profile.reparented";
1290
- "agent-readiness-profile.retired": "agent-readiness-profile.retired";
1291
- "asset.bound": "asset.bound";
1292
- "asset.takedown-ordered": "asset.takedown-ordered";
1293
- "asset.withdrawn": "asset.withdrawn";
1294
- "assurance.revoked": "assurance.revoked";
1295
- "attestation.revoked": "attestation.revoked";
1296
- "authority.claimed": "authority.claimed";
1297
- "authority.rechecked": "authority.rechecked";
1298
- "authority.revoked": "authority.revoked";
1299
- "authority.superseded": "authority.superseded";
1300
- "discrepancy.resolved": "discrepancy.resolved";
1301
- "dispute.opened": "dispute.opened";
1302
- "dispute.resolved": "dispute.resolved";
1303
- "entity.identity-checked": "entity.identity-checked";
1304
- "entity.merged": "entity.merged";
1305
- "entity.split": "entity.split";
1306
- "entity.succeeded": "entity.succeeded";
1307
- "evidence.bound": "evidence.bound";
1308
- "evidence.retracted": "evidence.retracted";
1309
- "freshness.exception-granted": "freshness.exception-granted";
1310
- "freshness.exception-revoked": "freshness.exception-revoked";
1311
- "identity.transition-superseded": "identity.transition-superseded";
1312
- "offer.merged": "offer.merged";
1313
- "offer.reparented": "offer.reparented";
1314
- "offer.retired": "offer.retired";
1315
- "offer.terms-checked": "offer.terms-checked";
1316
- "program.merged": "program.merged";
1317
- "program.reparented": "program.reparented";
1318
- "program.retired": "program.retired";
1319
- "subject.attested": "subject.attested";
1320
- "verification.completed": "verification.completed";
1321
- }>;
1322
- issuer_id: z.ZodString;
1323
- operation_id: z.ZodString;
1324
- subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
1325
- subject_type: z.ZodLiteral<"entity">;
1326
- entity_id: z.ZodString;
1327
- revision_digest: z.ZodOptional<z.ZodString>;
1328
- }, z.core.$strict>, z.ZodObject<{
1329
- subject_type: z.ZodLiteral<"agent_readiness_profile">;
1330
- entity_id: z.ZodString;
1331
- agent_readiness_profile_id: z.ZodString;
1332
- revision_digest: z.ZodOptional<z.ZodString>;
1333
- }, z.core.$strict>, z.ZodObject<{
1334
- subject_type: z.ZodLiteral<"program">;
1335
- entity_id: z.ZodString;
1336
- program_id: z.ZodString;
1337
- revision_digest: z.ZodOptional<z.ZodString>;
1338
- }, z.core.$strict>, z.ZodObject<{
1339
- subject_type: z.ZodLiteral<"offer">;
1340
- entity_id: z.ZodString;
1341
- program_id: z.ZodOptional<z.ZodString>;
1342
- offer_id: z.ZodString;
1343
- revision_digest: z.ZodOptional<z.ZodString>;
1344
- }, z.core.$strict>], "subject_type">;
1345
- occurred_at: z.ZodISODateTime;
1346
- payload: z.ZodUnknown;
1347
- }, z.core.$strict>;
1348
- }, z.core.$strict>>;
1349
- }, z.core.$strict>;
8
+ import { type EntityRevision, type ListingRevision, type ProgramRevision } from "../../../contracts/revisions/src/index.js";
1350
9
  export declare const evidenceCatalogProposalSchema: z.ZodObject<{
1351
10
  catalog_proposal_contract: z.ZodLiteral<"sourcey.evidence-catalog-proposal/v1alpha1">;
1352
11
  materialized_at: z.ZodISODateTime;
@@ -1423,7 +82,7 @@ export declare const evidenceCatalogProposalSchema: z.ZodObject<{
1423
82
  normalizer_contract: z.ZodLiteral<"sourcey.evidence-normalizer/v1alpha1">;
1424
83
  normalizer_id: z.ZodLiteral<"sourcey-deterministic-content">;
1425
84
  version: z.ZodLiteral<"1">;
1426
- toolchain_digest: z.ZodString;
85
+ toolchain_digest: z.ZodLiteral<`sha256:${string}`>;
1427
86
  object_digest: z.ZodString;
1428
87
  }, z.core.$strict>;
1429
88
  assertions: z.ZodArray<z.ZodObject<{
@@ -1624,6 +283,10 @@ export declare const evidenceCatalogProposalSchema: z.ZodObject<{
1624
283
  }, z.core.$strict>, z.ZodObject<{
1625
284
  kind: z.ZodLiteral<"at-least">;
1626
285
  value: z.ZodString;
286
+ }, z.core.$strict>, z.ZodObject<{
287
+ kind: z.ZodLiteral<"range">;
288
+ minimum: z.ZodString;
289
+ maximum: z.ZodString;
1627
290
  }, z.core.$strict>], "kind">>;
1628
291
  }, z.core.$strict>, z.ZodObject<{
1629
292
  benefit_id: z.ZodString;
@@ -1653,6 +316,10 @@ export declare const evidenceCatalogProposalSchema: z.ZodObject<{
1653
316
  }, z.core.$strict>, z.ZodObject<{
1654
317
  kind: z.ZodLiteral<"at-least">;
1655
318
  value: z.ZodString;
319
+ }, z.core.$strict>, z.ZodObject<{
320
+ kind: z.ZodLiteral<"range">;
321
+ minimum: z.ZodString;
322
+ maximum: z.ZodString;
1656
323
  }, z.core.$strict>], "kind">>;
1657
324
  }, z.core.$strict>, z.ZodObject<{
1658
325
  benefit_id: z.ZodString;
@@ -1715,6 +382,10 @@ export declare const evidenceCatalogProposalSchema: z.ZodObject<{
1715
382
  }, z.core.$strict>, z.ZodObject<{
1716
383
  kind: z.ZodLiteral<"at-least">;
1717
384
  value: z.ZodString;
385
+ }, z.core.$strict>, z.ZodObject<{
386
+ kind: z.ZodLiteral<"range">;
387
+ minimum: z.ZodString;
388
+ maximum: z.ZodString;
1718
389
  }, z.core.$strict>], "kind">>;
1719
390
  }, z.core.$strict>, z.ZodObject<{
1720
391
  benefit_id: z.ZodString;
@@ -1735,6 +406,10 @@ export declare const evidenceCatalogProposalSchema: z.ZodObject<{
1735
406
  }, z.core.$strict>, z.ZodObject<{
1736
407
  kind: z.ZodLiteral<"at-least">;
1737
408
  value: z.ZodString;
409
+ }, z.core.$strict>, z.ZodObject<{
410
+ kind: z.ZodLiteral<"range">;
411
+ minimum: z.ZodString;
412
+ maximum: z.ZodString;
1738
413
  }, z.core.$strict>], "kind">>;
1739
414
  }, z.core.$strict>, z.ZodObject<{
1740
415
  benefit_id: z.ZodString;
@@ -1772,656 +447,7 @@ export declare const evidenceCatalogProposalSchema: z.ZodObject<{
1772
447
  terms_url: z.ZodOptional<z.ZodURL>;
1773
448
  }, z.core.$strict>;
1774
449
  revision_digest: z.ZodString;
1775
- }, z.core.$strict>, z.ZodObject<{
1776
- agent_readiness_profile_id: z.ZodString;
1777
- entity_id: z.ZodString;
1778
- scope: z.ZodObject<{
1779
- product: z.ZodObject<{
1780
- key: z.ZodString;
1781
- name: z.ZodString;
1782
- }, z.core.$strict>;
1783
- funnel: z.ZodObject<{
1784
- key: z.ZodString;
1785
- name: z.ZodString;
1786
- }, z.core.$strict>;
1787
- }, z.core.$strict>;
1788
- catalog_binding: z.ZodObject<{
1789
- base_release_id: z.ZodString;
1790
- entity_revision_digest: z.ZodString;
1791
- }, z.core.$strict>;
1792
- declaration_revision_digest: z.ZodString;
1793
- declaration: z.ZodDiscriminatedUnion<[z.ZodObject<{
1794
- status: z.ZodLiteral<"none">;
1795
- }, z.core.$strict>, z.ZodObject<{
1796
- declaration_id: z.ZodString;
1797
- provenance: z.ZodUnion<readonly [z.ZodObject<{
1798
- repository: z.ZodLiteral<"sourcey/agent-ready-services">;
1799
- commit: z.ZodString;
1800
- path: z.ZodString;
1801
- git_blob_oid: z.ZodString;
1802
- blob_digest: z.ZodString;
1803
- }, z.core.$strict>, z.ZodObject<{
1804
- source: z.ZodLiteral<"sourcey">;
1805
- path: z.ZodString;
1806
- blob_digest: z.ZodString;
1807
- }, z.core.$strict>]>;
1808
- status: z.ZodEnum<{
1809
- community_declared: "community_declared";
1810
- entity_attested: "entity_attested";
1811
- }>;
1812
- }, z.core.$strict>], "status">;
1813
- lifecycle: z.ZodEnum<{
1814
- active: "active";
1815
- ended: "ended";
1816
- withdrawn: "withdrawn";
1817
- }>;
1818
- effective_from: z.ZodISODateTime;
1819
- effective_until: z.ZodOptional<z.ZodISODateTime>;
1820
- signals: z.ZodArray<z.ZodObject<{
1821
- stage: z.ZodEnum<{
1822
- evaluate: "evaluate";
1823
- operate: "operate";
1824
- pay: "pay";
1825
- provision: "provision";
1826
- sign_up: "sign_up";
1827
- }>;
1828
- signal_code: z.ZodString;
1829
- selector_group_id: z.ZodString;
1830
- value: z.ZodEnum<{
1831
- no: "no";
1832
- not_applicable: "not_applicable";
1833
- partial: "partial";
1834
- unknown: "unknown";
1835
- yes: "yes";
1836
- }>;
1837
- observed_at: z.ZodISODateTime;
1838
- tested_surfaces: z.ZodArray<z.ZodObject<{
1839
- node_kind: z.ZodEnum<{
1840
- endpoint: "endpoint";
1841
- interface: "interface";
1842
- resource: "resource";
1843
- surface_exclusion: "surface_exclusion";
1844
- }>;
1845
- node_id: z.ZodString;
1846
- }, z.core.$strict>>;
1847
- assessment_method: z.ZodObject<{
1848
- name: z.ZodString;
1849
- version: z.ZodString;
1850
- method_digest: z.ZodString;
1851
- }, z.core.$strict>;
1852
- determination_bases: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1853
- captures: z.ZodArray<z.ZodObject<{
1854
- retained_capture_digest: z.ZodString;
1855
- capture_rung: z.ZodEnum<{
1856
- archive: "archive";
1857
- headless: "headless";
1858
- http: "http";
1859
- manual: "manual";
1860
- }>;
1861
- }, z.core.$strict>>;
1862
- artifact_digests: z.ZodArray<z.ZodString>;
1863
- kind: z.ZodLiteral<"direct_observation">;
1864
- locators: z.ZodArray<z.ZodObject<{
1865
- artifact_digest: z.ZodString;
1866
- start_byte: z.ZodNumber;
1867
- end_byte: z.ZodNumber;
1868
- value_digest: z.ZodString;
1869
- }, z.core.$strict>>;
1870
- }, z.core.$strict>, z.ZodObject<{
1871
- captures: z.ZodArray<z.ZodObject<{
1872
- retained_capture_digest: z.ZodString;
1873
- capture_rung: z.ZodEnum<{
1874
- archive: "archive";
1875
- headless: "headless";
1876
- http: "http";
1877
- manual: "manual";
1878
- }>;
1879
- }, z.core.$strict>>;
1880
- artifact_digests: z.ZodArray<z.ZodString>;
1881
- kind: z.ZodLiteral<"service_exchange">;
1882
- endpoint_id: z.ZodString;
1883
- assessment_target_id: z.ZodString;
1884
- source_observation_digest: z.ZodString;
1885
- approved_request: z.ZodObject<{
1886
- source_url: z.ZodURL;
1887
- request: z.ZodObject<{
1888
- method: z.ZodLiteral<"GET">;
1889
- target_url: z.ZodOptional<z.ZodURL>;
1890
- headers: z.ZodArray<z.ZodObject<{
1891
- name: z.ZodString;
1892
- value: z.ZodString;
1893
- }, z.core.$strict>>;
1894
- success_assertions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1895
- pointer: z.ZodString;
1896
- equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1897
- }, z.core.$strict>>>;
1898
- }, z.core.$strict>;
1899
- }, z.core.$strict>;
1900
- response_status_code: z.ZodNumber;
1901
- response_content_digest: z.ZodString;
1902
- }, z.core.$strict>, z.ZodObject<{
1903
- captures: z.ZodArray<z.ZodObject<{
1904
- retained_capture_digest: z.ZodString;
1905
- capture_rung: z.ZodEnum<{
1906
- archive: "archive";
1907
- headless: "headless";
1908
- http: "http";
1909
- manual: "manual";
1910
- }>;
1911
- }, z.core.$strict>>;
1912
- artifact_digests: z.ZodArray<z.ZodString>;
1913
- kind: z.ZodLiteral<"bounded_absence">;
1914
- coverage_scope: z.ZodEnum<{
1915
- exact_funnel: "exact_funnel";
1916
- exact_resource: "exact_resource";
1917
- tested_surfaces: "tested_surfaces";
1918
- }>;
1919
- covered_surfaces: z.ZodArray<z.ZodObject<{
1920
- node_kind: z.ZodEnum<{
1921
- endpoint: "endpoint";
1922
- interface: "interface";
1923
- resource: "resource";
1924
- surface_exclusion: "surface_exclusion";
1925
- }>;
1926
- node_id: z.ZodString;
1927
- }, z.core.$strict>>;
1928
- covered_branches: z.ZodNumber;
1929
- }, z.core.$strict>, z.ZodObject<{
1930
- captures: z.ZodArray<z.ZodObject<{
1931
- retained_capture_digest: z.ZodString;
1932
- capture_rung: z.ZodEnum<{
1933
- archive: "archive";
1934
- headless: "headless";
1935
- http: "http";
1936
- manual: "manual";
1937
- }>;
1938
- }, z.core.$strict>>;
1939
- artifact_digests: z.ZodArray<z.ZodString>;
1940
- kind: z.ZodLiteral<"explicit_first_party_declaration">;
1941
- source_surface: z.ZodObject<{
1942
- node_kind: z.ZodEnum<{
1943
- endpoint: "endpoint";
1944
- interface: "interface";
1945
- resource: "resource";
1946
- surface_exclusion: "surface_exclusion";
1947
- }>;
1948
- node_id: z.ZodString;
1949
- }, z.core.$strict>;
1950
- locators: z.ZodArray<z.ZodObject<{
1951
- artifact_digest: z.ZodString;
1952
- start_byte: z.ZodNumber;
1953
- end_byte: z.ZodNumber;
1954
- value_digest: z.ZodString;
1955
- }, z.core.$strict>>;
1956
- }, z.core.$strict>, z.ZodObject<{
1957
- kind: z.ZodLiteral<"standard_requirement">;
1958
- adapter_digest: z.ZodString;
1959
- evidence_record_digest: z.ZodString;
1960
- requirement: z.ZodObject<{
1961
- namespace: z.ZodString;
1962
- version: z.ZodString;
1963
- requirement_id: z.ZodString;
1964
- relation: z.ZodEnum<{
1965
- "informational-reference": "informational-reference";
1966
- tests: "tests";
1967
- }>;
1968
- }, z.core.$strict>;
1969
- artifact_digests: z.ZodArray<z.ZodString>;
1970
- }, z.core.$strict>, z.ZodObject<{
1971
- kind: z.ZodLiteral<"certification_receipt">;
1972
- certification_receipt_digest: z.ZodString;
1973
- }, z.core.$strict>], "kind">>;
1974
- note: z.ZodOptional<z.ZodString>;
1975
- }, z.core.$strict>>;
1976
- revision_contract: z.ZodLiteral<"sourcey.agent-readiness-revision/v1alpha1">;
1977
- revision_digest: z.ZodString;
1978
450
  }, z.core.$strict>]>;
1979
- agent_readiness_profile_input: z.ZodNullable<z.ZodObject<{
1980
- agent_readiness_profile_id: z.ZodString;
1981
- entity_id: z.ZodString;
1982
- scope: z.ZodObject<{
1983
- product: z.ZodObject<{
1984
- key: z.ZodString;
1985
- name: z.ZodString;
1986
- }, z.core.$strict>;
1987
- funnel: z.ZodObject<{
1988
- key: z.ZodString;
1989
- name: z.ZodString;
1990
- }, z.core.$strict>;
1991
- }, z.core.$strict>;
1992
- catalog_binding: z.ZodObject<{
1993
- base_release_id: z.ZodString;
1994
- entity_revision_digest: z.ZodString;
1995
- }, z.core.$strict>;
1996
- declaration_revision_digest: z.ZodString;
1997
- declaration: z.ZodDiscriminatedUnion<[z.ZodObject<{
1998
- status: z.ZodLiteral<"none">;
1999
- }, z.core.$strict>, z.ZodObject<{
2000
- declaration_id: z.ZodString;
2001
- provenance: z.ZodUnion<readonly [z.ZodObject<{
2002
- repository: z.ZodLiteral<"sourcey/agent-ready-services">;
2003
- commit: z.ZodString;
2004
- path: z.ZodString;
2005
- git_blob_oid: z.ZodString;
2006
- blob_digest: z.ZodString;
2007
- }, z.core.$strict>, z.ZodObject<{
2008
- source: z.ZodLiteral<"sourcey">;
2009
- path: z.ZodString;
2010
- blob_digest: z.ZodString;
2011
- }, z.core.$strict>]>;
2012
- status: z.ZodEnum<{
2013
- community_declared: "community_declared";
2014
- entity_attested: "entity_attested";
2015
- }>;
2016
- }, z.core.$strict>], "status">;
2017
- lifecycle: z.ZodEnum<{
2018
- active: "active";
2019
- ended: "ended";
2020
- withdrawn: "withdrawn";
2021
- }>;
2022
- effective_from: z.ZodISODateTime;
2023
- effective_until: z.ZodOptional<z.ZodISODateTime>;
2024
- signals: z.ZodArray<z.ZodObject<{
2025
- stage: z.ZodEnum<{
2026
- evaluate: "evaluate";
2027
- operate: "operate";
2028
- pay: "pay";
2029
- provision: "provision";
2030
- sign_up: "sign_up";
2031
- }>;
2032
- signal_code: z.ZodString;
2033
- selector_group_id: z.ZodString;
2034
- value: z.ZodEnum<{
2035
- no: "no";
2036
- not_applicable: "not_applicable";
2037
- partial: "partial";
2038
- unknown: "unknown";
2039
- yes: "yes";
2040
- }>;
2041
- observed_at: z.ZodISODateTime;
2042
- tested_surfaces: z.ZodArray<z.ZodObject<{
2043
- node_kind: z.ZodEnum<{
2044
- endpoint: "endpoint";
2045
- interface: "interface";
2046
- resource: "resource";
2047
- surface_exclusion: "surface_exclusion";
2048
- }>;
2049
- node_id: z.ZodString;
2050
- }, z.core.$strict>>;
2051
- assessment_method: z.ZodObject<{
2052
- name: z.ZodString;
2053
- version: z.ZodString;
2054
- method_digest: z.ZodString;
2055
- }, z.core.$strict>;
2056
- determination_bases: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2057
- captures: z.ZodArray<z.ZodObject<{
2058
- retained_capture_digest: z.ZodString;
2059
- capture_rung: z.ZodEnum<{
2060
- archive: "archive";
2061
- headless: "headless";
2062
- http: "http";
2063
- manual: "manual";
2064
- }>;
2065
- }, z.core.$strict>>;
2066
- artifact_digests: z.ZodArray<z.ZodString>;
2067
- kind: z.ZodLiteral<"direct_observation">;
2068
- locators: z.ZodArray<z.ZodObject<{
2069
- artifact_digest: z.ZodString;
2070
- start_byte: z.ZodNumber;
2071
- end_byte: z.ZodNumber;
2072
- value_digest: z.ZodString;
2073
- }, z.core.$strict>>;
2074
- }, z.core.$strict>, z.ZodObject<{
2075
- captures: z.ZodArray<z.ZodObject<{
2076
- retained_capture_digest: z.ZodString;
2077
- capture_rung: z.ZodEnum<{
2078
- archive: "archive";
2079
- headless: "headless";
2080
- http: "http";
2081
- manual: "manual";
2082
- }>;
2083
- }, z.core.$strict>>;
2084
- artifact_digests: z.ZodArray<z.ZodString>;
2085
- kind: z.ZodLiteral<"service_exchange">;
2086
- endpoint_id: z.ZodString;
2087
- assessment_target_id: z.ZodString;
2088
- source_observation_digest: z.ZodString;
2089
- approved_request: z.ZodObject<{
2090
- source_url: z.ZodURL;
2091
- request: z.ZodObject<{
2092
- method: z.ZodLiteral<"GET">;
2093
- target_url: z.ZodOptional<z.ZodURL>;
2094
- headers: z.ZodArray<z.ZodObject<{
2095
- name: z.ZodString;
2096
- value: z.ZodString;
2097
- }, z.core.$strict>>;
2098
- success_assertions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2099
- pointer: z.ZodString;
2100
- equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2101
- }, z.core.$strict>>>;
2102
- }, z.core.$strict>;
2103
- }, z.core.$strict>;
2104
- response_status_code: z.ZodNumber;
2105
- response_content_digest: z.ZodString;
2106
- }, z.core.$strict>, z.ZodObject<{
2107
- captures: z.ZodArray<z.ZodObject<{
2108
- retained_capture_digest: z.ZodString;
2109
- capture_rung: z.ZodEnum<{
2110
- archive: "archive";
2111
- headless: "headless";
2112
- http: "http";
2113
- manual: "manual";
2114
- }>;
2115
- }, z.core.$strict>>;
2116
- artifact_digests: z.ZodArray<z.ZodString>;
2117
- kind: z.ZodLiteral<"bounded_absence">;
2118
- coverage_scope: z.ZodEnum<{
2119
- exact_funnel: "exact_funnel";
2120
- exact_resource: "exact_resource";
2121
- tested_surfaces: "tested_surfaces";
2122
- }>;
2123
- covered_surfaces: z.ZodArray<z.ZodObject<{
2124
- node_kind: z.ZodEnum<{
2125
- endpoint: "endpoint";
2126
- interface: "interface";
2127
- resource: "resource";
2128
- surface_exclusion: "surface_exclusion";
2129
- }>;
2130
- node_id: z.ZodString;
2131
- }, z.core.$strict>>;
2132
- covered_branches: z.ZodNumber;
2133
- }, z.core.$strict>, z.ZodObject<{
2134
- captures: z.ZodArray<z.ZodObject<{
2135
- retained_capture_digest: z.ZodString;
2136
- capture_rung: z.ZodEnum<{
2137
- archive: "archive";
2138
- headless: "headless";
2139
- http: "http";
2140
- manual: "manual";
2141
- }>;
2142
- }, z.core.$strict>>;
2143
- artifact_digests: z.ZodArray<z.ZodString>;
2144
- kind: z.ZodLiteral<"explicit_first_party_declaration">;
2145
- source_surface: z.ZodObject<{
2146
- node_kind: z.ZodEnum<{
2147
- endpoint: "endpoint";
2148
- interface: "interface";
2149
- resource: "resource";
2150
- surface_exclusion: "surface_exclusion";
2151
- }>;
2152
- node_id: z.ZodString;
2153
- }, z.core.$strict>;
2154
- locators: z.ZodArray<z.ZodObject<{
2155
- artifact_digest: z.ZodString;
2156
- start_byte: z.ZodNumber;
2157
- end_byte: z.ZodNumber;
2158
- value_digest: z.ZodString;
2159
- }, z.core.$strict>>;
2160
- }, z.core.$strict>, z.ZodObject<{
2161
- kind: z.ZodLiteral<"standard_requirement">;
2162
- adapter_digest: z.ZodString;
2163
- evidence_record_digest: z.ZodString;
2164
- requirement: z.ZodObject<{
2165
- namespace: z.ZodString;
2166
- version: z.ZodString;
2167
- requirement_id: z.ZodString;
2168
- relation: z.ZodEnum<{
2169
- "informational-reference": "informational-reference";
2170
- tests: "tests";
2171
- }>;
2172
- }, z.core.$strict>;
2173
- artifact_digests: z.ZodArray<z.ZodString>;
2174
- }, z.core.$strict>, z.ZodObject<{
2175
- kind: z.ZodLiteral<"certification_receipt">;
2176
- certification_receipt_digest: z.ZodString;
2177
- }, z.core.$strict>], "kind">>;
2178
- note: z.ZodOptional<z.ZodString>;
2179
- }, z.core.$strict>>;
2180
- input_contract: z.ZodLiteral<"sourcey.agent-readiness-input/v1alpha1">;
2181
- evidence_bindings: z.ZodArray<z.ZodObject<{
2182
- stage: z.ZodEnum<{
2183
- evaluate: "evaluate";
2184
- operate: "operate";
2185
- pay: "pay";
2186
- provision: "provision";
2187
- sign_up: "sign_up";
2188
- }>;
2189
- signal_code: z.ZodString;
2190
- evidence_event_ids: z.ZodArray<z.ZodString>;
2191
- observation_ids: z.ZodArray<z.ZodString>;
2192
- }, z.core.$strict>>;
2193
- }, z.core.$strict>>;
2194
- agent_readiness_declaration_revision: z.ZodNullable<z.ZodObject<{
2195
- revision_contract: z.ZodLiteral<"sourcey.agent-readiness-declaration-revision/v1alpha1">;
2196
- entity_id: z.ZodString;
2197
- declaration: z.ZodObject<{
2198
- declaration_id: z.ZodString;
2199
- scope: z.ZodObject<{
2200
- product: z.ZodObject<{
2201
- key: z.ZodString;
2202
- name: z.ZodString;
2203
- }, z.core.$strict>;
2204
- funnel: z.ZodObject<{
2205
- key: z.ZodString;
2206
- name: z.ZodString;
2207
- }, z.core.$strict>;
2208
- }, z.core.$strict>;
2209
- assessment_targets: z.ZodArray<z.ZodObject<{
2210
- target_id: z.ZodString;
2211
- name: z.ZodString;
2212
- interface_ids: z.ZodArray<z.ZodString>;
2213
- }, z.core.$strict>>;
2214
- participants: z.ZodArray<z.ZodObject<{
2215
- participant_id: z.ZodString;
2216
- roles: z.ZodArray<z.ZodEnum<{
2217
- access_operator: "access_operator";
2218
- identity_provider: "identity_provider";
2219
- operations_provider: "operations_provider";
2220
- payment_provider: "payment_provider";
2221
- provisioning_provider: "provisioning_provider";
2222
- subject: "subject";
2223
- }>>;
2224
- identity: z.ZodUnion<readonly [z.ZodObject<{
2225
- entity_id: z.ZodString;
2226
- }, z.core.$strict>, z.ZodObject<{
2227
- origin_source_id: z.ZodString;
2228
- }, z.core.$strict>]>;
2229
- }, z.core.$strict>>;
2230
- resources: z.ZodArray<z.ZodObject<{
2231
- resource_id: z.ZodString;
2232
- uri: z.ZodURL;
2233
- roles: z.ZodArray<z.ZodEnum<{
2234
- access: "access";
2235
- authentication: "authentication";
2236
- checkout: "checkout";
2237
- descriptor: "descriptor";
2238
- discovery: "discovery";
2239
- documentation: "documentation";
2240
- eligibility: "eligibility";
2241
- operations: "operations";
2242
- policy: "policy";
2243
- pricing: "pricing";
2244
- provisioning: "provisioning";
2245
- recovery: "recovery";
2246
- status: "status";
2247
- terms: "terms";
2248
- }>>;
2249
- operated_by_participant_id: z.ZodString;
2250
- standard_bindings: z.ZodArray<z.ZodObject<{
2251
- namespace: z.ZodString;
2252
- version: z.ZodString;
2253
- relation: z.ZodEnum<{
2254
- declares: "declares";
2255
- describes: "describes";
2256
- implements: "implements";
2257
- uses: "uses";
2258
- }>;
2259
- }, z.core.$strict>>;
2260
- allowed_redirect_hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
2261
- }, z.core.$strict>>;
2262
- endpoints: z.ZodArray<z.ZodObject<{
2263
- endpoint_id: z.ZodString;
2264
- uri: z.ZodURL;
2265
- transport: z.ZodEnum<{
2266
- grpc: "grpc";
2267
- http: "http";
2268
- websocket: "websocket";
2269
- }>;
2270
- roles: z.ZodArray<z.ZodEnum<{
2271
- authorization: "authorization";
2272
- checkout: "checkout";
2273
- protected_resource: "protected_resource";
2274
- recovery: "recovery";
2275
- registration: "registration";
2276
- service: "service";
2277
- status: "status";
2278
- token: "token";
2279
- webhook: "webhook";
2280
- }>>;
2281
- operated_by_participant_id: z.ZodString;
2282
- standard_bindings: z.ZodArray<z.ZodObject<{
2283
- namespace: z.ZodString;
2284
- version: z.ZodString;
2285
- relation: z.ZodEnum<{
2286
- declares: "declares";
2287
- describes: "describes";
2288
- implements: "implements";
2289
- uses: "uses";
2290
- }>;
2291
- }, z.core.$strict>>;
2292
- allowed_redirect_hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
2293
- }, z.core.$strict>>;
2294
- interfaces: z.ZodArray<z.ZodObject<{
2295
- interface_id: z.ZodString;
2296
- modality: z.ZodEnum<{
2297
- agent_service: "agent_service";
2298
- command_line: "command_line";
2299
- network_api: "network_api";
2300
- software_library: "software_library";
2301
- tool_server: "tool_server";
2302
- web_application: "web_application";
2303
- }>;
2304
- functions: z.ZodArray<z.ZodEnum<{
2305
- authentication: "authentication";
2306
- commerce: "commerce";
2307
- events: "events";
2308
- recovery: "recovery";
2309
- service_operation: "service_operation";
2310
- }>>;
2311
- endpoint_ids: z.ZodArray<z.ZodString>;
2312
- resource_ids: z.ZodArray<z.ZodString>;
2313
- operated_by_participant_id: z.ZodString;
2314
- standard_bindings: z.ZodArray<z.ZodObject<{
2315
- namespace: z.ZodString;
2316
- version: z.ZodString;
2317
- relation: z.ZodEnum<{
2318
- declares: "declares";
2319
- describes: "describes";
2320
- implements: "implements";
2321
- uses: "uses";
2322
- }>;
2323
- }, z.core.$strict>>;
2324
- }, z.core.$strict>>;
2325
- relations: z.ZodArray<z.ZodObject<{
2326
- relation_id: z.ZodString;
2327
- kind: z.ZodEnum<{
2328
- alternative_to: "alternative_to";
2329
- authenticates: "authenticates";
2330
- describes: "describes";
2331
- precedes: "precedes";
2332
- requires: "requires";
2333
- }>;
2334
- from: z.ZodObject<{
2335
- node_kind: z.ZodEnum<{
2336
- endpoint: "endpoint";
2337
- interface: "interface";
2338
- resource: "resource";
2339
- surface_exclusion: "surface_exclusion";
2340
- }>;
2341
- node_id: z.ZodString;
2342
- }, z.core.$strict>;
2343
- to: z.ZodObject<{
2344
- node_kind: z.ZodEnum<{
2345
- endpoint: "endpoint";
2346
- interface: "interface";
2347
- resource: "resource";
2348
- surface_exclusion: "surface_exclusion";
2349
- }>;
2350
- node_id: z.ZodString;
2351
- }, z.core.$strict>;
2352
- }, z.core.$strict>>;
2353
- surface_exclusions: z.ZodArray<z.ZodObject<{
2354
- exclusion_id: z.ZodString;
2355
- role: z.ZodEnum<{
2356
- access: "access";
2357
- authentication: "authentication";
2358
- checkout: "checkout";
2359
- descriptor: "descriptor";
2360
- discovery: "discovery";
2361
- documentation: "documentation";
2362
- eligibility: "eligibility";
2363
- operations: "operations";
2364
- policy: "policy";
2365
- pricing: "pricing";
2366
- provisioning: "provisioning";
2367
- recovery: "recovery";
2368
- status: "status";
2369
- terms: "terms";
2370
- }>;
2371
- rationale: z.ZodString;
2372
- }, z.core.$strict>>;
2373
- authority_intent: z.ZodEnum<{
2374
- community: "community";
2375
- entity: "entity";
2376
- }>;
2377
- declared_at: z.ZodISODateTime;
2378
- source_bindings: z.ZodArray<z.ZodObject<{
2379
- source_binding_id: z.ZodString;
2380
- source_id: z.ZodString;
2381
- field_paths: z.ZodArray<z.ZodString>;
2382
- target: z.ZodObject<{
2383
- node_kind: z.ZodEnum<{
2384
- assessment_target: "assessment_target";
2385
- declaration: "declaration";
2386
- endpoint: "endpoint";
2387
- interface: "interface";
2388
- participant: "participant";
2389
- relation: "relation";
2390
- resource: "resource";
2391
- surface_exclusion: "surface_exclusion";
2392
- }>;
2393
- node_id: z.ZodString;
2394
- }, z.core.$strict>;
2395
- }, z.core.$strict>>;
2396
- }, z.core.$strict>;
2397
- sources: z.ZodArray<z.ZodObject<{
2398
- source_id: z.ZodString;
2399
- url: z.ZodURL;
2400
- }, z.core.$strict>>;
2401
- revision_digest: z.ZodString;
2402
- }, z.core.$strict>>;
2403
- agent_readiness_offer_relation_inputs: z.ZodArray<z.ZodObject<{
2404
- relation_input_contract: z.ZodLiteral<"sourcey.agent-readiness-offer-relation-input/v1alpha1">;
2405
- agent_readiness_profile_id: z.ZodString;
2406
- offer_id: z.ZodString;
2407
- purpose: z.ZodEnum<{
2408
- application_path: "application_path";
2409
- operating_path: "operating_path";
2410
- redemption_path: "redemption_path";
2411
- }>;
2412
- applicable_stages: z.ZodArray<z.ZodEnum<{
2413
- evaluate: "evaluate";
2414
- operate: "operate";
2415
- pay: "pay";
2416
- provision: "provision";
2417
- sign_up: "sign_up";
2418
- }>>;
2419
- effective_from: z.ZodISODateTime;
2420
- effective_until: z.ZodOptional<z.ZodISODateTime>;
2421
- declaration_revision_digest: z.ZodString;
2422
- offer_relation_proposal_id: z.ZodString;
2423
- admitted_offer_revision_digest: z.ZodString;
2424
- }, z.core.$strict>>;
2425
451
  authority_entity_revision: z.ZodObject<{
2426
452
  revision_contract: z.ZodLiteral<"sourcey.entity-revision/v1alpha1">;
2427
453
  entity_id: z.ZodString;
@@ -2456,100 +482,7 @@ export declare const evidenceCatalogProposalSchema: z.ZodObject<{
2456
482
  }, z.core.$strict>;
2457
483
  revision_digest: z.ZodString;
2458
484
  }, z.core.$strict>>;
2459
- capture_receipt_intent: z.ZodObject<{
2460
- receipt_digest: z.ZodString;
2461
- core: z.ZodObject<{
2462
- receipt_contract: z.ZodLiteral<"sourcey.capture-receipt/v1alpha1">;
2463
- issuer_id: z.ZodString;
2464
- operation_id: z.ZodString;
2465
- job_id: z.ZodString;
2466
- base_release_id: z.ZodString;
2467
- subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
2468
- subject_type: z.ZodLiteral<"entity">;
2469
- entity_id: z.ZodString;
2470
- revision_digest: z.ZodString;
2471
- }, z.core.$strict>, z.ZodObject<{
2472
- subject_type: z.ZodLiteral<"program">;
2473
- entity_id: z.ZodString;
2474
- program_id: z.ZodString;
2475
- revision_digest: z.ZodString;
2476
- }, z.core.$strict>, z.ZodObject<{
2477
- subject_type: z.ZodLiteral<"offer">;
2478
- entity_id: z.ZodString;
2479
- program_id: z.ZodOptional<z.ZodString>;
2480
- offer_id: z.ZodString;
2481
- revision_digest: z.ZodString;
2482
- }, z.core.$strict>, z.ZodObject<{
2483
- subject_type: z.ZodLiteral<"agent_readiness_profile">;
2484
- entity_id: z.ZodString;
2485
- agent_readiness_profile_id: z.ZodString;
2486
- revision_digest: z.ZodString;
2487
- }, z.core.$strict>], "subject_type">;
2488
- authority_entity_revision_digest: z.ZodString;
2489
- authority_program_revision_digest: z.ZodNullable<z.ZodString>;
2490
- capture_policy_digest: z.ZodString;
2491
- review_decision: z.ZodObject<{
2492
- review_decision_contract: z.ZodLiteral<"sourcey.evidence-review-decision/v1alpha1">;
2493
- review_proposal_digest: z.ZodString;
2494
- decision_basis: z.ZodDiscriminatedUnion<[z.ZodObject<{
2495
- kind: z.ZodLiteral<"human">;
2496
- actor_id: z.ZodString;
2497
- }, z.core.$strict>, z.ZodObject<{
2498
- kind: z.ZodLiteral<"policy">;
2499
- policy_id: z.ZodString;
2500
- policy_digest: z.ZodString;
2501
- evaluator_id: z.ZodString;
2502
- evaluator_digest: z.ZodString;
2503
- input_digest: z.ZodString;
2504
- execution_receipt_digest: z.ZodString;
2505
- }, z.core.$strict>], "kind">;
2506
- decision: z.ZodEnum<{
2507
- approved: "approved";
2508
- rejected: "rejected";
2509
- }>;
2510
- decided_at: z.ZodISODateTime;
2511
- rationale: z.ZodNullable<z.ZodString>;
2512
- decision_digest: z.ZodString;
2513
- }, z.core.$strict>;
2514
- capture: z.ZodObject<{
2515
- subject_source_url: z.ZodURL;
2516
- requested_url: z.ZodURL;
2517
- final_url: z.ZodURL;
2518
- redirect_chain: z.ZodArray<z.ZodObject<{
2519
- status: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<303>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
2520
- from: z.ZodURL;
2521
- to: z.ZodURL;
2522
- }, z.core.$strict>>;
2523
- retrieved_at: z.ZodISODateTime;
2524
- method: z.ZodEnum<{
2525
- archive: "archive";
2526
- headless: "headless";
2527
- http: "http";
2528
- manual: "manual";
2529
- }>;
2530
- response_status_code: z.ZodNumber;
2531
- media_type: z.ZodString;
2532
- digest: z.ZodString;
2533
- availability: z.ZodEnum<{
2534
- public: "public";
2535
- restricted: "restricted";
2536
- }>;
2537
- artifact_scope: z.ZodOptional<z.ZodEnum<{
2538
- complete_document: "complete_document";
2539
- document_excerpt: "document_excerpt";
2540
- }>>;
2541
- source_content: z.ZodOptional<z.ZodObject<{
2542
- digest: z.ZodString;
2543
- bytes: z.ZodNumber;
2544
- media_type: z.ZodString;
2545
- normalized_digest: z.ZodString;
2546
- normalized_bytes: z.ZodNumber;
2547
- }, z.core.$strict>>;
2548
- bytes: z.ZodNumber;
2549
- }, z.core.$strict>;
2550
- issued_at: z.ZodISODateTime;
2551
- }, z.core.$strict>;
2552
- }, z.core.$strict>;
485
+ capture_attestation_digest: z.ZodString;
2553
486
  observations: z.ZodArray<z.ZodObject<{
2554
487
  observation_contract: z.ZodLiteral<"sourcey.observation/v1alpha1">;
2555
488
  source_id: z.ZodString;
@@ -2625,6 +558,7 @@ export declare const evidenceCatalogProposalSchema: z.ZodObject<{
2625
558
  core: z.ZodObject<{
2626
559
  event_contract: z.ZodLiteral<"sourcey.catalog-event/v1alpha1">;
2627
560
  kind: z.ZodEnum<{
561
+ "agent-readiness-profile.admitted": "agent-readiness-profile.admitted";
2628
562
  "agent-readiness-profile.merged": "agent-readiness-profile.merged";
2629
563
  "agent-readiness-profile.reparented": "agent-readiness-profile.reparented";
2630
564
  "agent-readiness-profile.retired": "agent-readiness-profile.retired";
@@ -2690,34 +624,20 @@ export declare const evidenceCatalogProposalSchema: z.ZodObject<{
2690
624
  }, z.core.$strict>;
2691
625
  export type EvidenceCatalogProposal = z.infer<typeof evidenceCatalogProposalSchema>;
2692
626
  export declare function evidenceCatalogProposalRevisionDigests(input: EvidenceCatalogProposal | unknown): Digest[];
2693
- type Revision = EntityRevision | ProgramRevision | OfferRevision | AgentReadinessRevision;
2694
627
  export interface EvidenceAuthorityPolicy {
2695
- readonly captureReceiptIssuerId: string;
2696
628
  readonly evidenceEventIssuerId: string;
2697
629
  }
2698
- export type AgentReadinessRevisionCompiler = (input: AgentReadinessProfileInput) => AgentReadinessRevision;
2699
630
  export type { EvidenceCatalogView } from "../../catalog-read-port/src/index.js";
2700
631
  import type { EvidenceCatalogView } from "../../catalog-read-port/src/index.js";
2701
- export interface ValidatedEvidenceCatalogProposal {
632
+ interface ValidatedEvidenceCatalogProposal {
2702
633
  readonly proposal: EvidenceCatalogProposal;
2703
- readonly newCaptureReceiptIntent: EvidenceCatalogProposal["capture_receipt_intent"] | null;
634
+ /** Whether the release already carries the proposal's capture attestation. */
635
+ readonly existingCaptureAttestation: boolean;
2704
636
  readonly newObservations: readonly Observation[];
2705
637
  readonly newEventIntents: readonly CatalogEventIntent[];
2706
- readonly existingCaptureReceiptDigest: Digest | null;
2707
638
  readonly existingObservationIds: readonly Digest[];
2708
639
  readonly existingEventIds: readonly Digest[];
2709
640
  }
2710
- export interface PreparedEvidenceAuthorityIntents {
2711
- readonly materializedAt: string;
2712
- readonly reviewProposal: EvidenceReviewProposal;
2713
- readonly reviewDecision: EvidenceReviewDecision;
2714
- readonly subjectRevision: Revision;
2715
- readonly authorityEntityRevision: EntityRevision;
2716
- readonly authorityProgramRevision: ProgramRevision | null;
2717
- readonly captureReceiptIntent: EvidenceCatalogProposal["capture_receipt_intent"];
2718
- readonly observations: readonly Observation[];
2719
- readonly eventIntents: readonly CatalogEventIntent[];
2720
- }
2721
641
  export declare function createEvidenceReviewDecision(input: {
2722
642
  readonly reviewProposal: unknown;
2723
643
  readonly decisionBasis: DecisionBasis;
@@ -2728,43 +648,22 @@ export declare function createEvidenceReviewDecision(input: {
2728
648
  export declare function createEvidenceCatalogProposal(input: {
2729
649
  readonly reviewProposal: unknown;
2730
650
  readonly reviewDecision: unknown;
651
+ readonly attestedCapture: AttestedCapture;
2731
652
  readonly captureBytes: Uint8Array;
2732
653
  readonly normalizedBytes: Uint8Array;
2733
- readonly revision: Revision;
2734
- readonly agentReadinessProfileInput: AgentReadinessProfileInput | null;
2735
- readonly agentReadinessDeclarationRevision: AgentReadinessDeclarationRevision | null;
2736
- readonly agentReadinessOfferRelationInputs?: readonly AgentReadinessOfferRelationInput[];
2737
- readonly authorityEntityRevision: EntityRevision;
2738
- readonly authorityProgramRevision: ProgramRevision | null;
2739
- readonly materializedAt: string;
2740
- readonly policy: EvidenceAuthorityPolicy;
2741
- readonly agentReadinessRevisionCompiler?: AgentReadinessRevisionCompiler;
2742
- }): EvidenceCatalogProposal;
2743
- export declare function prepareEvidenceAuthorityIntents(input: {
2744
- readonly reviewProposal: unknown;
2745
- readonly reviewDecision: unknown;
2746
- readonly captureBytes: Uint8Array;
2747
- readonly normalizedBytes: Uint8Array;
2748
- readonly revision: Revision;
654
+ readonly revision: ListingRevision;
2749
655
  readonly authorityEntityRevision: EntityRevision;
2750
656
  readonly authorityProgramRevision: ProgramRevision | null;
2751
657
  readonly materializedAt: string;
2752
658
  readonly policy: EvidenceAuthorityPolicy;
2753
- }): PreparedEvidenceAuthorityIntents;
2754
- export declare function finalizeEvidenceCatalogProposal(input: {
2755
- readonly prepared: PreparedEvidenceAuthorityIntents;
2756
- readonly agentReadinessProfileInput: AgentReadinessProfileInput | null;
2757
- readonly agentReadinessDeclarationRevision: AgentReadinessDeclarationRevision | null;
2758
- readonly agentReadinessOfferRelationInputs?: readonly AgentReadinessOfferRelationInput[];
2759
- readonly agentReadinessRevisionCompiler?: AgentReadinessRevisionCompiler;
2760
659
  }): EvidenceCatalogProposal;
2761
660
  export declare function validateEvidenceCatalogProposal(input: {
2762
661
  readonly proposal: unknown;
662
+ readonly attestedCapture: AttestedCapture;
2763
663
  readonly captureBytes: Uint8Array;
2764
664
  readonly normalizedBytes: Uint8Array;
2765
665
  readonly catalog: EvidenceCatalogView;
2766
666
  readonly prospectiveRevisionDigests: ReadonlySet<string>;
2767
667
  readonly policy: EvidenceAuthorityPolicy;
2768
- readonly agentReadinessRevisionCompiler?: AgentReadinessRevisionCompiler;
2769
668
  }): ValidatedEvidenceCatalogProposal;
2770
669
  //# sourceMappingURL=evidence-authority.d.ts.map