@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,1084 @@
1
+ import { z } from "zod";
2
+ export declare const retainedAuthoringSourceSchema: z.ZodObject<{
3
+ source_id: z.ZodString;
4
+ url: z.ZodURL;
5
+ }, z.core.$strict>;
6
+ export declare const authoringSourceSchema: z.ZodObject<{
7
+ source_id: z.ZodString;
8
+ url: z.ZodURL;
9
+ }, z.core.$strict>;
10
+ export declare const retainedEntityIdentityAuthoringSchema: z.ZodObject<{
11
+ entity_id: z.ZodString;
12
+ slug: z.ZodString;
13
+ slug_aliases: z.ZodDefault<z.ZodArray<z.ZodString>>;
14
+ name: z.ZodString;
15
+ domains: z.ZodArray<z.ZodObject<{
16
+ value: z.ZodString;
17
+ role: z.ZodEnum<{
18
+ primary: "primary";
19
+ alias: "alias";
20
+ }>;
21
+ valid_from: z.ZodISODateTime;
22
+ valid_until: z.ZodOptional<z.ZodISODateTime>;
23
+ }, z.core.$strict>>;
24
+ category: z.ZodString;
25
+ }, z.core.$strict>;
26
+ export declare const entityIdentityAuthoringSchema: z.ZodObject<{
27
+ entity_id: z.ZodString;
28
+ slug: z.ZodString;
29
+ slug_aliases: z.ZodDefault<z.ZodArray<z.ZodString>>;
30
+ name: z.ZodString;
31
+ domains: z.ZodArray<z.ZodObject<{
32
+ value: z.ZodString;
33
+ role: z.ZodEnum<{
34
+ primary: "primary";
35
+ alias: "alias";
36
+ }>;
37
+ valid_from: z.ZodISODateTime;
38
+ valid_until: z.ZodOptional<z.ZodISODateTime>;
39
+ }, z.core.$strict>>;
40
+ category: z.ZodString;
41
+ }, z.core.$strict>;
42
+ export declare const retainedEntityProfileAuthoringSchema: z.ZodObject<{
43
+ summary: z.ZodOptional<z.ZodString>;
44
+ description: z.ZodString;
45
+ links: z.ZodObject<{
46
+ site: z.ZodURL;
47
+ pricing: z.ZodOptional<z.ZodURL>;
48
+ }, z.core.$strict>;
49
+ }, z.core.$strict>;
50
+ export declare const entityProfileAuthoringSchema: z.ZodObject<{
51
+ summary: z.ZodOptional<z.ZodString>;
52
+ description: z.ZodString;
53
+ links: z.ZodObject<{
54
+ site: z.ZodURL;
55
+ pricing: z.ZodOptional<z.ZodURL>;
56
+ }, z.core.$strict>;
57
+ }, z.core.$strict>;
58
+ export declare const authoringOfferSchema: z.ZodObject<{
59
+ offer_id: z.ZodString;
60
+ program_id: z.ZodOptional<z.ZodString>;
61
+ offer_slug: z.ZodString;
62
+ offer_slug_aliases: z.ZodDefault<z.ZodArray<z.ZodString>>;
63
+ title: z.ZodString;
64
+ summary: z.ZodString;
65
+ description: z.ZodOptional<z.ZodString>;
66
+ lifecycle: z.ZodObject<{
67
+ status: z.ZodEnum<{
68
+ active: "active";
69
+ ended: "ended";
70
+ withdrawn: "withdrawn";
71
+ }>;
72
+ effective_from: z.ZodISODateTime;
73
+ effective_until: z.ZodOptional<z.ZodISODateTime>;
74
+ }, z.core.$strict>;
75
+ economics: z.ZodObject<{
76
+ consideration: z.ZodDiscriminatedUnion<[z.ZodObject<{
77
+ kind: z.ZodLiteral<"none">;
78
+ }, z.core.$strict>, z.ZodObject<{
79
+ kind: z.ZodLiteral<"fixed">;
80
+ amount: z.ZodObject<{
81
+ currency: z.ZodString;
82
+ minor_units: z.ZodNumber;
83
+ }, z.core.$strict>;
84
+ }, z.core.$strict>, z.ZodObject<{
85
+ kind: z.ZodLiteral<"variable">;
86
+ description: z.ZodString;
87
+ }, z.core.$strict>, z.ZodObject<{
88
+ kind: z.ZodLiteral<"unknown">;
89
+ description: z.ZodString;
90
+ }, z.core.$strict>], "kind">;
91
+ benefits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
92
+ kind: z.ZodLiteral<"credit">;
93
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
94
+ kind: z.ZodLiteral<"exact">;
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<"up-to">;
101
+ amount: z.ZodObject<{
102
+ currency: z.ZodString;
103
+ minor_units: z.ZodNumber;
104
+ }, z.core.$strict>;
105
+ }, z.core.$strict>, z.ZodObject<{
106
+ kind: z.ZodLiteral<"at-least">;
107
+ amount: z.ZodObject<{
108
+ currency: z.ZodString;
109
+ minor_units: z.ZodNumber;
110
+ }, z.core.$strict>;
111
+ }, z.core.$strict>, z.ZodObject<{
112
+ kind: z.ZodLiteral<"range">;
113
+ minimum: z.ZodObject<{
114
+ currency: z.ZodString;
115
+ minor_units: z.ZodNumber;
116
+ }, z.core.$strict>;
117
+ maximum: z.ZodObject<{
118
+ currency: z.ZodString;
119
+ minor_units: z.ZodNumber;
120
+ }, z.core.$strict>;
121
+ }, z.core.$strict>], "kind">;
122
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
123
+ kind: z.ZodLiteral<"exact">;
124
+ value: z.ZodString;
125
+ }, z.core.$strict>, z.ZodObject<{
126
+ kind: z.ZodLiteral<"up-to">;
127
+ value: z.ZodString;
128
+ }, z.core.$strict>, z.ZodObject<{
129
+ kind: z.ZodLiteral<"at-least">;
130
+ value: z.ZodString;
131
+ }, z.core.$strict>], "kind">>;
132
+ benefit_id: z.ZodString;
133
+ description: z.ZodString;
134
+ }, z.core.$strict>, z.ZodObject<{
135
+ kind: z.ZodLiteral<"discount">;
136
+ percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
137
+ kind: z.ZodLiteral<"exact">;
138
+ basis_points: z.ZodNumber;
139
+ }, z.core.$strict>, z.ZodObject<{
140
+ kind: z.ZodLiteral<"up-to">;
141
+ basis_points: z.ZodNumber;
142
+ }, z.core.$strict>, z.ZodObject<{
143
+ kind: z.ZodLiteral<"at-least">;
144
+ basis_points: z.ZodNumber;
145
+ }, z.core.$strict>, z.ZodObject<{
146
+ kind: z.ZodLiteral<"range">;
147
+ minimum_basis_points: z.ZodNumber;
148
+ maximum_basis_points: z.ZodNumber;
149
+ }, z.core.$strict>], "kind">;
150
+ applies_to: z.ZodOptional<z.ZodString>;
151
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
152
+ kind: z.ZodLiteral<"exact">;
153
+ value: z.ZodString;
154
+ }, z.core.$strict>, z.ZodObject<{
155
+ kind: z.ZodLiteral<"up-to">;
156
+ value: z.ZodString;
157
+ }, z.core.$strict>, z.ZodObject<{
158
+ kind: z.ZodLiteral<"at-least">;
159
+ value: z.ZodString;
160
+ }, z.core.$strict>], "kind">>;
161
+ benefit_id: z.ZodString;
162
+ description: z.ZodString;
163
+ }, z.core.$strict>, z.ZodObject<{
164
+ kind: z.ZodLiteral<"cashback">;
165
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
166
+ kind: z.ZodLiteral<"money">;
167
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
168
+ kind: z.ZodLiteral<"exact">;
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<"up-to">;
175
+ amount: z.ZodObject<{
176
+ currency: z.ZodString;
177
+ minor_units: z.ZodNumber;
178
+ }, z.core.$strict>;
179
+ }, z.core.$strict>, z.ZodObject<{
180
+ kind: z.ZodLiteral<"at-least">;
181
+ amount: z.ZodObject<{
182
+ currency: z.ZodString;
183
+ minor_units: z.ZodNumber;
184
+ }, z.core.$strict>;
185
+ }, z.core.$strict>, z.ZodObject<{
186
+ kind: z.ZodLiteral<"range">;
187
+ minimum: z.ZodObject<{
188
+ currency: z.ZodString;
189
+ minor_units: z.ZodNumber;
190
+ }, z.core.$strict>;
191
+ maximum: z.ZodObject<{
192
+ currency: z.ZodString;
193
+ minor_units: z.ZodNumber;
194
+ }, z.core.$strict>;
195
+ }, z.core.$strict>], "kind">;
196
+ }, z.core.$strict>, z.ZodObject<{
197
+ kind: z.ZodLiteral<"percentage">;
198
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
199
+ kind: z.ZodLiteral<"exact">;
200
+ basis_points: z.ZodNumber;
201
+ }, z.core.$strict>, z.ZodObject<{
202
+ kind: z.ZodLiteral<"up-to">;
203
+ basis_points: z.ZodNumber;
204
+ }, z.core.$strict>, z.ZodObject<{
205
+ kind: z.ZodLiteral<"at-least">;
206
+ basis_points: z.ZodNumber;
207
+ }, z.core.$strict>, z.ZodObject<{
208
+ kind: z.ZodLiteral<"range">;
209
+ minimum_basis_points: z.ZodNumber;
210
+ maximum_basis_points: z.ZodNumber;
211
+ }, z.core.$strict>], "kind">;
212
+ }, z.core.$strict>], "kind">;
213
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
214
+ kind: z.ZodLiteral<"exact">;
215
+ value: z.ZodString;
216
+ }, z.core.$strict>, z.ZodObject<{
217
+ kind: z.ZodLiteral<"up-to">;
218
+ value: z.ZodString;
219
+ }, z.core.$strict>, z.ZodObject<{
220
+ kind: z.ZodLiteral<"at-least">;
221
+ value: z.ZodString;
222
+ }, z.core.$strict>], "kind">>;
223
+ benefit_id: z.ZodString;
224
+ description: z.ZodString;
225
+ }, z.core.$strict>, z.ZodObject<{
226
+ kind: z.ZodLiteral<"waiver">;
227
+ waived_item: z.ZodString;
228
+ benefit_id: z.ZodString;
229
+ description: z.ZodString;
230
+ }, z.core.$strict>, z.ZodObject<{
231
+ kind: z.ZodLiteral<"free-service">;
232
+ service: z.ZodString;
233
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
234
+ kind: z.ZodLiteral<"exact">;
235
+ value: z.ZodString;
236
+ }, z.core.$strict>, z.ZodObject<{
237
+ kind: z.ZodLiteral<"up-to">;
238
+ value: z.ZodString;
239
+ }, z.core.$strict>, z.ZodObject<{
240
+ kind: z.ZodLiteral<"at-least">;
241
+ value: z.ZodString;
242
+ }, z.core.$strict>], "kind">>;
243
+ benefit_id: z.ZodString;
244
+ description: z.ZodString;
245
+ }, z.core.$strict>, z.ZodObject<{
246
+ kind: z.ZodLiteral<"other">;
247
+ benefit_id: z.ZodString;
248
+ description: z.ZodString;
249
+ }, z.core.$strict>], "kind">>;
250
+ }, z.core.$strict>;
251
+ eligibility: z.ZodObject<{
252
+ rule: z.ZodType<import("../../revisions/src/index.js").EligibilityRule, unknown, z.core.$ZodTypeInternals<import("../../revisions/src/index.js").EligibilityRule, unknown>>;
253
+ }, z.core.$strict>;
254
+ roles: z.ZodObject<{
255
+ terms_authority_entity_id: z.ZodString;
256
+ access_operator_entity_id: z.ZodString;
257
+ }, z.core.$strict>;
258
+ source_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
259
+ declared: z.ZodOptional<z.ZodLiteral<true>>;
260
+ access: z.ZodObject<{
261
+ availability: z.ZodEnum<{
262
+ public: "public";
263
+ other: "other";
264
+ referral: "referral";
265
+ membership: "membership";
266
+ invite: "invite";
267
+ automatic: "automatic";
268
+ }>;
269
+ method: z.ZodEnum<{
270
+ code: "code";
271
+ other: "other";
272
+ automatic: "automatic";
273
+ form: "form";
274
+ contact: "contact";
275
+ }>;
276
+ public_code: z.ZodOptional<z.ZodString>;
277
+ url: z.ZodOptional<z.ZodURL>;
278
+ instructions: z.ZodOptional<z.ZodString>;
279
+ }, z.core.$strict>;
280
+ terms_url: z.ZodOptional<z.ZodURL>;
281
+ }, z.core.$strict>;
282
+ export declare const authoringProgramSchema: z.ZodObject<{
283
+ program_id: z.ZodString;
284
+ program_slug: z.ZodString;
285
+ program_slug_aliases: z.ZodDefault<z.ZodArray<z.ZodString>>;
286
+ title: z.ZodString;
287
+ summary: z.ZodOptional<z.ZodString>;
288
+ source_ids: z.ZodArray<z.ZodString>;
289
+ }, z.core.$strict>;
290
+ export declare const retainedEntityAuthoringSchema: z.ZodObject<{
291
+ schema_version: z.ZodLiteral<"sourcey.entity-authoring/v1alpha1">;
292
+ entity: z.ZodObject<{
293
+ entity_id: z.ZodString;
294
+ slug: z.ZodString;
295
+ slug_aliases: z.ZodDefault<z.ZodArray<z.ZodString>>;
296
+ name: z.ZodString;
297
+ domains: z.ZodArray<z.ZodObject<{
298
+ value: z.ZodString;
299
+ role: z.ZodEnum<{
300
+ primary: "primary";
301
+ alias: "alias";
302
+ }>;
303
+ valid_from: z.ZodISODateTime;
304
+ valid_until: z.ZodOptional<z.ZodISODateTime>;
305
+ }, z.core.$strict>>;
306
+ category: z.ZodString;
307
+ }, z.core.$strict>;
308
+ profile: z.ZodObject<{
309
+ summary: z.ZodOptional<z.ZodString>;
310
+ description: z.ZodString;
311
+ links: z.ZodObject<{
312
+ site: z.ZodURL;
313
+ pricing: z.ZodOptional<z.ZodURL>;
314
+ }, z.core.$strict>;
315
+ }, z.core.$strict>;
316
+ sources: z.ZodArray<z.ZodObject<{
317
+ source_id: z.ZodString;
318
+ url: z.ZodURL;
319
+ }, z.core.$strict>>;
320
+ programs: z.ZodArray<z.ZodObject<{
321
+ program_id: z.ZodString;
322
+ program_slug: z.ZodString;
323
+ program_slug_aliases: z.ZodDefault<z.ZodArray<z.ZodString>>;
324
+ title: z.ZodString;
325
+ summary: z.ZodOptional<z.ZodString>;
326
+ source_ids: z.ZodArray<z.ZodString>;
327
+ }, z.core.$strict>>;
328
+ offers: z.ZodArray<z.ZodObject<{
329
+ offer_id: z.ZodString;
330
+ program_id: z.ZodOptional<z.ZodString>;
331
+ offer_slug: z.ZodString;
332
+ offer_slug_aliases: z.ZodDefault<z.ZodArray<z.ZodString>>;
333
+ title: z.ZodString;
334
+ summary: z.ZodString;
335
+ description: z.ZodOptional<z.ZodString>;
336
+ lifecycle: z.ZodObject<{
337
+ status: z.ZodEnum<{
338
+ active: "active";
339
+ ended: "ended";
340
+ withdrawn: "withdrawn";
341
+ }>;
342
+ effective_from: z.ZodISODateTime;
343
+ effective_until: z.ZodOptional<z.ZodISODateTime>;
344
+ }, z.core.$strict>;
345
+ economics: z.ZodObject<{
346
+ consideration: z.ZodDiscriminatedUnion<[z.ZodObject<{
347
+ kind: z.ZodLiteral<"none">;
348
+ }, z.core.$strict>, z.ZodObject<{
349
+ kind: z.ZodLiteral<"fixed">;
350
+ amount: z.ZodObject<{
351
+ currency: z.ZodString;
352
+ minor_units: z.ZodNumber;
353
+ }, z.core.$strict>;
354
+ }, z.core.$strict>, z.ZodObject<{
355
+ kind: z.ZodLiteral<"variable">;
356
+ description: z.ZodString;
357
+ }, z.core.$strict>, z.ZodObject<{
358
+ kind: z.ZodLiteral<"unknown">;
359
+ description: z.ZodString;
360
+ }, z.core.$strict>], "kind">;
361
+ benefits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
362
+ kind: z.ZodLiteral<"credit">;
363
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
364
+ kind: z.ZodLiteral<"exact">;
365
+ amount: z.ZodObject<{
366
+ currency: z.ZodString;
367
+ minor_units: z.ZodNumber;
368
+ }, z.core.$strict>;
369
+ }, z.core.$strict>, z.ZodObject<{
370
+ kind: z.ZodLiteral<"up-to">;
371
+ amount: z.ZodObject<{
372
+ currency: z.ZodString;
373
+ minor_units: z.ZodNumber;
374
+ }, z.core.$strict>;
375
+ }, z.core.$strict>, z.ZodObject<{
376
+ kind: z.ZodLiteral<"at-least">;
377
+ amount: z.ZodObject<{
378
+ currency: z.ZodString;
379
+ minor_units: z.ZodNumber;
380
+ }, z.core.$strict>;
381
+ }, z.core.$strict>, z.ZodObject<{
382
+ kind: z.ZodLiteral<"range">;
383
+ minimum: z.ZodObject<{
384
+ currency: z.ZodString;
385
+ minor_units: z.ZodNumber;
386
+ }, z.core.$strict>;
387
+ maximum: z.ZodObject<{
388
+ currency: z.ZodString;
389
+ minor_units: z.ZodNumber;
390
+ }, z.core.$strict>;
391
+ }, z.core.$strict>], "kind">;
392
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
393
+ kind: z.ZodLiteral<"exact">;
394
+ value: z.ZodString;
395
+ }, z.core.$strict>, z.ZodObject<{
396
+ kind: z.ZodLiteral<"up-to">;
397
+ value: z.ZodString;
398
+ }, z.core.$strict>, z.ZodObject<{
399
+ kind: z.ZodLiteral<"at-least">;
400
+ value: z.ZodString;
401
+ }, z.core.$strict>], "kind">>;
402
+ benefit_id: z.ZodString;
403
+ description: z.ZodString;
404
+ }, z.core.$strict>, z.ZodObject<{
405
+ kind: z.ZodLiteral<"discount">;
406
+ percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
407
+ kind: z.ZodLiteral<"exact">;
408
+ basis_points: z.ZodNumber;
409
+ }, z.core.$strict>, z.ZodObject<{
410
+ kind: z.ZodLiteral<"up-to">;
411
+ basis_points: z.ZodNumber;
412
+ }, z.core.$strict>, z.ZodObject<{
413
+ kind: z.ZodLiteral<"at-least">;
414
+ basis_points: z.ZodNumber;
415
+ }, z.core.$strict>, z.ZodObject<{
416
+ kind: z.ZodLiteral<"range">;
417
+ minimum_basis_points: z.ZodNumber;
418
+ maximum_basis_points: z.ZodNumber;
419
+ }, z.core.$strict>], "kind">;
420
+ applies_to: z.ZodOptional<z.ZodString>;
421
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
422
+ kind: z.ZodLiteral<"exact">;
423
+ value: z.ZodString;
424
+ }, z.core.$strict>, z.ZodObject<{
425
+ kind: z.ZodLiteral<"up-to">;
426
+ value: z.ZodString;
427
+ }, z.core.$strict>, z.ZodObject<{
428
+ kind: z.ZodLiteral<"at-least">;
429
+ value: z.ZodString;
430
+ }, z.core.$strict>], "kind">>;
431
+ benefit_id: z.ZodString;
432
+ description: z.ZodString;
433
+ }, z.core.$strict>, z.ZodObject<{
434
+ kind: z.ZodLiteral<"cashback">;
435
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
436
+ kind: z.ZodLiteral<"money">;
437
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
438
+ kind: z.ZodLiteral<"exact">;
439
+ amount: z.ZodObject<{
440
+ currency: z.ZodString;
441
+ minor_units: z.ZodNumber;
442
+ }, z.core.$strict>;
443
+ }, z.core.$strict>, z.ZodObject<{
444
+ kind: z.ZodLiteral<"up-to">;
445
+ amount: z.ZodObject<{
446
+ currency: z.ZodString;
447
+ minor_units: z.ZodNumber;
448
+ }, z.core.$strict>;
449
+ }, z.core.$strict>, z.ZodObject<{
450
+ kind: z.ZodLiteral<"at-least">;
451
+ amount: z.ZodObject<{
452
+ currency: z.ZodString;
453
+ minor_units: z.ZodNumber;
454
+ }, z.core.$strict>;
455
+ }, z.core.$strict>, z.ZodObject<{
456
+ kind: z.ZodLiteral<"range">;
457
+ minimum: z.ZodObject<{
458
+ currency: z.ZodString;
459
+ minor_units: z.ZodNumber;
460
+ }, z.core.$strict>;
461
+ maximum: z.ZodObject<{
462
+ currency: z.ZodString;
463
+ minor_units: z.ZodNumber;
464
+ }, z.core.$strict>;
465
+ }, z.core.$strict>], "kind">;
466
+ }, z.core.$strict>, z.ZodObject<{
467
+ kind: z.ZodLiteral<"percentage">;
468
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
469
+ kind: z.ZodLiteral<"exact">;
470
+ basis_points: z.ZodNumber;
471
+ }, z.core.$strict>, z.ZodObject<{
472
+ kind: z.ZodLiteral<"up-to">;
473
+ basis_points: z.ZodNumber;
474
+ }, z.core.$strict>, z.ZodObject<{
475
+ kind: z.ZodLiteral<"at-least">;
476
+ basis_points: z.ZodNumber;
477
+ }, z.core.$strict>, z.ZodObject<{
478
+ kind: z.ZodLiteral<"range">;
479
+ minimum_basis_points: z.ZodNumber;
480
+ maximum_basis_points: z.ZodNumber;
481
+ }, z.core.$strict>], "kind">;
482
+ }, z.core.$strict>], "kind">;
483
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
484
+ kind: z.ZodLiteral<"exact">;
485
+ value: z.ZodString;
486
+ }, z.core.$strict>, z.ZodObject<{
487
+ kind: z.ZodLiteral<"up-to">;
488
+ value: z.ZodString;
489
+ }, z.core.$strict>, z.ZodObject<{
490
+ kind: z.ZodLiteral<"at-least">;
491
+ value: z.ZodString;
492
+ }, z.core.$strict>], "kind">>;
493
+ benefit_id: z.ZodString;
494
+ description: z.ZodString;
495
+ }, z.core.$strict>, z.ZodObject<{
496
+ kind: z.ZodLiteral<"waiver">;
497
+ waived_item: z.ZodString;
498
+ benefit_id: z.ZodString;
499
+ description: z.ZodString;
500
+ }, z.core.$strict>, z.ZodObject<{
501
+ kind: z.ZodLiteral<"free-service">;
502
+ service: z.ZodString;
503
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
504
+ kind: z.ZodLiteral<"exact">;
505
+ value: z.ZodString;
506
+ }, z.core.$strict>, z.ZodObject<{
507
+ kind: z.ZodLiteral<"up-to">;
508
+ value: z.ZodString;
509
+ }, z.core.$strict>, z.ZodObject<{
510
+ kind: z.ZodLiteral<"at-least">;
511
+ value: z.ZodString;
512
+ }, z.core.$strict>], "kind">>;
513
+ benefit_id: z.ZodString;
514
+ description: z.ZodString;
515
+ }, z.core.$strict>, z.ZodObject<{
516
+ kind: z.ZodLiteral<"other">;
517
+ benefit_id: z.ZodString;
518
+ description: z.ZodString;
519
+ }, z.core.$strict>], "kind">>;
520
+ }, z.core.$strict>;
521
+ eligibility: z.ZodObject<{
522
+ rule: z.ZodType<import("../../revisions/src/index.js").EligibilityRule, unknown, z.core.$ZodTypeInternals<import("../../revisions/src/index.js").EligibilityRule, unknown>>;
523
+ }, z.core.$strict>;
524
+ roles: z.ZodObject<{
525
+ terms_authority_entity_id: z.ZodString;
526
+ access_operator_entity_id: z.ZodString;
527
+ }, z.core.$strict>;
528
+ access: z.ZodObject<{
529
+ availability: z.ZodEnum<{
530
+ public: "public";
531
+ other: "other";
532
+ referral: "referral";
533
+ membership: "membership";
534
+ invite: "invite";
535
+ automatic: "automatic";
536
+ }>;
537
+ method: z.ZodEnum<{
538
+ code: "code";
539
+ other: "other";
540
+ automatic: "automatic";
541
+ form: "form";
542
+ contact: "contact";
543
+ }>;
544
+ url: z.ZodOptional<z.ZodURL>;
545
+ public_code: z.ZodOptional<z.ZodString>;
546
+ instructions: z.ZodOptional<z.ZodString>;
547
+ }, z.core.$strict>;
548
+ terms_url: z.ZodOptional<z.ZodURL>;
549
+ source_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
550
+ declared: z.ZodOptional<z.ZodLiteral<true>>;
551
+ }, z.core.$strict>>;
552
+ }, z.core.$strict>;
553
+ export declare const entityAuthoringSchema: z.ZodObject<{
554
+ schema_version: z.ZodLiteral<"sourcey.entity-authoring/v1alpha1">;
555
+ programs: z.ZodArray<z.ZodObject<{
556
+ program_id: z.ZodString;
557
+ program_slug: z.ZodString;
558
+ program_slug_aliases: z.ZodDefault<z.ZodArray<z.ZodString>>;
559
+ title: z.ZodString;
560
+ summary: z.ZodOptional<z.ZodString>;
561
+ source_ids: z.ZodArray<z.ZodString>;
562
+ }, z.core.$strict>>;
563
+ entity: z.ZodObject<{
564
+ entity_id: z.ZodString;
565
+ slug: z.ZodString;
566
+ slug_aliases: z.ZodDefault<z.ZodArray<z.ZodString>>;
567
+ name: z.ZodString;
568
+ domains: z.ZodArray<z.ZodObject<{
569
+ value: z.ZodString;
570
+ role: z.ZodEnum<{
571
+ primary: "primary";
572
+ alias: "alias";
573
+ }>;
574
+ valid_from: z.ZodISODateTime;
575
+ valid_until: z.ZodOptional<z.ZodISODateTime>;
576
+ }, z.core.$strict>>;
577
+ category: z.ZodString;
578
+ }, z.core.$strict>;
579
+ profile: z.ZodObject<{
580
+ summary: z.ZodOptional<z.ZodString>;
581
+ description: z.ZodString;
582
+ links: z.ZodObject<{
583
+ site: z.ZodURL;
584
+ pricing: z.ZodOptional<z.ZodURL>;
585
+ }, z.core.$strict>;
586
+ }, z.core.$strict>;
587
+ sources: z.ZodArray<z.ZodObject<{
588
+ source_id: z.ZodString;
589
+ url: z.ZodURL;
590
+ }, z.core.$strict>>;
591
+ offers: z.ZodArray<z.ZodObject<{
592
+ offer_id: z.ZodString;
593
+ program_id: z.ZodOptional<z.ZodString>;
594
+ offer_slug: z.ZodString;
595
+ offer_slug_aliases: z.ZodDefault<z.ZodArray<z.ZodString>>;
596
+ title: z.ZodString;
597
+ summary: z.ZodString;
598
+ description: z.ZodOptional<z.ZodString>;
599
+ lifecycle: z.ZodObject<{
600
+ status: z.ZodEnum<{
601
+ active: "active";
602
+ ended: "ended";
603
+ withdrawn: "withdrawn";
604
+ }>;
605
+ effective_from: z.ZodISODateTime;
606
+ effective_until: z.ZodOptional<z.ZodISODateTime>;
607
+ }, z.core.$strict>;
608
+ economics: z.ZodObject<{
609
+ consideration: z.ZodDiscriminatedUnion<[z.ZodObject<{
610
+ kind: z.ZodLiteral<"none">;
611
+ }, z.core.$strict>, z.ZodObject<{
612
+ kind: z.ZodLiteral<"fixed">;
613
+ amount: z.ZodObject<{
614
+ currency: z.ZodString;
615
+ minor_units: z.ZodNumber;
616
+ }, z.core.$strict>;
617
+ }, z.core.$strict>, z.ZodObject<{
618
+ kind: z.ZodLiteral<"variable">;
619
+ description: z.ZodString;
620
+ }, z.core.$strict>, z.ZodObject<{
621
+ kind: z.ZodLiteral<"unknown">;
622
+ description: z.ZodString;
623
+ }, z.core.$strict>], "kind">;
624
+ benefits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
625
+ kind: z.ZodLiteral<"credit">;
626
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
627
+ kind: z.ZodLiteral<"exact">;
628
+ amount: z.ZodObject<{
629
+ currency: z.ZodString;
630
+ minor_units: z.ZodNumber;
631
+ }, z.core.$strict>;
632
+ }, z.core.$strict>, z.ZodObject<{
633
+ kind: z.ZodLiteral<"up-to">;
634
+ amount: z.ZodObject<{
635
+ currency: z.ZodString;
636
+ minor_units: z.ZodNumber;
637
+ }, z.core.$strict>;
638
+ }, z.core.$strict>, z.ZodObject<{
639
+ kind: z.ZodLiteral<"at-least">;
640
+ amount: z.ZodObject<{
641
+ currency: z.ZodString;
642
+ minor_units: z.ZodNumber;
643
+ }, z.core.$strict>;
644
+ }, z.core.$strict>, z.ZodObject<{
645
+ kind: z.ZodLiteral<"range">;
646
+ minimum: z.ZodObject<{
647
+ currency: z.ZodString;
648
+ minor_units: z.ZodNumber;
649
+ }, z.core.$strict>;
650
+ maximum: z.ZodObject<{
651
+ currency: z.ZodString;
652
+ minor_units: z.ZodNumber;
653
+ }, z.core.$strict>;
654
+ }, z.core.$strict>], "kind">;
655
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
656
+ kind: z.ZodLiteral<"exact">;
657
+ value: z.ZodString;
658
+ }, z.core.$strict>, z.ZodObject<{
659
+ kind: z.ZodLiteral<"up-to">;
660
+ value: z.ZodString;
661
+ }, z.core.$strict>, z.ZodObject<{
662
+ kind: z.ZodLiteral<"at-least">;
663
+ value: z.ZodString;
664
+ }, z.core.$strict>], "kind">>;
665
+ benefit_id: z.ZodString;
666
+ description: z.ZodString;
667
+ }, z.core.$strict>, z.ZodObject<{
668
+ kind: z.ZodLiteral<"discount">;
669
+ percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
670
+ kind: z.ZodLiteral<"exact">;
671
+ basis_points: z.ZodNumber;
672
+ }, z.core.$strict>, z.ZodObject<{
673
+ kind: z.ZodLiteral<"up-to">;
674
+ basis_points: z.ZodNumber;
675
+ }, z.core.$strict>, z.ZodObject<{
676
+ kind: z.ZodLiteral<"at-least">;
677
+ basis_points: z.ZodNumber;
678
+ }, z.core.$strict>, z.ZodObject<{
679
+ kind: z.ZodLiteral<"range">;
680
+ minimum_basis_points: z.ZodNumber;
681
+ maximum_basis_points: z.ZodNumber;
682
+ }, z.core.$strict>], "kind">;
683
+ applies_to: z.ZodOptional<z.ZodString>;
684
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
685
+ kind: z.ZodLiteral<"exact">;
686
+ value: z.ZodString;
687
+ }, z.core.$strict>, z.ZodObject<{
688
+ kind: z.ZodLiteral<"up-to">;
689
+ value: z.ZodString;
690
+ }, z.core.$strict>, z.ZodObject<{
691
+ kind: z.ZodLiteral<"at-least">;
692
+ value: z.ZodString;
693
+ }, z.core.$strict>], "kind">>;
694
+ benefit_id: z.ZodString;
695
+ description: z.ZodString;
696
+ }, z.core.$strict>, z.ZodObject<{
697
+ kind: z.ZodLiteral<"cashback">;
698
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
699
+ kind: z.ZodLiteral<"money">;
700
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
701
+ kind: z.ZodLiteral<"exact">;
702
+ amount: z.ZodObject<{
703
+ currency: z.ZodString;
704
+ minor_units: z.ZodNumber;
705
+ }, z.core.$strict>;
706
+ }, z.core.$strict>, z.ZodObject<{
707
+ kind: z.ZodLiteral<"up-to">;
708
+ amount: z.ZodObject<{
709
+ currency: z.ZodString;
710
+ minor_units: z.ZodNumber;
711
+ }, z.core.$strict>;
712
+ }, z.core.$strict>, z.ZodObject<{
713
+ kind: z.ZodLiteral<"at-least">;
714
+ amount: z.ZodObject<{
715
+ currency: z.ZodString;
716
+ minor_units: z.ZodNumber;
717
+ }, z.core.$strict>;
718
+ }, z.core.$strict>, z.ZodObject<{
719
+ kind: z.ZodLiteral<"range">;
720
+ minimum: z.ZodObject<{
721
+ currency: z.ZodString;
722
+ minor_units: z.ZodNumber;
723
+ }, z.core.$strict>;
724
+ maximum: z.ZodObject<{
725
+ currency: z.ZodString;
726
+ minor_units: z.ZodNumber;
727
+ }, z.core.$strict>;
728
+ }, z.core.$strict>], "kind">;
729
+ }, z.core.$strict>, z.ZodObject<{
730
+ kind: z.ZodLiteral<"percentage">;
731
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
732
+ kind: z.ZodLiteral<"exact">;
733
+ basis_points: z.ZodNumber;
734
+ }, z.core.$strict>, z.ZodObject<{
735
+ kind: z.ZodLiteral<"up-to">;
736
+ basis_points: z.ZodNumber;
737
+ }, z.core.$strict>, z.ZodObject<{
738
+ kind: z.ZodLiteral<"at-least">;
739
+ basis_points: z.ZodNumber;
740
+ }, z.core.$strict>, z.ZodObject<{
741
+ kind: z.ZodLiteral<"range">;
742
+ minimum_basis_points: z.ZodNumber;
743
+ maximum_basis_points: z.ZodNumber;
744
+ }, z.core.$strict>], "kind">;
745
+ }, z.core.$strict>], "kind">;
746
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
747
+ kind: z.ZodLiteral<"exact">;
748
+ value: z.ZodString;
749
+ }, z.core.$strict>, z.ZodObject<{
750
+ kind: z.ZodLiteral<"up-to">;
751
+ value: z.ZodString;
752
+ }, z.core.$strict>, z.ZodObject<{
753
+ kind: z.ZodLiteral<"at-least">;
754
+ value: z.ZodString;
755
+ }, z.core.$strict>], "kind">>;
756
+ benefit_id: z.ZodString;
757
+ description: z.ZodString;
758
+ }, z.core.$strict>, z.ZodObject<{
759
+ kind: z.ZodLiteral<"waiver">;
760
+ waived_item: z.ZodString;
761
+ benefit_id: z.ZodString;
762
+ description: z.ZodString;
763
+ }, z.core.$strict>, z.ZodObject<{
764
+ kind: z.ZodLiteral<"free-service">;
765
+ service: z.ZodString;
766
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
767
+ kind: z.ZodLiteral<"exact">;
768
+ value: z.ZodString;
769
+ }, z.core.$strict>, z.ZodObject<{
770
+ kind: z.ZodLiteral<"up-to">;
771
+ value: z.ZodString;
772
+ }, z.core.$strict>, z.ZodObject<{
773
+ kind: z.ZodLiteral<"at-least">;
774
+ value: z.ZodString;
775
+ }, z.core.$strict>], "kind">>;
776
+ benefit_id: z.ZodString;
777
+ description: z.ZodString;
778
+ }, z.core.$strict>, z.ZodObject<{
779
+ kind: z.ZodLiteral<"other">;
780
+ benefit_id: z.ZodString;
781
+ description: z.ZodString;
782
+ }, z.core.$strict>], "kind">>;
783
+ }, z.core.$strict>;
784
+ eligibility: z.ZodObject<{
785
+ rule: z.ZodType<import("../../revisions/src/index.js").EligibilityRule, unknown, z.core.$ZodTypeInternals<import("../../revisions/src/index.js").EligibilityRule, unknown>>;
786
+ }, z.core.$strict>;
787
+ roles: z.ZodObject<{
788
+ terms_authority_entity_id: z.ZodString;
789
+ access_operator_entity_id: z.ZodString;
790
+ }, z.core.$strict>;
791
+ source_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
792
+ declared: z.ZodOptional<z.ZodLiteral<true>>;
793
+ access: z.ZodObject<{
794
+ availability: z.ZodEnum<{
795
+ public: "public";
796
+ other: "other";
797
+ referral: "referral";
798
+ membership: "membership";
799
+ invite: "invite";
800
+ automatic: "automatic";
801
+ }>;
802
+ method: z.ZodEnum<{
803
+ code: "code";
804
+ other: "other";
805
+ automatic: "automatic";
806
+ form: "form";
807
+ contact: "contact";
808
+ }>;
809
+ public_code: z.ZodOptional<z.ZodString>;
810
+ url: z.ZodOptional<z.ZodURL>;
811
+ instructions: z.ZodOptional<z.ZodString>;
812
+ }, z.core.$strict>;
813
+ terms_url: z.ZodOptional<z.ZodURL>;
814
+ }, z.core.$strict>>;
815
+ }, z.core.$strict>;
816
+ export declare const contributionEntityAuthoringSchema: z.ZodObject<{
817
+ schema_version: z.ZodLiteral<"sourcey.entity-authoring/v1alpha1">;
818
+ programs: z.ZodArray<z.ZodObject<{
819
+ program_id: z.ZodString;
820
+ program_slug: z.ZodString;
821
+ program_slug_aliases: z.ZodDefault<z.ZodArray<z.ZodString>>;
822
+ title: z.ZodString;
823
+ summary: z.ZodOptional<z.ZodString>;
824
+ source_ids: z.ZodArray<z.ZodString>;
825
+ }, z.core.$strict>>;
826
+ entity: z.ZodObject<{
827
+ entity_id: z.ZodString;
828
+ slug: z.ZodString;
829
+ slug_aliases: z.ZodDefault<z.ZodArray<z.ZodString>>;
830
+ name: z.ZodString;
831
+ domains: z.ZodArray<z.ZodObject<{
832
+ value: z.ZodString;
833
+ role: z.ZodEnum<{
834
+ primary: "primary";
835
+ alias: "alias";
836
+ }>;
837
+ valid_from: z.ZodISODateTime;
838
+ valid_until: z.ZodOptional<z.ZodISODateTime>;
839
+ }, z.core.$strict>>;
840
+ category: z.ZodString;
841
+ }, z.core.$strict>;
842
+ profile: z.ZodObject<{
843
+ summary: z.ZodOptional<z.ZodString>;
844
+ description: z.ZodString;
845
+ links: z.ZodObject<{
846
+ site: z.ZodURL;
847
+ pricing: z.ZodOptional<z.ZodURL>;
848
+ }, z.core.$strict>;
849
+ }, z.core.$strict>;
850
+ sources: z.ZodArray<z.ZodObject<{
851
+ source_id: z.ZodString;
852
+ url: z.ZodURL;
853
+ }, z.core.$strict>>;
854
+ offers: z.ZodArray<z.ZodObject<{
855
+ offer_id: z.ZodString;
856
+ program_id: z.ZodOptional<z.ZodString>;
857
+ offer_slug: z.ZodString;
858
+ offer_slug_aliases: z.ZodDefault<z.ZodArray<z.ZodString>>;
859
+ title: z.ZodString;
860
+ summary: z.ZodString;
861
+ description: z.ZodOptional<z.ZodString>;
862
+ lifecycle: z.ZodObject<{
863
+ status: z.ZodEnum<{
864
+ active: "active";
865
+ ended: "ended";
866
+ withdrawn: "withdrawn";
867
+ }>;
868
+ effective_from: z.ZodISODateTime;
869
+ effective_until: z.ZodOptional<z.ZodISODateTime>;
870
+ }, z.core.$strict>;
871
+ economics: z.ZodObject<{
872
+ consideration: z.ZodDiscriminatedUnion<[z.ZodObject<{
873
+ kind: z.ZodLiteral<"none">;
874
+ }, z.core.$strict>, z.ZodObject<{
875
+ kind: z.ZodLiteral<"fixed">;
876
+ amount: z.ZodObject<{
877
+ currency: z.ZodString;
878
+ minor_units: z.ZodNumber;
879
+ }, z.core.$strict>;
880
+ }, z.core.$strict>, z.ZodObject<{
881
+ kind: z.ZodLiteral<"variable">;
882
+ description: z.ZodString;
883
+ }, z.core.$strict>, z.ZodObject<{
884
+ kind: z.ZodLiteral<"unknown">;
885
+ description: z.ZodString;
886
+ }, z.core.$strict>], "kind">;
887
+ benefits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
888
+ kind: z.ZodLiteral<"credit">;
889
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
890
+ kind: z.ZodLiteral<"exact">;
891
+ amount: z.ZodObject<{
892
+ currency: z.ZodString;
893
+ minor_units: z.ZodNumber;
894
+ }, z.core.$strict>;
895
+ }, z.core.$strict>, z.ZodObject<{
896
+ kind: z.ZodLiteral<"up-to">;
897
+ amount: z.ZodObject<{
898
+ currency: z.ZodString;
899
+ minor_units: z.ZodNumber;
900
+ }, z.core.$strict>;
901
+ }, z.core.$strict>, z.ZodObject<{
902
+ kind: z.ZodLiteral<"at-least">;
903
+ amount: z.ZodObject<{
904
+ currency: z.ZodString;
905
+ minor_units: z.ZodNumber;
906
+ }, z.core.$strict>;
907
+ }, z.core.$strict>, z.ZodObject<{
908
+ kind: z.ZodLiteral<"range">;
909
+ minimum: z.ZodObject<{
910
+ currency: z.ZodString;
911
+ minor_units: z.ZodNumber;
912
+ }, z.core.$strict>;
913
+ maximum: z.ZodObject<{
914
+ currency: z.ZodString;
915
+ minor_units: z.ZodNumber;
916
+ }, z.core.$strict>;
917
+ }, z.core.$strict>], "kind">;
918
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
919
+ kind: z.ZodLiteral<"exact">;
920
+ value: z.ZodString;
921
+ }, z.core.$strict>, z.ZodObject<{
922
+ kind: z.ZodLiteral<"up-to">;
923
+ value: z.ZodString;
924
+ }, z.core.$strict>, z.ZodObject<{
925
+ kind: z.ZodLiteral<"at-least">;
926
+ value: z.ZodString;
927
+ }, z.core.$strict>], "kind">>;
928
+ benefit_id: z.ZodString;
929
+ description: z.ZodString;
930
+ }, z.core.$strict>, z.ZodObject<{
931
+ kind: z.ZodLiteral<"discount">;
932
+ percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
933
+ kind: z.ZodLiteral<"exact">;
934
+ basis_points: z.ZodNumber;
935
+ }, z.core.$strict>, z.ZodObject<{
936
+ kind: z.ZodLiteral<"up-to">;
937
+ basis_points: z.ZodNumber;
938
+ }, z.core.$strict>, z.ZodObject<{
939
+ kind: z.ZodLiteral<"at-least">;
940
+ basis_points: z.ZodNumber;
941
+ }, z.core.$strict>, z.ZodObject<{
942
+ kind: z.ZodLiteral<"range">;
943
+ minimum_basis_points: z.ZodNumber;
944
+ maximum_basis_points: z.ZodNumber;
945
+ }, z.core.$strict>], "kind">;
946
+ applies_to: z.ZodOptional<z.ZodString>;
947
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
948
+ kind: z.ZodLiteral<"exact">;
949
+ value: z.ZodString;
950
+ }, z.core.$strict>, z.ZodObject<{
951
+ kind: z.ZodLiteral<"up-to">;
952
+ value: z.ZodString;
953
+ }, z.core.$strict>, z.ZodObject<{
954
+ kind: z.ZodLiteral<"at-least">;
955
+ value: z.ZodString;
956
+ }, z.core.$strict>], "kind">>;
957
+ benefit_id: z.ZodString;
958
+ description: z.ZodString;
959
+ }, z.core.$strict>, z.ZodObject<{
960
+ kind: z.ZodLiteral<"cashback">;
961
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
962
+ kind: z.ZodLiteral<"money">;
963
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
964
+ kind: z.ZodLiteral<"exact">;
965
+ amount: z.ZodObject<{
966
+ currency: z.ZodString;
967
+ minor_units: z.ZodNumber;
968
+ }, z.core.$strict>;
969
+ }, z.core.$strict>, z.ZodObject<{
970
+ kind: z.ZodLiteral<"up-to">;
971
+ amount: z.ZodObject<{
972
+ currency: z.ZodString;
973
+ minor_units: z.ZodNumber;
974
+ }, z.core.$strict>;
975
+ }, z.core.$strict>, z.ZodObject<{
976
+ kind: z.ZodLiteral<"at-least">;
977
+ amount: z.ZodObject<{
978
+ currency: z.ZodString;
979
+ minor_units: z.ZodNumber;
980
+ }, z.core.$strict>;
981
+ }, z.core.$strict>, z.ZodObject<{
982
+ kind: z.ZodLiteral<"range">;
983
+ minimum: z.ZodObject<{
984
+ currency: z.ZodString;
985
+ minor_units: z.ZodNumber;
986
+ }, z.core.$strict>;
987
+ maximum: z.ZodObject<{
988
+ currency: z.ZodString;
989
+ minor_units: z.ZodNumber;
990
+ }, z.core.$strict>;
991
+ }, z.core.$strict>], "kind">;
992
+ }, z.core.$strict>, z.ZodObject<{
993
+ kind: z.ZodLiteral<"percentage">;
994
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
995
+ kind: z.ZodLiteral<"exact">;
996
+ basis_points: z.ZodNumber;
997
+ }, z.core.$strict>, z.ZodObject<{
998
+ kind: z.ZodLiteral<"up-to">;
999
+ basis_points: z.ZodNumber;
1000
+ }, z.core.$strict>, z.ZodObject<{
1001
+ kind: z.ZodLiteral<"at-least">;
1002
+ basis_points: z.ZodNumber;
1003
+ }, z.core.$strict>, z.ZodObject<{
1004
+ kind: z.ZodLiteral<"range">;
1005
+ minimum_basis_points: z.ZodNumber;
1006
+ maximum_basis_points: z.ZodNumber;
1007
+ }, z.core.$strict>], "kind">;
1008
+ }, z.core.$strict>], "kind">;
1009
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1010
+ kind: z.ZodLiteral<"exact">;
1011
+ value: z.ZodString;
1012
+ }, z.core.$strict>, z.ZodObject<{
1013
+ kind: z.ZodLiteral<"up-to">;
1014
+ value: z.ZodString;
1015
+ }, z.core.$strict>, z.ZodObject<{
1016
+ kind: z.ZodLiteral<"at-least">;
1017
+ value: z.ZodString;
1018
+ }, z.core.$strict>], "kind">>;
1019
+ benefit_id: z.ZodString;
1020
+ description: z.ZodString;
1021
+ }, z.core.$strict>, z.ZodObject<{
1022
+ kind: z.ZodLiteral<"waiver">;
1023
+ waived_item: z.ZodString;
1024
+ benefit_id: z.ZodString;
1025
+ description: z.ZodString;
1026
+ }, z.core.$strict>, z.ZodObject<{
1027
+ kind: z.ZodLiteral<"free-service">;
1028
+ service: z.ZodString;
1029
+ duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1030
+ kind: z.ZodLiteral<"exact">;
1031
+ value: z.ZodString;
1032
+ }, z.core.$strict>, z.ZodObject<{
1033
+ kind: z.ZodLiteral<"up-to">;
1034
+ value: z.ZodString;
1035
+ }, z.core.$strict>, z.ZodObject<{
1036
+ kind: z.ZodLiteral<"at-least">;
1037
+ value: z.ZodString;
1038
+ }, z.core.$strict>], "kind">>;
1039
+ benefit_id: z.ZodString;
1040
+ description: z.ZodString;
1041
+ }, z.core.$strict>, z.ZodObject<{
1042
+ kind: z.ZodLiteral<"other">;
1043
+ benefit_id: z.ZodString;
1044
+ description: z.ZodString;
1045
+ }, z.core.$strict>], "kind">>;
1046
+ }, z.core.$strict>;
1047
+ eligibility: z.ZodObject<{
1048
+ rule: z.ZodType<import("../../revisions/src/index.js").EligibilityRule, unknown, z.core.$ZodTypeInternals<import("../../revisions/src/index.js").EligibilityRule, unknown>>;
1049
+ }, z.core.$strict>;
1050
+ roles: z.ZodObject<{
1051
+ terms_authority_entity_id: z.ZodString;
1052
+ access_operator_entity_id: z.ZodString;
1053
+ }, z.core.$strict>;
1054
+ source_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1055
+ declared: z.ZodOptional<z.ZodLiteral<true>>;
1056
+ access: z.ZodObject<{
1057
+ availability: z.ZodEnum<{
1058
+ public: "public";
1059
+ other: "other";
1060
+ referral: "referral";
1061
+ membership: "membership";
1062
+ invite: "invite";
1063
+ automatic: "automatic";
1064
+ }>;
1065
+ method: z.ZodEnum<{
1066
+ code: "code";
1067
+ other: "other";
1068
+ automatic: "automatic";
1069
+ form: "form";
1070
+ contact: "contact";
1071
+ }>;
1072
+ public_code: z.ZodOptional<z.ZodString>;
1073
+ url: z.ZodOptional<z.ZodURL>;
1074
+ instructions: z.ZodOptional<z.ZodString>;
1075
+ }, z.core.$strict>;
1076
+ terms_url: z.ZodOptional<z.ZodURL>;
1077
+ }, z.core.$strict>>;
1078
+ }, z.core.$strict>;
1079
+ export type EntityAuthoring = z.infer<typeof entityAuthoringSchema>;
1080
+ export declare function parseEntityAuthoring(input: unknown): EntityAuthoring;
1081
+ export type EntityIdentityAuthoring = z.infer<typeof entityIdentityAuthoringSchema>;
1082
+ export type AuthoringProgram = z.infer<typeof authoringProgramSchema>;
1083
+ export type AuthoringOffer = z.infer<typeof authoringOfferSchema>;
1084
+ //# sourceMappingURL=index.d.ts.map