@sourcey/catalog-verifier 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (402) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/LICENSE +21 -0
  3. package/README.md +64 -0
  4. package/SBOM.cdx.json +177 -0
  5. package/SECURITY.md +8 -0
  6. package/SOURCEY-CLOSURE.json +1559 -0
  7. package/SOURCEY-DISTRIBUTION.json +24 -0
  8. package/SOURCEY-LICENSE-POLICY.json +5 -0
  9. package/SOURCEY-TOOLCHAIN.json +8 -0
  10. package/SUPPORT.md +5 -0
  11. package/THIRD_PARTY_NOTICES.json +69 -0
  12. package/dist/contracts/agent-readiness/src/declaration-acquisition.d.ts +548 -0
  13. package/dist/contracts/agent-readiness/src/declaration-acquisition.d.ts.map +1 -0
  14. package/dist/contracts/agent-readiness/src/declaration-acquisition.js +159 -0
  15. package/dist/contracts/agent-readiness/src/declaration-acquisition.js.map +1 -0
  16. package/dist/contracts/agent-readiness/src/declaration-reference.d.ts +48 -0
  17. package/dist/contracts/agent-readiness/src/declaration-reference.d.ts.map +1 -0
  18. package/dist/contracts/agent-readiness/src/declaration-reference.js +42 -0
  19. package/dist/contracts/agent-readiness/src/declaration-reference.js.map +1 -0
  20. package/dist/contracts/agent-readiness/src/declaration.d.ts +1357 -0
  21. package/dist/contracts/agent-readiness/src/declaration.d.ts.map +1 -0
  22. package/dist/contracts/agent-readiness/src/declaration.js +659 -0
  23. package/dist/contracts/agent-readiness/src/declaration.js.map +1 -0
  24. package/dist/contracts/agent-readiness/src/evidence.d.ts +146 -0
  25. package/dist/contracts/agent-readiness/src/evidence.d.ts.map +1 -0
  26. package/dist/contracts/agent-readiness/src/evidence.js +154 -0
  27. package/dist/contracts/agent-readiness/src/evidence.js.map +1 -0
  28. package/dist/contracts/agent-readiness/src/index.d.ts +6487 -0
  29. package/dist/contracts/agent-readiness/src/index.d.ts.map +1 -0
  30. package/dist/contracts/agent-readiness/src/index.js +1487 -0
  31. package/dist/contracts/agent-readiness/src/index.js.map +1 -0
  32. package/dist/contracts/agent-readiness/src/interaction.d.ts +26 -0
  33. package/dist/contracts/agent-readiness/src/interaction.d.ts.map +1 -0
  34. package/dist/contracts/agent-readiness/src/interaction.js +24 -0
  35. package/dist/contracts/agent-readiness/src/interaction.js.map +1 -0
  36. package/dist/contracts/agent-readiness/src/method-pack.d.ts +391 -0
  37. package/dist/contracts/agent-readiness/src/method-pack.d.ts.map +1 -0
  38. package/dist/contracts/agent-readiness/src/method-pack.js +181 -0
  39. package/dist/contracts/agent-readiness/src/method-pack.js.map +1 -0
  40. package/dist/contracts/agent-readiness/src/shared.d.ts +119 -0
  41. package/dist/contracts/agent-readiness/src/shared.d.ts.map +1 -0
  42. package/dist/contracts/agent-readiness/src/shared.js +144 -0
  43. package/dist/contracts/agent-readiness/src/shared.js.map +1 -0
  44. package/dist/contracts/api/src/index.d.ts +48463 -0
  45. package/dist/contracts/api/src/index.d.ts.map +1 -0
  46. package/dist/contracts/api/src/index.js +1150 -0
  47. package/dist/contracts/api/src/index.js.map +1 -0
  48. package/dist/contracts/artifact/src/index.d.ts +1467 -0
  49. package/dist/contracts/artifact/src/index.d.ts.map +1 -0
  50. package/dist/contracts/artifact/src/index.js +325 -0
  51. package/dist/contracts/artifact/src/index.js.map +1 -0
  52. package/dist/contracts/assets/src/index.d.ts +1397 -0
  53. package/dist/contracts/assets/src/index.d.ts.map +1 -0
  54. package/dist/contracts/assets/src/index.js +560 -0
  55. package/dist/contracts/assets/src/index.js.map +1 -0
  56. package/dist/contracts/authoring/src/index.d.ts +1084 -0
  57. package/dist/contracts/authoring/src/index.d.ts.map +1 -0
  58. package/dist/contracts/authoring/src/index.js +211 -0
  59. package/dist/contracts/authoring/src/index.js.map +1 -0
  60. package/dist/contracts/authority/src/index.d.ts +135 -0
  61. package/dist/contracts/authority/src/index.d.ts.map +1 -0
  62. package/dist/contracts/authority/src/index.js +130 -0
  63. package/dist/contracts/authority/src/index.js.map +1 -0
  64. package/dist/contracts/billing/src/index.d.ts +587 -0
  65. package/dist/contracts/billing/src/index.d.ts.map +1 -0
  66. package/dist/contracts/billing/src/index.js +322 -0
  67. package/dist/contracts/billing/src/index.js.map +1 -0
  68. package/dist/contracts/catalog-verifier/src/index.d.ts +390 -0
  69. package/dist/contracts/catalog-verifier/src/index.d.ts.map +1 -0
  70. package/dist/contracts/catalog-verifier/src/index.js +222 -0
  71. package/dist/contracts/catalog-verifier/src/index.js.map +1 -0
  72. package/dist/contracts/commercial-work/src/index.d.ts +835 -0
  73. package/dist/contracts/commercial-work/src/index.d.ts.map +1 -0
  74. package/dist/contracts/commercial-work/src/index.js +510 -0
  75. package/dist/contracts/commercial-work/src/index.js.map +1 -0
  76. package/dist/contracts/events/src/index.d.ts +700 -0
  77. package/dist/contracts/events/src/index.d.ts.map +1 -0
  78. package/dist/contracts/events/src/index.js +553 -0
  79. package/dist/contracts/events/src/index.js.map +1 -0
  80. package/dist/contracts/evidence/src/index.d.ts +487 -0
  81. package/dist/contracts/evidence/src/index.d.ts.map +1 -0
  82. package/dist/contracts/evidence/src/index.js +342 -0
  83. package/dist/contracts/evidence/src/index.js.map +1 -0
  84. package/dist/contracts/feed/src/index.d.ts +159 -0
  85. package/dist/contracts/feed/src/index.d.ts.map +1 -0
  86. package/dist/contracts/feed/src/index.js +79 -0
  87. package/dist/contracts/feed/src/index.js.map +1 -0
  88. package/dist/contracts/funded-work/src/index.d.ts +64 -0
  89. package/dist/contracts/funded-work/src/index.d.ts.map +1 -0
  90. package/dist/contracts/funded-work/src/index.js +67 -0
  91. package/dist/contracts/funded-work/src/index.js.map +1 -0
  92. package/dist/contracts/observations/src/index.d.ts +134 -0
  93. package/dist/contracts/observations/src/index.d.ts.map +1 -0
  94. package/dist/contracts/observations/src/index.js +112 -0
  95. package/dist/contracts/observations/src/index.js.map +1 -0
  96. package/dist/contracts/policies/src/index.d.ts +151 -0
  97. package/dist/contracts/policies/src/index.d.ts.map +1 -0
  98. package/dist/contracts/policies/src/index.js +121 -0
  99. package/dist/contracts/policies/src/index.js.map +1 -0
  100. package/dist/contracts/publication/src/index.d.ts +4066 -0
  101. package/dist/contracts/publication/src/index.d.ts.map +1 -0
  102. package/dist/contracts/publication/src/index.js +535 -0
  103. package/dist/contracts/publication/src/index.js.map +1 -0
  104. package/dist/contracts/release/src/index.d.ts +2032 -0
  105. package/dist/contracts/release/src/index.d.ts.map +1 -0
  106. package/dist/contracts/release/src/index.js +252 -0
  107. package/dist/contracts/release/src/index.js.map +1 -0
  108. package/dist/contracts/revisions/src/index.d.ts +1405 -0
  109. package/dist/contracts/revisions/src/index.d.ts.map +1 -0
  110. package/dist/contracts/revisions/src/index.js +493 -0
  111. package/dist/contracts/revisions/src/index.js.map +1 -0
  112. package/dist/contracts/routes/src/index.d.ts +103 -0
  113. package/dist/contracts/routes/src/index.d.ts.map +1 -0
  114. package/dist/contracts/routes/src/index.js +163 -0
  115. package/dist/contracts/routes/src/index.js.map +1 -0
  116. package/dist/contracts/routes/src/public-route-allocations.generated.d.ts +2 -0
  117. package/dist/contracts/routes/src/public-route-allocations.generated.d.ts.map +1 -0
  118. package/dist/contracts/routes/src/public-route-allocations.generated.js +56 -0
  119. package/dist/contracts/routes/src/public-route-allocations.generated.js.map +1 -0
  120. package/dist/contracts/standards/src/index.d.ts +1482 -0
  121. package/dist/contracts/standards/src/index.d.ts.map +1 -0
  122. package/dist/contracts/standards/src/index.js +626 -0
  123. package/dist/contracts/standards/src/index.js.map +1 -0
  124. package/dist/contracts/taxonomy/src/index.d.ts +7 -0
  125. package/dist/contracts/taxonomy/src/index.d.ts.map +1 -0
  126. package/dist/contracts/taxonomy/src/index.js +25 -0
  127. package/dist/contracts/taxonomy/src/index.js.map +1 -0
  128. package/dist/modules/agent-readiness-policy/src/current-policy-metrics.d.ts +20 -0
  129. package/dist/modules/agent-readiness-policy/src/current-policy-metrics.d.ts.map +1 -0
  130. package/dist/modules/agent-readiness-policy/src/current-policy-metrics.js +604 -0
  131. package/dist/modules/agent-readiness-policy/src/current-policy-metrics.js.map +1 -0
  132. package/dist/modules/agent-readiness-policy/src/current-policy.d.ts +249 -0
  133. package/dist/modules/agent-readiness-policy/src/current-policy.d.ts.map +1 -0
  134. package/dist/modules/agent-readiness-policy/src/current-policy.js +470 -0
  135. package/dist/modules/agent-readiness-policy/src/current-policy.js.map +1 -0
  136. package/dist/modules/agent-readiness-policy/src/grading.d.ts +39 -0
  137. package/dist/modules/agent-readiness-policy/src/grading.d.ts.map +1 -0
  138. package/dist/modules/agent-readiness-policy/src/grading.js +40 -0
  139. package/dist/modules/agent-readiness-policy/src/grading.js.map +1 -0
  140. package/dist/modules/agent-readiness-policy/src/impact.d.ts +103 -0
  141. package/dist/modules/agent-readiness-policy/src/impact.d.ts.map +1 -0
  142. package/dist/modules/agent-readiness-policy/src/impact.js +249 -0
  143. package/dist/modules/agent-readiness-policy/src/impact.js.map +1 -0
  144. package/dist/modules/agent-readiness-policy/src/index.d.ts +811 -0
  145. package/dist/modules/agent-readiness-policy/src/index.d.ts.map +1 -0
  146. package/dist/modules/agent-readiness-policy/src/index.js +499 -0
  147. package/dist/modules/agent-readiness-policy/src/index.js.map +1 -0
  148. package/dist/modules/agent-readiness-policy/src/offer-relations.d.ts +12 -0
  149. package/dist/modules/agent-readiness-policy/src/offer-relations.d.ts.map +1 -0
  150. package/dist/modules/agent-readiness-policy/src/offer-relations.js +65 -0
  151. package/dist/modules/agent-readiness-policy/src/offer-relations.js.map +1 -0
  152. package/dist/modules/agent-readiness-policy/src/policy-validation.d.ts +4 -0
  153. package/dist/modules/agent-readiness-policy/src/policy-validation.d.ts.map +1 -0
  154. package/dist/modules/agent-readiness-policy/src/policy-validation.js +59 -0
  155. package/dist/modules/agent-readiness-policy/src/policy-validation.js.map +1 -0
  156. package/dist/modules/agent-readiness-policy/src/projection-lineage.d.ts +3 -0
  157. package/dist/modules/agent-readiness-policy/src/projection-lineage.d.ts.map +1 -0
  158. package/dist/modules/agent-readiness-policy/src/projection-lineage.js +12 -0
  159. package/dist/modules/agent-readiness-policy/src/projection-lineage.js.map +1 -0
  160. package/dist/modules/agent-readiness-policy/src/revision.d.ts +4 -0
  161. package/dist/modules/agent-readiness-policy/src/revision.d.ts.map +1 -0
  162. package/dist/modules/agent-readiness-policy/src/revision.js +46 -0
  163. package/dist/modules/agent-readiness-policy/src/revision.js.map +1 -0
  164. package/dist/modules/agent-readiness-policy/src/standard-mapping.d.ts +7 -0
  165. package/dist/modules/agent-readiness-policy/src/standard-mapping.d.ts.map +1 -0
  166. package/dist/modules/agent-readiness-policy/src/standard-mapping.js +13 -0
  167. package/dist/modules/agent-readiness-policy/src/standard-mapping.js.map +1 -0
  168. package/dist/modules/agent-readiness-policy/src/surface-selection.d.ts +36 -0
  169. package/dist/modules/agent-readiness-policy/src/surface-selection.d.ts.map +1 -0
  170. package/dist/modules/agent-readiness-policy/src/surface-selection.js +214 -0
  171. package/dist/modules/agent-readiness-policy/src/surface-selection.js.map +1 -0
  172. package/dist/modules/agent-readiness-repository/src/admission.d.ts +35 -0
  173. package/dist/modules/agent-readiness-repository/src/admission.d.ts.map +1 -0
  174. package/dist/modules/agent-readiness-repository/src/admission.js +56 -0
  175. package/dist/modules/agent-readiness-repository/src/admission.js.map +1 -0
  176. package/dist/modules/agent-readiness-repository/src/change.d.ts +62 -0
  177. package/dist/modules/agent-readiness-repository/src/change.d.ts.map +1 -0
  178. package/dist/modules/agent-readiness-repository/src/change.js +218 -0
  179. package/dist/modules/agent-readiness-repository/src/change.js.map +1 -0
  180. package/dist/modules/agent-readiness-repository/src/declaration-blob.d.ts +29 -0
  181. package/dist/modules/agent-readiness-repository/src/declaration-blob.d.ts.map +1 -0
  182. package/dist/modules/agent-readiness-repository/src/declaration-blob.js +126 -0
  183. package/dist/modules/agent-readiness-repository/src/declaration-blob.js.map +1 -0
  184. package/dist/modules/agent-readiness-repository/src/index.d.ts +102 -0
  185. package/dist/modules/agent-readiness-repository/src/index.d.ts.map +1 -0
  186. package/dist/modules/agent-readiness-repository/src/index.js +208 -0
  187. package/dist/modules/agent-readiness-repository/src/index.js.map +1 -0
  188. package/dist/modules/artifact/src/agent-readiness-closure.d.ts +24 -0
  189. package/dist/modules/artifact/src/agent-readiness-closure.d.ts.map +1 -0
  190. package/dist/modules/artifact/src/agent-readiness-closure.js +98 -0
  191. package/dist/modules/artifact/src/agent-readiness-closure.js.map +1 -0
  192. package/dist/modules/artifact/src/asset-closure.d.ts +12 -0
  193. package/dist/modules/artifact/src/asset-closure.d.ts.map +1 -0
  194. package/dist/modules/artifact/src/asset-closure.js +40 -0
  195. package/dist/modules/artifact/src/asset-closure.js.map +1 -0
  196. package/dist/modules/artifact/src/authoring-closure.d.ts +4 -0
  197. package/dist/modules/artifact/src/authoring-closure.d.ts.map +1 -0
  198. package/dist/modules/artifact/src/authoring-closure.js +19 -0
  199. package/dist/modules/artifact/src/authoring-closure.js.map +1 -0
  200. package/dist/modules/artifact/src/index.d.ts +46 -0
  201. package/dist/modules/artifact/src/index.d.ts.map +1 -0
  202. package/dist/modules/artifact/src/index.js +563 -0
  203. package/dist/modules/artifact/src/index.js.map +1 -0
  204. package/dist/modules/artifact/src/trust-history.d.ts +3 -0
  205. package/dist/modules/artifact/src/trust-history.d.ts.map +1 -0
  206. package/dist/modules/artifact/src/trust-history.js +134 -0
  207. package/dist/modules/artifact/src/trust-history.js.map +1 -0
  208. package/dist/modules/assets/src/authority-bundle.d.ts +36 -0
  209. package/dist/modules/assets/src/authority-bundle.d.ts.map +1 -0
  210. package/dist/modules/assets/src/authority-bundle.js +206 -0
  211. package/dist/modules/assets/src/authority-bundle.js.map +1 -0
  212. package/dist/modules/assets/src/delta.d.ts +18 -0
  213. package/dist/modules/assets/src/delta.d.ts.map +1 -0
  214. package/dist/modules/assets/src/delta.js +183 -0
  215. package/dist/modules/assets/src/delta.js.map +1 -0
  216. package/dist/modules/assets/src/disposition.d.ts +3 -0
  217. package/dist/modules/assets/src/disposition.d.ts.map +1 -0
  218. package/dist/modules/assets/src/disposition.js +30 -0
  219. package/dist/modules/assets/src/disposition.js.map +1 -0
  220. package/dist/modules/assets/src/index.d.ts +25 -0
  221. package/dist/modules/assets/src/index.d.ts.map +1 -0
  222. package/dist/modules/assets/src/index.js +234 -0
  223. package/dist/modules/assets/src/index.js.map +1 -0
  224. package/dist/modules/assets/src/ingestion.d.ts +69 -0
  225. package/dist/modules/assets/src/ingestion.d.ts.map +1 -0
  226. package/dist/modules/assets/src/ingestion.js +169 -0
  227. package/dist/modules/assets/src/ingestion.js.map +1 -0
  228. package/dist/modules/authority/src/index.d.ts +47 -0
  229. package/dist/modules/authority/src/index.d.ts.map +1 -0
  230. package/dist/modules/authority/src/index.js +349 -0
  231. package/dist/modules/authority/src/index.js.map +1 -0
  232. package/dist/modules/authority-state/src/index.d.ts +43 -0
  233. package/dist/modules/authority-state/src/index.d.ts.map +1 -0
  234. package/dist/modules/authority-state/src/index.js +194 -0
  235. package/dist/modules/authority-state/src/index.js.map +1 -0
  236. package/dist/modules/catalog-admission/src/admission-conflicts.d.ts +424 -0
  237. package/dist/modules/catalog-admission/src/admission-conflicts.d.ts.map +1 -0
  238. package/dist/modules/catalog-admission/src/admission-conflicts.js +369 -0
  239. package/dist/modules/catalog-admission/src/admission-conflicts.js.map +1 -0
  240. package/dist/modules/catalog-admission/src/index.d.ts +248 -0
  241. package/dist/modules/catalog-admission/src/index.d.ts.map +1 -0
  242. package/dist/modules/catalog-admission/src/index.js +601 -0
  243. package/dist/modules/catalog-admission/src/index.js.map +1 -0
  244. package/dist/modules/catalog-admission/src/machine-admission.d.ts +1273 -0
  245. package/dist/modules/catalog-admission/src/machine-admission.d.ts.map +1 -0
  246. package/dist/modules/catalog-admission/src/machine-admission.js +529 -0
  247. package/dist/modules/catalog-admission/src/machine-admission.js.map +1 -0
  248. package/dist/modules/catalog-admission/src/publication-assets.d.ts +5 -0
  249. package/dist/modules/catalog-admission/src/publication-assets.d.ts.map +1 -0
  250. package/dist/modules/catalog-admission/src/publication-assets.js +26 -0
  251. package/dist/modules/catalog-admission/src/publication-assets.js.map +1 -0
  252. package/dist/modules/catalog-admission/src/publication-dependencies.d.ts +96 -0
  253. package/dist/modules/catalog-admission/src/publication-dependencies.d.ts.map +1 -0
  254. package/dist/modules/catalog-admission/src/publication-dependencies.js +177 -0
  255. package/dist/modules/catalog-admission/src/publication-dependencies.js.map +1 -0
  256. package/dist/modules/catalog-admission/src/publication-entities.d.ts +9 -0
  257. package/dist/modules/catalog-admission/src/publication-entities.d.ts.map +1 -0
  258. package/dist/modules/catalog-admission/src/publication-entities.js +48 -0
  259. package/dist/modules/catalog-admission/src/publication-entities.js.map +1 -0
  260. package/dist/modules/catalog-admission/src/publication-recomposition.d.ts +42 -0
  261. package/dist/modules/catalog-admission/src/publication-recomposition.d.ts.map +1 -0
  262. package/dist/modules/catalog-admission/src/publication-recomposition.js +163 -0
  263. package/dist/modules/catalog-admission/src/publication-recomposition.js.map +1 -0
  264. package/dist/modules/catalog-admission/src/publication.d.ts +92 -0
  265. package/dist/modules/catalog-admission/src/publication.d.ts.map +1 -0
  266. package/dist/modules/catalog-admission/src/publication.js +605 -0
  267. package/dist/modules/catalog-admission/src/publication.js.map +1 -0
  268. package/dist/modules/catalog-admission/src/submission.d.ts +47 -0
  269. package/dist/modules/catalog-admission/src/submission.d.ts.map +1 -0
  270. package/dist/modules/catalog-admission/src/submission.js +289 -0
  271. package/dist/modules/catalog-admission/src/submission.js.map +1 -0
  272. package/dist/modules/catalog-authoring-validation/src/index.d.ts +46 -0
  273. package/dist/modules/catalog-authoring-validation/src/index.d.ts.map +1 -0
  274. package/dist/modules/catalog-authoring-validation/src/index.js +98 -0
  275. package/dist/modules/catalog-authoring-validation/src/index.js.map +1 -0
  276. package/dist/modules/catalog-model/src/index.d.ts +26 -0
  277. package/dist/modules/catalog-model/src/index.d.ts.map +1 -0
  278. package/dist/modules/catalog-model/src/index.js +80 -0
  279. package/dist/modules/catalog-model/src/index.js.map +1 -0
  280. package/dist/modules/cli/src/index.d.ts +10 -0
  281. package/dist/modules/cli/src/index.d.ts.map +1 -0
  282. package/dist/modules/cli/src/index.js +31 -0
  283. package/dist/modules/cli/src/index.js.map +1 -0
  284. package/dist/modules/compiler/src/index.d.ts +23 -0
  285. package/dist/modules/compiler/src/index.d.ts.map +1 -0
  286. package/dist/modules/compiler/src/index.js +75 -0
  287. package/dist/modules/compiler/src/index.js.map +1 -0
  288. package/dist/modules/evidence-operations/src/dependency-versions.d.ts +2 -0
  289. package/dist/modules/evidence-operations/src/dependency-versions.d.ts.map +1 -0
  290. package/dist/modules/evidence-operations/src/dependency-versions.js +17 -0
  291. package/dist/modules/evidence-operations/src/dependency-versions.js.map +1 -0
  292. package/dist/modules/evidence-operations/src/evidence-normalization.d.ts +111 -0
  293. package/dist/modules/evidence-operations/src/evidence-normalization.d.ts.map +1 -0
  294. package/dist/modules/evidence-operations/src/evidence-normalization.js +309 -0
  295. package/dist/modules/evidence-operations/src/evidence-normalization.js.map +1 -0
  296. package/dist/modules/evidence-operations/src/proof-graph.d.ts +22 -0
  297. package/dist/modules/evidence-operations/src/proof-graph.d.ts.map +1 -0
  298. package/dist/modules/evidence-operations/src/proof-graph.js +188 -0
  299. package/dist/modules/evidence-operations/src/proof-graph.js.map +1 -0
  300. package/dist/modules/evidence-operations/src/source-authority.d.ts +31 -0
  301. package/dist/modules/evidence-operations/src/source-authority.d.ts.map +1 -0
  302. package/dist/modules/evidence-operations/src/source-authority.js +60 -0
  303. package/dist/modules/evidence-operations/src/source-authority.js.map +1 -0
  304. package/dist/modules/evidence-operations/src/submission-verifier.d.ts +318 -0
  305. package/dist/modules/evidence-operations/src/submission-verifier.d.ts.map +1 -0
  306. package/dist/modules/evidence-operations/src/submission-verifier.js +392 -0
  307. package/dist/modules/evidence-operations/src/submission-verifier.js.map +1 -0
  308. package/dist/modules/evidence-operations/src/url-canonicalization.d.ts +3 -0
  309. package/dist/modules/evidence-operations/src/url-canonicalization.d.ts.map +1 -0
  310. package/dist/modules/evidence-operations/src/url-canonicalization.js +7 -0
  311. package/dist/modules/evidence-operations/src/url-canonicalization.js.map +1 -0
  312. package/dist/modules/primitives/src/index.d.ts +40 -0
  313. package/dist/modules/primitives/src/index.d.ts.map +1 -0
  314. package/dist/modules/primitives/src/index.js +154 -0
  315. package/dist/modules/primitives/src/index.js.map +1 -0
  316. package/dist/modules/provenance/src/evidence-bindings.d.ts +10 -0
  317. package/dist/modules/provenance/src/evidence-bindings.d.ts.map +1 -0
  318. package/dist/modules/provenance/src/evidence-bindings.js +49 -0
  319. package/dist/modules/provenance/src/evidence-bindings.js.map +1 -0
  320. package/dist/modules/provenance/src/evidence-coverage.d.ts +35 -0
  321. package/dist/modules/provenance/src/evidence-coverage.d.ts.map +1 -0
  322. package/dist/modules/provenance/src/evidence-coverage.js +131 -0
  323. package/dist/modules/provenance/src/evidence-coverage.js.map +1 -0
  324. package/dist/modules/provenance/src/index.d.ts +68 -0
  325. package/dist/modules/provenance/src/index.d.ts.map +1 -0
  326. package/dist/modules/provenance/src/index.js +536 -0
  327. package/dist/modules/provenance/src/index.js.map +1 -0
  328. package/dist/modules/provenance/src/material-claims.d.ts +381 -0
  329. package/dist/modules/provenance/src/material-claims.d.ts.map +1 -0
  330. package/dist/modules/provenance/src/material-claims.js +375 -0
  331. package/dist/modules/provenance/src/material-claims.js.map +1 -0
  332. package/dist/modules/provenance/src/prospective-evidence.d.ts +6 -0
  333. package/dist/modules/provenance/src/prospective-evidence.d.ts.map +1 -0
  334. package/dist/modules/provenance/src/prospective-evidence.js +61 -0
  335. package/dist/modules/provenance/src/prospective-evidence.js.map +1 -0
  336. package/dist/modules/release/src/asset-delta-verifier.d.ts +12 -0
  337. package/dist/modules/release/src/asset-delta-verifier.d.ts.map +1 -0
  338. package/dist/modules/release/src/asset-delta-verifier.js +82 -0
  339. package/dist/modules/release/src/asset-delta-verifier.js.map +1 -0
  340. package/dist/modules/release/src/changes.d.ts +23 -0
  341. package/dist/modules/release/src/changes.d.ts.map +1 -0
  342. package/dist/modules/release/src/changes.js +389 -0
  343. package/dist/modules/release/src/changes.js.map +1 -0
  344. package/dist/modules/release/src/identity.d.ts +17 -0
  345. package/dist/modules/release/src/identity.d.ts.map +1 -0
  346. package/dist/modules/release/src/identity.js +433 -0
  347. package/dist/modules/release/src/identity.js.map +1 -0
  348. package/dist/modules/release/src/inputs.d.ts +89 -0
  349. package/dist/modules/release/src/inputs.d.ts.map +1 -0
  350. package/dist/modules/release/src/inputs.js +514 -0
  351. package/dist/modules/release/src/inputs.js.map +1 -0
  352. package/dist/modules/release/src/publication-inputs.d.ts +9 -0
  353. package/dist/modules/release/src/publication-inputs.d.ts.map +1 -0
  354. package/dist/modules/release/src/publication-inputs.js +67 -0
  355. package/dist/modules/release/src/publication-inputs.js.map +1 -0
  356. package/dist/modules/release/src/release-directory-files.d.ts +7 -0
  357. package/dist/modules/release/src/release-directory-files.d.ts.map +1 -0
  358. package/dist/modules/release/src/release-directory-files.js +49 -0
  359. package/dist/modules/release/src/release-directory-files.js.map +1 -0
  360. package/dist/modules/release/src/release-revision-parser.d.ts +5 -0
  361. package/dist/modules/release/src/release-revision-parser.d.ts.map +1 -0
  362. package/dist/modules/release/src/release-revision-parser.js +19 -0
  363. package/dist/modules/release/src/release-revision-parser.js.map +1 -0
  364. package/dist/modules/release/src/transition.d.ts +36 -0
  365. package/dist/modules/release/src/transition.d.ts.map +1 -0
  366. package/dist/modules/release/src/transition.js +263 -0
  367. package/dist/modules/release/src/transition.js.map +1 -0
  368. package/dist/modules/release/src/verification-policies.d.ts +278 -0
  369. package/dist/modules/release/src/verification-policies.d.ts.map +1 -0
  370. package/dist/modules/release/src/verification-policies.js +38 -0
  371. package/dist/modules/release/src/verification-policies.js.map +1 -0
  372. package/dist/modules/release/src/verification-transitions.d.ts +14 -0
  373. package/dist/modules/release/src/verification-transitions.d.ts.map +1 -0
  374. package/dist/modules/release/src/verification-transitions.js +26 -0
  375. package/dist/modules/release/src/verification-transitions.js.map +1 -0
  376. package/dist/modules/release/src/verifier.d.ts +41 -0
  377. package/dist/modules/release/src/verifier.d.ts.map +1 -0
  378. package/dist/modules/release/src/verifier.js +577 -0
  379. package/dist/modules/release/src/verifier.js.map +1 -0
  380. package/dist/modules/standard-adapter-runtime/src/index.d.ts +16 -0
  381. package/dist/modules/standard-adapter-runtime/src/index.d.ts.map +1 -0
  382. package/dist/modules/standard-adapter-runtime/src/index.js +43 -0
  383. package/dist/modules/standard-adapter-runtime/src/index.js.map +1 -0
  384. package/dist/modules/standard-evidence/src/index.d.ts +33 -0
  385. package/dist/modules/standard-evidence/src/index.d.ts.map +1 -0
  386. package/dist/modules/standard-evidence/src/index.js +149 -0
  387. package/dist/modules/standard-evidence/src/index.js.map +1 -0
  388. package/dist/packages/catalog-verifier/src/application.d.ts +89 -0
  389. package/dist/packages/catalog-verifier/src/application.d.ts.map +1 -0
  390. package/dist/packages/catalog-verifier/src/application.js +363 -0
  391. package/dist/packages/catalog-verifier/src/application.js.map +1 -0
  392. package/dist/packages/catalog-verifier/src/index.d.ts +7 -0
  393. package/dist/packages/catalog-verifier/src/index.d.ts.map +1 -0
  394. package/dist/packages/catalog-verifier/src/index.js +7 -0
  395. package/dist/packages/catalog-verifier/src/index.js.map +1 -0
  396. package/dist/packages/catalog-verifier/src/program.d.ts +4 -0
  397. package/dist/packages/catalog-verifier/src/program.d.ts.map +1 -0
  398. package/dist/packages/catalog-verifier/src/program.js +203 -0
  399. package/dist/packages/catalog-verifier/src/program.js.map +1 -0
  400. package/package.json +63 -0
  401. package/sourcey-catalog-verify.js +7 -0
  402. package/taxonomy.json +29 -0
