@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
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Canonical discriminants for the three core Catalog revision documents.
|
|
4
|
+
* Consumers import these values instead of reproducing wire-contract strings.
|
|
5
|
+
*/
|
|
6
|
+
export declare const catalogRevisionContracts: {
|
|
7
|
+
readonly entity: "sourcey.entity-revision/v1alpha1";
|
|
8
|
+
readonly program: "sourcey.program-revision/v1alpha1";
|
|
9
|
+
readonly offer: "sourcey.offer-revision/v1alpha1";
|
|
10
|
+
};
|
|
2
11
|
/**
|
|
3
12
|
* The compact public synopsis used by catalog listings, metadata, and page
|
|
4
13
|
* ledes. Longer explanatory copy belongs in the adjacent description field;
|
|
@@ -13,8 +22,8 @@ export declare const catalogAccessUrlSchema: z.ZodURL;
|
|
|
13
22
|
export declare const domainSchema: z.ZodObject<{
|
|
14
23
|
value: z.ZodString;
|
|
15
24
|
role: z.ZodEnum<{
|
|
16
|
-
primary: "primary";
|
|
17
25
|
alias: "alias";
|
|
26
|
+
primary: "primary";
|
|
18
27
|
}>;
|
|
19
28
|
valid_from: z.ZodISODateTime;
|
|
20
29
|
valid_until: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -92,7 +101,59 @@ export declare const durationValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
92
101
|
kind: z.ZodLiteral<"at-least">;
|
|
93
102
|
value: z.ZodString;
|
|
94
103
|
}, z.core.$strict>], "kind">;
|
|
104
|
+
/** A benefit's named scope: the plan a discount applies to, the item waived, the free service. */
|
|
105
|
+
export declare const benefitTextSchema: z.ZodString;
|
|
106
|
+
export declare const cashbackValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
107
|
+
kind: z.ZodLiteral<"money">;
|
|
108
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
109
|
+
kind: z.ZodLiteral<"exact">;
|
|
110
|
+
amount: z.ZodObject<{
|
|
111
|
+
currency: z.ZodString;
|
|
112
|
+
minor_units: z.ZodNumber;
|
|
113
|
+
}, z.core.$strict>;
|
|
114
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
115
|
+
kind: z.ZodLiteral<"up-to">;
|
|
116
|
+
amount: z.ZodObject<{
|
|
117
|
+
currency: z.ZodString;
|
|
118
|
+
minor_units: z.ZodNumber;
|
|
119
|
+
}, z.core.$strict>;
|
|
120
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
121
|
+
kind: z.ZodLiteral<"at-least">;
|
|
122
|
+
amount: z.ZodObject<{
|
|
123
|
+
currency: z.ZodString;
|
|
124
|
+
minor_units: z.ZodNumber;
|
|
125
|
+
}, z.core.$strict>;
|
|
126
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
127
|
+
kind: z.ZodLiteral<"range">;
|
|
128
|
+
minimum: z.ZodObject<{
|
|
129
|
+
currency: z.ZodString;
|
|
130
|
+
minor_units: z.ZodNumber;
|
|
131
|
+
}, z.core.$strict>;
|
|
132
|
+
maximum: z.ZodObject<{
|
|
133
|
+
currency: z.ZodString;
|
|
134
|
+
minor_units: z.ZodNumber;
|
|
135
|
+
}, z.core.$strict>;
|
|
136
|
+
}, z.core.$strict>], "kind">;
|
|
137
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
138
|
+
kind: z.ZodLiteral<"percentage">;
|
|
139
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
140
|
+
kind: z.ZodLiteral<"exact">;
|
|
141
|
+
basis_points: z.ZodNumber;
|
|
142
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
143
|
+
kind: z.ZodLiteral<"up-to">;
|
|
144
|
+
basis_points: z.ZodNumber;
|
|
145
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
146
|
+
kind: z.ZodLiteral<"at-least">;
|
|
147
|
+
basis_points: z.ZodNumber;
|
|
148
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
149
|
+
kind: z.ZodLiteral<"range">;
|
|
150
|
+
minimum_basis_points: z.ZodNumber;
|
|
151
|
+
maximum_basis_points: z.ZodNumber;
|
|
152
|
+
}, z.core.$strict>], "kind">;
|
|
153
|
+
}, z.core.$strict>], "kind">;
|
|
95
154
|
export declare const benefitSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
155
|
+
benefit_id: z.ZodString;
|
|
156
|
+
description: z.ZodString;
|
|
96
157
|
kind: z.ZodLiteral<"credit">;
|
|
97
158
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
98
159
|
kind: z.ZodLiteral<"exact">;
|
|
@@ -133,9 +194,9 @@ export declare const benefitSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
133
194
|
kind: z.ZodLiteral<"at-least">;
|
|
134
195
|
value: z.ZodString;
|
|
135
196
|
}, z.core.$strict>], "kind">>;
|
|
197
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
136
198
|
benefit_id: z.ZodString;
|
|
137
199
|
description: z.ZodString;
|
|
138
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
139
200
|
kind: z.ZodLiteral<"discount">;
|
|
140
201
|
percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
141
202
|
kind: z.ZodLiteral<"exact">;
|
|
@@ -162,9 +223,9 @@ export declare const benefitSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
162
223
|
kind: z.ZodLiteral<"at-least">;
|
|
163
224
|
value: z.ZodString;
|
|
164
225
|
}, z.core.$strict>], "kind">>;
|
|
226
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
165
227
|
benefit_id: z.ZodString;
|
|
166
228
|
description: z.ZodString;
|
|
167
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
168
229
|
kind: z.ZodLiteral<"cashback">;
|
|
169
230
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
170
231
|
kind: z.ZodLiteral<"money">;
|
|
@@ -224,14 +285,14 @@ export declare const benefitSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
224
285
|
kind: z.ZodLiteral<"at-least">;
|
|
225
286
|
value: z.ZodString;
|
|
226
287
|
}, z.core.$strict>], "kind">>;
|
|
288
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
227
289
|
benefit_id: z.ZodString;
|
|
228
290
|
description: z.ZodString;
|
|
229
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
230
291
|
kind: z.ZodLiteral<"waiver">;
|
|
231
292
|
waived_item: z.ZodString;
|
|
293
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
232
294
|
benefit_id: z.ZodString;
|
|
233
295
|
description: z.ZodString;
|
|
234
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
235
296
|
kind: z.ZodLiteral<"free-service">;
|
|
236
297
|
service: z.ZodString;
|
|
237
298
|
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -244,12 +305,10 @@ export declare const benefitSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
244
305
|
kind: z.ZodLiteral<"at-least">;
|
|
245
306
|
value: z.ZodString;
|
|
246
307
|
}, z.core.$strict>], "kind">>;
|
|
247
|
-
benefit_id: z.ZodString;
|
|
248
|
-
description: z.ZodString;
|
|
249
308
|
}, z.core.$strict>, z.ZodObject<{
|
|
250
|
-
kind: z.ZodLiteral<"other">;
|
|
251
309
|
benefit_id: z.ZodString;
|
|
252
310
|
description: z.ZodString;
|
|
311
|
+
kind: z.ZodLiteral<"other">;
|
|
253
312
|
}, z.core.$strict>], "kind">;
|
|
254
313
|
export declare const considerationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
255
314
|
kind: z.ZodLiteral<"none">;
|
|
@@ -283,6 +342,8 @@ export declare const economicsSchema: z.ZodObject<{
|
|
|
283
342
|
description: z.ZodString;
|
|
284
343
|
}, z.core.$strict>], "kind">;
|
|
285
344
|
benefits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
345
|
+
benefit_id: z.ZodString;
|
|
346
|
+
description: z.ZodString;
|
|
286
347
|
kind: z.ZodLiteral<"credit">;
|
|
287
348
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
288
349
|
kind: z.ZodLiteral<"exact">;
|
|
@@ -323,9 +384,9 @@ export declare const economicsSchema: z.ZodObject<{
|
|
|
323
384
|
kind: z.ZodLiteral<"at-least">;
|
|
324
385
|
value: z.ZodString;
|
|
325
386
|
}, z.core.$strict>], "kind">>;
|
|
387
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
326
388
|
benefit_id: z.ZodString;
|
|
327
389
|
description: z.ZodString;
|
|
328
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
329
390
|
kind: z.ZodLiteral<"discount">;
|
|
330
391
|
percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
331
392
|
kind: z.ZodLiteral<"exact">;
|
|
@@ -352,9 +413,9 @@ export declare const economicsSchema: z.ZodObject<{
|
|
|
352
413
|
kind: z.ZodLiteral<"at-least">;
|
|
353
414
|
value: z.ZodString;
|
|
354
415
|
}, z.core.$strict>], "kind">>;
|
|
416
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
355
417
|
benefit_id: z.ZodString;
|
|
356
418
|
description: z.ZodString;
|
|
357
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
358
419
|
kind: z.ZodLiteral<"cashback">;
|
|
359
420
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
360
421
|
kind: z.ZodLiteral<"money">;
|
|
@@ -414,14 +475,14 @@ export declare const economicsSchema: z.ZodObject<{
|
|
|
414
475
|
kind: z.ZodLiteral<"at-least">;
|
|
415
476
|
value: z.ZodString;
|
|
416
477
|
}, z.core.$strict>], "kind">>;
|
|
478
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
417
479
|
benefit_id: z.ZodString;
|
|
418
480
|
description: z.ZodString;
|
|
419
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
420
481
|
kind: z.ZodLiteral<"waiver">;
|
|
421
482
|
waived_item: z.ZodString;
|
|
483
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
422
484
|
benefit_id: z.ZodString;
|
|
423
485
|
description: z.ZodString;
|
|
424
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
425
486
|
kind: z.ZodLiteral<"free-service">;
|
|
426
487
|
service: z.ZodString;
|
|
427
488
|
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -434,12 +495,10 @@ export declare const economicsSchema: z.ZodObject<{
|
|
|
434
495
|
kind: z.ZodLiteral<"at-least">;
|
|
435
496
|
value: z.ZodString;
|
|
436
497
|
}, z.core.$strict>], "kind">>;
|
|
437
|
-
benefit_id: z.ZodString;
|
|
438
|
-
description: z.ZodString;
|
|
439
498
|
}, z.core.$strict>, z.ZodObject<{
|
|
440
|
-
kind: z.ZodLiteral<"other">;
|
|
441
499
|
benefit_id: z.ZodString;
|
|
442
500
|
description: z.ZodString;
|
|
501
|
+
kind: z.ZodLiteral<"other">;
|
|
443
502
|
}, z.core.$strict>], "kind">>;
|
|
444
503
|
}, z.core.$strict>;
|
|
445
504
|
export declare const eligibilityFactValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -484,21 +543,77 @@ export declare const eligibilityFactsSchema: z.ZodRecord<z.ZodString, z.ZodDiscr
|
|
|
484
543
|
type: z.ZodLiteral<"number-set">;
|
|
485
544
|
values: z.ZodArray<z.ZodNumber>;
|
|
486
545
|
}, z.core.$strict>], "type">>;
|
|
487
|
-
|
|
546
|
+
/** A fact, an operator and its value: what evidence extraction reports for a page threshold. */
|
|
547
|
+
export declare const eligibilityConditionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
488
548
|
fact: z.ZodString;
|
|
489
549
|
operator: z.ZodEnum<{
|
|
490
550
|
absent: "absent";
|
|
491
551
|
present: "present";
|
|
492
552
|
}>;
|
|
553
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
554
|
+
fact: z.ZodString;
|
|
555
|
+
operator: z.ZodEnum<{
|
|
556
|
+
contains: "contains";
|
|
557
|
+
eq: "eq";
|
|
558
|
+
neq: "neq";
|
|
559
|
+
}>;
|
|
560
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
561
|
+
type: z.ZodLiteral<"string">;
|
|
562
|
+
value: z.ZodString;
|
|
563
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
564
|
+
type: z.ZodLiteral<"number">;
|
|
565
|
+
value: z.ZodNumber;
|
|
566
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
567
|
+
type: z.ZodLiteral<"boolean">;
|
|
568
|
+
value: z.ZodBoolean;
|
|
569
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
570
|
+
type: z.ZodLiteral<"date">;
|
|
571
|
+
value: z.ZodISODate;
|
|
572
|
+
}, z.core.$strict>], "type">;
|
|
573
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
574
|
+
fact: z.ZodString;
|
|
575
|
+
operator: z.ZodLiteral<"in">;
|
|
576
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
577
|
+
type: z.ZodLiteral<"string-set">;
|
|
578
|
+
values: z.ZodArray<z.ZodString>;
|
|
579
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
580
|
+
type: z.ZodLiteral<"number-set">;
|
|
581
|
+
values: z.ZodArray<z.ZodNumber>;
|
|
582
|
+
}, z.core.$strict>], "type">;
|
|
583
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
584
|
+
fact: z.ZodString;
|
|
585
|
+
operator: z.ZodEnum<{
|
|
586
|
+
gt: "gt";
|
|
587
|
+
gte: "gte";
|
|
588
|
+
lt: "lt";
|
|
589
|
+
lte: "lte";
|
|
590
|
+
}>;
|
|
591
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
592
|
+
type: z.ZodLiteral<"number">;
|
|
593
|
+
value: z.ZodNumber;
|
|
594
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
595
|
+
type: z.ZodLiteral<"date">;
|
|
596
|
+
value: z.ZodISODate;
|
|
597
|
+
}, z.core.$strict>], "type">;
|
|
598
|
+
}, z.core.$strict>]>;
|
|
599
|
+
/** One typed eligibility condition, with its criterion identity and statement. */
|
|
600
|
+
export declare const eligibilityPredicateSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
493
601
|
criterion_id: z.ZodString;
|
|
494
602
|
statement: z.ZodString;
|
|
603
|
+
fact: z.ZodString;
|
|
604
|
+
operator: z.ZodEnum<{
|
|
605
|
+
absent: "absent";
|
|
606
|
+
present: "present";
|
|
607
|
+
}>;
|
|
495
608
|
kind: z.ZodLiteral<"predicate">;
|
|
496
609
|
}, z.core.$strict>, z.ZodObject<{
|
|
610
|
+
criterion_id: z.ZodString;
|
|
611
|
+
statement: z.ZodString;
|
|
497
612
|
fact: z.ZodString;
|
|
498
613
|
operator: z.ZodEnum<{
|
|
614
|
+
contains: "contains";
|
|
499
615
|
eq: "eq";
|
|
500
616
|
neq: "neq";
|
|
501
|
-
contains: "contains";
|
|
502
617
|
}>;
|
|
503
618
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
504
619
|
type: z.ZodLiteral<"string">;
|
|
@@ -513,10 +628,10 @@ declare const eligibilityPredicateSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
513
628
|
type: z.ZodLiteral<"date">;
|
|
514
629
|
value: z.ZodISODate;
|
|
515
630
|
}, z.core.$strict>], "type">;
|
|
516
|
-
criterion_id: z.ZodString;
|
|
517
|
-
statement: z.ZodString;
|
|
518
631
|
kind: z.ZodLiteral<"predicate">;
|
|
519
632
|
}, z.core.$strict>, z.ZodObject<{
|
|
633
|
+
criterion_id: z.ZodString;
|
|
634
|
+
statement: z.ZodString;
|
|
520
635
|
fact: z.ZodString;
|
|
521
636
|
operator: z.ZodLiteral<"in">;
|
|
522
637
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -526,16 +641,16 @@ declare const eligibilityPredicateSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
526
641
|
type: z.ZodLiteral<"number-set">;
|
|
527
642
|
values: z.ZodArray<z.ZodNumber>;
|
|
528
643
|
}, z.core.$strict>], "type">;
|
|
529
|
-
criterion_id: z.ZodString;
|
|
530
|
-
statement: z.ZodString;
|
|
531
644
|
kind: z.ZodLiteral<"predicate">;
|
|
532
645
|
}, z.core.$strict>, z.ZodObject<{
|
|
646
|
+
criterion_id: z.ZodString;
|
|
647
|
+
statement: z.ZodString;
|
|
533
648
|
fact: z.ZodString;
|
|
534
649
|
operator: z.ZodEnum<{
|
|
535
|
-
lt: "lt";
|
|
536
|
-
lte: "lte";
|
|
537
650
|
gt: "gt";
|
|
538
651
|
gte: "gte";
|
|
652
|
+
lt: "lt";
|
|
653
|
+
lte: "lte";
|
|
539
654
|
}>;
|
|
540
655
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
541
656
|
type: z.ZodLiteral<"number">;
|
|
@@ -544,26 +659,24 @@ declare const eligibilityPredicateSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
544
659
|
type: z.ZodLiteral<"date">;
|
|
545
660
|
value: z.ZodISODate;
|
|
546
661
|
}, z.core.$strict>], "type">;
|
|
547
|
-
criterion_id: z.ZodString;
|
|
548
|
-
statement: z.ZodString;
|
|
549
662
|
kind: z.ZodLiteral<"predicate">;
|
|
550
663
|
}, z.core.$strict>]>;
|
|
551
|
-
declare const eligibilityManualSchema: z.ZodObject<{
|
|
664
|
+
export declare const eligibilityManualSchema: z.ZodObject<{
|
|
665
|
+
criterion_id: z.ZodString;
|
|
666
|
+
statement: z.ZodString;
|
|
667
|
+
kind: z.ZodLiteral<"manual">;
|
|
552
668
|
reason: z.ZodEnum<{
|
|
553
|
-
other: "other";
|
|
554
|
-
"vendor-discretion": "vendor-discretion";
|
|
555
669
|
"external-verification": "external-verification";
|
|
556
670
|
"not-machine-evaluable": "not-machine-evaluable";
|
|
671
|
+
other: "other";
|
|
672
|
+
"vendor-discretion": "vendor-discretion";
|
|
557
673
|
}>;
|
|
558
|
-
criterion_id: z.ZodString;
|
|
559
|
-
statement: z.ZodString;
|
|
560
|
-
kind: z.ZodLiteral<"manual">;
|
|
561
674
|
}, z.core.$strict>;
|
|
562
|
-
declare const eligibilityConstantSchema: z.ZodObject<{
|
|
563
|
-
value: z.ZodBoolean;
|
|
675
|
+
export declare const eligibilityConstantSchema: z.ZodObject<{
|
|
564
676
|
criterion_id: z.ZodString;
|
|
565
677
|
statement: z.ZodString;
|
|
566
678
|
kind: z.ZodLiteral<"constant">;
|
|
679
|
+
value: z.ZodBoolean;
|
|
567
680
|
}, z.core.$strict>;
|
|
568
681
|
export type EligibilityFactValue = z.infer<typeof eligibilityFactValueSchema>;
|
|
569
682
|
export type EligibilityRule = z.infer<typeof eligibilityPredicateSchema> | z.infer<typeof eligibilityManualSchema> | z.infer<typeof eligibilityConstantSchema> | {
|
|
@@ -581,8 +694,8 @@ export declare const eligibilitySchema: z.ZodObject<{
|
|
|
581
694
|
rule: z.ZodType<EligibilityRule, unknown, z.core.$ZodTypeInternals<EligibilityRule, unknown>>;
|
|
582
695
|
}, z.core.$strict>;
|
|
583
696
|
export declare const eligibilityOutcomeSchema: z.ZodEnum<{
|
|
584
|
-
unknown: "unknown";
|
|
585
697
|
met: "met";
|
|
698
|
+
unknown: "unknown";
|
|
586
699
|
unmet: "unmet";
|
|
587
700
|
}>;
|
|
588
701
|
export type EligibilityOutcome = z.infer<typeof eligibilityOutcomeSchema>;
|
|
@@ -611,19 +724,19 @@ export declare const offerRolesSchema: z.ZodObject<{
|
|
|
611
724
|
}, z.core.$strict>;
|
|
612
725
|
export declare const accessSchema: z.ZodObject<{
|
|
613
726
|
availability: z.ZodEnum<{
|
|
614
|
-
|
|
727
|
+
automatic: "automatic";
|
|
728
|
+
invite: "invite";
|
|
729
|
+
membership: "membership";
|
|
615
730
|
other: "other";
|
|
731
|
+
public: "public";
|
|
616
732
|
referral: "referral";
|
|
617
|
-
membership: "membership";
|
|
618
|
-
invite: "invite";
|
|
619
|
-
automatic: "automatic";
|
|
620
733
|
}>;
|
|
621
734
|
method: z.ZodEnum<{
|
|
622
|
-
code: "code";
|
|
623
|
-
other: "other";
|
|
624
735
|
automatic: "automatic";
|
|
625
|
-
|
|
736
|
+
code: "code";
|
|
626
737
|
contact: "contact";
|
|
738
|
+
form: "form";
|
|
739
|
+
other: "other";
|
|
627
740
|
}>;
|
|
628
741
|
url: z.ZodOptional<z.ZodURL>;
|
|
629
742
|
public_code: z.ZodOptional<z.ZodString>;
|
|
@@ -645,8 +758,8 @@ export declare const entityRevisionContentSchema: z.ZodObject<{
|
|
|
645
758
|
domains: z.ZodArray<z.ZodObject<{
|
|
646
759
|
value: z.ZodString;
|
|
647
760
|
role: z.ZodEnum<{
|
|
648
|
-
primary: "primary";
|
|
649
761
|
alias: "alias";
|
|
762
|
+
primary: "primary";
|
|
650
763
|
}>;
|
|
651
764
|
valid_from: z.ZodISODateTime;
|
|
652
765
|
valid_until: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -667,8 +780,8 @@ export declare const entityRevisionCoreSchema: z.ZodObject<{
|
|
|
667
780
|
domains: z.ZodArray<z.ZodObject<{
|
|
668
781
|
value: z.ZodString;
|
|
669
782
|
role: z.ZodEnum<{
|
|
670
|
-
primary: "primary";
|
|
671
783
|
alias: "alias";
|
|
784
|
+
primary: "primary";
|
|
672
785
|
}>;
|
|
673
786
|
valid_from: z.ZodISODateTime;
|
|
674
787
|
valid_until: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -690,8 +803,8 @@ export declare const entityRevisionSchema: z.ZodObject<{
|
|
|
690
803
|
domains: z.ZodArray<z.ZodObject<{
|
|
691
804
|
value: z.ZodString;
|
|
692
805
|
role: z.ZodEnum<{
|
|
693
|
-
primary: "primary";
|
|
694
806
|
alias: "alias";
|
|
807
|
+
primary: "primary";
|
|
695
808
|
}>;
|
|
696
809
|
valid_from: z.ZodISODateTime;
|
|
697
810
|
valid_until: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -762,6 +875,8 @@ export declare const offerRevisionContentSchema: z.ZodObject<{
|
|
|
762
875
|
description: z.ZodString;
|
|
763
876
|
}, z.core.$strict>], "kind">;
|
|
764
877
|
benefits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
878
|
+
benefit_id: z.ZodString;
|
|
879
|
+
description: z.ZodString;
|
|
765
880
|
kind: z.ZodLiteral<"credit">;
|
|
766
881
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
767
882
|
kind: z.ZodLiteral<"exact">;
|
|
@@ -802,9 +917,9 @@ export declare const offerRevisionContentSchema: z.ZodObject<{
|
|
|
802
917
|
kind: z.ZodLiteral<"at-least">;
|
|
803
918
|
value: z.ZodString;
|
|
804
919
|
}, z.core.$strict>], "kind">>;
|
|
920
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
805
921
|
benefit_id: z.ZodString;
|
|
806
922
|
description: z.ZodString;
|
|
807
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
808
923
|
kind: z.ZodLiteral<"discount">;
|
|
809
924
|
percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
810
925
|
kind: z.ZodLiteral<"exact">;
|
|
@@ -831,9 +946,9 @@ export declare const offerRevisionContentSchema: z.ZodObject<{
|
|
|
831
946
|
kind: z.ZodLiteral<"at-least">;
|
|
832
947
|
value: z.ZodString;
|
|
833
948
|
}, z.core.$strict>], "kind">>;
|
|
949
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
834
950
|
benefit_id: z.ZodString;
|
|
835
951
|
description: z.ZodString;
|
|
836
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
837
952
|
kind: z.ZodLiteral<"cashback">;
|
|
838
953
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
839
954
|
kind: z.ZodLiteral<"money">;
|
|
@@ -893,14 +1008,14 @@ export declare const offerRevisionContentSchema: z.ZodObject<{
|
|
|
893
1008
|
kind: z.ZodLiteral<"at-least">;
|
|
894
1009
|
value: z.ZodString;
|
|
895
1010
|
}, z.core.$strict>], "kind">>;
|
|
1011
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
896
1012
|
benefit_id: z.ZodString;
|
|
897
1013
|
description: z.ZodString;
|
|
898
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
899
1014
|
kind: z.ZodLiteral<"waiver">;
|
|
900
1015
|
waived_item: z.ZodString;
|
|
1016
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
901
1017
|
benefit_id: z.ZodString;
|
|
902
1018
|
description: z.ZodString;
|
|
903
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
904
1019
|
kind: z.ZodLiteral<"free-service">;
|
|
905
1020
|
service: z.ZodString;
|
|
906
1021
|
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -913,12 +1028,10 @@ export declare const offerRevisionContentSchema: z.ZodObject<{
|
|
|
913
1028
|
kind: z.ZodLiteral<"at-least">;
|
|
914
1029
|
value: z.ZodString;
|
|
915
1030
|
}, z.core.$strict>], "kind">>;
|
|
916
|
-
benefit_id: z.ZodString;
|
|
917
|
-
description: z.ZodString;
|
|
918
1031
|
}, z.core.$strict>, z.ZodObject<{
|
|
919
|
-
kind: z.ZodLiteral<"other">;
|
|
920
1032
|
benefit_id: z.ZodString;
|
|
921
1033
|
description: z.ZodString;
|
|
1034
|
+
kind: z.ZodLiteral<"other">;
|
|
922
1035
|
}, z.core.$strict>], "kind">>;
|
|
923
1036
|
}, z.core.$strict>;
|
|
924
1037
|
eligibility: z.ZodObject<{
|
|
@@ -930,19 +1043,19 @@ export declare const offerRevisionContentSchema: z.ZodObject<{
|
|
|
930
1043
|
}, z.core.$strict>;
|
|
931
1044
|
access: z.ZodObject<{
|
|
932
1045
|
availability: z.ZodEnum<{
|
|
933
|
-
|
|
1046
|
+
automatic: "automatic";
|
|
1047
|
+
invite: "invite";
|
|
1048
|
+
membership: "membership";
|
|
934
1049
|
other: "other";
|
|
1050
|
+
public: "public";
|
|
935
1051
|
referral: "referral";
|
|
936
|
-
membership: "membership";
|
|
937
|
-
invite: "invite";
|
|
938
|
-
automatic: "automatic";
|
|
939
1052
|
}>;
|
|
940
1053
|
method: z.ZodEnum<{
|
|
941
|
-
code: "code";
|
|
942
|
-
other: "other";
|
|
943
1054
|
automatic: "automatic";
|
|
944
|
-
|
|
1055
|
+
code: "code";
|
|
945
1056
|
contact: "contact";
|
|
1057
|
+
form: "form";
|
|
1058
|
+
other: "other";
|
|
946
1059
|
}>;
|
|
947
1060
|
url: z.ZodOptional<z.ZodURL>;
|
|
948
1061
|
public_code: z.ZodOptional<z.ZodString>;
|
|
@@ -985,6 +1098,8 @@ export declare const offerRevisionCoreSchema: z.ZodObject<{
|
|
|
985
1098
|
description: z.ZodString;
|
|
986
1099
|
}, z.core.$strict>], "kind">;
|
|
987
1100
|
benefits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1101
|
+
benefit_id: z.ZodString;
|
|
1102
|
+
description: z.ZodString;
|
|
988
1103
|
kind: z.ZodLiteral<"credit">;
|
|
989
1104
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
990
1105
|
kind: z.ZodLiteral<"exact">;
|
|
@@ -1025,9 +1140,9 @@ export declare const offerRevisionCoreSchema: z.ZodObject<{
|
|
|
1025
1140
|
kind: z.ZodLiteral<"at-least">;
|
|
1026
1141
|
value: z.ZodString;
|
|
1027
1142
|
}, z.core.$strict>], "kind">>;
|
|
1143
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1028
1144
|
benefit_id: z.ZodString;
|
|
1029
1145
|
description: z.ZodString;
|
|
1030
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1031
1146
|
kind: z.ZodLiteral<"discount">;
|
|
1032
1147
|
percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1033
1148
|
kind: z.ZodLiteral<"exact">;
|
|
@@ -1054,9 +1169,9 @@ export declare const offerRevisionCoreSchema: z.ZodObject<{
|
|
|
1054
1169
|
kind: z.ZodLiteral<"at-least">;
|
|
1055
1170
|
value: z.ZodString;
|
|
1056
1171
|
}, z.core.$strict>], "kind">>;
|
|
1172
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1057
1173
|
benefit_id: z.ZodString;
|
|
1058
1174
|
description: z.ZodString;
|
|
1059
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1060
1175
|
kind: z.ZodLiteral<"cashback">;
|
|
1061
1176
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1062
1177
|
kind: z.ZodLiteral<"money">;
|
|
@@ -1116,14 +1231,14 @@ export declare const offerRevisionCoreSchema: z.ZodObject<{
|
|
|
1116
1231
|
kind: z.ZodLiteral<"at-least">;
|
|
1117
1232
|
value: z.ZodString;
|
|
1118
1233
|
}, z.core.$strict>], "kind">>;
|
|
1234
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1119
1235
|
benefit_id: z.ZodString;
|
|
1120
1236
|
description: z.ZodString;
|
|
1121
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1122
1237
|
kind: z.ZodLiteral<"waiver">;
|
|
1123
1238
|
waived_item: z.ZodString;
|
|
1239
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1124
1240
|
benefit_id: z.ZodString;
|
|
1125
1241
|
description: z.ZodString;
|
|
1126
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1127
1242
|
kind: z.ZodLiteral<"free-service">;
|
|
1128
1243
|
service: z.ZodString;
|
|
1129
1244
|
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1136,12 +1251,10 @@ export declare const offerRevisionCoreSchema: z.ZodObject<{
|
|
|
1136
1251
|
kind: z.ZodLiteral<"at-least">;
|
|
1137
1252
|
value: z.ZodString;
|
|
1138
1253
|
}, z.core.$strict>], "kind">>;
|
|
1139
|
-
benefit_id: z.ZodString;
|
|
1140
|
-
description: z.ZodString;
|
|
1141
1254
|
}, z.core.$strict>, z.ZodObject<{
|
|
1142
|
-
kind: z.ZodLiteral<"other">;
|
|
1143
1255
|
benefit_id: z.ZodString;
|
|
1144
1256
|
description: z.ZodString;
|
|
1257
|
+
kind: z.ZodLiteral<"other">;
|
|
1145
1258
|
}, z.core.$strict>], "kind">>;
|
|
1146
1259
|
}, z.core.$strict>;
|
|
1147
1260
|
eligibility: z.ZodObject<{
|
|
@@ -1153,19 +1266,19 @@ export declare const offerRevisionCoreSchema: z.ZodObject<{
|
|
|
1153
1266
|
}, z.core.$strict>;
|
|
1154
1267
|
access: z.ZodObject<{
|
|
1155
1268
|
availability: z.ZodEnum<{
|
|
1156
|
-
|
|
1269
|
+
automatic: "automatic";
|
|
1270
|
+
invite: "invite";
|
|
1271
|
+
membership: "membership";
|
|
1157
1272
|
other: "other";
|
|
1273
|
+
public: "public";
|
|
1158
1274
|
referral: "referral";
|
|
1159
|
-
membership: "membership";
|
|
1160
|
-
invite: "invite";
|
|
1161
|
-
automatic: "automatic";
|
|
1162
1275
|
}>;
|
|
1163
1276
|
method: z.ZodEnum<{
|
|
1164
|
-
code: "code";
|
|
1165
|
-
other: "other";
|
|
1166
1277
|
automatic: "automatic";
|
|
1167
|
-
|
|
1278
|
+
code: "code";
|
|
1168
1279
|
contact: "contact";
|
|
1280
|
+
form: "form";
|
|
1281
|
+
other: "other";
|
|
1169
1282
|
}>;
|
|
1170
1283
|
url: z.ZodOptional<z.ZodURL>;
|
|
1171
1284
|
public_code: z.ZodOptional<z.ZodString>;
|
|
@@ -1209,6 +1322,8 @@ export declare const offerRevisionSchema: z.ZodObject<{
|
|
|
1209
1322
|
description: z.ZodString;
|
|
1210
1323
|
}, z.core.$strict>], "kind">;
|
|
1211
1324
|
benefits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1325
|
+
benefit_id: z.ZodString;
|
|
1326
|
+
description: z.ZodString;
|
|
1212
1327
|
kind: z.ZodLiteral<"credit">;
|
|
1213
1328
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1214
1329
|
kind: z.ZodLiteral<"exact">;
|
|
@@ -1249,9 +1364,9 @@ export declare const offerRevisionSchema: z.ZodObject<{
|
|
|
1249
1364
|
kind: z.ZodLiteral<"at-least">;
|
|
1250
1365
|
value: z.ZodString;
|
|
1251
1366
|
}, z.core.$strict>], "kind">>;
|
|
1367
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1252
1368
|
benefit_id: z.ZodString;
|
|
1253
1369
|
description: z.ZodString;
|
|
1254
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1255
1370
|
kind: z.ZodLiteral<"discount">;
|
|
1256
1371
|
percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1257
1372
|
kind: z.ZodLiteral<"exact">;
|
|
@@ -1278,9 +1393,9 @@ export declare const offerRevisionSchema: z.ZodObject<{
|
|
|
1278
1393
|
kind: z.ZodLiteral<"at-least">;
|
|
1279
1394
|
value: z.ZodString;
|
|
1280
1395
|
}, z.core.$strict>], "kind">>;
|
|
1396
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1281
1397
|
benefit_id: z.ZodString;
|
|
1282
1398
|
description: z.ZodString;
|
|
1283
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1284
1399
|
kind: z.ZodLiteral<"cashback">;
|
|
1285
1400
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1286
1401
|
kind: z.ZodLiteral<"money">;
|
|
@@ -1340,14 +1455,14 @@ export declare const offerRevisionSchema: z.ZodObject<{
|
|
|
1340
1455
|
kind: z.ZodLiteral<"at-least">;
|
|
1341
1456
|
value: z.ZodString;
|
|
1342
1457
|
}, z.core.$strict>], "kind">>;
|
|
1458
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1343
1459
|
benefit_id: z.ZodString;
|
|
1344
1460
|
description: z.ZodString;
|
|
1345
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1346
1461
|
kind: z.ZodLiteral<"waiver">;
|
|
1347
1462
|
waived_item: z.ZodString;
|
|
1463
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1348
1464
|
benefit_id: z.ZodString;
|
|
1349
1465
|
description: z.ZodString;
|
|
1350
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1351
1466
|
kind: z.ZodLiteral<"free-service">;
|
|
1352
1467
|
service: z.ZodString;
|
|
1353
1468
|
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1360,12 +1475,10 @@ export declare const offerRevisionSchema: z.ZodObject<{
|
|
|
1360
1475
|
kind: z.ZodLiteral<"at-least">;
|
|
1361
1476
|
value: z.ZodString;
|
|
1362
1477
|
}, z.core.$strict>], "kind">>;
|
|
1363
|
-
benefit_id: z.ZodString;
|
|
1364
|
-
description: z.ZodString;
|
|
1365
1478
|
}, z.core.$strict>, z.ZodObject<{
|
|
1366
|
-
kind: z.ZodLiteral<"other">;
|
|
1367
1479
|
benefit_id: z.ZodString;
|
|
1368
1480
|
description: z.ZodString;
|
|
1481
|
+
kind: z.ZodLiteral<"other">;
|
|
1369
1482
|
}, z.core.$strict>], "kind">>;
|
|
1370
1483
|
}, z.core.$strict>;
|
|
1371
1484
|
eligibility: z.ZodObject<{
|
|
@@ -1377,19 +1490,19 @@ export declare const offerRevisionSchema: z.ZodObject<{
|
|
|
1377
1490
|
}, z.core.$strict>;
|
|
1378
1491
|
access: z.ZodObject<{
|
|
1379
1492
|
availability: z.ZodEnum<{
|
|
1380
|
-
|
|
1493
|
+
automatic: "automatic";
|
|
1494
|
+
invite: "invite";
|
|
1495
|
+
membership: "membership";
|
|
1381
1496
|
other: "other";
|
|
1497
|
+
public: "public";
|
|
1382
1498
|
referral: "referral";
|
|
1383
|
-
membership: "membership";
|
|
1384
|
-
invite: "invite";
|
|
1385
|
-
automatic: "automatic";
|
|
1386
1499
|
}>;
|
|
1387
1500
|
method: z.ZodEnum<{
|
|
1388
|
-
code: "code";
|
|
1389
|
-
other: "other";
|
|
1390
1501
|
automatic: "automatic";
|
|
1391
|
-
|
|
1502
|
+
code: "code";
|
|
1392
1503
|
contact: "contact";
|
|
1504
|
+
form: "form";
|
|
1505
|
+
other: "other";
|
|
1393
1506
|
}>;
|
|
1394
1507
|
url: z.ZodOptional<z.ZodURL>;
|
|
1395
1508
|
public_code: z.ZodOptional<z.ZodString>;
|