@sourcey/catalog-verifier 1.1.0 → 1.1.2
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.
- package/SBOM.cdx.json +110 -20
- package/SOURCEY-CLOSURE.json +698 -522
- package/SOURCEY-DISTRIBUTION.json +2 -1
- package/SOURCEY-LICENSE-POLICY.json +1 -1
- package/SOURCEY-TOOLCHAIN.json +3 -3
- package/THIRD_PARTY_NOTICES.json +52 -7
- package/dist/contracts/agent-readiness/src/declaration-acquisition.d.ts +111 -110
- package/dist/contracts/agent-readiness/src/declaration-acquisition.d.ts.map +1 -1
- package/dist/contracts/agent-readiness/src/declaration-acquisition.js +4 -2
- package/dist/contracts/agent-readiness/src/declaration-acquisition.js.map +1 -1
- package/dist/contracts/agent-readiness/src/declaration-reference.d.ts +43 -5
- package/dist/contracts/agent-readiness/src/declaration-reference.d.ts.map +1 -1
- package/dist/contracts/agent-readiness/src/declaration-reference.js +28 -1
- package/dist/contracts/agent-readiness/src/declaration-reference.js.map +1 -1
- package/dist/contracts/agent-readiness/src/declaration.d.ts +472 -472
- package/dist/contracts/agent-readiness/src/evidence.d.ts +87 -43
- package/dist/contracts/agent-readiness/src/evidence.d.ts.map +1 -1
- package/dist/contracts/agent-readiness/src/evidence.js +30 -7
- package/dist/contracts/agent-readiness/src/evidence.js.map +1 -1
- package/dist/contracts/agent-readiness/src/index.d.ts +1543 -1498
- package/dist/contracts/agent-readiness/src/index.d.ts.map +1 -1
- package/dist/contracts/agent-readiness/src/index.js +10 -5
- package/dist/contracts/agent-readiness/src/index.js.map +1 -1
- package/dist/contracts/agent-readiness/src/interaction.d.ts +9 -9
- package/dist/contracts/agent-readiness/src/method-pack.d.ts +122 -128
- package/dist/contracts/agent-readiness/src/method-pack.d.ts.map +1 -1
- package/dist/contracts/agent-readiness/src/shared.d.ts +30 -28
- package/dist/contracts/agent-readiness/src/shared.d.ts.map +1 -1
- package/dist/contracts/agent-readiness/src/shared.js +4 -1
- package/dist/contracts/agent-readiness/src/shared.js.map +1 -1
- package/dist/contracts/api/src/index.d.ts +16080 -7777
- package/dist/contracts/api/src/index.d.ts.map +1 -1
- package/dist/contracts/api/src/index.js +258 -28
- package/dist/contracts/api/src/index.js.map +1 -1
- package/dist/contracts/artifact/src/distribution.d.ts +17 -0
- package/dist/contracts/artifact/src/distribution.d.ts.map +1 -0
- package/dist/contracts/artifact/src/distribution.js +57 -0
- package/dist/contracts/artifact/src/distribution.js.map +1 -0
- package/dist/contracts/artifact/src/index.d.ts +911 -177
- package/dist/contracts/artifact/src/index.d.ts.map +1 -1
- package/dist/contracts/artifact/src/index.js +71 -57
- package/dist/contracts/artifact/src/index.js.map +1 -1
- package/dist/contracts/assets/src/index.d.ts +105 -105
- package/dist/contracts/assets/src/index.d.ts.map +1 -1
- package/dist/contracts/assets/src/index.js +2 -1
- package/dist/contracts/assets/src/index.js.map +1 -1
- package/dist/contracts/assurance/src/index.d.ts +19 -19
- package/dist/contracts/assurance/src/index.d.ts.map +1 -1
- package/dist/contracts/assurance/src/index.js +2 -1
- package/dist/contracts/assurance/src/index.js.map +1 -1
- package/dist/contracts/authoring/src/index.d.ts +79 -61
- package/dist/contracts/authoring/src/index.d.ts.map +1 -1
- package/dist/contracts/authoring/src/index.js +27 -1
- package/dist/contracts/authoring/src/index.js.map +1 -1
- package/dist/contracts/authority/src/index.d.ts +10 -10
- package/dist/contracts/authority/src/index.d.ts.map +1 -1
- package/dist/contracts/authority/src/index.js +3 -2
- package/dist/contracts/authority/src/index.js.map +1 -1
- package/dist/contracts/billing/src/index.d.ts +80 -135
- package/dist/contracts/billing/src/index.d.ts.map +1 -1
- package/dist/contracts/billing/src/index.js +1 -91
- package/dist/contracts/billing/src/index.js.map +1 -1
- package/dist/contracts/capture/src/index.d.ts +17 -0
- package/dist/contracts/capture/src/index.d.ts.map +1 -0
- package/dist/contracts/capture/src/index.js +15 -0
- package/dist/contracts/capture/src/index.js.map +1 -0
- package/dist/contracts/capture/src/method-names.d.ts +4 -0
- package/dist/contracts/capture/src/method-names.d.ts.map +1 -0
- package/dist/contracts/capture/src/method-names.js +4 -0
- package/dist/contracts/capture/src/method-names.js.map +1 -0
- package/dist/contracts/capture/src/methods.d.ts +7 -0
- package/dist/contracts/capture/src/methods.d.ts.map +1 -0
- package/dist/contracts/capture/src/methods.js +18 -0
- package/dist/contracts/capture/src/methods.js.map +1 -0
- package/dist/contracts/catalog-verifier/src/index.d.ts +42 -41
- package/dist/contracts/catalog-verifier/src/index.d.ts.map +1 -1
- package/dist/contracts/catalog-verifier/src/index.js.map +1 -1
- package/dist/contracts/datasets/src/index.d.ts +285 -132
- package/dist/contracts/datasets/src/index.d.ts.map +1 -1
- package/dist/contracts/datasets/src/index.js +1 -1
- package/dist/contracts/datasets/src/index.js.map +1 -1
- package/dist/contracts/events/src/index.d.ts +106 -104
- package/dist/contracts/events/src/index.d.ts.map +1 -1
- package/dist/contracts/events/src/index.js +2 -1
- package/dist/contracts/events/src/index.js.map +1 -1
- package/dist/contracts/evidence/src/index.d.ts +97 -29
- package/dist/contracts/evidence/src/index.d.ts.map +1 -1
- package/dist/contracts/evidence/src/index.js +77 -10
- package/dist/contracts/evidence/src/index.js.map +1 -1
- package/dist/contracts/feed/src/index.d.ts +24 -24
- package/dist/contracts/feed/src/index.d.ts.map +1 -1
- package/dist/contracts/feed/src/index.js +3 -3
- package/dist/contracts/feed/src/index.js.map +1 -1
- package/dist/contracts/funded-work/src/index.d.ts +2 -2
- package/dist/contracts/funded-work/src/index.d.ts.map +1 -1
- package/dist/contracts/funded-work/src/index.js +2 -1
- package/dist/contracts/funded-work/src/index.js.map +1 -1
- package/dist/contracts/observations/src/index.d.ts +38 -16
- package/dist/contracts/observations/src/index.d.ts.map +1 -1
- package/dist/contracts/observations/src/index.js +8 -7
- package/dist/contracts/observations/src/index.js.map +1 -1
- package/dist/contracts/policies/src/index.d.ts +35 -21
- package/dist/contracts/policies/src/index.d.ts.map +1 -1
- package/dist/contracts/policies/src/index.js +1 -1
- package/dist/contracts/policies/src/index.js.map +1 -1
- package/dist/contracts/publication/src/index.d.ts +517 -517
- package/dist/contracts/publication/src/index.d.ts.map +1 -1
- package/dist/contracts/publication/src/index.js +6 -2
- package/dist/contracts/publication/src/index.js.map +1 -1
- package/dist/contracts/release/src/index.d.ts +708 -347
- package/dist/contracts/release/src/index.d.ts.map +1 -1
- package/dist/contracts/release/src/index.js +60 -129
- package/dist/contracts/release/src/index.js.map +1 -1
- package/dist/contracts/revisions/src/index.d.ts +199 -86
- package/dist/contracts/revisions/src/index.d.ts.map +1 -1
- package/dist/contracts/revisions/src/index.js +55 -50
- package/dist/contracts/revisions/src/index.js.map +1 -1
- package/dist/contracts/routes/src/index.d.ts +4 -12
- package/dist/contracts/routes/src/index.d.ts.map +1 -1
- package/dist/contracts/routes/src/index.js +2 -9
- package/dist/contracts/routes/src/index.js.map +1 -1
- package/dist/contracts/sourcey-publication/src/index.d.ts +27 -0
- package/dist/contracts/sourcey-publication/src/index.d.ts.map +1 -0
- package/dist/contracts/sourcey-publication/src/index.js +43 -0
- package/dist/contracts/sourcey-publication/src/index.js.map +1 -0
- package/dist/contracts/sourcey-publication/src/instance-id.d.ts +3 -0
- package/dist/contracts/sourcey-publication/src/instance-id.d.ts.map +1 -0
- package/dist/contracts/sourcey-publication/src/instance-id.js +3 -0
- package/dist/contracts/sourcey-publication/src/instance-id.js.map +1 -0
- package/dist/contracts/sourcey-publication/src/ownership.d.ts +13 -0
- package/dist/contracts/sourcey-publication/src/ownership.d.ts.map +1 -0
- package/dist/contracts/sourcey-publication/src/ownership.js +80 -0
- package/dist/contracts/sourcey-publication/src/ownership.js.map +1 -0
- package/dist/contracts/standards/src/index.d.ts +251 -169
- package/dist/contracts/standards/src/index.d.ts.map +1 -1
- package/dist/contracts/standards/src/index.js +112 -1
- package/dist/contracts/standards/src/index.js.map +1 -1
- package/dist/contracts/{commercial-work → startup-credits-commercial}/src/index.d.ts +135 -135
- package/dist/contracts/startup-credits-commercial/src/index.d.ts.map +1 -0
- package/dist/contracts/{commercial-work → startup-credits-commercial}/src/index.js +2 -1
- package/dist/contracts/startup-credits-commercial/src/index.js.map +1 -0
- package/dist/contracts/taxonomy/src/index.d.ts +1 -0
- package/dist/contracts/taxonomy/src/index.d.ts.map +1 -1
- package/dist/contracts/taxonomy/src/index.js +16 -1
- package/dist/contracts/taxonomy/src/index.js.map +1 -1
- package/dist/modules/agent-readiness-policy/src/current-policy-metrics.d.ts +4 -2
- package/dist/modules/agent-readiness-policy/src/current-policy-metrics.d.ts.map +1 -1
- package/dist/modules/agent-readiness-policy/src/current-policy-metrics.js +46 -85
- package/dist/modules/agent-readiness-policy/src/current-policy-metrics.js.map +1 -1
- package/dist/modules/agent-readiness-policy/src/current-policy-standards.d.ts +99 -0
- package/dist/modules/agent-readiness-policy/src/current-policy-standards.d.ts.map +1 -0
- package/dist/modules/agent-readiness-policy/src/current-policy-standards.js +99 -0
- package/dist/modules/agent-readiness-policy/src/current-policy-standards.js.map +1 -0
- package/dist/modules/agent-readiness-policy/src/current-policy.d.ts +58 -58
- package/dist/modules/agent-readiness-policy/src/current-policy.d.ts.map +1 -1
- package/dist/modules/agent-readiness-policy/src/current-policy.js +56 -54
- package/dist/modules/agent-readiness-policy/src/current-policy.js.map +1 -1
- package/dist/modules/agent-readiness-policy/src/impact.d.ts +1 -2
- package/dist/modules/agent-readiness-policy/src/impact.d.ts.map +1 -1
- package/dist/modules/agent-readiness-policy/src/impact.js +3 -5
- package/dist/modules/agent-readiness-policy/src/impact.js.map +1 -1
- package/dist/modules/agent-readiness-policy/src/index.d.ts +301 -301
- package/dist/modules/agent-readiness-policy/src/index.d.ts.map +1 -1
- package/dist/modules/agent-readiness-policy/src/index.js +13 -7
- package/dist/modules/agent-readiness-policy/src/index.js.map +1 -1
- package/dist/modules/agent-readiness-policy/src/offer-relations.d.ts +3 -0
- package/dist/modules/agent-readiness-policy/src/offer-relations.d.ts.map +1 -1
- package/dist/modules/agent-readiness-policy/src/offer-relations.js +31 -4
- package/dist/modules/agent-readiness-policy/src/offer-relations.js.map +1 -1
- package/dist/modules/agent-readiness-policy/src/revision.d.ts.map +1 -1
- package/dist/modules/agent-readiness-policy/src/revision.js +3 -3
- package/dist/modules/agent-readiness-policy/src/revision.js.map +1 -1
- package/dist/modules/agent-readiness-policy/src/standard-mapping.d.ts.map +1 -1
- package/dist/modules/agent-readiness-policy/src/standard-mapping.js +1 -1
- package/dist/modules/agent-readiness-policy/src/standard-mapping.js.map +1 -1
- package/dist/modules/agent-readiness-policy/src/surface-selection.d.ts +17 -0
- package/dist/modules/agent-readiness-policy/src/surface-selection.d.ts.map +1 -1
- package/dist/modules/agent-readiness-policy/src/surface-selection.js +61 -13
- package/dist/modules/agent-readiness-policy/src/surface-selection.js.map +1 -1
- package/dist/modules/agent-readiness-repository/src/admission.d.ts +1 -1
- package/dist/modules/agent-readiness-repository/src/admission.d.ts.map +1 -1
- package/dist/modules/agent-readiness-repository/src/admission.js +3 -3
- package/dist/modules/agent-readiness-repository/src/admission.js.map +1 -1
- package/dist/modules/agent-readiness-repository/src/change.d.ts +17 -4
- package/dist/modules/agent-readiness-repository/src/change.d.ts.map +1 -1
- package/dist/modules/agent-readiness-repository/src/change.js +14 -7
- package/dist/modules/agent-readiness-repository/src/change.js.map +1 -1
- package/dist/modules/agent-readiness-repository/src/declaration-blob.d.ts +11 -7
- package/dist/modules/agent-readiness-repository/src/declaration-blob.d.ts.map +1 -1
- package/dist/modules/agent-readiness-repository/src/declaration-blob.js +21 -6
- package/dist/modules/agent-readiness-repository/src/declaration-blob.js.map +1 -1
- package/dist/modules/agent-readiness-repository/src/index.d.ts.map +1 -1
- package/dist/modules/agent-readiness-repository/src/index.js +1 -1
- package/dist/modules/agent-readiness-repository/src/index.js.map +1 -1
- package/dist/modules/artifact/src/agent-readiness-closure.d.ts +2 -3
- package/dist/modules/artifact/src/agent-readiness-closure.d.ts.map +1 -1
- package/dist/modules/artifact/src/agent-readiness-closure.js +6 -12
- package/dist/modules/artifact/src/agent-readiness-closure.js.map +1 -1
- package/dist/modules/artifact/src/asset-closure.d.ts +6 -1
- package/dist/modules/artifact/src/asset-closure.d.ts.map +1 -1
- package/dist/modules/artifact/src/asset-closure.js +9 -5
- package/dist/modules/artifact/src/asset-closure.js.map +1 -1
- package/dist/modules/artifact/src/authoring-closure.d.ts.map +1 -1
- package/dist/modules/artifact/src/authoring-closure.js +1 -1
- package/dist/modules/artifact/src/authoring-closure.js.map +1 -1
- package/dist/modules/artifact/src/index.d.ts +10 -10
- package/dist/modules/artifact/src/index.d.ts.map +1 -1
- package/dist/modules/artifact/src/index.js +58 -229
- package/dist/modules/artifact/src/index.js.map +1 -1
- package/dist/modules/artifact/src/policy-closure.d.ts.map +1 -1
- package/dist/modules/artifact/src/policy-closure.js +6 -10
- package/dist/modules/artifact/src/policy-closure.js.map +1 -1
- package/dist/modules/artifact/src/release-directory-files.d.ts +14 -7
- package/dist/modules/artifact/src/release-directory-files.d.ts.map +1 -1
- package/dist/modules/artifact/src/release-directory-files.js +28 -32
- package/dist/modules/artifact/src/release-directory-files.js.map +1 -1
- package/dist/modules/artifact/src/trust-history.d.ts.map +1 -1
- package/dist/modules/artifact/src/trust-history.js +1 -1
- package/dist/modules/artifact/src/trust-history.js.map +1 -1
- package/dist/modules/assets/src/authority-bundle.d.ts +1 -1
- package/dist/modules/assets/src/authority-bundle.d.ts.map +1 -1
- package/dist/modules/assets/src/authority-bundle.js +1 -1
- package/dist/modules/assets/src/authority-bundle.js.map +1 -1
- package/dist/modules/assets/src/delta.d.ts +34 -2
- package/dist/modules/assets/src/delta.d.ts.map +1 -1
- package/dist/modules/assets/src/delta.js +15 -20
- package/dist/modules/assets/src/delta.js.map +1 -1
- package/dist/modules/assets/src/index.d.ts.map +1 -1
- package/dist/modules/assets/src/index.js +1 -1
- package/dist/modules/assets/src/index.js.map +1 -1
- package/dist/modules/assets/src/ingestion.d.ts +1 -1
- package/dist/modules/assets/src/ingestion.d.ts.map +1 -1
- package/dist/modules/assets/src/ingestion.js +1 -1
- package/dist/modules/assets/src/ingestion.js.map +1 -1
- package/dist/modules/assurance/src/index.d.ts.map +1 -1
- package/dist/modules/assurance/src/index.js +1 -1
- package/dist/modules/assurance/src/index.js.map +1 -1
- package/dist/modules/authority/src/index.d.ts +2 -1
- package/dist/modules/authority/src/index.d.ts.map +1 -1
- package/dist/modules/authority/src/index.js +8 -1
- package/dist/modules/authority/src/index.js.map +1 -1
- package/dist/modules/authority/src/retained-capture-receipt.d.ts +7 -7
- package/dist/modules/authority/src/retained-capture-receipt.d.ts.map +1 -1
- package/dist/modules/authority/src/retained-capture-receipt.js +1 -1
- package/dist/modules/authority/src/retained-capture-receipt.js.map +1 -1
- package/dist/modules/authority-state/src/index.d.ts +1 -1
- package/dist/modules/authority-state/src/index.d.ts.map +1 -1
- package/dist/modules/authority-state/src/index.js +1 -1
- package/dist/modules/authority-state/src/index.js.map +1 -1
- package/dist/modules/catalog-admission/src/admission-conflicts.d.ts +23 -18
- package/dist/modules/catalog-admission/src/admission-conflicts.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/admission-conflicts.js +20 -9
- package/dist/modules/catalog-admission/src/admission-conflicts.js.map +1 -1
- package/dist/modules/catalog-admission/src/change-analysis.d.ts +6 -1
- package/dist/modules/catalog-admission/src/change-analysis.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/change-analysis.js +25 -18
- package/dist/modules/catalog-admission/src/change-analysis.js.map +1 -1
- package/dist/modules/catalog-admission/src/index.d.ts +39 -49
- package/dist/modules/catalog-admission/src/index.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/index.js +140 -155
- package/dist/modules/catalog-admission/src/index.js.map +1 -1
- package/dist/modules/catalog-admission/src/machine-admission.d.ts +441 -409
- package/dist/modules/catalog-admission/src/machine-admission.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/machine-admission.js +7 -6
- package/dist/modules/catalog-admission/src/machine-admission.js.map +1 -1
- package/dist/modules/catalog-admission/src/publication-assets.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/publication-assets.js +1 -1
- package/dist/modules/catalog-admission/src/publication-assets.js.map +1 -1
- package/dist/modules/catalog-admission/src/publication-authorities.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/publication-authorities.js +1 -1
- package/dist/modules/catalog-admission/src/publication-authorities.js.map +1 -1
- package/dist/modules/catalog-admission/src/publication-composition.d.ts +30 -30
- package/dist/modules/catalog-admission/src/publication-composition.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/publication-composition.js +1 -1
- package/dist/modules/catalog-admission/src/publication-composition.js.map +1 -1
- package/dist/modules/catalog-admission/src/publication-dependencies.d.ts +1 -9
- package/dist/modules/catalog-admission/src/publication-dependencies.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/publication-dependencies.js +4 -8
- package/dist/modules/catalog-admission/src/publication-dependencies.js.map +1 -1
- package/dist/modules/catalog-admission/src/publication-entities.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/publication-entities.js +1 -1
- package/dist/modules/catalog-admission/src/publication-entities.js.map +1 -1
- package/dist/modules/catalog-admission/src/publication-recomposition.d.ts +1 -1
- package/dist/modules/catalog-admission/src/publication-recomposition.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/publication-recomposition.js +1 -1
- package/dist/modules/catalog-admission/src/publication-recomposition.js.map +1 -1
- package/dist/modules/catalog-admission/src/publication-state.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/publication-state.js +1 -1
- package/dist/modules/catalog-admission/src/publication-state.js.map +1 -1
- package/dist/modules/catalog-admission/src/publication.d.ts +1 -1
- package/dist/modules/catalog-admission/src/publication.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/publication.js +1 -2
- package/dist/modules/catalog-admission/src/publication.js.map +1 -1
- package/dist/modules/catalog-admission/src/submission-input.d.ts +1 -1
- package/dist/modules/catalog-admission/src/submission-input.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/submission-input.js +1 -1
- package/dist/modules/catalog-admission/src/submission-input.js.map +1 -1
- package/dist/modules/catalog-admission/src/submission-state.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/submission-state.js +1 -1
- package/dist/modules/catalog-admission/src/submission-state.js.map +1 -1
- package/dist/modules/catalog-admission/src/submission.d.ts +17 -17
- package/dist/modules/catalog-admission/src/submission.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/submission.js +1 -1
- package/dist/modules/catalog-admission/src/submission.js.map +1 -1
- package/dist/modules/catalog-authoring-validation/src/index.d.ts +2 -0
- package/dist/modules/catalog-authoring-validation/src/index.d.ts.map +1 -1
- package/dist/modules/catalog-authoring-validation/src/index.js +8 -2
- package/dist/modules/catalog-authoring-validation/src/index.js.map +1 -1
- package/dist/modules/catalog-model/src/index.d.ts +2 -11
- package/dist/modules/catalog-model/src/index.d.ts.map +1 -1
- package/dist/modules/catalog-model/src/index.js +7 -15
- package/dist/modules/catalog-model/src/index.js.map +1 -1
- package/dist/modules/catalog-primitives/src/index.d.ts +19 -0
- package/dist/modules/catalog-primitives/src/index.d.ts.map +1 -0
- package/dist/modules/catalog-primitives/src/index.js +36 -0
- package/dist/modules/catalog-primitives/src/index.js.map +1 -0
- package/dist/modules/catalog-read-port/src/index.d.ts +1 -1
- package/dist/modules/catalog-read-port/src/index.d.ts.map +1 -1
- package/dist/modules/compiler/src/index.d.ts.map +1 -1
- package/dist/modules/compiler/src/index.js +1 -1
- package/dist/modules/compiler/src/index.js.map +1 -1
- package/dist/modules/evidence-comparison/src/values.d.ts +75 -0
- package/dist/modules/evidence-comparison/src/values.d.ts.map +1 -0
- package/dist/modules/evidence-comparison/src/values.js +283 -0
- package/dist/modules/evidence-comparison/src/values.js.map +1 -0
- package/dist/modules/evidence-grounding/src/figures.d.ts +56 -0
- package/dist/modules/evidence-grounding/src/figures.d.ts.map +1 -0
- package/dist/modules/evidence-grounding/src/figures.js +727 -0
- package/dist/modules/evidence-grounding/src/figures.js.map +1 -0
- package/dist/modules/evidence-grounding/src/index.d.ts +4 -0
- package/dist/modules/evidence-grounding/src/index.d.ts.map +1 -0
- package/dist/modules/evidence-grounding/src/index.js +4 -0
- package/dist/modules/evidence-grounding/src/index.js.map +1 -0
- package/dist/modules/evidence-grounding/src/locator.d.ts +50 -0
- package/dist/modules/evidence-grounding/src/locator.d.ts.map +1 -0
- package/dist/modules/evidence-grounding/src/locator.js +162 -0
- package/dist/modules/evidence-grounding/src/locator.js.map +1 -0
- package/dist/modules/evidence-grounding/src/written.d.ts +29 -0
- package/dist/modules/evidence-grounding/src/written.d.ts.map +1 -0
- package/dist/modules/evidence-grounding/src/written.js +111 -0
- package/dist/modules/evidence-grounding/src/written.js.map +1 -0
- package/dist/modules/evidence-operations/src/configuration.d.ts +15 -37
- package/dist/modules/evidence-operations/src/configuration.d.ts.map +1 -1
- package/dist/modules/evidence-operations/src/configuration.js +4 -18
- package/dist/modules/evidence-operations/src/configuration.js.map +1 -1
- package/dist/modules/evidence-operations/src/dependency-versions.js.map +1 -1
- package/dist/modules/evidence-operations/src/evidence-authority.d.ts +541 -451
- package/dist/modules/evidence-operations/src/evidence-authority.d.ts.map +1 -1
- package/dist/modules/evidence-operations/src/evidence-authority.js +23 -17
- package/dist/modules/evidence-operations/src/evidence-authority.js.map +1 -1
- package/dist/modules/evidence-operations/src/evidence-normalization.d.ts +28 -12
- package/dist/modules/evidence-operations/src/evidence-normalization.d.ts.map +1 -1
- package/dist/modules/evidence-operations/src/evidence-normalization.js +48 -8
- package/dist/modules/evidence-operations/src/evidence-normalization.js.map +1 -1
- package/dist/modules/evidence-operations/src/html-document.d.ts +4 -0
- package/dist/modules/evidence-operations/src/html-document.d.ts.map +1 -0
- package/dist/modules/evidence-operations/src/html-document.js +99 -0
- package/dist/modules/evidence-operations/src/html-document.js.map +1 -0
- package/dist/modules/evidence-operations/src/proof-graph.d.ts +7 -1
- package/dist/modules/evidence-operations/src/proof-graph.d.ts.map +1 -1
- package/dist/modules/evidence-operations/src/proof-graph.js +10 -12
- package/dist/modules/evidence-operations/src/proof-graph.js.map +1 -1
- package/dist/modules/evidence-operations/src/retained-revision.d.ts +1 -0
- package/dist/modules/evidence-operations/src/retained-revision.d.ts.map +1 -1
- package/dist/modules/evidence-operations/src/retained-revision.js +22 -19
- package/dist/modules/evidence-operations/src/retained-revision.js.map +1 -1
- package/dist/modules/evidence-operations/src/source-authority.d.ts +13 -1
- package/dist/modules/evidence-operations/src/source-authority.d.ts.map +1 -1
- package/dist/modules/evidence-operations/src/source-authority.js +18 -1
- package/dist/modules/evidence-operations/src/source-authority.js.map +1 -1
- package/dist/modules/evidence-operations/src/submission-verifier.d.ts +63 -24
- package/dist/modules/evidence-operations/src/submission-verifier.d.ts.map +1 -1
- package/dist/modules/evidence-operations/src/submission-verifier.js +21 -10
- package/dist/modules/evidence-operations/src/submission-verifier.js.map +1 -1
- package/dist/modules/evidence-operations/src/url-canonicalization.js +1 -1
- package/dist/modules/evidence-operations/src/url-canonicalization.js.map +1 -1
- package/dist/modules/policy-identity/src/index.d.ts.map +1 -1
- package/dist/modules/policy-identity/src/index.js +1 -1
- package/dist/modules/policy-identity/src/index.js.map +1 -1
- package/dist/modules/projection-identity/src/index.d.ts +1 -1
- package/dist/modules/projection-identity/src/index.d.ts.map +1 -1
- package/dist/modules/projection-identity/src/index.js +1 -1
- package/dist/modules/projection-identity/src/index.js.map +1 -1
- package/dist/modules/provenance/src/evidence-coverage.d.ts.map +1 -1
- package/dist/modules/provenance/src/evidence-coverage.js +3 -3
- package/dist/modules/provenance/src/evidence-coverage.js.map +1 -1
- package/dist/modules/provenance/src/index.d.ts +5 -3
- package/dist/modules/provenance/src/index.d.ts.map +1 -1
- package/dist/modules/provenance/src/index.js +19 -4
- package/dist/modules/provenance/src/index.js.map +1 -1
- package/dist/modules/provenance/src/material-claims.d.ts +87 -79
- package/dist/modules/provenance/src/material-claims.d.ts.map +1 -1
- package/dist/modules/provenance/src/material-claims.js +5 -3
- package/dist/modules/provenance/src/material-claims.js.map +1 -1
- package/dist/modules/provenance/src/prospective-evidence.js +1 -1
- package/dist/modules/provenance/src/prospective-evidence.js.map +1 -1
- package/dist/modules/publication-instance/src/index.d.ts +479 -0
- package/dist/modules/publication-instance/src/index.d.ts.map +1 -0
- package/dist/modules/publication-instance/src/index.js +34 -0
- package/dist/modules/publication-instance/src/index.js.map +1 -0
- package/dist/modules/release/src/agent-readiness-publication-inputs.d.ts.map +1 -1
- package/dist/modules/release/src/agent-readiness-publication-inputs.js +3 -3
- package/dist/modules/release/src/agent-readiness-publication-inputs.js.map +1 -1
- package/dist/modules/release/src/agent-readiness-regrade-evidence.d.ts +44 -33
- package/dist/modules/release/src/agent-readiness-regrade-evidence.d.ts.map +1 -1
- package/dist/modules/release/src/agent-readiness-regrade-evidence.js +6 -2
- package/dist/modules/release/src/agent-readiness-regrade-evidence.js.map +1 -1
- package/dist/modules/release/src/asset-delta-verifier.d.ts +2 -1
- package/dist/modules/release/src/asset-delta-verifier.d.ts.map +1 -1
- package/dist/modules/release/src/asset-delta-verifier.js +1 -3
- package/dist/modules/release/src/asset-delta-verifier.js.map +1 -1
- package/dist/modules/release/src/changes.d.ts +1 -1
- package/dist/modules/release/src/changes.d.ts.map +1 -1
- package/dist/modules/release/src/changes.js +8 -16
- package/dist/modules/release/src/changes.js.map +1 -1
- package/dist/modules/release/src/evidence-admission.d.ts +1 -1
- package/dist/modules/release/src/evidence-admission.d.ts.map +1 -1
- package/dist/modules/release/src/evidence-admission.js +11 -11
- package/dist/modules/release/src/evidence-admission.js.map +1 -1
- package/dist/modules/release/src/evidence-bundle-tree.js +1 -1
- package/dist/modules/release/src/evidence-bundle-tree.js.map +1 -1
- package/dist/modules/release/src/identity.d.ts +2 -2
- package/dist/modules/release/src/identity.d.ts.map +1 -1
- package/dist/modules/release/src/identity.js +77 -72
- package/dist/modules/release/src/identity.js.map +1 -1
- package/dist/modules/release/src/inputs.d.ts +6 -6
- package/dist/modules/release/src/inputs.d.ts.map +1 -1
- package/dist/modules/release/src/inputs.js +8 -6
- package/dist/modules/release/src/inputs.js.map +1 -1
- package/dist/modules/release/src/publication-authorities.d.ts +70 -66
- package/dist/modules/release/src/publication-authorities.d.ts.map +1 -1
- package/dist/modules/release/src/publication-authorities.js +1 -1
- package/dist/modules/release/src/publication-authorities.js.map +1 -1
- package/dist/modules/release/src/publication-inputs.d.ts.map +1 -1
- package/dist/modules/release/src/publication-inputs.js +3 -3
- package/dist/modules/release/src/publication-inputs.js.map +1 -1
- package/dist/modules/release/src/transition.d.ts +14 -9
- package/dist/modules/release/src/transition.d.ts.map +1 -1
- package/dist/modules/release/src/transition.js +81 -111
- package/dist/modules/release/src/transition.js.map +1 -1
- package/dist/modules/release/src/verification-changes.d.ts +8 -3
- package/dist/modules/release/src/verification-changes.d.ts.map +1 -1
- package/dist/modules/release/src/verification-changes.js +7 -34
- package/dist/modules/release/src/verification-changes.js.map +1 -1
- package/dist/modules/release/src/verification-policies.d.ts +67 -67
- package/dist/modules/release/src/verification-policies.d.ts.map +1 -1
- package/dist/modules/release/src/verification-policies.js +6 -11
- package/dist/modules/release/src/verification-policies.js.map +1 -1
- package/dist/modules/release/src/verification-transitions.d.ts +4 -4
- package/dist/modules/release/src/verification-transitions.d.ts.map +1 -1
- package/dist/modules/release/src/verification-transitions.js +3 -2
- package/dist/modules/release/src/verification-transitions.js.map +1 -1
- package/dist/modules/sourcey-publication/src/publication-parent-guard.d.ts.map +1 -0
- package/dist/modules/sourcey-publication/src/publication-parent-guard.js.map +1 -0
- package/dist/modules/sourcey-publication/src/publication-parent-relations.d.ts.map +1 -0
- package/dist/modules/{release → sourcey-publication}/src/publication-parent-relations.js +2 -2
- package/dist/modules/sourcey-publication/src/publication-parent-relations.js.map +1 -0
- package/dist/modules/{release → sourcey-publication}/src/submission-verification.d.ts +5 -0
- package/dist/modules/sourcey-publication/src/submission-verification.d.ts.map +1 -0
- package/dist/modules/{release → sourcey-publication}/src/submission-verification.js +7 -1
- package/dist/modules/{release → sourcey-publication}/src/submission-verification.js.map +1 -1
- package/dist/modules/{release → sourcey-publication}/src/verifier.d.ts +8 -3
- package/dist/modules/sourcey-publication/src/verifier.d.ts.map +1 -0
- package/dist/modules/{release → sourcey-publication}/src/verifier.js +103 -132
- package/dist/modules/sourcey-publication/src/verifier.js.map +1 -0
- package/dist/modules/standard-adapter-runtime/src/index.d.ts +1 -1
- package/dist/modules/standard-adapter-runtime/src/index.d.ts.map +1 -1
- package/dist/modules/standard-adapter-runtime/src/index.js +1 -1
- package/dist/modules/standard-adapter-runtime/src/index.js.map +1 -1
- package/dist/modules/standard-evidence/src/index.d.ts +1 -1
- package/dist/modules/standard-evidence/src/index.d.ts.map +1 -1
- package/dist/modules/standard-evidence/src/index.js +1 -1
- package/dist/modules/standard-evidence/src/index.js.map +1 -1
- package/dist/packages/catalog-verifier/src/application.d.ts +4 -4
- package/dist/packages/catalog-verifier/src/application.d.ts.map +1 -1
- package/dist/packages/catalog-verifier/src/application.js +17 -18
- package/dist/packages/catalog-verifier/src/application.js.map +1 -1
- package/dist/packages/catalog-verifier/src/index.d.ts +4 -4
- package/dist/packages/catalog-verifier/src/index.d.ts.map +1 -1
- package/dist/packages/catalog-verifier/src/index.js +4 -4
- package/dist/packages/catalog-verifier/src/index.js.map +1 -1
- package/dist/packages/catalog-verifier/src/program.js +1 -1
- package/dist/packages/catalog-verifier/src/program.js.map +1 -1
- package/package.json +5 -3
- package/taxonomy.json +27 -1
- package/dist/contracts/commercial-work/src/index.d.ts.map +0 -1
- package/dist/contracts/commercial-work/src/index.js.map +0 -1
- package/dist/contracts/routes/src/public-route-allocations.generated.d.ts +0 -2
- package/dist/contracts/routes/src/public-route-allocations.generated.d.ts.map +0 -1
- package/dist/contracts/routes/src/public-route-allocations.generated.js +0 -59
- package/dist/contracts/routes/src/public-route-allocations.generated.js.map +0 -1
- package/dist/modules/deterministic-release-archive/src/files.d.ts +0 -8
- package/dist/modules/deterministic-release-archive/src/files.d.ts.map +0 -1
- package/dist/modules/deterministic-release-archive/src/files.js +0 -23
- package/dist/modules/deterministic-release-archive/src/files.js.map +0 -1
- package/dist/modules/git-input/src/index.d.ts +0 -31
- package/dist/modules/git-input/src/index.d.ts.map +0 -1
- package/dist/modules/git-input/src/index.js +0 -158
- package/dist/modules/git-input/src/index.js.map +0 -1
- package/dist/modules/primitives/src/index.d.ts +0 -42
- package/dist/modules/primitives/src/index.d.ts.map +0 -1
- package/dist/modules/primitives/src/index.js +0 -172
- package/dist/modules/primitives/src/index.js.map +0 -1
- package/dist/modules/release/src/publication-parent-guard.d.ts.map +0 -1
- package/dist/modules/release/src/publication-parent-guard.js.map +0 -1
- package/dist/modules/release/src/publication-parent-relations.d.ts.map +0 -1
- package/dist/modules/release/src/publication-parent-relations.js.map +0 -1
- package/dist/modules/release/src/release-revision-parser.d.ts +0 -5
- package/dist/modules/release/src/release-revision-parser.d.ts.map +0 -1
- package/dist/modules/release/src/release-revision-parser.js +0 -19
- package/dist/modules/release/src/release-revision-parser.js.map +0 -1
- package/dist/modules/release/src/submission-verification.d.ts.map +0 -1
- package/dist/modules/release/src/verifier.d.ts.map +0 -1
- package/dist/modules/release/src/verifier.js.map +0 -1
- /package/dist/modules/{release → sourcey-publication}/src/publication-parent-guard.d.ts +0 -0
- /package/dist/modules/{release → sourcey-publication}/src/publication-parent-guard.js +0 -0
- /package/dist/modules/{release → sourcey-publication}/src/publication-parent-relations.d.ts +0 -0
|
@@ -4,29 +4,29 @@ export declare const fieldCoverageSchema: z.ZodObject<{
|
|
|
4
4
|
supporting_event_ids: z.ZodArray<z.ZodString>;
|
|
5
5
|
contradicting_event_ids: z.ZodArray<z.ZodString>;
|
|
6
6
|
accepted_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
7
|
-
|
|
7
|
+
attested: "attested";
|
|
8
8
|
derived: "derived";
|
|
9
9
|
editorial: "editorial";
|
|
10
|
-
|
|
10
|
+
observed: "observed";
|
|
11
11
|
}>>;
|
|
12
12
|
evidence_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
13
|
-
|
|
13
|
+
attested: "attested";
|
|
14
14
|
derived: "derived";
|
|
15
15
|
editorial: "editorial";
|
|
16
|
-
|
|
16
|
+
observed: "observed";
|
|
17
17
|
}>>;
|
|
18
18
|
latest_observation_at: z.ZodOptional<z.ZodISODateTime>;
|
|
19
19
|
freshness: z.ZodEnum<{
|
|
20
|
-
unknown: "unknown";
|
|
21
20
|
fresh: "fresh";
|
|
22
21
|
stale: "stale";
|
|
22
|
+
unknown: "unknown";
|
|
23
23
|
}>;
|
|
24
24
|
}, z.core.$strict>;
|
|
25
25
|
export declare const provenanceSchema: z.ZodObject<{
|
|
26
26
|
freshness: z.ZodEnum<{
|
|
27
|
-
unknown: "unknown";
|
|
28
27
|
fresh: "fresh";
|
|
29
28
|
stale: "stale";
|
|
29
|
+
unknown: "unknown";
|
|
30
30
|
}>;
|
|
31
31
|
dispute: z.ZodEnum<{
|
|
32
32
|
none: "none";
|
|
@@ -41,22 +41,22 @@ export declare const provenanceSchema: z.ZodObject<{
|
|
|
41
41
|
supporting_event_ids: z.ZodArray<z.ZodString>;
|
|
42
42
|
contradicting_event_ids: z.ZodArray<z.ZodString>;
|
|
43
43
|
accepted_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
44
|
-
|
|
44
|
+
attested: "attested";
|
|
45
45
|
derived: "derived";
|
|
46
46
|
editorial: "editorial";
|
|
47
|
-
|
|
47
|
+
observed: "observed";
|
|
48
48
|
}>>;
|
|
49
49
|
evidence_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
50
|
-
|
|
50
|
+
attested: "attested";
|
|
51
51
|
derived: "derived";
|
|
52
52
|
editorial: "editorial";
|
|
53
|
-
|
|
53
|
+
observed: "observed";
|
|
54
54
|
}>>;
|
|
55
55
|
latest_observation_at: z.ZodOptional<z.ZodISODateTime>;
|
|
56
56
|
freshness: z.ZodEnum<{
|
|
57
|
-
unknown: "unknown";
|
|
58
57
|
fresh: "fresh";
|
|
59
58
|
stale: "stale";
|
|
59
|
+
unknown: "unknown";
|
|
60
60
|
}>;
|
|
61
61
|
}, z.core.$strict>>;
|
|
62
62
|
vendor_attestation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -67,6 +67,313 @@ export declare const provenanceSchema: z.ZodObject<{
|
|
|
67
67
|
attested_at: z.ZodISODateTime;
|
|
68
68
|
}, z.core.$strict>], "status">;
|
|
69
69
|
}, z.core.$strict>;
|
|
70
|
+
export declare const OFFER_HEADLINE_RULE: "sourcey.offer-headline/v1";
|
|
71
|
+
/**
|
|
72
|
+
* The one figure an offer leads with, projected at release time from its
|
|
73
|
+
* accepted benefits and never part of the revision digest. `typed` names the
|
|
74
|
+
* benefit the author typed; `described` is the exact deterministic reading of
|
|
75
|
+
* an accepted benefit description under the named rule, so every clause binds
|
|
76
|
+
* an already accepted claim. An offer whose benefits state no figure carries
|
|
77
|
+
* no headline.
|
|
78
|
+
*/
|
|
79
|
+
export declare const offerHeadlineFigureSchema: 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
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
121
|
+
kind: z.ZodLiteral<"discount">;
|
|
122
|
+
percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
123
|
+
kind: z.ZodLiteral<"exact">;
|
|
124
|
+
basis_points: z.ZodNumber;
|
|
125
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
126
|
+
kind: z.ZodLiteral<"up-to">;
|
|
127
|
+
basis_points: z.ZodNumber;
|
|
128
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
129
|
+
kind: z.ZodLiteral<"at-least">;
|
|
130
|
+
basis_points: z.ZodNumber;
|
|
131
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
132
|
+
kind: z.ZodLiteral<"range">;
|
|
133
|
+
minimum_basis_points: z.ZodNumber;
|
|
134
|
+
maximum_basis_points: z.ZodNumber;
|
|
135
|
+
}, z.core.$strict>], "kind">;
|
|
136
|
+
applies_to: z.ZodOptional<z.ZodString>;
|
|
137
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
138
|
+
kind: z.ZodLiteral<"exact">;
|
|
139
|
+
value: z.ZodString;
|
|
140
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
141
|
+
kind: z.ZodLiteral<"up-to">;
|
|
142
|
+
value: z.ZodString;
|
|
143
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
144
|
+
kind: z.ZodLiteral<"at-least">;
|
|
145
|
+
value: z.ZodString;
|
|
146
|
+
}, z.core.$strict>], "kind">>;
|
|
147
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
148
|
+
kind: z.ZodLiteral<"cashback">;
|
|
149
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
150
|
+
kind: z.ZodLiteral<"money">;
|
|
151
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
152
|
+
kind: z.ZodLiteral<"exact">;
|
|
153
|
+
amount: z.ZodObject<{
|
|
154
|
+
currency: z.ZodString;
|
|
155
|
+
minor_units: z.ZodNumber;
|
|
156
|
+
}, z.core.$strict>;
|
|
157
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
158
|
+
kind: z.ZodLiteral<"up-to">;
|
|
159
|
+
amount: z.ZodObject<{
|
|
160
|
+
currency: z.ZodString;
|
|
161
|
+
minor_units: z.ZodNumber;
|
|
162
|
+
}, z.core.$strict>;
|
|
163
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
164
|
+
kind: z.ZodLiteral<"at-least">;
|
|
165
|
+
amount: z.ZodObject<{
|
|
166
|
+
currency: z.ZodString;
|
|
167
|
+
minor_units: z.ZodNumber;
|
|
168
|
+
}, z.core.$strict>;
|
|
169
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
170
|
+
kind: z.ZodLiteral<"range">;
|
|
171
|
+
minimum: z.ZodObject<{
|
|
172
|
+
currency: z.ZodString;
|
|
173
|
+
minor_units: z.ZodNumber;
|
|
174
|
+
}, z.core.$strict>;
|
|
175
|
+
maximum: z.ZodObject<{
|
|
176
|
+
currency: z.ZodString;
|
|
177
|
+
minor_units: z.ZodNumber;
|
|
178
|
+
}, z.core.$strict>;
|
|
179
|
+
}, z.core.$strict>], "kind">;
|
|
180
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
181
|
+
kind: z.ZodLiteral<"percentage">;
|
|
182
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
183
|
+
kind: z.ZodLiteral<"exact">;
|
|
184
|
+
basis_points: z.ZodNumber;
|
|
185
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
186
|
+
kind: z.ZodLiteral<"up-to">;
|
|
187
|
+
basis_points: z.ZodNumber;
|
|
188
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
189
|
+
kind: z.ZodLiteral<"at-least">;
|
|
190
|
+
basis_points: z.ZodNumber;
|
|
191
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
192
|
+
kind: z.ZodLiteral<"range">;
|
|
193
|
+
minimum_basis_points: z.ZodNumber;
|
|
194
|
+
maximum_basis_points: z.ZodNumber;
|
|
195
|
+
}, z.core.$strict>], "kind">;
|
|
196
|
+
}, z.core.$strict>], "kind">;
|
|
197
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
198
|
+
kind: z.ZodLiteral<"exact">;
|
|
199
|
+
value: z.ZodString;
|
|
200
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
201
|
+
kind: z.ZodLiteral<"up-to">;
|
|
202
|
+
value: z.ZodString;
|
|
203
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
204
|
+
kind: z.ZodLiteral<"at-least">;
|
|
205
|
+
value: z.ZodString;
|
|
206
|
+
}, z.core.$strict>], "kind">>;
|
|
207
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
208
|
+
kind: z.ZodLiteral<"free-service">;
|
|
209
|
+
service: z.ZodOptional<z.ZodString>;
|
|
210
|
+
duration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
211
|
+
kind: z.ZodLiteral<"exact">;
|
|
212
|
+
value: z.ZodString;
|
|
213
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
214
|
+
kind: z.ZodLiteral<"up-to">;
|
|
215
|
+
value: z.ZodString;
|
|
216
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
217
|
+
kind: z.ZodLiteral<"at-least">;
|
|
218
|
+
value: z.ZodString;
|
|
219
|
+
}, z.core.$strict>], "kind">;
|
|
220
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
221
|
+
kind: z.ZodLiteral<"waiver">;
|
|
222
|
+
waived_item: z.ZodString;
|
|
223
|
+
}, z.core.$strict>], "kind">;
|
|
224
|
+
export declare const offerHeadlineSchema: z.ZodObject<{
|
|
225
|
+
rule: z.ZodLiteral<"sourcey.offer-headline/v1">;
|
|
226
|
+
benefit_id: z.ZodString;
|
|
227
|
+
basis: z.ZodEnum<{
|
|
228
|
+
described: "described";
|
|
229
|
+
typed: "typed";
|
|
230
|
+
}>;
|
|
231
|
+
figure: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
232
|
+
kind: z.ZodLiteral<"credit">;
|
|
233
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
234
|
+
kind: z.ZodLiteral<"exact">;
|
|
235
|
+
amount: z.ZodObject<{
|
|
236
|
+
currency: z.ZodString;
|
|
237
|
+
minor_units: z.ZodNumber;
|
|
238
|
+
}, z.core.$strict>;
|
|
239
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
240
|
+
kind: z.ZodLiteral<"up-to">;
|
|
241
|
+
amount: z.ZodObject<{
|
|
242
|
+
currency: z.ZodString;
|
|
243
|
+
minor_units: z.ZodNumber;
|
|
244
|
+
}, z.core.$strict>;
|
|
245
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
246
|
+
kind: z.ZodLiteral<"at-least">;
|
|
247
|
+
amount: z.ZodObject<{
|
|
248
|
+
currency: z.ZodString;
|
|
249
|
+
minor_units: z.ZodNumber;
|
|
250
|
+
}, z.core.$strict>;
|
|
251
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
252
|
+
kind: z.ZodLiteral<"range">;
|
|
253
|
+
minimum: z.ZodObject<{
|
|
254
|
+
currency: z.ZodString;
|
|
255
|
+
minor_units: z.ZodNumber;
|
|
256
|
+
}, z.core.$strict>;
|
|
257
|
+
maximum: z.ZodObject<{
|
|
258
|
+
currency: z.ZodString;
|
|
259
|
+
minor_units: z.ZodNumber;
|
|
260
|
+
}, z.core.$strict>;
|
|
261
|
+
}, z.core.$strict>], "kind">;
|
|
262
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
263
|
+
kind: z.ZodLiteral<"exact">;
|
|
264
|
+
value: z.ZodString;
|
|
265
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
266
|
+
kind: z.ZodLiteral<"up-to">;
|
|
267
|
+
value: z.ZodString;
|
|
268
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
269
|
+
kind: z.ZodLiteral<"at-least">;
|
|
270
|
+
value: z.ZodString;
|
|
271
|
+
}, z.core.$strict>], "kind">>;
|
|
272
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
273
|
+
kind: z.ZodLiteral<"discount">;
|
|
274
|
+
percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
275
|
+
kind: z.ZodLiteral<"exact">;
|
|
276
|
+
basis_points: z.ZodNumber;
|
|
277
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
278
|
+
kind: z.ZodLiteral<"up-to">;
|
|
279
|
+
basis_points: z.ZodNumber;
|
|
280
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
281
|
+
kind: z.ZodLiteral<"at-least">;
|
|
282
|
+
basis_points: z.ZodNumber;
|
|
283
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
284
|
+
kind: z.ZodLiteral<"range">;
|
|
285
|
+
minimum_basis_points: z.ZodNumber;
|
|
286
|
+
maximum_basis_points: z.ZodNumber;
|
|
287
|
+
}, z.core.$strict>], "kind">;
|
|
288
|
+
applies_to: z.ZodOptional<z.ZodString>;
|
|
289
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
290
|
+
kind: z.ZodLiteral<"exact">;
|
|
291
|
+
value: z.ZodString;
|
|
292
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
293
|
+
kind: z.ZodLiteral<"up-to">;
|
|
294
|
+
value: z.ZodString;
|
|
295
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
296
|
+
kind: z.ZodLiteral<"at-least">;
|
|
297
|
+
value: z.ZodString;
|
|
298
|
+
}, z.core.$strict>], "kind">>;
|
|
299
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
300
|
+
kind: z.ZodLiteral<"cashback">;
|
|
301
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
302
|
+
kind: z.ZodLiteral<"money">;
|
|
303
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
304
|
+
kind: z.ZodLiteral<"exact">;
|
|
305
|
+
amount: z.ZodObject<{
|
|
306
|
+
currency: z.ZodString;
|
|
307
|
+
minor_units: z.ZodNumber;
|
|
308
|
+
}, z.core.$strict>;
|
|
309
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
310
|
+
kind: z.ZodLiteral<"up-to">;
|
|
311
|
+
amount: z.ZodObject<{
|
|
312
|
+
currency: z.ZodString;
|
|
313
|
+
minor_units: z.ZodNumber;
|
|
314
|
+
}, z.core.$strict>;
|
|
315
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
316
|
+
kind: z.ZodLiteral<"at-least">;
|
|
317
|
+
amount: z.ZodObject<{
|
|
318
|
+
currency: z.ZodString;
|
|
319
|
+
minor_units: z.ZodNumber;
|
|
320
|
+
}, z.core.$strict>;
|
|
321
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
322
|
+
kind: z.ZodLiteral<"range">;
|
|
323
|
+
minimum: z.ZodObject<{
|
|
324
|
+
currency: z.ZodString;
|
|
325
|
+
minor_units: z.ZodNumber;
|
|
326
|
+
}, z.core.$strict>;
|
|
327
|
+
maximum: z.ZodObject<{
|
|
328
|
+
currency: z.ZodString;
|
|
329
|
+
minor_units: z.ZodNumber;
|
|
330
|
+
}, z.core.$strict>;
|
|
331
|
+
}, z.core.$strict>], "kind">;
|
|
332
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
333
|
+
kind: z.ZodLiteral<"percentage">;
|
|
334
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
335
|
+
kind: z.ZodLiteral<"exact">;
|
|
336
|
+
basis_points: z.ZodNumber;
|
|
337
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
338
|
+
kind: z.ZodLiteral<"up-to">;
|
|
339
|
+
basis_points: z.ZodNumber;
|
|
340
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
341
|
+
kind: z.ZodLiteral<"at-least">;
|
|
342
|
+
basis_points: z.ZodNumber;
|
|
343
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
344
|
+
kind: z.ZodLiteral<"range">;
|
|
345
|
+
minimum_basis_points: z.ZodNumber;
|
|
346
|
+
maximum_basis_points: z.ZodNumber;
|
|
347
|
+
}, z.core.$strict>], "kind">;
|
|
348
|
+
}, z.core.$strict>], "kind">;
|
|
349
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
350
|
+
kind: z.ZodLiteral<"exact">;
|
|
351
|
+
value: z.ZodString;
|
|
352
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
353
|
+
kind: z.ZodLiteral<"up-to">;
|
|
354
|
+
value: z.ZodString;
|
|
355
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
356
|
+
kind: z.ZodLiteral<"at-least">;
|
|
357
|
+
value: z.ZodString;
|
|
358
|
+
}, z.core.$strict>], "kind">>;
|
|
359
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
360
|
+
kind: z.ZodLiteral<"free-service">;
|
|
361
|
+
service: z.ZodOptional<z.ZodString>;
|
|
362
|
+
duration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
363
|
+
kind: z.ZodLiteral<"exact">;
|
|
364
|
+
value: z.ZodString;
|
|
365
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
366
|
+
kind: z.ZodLiteral<"up-to">;
|
|
367
|
+
value: z.ZodString;
|
|
368
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
369
|
+
kind: z.ZodLiteral<"at-least">;
|
|
370
|
+
value: z.ZodString;
|
|
371
|
+
}, z.core.$strict>], "kind">;
|
|
372
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
373
|
+
kind: z.ZodLiteral<"waiver">;
|
|
374
|
+
waived_item: z.ZodString;
|
|
375
|
+
}, z.core.$strict>], "kind">;
|
|
376
|
+
}, z.core.$strict>;
|
|
70
377
|
export declare const compiledOfferSchema: z.ZodObject<{
|
|
71
378
|
program_id: z.ZodOptional<z.ZodString>;
|
|
72
379
|
offer_id: z.ZodString;
|
|
@@ -91,6 +398,8 @@ export declare const compiledOfferSchema: z.ZodObject<{
|
|
|
91
398
|
description: z.ZodString;
|
|
92
399
|
}, z.core.$strict>], "kind">;
|
|
93
400
|
benefits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
401
|
+
benefit_id: z.ZodString;
|
|
402
|
+
description: z.ZodString;
|
|
94
403
|
kind: z.ZodLiteral<"credit">;
|
|
95
404
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
96
405
|
kind: z.ZodLiteral<"exact">;
|
|
@@ -131,9 +440,9 @@ export declare const compiledOfferSchema: z.ZodObject<{
|
|
|
131
440
|
kind: z.ZodLiteral<"at-least">;
|
|
132
441
|
value: z.ZodString;
|
|
133
442
|
}, z.core.$strict>], "kind">>;
|
|
443
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
134
444
|
benefit_id: z.ZodString;
|
|
135
445
|
description: z.ZodString;
|
|
136
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
137
446
|
kind: z.ZodLiteral<"discount">;
|
|
138
447
|
percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
139
448
|
kind: z.ZodLiteral<"exact">;
|
|
@@ -160,9 +469,9 @@ export declare const compiledOfferSchema: z.ZodObject<{
|
|
|
160
469
|
kind: z.ZodLiteral<"at-least">;
|
|
161
470
|
value: z.ZodString;
|
|
162
471
|
}, z.core.$strict>], "kind">>;
|
|
472
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
163
473
|
benefit_id: z.ZodString;
|
|
164
474
|
description: z.ZodString;
|
|
165
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
166
475
|
kind: z.ZodLiteral<"cashback">;
|
|
167
476
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
168
477
|
kind: z.ZodLiteral<"money">;
|
|
@@ -222,14 +531,14 @@ export declare const compiledOfferSchema: z.ZodObject<{
|
|
|
222
531
|
kind: z.ZodLiteral<"at-least">;
|
|
223
532
|
value: z.ZodString;
|
|
224
533
|
}, z.core.$strict>], "kind">>;
|
|
534
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
225
535
|
benefit_id: z.ZodString;
|
|
226
536
|
description: z.ZodString;
|
|
227
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
228
537
|
kind: z.ZodLiteral<"waiver">;
|
|
229
538
|
waived_item: z.ZodString;
|
|
539
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
230
540
|
benefit_id: z.ZodString;
|
|
231
541
|
description: z.ZodString;
|
|
232
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
233
542
|
kind: z.ZodLiteral<"free-service">;
|
|
234
543
|
service: z.ZodString;
|
|
235
544
|
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -242,12 +551,10 @@ export declare const compiledOfferSchema: z.ZodObject<{
|
|
|
242
551
|
kind: z.ZodLiteral<"at-least">;
|
|
243
552
|
value: z.ZodString;
|
|
244
553
|
}, z.core.$strict>], "kind">>;
|
|
245
|
-
benefit_id: z.ZodString;
|
|
246
|
-
description: z.ZodString;
|
|
247
554
|
}, z.core.$strict>, z.ZodObject<{
|
|
248
|
-
kind: z.ZodLiteral<"other">;
|
|
249
555
|
benefit_id: z.ZodString;
|
|
250
556
|
description: z.ZodString;
|
|
557
|
+
kind: z.ZodLiteral<"other">;
|
|
251
558
|
}, z.core.$strict>], "kind">>;
|
|
252
559
|
}, z.core.$strict>;
|
|
253
560
|
eligibility: z.ZodObject<{
|
|
@@ -259,19 +566,19 @@ export declare const compiledOfferSchema: z.ZodObject<{
|
|
|
259
566
|
}, z.core.$strict>;
|
|
260
567
|
access: z.ZodObject<{
|
|
261
568
|
availability: z.ZodEnum<{
|
|
262
|
-
|
|
569
|
+
automatic: "automatic";
|
|
570
|
+
invite: "invite";
|
|
571
|
+
membership: "membership";
|
|
263
572
|
other: "other";
|
|
573
|
+
public: "public";
|
|
264
574
|
referral: "referral";
|
|
265
|
-
membership: "membership";
|
|
266
|
-
invite: "invite";
|
|
267
|
-
automatic: "automatic";
|
|
268
575
|
}>;
|
|
269
576
|
method: z.ZodEnum<{
|
|
270
|
-
code: "code";
|
|
271
|
-
other: "other";
|
|
272
577
|
automatic: "automatic";
|
|
273
|
-
|
|
578
|
+
code: "code";
|
|
274
579
|
contact: "contact";
|
|
580
|
+
form: "form";
|
|
581
|
+
other: "other";
|
|
275
582
|
}>;
|
|
276
583
|
url: z.ZodOptional<z.ZodURL>;
|
|
277
584
|
public_code: z.ZodOptional<z.ZodString>;
|
|
@@ -288,9 +595,9 @@ export declare const compiledOfferSchema: z.ZodObject<{
|
|
|
288
595
|
revision_digest: z.ZodString;
|
|
289
596
|
provenance: z.ZodObject<{
|
|
290
597
|
freshness: z.ZodEnum<{
|
|
291
|
-
unknown: "unknown";
|
|
292
598
|
fresh: "fresh";
|
|
293
599
|
stale: "stale";
|
|
600
|
+
unknown: "unknown";
|
|
294
601
|
}>;
|
|
295
602
|
dispute: z.ZodEnum<{
|
|
296
603
|
none: "none";
|
|
@@ -305,41 +612,194 @@ export declare const compiledOfferSchema: z.ZodObject<{
|
|
|
305
612
|
supporting_event_ids: z.ZodArray<z.ZodString>;
|
|
306
613
|
contradicting_event_ids: z.ZodArray<z.ZodString>;
|
|
307
614
|
accepted_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
308
|
-
|
|
615
|
+
attested: "attested";
|
|
309
616
|
derived: "derived";
|
|
310
617
|
editorial: "editorial";
|
|
311
|
-
|
|
618
|
+
observed: "observed";
|
|
312
619
|
}>>;
|
|
313
620
|
evidence_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
314
|
-
|
|
621
|
+
attested: "attested";
|
|
315
622
|
derived: "derived";
|
|
316
623
|
editorial: "editorial";
|
|
317
|
-
|
|
624
|
+
observed: "observed";
|
|
318
625
|
}>>;
|
|
319
626
|
latest_observation_at: z.ZodOptional<z.ZodISODateTime>;
|
|
320
627
|
freshness: z.ZodEnum<{
|
|
321
|
-
unknown: "unknown";
|
|
322
628
|
fresh: "fresh";
|
|
323
629
|
stale: "stale";
|
|
630
|
+
unknown: "unknown";
|
|
324
631
|
}>;
|
|
325
632
|
}, z.core.$strict>>;
|
|
326
633
|
vendor_attestation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
327
634
|
status: z.ZodLiteral<"none">;
|
|
328
635
|
}, z.core.$strict>, z.ZodObject<{
|
|
329
|
-
status: z.ZodLiteral<"current">;
|
|
330
|
-
event_id: z.ZodString;
|
|
331
|
-
attested_at: z.ZodISODateTime;
|
|
332
|
-
}, z.core.$strict>], "status">;
|
|
333
|
-
}, z.core.$strict>;
|
|
334
|
-
terms_assurance: z.ZodOptional<z.ZodObject<{
|
|
335
|
-
status: z.ZodLiteral<"checked">;
|
|
336
|
-
assurance_id: z.ZodString;
|
|
337
|
-
checked_at: z.ZodISODateTime;
|
|
338
|
-
revision_digest: z.ZodString;
|
|
339
|
-
method_policy_digest: z.ZodString;
|
|
340
|
-
coverage_policy_digest: z.ZodString;
|
|
341
|
-
event_id: z.ZodString;
|
|
342
|
-
receipt_digest: z.ZodString;
|
|
636
|
+
status: z.ZodLiteral<"current">;
|
|
637
|
+
event_id: z.ZodString;
|
|
638
|
+
attested_at: z.ZodISODateTime;
|
|
639
|
+
}, z.core.$strict>], "status">;
|
|
640
|
+
}, z.core.$strict>;
|
|
641
|
+
terms_assurance: z.ZodOptional<z.ZodObject<{
|
|
642
|
+
status: z.ZodLiteral<"checked">;
|
|
643
|
+
assurance_id: z.ZodString;
|
|
644
|
+
checked_at: z.ZodISODateTime;
|
|
645
|
+
revision_digest: z.ZodString;
|
|
646
|
+
method_policy_digest: z.ZodString;
|
|
647
|
+
coverage_policy_digest: z.ZodString;
|
|
648
|
+
event_id: z.ZodString;
|
|
649
|
+
receipt_digest: z.ZodString;
|
|
650
|
+
}, z.core.$strict>>;
|
|
651
|
+
headline: z.ZodOptional<z.ZodObject<{
|
|
652
|
+
rule: z.ZodLiteral<"sourcey.offer-headline/v1">;
|
|
653
|
+
benefit_id: z.ZodString;
|
|
654
|
+
basis: z.ZodEnum<{
|
|
655
|
+
described: "described";
|
|
656
|
+
typed: "typed";
|
|
657
|
+
}>;
|
|
658
|
+
figure: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
659
|
+
kind: z.ZodLiteral<"credit">;
|
|
660
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
661
|
+
kind: z.ZodLiteral<"exact">;
|
|
662
|
+
amount: z.ZodObject<{
|
|
663
|
+
currency: z.ZodString;
|
|
664
|
+
minor_units: z.ZodNumber;
|
|
665
|
+
}, z.core.$strict>;
|
|
666
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
667
|
+
kind: z.ZodLiteral<"up-to">;
|
|
668
|
+
amount: z.ZodObject<{
|
|
669
|
+
currency: z.ZodString;
|
|
670
|
+
minor_units: z.ZodNumber;
|
|
671
|
+
}, z.core.$strict>;
|
|
672
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
673
|
+
kind: z.ZodLiteral<"at-least">;
|
|
674
|
+
amount: z.ZodObject<{
|
|
675
|
+
currency: z.ZodString;
|
|
676
|
+
minor_units: z.ZodNumber;
|
|
677
|
+
}, z.core.$strict>;
|
|
678
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
679
|
+
kind: z.ZodLiteral<"range">;
|
|
680
|
+
minimum: z.ZodObject<{
|
|
681
|
+
currency: z.ZodString;
|
|
682
|
+
minor_units: z.ZodNumber;
|
|
683
|
+
}, z.core.$strict>;
|
|
684
|
+
maximum: z.ZodObject<{
|
|
685
|
+
currency: z.ZodString;
|
|
686
|
+
minor_units: z.ZodNumber;
|
|
687
|
+
}, z.core.$strict>;
|
|
688
|
+
}, z.core.$strict>], "kind">;
|
|
689
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
690
|
+
kind: z.ZodLiteral<"exact">;
|
|
691
|
+
value: z.ZodString;
|
|
692
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
693
|
+
kind: z.ZodLiteral<"up-to">;
|
|
694
|
+
value: z.ZodString;
|
|
695
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
696
|
+
kind: z.ZodLiteral<"at-least">;
|
|
697
|
+
value: z.ZodString;
|
|
698
|
+
}, z.core.$strict>], "kind">>;
|
|
699
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
700
|
+
kind: z.ZodLiteral<"discount">;
|
|
701
|
+
percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
702
|
+
kind: z.ZodLiteral<"exact">;
|
|
703
|
+
basis_points: z.ZodNumber;
|
|
704
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
705
|
+
kind: z.ZodLiteral<"up-to">;
|
|
706
|
+
basis_points: z.ZodNumber;
|
|
707
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
708
|
+
kind: z.ZodLiteral<"at-least">;
|
|
709
|
+
basis_points: z.ZodNumber;
|
|
710
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
711
|
+
kind: z.ZodLiteral<"range">;
|
|
712
|
+
minimum_basis_points: z.ZodNumber;
|
|
713
|
+
maximum_basis_points: z.ZodNumber;
|
|
714
|
+
}, z.core.$strict>], "kind">;
|
|
715
|
+
applies_to: z.ZodOptional<z.ZodString>;
|
|
716
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
717
|
+
kind: z.ZodLiteral<"exact">;
|
|
718
|
+
value: z.ZodString;
|
|
719
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
720
|
+
kind: z.ZodLiteral<"up-to">;
|
|
721
|
+
value: z.ZodString;
|
|
722
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
723
|
+
kind: z.ZodLiteral<"at-least">;
|
|
724
|
+
value: z.ZodString;
|
|
725
|
+
}, z.core.$strict>], "kind">>;
|
|
726
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
727
|
+
kind: z.ZodLiteral<"cashback">;
|
|
728
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
729
|
+
kind: z.ZodLiteral<"money">;
|
|
730
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
731
|
+
kind: z.ZodLiteral<"exact">;
|
|
732
|
+
amount: z.ZodObject<{
|
|
733
|
+
currency: z.ZodString;
|
|
734
|
+
minor_units: z.ZodNumber;
|
|
735
|
+
}, z.core.$strict>;
|
|
736
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
737
|
+
kind: z.ZodLiteral<"up-to">;
|
|
738
|
+
amount: z.ZodObject<{
|
|
739
|
+
currency: z.ZodString;
|
|
740
|
+
minor_units: z.ZodNumber;
|
|
741
|
+
}, z.core.$strict>;
|
|
742
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
743
|
+
kind: z.ZodLiteral<"at-least">;
|
|
744
|
+
amount: z.ZodObject<{
|
|
745
|
+
currency: z.ZodString;
|
|
746
|
+
minor_units: z.ZodNumber;
|
|
747
|
+
}, z.core.$strict>;
|
|
748
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
749
|
+
kind: z.ZodLiteral<"range">;
|
|
750
|
+
minimum: z.ZodObject<{
|
|
751
|
+
currency: z.ZodString;
|
|
752
|
+
minor_units: z.ZodNumber;
|
|
753
|
+
}, z.core.$strict>;
|
|
754
|
+
maximum: z.ZodObject<{
|
|
755
|
+
currency: z.ZodString;
|
|
756
|
+
minor_units: z.ZodNumber;
|
|
757
|
+
}, z.core.$strict>;
|
|
758
|
+
}, z.core.$strict>], "kind">;
|
|
759
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
760
|
+
kind: z.ZodLiteral<"percentage">;
|
|
761
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
762
|
+
kind: z.ZodLiteral<"exact">;
|
|
763
|
+
basis_points: z.ZodNumber;
|
|
764
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
765
|
+
kind: z.ZodLiteral<"up-to">;
|
|
766
|
+
basis_points: z.ZodNumber;
|
|
767
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
768
|
+
kind: z.ZodLiteral<"at-least">;
|
|
769
|
+
basis_points: z.ZodNumber;
|
|
770
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
771
|
+
kind: z.ZodLiteral<"range">;
|
|
772
|
+
minimum_basis_points: z.ZodNumber;
|
|
773
|
+
maximum_basis_points: z.ZodNumber;
|
|
774
|
+
}, z.core.$strict>], "kind">;
|
|
775
|
+
}, z.core.$strict>], "kind">;
|
|
776
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
777
|
+
kind: z.ZodLiteral<"exact">;
|
|
778
|
+
value: z.ZodString;
|
|
779
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
780
|
+
kind: z.ZodLiteral<"up-to">;
|
|
781
|
+
value: z.ZodString;
|
|
782
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
783
|
+
kind: z.ZodLiteral<"at-least">;
|
|
784
|
+
value: z.ZodString;
|
|
785
|
+
}, z.core.$strict>], "kind">>;
|
|
786
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
787
|
+
kind: z.ZodLiteral<"free-service">;
|
|
788
|
+
service: z.ZodOptional<z.ZodString>;
|
|
789
|
+
duration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
790
|
+
kind: z.ZodLiteral<"exact">;
|
|
791
|
+
value: z.ZodString;
|
|
792
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
793
|
+
kind: z.ZodLiteral<"up-to">;
|
|
794
|
+
value: z.ZodString;
|
|
795
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
796
|
+
kind: z.ZodLiteral<"at-least">;
|
|
797
|
+
value: z.ZodString;
|
|
798
|
+
}, z.core.$strict>], "kind">;
|
|
799
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
800
|
+
kind: z.ZodLiteral<"waiver">;
|
|
801
|
+
waived_item: z.ZodString;
|
|
802
|
+
}, z.core.$strict>], "kind">;
|
|
343
803
|
}, z.core.$strict>>;
|
|
344
804
|
}, z.core.$strict>;
|
|
345
805
|
export declare const compiledProgramSchema: z.ZodObject<{
|
|
@@ -350,9 +810,9 @@ export declare const compiledProgramSchema: z.ZodObject<{
|
|
|
350
810
|
revision_digest: z.ZodString;
|
|
351
811
|
provenance: z.ZodObject<{
|
|
352
812
|
freshness: z.ZodEnum<{
|
|
353
|
-
unknown: "unknown";
|
|
354
813
|
fresh: "fresh";
|
|
355
814
|
stale: "stale";
|
|
815
|
+
unknown: "unknown";
|
|
356
816
|
}>;
|
|
357
817
|
dispute: z.ZodEnum<{
|
|
358
818
|
none: "none";
|
|
@@ -367,22 +827,22 @@ export declare const compiledProgramSchema: z.ZodObject<{
|
|
|
367
827
|
supporting_event_ids: z.ZodArray<z.ZodString>;
|
|
368
828
|
contradicting_event_ids: z.ZodArray<z.ZodString>;
|
|
369
829
|
accepted_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
370
|
-
|
|
830
|
+
attested: "attested";
|
|
371
831
|
derived: "derived";
|
|
372
832
|
editorial: "editorial";
|
|
373
|
-
|
|
833
|
+
observed: "observed";
|
|
374
834
|
}>>;
|
|
375
835
|
evidence_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
376
|
-
|
|
836
|
+
attested: "attested";
|
|
377
837
|
derived: "derived";
|
|
378
838
|
editorial: "editorial";
|
|
379
|
-
|
|
839
|
+
observed: "observed";
|
|
380
840
|
}>>;
|
|
381
841
|
latest_observation_at: z.ZodOptional<z.ZodISODateTime>;
|
|
382
842
|
freshness: z.ZodEnum<{
|
|
383
|
-
unknown: "unknown";
|
|
384
843
|
fresh: "fresh";
|
|
385
844
|
stale: "stale";
|
|
845
|
+
unknown: "unknown";
|
|
386
846
|
}>;
|
|
387
847
|
}, z.core.$strict>>;
|
|
388
848
|
vendor_attestation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -406,9 +866,9 @@ export declare const compiledEntitySchema: z.ZodObject<{
|
|
|
406
866
|
revision_digest: z.ZodString;
|
|
407
867
|
provenance: z.ZodObject<{
|
|
408
868
|
freshness: z.ZodEnum<{
|
|
409
|
-
unknown: "unknown";
|
|
410
869
|
fresh: "fresh";
|
|
411
870
|
stale: "stale";
|
|
871
|
+
unknown: "unknown";
|
|
412
872
|
}>;
|
|
413
873
|
dispute: z.ZodEnum<{
|
|
414
874
|
none: "none";
|
|
@@ -423,22 +883,22 @@ export declare const compiledEntitySchema: z.ZodObject<{
|
|
|
423
883
|
supporting_event_ids: z.ZodArray<z.ZodString>;
|
|
424
884
|
contradicting_event_ids: z.ZodArray<z.ZodString>;
|
|
425
885
|
accepted_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
426
|
-
|
|
886
|
+
attested: "attested";
|
|
427
887
|
derived: "derived";
|
|
428
888
|
editorial: "editorial";
|
|
429
|
-
|
|
889
|
+
observed: "observed";
|
|
430
890
|
}>>;
|
|
431
891
|
evidence_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
432
|
-
|
|
892
|
+
attested: "attested";
|
|
433
893
|
derived: "derived";
|
|
434
894
|
editorial: "editorial";
|
|
435
|
-
|
|
895
|
+
observed: "observed";
|
|
436
896
|
}>>;
|
|
437
897
|
latest_observation_at: z.ZodOptional<z.ZodISODateTime>;
|
|
438
898
|
freshness: z.ZodEnum<{
|
|
439
|
-
unknown: "unknown";
|
|
440
899
|
fresh: "fresh";
|
|
441
900
|
stale: "stale";
|
|
901
|
+
unknown: "unknown";
|
|
442
902
|
}>;
|
|
443
903
|
}, z.core.$strict>>;
|
|
444
904
|
vendor_attestation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -467,9 +927,9 @@ export declare const compiledEntitySchema: z.ZodObject<{
|
|
|
467
927
|
revision_digest: z.ZodString;
|
|
468
928
|
provenance: z.ZodObject<{
|
|
469
929
|
freshness: z.ZodEnum<{
|
|
470
|
-
unknown: "unknown";
|
|
471
930
|
fresh: "fresh";
|
|
472
931
|
stale: "stale";
|
|
932
|
+
unknown: "unknown";
|
|
473
933
|
}>;
|
|
474
934
|
dispute: z.ZodEnum<{
|
|
475
935
|
none: "none";
|
|
@@ -484,22 +944,22 @@ export declare const compiledEntitySchema: z.ZodObject<{
|
|
|
484
944
|
supporting_event_ids: z.ZodArray<z.ZodString>;
|
|
485
945
|
contradicting_event_ids: z.ZodArray<z.ZodString>;
|
|
486
946
|
accepted_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
487
|
-
|
|
947
|
+
attested: "attested";
|
|
488
948
|
derived: "derived";
|
|
489
949
|
editorial: "editorial";
|
|
490
|
-
|
|
950
|
+
observed: "observed";
|
|
491
951
|
}>>;
|
|
492
952
|
evidence_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
493
|
-
|
|
953
|
+
attested: "attested";
|
|
494
954
|
derived: "derived";
|
|
495
955
|
editorial: "editorial";
|
|
496
|
-
|
|
956
|
+
observed: "observed";
|
|
497
957
|
}>>;
|
|
498
958
|
latest_observation_at: z.ZodOptional<z.ZodISODateTime>;
|
|
499
959
|
freshness: z.ZodEnum<{
|
|
500
|
-
unknown: "unknown";
|
|
501
960
|
fresh: "fresh";
|
|
502
961
|
stale: "stale";
|
|
962
|
+
unknown: "unknown";
|
|
503
963
|
}>;
|
|
504
964
|
}, z.core.$strict>>;
|
|
505
965
|
vendor_attestation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -535,6 +995,8 @@ export declare const compiledEntitySchema: z.ZodObject<{
|
|
|
535
995
|
description: z.ZodString;
|
|
536
996
|
}, z.core.$strict>], "kind">;
|
|
537
997
|
benefits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
998
|
+
benefit_id: z.ZodString;
|
|
999
|
+
description: z.ZodString;
|
|
538
1000
|
kind: z.ZodLiteral<"credit">;
|
|
539
1001
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
540
1002
|
kind: z.ZodLiteral<"exact">;
|
|
@@ -575,9 +1037,9 @@ export declare const compiledEntitySchema: z.ZodObject<{
|
|
|
575
1037
|
kind: z.ZodLiteral<"at-least">;
|
|
576
1038
|
value: z.ZodString;
|
|
577
1039
|
}, z.core.$strict>], "kind">>;
|
|
1040
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
578
1041
|
benefit_id: z.ZodString;
|
|
579
1042
|
description: z.ZodString;
|
|
580
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
581
1043
|
kind: z.ZodLiteral<"discount">;
|
|
582
1044
|
percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
583
1045
|
kind: z.ZodLiteral<"exact">;
|
|
@@ -604,9 +1066,9 @@ export declare const compiledEntitySchema: z.ZodObject<{
|
|
|
604
1066
|
kind: z.ZodLiteral<"at-least">;
|
|
605
1067
|
value: z.ZodString;
|
|
606
1068
|
}, z.core.$strict>], "kind">>;
|
|
1069
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
607
1070
|
benefit_id: z.ZodString;
|
|
608
1071
|
description: z.ZodString;
|
|
609
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
610
1072
|
kind: z.ZodLiteral<"cashback">;
|
|
611
1073
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
612
1074
|
kind: z.ZodLiteral<"money">;
|
|
@@ -666,14 +1128,14 @@ export declare const compiledEntitySchema: z.ZodObject<{
|
|
|
666
1128
|
kind: z.ZodLiteral<"at-least">;
|
|
667
1129
|
value: z.ZodString;
|
|
668
1130
|
}, z.core.$strict>], "kind">>;
|
|
1131
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
669
1132
|
benefit_id: z.ZodString;
|
|
670
1133
|
description: z.ZodString;
|
|
671
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
672
1134
|
kind: z.ZodLiteral<"waiver">;
|
|
673
1135
|
waived_item: z.ZodString;
|
|
1136
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
674
1137
|
benefit_id: z.ZodString;
|
|
675
1138
|
description: z.ZodString;
|
|
676
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
677
1139
|
kind: z.ZodLiteral<"free-service">;
|
|
678
1140
|
service: z.ZodString;
|
|
679
1141
|
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -686,12 +1148,10 @@ export declare const compiledEntitySchema: z.ZodObject<{
|
|
|
686
1148
|
kind: z.ZodLiteral<"at-least">;
|
|
687
1149
|
value: z.ZodString;
|
|
688
1150
|
}, z.core.$strict>], "kind">>;
|
|
689
|
-
benefit_id: z.ZodString;
|
|
690
|
-
description: z.ZodString;
|
|
691
1151
|
}, z.core.$strict>, z.ZodObject<{
|
|
692
|
-
kind: z.ZodLiteral<"other">;
|
|
693
1152
|
benefit_id: z.ZodString;
|
|
694
1153
|
description: z.ZodString;
|
|
1154
|
+
kind: z.ZodLiteral<"other">;
|
|
695
1155
|
}, z.core.$strict>], "kind">>;
|
|
696
1156
|
}, z.core.$strict>;
|
|
697
1157
|
eligibility: z.ZodObject<{
|
|
@@ -703,19 +1163,19 @@ export declare const compiledEntitySchema: z.ZodObject<{
|
|
|
703
1163
|
}, z.core.$strict>;
|
|
704
1164
|
access: z.ZodObject<{
|
|
705
1165
|
availability: z.ZodEnum<{
|
|
706
|
-
|
|
1166
|
+
automatic: "automatic";
|
|
1167
|
+
invite: "invite";
|
|
1168
|
+
membership: "membership";
|
|
707
1169
|
other: "other";
|
|
1170
|
+
public: "public";
|
|
708
1171
|
referral: "referral";
|
|
709
|
-
membership: "membership";
|
|
710
|
-
invite: "invite";
|
|
711
|
-
automatic: "automatic";
|
|
712
1172
|
}>;
|
|
713
1173
|
method: z.ZodEnum<{
|
|
714
|
-
code: "code";
|
|
715
|
-
other: "other";
|
|
716
1174
|
automatic: "automatic";
|
|
717
|
-
|
|
1175
|
+
code: "code";
|
|
718
1176
|
contact: "contact";
|
|
1177
|
+
form: "form";
|
|
1178
|
+
other: "other";
|
|
719
1179
|
}>;
|
|
720
1180
|
url: z.ZodOptional<z.ZodURL>;
|
|
721
1181
|
public_code: z.ZodOptional<z.ZodString>;
|
|
@@ -732,9 +1192,9 @@ export declare const compiledEntitySchema: z.ZodObject<{
|
|
|
732
1192
|
revision_digest: z.ZodString;
|
|
733
1193
|
provenance: z.ZodObject<{
|
|
734
1194
|
freshness: z.ZodEnum<{
|
|
735
|
-
unknown: "unknown";
|
|
736
1195
|
fresh: "fresh";
|
|
737
1196
|
stale: "stale";
|
|
1197
|
+
unknown: "unknown";
|
|
738
1198
|
}>;
|
|
739
1199
|
dispute: z.ZodEnum<{
|
|
740
1200
|
none: "none";
|
|
@@ -749,41 +1209,194 @@ export declare const compiledEntitySchema: z.ZodObject<{
|
|
|
749
1209
|
supporting_event_ids: z.ZodArray<z.ZodString>;
|
|
750
1210
|
contradicting_event_ids: z.ZodArray<z.ZodString>;
|
|
751
1211
|
accepted_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
752
|
-
|
|
1212
|
+
attested: "attested";
|
|
753
1213
|
derived: "derived";
|
|
754
1214
|
editorial: "editorial";
|
|
755
|
-
|
|
1215
|
+
observed: "observed";
|
|
756
1216
|
}>>;
|
|
757
1217
|
evidence_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
758
|
-
|
|
1218
|
+
attested: "attested";
|
|
759
1219
|
derived: "derived";
|
|
760
1220
|
editorial: "editorial";
|
|
761
|
-
|
|
1221
|
+
observed: "observed";
|
|
762
1222
|
}>>;
|
|
763
1223
|
latest_observation_at: z.ZodOptional<z.ZodISODateTime>;
|
|
764
1224
|
freshness: z.ZodEnum<{
|
|
765
|
-
unknown: "unknown";
|
|
766
1225
|
fresh: "fresh";
|
|
767
1226
|
stale: "stale";
|
|
1227
|
+
unknown: "unknown";
|
|
768
1228
|
}>;
|
|
769
1229
|
}, z.core.$strict>>;
|
|
770
1230
|
vendor_attestation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
771
1231
|
status: z.ZodLiteral<"none">;
|
|
772
1232
|
}, z.core.$strict>, z.ZodObject<{
|
|
773
|
-
status: z.ZodLiteral<"current">;
|
|
774
|
-
event_id: z.ZodString;
|
|
775
|
-
attested_at: z.ZodISODateTime;
|
|
776
|
-
}, z.core.$strict>], "status">;
|
|
777
|
-
}, z.core.$strict>;
|
|
778
|
-
terms_assurance: z.ZodOptional<z.ZodObject<{
|
|
779
|
-
status: z.ZodLiteral<"checked">;
|
|
780
|
-
assurance_id: z.ZodString;
|
|
781
|
-
checked_at: z.ZodISODateTime;
|
|
782
|
-
revision_digest: z.ZodString;
|
|
783
|
-
method_policy_digest: z.ZodString;
|
|
784
|
-
coverage_policy_digest: z.ZodString;
|
|
785
|
-
event_id: z.ZodString;
|
|
786
|
-
receipt_digest: z.ZodString;
|
|
1233
|
+
status: z.ZodLiteral<"current">;
|
|
1234
|
+
event_id: z.ZodString;
|
|
1235
|
+
attested_at: z.ZodISODateTime;
|
|
1236
|
+
}, z.core.$strict>], "status">;
|
|
1237
|
+
}, z.core.$strict>;
|
|
1238
|
+
terms_assurance: z.ZodOptional<z.ZodObject<{
|
|
1239
|
+
status: z.ZodLiteral<"checked">;
|
|
1240
|
+
assurance_id: z.ZodString;
|
|
1241
|
+
checked_at: z.ZodISODateTime;
|
|
1242
|
+
revision_digest: z.ZodString;
|
|
1243
|
+
method_policy_digest: z.ZodString;
|
|
1244
|
+
coverage_policy_digest: z.ZodString;
|
|
1245
|
+
event_id: z.ZodString;
|
|
1246
|
+
receipt_digest: z.ZodString;
|
|
1247
|
+
}, z.core.$strict>>;
|
|
1248
|
+
headline: z.ZodOptional<z.ZodObject<{
|
|
1249
|
+
rule: z.ZodLiteral<"sourcey.offer-headline/v1">;
|
|
1250
|
+
benefit_id: z.ZodString;
|
|
1251
|
+
basis: z.ZodEnum<{
|
|
1252
|
+
described: "described";
|
|
1253
|
+
typed: "typed";
|
|
1254
|
+
}>;
|
|
1255
|
+
figure: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1256
|
+
kind: z.ZodLiteral<"credit">;
|
|
1257
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1258
|
+
kind: z.ZodLiteral<"exact">;
|
|
1259
|
+
amount: z.ZodObject<{
|
|
1260
|
+
currency: z.ZodString;
|
|
1261
|
+
minor_units: z.ZodNumber;
|
|
1262
|
+
}, z.core.$strict>;
|
|
1263
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1264
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1265
|
+
amount: z.ZodObject<{
|
|
1266
|
+
currency: z.ZodString;
|
|
1267
|
+
minor_units: z.ZodNumber;
|
|
1268
|
+
}, z.core.$strict>;
|
|
1269
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1270
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1271
|
+
amount: z.ZodObject<{
|
|
1272
|
+
currency: z.ZodString;
|
|
1273
|
+
minor_units: z.ZodNumber;
|
|
1274
|
+
}, z.core.$strict>;
|
|
1275
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1276
|
+
kind: z.ZodLiteral<"range">;
|
|
1277
|
+
minimum: z.ZodObject<{
|
|
1278
|
+
currency: z.ZodString;
|
|
1279
|
+
minor_units: z.ZodNumber;
|
|
1280
|
+
}, z.core.$strict>;
|
|
1281
|
+
maximum: z.ZodObject<{
|
|
1282
|
+
currency: z.ZodString;
|
|
1283
|
+
minor_units: z.ZodNumber;
|
|
1284
|
+
}, z.core.$strict>;
|
|
1285
|
+
}, z.core.$strict>], "kind">;
|
|
1286
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1287
|
+
kind: z.ZodLiteral<"exact">;
|
|
1288
|
+
value: z.ZodString;
|
|
1289
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1290
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1291
|
+
value: z.ZodString;
|
|
1292
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1293
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1294
|
+
value: z.ZodString;
|
|
1295
|
+
}, z.core.$strict>], "kind">>;
|
|
1296
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1297
|
+
kind: z.ZodLiteral<"discount">;
|
|
1298
|
+
percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1299
|
+
kind: z.ZodLiteral<"exact">;
|
|
1300
|
+
basis_points: z.ZodNumber;
|
|
1301
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1302
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1303
|
+
basis_points: z.ZodNumber;
|
|
1304
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1305
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1306
|
+
basis_points: z.ZodNumber;
|
|
1307
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1308
|
+
kind: z.ZodLiteral<"range">;
|
|
1309
|
+
minimum_basis_points: z.ZodNumber;
|
|
1310
|
+
maximum_basis_points: z.ZodNumber;
|
|
1311
|
+
}, z.core.$strict>], "kind">;
|
|
1312
|
+
applies_to: z.ZodOptional<z.ZodString>;
|
|
1313
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1314
|
+
kind: z.ZodLiteral<"exact">;
|
|
1315
|
+
value: z.ZodString;
|
|
1316
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1317
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1318
|
+
value: z.ZodString;
|
|
1319
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1320
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1321
|
+
value: z.ZodString;
|
|
1322
|
+
}, z.core.$strict>], "kind">>;
|
|
1323
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1324
|
+
kind: z.ZodLiteral<"cashback">;
|
|
1325
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1326
|
+
kind: z.ZodLiteral<"money">;
|
|
1327
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1328
|
+
kind: z.ZodLiteral<"exact">;
|
|
1329
|
+
amount: z.ZodObject<{
|
|
1330
|
+
currency: z.ZodString;
|
|
1331
|
+
minor_units: z.ZodNumber;
|
|
1332
|
+
}, z.core.$strict>;
|
|
1333
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1334
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1335
|
+
amount: z.ZodObject<{
|
|
1336
|
+
currency: z.ZodString;
|
|
1337
|
+
minor_units: z.ZodNumber;
|
|
1338
|
+
}, z.core.$strict>;
|
|
1339
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1340
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1341
|
+
amount: z.ZodObject<{
|
|
1342
|
+
currency: z.ZodString;
|
|
1343
|
+
minor_units: z.ZodNumber;
|
|
1344
|
+
}, z.core.$strict>;
|
|
1345
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1346
|
+
kind: z.ZodLiteral<"range">;
|
|
1347
|
+
minimum: z.ZodObject<{
|
|
1348
|
+
currency: z.ZodString;
|
|
1349
|
+
minor_units: z.ZodNumber;
|
|
1350
|
+
}, z.core.$strict>;
|
|
1351
|
+
maximum: z.ZodObject<{
|
|
1352
|
+
currency: z.ZodString;
|
|
1353
|
+
minor_units: z.ZodNumber;
|
|
1354
|
+
}, z.core.$strict>;
|
|
1355
|
+
}, z.core.$strict>], "kind">;
|
|
1356
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1357
|
+
kind: z.ZodLiteral<"percentage">;
|
|
1358
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1359
|
+
kind: z.ZodLiteral<"exact">;
|
|
1360
|
+
basis_points: z.ZodNumber;
|
|
1361
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1362
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1363
|
+
basis_points: z.ZodNumber;
|
|
1364
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1365
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1366
|
+
basis_points: z.ZodNumber;
|
|
1367
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1368
|
+
kind: z.ZodLiteral<"range">;
|
|
1369
|
+
minimum_basis_points: z.ZodNumber;
|
|
1370
|
+
maximum_basis_points: z.ZodNumber;
|
|
1371
|
+
}, z.core.$strict>], "kind">;
|
|
1372
|
+
}, z.core.$strict>], "kind">;
|
|
1373
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1374
|
+
kind: z.ZodLiteral<"exact">;
|
|
1375
|
+
value: z.ZodString;
|
|
1376
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1377
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1378
|
+
value: z.ZodString;
|
|
1379
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1380
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1381
|
+
value: z.ZodString;
|
|
1382
|
+
}, z.core.$strict>], "kind">>;
|
|
1383
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1384
|
+
kind: z.ZodLiteral<"free-service">;
|
|
1385
|
+
service: z.ZodOptional<z.ZodString>;
|
|
1386
|
+
duration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1387
|
+
kind: z.ZodLiteral<"exact">;
|
|
1388
|
+
value: z.ZodString;
|
|
1389
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1390
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1391
|
+
value: z.ZodString;
|
|
1392
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1393
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1394
|
+
value: z.ZodString;
|
|
1395
|
+
}, z.core.$strict>], "kind">;
|
|
1396
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1397
|
+
kind: z.ZodLiteral<"waiver">;
|
|
1398
|
+
waived_item: z.ZodString;
|
|
1399
|
+
}, z.core.$strict>], "kind">;
|
|
787
1400
|
}, z.core.$strict>>;
|
|
788
1401
|
}, z.core.$strict>>;
|
|
789
1402
|
}, z.core.$strict>;
|
|
@@ -963,9 +1576,9 @@ export declare const canonicalArtifactSchema: z.ZodObject<{
|
|
|
963
1576
|
revision_digest: z.ZodString;
|
|
964
1577
|
provenance: z.ZodObject<{
|
|
965
1578
|
freshness: z.ZodEnum<{
|
|
966
|
-
unknown: "unknown";
|
|
967
1579
|
fresh: "fresh";
|
|
968
1580
|
stale: "stale";
|
|
1581
|
+
unknown: "unknown";
|
|
969
1582
|
}>;
|
|
970
1583
|
dispute: z.ZodEnum<{
|
|
971
1584
|
none: "none";
|
|
@@ -980,22 +1593,22 @@ export declare const canonicalArtifactSchema: z.ZodObject<{
|
|
|
980
1593
|
supporting_event_ids: z.ZodArray<z.ZodString>;
|
|
981
1594
|
contradicting_event_ids: z.ZodArray<z.ZodString>;
|
|
982
1595
|
accepted_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
983
|
-
|
|
1596
|
+
attested: "attested";
|
|
984
1597
|
derived: "derived";
|
|
985
1598
|
editorial: "editorial";
|
|
986
|
-
|
|
1599
|
+
observed: "observed";
|
|
987
1600
|
}>>;
|
|
988
1601
|
evidence_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
989
|
-
|
|
1602
|
+
attested: "attested";
|
|
990
1603
|
derived: "derived";
|
|
991
1604
|
editorial: "editorial";
|
|
992
|
-
|
|
1605
|
+
observed: "observed";
|
|
993
1606
|
}>>;
|
|
994
1607
|
latest_observation_at: z.ZodOptional<z.ZodISODateTime>;
|
|
995
1608
|
freshness: z.ZodEnum<{
|
|
996
|
-
unknown: "unknown";
|
|
997
1609
|
fresh: "fresh";
|
|
998
1610
|
stale: "stale";
|
|
1611
|
+
unknown: "unknown";
|
|
999
1612
|
}>;
|
|
1000
1613
|
}, z.core.$strict>>;
|
|
1001
1614
|
vendor_attestation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1024,9 +1637,9 @@ export declare const canonicalArtifactSchema: z.ZodObject<{
|
|
|
1024
1637
|
revision_digest: z.ZodString;
|
|
1025
1638
|
provenance: z.ZodObject<{
|
|
1026
1639
|
freshness: z.ZodEnum<{
|
|
1027
|
-
unknown: "unknown";
|
|
1028
1640
|
fresh: "fresh";
|
|
1029
1641
|
stale: "stale";
|
|
1642
|
+
unknown: "unknown";
|
|
1030
1643
|
}>;
|
|
1031
1644
|
dispute: z.ZodEnum<{
|
|
1032
1645
|
none: "none";
|
|
@@ -1041,22 +1654,22 @@ export declare const canonicalArtifactSchema: z.ZodObject<{
|
|
|
1041
1654
|
supporting_event_ids: z.ZodArray<z.ZodString>;
|
|
1042
1655
|
contradicting_event_ids: z.ZodArray<z.ZodString>;
|
|
1043
1656
|
accepted_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
1044
|
-
|
|
1657
|
+
attested: "attested";
|
|
1045
1658
|
derived: "derived";
|
|
1046
1659
|
editorial: "editorial";
|
|
1047
|
-
|
|
1660
|
+
observed: "observed";
|
|
1048
1661
|
}>>;
|
|
1049
1662
|
evidence_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
1050
|
-
|
|
1663
|
+
attested: "attested";
|
|
1051
1664
|
derived: "derived";
|
|
1052
1665
|
editorial: "editorial";
|
|
1053
|
-
|
|
1666
|
+
observed: "observed";
|
|
1054
1667
|
}>>;
|
|
1055
1668
|
latest_observation_at: z.ZodOptional<z.ZodISODateTime>;
|
|
1056
1669
|
freshness: z.ZodEnum<{
|
|
1057
|
-
unknown: "unknown";
|
|
1058
1670
|
fresh: "fresh";
|
|
1059
1671
|
stale: "stale";
|
|
1672
|
+
unknown: "unknown";
|
|
1060
1673
|
}>;
|
|
1061
1674
|
}, z.core.$strict>>;
|
|
1062
1675
|
vendor_attestation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1092,6 +1705,8 @@ export declare const canonicalArtifactSchema: z.ZodObject<{
|
|
|
1092
1705
|
description: z.ZodString;
|
|
1093
1706
|
}, z.core.$strict>], "kind">;
|
|
1094
1707
|
benefits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1708
|
+
benefit_id: z.ZodString;
|
|
1709
|
+
description: z.ZodString;
|
|
1095
1710
|
kind: z.ZodLiteral<"credit">;
|
|
1096
1711
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1097
1712
|
kind: z.ZodLiteral<"exact">;
|
|
@@ -1132,9 +1747,9 @@ export declare const canonicalArtifactSchema: z.ZodObject<{
|
|
|
1132
1747
|
kind: z.ZodLiteral<"at-least">;
|
|
1133
1748
|
value: z.ZodString;
|
|
1134
1749
|
}, z.core.$strict>], "kind">>;
|
|
1750
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1135
1751
|
benefit_id: z.ZodString;
|
|
1136
1752
|
description: z.ZodString;
|
|
1137
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1138
1753
|
kind: z.ZodLiteral<"discount">;
|
|
1139
1754
|
percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1140
1755
|
kind: z.ZodLiteral<"exact">;
|
|
@@ -1161,9 +1776,9 @@ export declare const canonicalArtifactSchema: z.ZodObject<{
|
|
|
1161
1776
|
kind: z.ZodLiteral<"at-least">;
|
|
1162
1777
|
value: z.ZodString;
|
|
1163
1778
|
}, z.core.$strict>], "kind">>;
|
|
1779
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1164
1780
|
benefit_id: z.ZodString;
|
|
1165
1781
|
description: z.ZodString;
|
|
1166
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1167
1782
|
kind: z.ZodLiteral<"cashback">;
|
|
1168
1783
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1169
1784
|
kind: z.ZodLiteral<"money">;
|
|
@@ -1223,14 +1838,14 @@ export declare const canonicalArtifactSchema: z.ZodObject<{
|
|
|
1223
1838
|
kind: z.ZodLiteral<"at-least">;
|
|
1224
1839
|
value: z.ZodString;
|
|
1225
1840
|
}, z.core.$strict>], "kind">>;
|
|
1841
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1226
1842
|
benefit_id: z.ZodString;
|
|
1227
1843
|
description: z.ZodString;
|
|
1228
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1229
1844
|
kind: z.ZodLiteral<"waiver">;
|
|
1230
1845
|
waived_item: z.ZodString;
|
|
1846
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1231
1847
|
benefit_id: z.ZodString;
|
|
1232
1848
|
description: z.ZodString;
|
|
1233
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1234
1849
|
kind: z.ZodLiteral<"free-service">;
|
|
1235
1850
|
service: z.ZodString;
|
|
1236
1851
|
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1243,12 +1858,10 @@ export declare const canonicalArtifactSchema: z.ZodObject<{
|
|
|
1243
1858
|
kind: z.ZodLiteral<"at-least">;
|
|
1244
1859
|
value: z.ZodString;
|
|
1245
1860
|
}, z.core.$strict>], "kind">>;
|
|
1246
|
-
benefit_id: z.ZodString;
|
|
1247
|
-
description: z.ZodString;
|
|
1248
1861
|
}, z.core.$strict>, z.ZodObject<{
|
|
1249
|
-
kind: z.ZodLiteral<"other">;
|
|
1250
1862
|
benefit_id: z.ZodString;
|
|
1251
1863
|
description: z.ZodString;
|
|
1864
|
+
kind: z.ZodLiteral<"other">;
|
|
1252
1865
|
}, z.core.$strict>], "kind">>;
|
|
1253
1866
|
}, z.core.$strict>;
|
|
1254
1867
|
eligibility: z.ZodObject<{
|
|
@@ -1260,19 +1873,19 @@ export declare const canonicalArtifactSchema: z.ZodObject<{
|
|
|
1260
1873
|
}, z.core.$strict>;
|
|
1261
1874
|
access: z.ZodObject<{
|
|
1262
1875
|
availability: z.ZodEnum<{
|
|
1263
|
-
|
|
1876
|
+
automatic: "automatic";
|
|
1877
|
+
invite: "invite";
|
|
1878
|
+
membership: "membership";
|
|
1264
1879
|
other: "other";
|
|
1880
|
+
public: "public";
|
|
1265
1881
|
referral: "referral";
|
|
1266
|
-
membership: "membership";
|
|
1267
|
-
invite: "invite";
|
|
1268
|
-
automatic: "automatic";
|
|
1269
1882
|
}>;
|
|
1270
1883
|
method: z.ZodEnum<{
|
|
1271
|
-
code: "code";
|
|
1272
|
-
other: "other";
|
|
1273
1884
|
automatic: "automatic";
|
|
1274
|
-
|
|
1885
|
+
code: "code";
|
|
1275
1886
|
contact: "contact";
|
|
1887
|
+
form: "form";
|
|
1888
|
+
other: "other";
|
|
1276
1889
|
}>;
|
|
1277
1890
|
url: z.ZodOptional<z.ZodURL>;
|
|
1278
1891
|
public_code: z.ZodOptional<z.ZodString>;
|
|
@@ -1289,9 +1902,9 @@ export declare const canonicalArtifactSchema: z.ZodObject<{
|
|
|
1289
1902
|
revision_digest: z.ZodString;
|
|
1290
1903
|
provenance: z.ZodObject<{
|
|
1291
1904
|
freshness: z.ZodEnum<{
|
|
1292
|
-
unknown: "unknown";
|
|
1293
1905
|
fresh: "fresh";
|
|
1294
1906
|
stale: "stale";
|
|
1907
|
+
unknown: "unknown";
|
|
1295
1908
|
}>;
|
|
1296
1909
|
dispute: z.ZodEnum<{
|
|
1297
1910
|
none: "none";
|
|
@@ -1306,22 +1919,22 @@ export declare const canonicalArtifactSchema: z.ZodObject<{
|
|
|
1306
1919
|
supporting_event_ids: z.ZodArray<z.ZodString>;
|
|
1307
1920
|
contradicting_event_ids: z.ZodArray<z.ZodString>;
|
|
1308
1921
|
accepted_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
1309
|
-
|
|
1922
|
+
attested: "attested";
|
|
1310
1923
|
derived: "derived";
|
|
1311
1924
|
editorial: "editorial";
|
|
1312
|
-
|
|
1925
|
+
observed: "observed";
|
|
1313
1926
|
}>>;
|
|
1314
1927
|
evidence_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
1315
|
-
|
|
1928
|
+
attested: "attested";
|
|
1316
1929
|
derived: "derived";
|
|
1317
1930
|
editorial: "editorial";
|
|
1318
|
-
|
|
1931
|
+
observed: "observed";
|
|
1319
1932
|
}>>;
|
|
1320
1933
|
latest_observation_at: z.ZodOptional<z.ZodISODateTime>;
|
|
1321
1934
|
freshness: z.ZodEnum<{
|
|
1322
|
-
unknown: "unknown";
|
|
1323
1935
|
fresh: "fresh";
|
|
1324
1936
|
stale: "stale";
|
|
1937
|
+
unknown: "unknown";
|
|
1325
1938
|
}>;
|
|
1326
1939
|
}, z.core.$strict>>;
|
|
1327
1940
|
vendor_attestation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1342,6 +1955,159 @@ export declare const canonicalArtifactSchema: z.ZodObject<{
|
|
|
1342
1955
|
event_id: z.ZodString;
|
|
1343
1956
|
receipt_digest: z.ZodString;
|
|
1344
1957
|
}, z.core.$strict>>;
|
|
1958
|
+
headline: z.ZodOptional<z.ZodObject<{
|
|
1959
|
+
rule: z.ZodLiteral<"sourcey.offer-headline/v1">;
|
|
1960
|
+
benefit_id: z.ZodString;
|
|
1961
|
+
basis: z.ZodEnum<{
|
|
1962
|
+
described: "described";
|
|
1963
|
+
typed: "typed";
|
|
1964
|
+
}>;
|
|
1965
|
+
figure: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1966
|
+
kind: z.ZodLiteral<"credit">;
|
|
1967
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1968
|
+
kind: z.ZodLiteral<"exact">;
|
|
1969
|
+
amount: z.ZodObject<{
|
|
1970
|
+
currency: z.ZodString;
|
|
1971
|
+
minor_units: z.ZodNumber;
|
|
1972
|
+
}, z.core.$strict>;
|
|
1973
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1974
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1975
|
+
amount: z.ZodObject<{
|
|
1976
|
+
currency: z.ZodString;
|
|
1977
|
+
minor_units: z.ZodNumber;
|
|
1978
|
+
}, z.core.$strict>;
|
|
1979
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1980
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1981
|
+
amount: z.ZodObject<{
|
|
1982
|
+
currency: z.ZodString;
|
|
1983
|
+
minor_units: z.ZodNumber;
|
|
1984
|
+
}, z.core.$strict>;
|
|
1985
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1986
|
+
kind: z.ZodLiteral<"range">;
|
|
1987
|
+
minimum: z.ZodObject<{
|
|
1988
|
+
currency: z.ZodString;
|
|
1989
|
+
minor_units: z.ZodNumber;
|
|
1990
|
+
}, z.core.$strict>;
|
|
1991
|
+
maximum: z.ZodObject<{
|
|
1992
|
+
currency: z.ZodString;
|
|
1993
|
+
minor_units: z.ZodNumber;
|
|
1994
|
+
}, z.core.$strict>;
|
|
1995
|
+
}, z.core.$strict>], "kind">;
|
|
1996
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1997
|
+
kind: z.ZodLiteral<"exact">;
|
|
1998
|
+
value: z.ZodString;
|
|
1999
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2000
|
+
kind: z.ZodLiteral<"up-to">;
|
|
2001
|
+
value: z.ZodString;
|
|
2002
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2003
|
+
kind: z.ZodLiteral<"at-least">;
|
|
2004
|
+
value: z.ZodString;
|
|
2005
|
+
}, z.core.$strict>], "kind">>;
|
|
2006
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2007
|
+
kind: z.ZodLiteral<"discount">;
|
|
2008
|
+
percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2009
|
+
kind: z.ZodLiteral<"exact">;
|
|
2010
|
+
basis_points: z.ZodNumber;
|
|
2011
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2012
|
+
kind: z.ZodLiteral<"up-to">;
|
|
2013
|
+
basis_points: z.ZodNumber;
|
|
2014
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2015
|
+
kind: z.ZodLiteral<"at-least">;
|
|
2016
|
+
basis_points: z.ZodNumber;
|
|
2017
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2018
|
+
kind: z.ZodLiteral<"range">;
|
|
2019
|
+
minimum_basis_points: z.ZodNumber;
|
|
2020
|
+
maximum_basis_points: z.ZodNumber;
|
|
2021
|
+
}, z.core.$strict>], "kind">;
|
|
2022
|
+
applies_to: z.ZodOptional<z.ZodString>;
|
|
2023
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2024
|
+
kind: z.ZodLiteral<"exact">;
|
|
2025
|
+
value: z.ZodString;
|
|
2026
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2027
|
+
kind: z.ZodLiteral<"up-to">;
|
|
2028
|
+
value: z.ZodString;
|
|
2029
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2030
|
+
kind: z.ZodLiteral<"at-least">;
|
|
2031
|
+
value: z.ZodString;
|
|
2032
|
+
}, z.core.$strict>], "kind">>;
|
|
2033
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2034
|
+
kind: z.ZodLiteral<"cashback">;
|
|
2035
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2036
|
+
kind: z.ZodLiteral<"money">;
|
|
2037
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2038
|
+
kind: z.ZodLiteral<"exact">;
|
|
2039
|
+
amount: z.ZodObject<{
|
|
2040
|
+
currency: z.ZodString;
|
|
2041
|
+
minor_units: z.ZodNumber;
|
|
2042
|
+
}, z.core.$strict>;
|
|
2043
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2044
|
+
kind: z.ZodLiteral<"up-to">;
|
|
2045
|
+
amount: z.ZodObject<{
|
|
2046
|
+
currency: z.ZodString;
|
|
2047
|
+
minor_units: z.ZodNumber;
|
|
2048
|
+
}, z.core.$strict>;
|
|
2049
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2050
|
+
kind: z.ZodLiteral<"at-least">;
|
|
2051
|
+
amount: z.ZodObject<{
|
|
2052
|
+
currency: z.ZodString;
|
|
2053
|
+
minor_units: z.ZodNumber;
|
|
2054
|
+
}, z.core.$strict>;
|
|
2055
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2056
|
+
kind: z.ZodLiteral<"range">;
|
|
2057
|
+
minimum: z.ZodObject<{
|
|
2058
|
+
currency: z.ZodString;
|
|
2059
|
+
minor_units: z.ZodNumber;
|
|
2060
|
+
}, z.core.$strict>;
|
|
2061
|
+
maximum: z.ZodObject<{
|
|
2062
|
+
currency: z.ZodString;
|
|
2063
|
+
minor_units: z.ZodNumber;
|
|
2064
|
+
}, z.core.$strict>;
|
|
2065
|
+
}, z.core.$strict>], "kind">;
|
|
2066
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2067
|
+
kind: z.ZodLiteral<"percentage">;
|
|
2068
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2069
|
+
kind: z.ZodLiteral<"exact">;
|
|
2070
|
+
basis_points: z.ZodNumber;
|
|
2071
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2072
|
+
kind: z.ZodLiteral<"up-to">;
|
|
2073
|
+
basis_points: z.ZodNumber;
|
|
2074
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2075
|
+
kind: z.ZodLiteral<"at-least">;
|
|
2076
|
+
basis_points: z.ZodNumber;
|
|
2077
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2078
|
+
kind: z.ZodLiteral<"range">;
|
|
2079
|
+
minimum_basis_points: z.ZodNumber;
|
|
2080
|
+
maximum_basis_points: z.ZodNumber;
|
|
2081
|
+
}, z.core.$strict>], "kind">;
|
|
2082
|
+
}, z.core.$strict>], "kind">;
|
|
2083
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2084
|
+
kind: z.ZodLiteral<"exact">;
|
|
2085
|
+
value: z.ZodString;
|
|
2086
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2087
|
+
kind: z.ZodLiteral<"up-to">;
|
|
2088
|
+
value: z.ZodString;
|
|
2089
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2090
|
+
kind: z.ZodLiteral<"at-least">;
|
|
2091
|
+
value: z.ZodString;
|
|
2092
|
+
}, z.core.$strict>], "kind">>;
|
|
2093
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2094
|
+
kind: z.ZodLiteral<"free-service">;
|
|
2095
|
+
service: z.ZodOptional<z.ZodString>;
|
|
2096
|
+
duration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2097
|
+
kind: z.ZodLiteral<"exact">;
|
|
2098
|
+
value: z.ZodString;
|
|
2099
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2100
|
+
kind: z.ZodLiteral<"up-to">;
|
|
2101
|
+
value: z.ZodString;
|
|
2102
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2103
|
+
kind: z.ZodLiteral<"at-least">;
|
|
2104
|
+
value: z.ZodString;
|
|
2105
|
+
}, z.core.$strict>], "kind">;
|
|
2106
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2107
|
+
kind: z.ZodLiteral<"waiver">;
|
|
2108
|
+
waived_item: z.ZodString;
|
|
2109
|
+
}, z.core.$strict>], "kind">;
|
|
2110
|
+
}, z.core.$strict>>;
|
|
1345
2111
|
}, z.core.$strict>>;
|
|
1346
2112
|
}, z.core.$strict>>;
|
|
1347
2113
|
}, z.core.$strict>;
|
|
@@ -1351,12 +2117,12 @@ export declare const releaseChangeSchema: z.ZodObject<{
|
|
|
1351
2117
|
change_id: z.ZodString;
|
|
1352
2118
|
kind: z.ZodString;
|
|
1353
2119
|
subject_type: z.ZodEnum<{
|
|
1354
|
-
policy: "policy";
|
|
1355
|
-
entity: "entity";
|
|
1356
|
-
program: "program";
|
|
1357
|
-
offer: "offer";
|
|
1358
2120
|
agent_readiness_profile: "agent_readiness_profile";
|
|
1359
2121
|
asset_binding: "asset_binding";
|
|
2122
|
+
entity: "entity";
|
|
2123
|
+
offer: "offer";
|
|
2124
|
+
policy: "policy";
|
|
2125
|
+
program: "program";
|
|
1360
2126
|
}>;
|
|
1361
2127
|
subject_id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1362
2128
|
revision_digest: z.ZodOptional<z.ZodString>;
|
|
@@ -1367,45 +2133,12 @@ export declare const releaseChangeSchema: z.ZodObject<{
|
|
|
1367
2133
|
tombstone: z.ZodOptional<z.ZodObject<{
|
|
1368
2134
|
reason: z.ZodEnum<{
|
|
1369
2135
|
ended: "ended";
|
|
1370
|
-
withdrawn: "withdrawn";
|
|
1371
2136
|
retired: "retired";
|
|
2137
|
+
withdrawn: "withdrawn";
|
|
1372
2138
|
}>;
|
|
1373
2139
|
canonical_route: z.ZodOptional<z.ZodString>;
|
|
1374
2140
|
}, z.core.$strict>>;
|
|
1375
2141
|
}, z.core.$strict>;
|
|
1376
|
-
export declare const releaseDiffSchema: z.ZodObject<{
|
|
1377
|
-
diff_contract: z.ZodLiteral<"sourcey.release-diff/v1alpha1">;
|
|
1378
|
-
parent_snapshot_id: z.ZodNullable<z.ZodString>;
|
|
1379
|
-
snapshot_id: z.ZodString;
|
|
1380
|
-
changes: z.ZodArray<z.ZodObject<{
|
|
1381
|
-
change_id: z.ZodString;
|
|
1382
|
-
kind: z.ZodString;
|
|
1383
|
-
subject_type: z.ZodEnum<{
|
|
1384
|
-
policy: "policy";
|
|
1385
|
-
entity: "entity";
|
|
1386
|
-
program: "program";
|
|
1387
|
-
offer: "offer";
|
|
1388
|
-
agent_readiness_profile: "agent_readiness_profile";
|
|
1389
|
-
asset_binding: "asset_binding";
|
|
1390
|
-
}>;
|
|
1391
|
-
subject_id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1392
|
-
revision_digest: z.ZodOptional<z.ZodString>;
|
|
1393
|
-
previous_revision_digest: z.ZodOptional<z.ZodString>;
|
|
1394
|
-
projection_digest: z.ZodOptional<z.ZodString>;
|
|
1395
|
-
previous_projection_digest: z.ZodOptional<z.ZodString>;
|
|
1396
|
-
basis_event_ids: z.ZodArray<z.ZodString>;
|
|
1397
|
-
tombstone: z.ZodOptional<z.ZodObject<{
|
|
1398
|
-
reason: z.ZodEnum<{
|
|
1399
|
-
ended: "ended";
|
|
1400
|
-
withdrawn: "withdrawn";
|
|
1401
|
-
retired: "retired";
|
|
1402
|
-
}>;
|
|
1403
|
-
canonical_route: z.ZodOptional<z.ZodString>;
|
|
1404
|
-
}, z.core.$strict>>;
|
|
1405
|
-
}, z.core.$strict>>;
|
|
1406
|
-
}, z.core.$strict>;
|
|
1407
|
-
/** Canonical bytes committed by release_core.diff_digest. */
|
|
1408
|
-
export declare function encodeReleaseChanges(changes: readonly ReleaseChange[]): string;
|
|
1409
2142
|
export declare const provenanceEntrySchema: z.ZodObject<{
|
|
1410
2143
|
revision_digest: z.ZodString;
|
|
1411
2144
|
first_inclusion_sequence: z.ZodNumber;
|
|
@@ -1448,14 +2181,14 @@ export declare const provenanceIndexSchema: z.ZodObject<{
|
|
|
1448
2181
|
signer_registry_digest: z.ZodString;
|
|
1449
2182
|
first_inclusion_sequence: z.ZodNumber;
|
|
1450
2183
|
}, z.core.$strict>>;
|
|
1451
|
-
capture_receipts: z.
|
|
2184
|
+
capture_receipts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1452
2185
|
receipt_digest: z.ZodString;
|
|
1453
2186
|
receipt_object_digest: z.ZodString;
|
|
1454
2187
|
issuer_id: z.ZodString;
|
|
1455
2188
|
operation_id: z.ZodString;
|
|
1456
2189
|
signer_registry_digest: z.ZodString;
|
|
1457
2190
|
first_inclusion_sequence: z.ZodNumber;
|
|
1458
|
-
}, z.core.$strict
|
|
2191
|
+
}, z.core.$strict>>;
|
|
1459
2192
|
}, z.core.$strict>;
|
|
1460
2193
|
export declare const identityIndexSchema: z.ZodObject<{
|
|
1461
2194
|
identity_contract: z.ZodLiteral<"sourcey.identities/v1alpha1">;
|
|
@@ -1463,16 +2196,16 @@ export declare const identityIndexSchema: z.ZodObject<{
|
|
|
1463
2196
|
canonical_program_resolutions: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1464
2197
|
canonical_offer_resolutions: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1465
2198
|
canonical_agent_readiness_profile_resolutions: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1466
|
-
program_reparents: z.
|
|
1467
|
-
old_entity_id: z.
|
|
2199
|
+
program_reparents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2200
|
+
old_entity_id: z.ZodString;
|
|
1468
2201
|
new_entity_id: z.ZodString;
|
|
1469
2202
|
event_id: z.ZodString;
|
|
1470
|
-
}, z.core.$strict
|
|
1471
|
-
offer_reparents: z.
|
|
1472
|
-
old_entity_id: z.
|
|
2203
|
+
}, z.core.$strict>>;
|
|
2204
|
+
offer_reparents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2205
|
+
old_entity_id: z.ZodString;
|
|
1473
2206
|
new_entity_id: z.ZodString;
|
|
1474
2207
|
event_id: z.ZodString;
|
|
1475
|
-
}, z.core.$strict
|
|
2208
|
+
}, z.core.$strict>>;
|
|
1476
2209
|
agent_readiness_profile_reparents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1477
2210
|
old_entity_id: z.ZodString;
|
|
1478
2211
|
new_entity_id: z.ZodString;
|
|
@@ -1480,8 +2213,8 @@ export declare const identityIndexSchema: z.ZodObject<{
|
|
|
1480
2213
|
}, z.core.$strict>>;
|
|
1481
2214
|
asset_binding_dispositions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1482
2215
|
disposition: z.ZodEnum<{
|
|
1483
|
-
rebind: "rebind";
|
|
1484
2216
|
end: "end";
|
|
2217
|
+
rebind: "rebind";
|
|
1485
2218
|
}>;
|
|
1486
2219
|
event_id: z.ZodString;
|
|
1487
2220
|
replacement_binding_event_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1502,6 +2235,8 @@ export declare const searchIndexSchema: z.ZodObject<{
|
|
|
1502
2235
|
}, z.core.$strict>;
|
|
1503
2236
|
export type Provenance = z.infer<typeof provenanceSchema>;
|
|
1504
2237
|
export type CompiledOffer = z.infer<typeof compiledOfferSchema>;
|
|
2238
|
+
export type OfferHeadline = z.infer<typeof offerHeadlineSchema>;
|
|
2239
|
+
export type OfferHeadlineFigure = z.infer<typeof offerHeadlineFigureSchema>;
|
|
1505
2240
|
export type CompiledProgram = z.infer<typeof compiledProgramSchema>;
|
|
1506
2241
|
export type CompiledEntity = z.infer<typeof compiledEntitySchema>;
|
|
1507
2242
|
export type CompiledPolicy = z.infer<typeof compiledPolicySchema>;
|
|
@@ -1510,7 +2245,6 @@ export type PolicySection = z.infer<typeof policySectionSchema>;
|
|
|
1510
2245
|
export type CanonicalArtifact = z.infer<typeof canonicalArtifactSchema>;
|
|
1511
2246
|
export type CanonicalArtifactCore = z.infer<typeof canonicalArtifactCoreSchema>;
|
|
1512
2247
|
export type ReleaseChange = z.infer<typeof releaseChangeSchema>;
|
|
1513
|
-
export type ReleaseDiff = z.infer<typeof releaseDiffSchema>;
|
|
1514
2248
|
export type ProvenanceIndex = z.infer<typeof provenanceIndexSchema>;
|
|
1515
2249
|
export type IdentityIndex = z.infer<typeof identityIndexSchema>;
|
|
1516
2250
|
export type SearchIndex = z.infer<typeof searchIndexSchema>;
|