@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,1405 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * The compact public synopsis used by catalog listings, metadata, and page
4
+ * ledes. Longer explanatory copy belongs in the adjacent description field;
5
+ * structured economics, eligibility, and access remain authoritative.
6
+ */
7
+ export declare const catalogSummarySchema: z.ZodString;
8
+ /** Long-form plain text. Resource limits belong to the enclosing document boundary. */
9
+ export declare const catalogDescriptionSchema: z.ZodString;
10
+ export declare const catalogUrlSchema: z.ZodURL;
11
+ export declare const catalogAuthoringUrlSchema: z.ZodURL;
12
+ export declare const catalogAccessUrlSchema: z.ZodURL;
13
+ export declare const domainSchema: z.ZodObject<{
14
+ value: z.ZodString;
15
+ role: z.ZodEnum<{
16
+ primary: "primary";
17
+ alias: "alias";
18
+ }>;
19
+ valid_from: z.ZodISODateTime;
20
+ valid_until: z.ZodOptional<z.ZodISODateTime>;
21
+ }, z.core.$strict>;
22
+ export declare const moneySchema: z.ZodObject<{
23
+ currency: z.ZodString;
24
+ minor_units: z.ZodNumber;
25
+ }, z.core.$strict>;
26
+ export declare const moneyValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
27
+ kind: z.ZodLiteral<"exact">;
28
+ amount: z.ZodObject<{
29
+ currency: z.ZodString;
30
+ minor_units: z.ZodNumber;
31
+ }, z.core.$strict>;
32
+ }, z.core.$strict>, z.ZodObject<{
33
+ kind: z.ZodLiteral<"up-to">;
34
+ amount: z.ZodObject<{
35
+ currency: z.ZodString;
36
+ minor_units: z.ZodNumber;
37
+ }, z.core.$strict>;
38
+ }, z.core.$strict>, z.ZodObject<{
39
+ kind: z.ZodLiteral<"at-least">;
40
+ amount: z.ZodObject<{
41
+ currency: z.ZodString;
42
+ minor_units: z.ZodNumber;
43
+ }, z.core.$strict>;
44
+ }, z.core.$strict>, z.ZodObject<{
45
+ kind: z.ZodLiteral<"range">;
46
+ minimum: z.ZodObject<{
47
+ currency: z.ZodString;
48
+ minor_units: z.ZodNumber;
49
+ }, z.core.$strict>;
50
+ maximum: z.ZodObject<{
51
+ currency: z.ZodString;
52
+ minor_units: z.ZodNumber;
53
+ }, z.core.$strict>;
54
+ }, z.core.$strict>], "kind">;
55
+ export declare const percentageValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
56
+ kind: z.ZodLiteral<"exact">;
57
+ basis_points: z.ZodNumber;
58
+ }, z.core.$strict>, z.ZodObject<{
59
+ kind: z.ZodLiteral<"up-to">;
60
+ basis_points: z.ZodNumber;
61
+ }, z.core.$strict>, z.ZodObject<{
62
+ kind: z.ZodLiteral<"at-least">;
63
+ basis_points: z.ZodNumber;
64
+ }, z.core.$strict>, z.ZodObject<{
65
+ kind: z.ZodLiteral<"range">;
66
+ minimum_basis_points: z.ZodNumber;
67
+ maximum_basis_points: z.ZodNumber;
68
+ }, z.core.$strict>], "kind">;
69
+ export declare const durationValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
70
+ kind: z.ZodLiteral<"exact">;
71
+ value: z.ZodString;
72
+ }, z.core.$strict>, z.ZodObject<{
73
+ kind: z.ZodLiteral<"up-to">;
74
+ value: z.ZodString;
75
+ }, z.core.$strict>, z.ZodObject<{
76
+ kind: z.ZodLiteral<"at-least">;
77
+ value: z.ZodString;
78
+ }, z.core.$strict>], "kind">;
79
+ export declare const benefitSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
80
+ kind: z.ZodLiteral<"credit">;
81
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
82
+ kind: z.ZodLiteral<"exact">;
83
+ amount: z.ZodObject<{
84
+ currency: z.ZodString;
85
+ minor_units: z.ZodNumber;
86
+ }, z.core.$strict>;
87
+ }, z.core.$strict>, z.ZodObject<{
88
+ kind: z.ZodLiteral<"up-to">;
89
+ amount: z.ZodObject<{
90
+ currency: z.ZodString;
91
+ minor_units: z.ZodNumber;
92
+ }, z.core.$strict>;
93
+ }, z.core.$strict>, z.ZodObject<{
94
+ kind: z.ZodLiteral<"at-least">;
95
+ amount: z.ZodObject<{
96
+ currency: z.ZodString;
97
+ minor_units: z.ZodNumber;
98
+ }, z.core.$strict>;
99
+ }, z.core.$strict>, z.ZodObject<{
100
+ kind: z.ZodLiteral<"range">;
101
+ minimum: z.ZodObject<{
102
+ currency: z.ZodString;
103
+ minor_units: z.ZodNumber;
104
+ }, z.core.$strict>;
105
+ maximum: z.ZodObject<{
106
+ currency: z.ZodString;
107
+ minor_units: z.ZodNumber;
108
+ }, z.core.$strict>;
109
+ }, z.core.$strict>], "kind">;
110
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
111
+ kind: z.ZodLiteral<"exact">;
112
+ value: z.ZodString;
113
+ }, z.core.$strict>, z.ZodObject<{
114
+ kind: z.ZodLiteral<"up-to">;
115
+ value: z.ZodString;
116
+ }, z.core.$strict>, z.ZodObject<{
117
+ kind: z.ZodLiteral<"at-least">;
118
+ value: z.ZodString;
119
+ }, z.core.$strict>], "kind">>;
120
+ benefit_id: z.ZodString;
121
+ description: z.ZodString;
122
+ }, z.core.$strict>, z.ZodObject<{
123
+ kind: z.ZodLiteral<"discount">;
124
+ percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
125
+ kind: z.ZodLiteral<"exact">;
126
+ basis_points: z.ZodNumber;
127
+ }, z.core.$strict>, z.ZodObject<{
128
+ kind: z.ZodLiteral<"up-to">;
129
+ basis_points: z.ZodNumber;
130
+ }, z.core.$strict>, z.ZodObject<{
131
+ kind: z.ZodLiteral<"at-least">;
132
+ basis_points: z.ZodNumber;
133
+ }, z.core.$strict>, z.ZodObject<{
134
+ kind: z.ZodLiteral<"range">;
135
+ minimum_basis_points: z.ZodNumber;
136
+ maximum_basis_points: z.ZodNumber;
137
+ }, z.core.$strict>], "kind">;
138
+ applies_to: z.ZodOptional<z.ZodString>;
139
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
140
+ kind: z.ZodLiteral<"exact">;
141
+ value: z.ZodString;
142
+ }, z.core.$strict>, z.ZodObject<{
143
+ kind: z.ZodLiteral<"up-to">;
144
+ value: z.ZodString;
145
+ }, z.core.$strict>, z.ZodObject<{
146
+ kind: z.ZodLiteral<"at-least">;
147
+ value: z.ZodString;
148
+ }, z.core.$strict>], "kind">>;
149
+ benefit_id: z.ZodString;
150
+ description: z.ZodString;
151
+ }, z.core.$strict>, z.ZodObject<{
152
+ kind: z.ZodLiteral<"cashback">;
153
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
154
+ kind: z.ZodLiteral<"money">;
155
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
156
+ kind: z.ZodLiteral<"exact">;
157
+ amount: z.ZodObject<{
158
+ currency: z.ZodString;
159
+ minor_units: z.ZodNumber;
160
+ }, z.core.$strict>;
161
+ }, z.core.$strict>, z.ZodObject<{
162
+ kind: z.ZodLiteral<"up-to">;
163
+ amount: z.ZodObject<{
164
+ currency: z.ZodString;
165
+ minor_units: z.ZodNumber;
166
+ }, z.core.$strict>;
167
+ }, z.core.$strict>, z.ZodObject<{
168
+ kind: z.ZodLiteral<"at-least">;
169
+ amount: z.ZodObject<{
170
+ currency: z.ZodString;
171
+ minor_units: z.ZodNumber;
172
+ }, z.core.$strict>;
173
+ }, z.core.$strict>, z.ZodObject<{
174
+ kind: z.ZodLiteral<"range">;
175
+ minimum: z.ZodObject<{
176
+ currency: z.ZodString;
177
+ minor_units: z.ZodNumber;
178
+ }, z.core.$strict>;
179
+ maximum: z.ZodObject<{
180
+ currency: z.ZodString;
181
+ minor_units: z.ZodNumber;
182
+ }, z.core.$strict>;
183
+ }, z.core.$strict>], "kind">;
184
+ }, z.core.$strict>, z.ZodObject<{
185
+ kind: z.ZodLiteral<"percentage">;
186
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
187
+ kind: z.ZodLiteral<"exact">;
188
+ basis_points: z.ZodNumber;
189
+ }, z.core.$strict>, z.ZodObject<{
190
+ kind: z.ZodLiteral<"up-to">;
191
+ basis_points: z.ZodNumber;
192
+ }, z.core.$strict>, z.ZodObject<{
193
+ kind: z.ZodLiteral<"at-least">;
194
+ basis_points: z.ZodNumber;
195
+ }, z.core.$strict>, z.ZodObject<{
196
+ kind: z.ZodLiteral<"range">;
197
+ minimum_basis_points: z.ZodNumber;
198
+ maximum_basis_points: z.ZodNumber;
199
+ }, z.core.$strict>], "kind">;
200
+ }, z.core.$strict>], "kind">;
201
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
202
+ kind: z.ZodLiteral<"exact">;
203
+ value: z.ZodString;
204
+ }, z.core.$strict>, z.ZodObject<{
205
+ kind: z.ZodLiteral<"up-to">;
206
+ value: z.ZodString;
207
+ }, z.core.$strict>, z.ZodObject<{
208
+ kind: z.ZodLiteral<"at-least">;
209
+ value: z.ZodString;
210
+ }, z.core.$strict>], "kind">>;
211
+ benefit_id: z.ZodString;
212
+ description: z.ZodString;
213
+ }, z.core.$strict>, z.ZodObject<{
214
+ kind: z.ZodLiteral<"waiver">;
215
+ waived_item: z.ZodString;
216
+ benefit_id: z.ZodString;
217
+ description: z.ZodString;
218
+ }, z.core.$strict>, z.ZodObject<{
219
+ kind: z.ZodLiteral<"free-service">;
220
+ service: z.ZodString;
221
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
222
+ kind: z.ZodLiteral<"exact">;
223
+ value: z.ZodString;
224
+ }, z.core.$strict>, z.ZodObject<{
225
+ kind: z.ZodLiteral<"up-to">;
226
+ value: z.ZodString;
227
+ }, z.core.$strict>, z.ZodObject<{
228
+ kind: z.ZodLiteral<"at-least">;
229
+ value: z.ZodString;
230
+ }, z.core.$strict>], "kind">>;
231
+ benefit_id: z.ZodString;
232
+ description: z.ZodString;
233
+ }, z.core.$strict>, z.ZodObject<{
234
+ kind: z.ZodLiteral<"other">;
235
+ benefit_id: z.ZodString;
236
+ description: z.ZodString;
237
+ }, z.core.$strict>], "kind">;
238
+ export declare const considerationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
239
+ kind: z.ZodLiteral<"none">;
240
+ }, z.core.$strict>, z.ZodObject<{
241
+ kind: z.ZodLiteral<"fixed">;
242
+ amount: z.ZodObject<{
243
+ currency: z.ZodString;
244
+ minor_units: z.ZodNumber;
245
+ }, z.core.$strict>;
246
+ }, z.core.$strict>, z.ZodObject<{
247
+ kind: z.ZodLiteral<"variable">;
248
+ description: z.ZodString;
249
+ }, z.core.$strict>, z.ZodObject<{
250
+ kind: z.ZodLiteral<"unknown">;
251
+ description: z.ZodString;
252
+ }, z.core.$strict>], "kind">;
253
+ export declare const economicsSchema: z.ZodObject<{
254
+ consideration: z.ZodDiscriminatedUnion<[z.ZodObject<{
255
+ kind: z.ZodLiteral<"none">;
256
+ }, z.core.$strict>, z.ZodObject<{
257
+ kind: z.ZodLiteral<"fixed">;
258
+ amount: z.ZodObject<{
259
+ currency: z.ZodString;
260
+ minor_units: z.ZodNumber;
261
+ }, z.core.$strict>;
262
+ }, z.core.$strict>, z.ZodObject<{
263
+ kind: z.ZodLiteral<"variable">;
264
+ description: z.ZodString;
265
+ }, z.core.$strict>, z.ZodObject<{
266
+ kind: z.ZodLiteral<"unknown">;
267
+ description: z.ZodString;
268
+ }, z.core.$strict>], "kind">;
269
+ benefits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
270
+ kind: z.ZodLiteral<"credit">;
271
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
272
+ kind: z.ZodLiteral<"exact">;
273
+ amount: z.ZodObject<{
274
+ currency: z.ZodString;
275
+ minor_units: z.ZodNumber;
276
+ }, z.core.$strict>;
277
+ }, z.core.$strict>, z.ZodObject<{
278
+ kind: z.ZodLiteral<"up-to">;
279
+ amount: z.ZodObject<{
280
+ currency: z.ZodString;
281
+ minor_units: z.ZodNumber;
282
+ }, z.core.$strict>;
283
+ }, z.core.$strict>, z.ZodObject<{
284
+ kind: z.ZodLiteral<"at-least">;
285
+ amount: z.ZodObject<{
286
+ currency: z.ZodString;
287
+ minor_units: z.ZodNumber;
288
+ }, z.core.$strict>;
289
+ }, z.core.$strict>, z.ZodObject<{
290
+ kind: z.ZodLiteral<"range">;
291
+ minimum: z.ZodObject<{
292
+ currency: z.ZodString;
293
+ minor_units: z.ZodNumber;
294
+ }, z.core.$strict>;
295
+ maximum: z.ZodObject<{
296
+ currency: z.ZodString;
297
+ minor_units: z.ZodNumber;
298
+ }, z.core.$strict>;
299
+ }, z.core.$strict>], "kind">;
300
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
301
+ kind: z.ZodLiteral<"exact">;
302
+ value: z.ZodString;
303
+ }, z.core.$strict>, z.ZodObject<{
304
+ kind: z.ZodLiteral<"up-to">;
305
+ value: z.ZodString;
306
+ }, z.core.$strict>, z.ZodObject<{
307
+ kind: z.ZodLiteral<"at-least">;
308
+ value: z.ZodString;
309
+ }, z.core.$strict>], "kind">>;
310
+ benefit_id: z.ZodString;
311
+ description: z.ZodString;
312
+ }, z.core.$strict>, z.ZodObject<{
313
+ kind: z.ZodLiteral<"discount">;
314
+ percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
315
+ kind: z.ZodLiteral<"exact">;
316
+ basis_points: z.ZodNumber;
317
+ }, z.core.$strict>, z.ZodObject<{
318
+ kind: z.ZodLiteral<"up-to">;
319
+ basis_points: z.ZodNumber;
320
+ }, z.core.$strict>, z.ZodObject<{
321
+ kind: z.ZodLiteral<"at-least">;
322
+ basis_points: z.ZodNumber;
323
+ }, z.core.$strict>, z.ZodObject<{
324
+ kind: z.ZodLiteral<"range">;
325
+ minimum_basis_points: z.ZodNumber;
326
+ maximum_basis_points: z.ZodNumber;
327
+ }, z.core.$strict>], "kind">;
328
+ applies_to: z.ZodOptional<z.ZodString>;
329
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
330
+ kind: z.ZodLiteral<"exact">;
331
+ value: z.ZodString;
332
+ }, z.core.$strict>, z.ZodObject<{
333
+ kind: z.ZodLiteral<"up-to">;
334
+ value: z.ZodString;
335
+ }, z.core.$strict>, z.ZodObject<{
336
+ kind: z.ZodLiteral<"at-least">;
337
+ value: z.ZodString;
338
+ }, z.core.$strict>], "kind">>;
339
+ benefit_id: z.ZodString;
340
+ description: z.ZodString;
341
+ }, z.core.$strict>, z.ZodObject<{
342
+ kind: z.ZodLiteral<"cashback">;
343
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
344
+ kind: z.ZodLiteral<"money">;
345
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
346
+ kind: z.ZodLiteral<"exact">;
347
+ amount: z.ZodObject<{
348
+ currency: z.ZodString;
349
+ minor_units: z.ZodNumber;
350
+ }, z.core.$strict>;
351
+ }, z.core.$strict>, z.ZodObject<{
352
+ kind: z.ZodLiteral<"up-to">;
353
+ amount: z.ZodObject<{
354
+ currency: z.ZodString;
355
+ minor_units: z.ZodNumber;
356
+ }, z.core.$strict>;
357
+ }, z.core.$strict>, z.ZodObject<{
358
+ kind: z.ZodLiteral<"at-least">;
359
+ amount: z.ZodObject<{
360
+ currency: z.ZodString;
361
+ minor_units: z.ZodNumber;
362
+ }, z.core.$strict>;
363
+ }, z.core.$strict>, z.ZodObject<{
364
+ kind: z.ZodLiteral<"range">;
365
+ minimum: z.ZodObject<{
366
+ currency: z.ZodString;
367
+ minor_units: z.ZodNumber;
368
+ }, z.core.$strict>;
369
+ maximum: z.ZodObject<{
370
+ currency: z.ZodString;
371
+ minor_units: z.ZodNumber;
372
+ }, z.core.$strict>;
373
+ }, z.core.$strict>], "kind">;
374
+ }, z.core.$strict>, z.ZodObject<{
375
+ kind: z.ZodLiteral<"percentage">;
376
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
377
+ kind: z.ZodLiteral<"exact">;
378
+ basis_points: z.ZodNumber;
379
+ }, z.core.$strict>, z.ZodObject<{
380
+ kind: z.ZodLiteral<"up-to">;
381
+ basis_points: z.ZodNumber;
382
+ }, z.core.$strict>, z.ZodObject<{
383
+ kind: z.ZodLiteral<"at-least">;
384
+ basis_points: z.ZodNumber;
385
+ }, z.core.$strict>, z.ZodObject<{
386
+ kind: z.ZodLiteral<"range">;
387
+ minimum_basis_points: z.ZodNumber;
388
+ maximum_basis_points: z.ZodNumber;
389
+ }, z.core.$strict>], "kind">;
390
+ }, z.core.$strict>], "kind">;
391
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
392
+ kind: z.ZodLiteral<"exact">;
393
+ value: z.ZodString;
394
+ }, z.core.$strict>, z.ZodObject<{
395
+ kind: z.ZodLiteral<"up-to">;
396
+ value: z.ZodString;
397
+ }, z.core.$strict>, z.ZodObject<{
398
+ kind: z.ZodLiteral<"at-least">;
399
+ value: z.ZodString;
400
+ }, z.core.$strict>], "kind">>;
401
+ benefit_id: z.ZodString;
402
+ description: z.ZodString;
403
+ }, z.core.$strict>, z.ZodObject<{
404
+ kind: z.ZodLiteral<"waiver">;
405
+ waived_item: z.ZodString;
406
+ benefit_id: z.ZodString;
407
+ description: z.ZodString;
408
+ }, z.core.$strict>, z.ZodObject<{
409
+ kind: z.ZodLiteral<"free-service">;
410
+ service: z.ZodString;
411
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
412
+ kind: z.ZodLiteral<"exact">;
413
+ value: z.ZodString;
414
+ }, z.core.$strict>, z.ZodObject<{
415
+ kind: z.ZodLiteral<"up-to">;
416
+ value: z.ZodString;
417
+ }, z.core.$strict>, z.ZodObject<{
418
+ kind: z.ZodLiteral<"at-least">;
419
+ value: z.ZodString;
420
+ }, z.core.$strict>], "kind">>;
421
+ benefit_id: z.ZodString;
422
+ description: z.ZodString;
423
+ }, z.core.$strict>, z.ZodObject<{
424
+ kind: z.ZodLiteral<"other">;
425
+ benefit_id: z.ZodString;
426
+ description: z.ZodString;
427
+ }, z.core.$strict>], "kind">>;
428
+ }, z.core.$strict>;
429
+ export declare const eligibilityFactValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
430
+ type: z.ZodLiteral<"null">;
431
+ }, z.core.$strict>, z.ZodObject<{
432
+ type: z.ZodLiteral<"string">;
433
+ value: z.ZodString;
434
+ }, z.core.$strict>, z.ZodObject<{
435
+ type: z.ZodLiteral<"number">;
436
+ value: z.ZodNumber;
437
+ }, z.core.$strict>, z.ZodObject<{
438
+ type: z.ZodLiteral<"boolean">;
439
+ value: z.ZodBoolean;
440
+ }, z.core.$strict>, z.ZodObject<{
441
+ type: z.ZodLiteral<"date">;
442
+ value: z.ZodISODate;
443
+ }, z.core.$strict>, z.ZodObject<{
444
+ type: z.ZodLiteral<"string-set">;
445
+ values: z.ZodArray<z.ZodString>;
446
+ }, z.core.$strict>, z.ZodObject<{
447
+ type: z.ZodLiteral<"number-set">;
448
+ values: z.ZodArray<z.ZodNumber>;
449
+ }, z.core.$strict>], "type">;
450
+ export declare const eligibilityFactsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
451
+ type: z.ZodLiteral<"null">;
452
+ }, z.core.$strict>, z.ZodObject<{
453
+ type: z.ZodLiteral<"string">;
454
+ value: z.ZodString;
455
+ }, z.core.$strict>, z.ZodObject<{
456
+ type: z.ZodLiteral<"number">;
457
+ value: z.ZodNumber;
458
+ }, z.core.$strict>, z.ZodObject<{
459
+ type: z.ZodLiteral<"boolean">;
460
+ value: z.ZodBoolean;
461
+ }, z.core.$strict>, z.ZodObject<{
462
+ type: z.ZodLiteral<"date">;
463
+ value: z.ZodISODate;
464
+ }, z.core.$strict>, z.ZodObject<{
465
+ type: z.ZodLiteral<"string-set">;
466
+ values: z.ZodArray<z.ZodString>;
467
+ }, z.core.$strict>, z.ZodObject<{
468
+ type: z.ZodLiteral<"number-set">;
469
+ values: z.ZodArray<z.ZodNumber>;
470
+ }, z.core.$strict>], "type">>;
471
+ declare const eligibilityPredicateSchema: z.ZodUnion<readonly [z.ZodObject<{
472
+ fact: z.ZodString;
473
+ operator: z.ZodEnum<{
474
+ absent: "absent";
475
+ present: "present";
476
+ }>;
477
+ criterion_id: z.ZodString;
478
+ statement: z.ZodString;
479
+ kind: z.ZodLiteral<"predicate">;
480
+ }, z.core.$strict>, z.ZodObject<{
481
+ fact: z.ZodString;
482
+ operator: z.ZodEnum<{
483
+ eq: "eq";
484
+ neq: "neq";
485
+ contains: "contains";
486
+ }>;
487
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
488
+ type: z.ZodLiteral<"string">;
489
+ value: z.ZodString;
490
+ }, z.core.$strict>, z.ZodObject<{
491
+ type: z.ZodLiteral<"number">;
492
+ value: z.ZodNumber;
493
+ }, z.core.$strict>, z.ZodObject<{
494
+ type: z.ZodLiteral<"boolean">;
495
+ value: z.ZodBoolean;
496
+ }, z.core.$strict>, z.ZodObject<{
497
+ type: z.ZodLiteral<"date">;
498
+ value: z.ZodISODate;
499
+ }, z.core.$strict>], "type">;
500
+ criterion_id: z.ZodString;
501
+ statement: z.ZodString;
502
+ kind: z.ZodLiteral<"predicate">;
503
+ }, z.core.$strict>, z.ZodObject<{
504
+ fact: z.ZodString;
505
+ operator: z.ZodLiteral<"in">;
506
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
507
+ type: z.ZodLiteral<"string-set">;
508
+ values: z.ZodArray<z.ZodString>;
509
+ }, z.core.$strict>, z.ZodObject<{
510
+ type: z.ZodLiteral<"number-set">;
511
+ values: z.ZodArray<z.ZodNumber>;
512
+ }, z.core.$strict>], "type">;
513
+ criterion_id: z.ZodString;
514
+ statement: z.ZodString;
515
+ kind: z.ZodLiteral<"predicate">;
516
+ }, z.core.$strict>, z.ZodObject<{
517
+ fact: z.ZodString;
518
+ operator: z.ZodEnum<{
519
+ lt: "lt";
520
+ lte: "lte";
521
+ gt: "gt";
522
+ gte: "gte";
523
+ }>;
524
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
525
+ type: z.ZodLiteral<"number">;
526
+ value: z.ZodNumber;
527
+ }, z.core.$strict>, z.ZodObject<{
528
+ type: z.ZodLiteral<"date">;
529
+ value: z.ZodISODate;
530
+ }, z.core.$strict>], "type">;
531
+ criterion_id: z.ZodString;
532
+ statement: z.ZodString;
533
+ kind: z.ZodLiteral<"predicate">;
534
+ }, z.core.$strict>]>;
535
+ declare const eligibilityManualSchema: z.ZodObject<{
536
+ reason: z.ZodEnum<{
537
+ other: "other";
538
+ "vendor-discretion": "vendor-discretion";
539
+ "external-verification": "external-verification";
540
+ "not-machine-evaluable": "not-machine-evaluable";
541
+ }>;
542
+ criterion_id: z.ZodString;
543
+ statement: z.ZodString;
544
+ kind: z.ZodLiteral<"manual">;
545
+ }, z.core.$strict>;
546
+ declare const eligibilityConstantSchema: z.ZodObject<{
547
+ value: z.ZodBoolean;
548
+ criterion_id: z.ZodString;
549
+ statement: z.ZodString;
550
+ kind: z.ZodLiteral<"constant">;
551
+ }, z.core.$strict>;
552
+ export type EligibilityFactValue = z.infer<typeof eligibilityFactValueSchema>;
553
+ export type EligibilityRule = z.infer<typeof eligibilityPredicateSchema> | z.infer<typeof eligibilityManualSchema> | z.infer<typeof eligibilityConstantSchema> | {
554
+ readonly kind: "all";
555
+ readonly rules: readonly EligibilityRule[];
556
+ } | {
557
+ readonly kind: "any";
558
+ readonly rules: readonly EligibilityRule[];
559
+ } | {
560
+ readonly kind: "not";
561
+ readonly rule: EligibilityRule;
562
+ };
563
+ export declare const eligibilityRuleSchema: z.ZodType<EligibilityRule>;
564
+ export declare const eligibilitySchema: z.ZodObject<{
565
+ rule: z.ZodType<EligibilityRule, unknown, z.core.$ZodTypeInternals<EligibilityRule, unknown>>;
566
+ }, z.core.$strict>;
567
+ export declare const eligibilityOutcomeSchema: z.ZodEnum<{
568
+ unknown: "unknown";
569
+ met: "met";
570
+ unmet: "unmet";
571
+ }>;
572
+ export type EligibilityOutcome = z.infer<typeof eligibilityOutcomeSchema>;
573
+ export type EligibilityTrace = {
574
+ readonly kind: "all" | "any";
575
+ readonly outcome: EligibilityOutcome;
576
+ readonly rules: readonly EligibilityTrace[];
577
+ } | {
578
+ readonly kind: "not";
579
+ readonly outcome: EligibilityOutcome;
580
+ readonly rule: EligibilityTrace;
581
+ } | {
582
+ readonly kind: "predicate" | "manual" | "constant";
583
+ readonly criterion_id: string;
584
+ readonly statement: string;
585
+ readonly outcome: EligibilityOutcome;
586
+ };
587
+ export declare const eligibilityTraceSchema: z.ZodType<EligibilityTrace>;
588
+ export declare const eligibilityEvaluationSchema: z.ZodObject<{
589
+ eligible: z.ZodNullable<z.ZodBoolean>;
590
+ trace: z.ZodType<EligibilityTrace, unknown, z.core.$ZodTypeInternals<EligibilityTrace, unknown>>;
591
+ }, z.core.$strict>;
592
+ export declare const offerRolesSchema: z.ZodObject<{
593
+ terms_authority_entity_id: z.ZodString;
594
+ access_operator_entity_id: z.ZodString;
595
+ }, z.core.$strict>;
596
+ export declare const accessSchema: z.ZodObject<{
597
+ availability: z.ZodEnum<{
598
+ public: "public";
599
+ other: "other";
600
+ referral: "referral";
601
+ membership: "membership";
602
+ invite: "invite";
603
+ automatic: "automatic";
604
+ }>;
605
+ method: z.ZodEnum<{
606
+ code: "code";
607
+ other: "other";
608
+ automatic: "automatic";
609
+ form: "form";
610
+ contact: "contact";
611
+ }>;
612
+ url: z.ZodOptional<z.ZodURL>;
613
+ public_code: z.ZodOptional<z.ZodString>;
614
+ instructions: z.ZodOptional<z.ZodString>;
615
+ }, z.core.$strict>;
616
+ /**
617
+ * Migration invariant: an Entity without a summary uses its description as the
618
+ * synopsis surface, so it keeps the synopsis bound. Once every Entity carries
619
+ * a summary, summary becomes required and this refinement drops.
620
+ */
621
+ export declare function entitySynopsisInvariant(value: {
622
+ summary?: string | undefined;
623
+ description: string;
624
+ }, context: z.core.$RefinementCtx): void;
625
+ export declare const entityRevisionContentSchema: z.ZodObject<{
626
+ name: z.ZodString;
627
+ summary: z.ZodOptional<z.ZodString>;
628
+ description: z.ZodString;
629
+ domains: z.ZodArray<z.ZodObject<{
630
+ value: z.ZodString;
631
+ role: z.ZodEnum<{
632
+ primary: "primary";
633
+ alias: "alias";
634
+ }>;
635
+ valid_from: z.ZodISODateTime;
636
+ valid_until: z.ZodOptional<z.ZodISODateTime>;
637
+ }, z.core.$strict>>;
638
+ category: z.ZodString;
639
+ links: z.ZodObject<{
640
+ site: z.ZodURL;
641
+ pricing: z.ZodOptional<z.ZodURL>;
642
+ }, z.core.$strict>;
643
+ }, z.core.$strict>;
644
+ export declare const entityRevisionCoreSchema: z.ZodObject<{
645
+ revision_contract: z.ZodLiteral<"sourcey.entity-revision/v1alpha1">;
646
+ entity_id: z.ZodString;
647
+ content: z.ZodObject<{
648
+ name: z.ZodString;
649
+ summary: z.ZodOptional<z.ZodString>;
650
+ description: z.ZodString;
651
+ domains: z.ZodArray<z.ZodObject<{
652
+ value: z.ZodString;
653
+ role: z.ZodEnum<{
654
+ primary: "primary";
655
+ alias: "alias";
656
+ }>;
657
+ valid_from: z.ZodISODateTime;
658
+ valid_until: z.ZodOptional<z.ZodISODateTime>;
659
+ }, z.core.$strict>>;
660
+ category: z.ZodString;
661
+ links: z.ZodObject<{
662
+ site: z.ZodURL;
663
+ pricing: z.ZodOptional<z.ZodURL>;
664
+ }, z.core.$strict>;
665
+ }, z.core.$strict>;
666
+ }, z.core.$strict>;
667
+ export declare const entityRevisionSchema: z.ZodObject<{
668
+ revision_contract: z.ZodLiteral<"sourcey.entity-revision/v1alpha1">;
669
+ entity_id: z.ZodString;
670
+ content: z.ZodObject<{
671
+ name: z.ZodString;
672
+ summary: z.ZodOptional<z.ZodString>;
673
+ description: z.ZodString;
674
+ domains: z.ZodArray<z.ZodObject<{
675
+ value: z.ZodString;
676
+ role: z.ZodEnum<{
677
+ primary: "primary";
678
+ alias: "alias";
679
+ }>;
680
+ valid_from: z.ZodISODateTime;
681
+ valid_until: z.ZodOptional<z.ZodISODateTime>;
682
+ }, z.core.$strict>>;
683
+ category: z.ZodString;
684
+ links: z.ZodObject<{
685
+ site: z.ZodURL;
686
+ pricing: z.ZodOptional<z.ZodURL>;
687
+ }, z.core.$strict>;
688
+ }, z.core.$strict>;
689
+ revision_digest: z.ZodString;
690
+ }, z.core.$strict>;
691
+ export declare const programRevisionContentSchema: z.ZodObject<{
692
+ title: z.ZodString;
693
+ summary: z.ZodOptional<z.ZodString>;
694
+ }, z.core.$strict>;
695
+ export declare const programRevisionCoreSchema: z.ZodObject<{
696
+ revision_contract: z.ZodLiteral<"sourcey.program-revision/v1alpha1">;
697
+ entity_id: z.ZodString;
698
+ program_id: z.ZodString;
699
+ content: z.ZodObject<{
700
+ title: z.ZodString;
701
+ summary: z.ZodOptional<z.ZodString>;
702
+ }, z.core.$strict>;
703
+ }, z.core.$strict>;
704
+ export declare const programRevisionSchema: z.ZodObject<{
705
+ revision_contract: z.ZodLiteral<"sourcey.program-revision/v1alpha1">;
706
+ entity_id: z.ZodString;
707
+ program_id: z.ZodString;
708
+ content: z.ZodObject<{
709
+ title: z.ZodString;
710
+ summary: z.ZodOptional<z.ZodString>;
711
+ }, z.core.$strict>;
712
+ revision_digest: z.ZodString;
713
+ }, z.core.$strict>;
714
+ export declare const lifecycleStatusSchema: z.ZodEnum<{
715
+ active: "active";
716
+ ended: "ended";
717
+ withdrawn: "withdrawn";
718
+ }>;
719
+ export declare const offerRevisionContentSchema: z.ZodObject<{
720
+ title: z.ZodString;
721
+ summary: z.ZodString;
722
+ description: z.ZodOptional<z.ZodString>;
723
+ lifecycle: z.ZodObject<{
724
+ status: z.ZodEnum<{
725
+ active: "active";
726
+ ended: "ended";
727
+ withdrawn: "withdrawn";
728
+ }>;
729
+ effective_from: z.ZodISODateTime;
730
+ effective_until: z.ZodOptional<z.ZodISODateTime>;
731
+ }, z.core.$strict>;
732
+ economics: z.ZodObject<{
733
+ consideration: z.ZodDiscriminatedUnion<[z.ZodObject<{
734
+ kind: z.ZodLiteral<"none">;
735
+ }, z.core.$strict>, z.ZodObject<{
736
+ kind: z.ZodLiteral<"fixed">;
737
+ amount: z.ZodObject<{
738
+ currency: z.ZodString;
739
+ minor_units: z.ZodNumber;
740
+ }, z.core.$strict>;
741
+ }, z.core.$strict>, z.ZodObject<{
742
+ kind: z.ZodLiteral<"variable">;
743
+ description: z.ZodString;
744
+ }, z.core.$strict>, z.ZodObject<{
745
+ kind: z.ZodLiteral<"unknown">;
746
+ description: z.ZodString;
747
+ }, z.core.$strict>], "kind">;
748
+ benefits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
749
+ kind: z.ZodLiteral<"credit">;
750
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
751
+ kind: z.ZodLiteral<"exact">;
752
+ amount: z.ZodObject<{
753
+ currency: z.ZodString;
754
+ minor_units: z.ZodNumber;
755
+ }, z.core.$strict>;
756
+ }, z.core.$strict>, z.ZodObject<{
757
+ kind: z.ZodLiteral<"up-to">;
758
+ amount: z.ZodObject<{
759
+ currency: z.ZodString;
760
+ minor_units: z.ZodNumber;
761
+ }, z.core.$strict>;
762
+ }, z.core.$strict>, z.ZodObject<{
763
+ kind: z.ZodLiteral<"at-least">;
764
+ amount: z.ZodObject<{
765
+ currency: z.ZodString;
766
+ minor_units: z.ZodNumber;
767
+ }, z.core.$strict>;
768
+ }, z.core.$strict>, z.ZodObject<{
769
+ kind: z.ZodLiteral<"range">;
770
+ minimum: z.ZodObject<{
771
+ currency: z.ZodString;
772
+ minor_units: z.ZodNumber;
773
+ }, z.core.$strict>;
774
+ maximum: z.ZodObject<{
775
+ currency: z.ZodString;
776
+ minor_units: z.ZodNumber;
777
+ }, z.core.$strict>;
778
+ }, z.core.$strict>], "kind">;
779
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
780
+ kind: z.ZodLiteral<"exact">;
781
+ value: z.ZodString;
782
+ }, z.core.$strict>, z.ZodObject<{
783
+ kind: z.ZodLiteral<"up-to">;
784
+ value: z.ZodString;
785
+ }, z.core.$strict>, z.ZodObject<{
786
+ kind: z.ZodLiteral<"at-least">;
787
+ value: z.ZodString;
788
+ }, z.core.$strict>], "kind">>;
789
+ benefit_id: z.ZodString;
790
+ description: z.ZodString;
791
+ }, z.core.$strict>, z.ZodObject<{
792
+ kind: z.ZodLiteral<"discount">;
793
+ percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
794
+ kind: z.ZodLiteral<"exact">;
795
+ basis_points: z.ZodNumber;
796
+ }, z.core.$strict>, z.ZodObject<{
797
+ kind: z.ZodLiteral<"up-to">;
798
+ basis_points: z.ZodNumber;
799
+ }, z.core.$strict>, z.ZodObject<{
800
+ kind: z.ZodLiteral<"at-least">;
801
+ basis_points: z.ZodNumber;
802
+ }, z.core.$strict>, z.ZodObject<{
803
+ kind: z.ZodLiteral<"range">;
804
+ minimum_basis_points: z.ZodNumber;
805
+ maximum_basis_points: z.ZodNumber;
806
+ }, z.core.$strict>], "kind">;
807
+ applies_to: z.ZodOptional<z.ZodString>;
808
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
809
+ kind: z.ZodLiteral<"exact">;
810
+ value: z.ZodString;
811
+ }, z.core.$strict>, z.ZodObject<{
812
+ kind: z.ZodLiteral<"up-to">;
813
+ value: z.ZodString;
814
+ }, z.core.$strict>, z.ZodObject<{
815
+ kind: z.ZodLiteral<"at-least">;
816
+ value: z.ZodString;
817
+ }, z.core.$strict>], "kind">>;
818
+ benefit_id: z.ZodString;
819
+ description: z.ZodString;
820
+ }, z.core.$strict>, z.ZodObject<{
821
+ kind: z.ZodLiteral<"cashback">;
822
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
823
+ kind: z.ZodLiteral<"money">;
824
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
825
+ kind: z.ZodLiteral<"exact">;
826
+ amount: z.ZodObject<{
827
+ currency: z.ZodString;
828
+ minor_units: z.ZodNumber;
829
+ }, z.core.$strict>;
830
+ }, z.core.$strict>, z.ZodObject<{
831
+ kind: z.ZodLiteral<"up-to">;
832
+ amount: z.ZodObject<{
833
+ currency: z.ZodString;
834
+ minor_units: z.ZodNumber;
835
+ }, z.core.$strict>;
836
+ }, z.core.$strict>, z.ZodObject<{
837
+ kind: z.ZodLiteral<"at-least">;
838
+ amount: z.ZodObject<{
839
+ currency: z.ZodString;
840
+ minor_units: z.ZodNumber;
841
+ }, z.core.$strict>;
842
+ }, z.core.$strict>, z.ZodObject<{
843
+ kind: z.ZodLiteral<"range">;
844
+ minimum: z.ZodObject<{
845
+ currency: z.ZodString;
846
+ minor_units: z.ZodNumber;
847
+ }, z.core.$strict>;
848
+ maximum: z.ZodObject<{
849
+ currency: z.ZodString;
850
+ minor_units: z.ZodNumber;
851
+ }, z.core.$strict>;
852
+ }, z.core.$strict>], "kind">;
853
+ }, z.core.$strict>, z.ZodObject<{
854
+ kind: z.ZodLiteral<"percentage">;
855
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
856
+ kind: z.ZodLiteral<"exact">;
857
+ basis_points: z.ZodNumber;
858
+ }, z.core.$strict>, z.ZodObject<{
859
+ kind: z.ZodLiteral<"up-to">;
860
+ basis_points: z.ZodNumber;
861
+ }, z.core.$strict>, z.ZodObject<{
862
+ kind: z.ZodLiteral<"at-least">;
863
+ basis_points: z.ZodNumber;
864
+ }, z.core.$strict>, z.ZodObject<{
865
+ kind: z.ZodLiteral<"range">;
866
+ minimum_basis_points: z.ZodNumber;
867
+ maximum_basis_points: z.ZodNumber;
868
+ }, z.core.$strict>], "kind">;
869
+ }, z.core.$strict>], "kind">;
870
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
871
+ kind: z.ZodLiteral<"exact">;
872
+ value: z.ZodString;
873
+ }, z.core.$strict>, z.ZodObject<{
874
+ kind: z.ZodLiteral<"up-to">;
875
+ value: z.ZodString;
876
+ }, z.core.$strict>, z.ZodObject<{
877
+ kind: z.ZodLiteral<"at-least">;
878
+ value: z.ZodString;
879
+ }, z.core.$strict>], "kind">>;
880
+ benefit_id: z.ZodString;
881
+ description: z.ZodString;
882
+ }, z.core.$strict>, z.ZodObject<{
883
+ kind: z.ZodLiteral<"waiver">;
884
+ waived_item: z.ZodString;
885
+ benefit_id: z.ZodString;
886
+ description: z.ZodString;
887
+ }, z.core.$strict>, z.ZodObject<{
888
+ kind: z.ZodLiteral<"free-service">;
889
+ service: z.ZodString;
890
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
891
+ kind: z.ZodLiteral<"exact">;
892
+ value: z.ZodString;
893
+ }, z.core.$strict>, z.ZodObject<{
894
+ kind: z.ZodLiteral<"up-to">;
895
+ value: z.ZodString;
896
+ }, z.core.$strict>, z.ZodObject<{
897
+ kind: z.ZodLiteral<"at-least">;
898
+ value: z.ZodString;
899
+ }, z.core.$strict>], "kind">>;
900
+ benefit_id: z.ZodString;
901
+ description: z.ZodString;
902
+ }, z.core.$strict>, z.ZodObject<{
903
+ kind: z.ZodLiteral<"other">;
904
+ benefit_id: z.ZodString;
905
+ description: z.ZodString;
906
+ }, z.core.$strict>], "kind">>;
907
+ }, z.core.$strict>;
908
+ eligibility: z.ZodObject<{
909
+ rule: z.ZodType<EligibilityRule, unknown, z.core.$ZodTypeInternals<EligibilityRule, unknown>>;
910
+ }, z.core.$strict>;
911
+ roles: z.ZodObject<{
912
+ terms_authority_entity_id: z.ZodString;
913
+ access_operator_entity_id: z.ZodString;
914
+ }, z.core.$strict>;
915
+ access: z.ZodObject<{
916
+ availability: z.ZodEnum<{
917
+ public: "public";
918
+ other: "other";
919
+ referral: "referral";
920
+ membership: "membership";
921
+ invite: "invite";
922
+ automatic: "automatic";
923
+ }>;
924
+ method: z.ZodEnum<{
925
+ code: "code";
926
+ other: "other";
927
+ automatic: "automatic";
928
+ form: "form";
929
+ contact: "contact";
930
+ }>;
931
+ url: z.ZodOptional<z.ZodURL>;
932
+ public_code: z.ZodOptional<z.ZodString>;
933
+ instructions: z.ZodOptional<z.ZodString>;
934
+ }, z.core.$strict>;
935
+ terms_url: z.ZodOptional<z.ZodURL>;
936
+ }, z.core.$strict>;
937
+ export declare const offerRevisionCoreSchema: z.ZodObject<{
938
+ revision_contract: z.ZodLiteral<"sourcey.offer-revision/v1alpha1">;
939
+ entity_id: z.ZodString;
940
+ program_id: z.ZodOptional<z.ZodString>;
941
+ offer_id: z.ZodString;
942
+ content: z.ZodObject<{
943
+ title: z.ZodString;
944
+ summary: z.ZodString;
945
+ description: z.ZodOptional<z.ZodString>;
946
+ lifecycle: z.ZodObject<{
947
+ status: z.ZodEnum<{
948
+ active: "active";
949
+ ended: "ended";
950
+ withdrawn: "withdrawn";
951
+ }>;
952
+ effective_from: z.ZodISODateTime;
953
+ effective_until: z.ZodOptional<z.ZodISODateTime>;
954
+ }, z.core.$strict>;
955
+ economics: z.ZodObject<{
956
+ consideration: z.ZodDiscriminatedUnion<[z.ZodObject<{
957
+ kind: z.ZodLiteral<"none">;
958
+ }, z.core.$strict>, z.ZodObject<{
959
+ kind: z.ZodLiteral<"fixed">;
960
+ amount: z.ZodObject<{
961
+ currency: z.ZodString;
962
+ minor_units: z.ZodNumber;
963
+ }, z.core.$strict>;
964
+ }, z.core.$strict>, z.ZodObject<{
965
+ kind: z.ZodLiteral<"variable">;
966
+ description: z.ZodString;
967
+ }, z.core.$strict>, z.ZodObject<{
968
+ kind: z.ZodLiteral<"unknown">;
969
+ description: z.ZodString;
970
+ }, z.core.$strict>], "kind">;
971
+ benefits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
972
+ kind: z.ZodLiteral<"credit">;
973
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
974
+ kind: z.ZodLiteral<"exact">;
975
+ amount: z.ZodObject<{
976
+ currency: z.ZodString;
977
+ minor_units: z.ZodNumber;
978
+ }, z.core.$strict>;
979
+ }, z.core.$strict>, z.ZodObject<{
980
+ kind: z.ZodLiteral<"up-to">;
981
+ amount: z.ZodObject<{
982
+ currency: z.ZodString;
983
+ minor_units: z.ZodNumber;
984
+ }, z.core.$strict>;
985
+ }, z.core.$strict>, z.ZodObject<{
986
+ kind: z.ZodLiteral<"at-least">;
987
+ amount: z.ZodObject<{
988
+ currency: z.ZodString;
989
+ minor_units: z.ZodNumber;
990
+ }, z.core.$strict>;
991
+ }, z.core.$strict>, z.ZodObject<{
992
+ kind: z.ZodLiteral<"range">;
993
+ minimum: z.ZodObject<{
994
+ currency: z.ZodString;
995
+ minor_units: z.ZodNumber;
996
+ }, z.core.$strict>;
997
+ maximum: z.ZodObject<{
998
+ currency: z.ZodString;
999
+ minor_units: z.ZodNumber;
1000
+ }, z.core.$strict>;
1001
+ }, z.core.$strict>], "kind">;
1002
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1003
+ kind: z.ZodLiteral<"exact">;
1004
+ value: z.ZodString;
1005
+ }, z.core.$strict>, z.ZodObject<{
1006
+ kind: z.ZodLiteral<"up-to">;
1007
+ value: z.ZodString;
1008
+ }, z.core.$strict>, z.ZodObject<{
1009
+ kind: z.ZodLiteral<"at-least">;
1010
+ value: z.ZodString;
1011
+ }, z.core.$strict>], "kind">>;
1012
+ benefit_id: z.ZodString;
1013
+ description: z.ZodString;
1014
+ }, z.core.$strict>, z.ZodObject<{
1015
+ kind: z.ZodLiteral<"discount">;
1016
+ percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
1017
+ kind: z.ZodLiteral<"exact">;
1018
+ basis_points: z.ZodNumber;
1019
+ }, z.core.$strict>, z.ZodObject<{
1020
+ kind: z.ZodLiteral<"up-to">;
1021
+ basis_points: z.ZodNumber;
1022
+ }, z.core.$strict>, z.ZodObject<{
1023
+ kind: z.ZodLiteral<"at-least">;
1024
+ basis_points: z.ZodNumber;
1025
+ }, z.core.$strict>, z.ZodObject<{
1026
+ kind: z.ZodLiteral<"range">;
1027
+ minimum_basis_points: z.ZodNumber;
1028
+ maximum_basis_points: z.ZodNumber;
1029
+ }, z.core.$strict>], "kind">;
1030
+ applies_to: z.ZodOptional<z.ZodString>;
1031
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1032
+ kind: z.ZodLiteral<"exact">;
1033
+ value: z.ZodString;
1034
+ }, z.core.$strict>, z.ZodObject<{
1035
+ kind: z.ZodLiteral<"up-to">;
1036
+ value: z.ZodString;
1037
+ }, z.core.$strict>, z.ZodObject<{
1038
+ kind: z.ZodLiteral<"at-least">;
1039
+ value: z.ZodString;
1040
+ }, z.core.$strict>], "kind">>;
1041
+ benefit_id: z.ZodString;
1042
+ description: z.ZodString;
1043
+ }, z.core.$strict>, z.ZodObject<{
1044
+ kind: z.ZodLiteral<"cashback">;
1045
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
1046
+ kind: z.ZodLiteral<"money">;
1047
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
1048
+ kind: z.ZodLiteral<"exact">;
1049
+ amount: z.ZodObject<{
1050
+ currency: z.ZodString;
1051
+ minor_units: z.ZodNumber;
1052
+ }, z.core.$strict>;
1053
+ }, z.core.$strict>, z.ZodObject<{
1054
+ kind: z.ZodLiteral<"up-to">;
1055
+ amount: z.ZodObject<{
1056
+ currency: z.ZodString;
1057
+ minor_units: z.ZodNumber;
1058
+ }, z.core.$strict>;
1059
+ }, z.core.$strict>, z.ZodObject<{
1060
+ kind: z.ZodLiteral<"at-least">;
1061
+ amount: z.ZodObject<{
1062
+ currency: z.ZodString;
1063
+ minor_units: z.ZodNumber;
1064
+ }, z.core.$strict>;
1065
+ }, z.core.$strict>, z.ZodObject<{
1066
+ kind: z.ZodLiteral<"range">;
1067
+ minimum: z.ZodObject<{
1068
+ currency: z.ZodString;
1069
+ minor_units: z.ZodNumber;
1070
+ }, z.core.$strict>;
1071
+ maximum: z.ZodObject<{
1072
+ currency: z.ZodString;
1073
+ minor_units: z.ZodNumber;
1074
+ }, z.core.$strict>;
1075
+ }, z.core.$strict>], "kind">;
1076
+ }, z.core.$strict>, z.ZodObject<{
1077
+ kind: z.ZodLiteral<"percentage">;
1078
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
1079
+ kind: z.ZodLiteral<"exact">;
1080
+ basis_points: z.ZodNumber;
1081
+ }, z.core.$strict>, z.ZodObject<{
1082
+ kind: z.ZodLiteral<"up-to">;
1083
+ basis_points: z.ZodNumber;
1084
+ }, z.core.$strict>, z.ZodObject<{
1085
+ kind: z.ZodLiteral<"at-least">;
1086
+ basis_points: z.ZodNumber;
1087
+ }, z.core.$strict>, z.ZodObject<{
1088
+ kind: z.ZodLiteral<"range">;
1089
+ minimum_basis_points: z.ZodNumber;
1090
+ maximum_basis_points: z.ZodNumber;
1091
+ }, z.core.$strict>], "kind">;
1092
+ }, z.core.$strict>], "kind">;
1093
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1094
+ kind: z.ZodLiteral<"exact">;
1095
+ value: z.ZodString;
1096
+ }, z.core.$strict>, z.ZodObject<{
1097
+ kind: z.ZodLiteral<"up-to">;
1098
+ value: z.ZodString;
1099
+ }, z.core.$strict>, z.ZodObject<{
1100
+ kind: z.ZodLiteral<"at-least">;
1101
+ value: z.ZodString;
1102
+ }, z.core.$strict>], "kind">>;
1103
+ benefit_id: z.ZodString;
1104
+ description: z.ZodString;
1105
+ }, z.core.$strict>, z.ZodObject<{
1106
+ kind: z.ZodLiteral<"waiver">;
1107
+ waived_item: z.ZodString;
1108
+ benefit_id: z.ZodString;
1109
+ description: z.ZodString;
1110
+ }, z.core.$strict>, z.ZodObject<{
1111
+ kind: z.ZodLiteral<"free-service">;
1112
+ service: z.ZodString;
1113
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1114
+ kind: z.ZodLiteral<"exact">;
1115
+ value: z.ZodString;
1116
+ }, z.core.$strict>, z.ZodObject<{
1117
+ kind: z.ZodLiteral<"up-to">;
1118
+ value: z.ZodString;
1119
+ }, z.core.$strict>, z.ZodObject<{
1120
+ kind: z.ZodLiteral<"at-least">;
1121
+ value: z.ZodString;
1122
+ }, z.core.$strict>], "kind">>;
1123
+ benefit_id: z.ZodString;
1124
+ description: z.ZodString;
1125
+ }, z.core.$strict>, z.ZodObject<{
1126
+ kind: z.ZodLiteral<"other">;
1127
+ benefit_id: z.ZodString;
1128
+ description: z.ZodString;
1129
+ }, z.core.$strict>], "kind">>;
1130
+ }, z.core.$strict>;
1131
+ eligibility: z.ZodObject<{
1132
+ rule: z.ZodType<EligibilityRule, unknown, z.core.$ZodTypeInternals<EligibilityRule, unknown>>;
1133
+ }, z.core.$strict>;
1134
+ roles: z.ZodObject<{
1135
+ terms_authority_entity_id: z.ZodString;
1136
+ access_operator_entity_id: z.ZodString;
1137
+ }, z.core.$strict>;
1138
+ access: z.ZodObject<{
1139
+ availability: z.ZodEnum<{
1140
+ public: "public";
1141
+ other: "other";
1142
+ referral: "referral";
1143
+ membership: "membership";
1144
+ invite: "invite";
1145
+ automatic: "automatic";
1146
+ }>;
1147
+ method: z.ZodEnum<{
1148
+ code: "code";
1149
+ other: "other";
1150
+ automatic: "automatic";
1151
+ form: "form";
1152
+ contact: "contact";
1153
+ }>;
1154
+ url: z.ZodOptional<z.ZodURL>;
1155
+ public_code: z.ZodOptional<z.ZodString>;
1156
+ instructions: z.ZodOptional<z.ZodString>;
1157
+ }, z.core.$strict>;
1158
+ terms_url: z.ZodOptional<z.ZodURL>;
1159
+ }, z.core.$strict>;
1160
+ }, z.core.$strict>;
1161
+ export declare const offerRevisionSchema: z.ZodObject<{
1162
+ revision_contract: z.ZodLiteral<"sourcey.offer-revision/v1alpha1">;
1163
+ entity_id: z.ZodString;
1164
+ program_id: z.ZodOptional<z.ZodString>;
1165
+ offer_id: z.ZodString;
1166
+ content: z.ZodObject<{
1167
+ title: z.ZodString;
1168
+ summary: z.ZodString;
1169
+ description: z.ZodOptional<z.ZodString>;
1170
+ lifecycle: z.ZodObject<{
1171
+ status: z.ZodEnum<{
1172
+ active: "active";
1173
+ ended: "ended";
1174
+ withdrawn: "withdrawn";
1175
+ }>;
1176
+ effective_from: z.ZodISODateTime;
1177
+ effective_until: z.ZodOptional<z.ZodISODateTime>;
1178
+ }, z.core.$strict>;
1179
+ economics: z.ZodObject<{
1180
+ consideration: z.ZodDiscriminatedUnion<[z.ZodObject<{
1181
+ kind: z.ZodLiteral<"none">;
1182
+ }, z.core.$strict>, z.ZodObject<{
1183
+ kind: z.ZodLiteral<"fixed">;
1184
+ amount: z.ZodObject<{
1185
+ currency: z.ZodString;
1186
+ minor_units: z.ZodNumber;
1187
+ }, z.core.$strict>;
1188
+ }, z.core.$strict>, z.ZodObject<{
1189
+ kind: z.ZodLiteral<"variable">;
1190
+ description: z.ZodString;
1191
+ }, z.core.$strict>, z.ZodObject<{
1192
+ kind: z.ZodLiteral<"unknown">;
1193
+ description: z.ZodString;
1194
+ }, z.core.$strict>], "kind">;
1195
+ benefits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1196
+ kind: z.ZodLiteral<"credit">;
1197
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
1198
+ kind: z.ZodLiteral<"exact">;
1199
+ amount: z.ZodObject<{
1200
+ currency: z.ZodString;
1201
+ minor_units: z.ZodNumber;
1202
+ }, z.core.$strict>;
1203
+ }, z.core.$strict>, z.ZodObject<{
1204
+ kind: z.ZodLiteral<"up-to">;
1205
+ amount: z.ZodObject<{
1206
+ currency: z.ZodString;
1207
+ minor_units: z.ZodNumber;
1208
+ }, z.core.$strict>;
1209
+ }, z.core.$strict>, z.ZodObject<{
1210
+ kind: z.ZodLiteral<"at-least">;
1211
+ amount: z.ZodObject<{
1212
+ currency: z.ZodString;
1213
+ minor_units: z.ZodNumber;
1214
+ }, z.core.$strict>;
1215
+ }, z.core.$strict>, z.ZodObject<{
1216
+ kind: z.ZodLiteral<"range">;
1217
+ minimum: z.ZodObject<{
1218
+ currency: z.ZodString;
1219
+ minor_units: z.ZodNumber;
1220
+ }, z.core.$strict>;
1221
+ maximum: z.ZodObject<{
1222
+ currency: z.ZodString;
1223
+ minor_units: z.ZodNumber;
1224
+ }, z.core.$strict>;
1225
+ }, z.core.$strict>], "kind">;
1226
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1227
+ kind: z.ZodLiteral<"exact">;
1228
+ value: z.ZodString;
1229
+ }, z.core.$strict>, z.ZodObject<{
1230
+ kind: z.ZodLiteral<"up-to">;
1231
+ value: z.ZodString;
1232
+ }, z.core.$strict>, z.ZodObject<{
1233
+ kind: z.ZodLiteral<"at-least">;
1234
+ value: z.ZodString;
1235
+ }, z.core.$strict>], "kind">>;
1236
+ benefit_id: z.ZodString;
1237
+ description: z.ZodString;
1238
+ }, z.core.$strict>, z.ZodObject<{
1239
+ kind: z.ZodLiteral<"discount">;
1240
+ percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
1241
+ kind: z.ZodLiteral<"exact">;
1242
+ basis_points: z.ZodNumber;
1243
+ }, z.core.$strict>, z.ZodObject<{
1244
+ kind: z.ZodLiteral<"up-to">;
1245
+ basis_points: z.ZodNumber;
1246
+ }, z.core.$strict>, z.ZodObject<{
1247
+ kind: z.ZodLiteral<"at-least">;
1248
+ basis_points: z.ZodNumber;
1249
+ }, z.core.$strict>, z.ZodObject<{
1250
+ kind: z.ZodLiteral<"range">;
1251
+ minimum_basis_points: z.ZodNumber;
1252
+ maximum_basis_points: z.ZodNumber;
1253
+ }, z.core.$strict>], "kind">;
1254
+ applies_to: z.ZodOptional<z.ZodString>;
1255
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1256
+ kind: z.ZodLiteral<"exact">;
1257
+ value: z.ZodString;
1258
+ }, z.core.$strict>, z.ZodObject<{
1259
+ kind: z.ZodLiteral<"up-to">;
1260
+ value: z.ZodString;
1261
+ }, z.core.$strict>, z.ZodObject<{
1262
+ kind: z.ZodLiteral<"at-least">;
1263
+ value: z.ZodString;
1264
+ }, z.core.$strict>], "kind">>;
1265
+ benefit_id: z.ZodString;
1266
+ description: z.ZodString;
1267
+ }, z.core.$strict>, z.ZodObject<{
1268
+ kind: z.ZodLiteral<"cashback">;
1269
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
1270
+ kind: z.ZodLiteral<"money">;
1271
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
1272
+ kind: z.ZodLiteral<"exact">;
1273
+ amount: z.ZodObject<{
1274
+ currency: z.ZodString;
1275
+ minor_units: z.ZodNumber;
1276
+ }, z.core.$strict>;
1277
+ }, z.core.$strict>, z.ZodObject<{
1278
+ kind: z.ZodLiteral<"up-to">;
1279
+ amount: z.ZodObject<{
1280
+ currency: z.ZodString;
1281
+ minor_units: z.ZodNumber;
1282
+ }, z.core.$strict>;
1283
+ }, z.core.$strict>, z.ZodObject<{
1284
+ kind: z.ZodLiteral<"at-least">;
1285
+ amount: z.ZodObject<{
1286
+ currency: z.ZodString;
1287
+ minor_units: z.ZodNumber;
1288
+ }, z.core.$strict>;
1289
+ }, z.core.$strict>, z.ZodObject<{
1290
+ kind: z.ZodLiteral<"range">;
1291
+ minimum: z.ZodObject<{
1292
+ currency: z.ZodString;
1293
+ minor_units: z.ZodNumber;
1294
+ }, z.core.$strict>;
1295
+ maximum: z.ZodObject<{
1296
+ currency: z.ZodString;
1297
+ minor_units: z.ZodNumber;
1298
+ }, z.core.$strict>;
1299
+ }, z.core.$strict>], "kind">;
1300
+ }, z.core.$strict>, z.ZodObject<{
1301
+ kind: z.ZodLiteral<"percentage">;
1302
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
1303
+ kind: z.ZodLiteral<"exact">;
1304
+ basis_points: z.ZodNumber;
1305
+ }, z.core.$strict>, z.ZodObject<{
1306
+ kind: z.ZodLiteral<"up-to">;
1307
+ basis_points: z.ZodNumber;
1308
+ }, z.core.$strict>, z.ZodObject<{
1309
+ kind: z.ZodLiteral<"at-least">;
1310
+ basis_points: z.ZodNumber;
1311
+ }, z.core.$strict>, z.ZodObject<{
1312
+ kind: z.ZodLiteral<"range">;
1313
+ minimum_basis_points: z.ZodNumber;
1314
+ maximum_basis_points: z.ZodNumber;
1315
+ }, z.core.$strict>], "kind">;
1316
+ }, z.core.$strict>], "kind">;
1317
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1318
+ kind: z.ZodLiteral<"exact">;
1319
+ value: z.ZodString;
1320
+ }, z.core.$strict>, z.ZodObject<{
1321
+ kind: z.ZodLiteral<"up-to">;
1322
+ value: z.ZodString;
1323
+ }, z.core.$strict>, z.ZodObject<{
1324
+ kind: z.ZodLiteral<"at-least">;
1325
+ value: z.ZodString;
1326
+ }, z.core.$strict>], "kind">>;
1327
+ benefit_id: z.ZodString;
1328
+ description: z.ZodString;
1329
+ }, z.core.$strict>, z.ZodObject<{
1330
+ kind: z.ZodLiteral<"waiver">;
1331
+ waived_item: z.ZodString;
1332
+ benefit_id: z.ZodString;
1333
+ description: z.ZodString;
1334
+ }, z.core.$strict>, z.ZodObject<{
1335
+ kind: z.ZodLiteral<"free-service">;
1336
+ service: z.ZodString;
1337
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1338
+ kind: z.ZodLiteral<"exact">;
1339
+ value: z.ZodString;
1340
+ }, z.core.$strict>, z.ZodObject<{
1341
+ kind: z.ZodLiteral<"up-to">;
1342
+ value: z.ZodString;
1343
+ }, z.core.$strict>, z.ZodObject<{
1344
+ kind: z.ZodLiteral<"at-least">;
1345
+ value: z.ZodString;
1346
+ }, z.core.$strict>], "kind">>;
1347
+ benefit_id: z.ZodString;
1348
+ description: z.ZodString;
1349
+ }, z.core.$strict>, z.ZodObject<{
1350
+ kind: z.ZodLiteral<"other">;
1351
+ benefit_id: z.ZodString;
1352
+ description: z.ZodString;
1353
+ }, z.core.$strict>], "kind">>;
1354
+ }, z.core.$strict>;
1355
+ eligibility: z.ZodObject<{
1356
+ rule: z.ZodType<EligibilityRule, unknown, z.core.$ZodTypeInternals<EligibilityRule, unknown>>;
1357
+ }, z.core.$strict>;
1358
+ roles: z.ZodObject<{
1359
+ terms_authority_entity_id: z.ZodString;
1360
+ access_operator_entity_id: z.ZodString;
1361
+ }, z.core.$strict>;
1362
+ access: z.ZodObject<{
1363
+ availability: z.ZodEnum<{
1364
+ public: "public";
1365
+ other: "other";
1366
+ referral: "referral";
1367
+ membership: "membership";
1368
+ invite: "invite";
1369
+ automatic: "automatic";
1370
+ }>;
1371
+ method: z.ZodEnum<{
1372
+ code: "code";
1373
+ other: "other";
1374
+ automatic: "automatic";
1375
+ form: "form";
1376
+ contact: "contact";
1377
+ }>;
1378
+ url: z.ZodOptional<z.ZodURL>;
1379
+ public_code: z.ZodOptional<z.ZodString>;
1380
+ instructions: z.ZodOptional<z.ZodString>;
1381
+ }, z.core.$strict>;
1382
+ terms_url: z.ZodOptional<z.ZodURL>;
1383
+ }, z.core.$strict>;
1384
+ revision_digest: z.ZodString;
1385
+ }, z.core.$strict>;
1386
+ export type Domain = z.infer<typeof domainSchema>;
1387
+ export type Money = z.infer<typeof moneySchema>;
1388
+ export type MoneyValue = z.infer<typeof moneyValueSchema>;
1389
+ export type PercentageValue = z.infer<typeof percentageValueSchema>;
1390
+ export type DurationValue = z.infer<typeof durationValueSchema>;
1391
+ export type Benefit = z.infer<typeof benefitSchema>;
1392
+ export type Consideration = z.infer<typeof considerationSchema>;
1393
+ export type Economics = z.infer<typeof economicsSchema>;
1394
+ export type Eligibility = z.infer<typeof eligibilitySchema>;
1395
+ export type EligibilityEvaluation = z.infer<typeof eligibilityEvaluationSchema>;
1396
+ export type OfferRoles = z.infer<typeof offerRolesSchema>;
1397
+ export type Access = z.infer<typeof accessSchema>;
1398
+ export type EntityRevisionCore = z.infer<typeof entityRevisionCoreSchema>;
1399
+ export type EntityRevision = z.infer<typeof entityRevisionSchema>;
1400
+ export type ProgramRevisionCore = z.infer<typeof programRevisionCoreSchema>;
1401
+ export type ProgramRevision = z.infer<typeof programRevisionSchema>;
1402
+ export type OfferRevisionCore = z.infer<typeof offerRevisionCoreSchema>;
1403
+ export type OfferRevision = z.infer<typeof offerRevisionSchema>;
1404
+ export {};
1405
+ //# sourceMappingURL=index.d.ts.map