@@ -0,0 +1,835 @@
1
+ import { z } from "zod";
2
+ export * from "../../funded-work/src/index.js";
3
+ export declare const domainNameSchema: z.ZodString;
4
+ export declare const startupCreditsProductCode: "startup-offer-human-verification";
5
+ export declare const startupCreditsPriceLookupKey: "startup-offer-human-verification-usd-25";
6
+ export declare const startupCreditsServicePolicySchema: z.ZodObject<{
7
+ policy_contract: z.ZodLiteral<"sourcey.startup-credits-verification-service-policy/v1alpha1">;
8
+ product_code: z.ZodLiteral<"startup-offer-human-verification">;
9
+ price_lookup_key: z.ZodLiteral<"startup-offer-human-verification-usd-25">;
10
+ price: z.ZodObject<{
11
+ currency: z.ZodLiteral<"usd">;
12
+ minor_units: z.ZodLiteral<2500>;
13
+ }, z.core.$strict>;
14
+ service_calendar: z.ZodObject<{
15
+ time_zone: z.ZodLiteral<"Australia/Sydney">;
16
+ business_days: z.ZodLiteral<3>;
17
+ counting: z.ZodLiteral<"next-business-day">;
18
+ deadline: z.ZodLiteral<"end-of-local-day">;
19
+ holiday_dates: z.ZodArray<z.ZodISODate>;
20
+ valid_through: z.ZodISODate;
21
+ source_url: z.ZodLiteral<"https://www.nsw.gov.au/about-nsw/public-holidays">;
22
+ source_observed_at: z.ZodISODateTime;
23
+ }, z.core.$strict>;
24
+ failed_review_refundable: z.ZodLiteral<false>;
25
+ sla_miss_refundable: z.ZodLiteral<true>;
26
+ sourcey_error_refundable: z.ZodLiteral<true>;
27
+ payment_changes_truth_or_admission: z.ZodLiteral<false>;
28
+ }, z.core.$strict>;
29
+ export declare const startupCreditsVerificationMethodPolicySchema: z.ZodObject<{
30
+ policy_contract: z.ZodLiteral<"sourcey.startup-credits-verification-method/v1alpha1">;
31
+ scope: z.ZodLiteral<"one-entity-one-offer">;
32
+ evidence_authority: z.ZodLiteral<"first-party-public-sources">;
33
+ reviewer_decides_from_admitted_evidence: z.ZodLiteral<true>;
34
+ payment_can_select_findings: z.ZodLiteral<false>;
35
+ payment_can_admit_or_publish: z.ZodLiteral<false>;
36
+ }, z.core.$strict>;
37
+ export declare const startupCreditsPurchaseDisclosureSchema: z.ZodObject<{
38
+ disclosure_contract: z.ZodLiteral<"sourcey.startup-credits-purchase-disclosure/v1alpha1">;
39
+ statement: z.ZodLiteral<"Payment funds one human verification run. It does not buy admission, alter facts or ranking, guarantee a pass, or authorize publication.">;
40
+ }, z.core.$strict>;
41
+ export declare const startupCreditsPurchasePreviewSchema: z.ZodObject<{
42
+ preview_contract: z.ZodLiteral<"sourcey.startup-credits-purchase-preview/v1alpha1">;
43
+ product_code: z.ZodLiteral<"startup-offer-human-verification">;
44
+ purchase_kind: z.ZodLiteral<"one_off">;
45
+ price_lookup_key: z.ZodLiteral<"startup-offer-human-verification-usd-25">;
46
+ price: z.ZodObject<{
47
+ currency: z.ZodLiteral<"usd">;
48
+ minor_units: z.ZodLiteral<2500>;
49
+ }, z.core.$strict>;
50
+ work_scope: z.ZodLiteral<"one-entity-one-offer">;
51
+ service_level: z.ZodObject<{
52
+ starts_after: z.ZodLiteral<"settled-payment">;
53
+ business_days: z.ZodLiteral<3>;
54
+ time_zone: z.ZodLiteral<"Australia/Sydney">;
55
+ }, z.core.$strict>;
56
+ refunds: z.ZodObject<{
57
+ failed_review_refundable: z.ZodLiteral<false>;
58
+ service_level_missed_refundable: z.ZodLiteral<true>;
59
+ sourcey_error_refundable: z.ZodLiteral<true>;
60
+ }, z.core.$strict>;
61
+ disclosure: z.ZodLiteral<"Payment funds one human verification run. It does not buy admission, alter facts or ranking, guarantee a pass, or authorize publication.">;
62
+ policy_bindings: z.ZodObject<{
63
+ purchase_disclosure: z.ZodString;
64
+ service: z.ZodString;
65
+ verification_method: z.ZodString;
66
+ }, z.core.$strict>;
67
+ preview_digest: z.ZodString;
68
+ }, z.core.$strict>;
69
+ export declare const standingRouteSchema: z.ZodEnum<{
70
+ correction_required: "correction_required";
71
+ repair_required: "repair_required";
72
+ temporarily_unavailable: "temporarily_unavailable";
73
+ free_machine_review: "free_machine_review";
74
+ claim_or_fund: "claim_or_fund";
75
+ }>;
76
+ export declare const standingPolicySchema: z.ZodObject<{
77
+ policy_contract: z.ZodLiteral<"sourcey.standing-policy/v1alpha1">;
78
+ reach_provider: z.ZodLiteral<"ahrefs-domain-rating">;
79
+ reach_threshold_exclusive: z.ZodNumber;
80
+ fallback_domain_age_days: z.ZodNumber;
81
+ fallback_certificate_age_days: z.ZodNumber;
82
+ cache_ttl_seconds: z.ZodNumber;
83
+ }, z.core.$strict>;
84
+ export declare const standingEvidenceSchema: z.ZodObject<{
85
+ registrable_domain: z.ZodString;
86
+ official_source_url: z.ZodURL;
87
+ source: z.ZodObject<{
88
+ status: z.ZodEnum<{
89
+ invalid: "invalid";
90
+ reachable: "reachable";
91
+ unreachable: "unreachable";
92
+ }>;
93
+ first_party: z.ZodBoolean;
94
+ observed_at: z.ZodISODateTime;
95
+ observation_digest: z.ZodString;
96
+ }, z.core.$strict>;
97
+ catalog_identity: z.ZodDiscriminatedUnion<[z.ZodObject<{
98
+ status: z.ZodLiteral<"unresolved">;
99
+ }, z.core.$strict>, z.ZodObject<{
100
+ status: z.ZodLiteral<"existing">;
101
+ entity_id: z.ZodString;
102
+ entity_revision_digest: z.ZodString;
103
+ }, z.core.$strict>, z.ZodObject<{
104
+ status: z.ZodLiteral<"ambiguous">;
105
+ entity_ids: z.ZodArray<z.ZodString>;
106
+ }, z.core.$strict>], "status">;
107
+ reach: z.ZodDiscriminatedUnion<[z.ZodObject<{
108
+ status: z.ZodLiteral<"available">;
109
+ rating: z.ZodNumber;
110
+ observed_at: z.ZodISODateTime;
111
+ observation_digest: z.ZodString;
112
+ }, z.core.$strict>, z.ZodObject<{
113
+ status: z.ZodLiteral<"unavailable">;
114
+ reason: z.ZodEnum<{
115
+ not_found: "not_found";
116
+ provider_unavailable: "provider_unavailable";
117
+ provider_rejected: "provider_rejected";
118
+ }>;
119
+ observed_at: z.ZodISODateTime;
120
+ }, z.core.$strict>], "status">;
121
+ domain_age: z.ZodDiscriminatedUnion<[z.ZodObject<{
122
+ status: z.ZodLiteral<"available">;
123
+ age_days: z.ZodNumber;
124
+ }, z.core.$strict>, z.ZodObject<{
125
+ status: z.ZodLiteral<"unavailable">;
126
+ }, z.core.$strict>], "status">;
127
+ certificate_age: z.ZodDiscriminatedUnion<[z.ZodObject<{
128
+ status: z.ZodLiteral<"available">;
129
+ age_days: z.ZodNumber;
130
+ }, z.core.$strict>, z.ZodObject<{
131
+ status: z.ZodLiteral<"unavailable">;
132
+ }, z.core.$strict>], "status">;
133
+ mx: z.ZodDiscriminatedUnion<[z.ZodObject<{
134
+ status: z.ZodLiteral<"available">;
135
+ present: z.ZodBoolean;
136
+ }, z.core.$strict>, z.ZodObject<{
137
+ status: z.ZodLiteral<"unavailable">;
138
+ }, z.core.$strict>], "status">;
139
+ }, z.core.$strict>;
140
+ export declare const standingResultCoreSchema: z.ZodObject<{
141
+ result_contract: z.ZodLiteral<"sourcey.standing-result/v1alpha1">;
142
+ policy_digest: z.ZodString;
143
+ evidence_digest: z.ZodString;
144
+ registrable_domain: z.ZodString;
145
+ official_source_url: z.ZodURL;
146
+ route: z.ZodEnum<{
147
+ correction_required: "correction_required";
148
+ repair_required: "repair_required";
149
+ temporarily_unavailable: "temporarily_unavailable";
150
+ free_machine_review: "free_machine_review";
151
+ claim_or_fund: "claim_or_fund";
152
+ }>;
153
+ reasons: z.ZodArray<z.ZodString>;
154
+ evaluated_at: z.ZodISODateTime;
155
+ expires_at: z.ZodISODateTime;
156
+ }, z.core.$strict>;
157
+ export declare const standingResultSchema: z.ZodObject<{
158
+ result_contract: z.ZodLiteral<"sourcey.standing-result/v1alpha1">;
159
+ policy_digest: z.ZodString;
160
+ evidence_digest: z.ZodString;
161
+ registrable_domain: z.ZodString;
162
+ official_source_url: z.ZodURL;
163
+ route: z.ZodEnum<{
164
+ correction_required: "correction_required";
165
+ repair_required: "repair_required";
166
+ temporarily_unavailable: "temporarily_unavailable";
167
+ free_machine_review: "free_machine_review";
168
+ claim_or_fund: "claim_or_fund";
169
+ }>;
170
+ reasons: z.ZodArray<z.ZodString>;
171
+ evaluated_at: z.ZodISODateTime;
172
+ expires_at: z.ZodISODateTime;
173
+ result_digest: z.ZodString;
174
+ }, z.core.$strict>;
175
+ export declare const startupCreditsDraftRequestSchema: z.ZodObject<{
176
+ standing_result: z.ZodObject<{
177
+ result_contract: z.ZodLiteral<"sourcey.standing-result/v1alpha1">;
178
+ policy_digest: z.ZodString;
179
+ evidence_digest: z.ZodString;
180
+ registrable_domain: z.ZodString;
181
+ official_source_url: z.ZodURL;
182
+ route: z.ZodEnum<{
183
+ correction_required: "correction_required";
184
+ repair_required: "repair_required";
185
+ temporarily_unavailable: "temporarily_unavailable";
186
+ free_machine_review: "free_machine_review";
187
+ claim_or_fund: "claim_or_fund";
188
+ }>;
189
+ reasons: z.ZodArray<z.ZodString>;
190
+ evaluated_at: z.ZodISODateTime;
191
+ expires_at: z.ZodISODateTime;
192
+ result_digest: z.ZodString;
193
+ }, z.core.$strict>;
194
+ company: z.ZodObject<{
195
+ name: z.ZodString;
196
+ domain: z.ZodString;
197
+ category: z.ZodString;
198
+ summary: z.ZodString;
199
+ site_url: z.ZodURL;
200
+ }, z.core.$strict>;
201
+ program: z.ZodOptional<z.ZodObject<{
202
+ title: z.ZodString;
203
+ summary: z.ZodString;
204
+ }, z.core.$strict>>;
205
+ offer: z.ZodObject<{
206
+ title: z.ZodString;
207
+ summary: z.ZodString;
208
+ benefit: z.ZodString;
209
+ eligibility: z.ZodString;
210
+ access_method: z.ZodEnum<{
211
+ other: "other";
212
+ automatic: "automatic";
213
+ form: "form";
214
+ contact: "contact";
215
+ }>;
216
+ access_url: z.ZodOptional<z.ZodURL>;
217
+ }, z.core.$strict>;
218
+ }, z.core.$strict>;
219
+ export declare const startupCreditsDraftResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
220
+ status: z.ZodEnum<{
221
+ invalid: "invalid";
222
+ incomplete: "incomplete";
223
+ conflict: "conflict";
224
+ ineligible: "ineligible";
225
+ }>;
226
+ diagnostics: z.ZodArray<z.ZodObject<{
227
+ code: z.ZodEnum<{
228
+ required: "required";
229
+ invalid: "invalid";
230
+ conflict: "conflict";
231
+ ineligible: "ineligible";
232
+ }>;
233
+ path: z.ZodString;
234
+ message: z.ZodString;
235
+ }, z.core.$strict>>;
236
+ }, z.core.$strict>, z.ZodObject<{
237
+ status: z.ZodLiteral<"materialized">;
238
+ base_release_id: z.ZodString;
239
+ entity_id: z.ZodString;
240
+ program_id: z.ZodOptional<z.ZodString>;
241
+ offer_id: z.ZodString;
242
+ purchase_preview: z.ZodObject<{
243
+ preview_contract: z.ZodLiteral<"sourcey.startup-credits-purchase-preview/v1alpha1">;
244
+ product_code: z.ZodLiteral<"startup-offer-human-verification">;
245
+ purchase_kind: z.ZodLiteral<"one_off">;
246
+ price_lookup_key: z.ZodLiteral<"startup-offer-human-verification-usd-25">;
247
+ price: z.ZodObject<{
248
+ currency: z.ZodLiteral<"usd">;
249
+ minor_units: z.ZodLiteral<2500>;
250
+ }, z.core.$strict>;
251
+ work_scope: z.ZodLiteral<"one-entity-one-offer">;
252
+ service_level: z.ZodObject<{
253
+ starts_after: z.ZodLiteral<"settled-payment">;
254
+ business_days: z.ZodLiteral<3>;
255
+ time_zone: z.ZodLiteral<"Australia/Sydney">;
256
+ }, z.core.$strict>;
257
+ refunds: z.ZodObject<{
258
+ failed_review_refundable: z.ZodLiteral<false>;
259
+ service_level_missed_refundable: z.ZodLiteral<true>;
260
+ sourcey_error_refundable: z.ZodLiteral<true>;
261
+ }, z.core.$strict>;
262
+ disclosure: z.ZodLiteral<"Payment funds one human verification run. It does not buy admission, alter facts or ranking, guarantee a pass, or authorize publication.">;
263
+ policy_bindings: z.ZodObject<{
264
+ purchase_disclosure: z.ZodString;
265
+ service: z.ZodString;
266
+ verification_method: z.ZodString;
267
+ }, z.core.$strict>;
268
+ preview_digest: z.ZodString;
269
+ }, z.core.$strict>;
270
+ authoring_file: z.ZodObject<{
271
+ path: z.ZodString;
272
+ content: z.ZodString;
273
+ content_digest: z.ZodString;
274
+ }, z.core.$strict>;
275
+ diagnostics: z.ZodArray<z.ZodObject<{
276
+ code: z.ZodEnum<{
277
+ required: "required";
278
+ invalid: "invalid";
279
+ conflict: "conflict";
280
+ ineligible: "ineligible";
281
+ }>;
282
+ path: z.ZodString;
283
+ message: z.ZodString;
284
+ }, z.core.$strict>>;
285
+ }, z.core.$strict>], "status">;
286
+ export declare const startupCreditsFundedWorkIntentSchema: z.ZodObject<{
287
+ product_intent_contract: z.ZodLiteral<"sourcey.startup-offer-human-verification-intent/v1alpha1">;
288
+ billing: z.ZodObject<{
289
+ intent_contract: z.ZodLiteral<"sourcey.funded-work-intent/v1alpha1">;
290
+ intent_id: z.ZodString;
291
+ product_code: z.ZodString;
292
+ purchase_kind: z.ZodLiteral<"one_off">;
293
+ actor_ref: z.ZodString;
294
+ owner_work_ref: z.ZodString;
295
+ owner_payload_digest: z.ZodString;
296
+ subject: z.ZodObject<{
297
+ entity_id: z.ZodString;
298
+ program_id: z.ZodOptional<z.ZodString>;
299
+ offer_id: z.ZodString;
300
+ }, z.core.$strict>;
301
+ base_release_id: z.ZodString;
302
+ eligibility_digest: z.ZodString;
303
+ policy_bindings: z.ZodArray<z.ZodObject<{
304
+ role: z.ZodString;
305
+ policy_digest: z.ZodString;
306
+ }, z.core.$strict>>;
307
+ work_class: z.ZodString;
308
+ forbidden_effects: z.ZodTuple<[z.ZodLiteral<"admit_without_evidence">, z.ZodLiteral<"alter_facts">, z.ZodLiteral<"alter_ranking">, z.ZodLiteral<"guarantee_outcome">, z.ZodLiteral<"publish_without_authority">], null>;
309
+ price_lookup_key: z.ZodString;
310
+ requested_by: z.ZodEnum<{
311
+ subject: "subject";
312
+ contributor: "contributor";
313
+ }>;
314
+ issued_at: z.ZodISODateTime;
315
+ expires_at: z.ZodISODateTime;
316
+ intent_digest: z.ZodString;
317
+ }, z.core.$strict>;
318
+ submission: z.ZodObject<{
319
+ submission_id: z.ZodString;
320
+ payload_digest: z.ZodString;
321
+ authorization_policy: z.ZodLiteral<"proposal">;
322
+ }, z.core.$strict>;
323
+ standing_result: z.ZodObject<{
324
+ result_contract: z.ZodLiteral<"sourcey.standing-result/v1alpha1">;
325
+ policy_digest: z.ZodString;
326
+ evidence_digest: z.ZodString;
327
+ registrable_domain: z.ZodString;
328
+ official_source_url: z.ZodURL;
329
+ route: z.ZodEnum<{
330
+ correction_required: "correction_required";
331
+ repair_required: "repair_required";
332
+ temporarily_unavailable: "temporarily_unavailable";
333
+ free_machine_review: "free_machine_review";
334
+ claim_or_fund: "claim_or_fund";
335
+ }>;
336
+ reasons: z.ZodArray<z.ZodString>;
337
+ evaluated_at: z.ZodISODateTime;
338
+ expires_at: z.ZodISODateTime;
339
+ result_digest: z.ZodString;
340
+ }, z.core.$strict>;
341
+ authoring_file_digest: z.ZodString;
342
+ purchase_preview_digest: z.ZodString;
343
+ disclosure_digest: z.ZodString;
344
+ product_intent_digest: z.ZodString;
345
+ }, z.core.$strict>;
346
+ export declare const startupCreditsReviewRequestIdSchema: z.ZodString;
347
+ export declare const startupCreditsReviewRequestSchema: z.ZodObject<{
348
+ request_id: z.ZodString;
349
+ draft: z.ZodObject<{
350
+ standing_result: z.ZodObject<{
351
+ result_contract: z.ZodLiteral<"sourcey.standing-result/v1alpha1">;
352
+ policy_digest: z.ZodString;
353
+ evidence_digest: z.ZodString;
354
+ registrable_domain: z.ZodString;
355
+ official_source_url: z.ZodURL;
356
+ route: z.ZodEnum<{
357
+ correction_required: "correction_required";
358
+ repair_required: "repair_required";
359
+ temporarily_unavailable: "temporarily_unavailable";
360
+ free_machine_review: "free_machine_review";
361
+ claim_or_fund: "claim_or_fund";
362
+ }>;
363
+ reasons: z.ZodArray<z.ZodString>;
364
+ evaluated_at: z.ZodISODateTime;
365
+ expires_at: z.ZodISODateTime;
366
+ result_digest: z.ZodString;
367
+ }, z.core.$strict>;
368
+ company: z.ZodObject<{
369
+ name: z.ZodString;
370
+ domain: z.ZodString;
371
+ category: z.ZodString;
372
+ summary: z.ZodString;
373
+ site_url: z.ZodURL;
374
+ }, z.core.$strict>;
375
+ program: z.ZodOptional<z.ZodObject<{
376
+ title: z.ZodString;
377
+ summary: z.ZodString;
378
+ }, z.core.$strict>>;
379
+ offer: z.ZodObject<{
380
+ title: z.ZodString;
381
+ summary: z.ZodString;
382
+ benefit: z.ZodString;
383
+ eligibility: z.ZodString;
384
+ access_method: z.ZodEnum<{
385
+ other: "other";
386
+ automatic: "automatic";
387
+ form: "form";
388
+ contact: "contact";
389
+ }>;
390
+ access_url: z.ZodOptional<z.ZodURL>;
391
+ }, z.core.$strict>;
392
+ }, z.core.$strict>;
393
+ }, z.core.$strict>;
394
+ export declare const startupCreditsReviewResponseSchema: z.ZodObject<{
395
+ data: z.ZodObject<{
396
+ request_id: z.ZodString;
397
+ submission_id: z.ZodString;
398
+ order: z.ZodObject<{
399
+ order: z.ZodObject<{
400
+ order_contract: z.ZodLiteral<"sourcey.commercial-order/v1alpha1">;
401
+ order_id: z.ZodString;
402
+ actor_ref: z.ZodString;
403
+ product_code: z.ZodString;
404
+ purchase_kind: z.ZodLiteral<"one_off">;
405
+ product_definition_digest: z.ZodString;
406
+ funded_work_intent_id: z.ZodString;
407
+ funded_work_intent_digest: z.ZodString;
408
+ owner_work_ref: z.ZodString;
409
+ amount: z.ZodObject<{
410
+ currency: z.ZodString;
411
+ minor_units: z.ZodNumber;
412
+ }, z.core.$strict>;
413
+ payment_state: z.ZodEnum<{
414
+ payment_pending: "payment_pending";
415
+ refund_pending: "refund_pending";
416
+ refunded: "refunded";
417
+ paid: "paid";
418
+ cancelled: "cancelled";
419
+ }>;
420
+ payment_attempt_id: z.ZodString;
421
+ work_state: z.ZodEnum<{
422
+ failed: "failed";
423
+ blocked: "blocked";
424
+ cancelled: "cancelled";
425
+ queued: "queued";
426
+ in_review: "in_review";
427
+ fulfilled: "fulfilled";
428
+ }>;
429
+ paid_at: z.ZodNullable<z.ZodISODateTime>;
430
+ sla_due_at: z.ZodNullable<z.ZodISODateTime>;
431
+ refund_reason: z.ZodNullable<z.ZodEnum<{
432
+ scope_superseded: "scope_superseded";
433
+ service_level_missed: "service_level_missed";
434
+ sourcey_error: "sourcey_error";
435
+ duplicate_charge: "duplicate_charge";
436
+ }>>;
437
+ refund_requested_at: z.ZodNullable<z.ZodISODateTime>;
438
+ refunded_at: z.ZodNullable<z.ZodISODateTime>;
439
+ fulfilment_receipt_digest: z.ZodNullable<z.ZodString>;
440
+ failure_receipt_digest: z.ZodNullable<z.ZodString>;
441
+ created_at: z.ZodISODateTime;
442
+ updated_at: z.ZodISODateTime;
443
+ }, z.core.$strict>;
444
+ payment_attempt: z.ZodDiscriminatedUnion<[z.ZodObject<{
445
+ attempt_contract: z.ZodLiteral<"sourcey.payment-attempt/v1alpha1">;
446
+ attempt_id: z.ZodString;
447
+ order_id: z.ZodString;
448
+ request_binding_digest: z.ZodString;
449
+ amount: z.ZodObject<{
450
+ currency: z.ZodString;
451
+ minor_units: z.ZodNumber;
452
+ }, z.core.$strict>;
453
+ state: z.ZodEnum<{
454
+ verified: "verified";
455
+ failed: "failed";
456
+ prepared: "prepared";
457
+ payment_pending: "payment_pending";
458
+ settlement_pending: "settlement_pending";
459
+ settled: "settled";
460
+ expired: "expired";
461
+ refund_pending: "refund_pending";
462
+ refunded: "refunded";
463
+ }>;
464
+ expires_at: z.ZodISODateTime;
465
+ created_at: z.ZodISODateTime;
466
+ updated_at: z.ZodISODateTime;
467
+ rail: z.ZodLiteral<"stripe">;
468
+ checkout_session_id: z.ZodNullable<z.ZodString>;
469
+ checkout_url: z.ZodNullable<z.ZodURL>;
470
+ payment_intent_id: z.ZodNullable<z.ZodString>;
471
+ refund_id: z.ZodNullable<z.ZodString>;
472
+ }, z.core.$strict>, z.ZodObject<{
473
+ attempt_contract: z.ZodLiteral<"sourcey.payment-attempt/v1alpha1">;
474
+ attempt_id: z.ZodString;
475
+ order_id: z.ZodString;
476
+ request_binding_digest: z.ZodString;
477
+ amount: z.ZodObject<{
478
+ currency: z.ZodString;
479
+ minor_units: z.ZodNumber;
480
+ }, z.core.$strict>;
481
+ state: z.ZodEnum<{
482
+ verified: "verified";
483
+ failed: "failed";
484
+ prepared: "prepared";
485
+ payment_pending: "payment_pending";
486
+ settlement_pending: "settlement_pending";
487
+ settled: "settled";
488
+ expired: "expired";
489
+ refund_pending: "refund_pending";
490
+ refunded: "refunded";
491
+ }>;
492
+ expires_at: z.ZodISODateTime;
493
+ created_at: z.ZodISODateTime;
494
+ updated_at: z.ZodISODateTime;
495
+ rail: z.ZodLiteral<"x402">;
496
+ resource: z.ZodURL;
497
+ challenge_digest: z.ZodString;
498
+ payment_payload_digest: z.ZodString;
499
+ payment_requirements_digest: z.ZodString;
500
+ payment_ref: z.ZodNullable<z.ZodString>;
501
+ verification_ref: z.ZodNullable<z.ZodString>;
502
+ settlement_ref: z.ZodNullable<z.ZodString>;
503
+ payer_ref: z.ZodNullable<z.ZodString>;
504
+ refund_ref: z.ZodNullable<z.ZodString>;
505
+ }, z.core.$strict>], "rail">;
506
+ }, z.core.$strict>;
507
+ status_url: z.ZodURL;
508
+ }, z.core.$strict>;
509
+ }, z.core.$strict>;
510
+ export declare const payableProductDescriptorSchema: z.ZodObject<{
511
+ descriptor_contract: z.ZodLiteral<"sourcey.payable-product-descriptor/v1alpha1">;
512
+ product_code: z.ZodString;
513
+ price_lookup_key: z.ZodString;
514
+ operation_id: z.ZodString;
515
+ method: z.ZodLiteral<"POST">;
516
+ path: z.ZodString;
517
+ success_status: z.ZodLiteral<202>;
518
+ service_name: z.ZodString;
519
+ description: z.ZodString;
520
+ tags: z.ZodTuple<[z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString], null>;
521
+ floor_price: z.ZodObject<{
522
+ currency: z.ZodLiteral<"usd">;
523
+ minor_units: z.ZodLiteral<2500>;
524
+ }, z.core.$strict>;
525
+ service_policy_url: z.ZodURL;
526
+ refund_policy_url: z.ZodURL;
527
+ input_example: z.ZodObject<{
528
+ request_id: z.ZodString;
529
+ draft: z.ZodObject<{
530
+ standing_result: z.ZodObject<{
531
+ result_contract: z.ZodLiteral<"sourcey.standing-result/v1alpha1">;
532
+ policy_digest: z.ZodString;
533
+ evidence_digest: z.ZodString;
534
+ registrable_domain: z.ZodString;
535
+ official_source_url: z.ZodURL;
536
+ route: z.ZodEnum<{
537
+ correction_required: "correction_required";
538
+ repair_required: "repair_required";
539
+ temporarily_unavailable: "temporarily_unavailable";
540
+ free_machine_review: "free_machine_review";
541
+ claim_or_fund: "claim_or_fund";
542
+ }>;
543
+ reasons: z.ZodArray<z.ZodString>;
544
+ evaluated_at: z.ZodISODateTime;
545
+ expires_at: z.ZodISODateTime;
546
+ result_digest: z.ZodString;
547
+ }, z.core.$strict>;
548
+ company: z.ZodObject<{
549
+ name: z.ZodString;
550
+ domain: z.ZodString;
551
+ category: z.ZodString;
552
+ summary: z.ZodString;
553
+ site_url: z.ZodURL;
554
+ }, z.core.$strict>;
555
+ program: z.ZodOptional<z.ZodObject<{
556
+ title: z.ZodString;
557
+ summary: z.ZodString;
558
+ }, z.core.$strict>>;
559
+ offer: z.ZodObject<{
560
+ title: z.ZodString;
561
+ summary: z.ZodString;
562
+ benefit: z.ZodString;
563
+ eligibility: z.ZodString;
564
+ access_method: z.ZodEnum<{
565
+ other: "other";
566
+ automatic: "automatic";
567
+ form: "form";
568
+ contact: "contact";
569
+ }>;
570
+ access_url: z.ZodOptional<z.ZodURL>;
571
+ }, z.core.$strict>;
572
+ }, z.core.$strict>;
573
+ }, z.core.$strict>;
574
+ output_example: z.ZodObject<{
575
+ data: z.ZodObject<{
576
+ request_id: z.ZodString;
577
+ submission_id: z.ZodString;
578
+ order: z.ZodObject<{
579
+ order: z.ZodObject<{
580
+ order_contract: z.ZodLiteral<"sourcey.commercial-order/v1alpha1">;
581
+ order_id: z.ZodString;
582
+ actor_ref: z.ZodString;
583
+ product_code: z.ZodString;
584
+ purchase_kind: z.ZodLiteral<"one_off">;
585
+ product_definition_digest: z.ZodString;
586
+ funded_work_intent_id: z.ZodString;
587
+ funded_work_intent_digest: z.ZodString;
588
+ owner_work_ref: z.ZodString;
589
+ amount: z.ZodObject<{
590
+ currency: z.ZodString;
591
+ minor_units: z.ZodNumber;
592
+ }, z.core.$strict>;
593
+ payment_state: z.ZodEnum<{
594
+ payment_pending: "payment_pending";
595
+ refund_pending: "refund_pending";
596
+ refunded: "refunded";
597
+ paid: "paid";
598
+ cancelled: "cancelled";
599
+ }>;
600
+ payment_attempt_id: z.ZodString;
601
+ work_state: z.ZodEnum<{
602
+ failed: "failed";
603
+ blocked: "blocked";
604
+ cancelled: "cancelled";
605
+ queued: "queued";
606
+ in_review: "in_review";
607
+ fulfilled: "fulfilled";
608
+ }>;
609
+ paid_at: z.ZodNullable<z.ZodISODateTime>;
610
+ sla_due_at: z.ZodNullable<z.ZodISODateTime>;
611
+ refund_reason: z.ZodNullable<z.ZodEnum<{
612
+ scope_superseded: "scope_superseded";
613
+ service_level_missed: "service_level_missed";
614
+ sourcey_error: "sourcey_error";
615
+ duplicate_charge: "duplicate_charge";
616
+ }>>;
617
+ refund_requested_at: z.ZodNullable<z.ZodISODateTime>;
618
+ refunded_at: z.ZodNullable<z.ZodISODateTime>;
619
+ fulfilment_receipt_digest: z.ZodNullable<z.ZodString>;
620
+ failure_receipt_digest: z.ZodNullable<z.ZodString>;
621
+ created_at: z.ZodISODateTime;
622
+ updated_at: z.ZodISODateTime;
623
+ }, z.core.$strict>;
624
+ payment_attempt: z.ZodDiscriminatedUnion<[z.ZodObject<{
625
+ attempt_contract: z.ZodLiteral<"sourcey.payment-attempt/v1alpha1">;
626
+ attempt_id: z.ZodString;
627
+ order_id: z.ZodString;
628
+ request_binding_digest: z.ZodString;
629
+ amount: z.ZodObject<{
630
+ currency: z.ZodString;
631
+ minor_units: z.ZodNumber;
632
+ }, z.core.$strict>;
633
+ state: z.ZodEnum<{
634
+ verified: "verified";
635
+ failed: "failed";
636
+ prepared: "prepared";
637
+ payment_pending: "payment_pending";
638
+ settlement_pending: "settlement_pending";
639
+ settled: "settled";
640
+ expired: "expired";
641
+ refund_pending: "refund_pending";
642
+ refunded: "refunded";
643
+ }>;
644
+ expires_at: z.ZodISODateTime;
645
+ created_at: z.ZodISODateTime;
646
+ updated_at: z.ZodISODateTime;
647
+ rail: z.ZodLiteral<"stripe">;
648
+ checkout_session_id: z.ZodNullable<z.ZodString>;
649
+ checkout_url: z.ZodNullable<z.ZodURL>;
650
+ payment_intent_id: z.ZodNullable<z.ZodString>;
651
+ refund_id: z.ZodNullable<z.ZodString>;
652
+ }, z.core.$strict>, z.ZodObject<{
653
+ attempt_contract: z.ZodLiteral<"sourcey.payment-attempt/v1alpha1">;
654
+ attempt_id: z.ZodString;
655
+ order_id: z.ZodString;
656
+ request_binding_digest: z.ZodString;
657
+ amount: z.ZodObject<{
658
+ currency: z.ZodString;
659
+ minor_units: z.ZodNumber;
660
+ }, z.core.$strict>;
661
+ state: z.ZodEnum<{
662
+ verified: "verified";
663
+ failed: "failed";
664
+ prepared: "prepared";
665
+ payment_pending: "payment_pending";
666
+ settlement_pending: "settlement_pending";
667
+ settled: "settled";
668
+ expired: "expired";
669
+ refund_pending: "refund_pending";
670
+ refunded: "refunded";
671
+ }>;
672
+ expires_at: z.ZodISODateTime;
673
+ created_at: z.ZodISODateTime;
674
+ updated_at: z.ZodISODateTime;
675
+ rail: z.ZodLiteral<"x402">;
676
+ resource: z.ZodURL;
677
+ challenge_digest: z.ZodString;
678
+ payment_payload_digest: z.ZodString;
679
+ payment_requirements_digest: z.ZodString;
680
+ payment_ref: z.ZodNullable<z.ZodString>;
681
+ verification_ref: z.ZodNullable<z.ZodString>;
682
+ settlement_ref: z.ZodNullable<z.ZodString>;
683
+ payer_ref: z.ZodNullable<z.ZodString>;
684
+ refund_ref: z.ZodNullable<z.ZodString>;
685
+ }, z.core.$strict>], "rail">;
686
+ }, z.core.$strict>;
687
+ status_url: z.ZodURL;
688
+ }, z.core.$strict>;
689
+ }, z.core.$strict>;
690
+ }, z.core.$strict>;
691
+ export declare const startupCreditsReviewProductDescriptor: {
692
+ descriptor_contract: "sourcey.payable-product-descriptor/v1alpha1";
693
+ product_code: string;
694
+ price_lookup_key: string;
695
+ operation_id: string;
696
+ method: "POST";
697
+ path: string;
698
+ success_status: 202;
699
+ service_name: string;
700
+ description: string;
701
+ tags: [string, string, string, string, string];
702
+ floor_price: {
703
+ currency: "usd";
704
+ minor_units: 2500;
705
+ };
706
+ service_policy_url: string;
707
+ refund_policy_url: string;
708
+ input_example: {
709
+ request_id: string;
710
+ draft: {
711
+ standing_result: {
712
+ result_contract: "sourcey.standing-result/v1alpha1";
713
+ policy_digest: string;
714
+ evidence_digest: string;
715
+ registrable_domain: string;
716
+ official_source_url: string;
717
+ route: "correction_required" | "repair_required" | "temporarily_unavailable" | "free_machine_review" | "claim_or_fund";
718
+ reasons: string[];
719
+ evaluated_at: string;
720
+ expires_at: string;
721
+ result_digest: string;
722
+ };
723
+ company: {
724
+ name: string;
725
+ domain: string;
726
+ category: string;
727
+ summary: string;
728
+ site_url: string;
729
+ };
730
+ offer: {
731
+ title: string;
732
+ summary: string;
733
+ benefit: string;
734
+ eligibility: string;
735
+ access_method: "other" | "automatic" | "form" | "contact";
736
+ access_url?: string | undefined;
737
+ };
738
+ program?: {
739
+ title: string;
740
+ summary: string;
741
+ } | undefined;
742
+ };
743
+ };
744
+ output_example: {
745
+ data: {
746
+ request_id: string;
747
+ submission_id: string;
748
+ order: {
749
+ order: {
750
+ order_contract: "sourcey.commercial-order/v1alpha1";
751
+ order_id: string;
752
+ actor_ref: string;
753
+ product_code: string;
754
+ purchase_kind: "one_off";
755
+ product_definition_digest: string;
756
+ funded_work_intent_id: string;
757
+ funded_work_intent_digest: string;
758
+ owner_work_ref: string;
759
+ amount: {
760
+ currency: string;
761
+ minor_units: number;
762
+ };
763
+ payment_state: "payment_pending" | "refund_pending" | "refunded" | "paid" | "cancelled";
764
+ payment_attempt_id: string;
765
+ work_state: "failed" | "blocked" | "cancelled" | "queued" | "in_review" | "fulfilled";
766
+ paid_at: string | null;
767
+ sla_due_at: string | null;
768
+ refund_reason: "scope_superseded" | "service_level_missed" | "sourcey_error" | "duplicate_charge" | null;
769
+ refund_requested_at: string | null;
770
+ refunded_at: string | null;
771
+ fulfilment_receipt_digest: string | null;
772
+ failure_receipt_digest: string | null;
773
+ created_at: string;
774
+ updated_at: string;
775
+ };
776
+ payment_attempt: {
777
+ attempt_contract: "sourcey.payment-attempt/v1alpha1";
778
+ attempt_id: string;
779
+ order_id: string;
780
+ request_binding_digest: string;
781
+ amount: {
782
+ currency: string;
783
+ minor_units: number;
784
+ };
785
+ state: "verified" | "failed" | "prepared" | "payment_pending" | "settlement_pending" | "settled" | "expired" | "refund_pending" | "refunded";
786
+ expires_at: string;
787
+ created_at: string;
788
+ updated_at: string;
789
+ rail: "stripe";
790
+ checkout_session_id: string | null;
791
+ checkout_url: string | null;
792
+ payment_intent_id: string | null;
793
+ refund_id: string | null;
794
+ } | {
795
+ attempt_contract: "sourcey.payment-attempt/v1alpha1";
796
+ attempt_id: string;
797
+ order_id: string;
798
+ request_binding_digest: string;
799
+ amount: {
800
+ currency: string;
801
+ minor_units: number;
802
+ };
803
+ state: "verified" | "failed" | "prepared" | "payment_pending" | "settlement_pending" | "settled" | "expired" | "refund_pending" | "refunded";
804
+ expires_at: string;
805
+ created_at: string;
806
+ updated_at: string;
807
+ rail: "x402";
808
+ resource: string;
809
+ challenge_digest: string;
810
+ payment_payload_digest: string;
811
+ payment_requirements_digest: string;
812
+ payment_ref: string | null;
813
+ verification_ref: string | null;
814
+ settlement_ref: string | null;
815
+ payer_ref: string | null;
816
+ refund_ref: string | null;
817
+ };
818
+ };
819
+ status_url: string;
820
+ };
821
+ };
822
+ };
823
+ export type StandingPolicy = z.infer<typeof standingPolicySchema>;
824
+ export type StandingEvidence = z.infer<typeof standingEvidenceSchema>;
825
+ export type StandingResult = z.infer<typeof standingResultSchema>;
826
+ export type StartupCreditsDraftRequest = z.infer<typeof startupCreditsDraftRequestSchema>;
827
+ export type StartupCreditsDraftResult = z.infer<typeof startupCreditsDraftResultSchema>;
828
+ export type StartupCreditsFundedWorkIntent = z.infer<typeof startupCreditsFundedWorkIntentSchema>;
829
+ export type StartupCreditsPurchasePreview = z.infer<typeof startupCreditsPurchasePreviewSchema>;
830
+ export type StartupCreditsServicePolicy = z.infer<typeof startupCreditsServicePolicySchema>;
831
+ export type StartupCreditsReviewRequest = z.infer<typeof startupCreditsReviewRequestSchema>;
832
+ export type StartupCreditsReviewResponse = z.infer<typeof startupCreditsReviewResponseSchema>;
833
+ export type PayableProductDescriptor = z.infer<typeof payableProductDescriptorSchema>;
834
+ export declare function isFirstPartyUrlForDomain(value: string, domain: string): boolean;
835
+ //# sourceMappingURL=index.d.ts.map