@sourcey/catalog-verifier 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/LICENSE +21 -0
- package/README.md +64 -0
- package/SBOM.cdx.json +177 -0
- package/SECURITY.md +8 -0
- package/SOURCEY-CLOSURE.json +1559 -0
- package/SOURCEY-DISTRIBUTION.json +24 -0
- package/SOURCEY-LICENSE-POLICY.json +5 -0
- package/SOURCEY-TOOLCHAIN.json +8 -0
- package/SUPPORT.md +5 -0
- package/THIRD_PARTY_NOTICES.json +69 -0
- package/dist/contracts/agent-readiness/src/declaration-acquisition.d.ts +548 -0
- package/dist/contracts/agent-readiness/src/declaration-acquisition.d.ts.map +1 -0
- package/dist/contracts/agent-readiness/src/declaration-acquisition.js +159 -0
- package/dist/contracts/agent-readiness/src/declaration-acquisition.js.map +1 -0
- package/dist/contracts/agent-readiness/src/declaration-reference.d.ts +48 -0
- package/dist/contracts/agent-readiness/src/declaration-reference.d.ts.map +1 -0
- package/dist/contracts/agent-readiness/src/declaration-reference.js +42 -0
- package/dist/contracts/agent-readiness/src/declaration-reference.js.map +1 -0
- package/dist/contracts/agent-readiness/src/declaration.d.ts +1357 -0
- package/dist/contracts/agent-readiness/src/declaration.d.ts.map +1 -0
- package/dist/contracts/agent-readiness/src/declaration.js +659 -0
- package/dist/contracts/agent-readiness/src/declaration.js.map +1 -0
- package/dist/contracts/agent-readiness/src/evidence.d.ts +146 -0
- package/dist/contracts/agent-readiness/src/evidence.d.ts.map +1 -0
- package/dist/contracts/agent-readiness/src/evidence.js +154 -0
- package/dist/contracts/agent-readiness/src/evidence.js.map +1 -0
- package/dist/contracts/agent-readiness/src/index.d.ts +6487 -0
- package/dist/contracts/agent-readiness/src/index.d.ts.map +1 -0
- package/dist/contracts/agent-readiness/src/index.js +1487 -0
- package/dist/contracts/agent-readiness/src/index.js.map +1 -0
- package/dist/contracts/agent-readiness/src/interaction.d.ts +26 -0
- package/dist/contracts/agent-readiness/src/interaction.d.ts.map +1 -0
- package/dist/contracts/agent-readiness/src/interaction.js +24 -0
- package/dist/contracts/agent-readiness/src/interaction.js.map +1 -0
- package/dist/contracts/agent-readiness/src/method-pack.d.ts +391 -0
- package/dist/contracts/agent-readiness/src/method-pack.d.ts.map +1 -0
- package/dist/contracts/agent-readiness/src/method-pack.js +181 -0
- package/dist/contracts/agent-readiness/src/method-pack.js.map +1 -0
- package/dist/contracts/agent-readiness/src/shared.d.ts +119 -0
- package/dist/contracts/agent-readiness/src/shared.d.ts.map +1 -0
- package/dist/contracts/agent-readiness/src/shared.js +144 -0
- package/dist/contracts/agent-readiness/src/shared.js.map +1 -0
- package/dist/contracts/api/src/index.d.ts +48463 -0
- package/dist/contracts/api/src/index.d.ts.map +1 -0
- package/dist/contracts/api/src/index.js +1150 -0
- package/dist/contracts/api/src/index.js.map +1 -0
- package/dist/contracts/artifact/src/index.d.ts +1467 -0
- package/dist/contracts/artifact/src/index.d.ts.map +1 -0
- package/dist/contracts/artifact/src/index.js +325 -0
- package/dist/contracts/artifact/src/index.js.map +1 -0
- package/dist/contracts/assets/src/index.d.ts +1397 -0
- package/dist/contracts/assets/src/index.d.ts.map +1 -0
- package/dist/contracts/assets/src/index.js +560 -0
- package/dist/contracts/assets/src/index.js.map +1 -0
- package/dist/contracts/authoring/src/index.d.ts +1084 -0
- package/dist/contracts/authoring/src/index.d.ts.map +1 -0
- package/dist/contracts/authoring/src/index.js +211 -0
- package/dist/contracts/authoring/src/index.js.map +1 -0
- package/dist/contracts/authority/src/index.d.ts +135 -0
- package/dist/contracts/authority/src/index.d.ts.map +1 -0
- package/dist/contracts/authority/src/index.js +130 -0
- package/dist/contracts/authority/src/index.js.map +1 -0
- package/dist/contracts/billing/src/index.d.ts +587 -0
- package/dist/contracts/billing/src/index.d.ts.map +1 -0
- package/dist/contracts/billing/src/index.js +322 -0
- package/dist/contracts/billing/src/index.js.map +1 -0
- package/dist/contracts/catalog-verifier/src/index.d.ts +390 -0
- package/dist/contracts/catalog-verifier/src/index.d.ts.map +1 -0
- package/dist/contracts/catalog-verifier/src/index.js +222 -0
- package/dist/contracts/catalog-verifier/src/index.js.map +1 -0
- package/dist/contracts/commercial-work/src/index.d.ts +835 -0
- package/dist/contracts/commercial-work/src/index.d.ts.map +1 -0
- package/dist/contracts/commercial-work/src/index.js +510 -0
- package/dist/contracts/commercial-work/src/index.js.map +1 -0
- package/dist/contracts/events/src/index.d.ts +700 -0
- package/dist/contracts/events/src/index.d.ts.map +1 -0
- package/dist/contracts/events/src/index.js +553 -0
- package/dist/contracts/events/src/index.js.map +1 -0
- package/dist/contracts/evidence/src/index.d.ts +487 -0
- package/dist/contracts/evidence/src/index.d.ts.map +1 -0
- package/dist/contracts/evidence/src/index.js +342 -0
- package/dist/contracts/evidence/src/index.js.map +1 -0
- package/dist/contracts/feed/src/index.d.ts +159 -0
- package/dist/contracts/feed/src/index.d.ts.map +1 -0
- package/dist/contracts/feed/src/index.js +79 -0
- package/dist/contracts/feed/src/index.js.map +1 -0
- package/dist/contracts/funded-work/src/index.d.ts +64 -0
- package/dist/contracts/funded-work/src/index.d.ts.map +1 -0
- package/dist/contracts/funded-work/src/index.js +67 -0
- package/dist/contracts/funded-work/src/index.js.map +1 -0
- package/dist/contracts/observations/src/index.d.ts +134 -0
- package/dist/contracts/observations/src/index.d.ts.map +1 -0
- package/dist/contracts/observations/src/index.js +112 -0
- package/dist/contracts/observations/src/index.js.map +1 -0
- package/dist/contracts/policies/src/index.d.ts +151 -0
- package/dist/contracts/policies/src/index.d.ts.map +1 -0
- package/dist/contracts/policies/src/index.js +121 -0
- package/dist/contracts/policies/src/index.js.map +1 -0
- package/dist/contracts/publication/src/index.d.ts +4066 -0
- package/dist/contracts/publication/src/index.d.ts.map +1 -0
- package/dist/contracts/publication/src/index.js +535 -0
- package/dist/contracts/publication/src/index.js.map +1 -0
- package/dist/contracts/release/src/index.d.ts +2032 -0
- package/dist/contracts/release/src/index.d.ts.map +1 -0
- package/dist/contracts/release/src/index.js +252 -0
- package/dist/contracts/release/src/index.js.map +1 -0
- package/dist/contracts/revisions/src/index.d.ts +1405 -0
- package/dist/contracts/revisions/src/index.d.ts.map +1 -0
- package/dist/contracts/revisions/src/index.js +493 -0
- package/dist/contracts/revisions/src/index.js.map +1 -0
- package/dist/contracts/routes/src/index.d.ts +103 -0
- package/dist/contracts/routes/src/index.d.ts.map +1 -0
- package/dist/contracts/routes/src/index.js +163 -0
- package/dist/contracts/routes/src/index.js.map +1 -0
- package/dist/contracts/routes/src/public-route-allocations.generated.d.ts +2 -0
- package/dist/contracts/routes/src/public-route-allocations.generated.d.ts.map +1 -0
- package/dist/contracts/routes/src/public-route-allocations.generated.js +56 -0
- package/dist/contracts/routes/src/public-route-allocations.generated.js.map +1 -0
- package/dist/contracts/standards/src/index.d.ts +1482 -0
- package/dist/contracts/standards/src/index.d.ts.map +1 -0
- package/dist/contracts/standards/src/index.js +626 -0
- package/dist/contracts/standards/src/index.js.map +1 -0
- package/dist/contracts/taxonomy/src/index.d.ts +7 -0
- package/dist/contracts/taxonomy/src/index.d.ts.map +1 -0
- package/dist/contracts/taxonomy/src/index.js +25 -0
- package/dist/contracts/taxonomy/src/index.js.map +1 -0
- package/dist/modules/agent-readiness-policy/src/current-policy-metrics.d.ts +20 -0
- package/dist/modules/agent-readiness-policy/src/current-policy-metrics.d.ts.map +1 -0
- package/dist/modules/agent-readiness-policy/src/current-policy-metrics.js +604 -0
- package/dist/modules/agent-readiness-policy/src/current-policy-metrics.js.map +1 -0
- package/dist/modules/agent-readiness-policy/src/current-policy.d.ts +249 -0
- package/dist/modules/agent-readiness-policy/src/current-policy.d.ts.map +1 -0
- package/dist/modules/agent-readiness-policy/src/current-policy.js +470 -0
- package/dist/modules/agent-readiness-policy/src/current-policy.js.map +1 -0
- package/dist/modules/agent-readiness-policy/src/grading.d.ts +39 -0
- package/dist/modules/agent-readiness-policy/src/grading.d.ts.map +1 -0
- package/dist/modules/agent-readiness-policy/src/grading.js +40 -0
- package/dist/modules/agent-readiness-policy/src/grading.js.map +1 -0
- package/dist/modules/agent-readiness-policy/src/impact.d.ts +103 -0
- package/dist/modules/agent-readiness-policy/src/impact.d.ts.map +1 -0
- package/dist/modules/agent-readiness-policy/src/impact.js +249 -0
- package/dist/modules/agent-readiness-policy/src/impact.js.map +1 -0
- package/dist/modules/agent-readiness-policy/src/index.d.ts +811 -0
- package/dist/modules/agent-readiness-policy/src/index.d.ts.map +1 -0
- package/dist/modules/agent-readiness-policy/src/index.js +499 -0
- package/dist/modules/agent-readiness-policy/src/index.js.map +1 -0
- package/dist/modules/agent-readiness-policy/src/offer-relations.d.ts +12 -0
- package/dist/modules/agent-readiness-policy/src/offer-relations.d.ts.map +1 -0
- package/dist/modules/agent-readiness-policy/src/offer-relations.js +65 -0
- package/dist/modules/agent-readiness-policy/src/offer-relations.js.map +1 -0
- package/dist/modules/agent-readiness-policy/src/policy-validation.d.ts +4 -0
- package/dist/modules/agent-readiness-policy/src/policy-validation.d.ts.map +1 -0
- package/dist/modules/agent-readiness-policy/src/policy-validation.js +59 -0
- package/dist/modules/agent-readiness-policy/src/policy-validation.js.map +1 -0
- package/dist/modules/agent-readiness-policy/src/projection-lineage.d.ts +3 -0
- package/dist/modules/agent-readiness-policy/src/projection-lineage.d.ts.map +1 -0
- package/dist/modules/agent-readiness-policy/src/projection-lineage.js +12 -0
- package/dist/modules/agent-readiness-policy/src/projection-lineage.js.map +1 -0
- package/dist/modules/agent-readiness-policy/src/revision.d.ts +4 -0
- package/dist/modules/agent-readiness-policy/src/revision.d.ts.map +1 -0
- package/dist/modules/agent-readiness-policy/src/revision.js +46 -0
- package/dist/modules/agent-readiness-policy/src/revision.js.map +1 -0
- package/dist/modules/agent-readiness-policy/src/standard-mapping.d.ts +7 -0
- package/dist/modules/agent-readiness-policy/src/standard-mapping.d.ts.map +1 -0
- package/dist/modules/agent-readiness-policy/src/standard-mapping.js +13 -0
- package/dist/modules/agent-readiness-policy/src/standard-mapping.js.map +1 -0
- package/dist/modules/agent-readiness-policy/src/surface-selection.d.ts +36 -0
- package/dist/modules/agent-readiness-policy/src/surface-selection.d.ts.map +1 -0
- package/dist/modules/agent-readiness-policy/src/surface-selection.js +214 -0
- package/dist/modules/agent-readiness-policy/src/surface-selection.js.map +1 -0
- package/dist/modules/agent-readiness-repository/src/admission.d.ts +35 -0
- package/dist/modules/agent-readiness-repository/src/admission.d.ts.map +1 -0
- package/dist/modules/agent-readiness-repository/src/admission.js +56 -0
- package/dist/modules/agent-readiness-repository/src/admission.js.map +1 -0
- package/dist/modules/agent-readiness-repository/src/change.d.ts +62 -0
- package/dist/modules/agent-readiness-repository/src/change.d.ts.map +1 -0
- package/dist/modules/agent-readiness-repository/src/change.js +218 -0
- package/dist/modules/agent-readiness-repository/src/change.js.map +1 -0
- package/dist/modules/agent-readiness-repository/src/declaration-blob.d.ts +29 -0
- package/dist/modules/agent-readiness-repository/src/declaration-blob.d.ts.map +1 -0
- package/dist/modules/agent-readiness-repository/src/declaration-blob.js +126 -0
- package/dist/modules/agent-readiness-repository/src/declaration-blob.js.map +1 -0
- package/dist/modules/agent-readiness-repository/src/index.d.ts +102 -0
- package/dist/modules/agent-readiness-repository/src/index.d.ts.map +1 -0
- package/dist/modules/agent-readiness-repository/src/index.js +208 -0
- package/dist/modules/agent-readiness-repository/src/index.js.map +1 -0
- package/dist/modules/artifact/src/agent-readiness-closure.d.ts +24 -0
- package/dist/modules/artifact/src/agent-readiness-closure.d.ts.map +1 -0
- package/dist/modules/artifact/src/agent-readiness-closure.js +98 -0
- package/dist/modules/artifact/src/agent-readiness-closure.js.map +1 -0
- package/dist/modules/artifact/src/asset-closure.d.ts +12 -0
- package/dist/modules/artifact/src/asset-closure.d.ts.map +1 -0
- package/dist/modules/artifact/src/asset-closure.js +40 -0
- package/dist/modules/artifact/src/asset-closure.js.map +1 -0
- package/dist/modules/artifact/src/authoring-closure.d.ts +4 -0
- package/dist/modules/artifact/src/authoring-closure.d.ts.map +1 -0
- package/dist/modules/artifact/src/authoring-closure.js +19 -0
- package/dist/modules/artifact/src/authoring-closure.js.map +1 -0
- package/dist/modules/artifact/src/index.d.ts +46 -0
- package/dist/modules/artifact/src/index.d.ts.map +1 -0
- package/dist/modules/artifact/src/index.js +563 -0
- package/dist/modules/artifact/src/index.js.map +1 -0
- package/dist/modules/artifact/src/trust-history.d.ts +3 -0
- package/dist/modules/artifact/src/trust-history.d.ts.map +1 -0
- package/dist/modules/artifact/src/trust-history.js +134 -0
- package/dist/modules/artifact/src/trust-history.js.map +1 -0
- package/dist/modules/assets/src/authority-bundle.d.ts +36 -0
- package/dist/modules/assets/src/authority-bundle.d.ts.map +1 -0
- package/dist/modules/assets/src/authority-bundle.js +206 -0
- package/dist/modules/assets/src/authority-bundle.js.map +1 -0
- package/dist/modules/assets/src/delta.d.ts +18 -0
- package/dist/modules/assets/src/delta.d.ts.map +1 -0
- package/dist/modules/assets/src/delta.js +183 -0
- package/dist/modules/assets/src/delta.js.map +1 -0
- package/dist/modules/assets/src/disposition.d.ts +3 -0
- package/dist/modules/assets/src/disposition.d.ts.map +1 -0
- package/dist/modules/assets/src/disposition.js +30 -0
- package/dist/modules/assets/src/disposition.js.map +1 -0
- package/dist/modules/assets/src/index.d.ts +25 -0
- package/dist/modules/assets/src/index.d.ts.map +1 -0
- package/dist/modules/assets/src/index.js +234 -0
- package/dist/modules/assets/src/index.js.map +1 -0
- package/dist/modules/assets/src/ingestion.d.ts +69 -0
- package/dist/modules/assets/src/ingestion.d.ts.map +1 -0
- package/dist/modules/assets/src/ingestion.js +169 -0
- package/dist/modules/assets/src/ingestion.js.map +1 -0
- package/dist/modules/authority/src/index.d.ts +47 -0
- package/dist/modules/authority/src/index.d.ts.map +1 -0
- package/dist/modules/authority/src/index.js +349 -0
- package/dist/modules/authority/src/index.js.map +1 -0
- package/dist/modules/authority-state/src/index.d.ts +43 -0
- package/dist/modules/authority-state/src/index.d.ts.map +1 -0
- package/dist/modules/authority-state/src/index.js +194 -0
- package/dist/modules/authority-state/src/index.js.map +1 -0
- package/dist/modules/catalog-admission/src/admission-conflicts.d.ts +424 -0
- package/dist/modules/catalog-admission/src/admission-conflicts.d.ts.map +1 -0
- package/dist/modules/catalog-admission/src/admission-conflicts.js +369 -0
- package/dist/modules/catalog-admission/src/admission-conflicts.js.map +1 -0
- package/dist/modules/catalog-admission/src/index.d.ts +248 -0
- package/dist/modules/catalog-admission/src/index.d.ts.map +1 -0
- package/dist/modules/catalog-admission/src/index.js +601 -0
- package/dist/modules/catalog-admission/src/index.js.map +1 -0
- package/dist/modules/catalog-admission/src/machine-admission.d.ts +1273 -0
- package/dist/modules/catalog-admission/src/machine-admission.d.ts.map +1 -0
- package/dist/modules/catalog-admission/src/machine-admission.js +529 -0
- package/dist/modules/catalog-admission/src/machine-admission.js.map +1 -0
- package/dist/modules/catalog-admission/src/publication-assets.d.ts +5 -0
- package/dist/modules/catalog-admission/src/publication-assets.d.ts.map +1 -0
- package/dist/modules/catalog-admission/src/publication-assets.js +26 -0
- package/dist/modules/catalog-admission/src/publication-assets.js.map +1 -0
- package/dist/modules/catalog-admission/src/publication-dependencies.d.ts +96 -0
- package/dist/modules/catalog-admission/src/publication-dependencies.d.ts.map +1 -0
- package/dist/modules/catalog-admission/src/publication-dependencies.js +177 -0
- package/dist/modules/catalog-admission/src/publication-dependencies.js.map +1 -0
- package/dist/modules/catalog-admission/src/publication-entities.d.ts +9 -0
- package/dist/modules/catalog-admission/src/publication-entities.d.ts.map +1 -0
- package/dist/modules/catalog-admission/src/publication-entities.js +48 -0
- package/dist/modules/catalog-admission/src/publication-entities.js.map +1 -0
- package/dist/modules/catalog-admission/src/publication-recomposition.d.ts +42 -0
- package/dist/modules/catalog-admission/src/publication-recomposition.d.ts.map +1 -0
- package/dist/modules/catalog-admission/src/publication-recomposition.js +163 -0
- package/dist/modules/catalog-admission/src/publication-recomposition.js.map +1 -0
- package/dist/modules/catalog-admission/src/publication.d.ts +92 -0
- package/dist/modules/catalog-admission/src/publication.d.ts.map +1 -0
- package/dist/modules/catalog-admission/src/publication.js +605 -0
- package/dist/modules/catalog-admission/src/publication.js.map +1 -0
- package/dist/modules/catalog-admission/src/submission.d.ts +47 -0
- package/dist/modules/catalog-admission/src/submission.d.ts.map +1 -0
- package/dist/modules/catalog-admission/src/submission.js +289 -0
- package/dist/modules/catalog-admission/src/submission.js.map +1 -0
- package/dist/modules/catalog-authoring-validation/src/index.d.ts +46 -0
- package/dist/modules/catalog-authoring-validation/src/index.d.ts.map +1 -0
- package/dist/modules/catalog-authoring-validation/src/index.js +98 -0
- package/dist/modules/catalog-authoring-validation/src/index.js.map +1 -0
- package/dist/modules/catalog-model/src/index.d.ts +26 -0
- package/dist/modules/catalog-model/src/index.d.ts.map +1 -0
- package/dist/modules/catalog-model/src/index.js +80 -0
- package/dist/modules/catalog-model/src/index.js.map +1 -0
- package/dist/modules/cli/src/index.d.ts +10 -0
- package/dist/modules/cli/src/index.d.ts.map +1 -0
- package/dist/modules/cli/src/index.js +31 -0
- package/dist/modules/cli/src/index.js.map +1 -0
- package/dist/modules/compiler/src/index.d.ts +23 -0
- package/dist/modules/compiler/src/index.d.ts.map +1 -0
- package/dist/modules/compiler/src/index.js +75 -0
- package/dist/modules/compiler/src/index.js.map +1 -0
- package/dist/modules/evidence-operations/src/dependency-versions.d.ts +2 -0
- package/dist/modules/evidence-operations/src/dependency-versions.d.ts.map +1 -0
- package/dist/modules/evidence-operations/src/dependency-versions.js +17 -0
- package/dist/modules/evidence-operations/src/dependency-versions.js.map +1 -0
- package/dist/modules/evidence-operations/src/evidence-normalization.d.ts +111 -0
- package/dist/modules/evidence-operations/src/evidence-normalization.d.ts.map +1 -0
- package/dist/modules/evidence-operations/src/evidence-normalization.js +309 -0
- package/dist/modules/evidence-operations/src/evidence-normalization.js.map +1 -0
- package/dist/modules/evidence-operations/src/proof-graph.d.ts +22 -0
- package/dist/modules/evidence-operations/src/proof-graph.d.ts.map +1 -0
- package/dist/modules/evidence-operations/src/proof-graph.js +188 -0
- package/dist/modules/evidence-operations/src/proof-graph.js.map +1 -0
- package/dist/modules/evidence-operations/src/source-authority.d.ts +31 -0
- package/dist/modules/evidence-operations/src/source-authority.d.ts.map +1 -0
- package/dist/modules/evidence-operations/src/source-authority.js +60 -0
- package/dist/modules/evidence-operations/src/source-authority.js.map +1 -0
- package/dist/modules/evidence-operations/src/submission-verifier.d.ts +318 -0
- package/dist/modules/evidence-operations/src/submission-verifier.d.ts.map +1 -0
- package/dist/modules/evidence-operations/src/submission-verifier.js +392 -0
- package/dist/modules/evidence-operations/src/submission-verifier.js.map +1 -0
- package/dist/modules/evidence-operations/src/url-canonicalization.d.ts +3 -0
- package/dist/modules/evidence-operations/src/url-canonicalization.d.ts.map +1 -0
- package/dist/modules/evidence-operations/src/url-canonicalization.js +7 -0
- package/dist/modules/evidence-operations/src/url-canonicalization.js.map +1 -0
- package/dist/modules/primitives/src/index.d.ts +40 -0
- package/dist/modules/primitives/src/index.d.ts.map +1 -0
- package/dist/modules/primitives/src/index.js +154 -0
- package/dist/modules/primitives/src/index.js.map +1 -0
- package/dist/modules/provenance/src/evidence-bindings.d.ts +10 -0
- package/dist/modules/provenance/src/evidence-bindings.d.ts.map +1 -0
- package/dist/modules/provenance/src/evidence-bindings.js +49 -0
- package/dist/modules/provenance/src/evidence-bindings.js.map +1 -0
- package/dist/modules/provenance/src/evidence-coverage.d.ts +35 -0
- package/dist/modules/provenance/src/evidence-coverage.d.ts.map +1 -0
- package/dist/modules/provenance/src/evidence-coverage.js +131 -0
- package/dist/modules/provenance/src/evidence-coverage.js.map +1 -0
- package/dist/modules/provenance/src/index.d.ts +68 -0
- package/dist/modules/provenance/src/index.d.ts.map +1 -0
- package/dist/modules/provenance/src/index.js +536 -0
- package/dist/modules/provenance/src/index.js.map +1 -0
- package/dist/modules/provenance/src/material-claims.d.ts +381 -0
- package/dist/modules/provenance/src/material-claims.d.ts.map +1 -0
- package/dist/modules/provenance/src/material-claims.js +375 -0
- package/dist/modules/provenance/src/material-claims.js.map +1 -0
- package/dist/modules/provenance/src/prospective-evidence.d.ts +6 -0
- package/dist/modules/provenance/src/prospective-evidence.d.ts.map +1 -0
- package/dist/modules/provenance/src/prospective-evidence.js +61 -0
- package/dist/modules/provenance/src/prospective-evidence.js.map +1 -0
- package/dist/modules/release/src/asset-delta-verifier.d.ts +12 -0
- package/dist/modules/release/src/asset-delta-verifier.d.ts.map +1 -0
- package/dist/modules/release/src/asset-delta-verifier.js +82 -0
- package/dist/modules/release/src/asset-delta-verifier.js.map +1 -0
- package/dist/modules/release/src/changes.d.ts +23 -0
- package/dist/modules/release/src/changes.d.ts.map +1 -0
- package/dist/modules/release/src/changes.js +389 -0
- package/dist/modules/release/src/changes.js.map +1 -0
- package/dist/modules/release/src/identity.d.ts +17 -0
- package/dist/modules/release/src/identity.d.ts.map +1 -0
- package/dist/modules/release/src/identity.js +433 -0
- package/dist/modules/release/src/identity.js.map +1 -0
- package/dist/modules/release/src/inputs.d.ts +89 -0
- package/dist/modules/release/src/inputs.d.ts.map +1 -0
- package/dist/modules/release/src/inputs.js +514 -0
- package/dist/modules/release/src/inputs.js.map +1 -0
- package/dist/modules/release/src/publication-inputs.d.ts +9 -0
- package/dist/modules/release/src/publication-inputs.d.ts.map +1 -0
- package/dist/modules/release/src/publication-inputs.js +67 -0
- package/dist/modules/release/src/publication-inputs.js.map +1 -0
- package/dist/modules/release/src/release-directory-files.d.ts +7 -0
- package/dist/modules/release/src/release-directory-files.d.ts.map +1 -0
- package/dist/modules/release/src/release-directory-files.js +49 -0
- package/dist/modules/release/src/release-directory-files.js.map +1 -0
- package/dist/modules/release/src/release-revision-parser.d.ts +5 -0
- package/dist/modules/release/src/release-revision-parser.d.ts.map +1 -0
- package/dist/modules/release/src/release-revision-parser.js +19 -0
- package/dist/modules/release/src/release-revision-parser.js.map +1 -0
- package/dist/modules/release/src/transition.d.ts +36 -0
- package/dist/modules/release/src/transition.d.ts.map +1 -0
- package/dist/modules/release/src/transition.js +263 -0
- package/dist/modules/release/src/transition.js.map +1 -0
- package/dist/modules/release/src/verification-policies.d.ts +278 -0
- package/dist/modules/release/src/verification-policies.d.ts.map +1 -0
- package/dist/modules/release/src/verification-policies.js +38 -0
- package/dist/modules/release/src/verification-policies.js.map +1 -0
- package/dist/modules/release/src/verification-transitions.d.ts +14 -0
- package/dist/modules/release/src/verification-transitions.d.ts.map +1 -0
- package/dist/modules/release/src/verification-transitions.js +26 -0
- package/dist/modules/release/src/verification-transitions.js.map +1 -0
- package/dist/modules/release/src/verifier.d.ts +41 -0
- package/dist/modules/release/src/verifier.d.ts.map +1 -0
- package/dist/modules/release/src/verifier.js +577 -0
- package/dist/modules/release/src/verifier.js.map +1 -0
- package/dist/modules/standard-adapter-runtime/src/index.d.ts +16 -0
- package/dist/modules/standard-adapter-runtime/src/index.d.ts.map +1 -0
- package/dist/modules/standard-adapter-runtime/src/index.js +43 -0
- package/dist/modules/standard-adapter-runtime/src/index.js.map +1 -0
- package/dist/modules/standard-evidence/src/index.d.ts +33 -0
- package/dist/modules/standard-evidence/src/index.d.ts.map +1 -0
- package/dist/modules/standard-evidence/src/index.js +149 -0
- package/dist/modules/standard-evidence/src/index.js.map +1 -0
- package/dist/packages/catalog-verifier/src/application.d.ts +89 -0
- package/dist/packages/catalog-verifier/src/application.d.ts.map +1 -0
- package/dist/packages/catalog-verifier/src/application.js +363 -0
- package/dist/packages/catalog-verifier/src/application.js.map +1 -0
- package/dist/packages/catalog-verifier/src/index.d.ts +7 -0
- package/dist/packages/catalog-verifier/src/index.d.ts.map +1 -0
- package/dist/packages/catalog-verifier/src/index.js +7 -0
- package/dist/packages/catalog-verifier/src/index.js.map +1 -0
- package/dist/packages/catalog-verifier/src/program.d.ts +4 -0
- package/dist/packages/catalog-verifier/src/program.d.ts.map +1 -0
- package/dist/packages/catalog-verifier/src/program.js +203 -0
- package/dist/packages/catalog-verifier/src/program.js.map +1 -0
- package/package.json +63 -0
- package/sourcey-catalog-verify.js +7 -0
- package/taxonomy.json +29 -0
|
@@ -0,0 +1,1150 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { AGENT_READINESS_PROFILE_ID_PATTERN, DIGEST_PATTERN, ENTITY_ID_PATTERN, IDENTIFIER_PATTERN, OFFER_ID_PATTERN, OPERATION_ID_PATTERN, PROGRAM_ID_PATTERN, SLUG_PATTERN, } from "../../../modules/primitives/src/index.js";
|
|
3
|
+
import { agentReadinessDeclarationDraftRequestSchema, agentReadinessDeclarationDraftResultSchema, agentReadinessDeclarationRevisionSchema, agentReadinessFreshnessSchema, agentReadinessGradeSchema, agentReadinessOfferRelationRevisionSchema, agentReadinessProfileSummarySchema, agentReadinessProjectionLineageSchema, agentReadinessProjectionSchema, agentReadinessPublicStateSchema, agentReadinessRevisionHeadSchema, agentReadinessRevisionSchema, agentReadinessScopeKeySchema, } from "../../agent-readiness/src/index.js";
|
|
4
|
+
import { canonicalArtifactSchema, compiledEntitySchema, compiledOfferSchema, compiledProgramSchema, provenanceEntrySchema, } from "../../artifact/src/index.js";
|
|
5
|
+
import { assetBindingProjectionSchema, assetMediaTypeSchema, ENTITY_ICON_MAX_SOURCE_BYTES, entityAssetSubmissionSchema, entityAssetUploadHeadersSchema, entityAssetUploadReceiptSchema, } from "../../assets/src/index.js";
|
|
6
|
+
import { protectedSignatureSchema } from "../../authority/src/index.js";
|
|
7
|
+
import { catalogAdmissionConflictLookupRequestSchema, catalogVerifierIdentityContextPacketSchema, } from "../../catalog-verifier/src/index.js";
|
|
8
|
+
import { startupCreditsReviewProductDescriptor, startupCreditsReviewRequestIdSchema, startupCreditsReviewRequestSchema, startupCreditsReviewResponseSchema, } from "../../commercial-work/src/index.js";
|
|
9
|
+
import { catalogEventPayloadSchemas, eventSubjectSchema } from "../../events/src/index.js";
|
|
10
|
+
import { captureReceiptSchema } from "../../evidence/src/index.js";
|
|
11
|
+
import { changeFeedPageSchema } from "../../feed/src/index.js";
|
|
12
|
+
import { observationSchema } from "../../observations/src/index.js";
|
|
13
|
+
import { PUBLICATION_STAGES, publicationDiagnosticSchema, publicationStageResultSchema, } from "../../publication/src/index.js";
|
|
14
|
+
import { releaseDescriptorSchema, releaseResourceDigestsSchema } from "../../release/src/index.js";
|
|
15
|
+
import { eligibilityEvaluationSchema, eligibilityFactsSchema, entityRevisionSchema, lifecycleStatusSchema, offerRevisionSchema, programRevisionSchema, } from "../../revisions/src/index.js";
|
|
16
|
+
import { catalogTaxonomySchema } from "../../taxonomy/src/index.js";
|
|
17
|
+
const digest = z.string().regex(DIGEST_PATTERN);
|
|
18
|
+
const nonEmpty = z.string().min(1);
|
|
19
|
+
const entityId = z.string().regex(ENTITY_ID_PATTERN);
|
|
20
|
+
const programId = z.string().regex(PROGRAM_ID_PATTERN);
|
|
21
|
+
const offerId = z.string().regex(OFFER_ID_PATTERN);
|
|
22
|
+
const agentReadinessProfileId = z.string().regex(AGENT_READINESS_PROFILE_ID_PATTERN);
|
|
23
|
+
const slug = z.string().regex(SLUG_PATTERN);
|
|
24
|
+
const identifier = z.string().regex(IDENTIFIER_PATTERN);
|
|
25
|
+
const operationId = z.string().regex(OPERATION_ID_PATTERN);
|
|
26
|
+
const instant = z.iso.datetime({ offset: true });
|
|
27
|
+
export const SOURCEY_PUBLIC_API_VERSION = "1.1.0";
|
|
28
|
+
export const catalogApiContractSchema = z.literal("sourcey.catalog-api/v1");
|
|
29
|
+
export const catalogApiErrorCodeSchema = z.enum([
|
|
30
|
+
"authentication_required",
|
|
31
|
+
"capacity_unavailable",
|
|
32
|
+
"capability_unavailable",
|
|
33
|
+
"draft_changed",
|
|
34
|
+
"draft_unavailable",
|
|
35
|
+
"idempotency_conflict",
|
|
36
|
+
"invalid_cursor",
|
|
37
|
+
"invalid_credential",
|
|
38
|
+
"invalid_credential_format",
|
|
39
|
+
"invalid_request",
|
|
40
|
+
"insufficient_scope",
|
|
41
|
+
"internal_error",
|
|
42
|
+
"method_not_allowed",
|
|
43
|
+
"not_found",
|
|
44
|
+
"payment_pending",
|
|
45
|
+
"payment_refused",
|
|
46
|
+
"product_unavailable",
|
|
47
|
+
"rate_limited",
|
|
48
|
+
"service_unavailable",
|
|
49
|
+
"standing_stale",
|
|
50
|
+
]);
|
|
51
|
+
export const catalogApiErrorSchema = z
|
|
52
|
+
.object({
|
|
53
|
+
code: catalogApiErrorCodeSchema,
|
|
54
|
+
message: z.string().min(1),
|
|
55
|
+
capability: z.string().min(1).optional(),
|
|
56
|
+
})
|
|
57
|
+
.strict();
|
|
58
|
+
export const catalogApiErrorResponseSchema = z
|
|
59
|
+
.object({
|
|
60
|
+
api_contract: catalogApiContractSchema,
|
|
61
|
+
release_id: digest,
|
|
62
|
+
artifact_sha256: digest,
|
|
63
|
+
error: catalogApiErrorSchema,
|
|
64
|
+
})
|
|
65
|
+
.strict();
|
|
66
|
+
export const catalogStatusResponseSchema = z
|
|
67
|
+
.object({
|
|
68
|
+
status: z.literal("ok"),
|
|
69
|
+
service: z.literal("sourcey-serving-worker"),
|
|
70
|
+
release_id: digest,
|
|
71
|
+
snapshot_id: digest,
|
|
72
|
+
artifact_sha256: digest,
|
|
73
|
+
})
|
|
74
|
+
.strict();
|
|
75
|
+
export const catalogReleaseSummarySchema = z
|
|
76
|
+
.object({
|
|
77
|
+
release_contract: z.literal("sourcey.release-read/v1alpha1"),
|
|
78
|
+
release_id: digest,
|
|
79
|
+
release_sequence: z.number().int().positive(),
|
|
80
|
+
snapshot_id: digest,
|
|
81
|
+
parent_release_id: digest.nullable(),
|
|
82
|
+
policy_as_of: z.iso.datetime({ offset: true }),
|
|
83
|
+
artifact_sha256: digest,
|
|
84
|
+
admitted_input_digests: z.array(digest).min(1),
|
|
85
|
+
resource_digests: releaseResourceDigestsSchema,
|
|
86
|
+
bundle: z
|
|
87
|
+
.object({
|
|
88
|
+
digest,
|
|
89
|
+
archive_url: z.url({ protocol: /^https$/ }),
|
|
90
|
+
verifier_digest: digest,
|
|
91
|
+
})
|
|
92
|
+
.strict(),
|
|
93
|
+
publication: z
|
|
94
|
+
.object({
|
|
95
|
+
digest,
|
|
96
|
+
published_at: instant,
|
|
97
|
+
})
|
|
98
|
+
.strict(),
|
|
99
|
+
})
|
|
100
|
+
.strict();
|
|
101
|
+
const catalogReleaseReadObjectSchema = catalogReleaseSummarySchema
|
|
102
|
+
.extend({ descriptor: releaseDescriptorSchema })
|
|
103
|
+
.strict();
|
|
104
|
+
export const catalogReleaseReadSchema = catalogReleaseReadObjectSchema.superRefine((value, context) => {
|
|
105
|
+
if (value.release_id !== value.descriptor.release_id ||
|
|
106
|
+
value.release_sequence !== value.descriptor.release_core.release_sequence ||
|
|
107
|
+
value.snapshot_id !== value.descriptor.snapshot_id ||
|
|
108
|
+
value.parent_release_id !== value.descriptor.release_core.parent_release_id ||
|
|
109
|
+
value.policy_as_of !== value.descriptor.snapshot_core.policy_as_of) {
|
|
110
|
+
context.addIssue({
|
|
111
|
+
code: "custom",
|
|
112
|
+
path: ["descriptor"],
|
|
113
|
+
message: "Release summary differs from its canonical descriptor.",
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
export const catalogReleaseCursorSchema = catalogReleaseSummarySchema
|
|
118
|
+
.pick({
|
|
119
|
+
release_id: true,
|
|
120
|
+
admitted_input_digests: true,
|
|
121
|
+
})
|
|
122
|
+
.strip();
|
|
123
|
+
export const eligibilityCheckInputSchema = z
|
|
124
|
+
.object({
|
|
125
|
+
offer_id: offerId,
|
|
126
|
+
facts: eligibilityFactsSchema,
|
|
127
|
+
})
|
|
128
|
+
.strict();
|
|
129
|
+
function apiEnvelope(data) {
|
|
130
|
+
return z
|
|
131
|
+
.object({
|
|
132
|
+
api_contract: catalogApiContractSchema,
|
|
133
|
+
release_id: digest,
|
|
134
|
+
artifact_sha256: digest,
|
|
135
|
+
data,
|
|
136
|
+
})
|
|
137
|
+
.strict();
|
|
138
|
+
}
|
|
139
|
+
export const catalogVerifierIdentityContextResponseSchema = apiEnvelope(catalogVerifierIdentityContextPacketSchema);
|
|
140
|
+
function pagedApiEnvelope(data) {
|
|
141
|
+
return apiEnvelope(z.array(data)).extend({
|
|
142
|
+
next_cursor: z.string().min(1).nullable().optional(),
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
const entityAssetBindingsSchema = z.array(assetBindingProjectionSchema).default([]);
|
|
146
|
+
export const catalogResponseSchema = apiEnvelope(canonicalArtifactSchema);
|
|
147
|
+
export const catalogTaxonomyResponseSchema = apiEnvelope(catalogTaxonomySchema);
|
|
148
|
+
export const catalogEntityListSummarySchema = z
|
|
149
|
+
.object({
|
|
150
|
+
entity_count: z.number().int().nonnegative(),
|
|
151
|
+
program_count: z.number().int().nonnegative(),
|
|
152
|
+
offer_count: z.number().int().nonnegative(),
|
|
153
|
+
active_offer_count: z.number().int().nonnegative(),
|
|
154
|
+
signed_entity_count: z.number().int().nonnegative(),
|
|
155
|
+
verified_entity_count: z.number().int().nonnegative(),
|
|
156
|
+
latest_observation_at: instant.nullable(),
|
|
157
|
+
categories: z.array(z
|
|
158
|
+
.object({
|
|
159
|
+
category: slug,
|
|
160
|
+
entity_count: z.number().int().nonnegative(),
|
|
161
|
+
program_count: z.number().int().nonnegative(),
|
|
162
|
+
offer_count: z.number().int().nonnegative(),
|
|
163
|
+
active_offer_count: z.number().int().nonnegative(),
|
|
164
|
+
})
|
|
165
|
+
.strict()),
|
|
166
|
+
})
|
|
167
|
+
.strict();
|
|
168
|
+
export const entityListResponseSchema = pagedApiEnvelope(compiledEntitySchema).extend({
|
|
169
|
+
query: z.string(),
|
|
170
|
+
category: slug.nullable(),
|
|
171
|
+
summary: catalogEntityListSummarySchema,
|
|
172
|
+
assets: entityAssetBindingsSchema,
|
|
173
|
+
});
|
|
174
|
+
export const entityTombstoneSchema = z.discriminatedUnion("transition", [
|
|
175
|
+
z
|
|
176
|
+
.object({
|
|
177
|
+
kind: z.literal("entity_tombstone"),
|
|
178
|
+
entity_id: entityId,
|
|
179
|
+
transition: z.literal("merged"),
|
|
180
|
+
canonical_entity_id: entityId,
|
|
181
|
+
event_id: digest,
|
|
182
|
+
})
|
|
183
|
+
.strict(),
|
|
184
|
+
z
|
|
185
|
+
.object({
|
|
186
|
+
kind: z.literal("entity_tombstone"),
|
|
187
|
+
entity_id: entityId,
|
|
188
|
+
transition: z.literal("successor"),
|
|
189
|
+
canonical_entity_id: entityId,
|
|
190
|
+
event_id: digest,
|
|
191
|
+
})
|
|
192
|
+
.strict(),
|
|
193
|
+
z
|
|
194
|
+
.object({
|
|
195
|
+
kind: z.literal("entity_tombstone"),
|
|
196
|
+
entity_id: entityId,
|
|
197
|
+
transition: z.literal("split"),
|
|
198
|
+
replacement_entity_ids: z.array(entityId).min(1),
|
|
199
|
+
continuing_entity_id: entityId.optional(),
|
|
200
|
+
event_id: digest,
|
|
201
|
+
})
|
|
202
|
+
.strict(),
|
|
203
|
+
z
|
|
204
|
+
.object({
|
|
205
|
+
kind: z.literal("entity_tombstone"),
|
|
206
|
+
entity_id: entityId,
|
|
207
|
+
transition: z.literal("retired"),
|
|
208
|
+
})
|
|
209
|
+
.strict(),
|
|
210
|
+
]);
|
|
211
|
+
export const offerTombstoneSchema = z.discriminatedUnion("transition", [
|
|
212
|
+
z
|
|
213
|
+
.object({
|
|
214
|
+
kind: z.literal("offer_tombstone"),
|
|
215
|
+
offer_id: z.string().regex(OFFER_ID_PATTERN),
|
|
216
|
+
transition: z.literal("merged"),
|
|
217
|
+
canonical_offer_id: z.string().regex(OFFER_ID_PATTERN),
|
|
218
|
+
event_id: digest,
|
|
219
|
+
})
|
|
220
|
+
.strict(),
|
|
221
|
+
z
|
|
222
|
+
.object({
|
|
223
|
+
kind: z.literal("offer_tombstone"),
|
|
224
|
+
offer_id: z.string().regex(OFFER_ID_PATTERN),
|
|
225
|
+
transition: z.literal("retired"),
|
|
226
|
+
})
|
|
227
|
+
.strict(),
|
|
228
|
+
]);
|
|
229
|
+
export const programTombstoneSchema = z.discriminatedUnion("transition", [
|
|
230
|
+
z
|
|
231
|
+
.object({
|
|
232
|
+
kind: z.literal("program_tombstone"),
|
|
233
|
+
program_id: programId,
|
|
234
|
+
transition: z.literal("merged"),
|
|
235
|
+
canonical_program_id: programId,
|
|
236
|
+
event_id: digest,
|
|
237
|
+
})
|
|
238
|
+
.strict(),
|
|
239
|
+
z
|
|
240
|
+
.object({
|
|
241
|
+
kind: z.literal("program_tombstone"),
|
|
242
|
+
program_id: programId,
|
|
243
|
+
transition: z.literal("retired"),
|
|
244
|
+
})
|
|
245
|
+
.strict(),
|
|
246
|
+
]);
|
|
247
|
+
export const agentReadinessProfileTombstoneSchema = z.discriminatedUnion("transition", [
|
|
248
|
+
z
|
|
249
|
+
.object({
|
|
250
|
+
kind: z.literal("agent_readiness_profile_tombstone"),
|
|
251
|
+
agent_readiness_profile_id: agentReadinessProfileId,
|
|
252
|
+
transition: z.literal("merged"),
|
|
253
|
+
canonical_agent_readiness_profile_id: agentReadinessProfileId,
|
|
254
|
+
event_id: digest,
|
|
255
|
+
})
|
|
256
|
+
.strict(),
|
|
257
|
+
z
|
|
258
|
+
.object({
|
|
259
|
+
kind: z.literal("agent_readiness_profile_tombstone"),
|
|
260
|
+
agent_readiness_profile_id: agentReadinessProfileId,
|
|
261
|
+
transition: z.literal("retired"),
|
|
262
|
+
})
|
|
263
|
+
.strict(),
|
|
264
|
+
]);
|
|
265
|
+
export const entityResponseSchema = apiEnvelope(z.union([compiledEntitySchema, entityTombstoneSchema])).extend({ assets: entityAssetBindingsSchema });
|
|
266
|
+
export const entityAssetListResponseSchema = pagedApiEnvelope(assetBindingProjectionSchema).extend({
|
|
267
|
+
entity_id: entityId.nullable(),
|
|
268
|
+
});
|
|
269
|
+
export const programResponseSchema = apiEnvelope(z.union([
|
|
270
|
+
z.object({ entity: compiledEntitySchema, program: compiledProgramSchema }).strict(),
|
|
271
|
+
programTombstoneSchema,
|
|
272
|
+
]));
|
|
273
|
+
export const offerResponseSchema = apiEnvelope(z.union([
|
|
274
|
+
z
|
|
275
|
+
.object({
|
|
276
|
+
entity: compiledEntitySchema,
|
|
277
|
+
program: compiledProgramSchema.optional(),
|
|
278
|
+
offer: compiledOfferSchema,
|
|
279
|
+
})
|
|
280
|
+
.strict(),
|
|
281
|
+
offerTombstoneSchema,
|
|
282
|
+
]));
|
|
283
|
+
const offerSearchResultBaseSchema = z
|
|
284
|
+
.object({
|
|
285
|
+
entity_id: entityId,
|
|
286
|
+
entity_slug: slug,
|
|
287
|
+
entity_name: nonEmpty,
|
|
288
|
+
category: slug,
|
|
289
|
+
offer: compiledOfferSchema,
|
|
290
|
+
canonical_url: z.url(),
|
|
291
|
+
})
|
|
292
|
+
.strict();
|
|
293
|
+
export const offerSearchResultSchema = z.union([
|
|
294
|
+
offerSearchResultBaseSchema.extend({
|
|
295
|
+
program_id: programId,
|
|
296
|
+
program_slug: slug,
|
|
297
|
+
program_title: nonEmpty,
|
|
298
|
+
}),
|
|
299
|
+
offerSearchResultBaseSchema,
|
|
300
|
+
]);
|
|
301
|
+
export const searchEntitiesResponseSchema = apiEnvelope(z.array(compiledEntitySchema)).extend({
|
|
302
|
+
query: z.string(),
|
|
303
|
+
next_cursor: z.string().min(1).nullable(),
|
|
304
|
+
});
|
|
305
|
+
export const searchOffersResponseSchema = apiEnvelope(z.array(offerSearchResultSchema)).extend({
|
|
306
|
+
query: z.string(),
|
|
307
|
+
next_cursor: z.string().min(1).nullable(),
|
|
308
|
+
});
|
|
309
|
+
export const entityAgentReadinessProfilesResponseSchema = apiEnvelope(z.array(agentReadinessProjectionSchema)).extend({
|
|
310
|
+
entity_id: entityId,
|
|
311
|
+
});
|
|
312
|
+
export const agentReadinessProfileResponseSchema = apiEnvelope(z.union([agentReadinessProjectionSchema, agentReadinessProfileTombstoneSchema]));
|
|
313
|
+
export const agentReadinessProjectionLineageResponseSchema = apiEnvelope(z.union([agentReadinessProjectionLineageSchema, agentReadinessProfileTombstoneSchema]));
|
|
314
|
+
export const agentReadinessProjectionLineageListResponseSchema = apiEnvelope(z.array(agentReadinessProjectionLineageSchema)).extend({
|
|
315
|
+
query: z.string(),
|
|
316
|
+
next_cursor: z.string().min(1).nullable(),
|
|
317
|
+
});
|
|
318
|
+
export const entityAgentReadinessProjectionLineageResponseSchema = apiEnvelope(z.array(agentReadinessProjectionLineageSchema)).extend({ entity_id: entityId });
|
|
319
|
+
export const agentReadinessProfileListResponseSchema = apiEnvelope(z.array(agentReadinessProfileSummarySchema)).extend({
|
|
320
|
+
query: z.string(),
|
|
321
|
+
next_cursor: z.string().min(1).nullable(),
|
|
322
|
+
});
|
|
323
|
+
export const agentReadinessOfferRelationResponseSchema = apiEnvelope(agentReadinessOfferRelationRevisionSchema);
|
|
324
|
+
export const agentReadinessOfferRelationListResponseSchema = apiEnvelope(z.array(agentReadinessOfferRelationRevisionSchema)).extend({
|
|
325
|
+
next_cursor: z.string().min(1).nullable(),
|
|
326
|
+
});
|
|
327
|
+
export const offerAgentReadinessProfilesResponseSchema = apiEnvelope(z.array(z
|
|
328
|
+
.object({
|
|
329
|
+
relation: agentReadinessOfferRelationRevisionSchema,
|
|
330
|
+
profile: agentReadinessProjectionSchema,
|
|
331
|
+
})
|
|
332
|
+
.strict()
|
|
333
|
+
.superRefine((value, context) => {
|
|
334
|
+
if (value.relation.agent_readiness_profile_id !== value.profile.agent_readiness_profile_id) {
|
|
335
|
+
context.addIssue({
|
|
336
|
+
code: "custom",
|
|
337
|
+
message: "Offer readiness relation does not bind its exact profile projection.",
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
})))
|
|
341
|
+
.extend({ offer_id: offerId })
|
|
342
|
+
.superRefine((value, context) => {
|
|
343
|
+
if (value.data.some((item) => item.relation.offer_id !== value.offer_id)) {
|
|
344
|
+
context.addIssue({
|
|
345
|
+
code: "custom",
|
|
346
|
+
path: ["data"],
|
|
347
|
+
message: "Offer readiness response contains a relation for another Offer.",
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
});
|
|
351
|
+
export const eligibilityResponseSchema = apiEnvelope(z
|
|
352
|
+
.object({
|
|
353
|
+
entity_id: entityId,
|
|
354
|
+
program_id: programId,
|
|
355
|
+
offer_id: offerId,
|
|
356
|
+
revision_digest: digest,
|
|
357
|
+
lifecycle: lifecycleStatusSchema,
|
|
358
|
+
evaluation: eligibilityEvaluationSchema,
|
|
359
|
+
})
|
|
360
|
+
.strict());
|
|
361
|
+
export const provenanceResponseSchema = apiEnvelope(provenanceEntrySchema);
|
|
362
|
+
export const revisionResponseSchema = apiEnvelope(z.union([
|
|
363
|
+
entityRevisionSchema,
|
|
364
|
+
programRevisionSchema,
|
|
365
|
+
offerRevisionSchema,
|
|
366
|
+
agentReadinessRevisionSchema,
|
|
367
|
+
agentReadinessDeclarationRevisionSchema,
|
|
368
|
+
]));
|
|
369
|
+
const publicCatalogEventVariants = Object.entries(catalogEventPayloadSchemas).map(([kind, payload]) => z
|
|
370
|
+
.object({
|
|
371
|
+
event_contract: z.literal("sourcey.catalog-event/v1alpha1"),
|
|
372
|
+
kind: z.literal(kind),
|
|
373
|
+
issuer_id: identifier,
|
|
374
|
+
operation_id: operationId,
|
|
375
|
+
subject: eventSubjectSchema,
|
|
376
|
+
occurred_at: instant,
|
|
377
|
+
payload,
|
|
378
|
+
event_id: digest,
|
|
379
|
+
protected: protectedSignatureSchema,
|
|
380
|
+
})
|
|
381
|
+
.strict());
|
|
382
|
+
export const publicCatalogEventSchema = z.union(publicCatalogEventVariants);
|
|
383
|
+
export const eventResponseSchema = apiEnvelope(publicCatalogEventSchema);
|
|
384
|
+
export const eventListResponseSchema = pagedApiEnvelope(publicCatalogEventSchema);
|
|
385
|
+
export const captureReceiptResponseSchema = apiEnvelope(captureReceiptSchema);
|
|
386
|
+
export const captureReceiptListResponseSchema = pagedApiEnvelope(captureReceiptSchema);
|
|
387
|
+
export const publicObservationSchema = observationSchema;
|
|
388
|
+
export const observationResponseSchema = apiEnvelope(publicObservationSchema);
|
|
389
|
+
const closureItems = (item) => z.array(item).max(1_000).default([]);
|
|
390
|
+
const closureQueryItems = (item) => z.array(item).default([]);
|
|
391
|
+
const catalogClosureFields = (items) => ({
|
|
392
|
+
entity_ids: items(entityId),
|
|
393
|
+
domains: items(z.string().min(1).max(253)),
|
|
394
|
+
program_ids: items(programId),
|
|
395
|
+
offer_ids: items(offerId),
|
|
396
|
+
agent_readiness_profile_ids: items(agentReadinessProfileId),
|
|
397
|
+
revision_digests: items(digest),
|
|
398
|
+
event_ids: items(digest),
|
|
399
|
+
event_operation_ids: items(operationId),
|
|
400
|
+
observation_ids: items(digest),
|
|
401
|
+
capture_receipt_digests: items(digest),
|
|
402
|
+
capture_operation_ids: items(operationId),
|
|
403
|
+
});
|
|
404
|
+
const nonEmptyCatalogClosureQuery = (schema) => schema.refine((value) => Object.values(value).some((items) => Array.isArray(items) && items.length > 0), {
|
|
405
|
+
message: "A catalog closure query must name at least one immutable object or current subject.",
|
|
406
|
+
});
|
|
407
|
+
/** Client-side semantic query; transport adapters partition it into bounded requests. */
|
|
408
|
+
export const catalogClosureQuerySchema = nonEmptyCatalogClosureQuery(z.object(catalogClosureFields(closureQueryItems)).strict());
|
|
409
|
+
export const catalogClosureRequestSchema = nonEmptyCatalogClosureQuery(z.object(catalogClosureFields(closureItems)).strict());
|
|
410
|
+
const catalogClosureRevisionSchema = z.union([
|
|
411
|
+
entityRevisionSchema,
|
|
412
|
+
programRevisionSchema,
|
|
413
|
+
offerRevisionSchema,
|
|
414
|
+
agentReadinessRevisionHeadSchema,
|
|
415
|
+
]);
|
|
416
|
+
export const catalogClosureResponseSchema = apiEnvelope(z
|
|
417
|
+
.object({
|
|
418
|
+
resource_digests: releaseResourceDigestsSchema,
|
|
419
|
+
current_revision_digests: z.array(digest),
|
|
420
|
+
revisions: z.array(z
|
|
421
|
+
.object({
|
|
422
|
+
revision_digest: digest,
|
|
423
|
+
revision: catalogClosureRevisionSchema,
|
|
424
|
+
})
|
|
425
|
+
.strict()),
|
|
426
|
+
events: z.array(publicCatalogEventSchema),
|
|
427
|
+
observations: z.array(publicObservationSchema),
|
|
428
|
+
capture_receipts: z.array(captureReceiptSchema),
|
|
429
|
+
})
|
|
430
|
+
.strict());
|
|
431
|
+
const idPath = z.object({ id: nonEmpty }).strict();
|
|
432
|
+
const releaseIdPath = z.object({ release_id: digest }).strict();
|
|
433
|
+
const entityIdPath = z.object({ entity: entityId }).strict();
|
|
434
|
+
const entitySlugPath = z.object({ entity: slug }).strict();
|
|
435
|
+
const entityProgramPath = z.object({ entity: slug, program: slug }).strict();
|
|
436
|
+
const entityOfferPath = z.object({ entity: slug, offer: slug }).strict();
|
|
437
|
+
const entityAgentReadinessScopePath = z
|
|
438
|
+
.object({
|
|
439
|
+
entity: entityId,
|
|
440
|
+
product: agentReadinessScopeKeySchema,
|
|
441
|
+
funnel: agentReadinessScopeKeySchema,
|
|
442
|
+
})
|
|
443
|
+
.strict();
|
|
444
|
+
const query = z
|
|
445
|
+
.object({
|
|
446
|
+
q: z.string().max(256).default(""),
|
|
447
|
+
cursor: z.string().min(1).optional(),
|
|
448
|
+
limit: z.coerce.number().int().min(1).max(100).default(20),
|
|
449
|
+
})
|
|
450
|
+
.strict();
|
|
451
|
+
const entityListQuery = z
|
|
452
|
+
.object({
|
|
453
|
+
q: z.string().max(256).default(""),
|
|
454
|
+
category: slug.optional(),
|
|
455
|
+
cursor: z.string().min(1).optional(),
|
|
456
|
+
limit: z.coerce.number().int().min(1).max(100).optional(),
|
|
457
|
+
domain: z.string().min(1).max(253).optional(),
|
|
458
|
+
})
|
|
459
|
+
.strict();
|
|
460
|
+
const entityAssetListQuery = z
|
|
461
|
+
.object({
|
|
462
|
+
entity_id: entityId.optional(),
|
|
463
|
+
cursor: z.string().min(1).optional(),
|
|
464
|
+
limit: z.coerce.number().int().min(1).max(100).default(100),
|
|
465
|
+
})
|
|
466
|
+
.strict();
|
|
467
|
+
export const agentReadinessProfileListQuerySchema = z
|
|
468
|
+
.object({
|
|
469
|
+
q: z.string().max(256).default(""),
|
|
470
|
+
entity_id: entityId.optional(),
|
|
471
|
+
offer_id: offerId.optional(),
|
|
472
|
+
product_key: agentReadinessScopeKeySchema.optional(),
|
|
473
|
+
funnel_key: agentReadinessScopeKeySchema.optional(),
|
|
474
|
+
grade: agentReadinessGradeSchema.optional(),
|
|
475
|
+
public_state: agentReadinessPublicStateSchema.optional(),
|
|
476
|
+
lifecycle: lifecycleStatusSchema.optional(),
|
|
477
|
+
freshness: agentReadinessFreshnessSchema.optional(),
|
|
478
|
+
cursor: z.string().min(1).optional(),
|
|
479
|
+
limit: z.coerce.number().int().min(1).max(100).default(20),
|
|
480
|
+
})
|
|
481
|
+
.strict();
|
|
482
|
+
export const agentReadinessOfferRelationListQuerySchema = z
|
|
483
|
+
.object({
|
|
484
|
+
agent_readiness_profile_id: agentReadinessProfileId.optional(),
|
|
485
|
+
offer_id: offerId.optional(),
|
|
486
|
+
cursor: z.string().min(1).optional(),
|
|
487
|
+
limit: z.coerce.number().int().min(1).max(100).default(20),
|
|
488
|
+
})
|
|
489
|
+
.strict();
|
|
490
|
+
const eventListQuery = z
|
|
491
|
+
.object({
|
|
492
|
+
operation_id: operationId.optional(),
|
|
493
|
+
entity_id: entityId.optional(),
|
|
494
|
+
cursor: z.string().min(1).optional(),
|
|
495
|
+
limit: z.coerce.number().int().min(1).max(100).optional(),
|
|
496
|
+
})
|
|
497
|
+
.strict()
|
|
498
|
+
.refine((value) => value.operation_id !== undefined || value.entity_id !== undefined, {
|
|
499
|
+
message: "An exact operation_id or entity_id filter is required.",
|
|
500
|
+
});
|
|
501
|
+
const operationLookupQuery = z
|
|
502
|
+
.object({
|
|
503
|
+
operation_id: operationId,
|
|
504
|
+
cursor: z.string().min(1).optional(),
|
|
505
|
+
limit: z.coerce.number().int().min(1).max(100).optional(),
|
|
506
|
+
})
|
|
507
|
+
.strict();
|
|
508
|
+
const commonErrors = {
|
|
509
|
+
400: catalogApiErrorResponseSchema,
|
|
510
|
+
404: catalogApiErrorResponseSchema,
|
|
511
|
+
};
|
|
512
|
+
const submissionId = z.string().regex(/^sub_[a-f0-9]{64}$/);
|
|
513
|
+
export const CATALOG_SUBMISSION_STAGES = PUBLICATION_STAGES;
|
|
514
|
+
const submissionStage = z.enum(PUBLICATION_STAGES);
|
|
515
|
+
export const catalogSubmissionAuthoringFileSchema = z
|
|
516
|
+
.object({
|
|
517
|
+
path: z.string().regex(/^entities\/[a-z0-9]{2}\/[a-z0-9]+(?:-[a-z0-9]+)*\.ya?ml$/),
|
|
518
|
+
content: z.string().min(1),
|
|
519
|
+
})
|
|
520
|
+
.strict();
|
|
521
|
+
export const catalogSubmissionAuthoritySchema = z.discriminatedUnion("kind", [
|
|
522
|
+
z.object({ kind: z.literal("authenticated_form") }).strict(),
|
|
523
|
+
z
|
|
524
|
+
.object({
|
|
525
|
+
kind: z.literal("paid_agent"),
|
|
526
|
+
request_id: z
|
|
527
|
+
.string()
|
|
528
|
+
.trim()
|
|
529
|
+
.regex(/^[A-Za-z0-9_-]{32,128}$/u),
|
|
530
|
+
})
|
|
531
|
+
.strict(),
|
|
532
|
+
z
|
|
533
|
+
.object({
|
|
534
|
+
kind: z.literal("governed_ops"),
|
|
535
|
+
command_digest: digest,
|
|
536
|
+
grant_digest: digest,
|
|
537
|
+
approval_digest: digest.nullable(),
|
|
538
|
+
run_receipt_digest: digest,
|
|
539
|
+
admission_artifact_digests: z.array(digest).default([]),
|
|
540
|
+
})
|
|
541
|
+
.strict(),
|
|
542
|
+
]);
|
|
543
|
+
/**
|
|
544
|
+
* Transport-safe authoring input. Catalog's canonical authoring schema remains
|
|
545
|
+
* the sole semantic validator for each document; Cloud retains these exact
|
|
546
|
+
* bytes and passes them to that validator without interpreting Entity, Program,
|
|
547
|
+
* or Offer fields.
|
|
548
|
+
*/
|
|
549
|
+
export const catalogSubmissionRequestSchema = z
|
|
550
|
+
.object({
|
|
551
|
+
authoring_files: z.array(catalogSubmissionAuthoringFileSchema).default([]),
|
|
552
|
+
remove_entity_ids: z.array(entityId).default([]),
|
|
553
|
+
asset_submissions: z.array(entityAssetSubmissionSchema).default([]),
|
|
554
|
+
authority: catalogSubmissionAuthoritySchema,
|
|
555
|
+
})
|
|
556
|
+
.strict()
|
|
557
|
+
.refine((value) => value.authoring_files.length > 0 ||
|
|
558
|
+
value.remove_entity_ids.length > 0 ||
|
|
559
|
+
value.asset_submissions.length > 0, "A submission must contain authoring, an Entity removal, or an Entity asset.");
|
|
560
|
+
export const catalogSubmissionAuthorizationPolicySchema = z.enum(["proposal", "publication"]);
|
|
561
|
+
export const catalogSubmissionOperatorAdmissionCoreSchema = z
|
|
562
|
+
.object({
|
|
563
|
+
admission_contract: z.literal("sourcey.catalog-submission-operator-admission/v1alpha1"),
|
|
564
|
+
submission_id: submissionId,
|
|
565
|
+
payload_digest: digest,
|
|
566
|
+
live_parent_release_id: digest,
|
|
567
|
+
prior_work_item_digest: digest,
|
|
568
|
+
admission_artifact_digests: z.array(digest).min(1),
|
|
569
|
+
operator_id: z.string().trim().min(1),
|
|
570
|
+
publication_authorization_digest: digest,
|
|
571
|
+
attached_at: instant,
|
|
572
|
+
})
|
|
573
|
+
.strict();
|
|
574
|
+
export const catalogSubmissionOperatorAdmissionSchema = catalogSubmissionOperatorAdmissionCoreSchema
|
|
575
|
+
.extend({ operator_admission_digest: digest })
|
|
576
|
+
.strict();
|
|
577
|
+
/**
|
|
578
|
+
* Protected handoff from Cloud ingress custody to the Catalog application.
|
|
579
|
+
* The public request bytes remain unchanged; Cloud adds only the exact
|
|
580
|
+
* authentication, authorization-policy, parent, and idempotency bindings it
|
|
581
|
+
* actually observed.
|
|
582
|
+
*/
|
|
583
|
+
export const catalogSubmissionWorkItemCoreSchema = z
|
|
584
|
+
.object({
|
|
585
|
+
submission_id: submissionId,
|
|
586
|
+
idempotency_key: z.string().min(8).max(128),
|
|
587
|
+
request: catalogSubmissionRequestSchema,
|
|
588
|
+
payload_digest: digest,
|
|
589
|
+
authentication_digest: digest,
|
|
590
|
+
authorization_digest: digest,
|
|
591
|
+
authorization_policy: catalogSubmissionAuthorizationPolicySchema,
|
|
592
|
+
live_parent_release_id: digest,
|
|
593
|
+
operator_admission: catalogSubmissionOperatorAdmissionSchema.nullable().default(null),
|
|
594
|
+
})
|
|
595
|
+
.strict();
|
|
596
|
+
export const catalogSubmissionWorkItemSchema = catalogSubmissionWorkItemCoreSchema
|
|
597
|
+
.extend({ work_item_digest: digest })
|
|
598
|
+
.strict();
|
|
599
|
+
export const catalogSubmissionHeadersSchema = z.looseObject({
|
|
600
|
+
"idempotency-key": z.string().min(8).max(128),
|
|
601
|
+
});
|
|
602
|
+
export const catalogSubmissionDiagnosticSchema = publicationDiagnosticSchema;
|
|
603
|
+
export const catalogSubmissionStageResultSchema = publicationStageResultSchema;
|
|
604
|
+
export const catalogSubmissionStateSchema = z.enum([
|
|
605
|
+
"queued",
|
|
606
|
+
"active",
|
|
607
|
+
"awaiting_review",
|
|
608
|
+
"awaiting_admission",
|
|
609
|
+
"awaiting_authorization",
|
|
610
|
+
"rejected",
|
|
611
|
+
"invalidated",
|
|
612
|
+
"published",
|
|
613
|
+
]);
|
|
614
|
+
export const catalogSubmissionTelemetrySchema = z
|
|
615
|
+
.object({
|
|
616
|
+
queued_ms: z.number().int().nonnegative(),
|
|
617
|
+
active_ms: z.number().int().nonnegative(),
|
|
618
|
+
live_readback_ms: z.number().int().nonnegative().nullable(),
|
|
619
|
+
closure_cardinality: z.number().int().nonnegative(),
|
|
620
|
+
stages_invoked: z.array(submissionStage),
|
|
621
|
+
cache_reuse: z
|
|
622
|
+
.object({
|
|
623
|
+
reused: z.number().int().nonnegative(),
|
|
624
|
+
created: z.number().int().nonnegative(),
|
|
625
|
+
})
|
|
626
|
+
.strict(),
|
|
627
|
+
})
|
|
628
|
+
.strict();
|
|
629
|
+
export const catalogSubmissionProcessingResultSchema = z.discriminatedUnion("state", [
|
|
630
|
+
z
|
|
631
|
+
.object({
|
|
632
|
+
state: z.literal("awaiting_review"),
|
|
633
|
+
proposal_digest: z.null(),
|
|
634
|
+
change_set_digest: z.null(),
|
|
635
|
+
live_parent_release_id: digest,
|
|
636
|
+
publication_release_id: z.null(),
|
|
637
|
+
stages: z.array(catalogSubmissionStageResultSchema),
|
|
638
|
+
telemetry: catalogSubmissionTelemetrySchema.omit({ queued_ms: true }),
|
|
639
|
+
})
|
|
640
|
+
.strict(),
|
|
641
|
+
z
|
|
642
|
+
.object({
|
|
643
|
+
state: z.enum(["awaiting_admission", "awaiting_authorization", "rejected", "published"]),
|
|
644
|
+
proposal_digest: digest,
|
|
645
|
+
change_set_digest: digest,
|
|
646
|
+
live_parent_release_id: digest,
|
|
647
|
+
publication_release_id: digest.nullable(),
|
|
648
|
+
stages: z.array(catalogSubmissionStageResultSchema),
|
|
649
|
+
telemetry: catalogSubmissionTelemetrySchema.omit({ queued_ms: true }),
|
|
650
|
+
})
|
|
651
|
+
.strict(),
|
|
652
|
+
]);
|
|
653
|
+
export const catalogSubmissionStatusSchema = z
|
|
654
|
+
.object({
|
|
655
|
+
submission_id: submissionId,
|
|
656
|
+
state: catalogSubmissionStateSchema,
|
|
657
|
+
ingress: z.enum(["authenticated_form", "paid_agent", "governed_ops"]),
|
|
658
|
+
payload_digest: digest,
|
|
659
|
+
authentication_digest: digest,
|
|
660
|
+
proposal_digest: digest.nullable(),
|
|
661
|
+
change_set_digest: digest.nullable(),
|
|
662
|
+
live_parent_release_id: digest,
|
|
663
|
+
publication_release_id: digest.nullable(),
|
|
664
|
+
stages: z.array(catalogSubmissionStageResultSchema),
|
|
665
|
+
telemetry: catalogSubmissionTelemetrySchema,
|
|
666
|
+
created_at: instant,
|
|
667
|
+
updated_at: instant,
|
|
668
|
+
})
|
|
669
|
+
.strict();
|
|
670
|
+
export const catalogSubmissionResponseSchema = apiEnvelope(catalogSubmissionStatusSchema);
|
|
671
|
+
export const entityAssetUploadResponseSchema = apiEnvelope(entityAssetUploadReceiptSchema);
|
|
672
|
+
export const agentReadinessDeclarationDraftResponseSchema = apiEnvelope(agentReadinessDeclarationDraftResultSchema);
|
|
673
|
+
const submissionIdPath = z.object({ submission_id: submissionId }).strict();
|
|
674
|
+
/**
|
|
675
|
+
* The complete public Sourcey HTTP API surface for major version 1.
|
|
676
|
+
*
|
|
677
|
+
* Hosted account, claim, operator, and provider routes are intentionally owned
|
|
678
|
+
* by Cloud capability contracts and must never be appended to this registry.
|
|
679
|
+
*/
|
|
680
|
+
export const publicCatalogV1Endpoints = [
|
|
681
|
+
{
|
|
682
|
+
operationId: "getCatalogStatus",
|
|
683
|
+
method: "GET",
|
|
684
|
+
path: "/v1/status",
|
|
685
|
+
summary: "Read serving status and the exact catalog release pin.",
|
|
686
|
+
tags: ["Catalog"],
|
|
687
|
+
responses: { 200: catalogStatusResponseSchema },
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
operationId: "getCatalogRelease",
|
|
691
|
+
method: "GET",
|
|
692
|
+
path: "/v1/release",
|
|
693
|
+
summary: "Read the immutable catalog release descriptor.",
|
|
694
|
+
tags: ["Catalog"],
|
|
695
|
+
responses: { 200: catalogReleaseReadSchema },
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
operationId: "getCatalogReleaseById",
|
|
699
|
+
method: "GET",
|
|
700
|
+
path: "/v1/releases/{release_id}",
|
|
701
|
+
summary: "Read an immutable retained catalog release.",
|
|
702
|
+
tags: ["Catalog"],
|
|
703
|
+
request: { path: releaseIdPath },
|
|
704
|
+
responses: { 200: catalogReleaseSummarySchema, ...commonErrors },
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
operationId: "getCatalog",
|
|
708
|
+
method: "GET",
|
|
709
|
+
path: "/v1/catalog",
|
|
710
|
+
summary: "Read the complete canonical catalog artifact.",
|
|
711
|
+
tags: ["Catalog"],
|
|
712
|
+
responses: { 200: catalogResponseSchema },
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
operationId: "getCatalogTaxonomy",
|
|
716
|
+
method: "GET",
|
|
717
|
+
path: "/v1/taxonomy",
|
|
718
|
+
summary: "Read the exact current Catalog taxonomy.",
|
|
719
|
+
tags: ["Catalog"],
|
|
720
|
+
responses: { 200: catalogTaxonomyResponseSchema },
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
operationId: "listEntities",
|
|
724
|
+
method: "GET",
|
|
725
|
+
path: "/v1/entities",
|
|
726
|
+
summary: "List catalog entities.",
|
|
727
|
+
tags: ["Catalog"],
|
|
728
|
+
request: { query: entityListQuery },
|
|
729
|
+
responses: { 200: entityListResponseSchema, 400: catalogApiErrorResponseSchema },
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
operationId: "getEntity",
|
|
733
|
+
method: "GET",
|
|
734
|
+
path: "/v1/entities/{entity}",
|
|
735
|
+
summary: "Read an entity by immutable ID.",
|
|
736
|
+
tags: ["Catalog"],
|
|
737
|
+
request: { path: entityIdPath },
|
|
738
|
+
responses: { 200: entityResponseSchema, ...commonErrors },
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
operationId: "getEntityBySlug",
|
|
742
|
+
method: "GET",
|
|
743
|
+
path: "/v1/entities/by-slug/{entity}",
|
|
744
|
+
summary: "Read an entity through its current or historical slug.",
|
|
745
|
+
tags: ["Catalog"],
|
|
746
|
+
request: { path: entitySlugPath },
|
|
747
|
+
responses: { 200: entityResponseSchema, ...commonErrors },
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
operationId: "listEntityAssets",
|
|
751
|
+
method: "GET",
|
|
752
|
+
path: "/v1/entity-assets",
|
|
753
|
+
summary: "List exact current Entity icon bindings and immutable derivative paths.",
|
|
754
|
+
tags: ["Catalog"],
|
|
755
|
+
request: { query: entityAssetListQuery },
|
|
756
|
+
responses: { 200: entityAssetListResponseSchema, 400: catalogApiErrorResponseSchema },
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
operationId: "listEntityAgentReadinessProfiles",
|
|
760
|
+
method: "GET",
|
|
761
|
+
path: "/v1/entities/{entity}/agent-readiness-profiles",
|
|
762
|
+
summary: "List published agent readiness profiles for an entity.",
|
|
763
|
+
tags: ["Catalog"],
|
|
764
|
+
request: { path: entityIdPath },
|
|
765
|
+
responses: { 200: entityAgentReadinessProfilesResponseSchema, ...commonErrors },
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
operationId: "getEntityAgentReadinessProfile",
|
|
769
|
+
method: "GET",
|
|
770
|
+
path: "/v1/entities/{entity}/agent-readiness-profiles/{product}/{funnel}",
|
|
771
|
+
summary: "Resolve a published agent readiness profile by immutable entity and exact scope keys.",
|
|
772
|
+
tags: ["Catalog"],
|
|
773
|
+
request: { path: entityAgentReadinessScopePath },
|
|
774
|
+
responses: { 200: agentReadinessProfileResponseSchema, ...commonErrors },
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
operationId: "getProgram",
|
|
778
|
+
method: "GET",
|
|
779
|
+
path: "/v1/programs/{id}",
|
|
780
|
+
summary: "Read a program by immutable ID.",
|
|
781
|
+
tags: ["Catalog"],
|
|
782
|
+
request: { path: idPath },
|
|
783
|
+
responses: { 200: programResponseSchema, ...commonErrors },
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
operationId: "getProgramBySlug",
|
|
787
|
+
method: "GET",
|
|
788
|
+
path: "/v1/programs/{entity}/{program}",
|
|
789
|
+
summary: "Read a program by entity and program slug.",
|
|
790
|
+
tags: ["Catalog"],
|
|
791
|
+
request: { path: entityProgramPath },
|
|
792
|
+
responses: { 200: programResponseSchema, ...commonErrors },
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
operationId: "getOffer",
|
|
796
|
+
method: "GET",
|
|
797
|
+
path: "/v1/offers/{id}",
|
|
798
|
+
summary: "Read an offer by immutable ID.",
|
|
799
|
+
tags: ["Catalog"],
|
|
800
|
+
request: { path: idPath },
|
|
801
|
+
responses: { 200: offerResponseSchema, ...commonErrors },
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
operationId: "getOfferBySlug",
|
|
805
|
+
method: "GET",
|
|
806
|
+
path: "/v1/offers/{entity}/{offer}",
|
|
807
|
+
summary: "Read an offer by entity and offer slug.",
|
|
808
|
+
tags: ["Catalog"],
|
|
809
|
+
request: { path: entityOfferPath },
|
|
810
|
+
responses: { 200: offerResponseSchema, ...commonErrors },
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
operationId: "searchCatalog",
|
|
814
|
+
method: "GET",
|
|
815
|
+
path: "/v1/search",
|
|
816
|
+
summary: "Search the catalog.",
|
|
817
|
+
tags: ["Catalog"],
|
|
818
|
+
request: { query },
|
|
819
|
+
responses: { 200: searchEntitiesResponseSchema, 400: catalogApiErrorResponseSchema },
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
operationId: "searchOffers",
|
|
823
|
+
method: "GET",
|
|
824
|
+
path: "/v1/search/offers",
|
|
825
|
+
summary: "Search offers through the catalog index.",
|
|
826
|
+
tags: ["Catalog"],
|
|
827
|
+
request: { query },
|
|
828
|
+
responses: { 200: searchOffersResponseSchema, 400: catalogApiErrorResponseSchema },
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
operationId: "checkEligibility",
|
|
832
|
+
method: "POST",
|
|
833
|
+
path: "/v1/eligibility/check",
|
|
834
|
+
summary: "Evaluate structured eligibility by immutable offer ID.",
|
|
835
|
+
tags: ["Catalog"],
|
|
836
|
+
request: { body: eligibilityCheckInputSchema },
|
|
837
|
+
responses: {
|
|
838
|
+
200: eligibilityResponseSchema,
|
|
839
|
+
...commonErrors,
|
|
840
|
+
},
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
operationId: "getProvenance",
|
|
844
|
+
method: "GET",
|
|
845
|
+
path: "/v1/provenance/{id}",
|
|
846
|
+
summary: "Read the closed provenance graph for a revision.",
|
|
847
|
+
tags: ["Catalog"],
|
|
848
|
+
request: { path: idPath },
|
|
849
|
+
responses: { 200: provenanceResponseSchema, ...commonErrors },
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
operationId: "getRevisionProvenance",
|
|
853
|
+
method: "GET",
|
|
854
|
+
path: "/v1/revisions/{id}/provenance",
|
|
855
|
+
summary: "Read provenance through a revision-scoped route.",
|
|
856
|
+
tags: ["Catalog"],
|
|
857
|
+
request: { path: idPath },
|
|
858
|
+
responses: { 200: provenanceResponseSchema, ...commonErrors },
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
operationId: "getRevision",
|
|
862
|
+
method: "GET",
|
|
863
|
+
path: "/v1/revisions/{id}",
|
|
864
|
+
summary: "Read an immutable entity, program, offer, or agent readiness revision.",
|
|
865
|
+
tags: ["Catalog"],
|
|
866
|
+
request: { path: idPath },
|
|
867
|
+
responses: { 200: revisionResponseSchema, ...commonErrors },
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
operationId: "listEvents",
|
|
871
|
+
method: "GET",
|
|
872
|
+
path: "/v1/events",
|
|
873
|
+
summary: "Find catalog events by exact operation identity.",
|
|
874
|
+
tags: ["Catalog"],
|
|
875
|
+
request: { query: eventListQuery },
|
|
876
|
+
responses: { 200: eventListResponseSchema, 400: catalogApiErrorResponseSchema },
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
operationId: "getEvent",
|
|
880
|
+
method: "GET",
|
|
881
|
+
path: "/v1/events/{id}",
|
|
882
|
+
summary: "Read an immutable catalog event.",
|
|
883
|
+
tags: ["Catalog"],
|
|
884
|
+
request: { path: idPath },
|
|
885
|
+
responses: { 200: eventResponseSchema, ...commonErrors },
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
operationId: "listCaptureReceipts",
|
|
889
|
+
method: "GET",
|
|
890
|
+
path: "/v1/capture-receipts",
|
|
891
|
+
summary: "Find capture receipts by exact operation identity.",
|
|
892
|
+
tags: ["Catalog"],
|
|
893
|
+
request: { query: operationLookupQuery },
|
|
894
|
+
responses: {
|
|
895
|
+
200: captureReceiptListResponseSchema,
|
|
896
|
+
400: catalogApiErrorResponseSchema,
|
|
897
|
+
},
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
operationId: "getCaptureReceipt",
|
|
901
|
+
method: "GET",
|
|
902
|
+
path: "/v1/capture-receipts/{id}",
|
|
903
|
+
summary: "Read an immutable evidence capture receipt.",
|
|
904
|
+
tags: ["Catalog"],
|
|
905
|
+
request: { path: idPath },
|
|
906
|
+
responses: { 200: captureReceiptResponseSchema, ...commonErrors },
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
operationId: "getObservation",
|
|
910
|
+
method: "GET",
|
|
911
|
+
path: "/v1/observations/{id}",
|
|
912
|
+
summary: "Read an immutable source observation.",
|
|
913
|
+
tags: ["Catalog"],
|
|
914
|
+
request: { path: idPath },
|
|
915
|
+
responses: { 200: observationResponseSchema, ...commonErrors },
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
operationId: "resolveCatalogClosure",
|
|
919
|
+
method: "POST",
|
|
920
|
+
path: "/v1/catalog/closure",
|
|
921
|
+
summary: "Resolve the existing catalog objects relevant to a bounded mutation.",
|
|
922
|
+
tags: ["Catalog"],
|
|
923
|
+
request: { body: catalogClosureRequestSchema },
|
|
924
|
+
responses: { 200: catalogClosureResponseSchema, 400: catalogApiErrorResponseSchema },
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
operationId: "getChanges",
|
|
928
|
+
method: "GET",
|
|
929
|
+
path: "/v1/changes",
|
|
930
|
+
summary: "Read deterministic release changes using a signed cursor.",
|
|
931
|
+
tags: ["Catalog"],
|
|
932
|
+
request: {
|
|
933
|
+
query: z.object({ cursor: z.string().min(1).optional() }).strict(),
|
|
934
|
+
},
|
|
935
|
+
responses: { 200: changeFeedPageSchema, 400: catalogApiErrorResponseSchema },
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
operationId: "listAgentReadinessProfiles",
|
|
939
|
+
method: "GET",
|
|
940
|
+
path: "/v1/agent-readiness-profiles",
|
|
941
|
+
summary: "Search and filter published agent readiness profiles.",
|
|
942
|
+
tags: ["Catalog"],
|
|
943
|
+
request: { query: agentReadinessProfileListQuerySchema },
|
|
944
|
+
responses: { 200: agentReadinessProfileListResponseSchema, 400: catalogApiErrorResponseSchema },
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
operationId: "getAgentReadinessProfile",
|
|
948
|
+
method: "GET",
|
|
949
|
+
path: "/v1/agent-readiness-profiles/{id}",
|
|
950
|
+
summary: "Read a published agent readiness profile by immutable ID.",
|
|
951
|
+
tags: ["Catalog"],
|
|
952
|
+
request: { path: z.object({ id: agentReadinessProfileId }).strict() },
|
|
953
|
+
responses: {
|
|
954
|
+
200: agentReadinessProfileResponseSchema,
|
|
955
|
+
...commonErrors,
|
|
956
|
+
},
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
operationId: "listAgentReadinessOfferRelations",
|
|
960
|
+
method: "GET",
|
|
961
|
+
path: "/v1/agent-readiness-offer-relations",
|
|
962
|
+
summary: "List exact released relations between agent readiness profiles and Offers.",
|
|
963
|
+
tags: ["Catalog"],
|
|
964
|
+
request: { query: agentReadinessOfferRelationListQuerySchema },
|
|
965
|
+
responses: {
|
|
966
|
+
200: agentReadinessOfferRelationListResponseSchema,
|
|
967
|
+
400: catalogApiErrorResponseSchema,
|
|
968
|
+
},
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
operationId: "getAgentReadinessOfferRelation",
|
|
972
|
+
method: "GET",
|
|
973
|
+
path: "/v1/agent-readiness-offer-relations/{id}",
|
|
974
|
+
summary: "Read an exact released Agent Readiness Offer relation by immutable identity.",
|
|
975
|
+
tags: ["Catalog"],
|
|
976
|
+
request: { path: z.object({ id: identifier }).strict() },
|
|
977
|
+
responses: { 200: agentReadinessOfferRelationResponseSchema, ...commonErrors },
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
operationId: "listOfferAgentReadinessProfiles",
|
|
981
|
+
method: "GET",
|
|
982
|
+
path: "/v1/agent-readiness-profiles/by-offer/{offer}",
|
|
983
|
+
summary: "List published Agent Readiness profiles through exact released Offer relations.",
|
|
984
|
+
tags: ["Catalog"],
|
|
985
|
+
request: { path: z.object({ offer: offerId }).strict() },
|
|
986
|
+
responses: { 200: offerAgentReadinessProfilesResponseSchema, ...commonErrors },
|
|
987
|
+
},
|
|
988
|
+
];
|
|
989
|
+
/** Hosted mutation operations share the v1 OpenAPI authority but are not read-runtime routes. */
|
|
990
|
+
export const catalogSubmissionV1Endpoints = [
|
|
991
|
+
{
|
|
992
|
+
operationId: "uploadEntityAsset",
|
|
993
|
+
method: "POST",
|
|
994
|
+
path: "/v1/submission-asset-uploads",
|
|
995
|
+
summary: "Retain exact authenticated company-icon bytes and return a digest-bound upload receipt for a Catalog submission.",
|
|
996
|
+
tags: ["Catalog"],
|
|
997
|
+
auth: "cookie_or_bearer",
|
|
998
|
+
request: {
|
|
999
|
+
headers: entityAssetUploadHeadersSchema,
|
|
1000
|
+
binary_body: {
|
|
1001
|
+
media_types: assetMediaTypeSchema.options,
|
|
1002
|
+
maximum_bytes: ENTITY_ICON_MAX_SOURCE_BYTES,
|
|
1003
|
+
},
|
|
1004
|
+
},
|
|
1005
|
+
responses: {
|
|
1006
|
+
201: entityAssetUploadResponseSchema,
|
|
1007
|
+
400: catalogApiErrorResponseSchema,
|
|
1008
|
+
401: catalogApiErrorResponseSchema,
|
|
1009
|
+
403: catalogApiErrorResponseSchema,
|
|
1010
|
+
409: catalogApiErrorResponseSchema,
|
|
1011
|
+
},
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
operationId: "createCatalogSubmission",
|
|
1015
|
+
method: "POST",
|
|
1016
|
+
path: "/v1/submissions",
|
|
1017
|
+
summary: "Submit exact Catalog authoring bytes through an authenticated ingress.",
|
|
1018
|
+
tags: ["Catalog"],
|
|
1019
|
+
auth: "cookie_or_bearer",
|
|
1020
|
+
request: {
|
|
1021
|
+
headers: catalogSubmissionHeadersSchema,
|
|
1022
|
+
body: catalogSubmissionRequestSchema,
|
|
1023
|
+
},
|
|
1024
|
+
responses: {
|
|
1025
|
+
202: catalogSubmissionResponseSchema,
|
|
1026
|
+
400: catalogApiErrorResponseSchema,
|
|
1027
|
+
401: catalogApiErrorResponseSchema,
|
|
1028
|
+
403: catalogApiErrorResponseSchema,
|
|
1029
|
+
409: catalogApiErrorResponseSchema,
|
|
1030
|
+
},
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
operationId: "getCatalogSubmission",
|
|
1034
|
+
method: "GET",
|
|
1035
|
+
path: "/v1/submissions/{submission_id}",
|
|
1036
|
+
summary: "Read aggregate validation, admission, and publication state for a submission.",
|
|
1037
|
+
tags: ["Catalog"],
|
|
1038
|
+
auth: "cookie_or_bearer",
|
|
1039
|
+
request: { path: submissionIdPath },
|
|
1040
|
+
responses: {
|
|
1041
|
+
200: catalogSubmissionResponseSchema,
|
|
1042
|
+
400: catalogApiErrorResponseSchema,
|
|
1043
|
+
401: catalogApiErrorResponseSchema,
|
|
1044
|
+
403: catalogApiErrorResponseSchema,
|
|
1045
|
+
404: catalogApiErrorResponseSchema,
|
|
1046
|
+
},
|
|
1047
|
+
},
|
|
1048
|
+
];
|
|
1049
|
+
/** Pure public authoring command; Cloud hosts transport, not semantics or admission. */
|
|
1050
|
+
export const agentReadinessDeclarationDraftV1Endpoints = [
|
|
1051
|
+
{
|
|
1052
|
+
operationId: "prepareAgentReadinessDeclaration",
|
|
1053
|
+
method: "POST",
|
|
1054
|
+
path: "/v1/agent-readiness/declaration-drafts",
|
|
1055
|
+
summary: "Prepare canonical Agent Readiness vendor, service, API, authentication, payment, provisioning, operation, recovery, and agent-standard declaration YAML for a GitHub pull request.",
|
|
1056
|
+
tags: ["Catalog"],
|
|
1057
|
+
request: { body: agentReadinessDeclarationDraftRequestSchema },
|
|
1058
|
+
responses: {
|
|
1059
|
+
200: agentReadinessDeclarationDraftResponseSchema,
|
|
1060
|
+
400: catalogApiErrorResponseSchema,
|
|
1061
|
+
401: catalogApiErrorResponseSchema,
|
|
1062
|
+
403: catalogApiErrorResponseSchema,
|
|
1063
|
+
},
|
|
1064
|
+
},
|
|
1065
|
+
];
|
|
1066
|
+
/** Signed bounded identity projection; Cloud owns transport and signing custody. */
|
|
1067
|
+
export const catalogVerifierV1Endpoints = [
|
|
1068
|
+
{
|
|
1069
|
+
operationId: "createCatalogVerifierIdentityContext",
|
|
1070
|
+
method: "POST",
|
|
1071
|
+
path: "/v1/catalog-verifier/identity-contexts",
|
|
1072
|
+
summary: "Issue a bounded signed live-Catalog identity context for an exact verifier query.",
|
|
1073
|
+
tags: ["Catalog"],
|
|
1074
|
+
request: { body: catalogAdmissionConflictLookupRequestSchema },
|
|
1075
|
+
responses: {
|
|
1076
|
+
200: catalogVerifierIdentityContextResponseSchema,
|
|
1077
|
+
400: catalogApiErrorResponseSchema,
|
|
1078
|
+
405: catalogApiErrorResponseSchema,
|
|
1079
|
+
409: catalogApiErrorResponseSchema,
|
|
1080
|
+
429: catalogApiErrorResponseSchema,
|
|
1081
|
+
503: catalogApiErrorResponseSchema,
|
|
1082
|
+
},
|
|
1083
|
+
},
|
|
1084
|
+
];
|
|
1085
|
+
/** One product-semantic commercial operation; payment never changes Catalog authority. */
|
|
1086
|
+
export const startupCreditsReviewV1Endpoints = [
|
|
1087
|
+
{
|
|
1088
|
+
operationId: "getStartupCreditsReviewPaymentRequirements",
|
|
1089
|
+
method: "GET",
|
|
1090
|
+
path: "/v1/startup-credits/reviews",
|
|
1091
|
+
summary: "Read effect-free x402 payment requirements for a Sourcey Startup Review.",
|
|
1092
|
+
tags: ["Catalog"],
|
|
1093
|
+
responses: {},
|
|
1094
|
+
x402Discovery: startupCreditsReviewProductDescriptor,
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
operationId: "createStartupCreditsReview",
|
|
1098
|
+
method: "POST",
|
|
1099
|
+
path: "/v1/startup-credits/reviews",
|
|
1100
|
+
summary: "Create one evidence-backed human review of a startup credit or startup program.",
|
|
1101
|
+
tags: ["Catalog"],
|
|
1102
|
+
request: {
|
|
1103
|
+
headers: z
|
|
1104
|
+
.object({ "payment-signature": z.string().trim().min(1).max(65_536).optional() })
|
|
1105
|
+
.passthrough(),
|
|
1106
|
+
body: startupCreditsReviewRequestSchema,
|
|
1107
|
+
},
|
|
1108
|
+
responses: {
|
|
1109
|
+
202: startupCreditsReviewResponseSchema,
|
|
1110
|
+
400: catalogApiErrorResponseSchema,
|
|
1111
|
+
409: catalogApiErrorResponseSchema,
|
|
1112
|
+
503: catalogApiErrorResponseSchema,
|
|
1113
|
+
},
|
|
1114
|
+
payable: startupCreditsReviewProductDescriptor,
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
operationId: "getStartupCreditsReview",
|
|
1118
|
+
method: "GET",
|
|
1119
|
+
path: "/v1/startup-credits/reviews/{request_id}",
|
|
1120
|
+
summary: "Read the durable status of one exact paid Startup Review request.",
|
|
1121
|
+
tags: ["Catalog"],
|
|
1122
|
+
request: {
|
|
1123
|
+
path: z.object({ request_id: startupCreditsReviewRequestIdSchema }).strict(),
|
|
1124
|
+
headers: z
|
|
1125
|
+
.object({ "payment-signature": z.string().trim().min(1).max(65_536) })
|
|
1126
|
+
.passthrough(),
|
|
1127
|
+
},
|
|
1128
|
+
responses: {
|
|
1129
|
+
200: startupCreditsReviewResponseSchema,
|
|
1130
|
+
400: catalogApiErrorResponseSchema,
|
|
1131
|
+
404: catalogApiErrorResponseSchema,
|
|
1132
|
+
},
|
|
1133
|
+
},
|
|
1134
|
+
];
|
|
1135
|
+
export const catalogOpenApiV1Endpoints = [
|
|
1136
|
+
...publicCatalogV1Endpoints,
|
|
1137
|
+
...catalogSubmissionV1Endpoints,
|
|
1138
|
+
...agentReadinessDeclarationDraftV1Endpoints,
|
|
1139
|
+
...catalogVerifierV1Endpoints,
|
|
1140
|
+
...startupCreditsReviewV1Endpoints,
|
|
1141
|
+
];
|
|
1142
|
+
export const publicCatalogV1BoundaryErrors = {
|
|
1143
|
+
401: catalogApiErrorResponseSchema,
|
|
1144
|
+
403: catalogApiErrorResponseSchema,
|
|
1145
|
+
405: catalogApiErrorResponseSchema,
|
|
1146
|
+
429: catalogApiErrorResponseSchema,
|
|
1147
|
+
500: catalogApiErrorResponseSchema,
|
|
1148
|
+
503: catalogApiErrorResponseSchema,
|
|
1149
|
+
};
|
|
1150
|
+
//# sourceMappingURL=index.js.map
|