@aventurevc/api-schemas 0.7.302 → 0.7.329
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/README.md +7 -1
- package/dist/address/address.d.ts +2 -8
- package/dist/address/address.js +2 -8
- package/dist/address/association-role.d.ts +2 -8
- package/dist/address/association-role.js +2 -8
- package/dist/address/association.d.ts +2 -8
- package/dist/address/association.js +2 -8
- package/dist/address/city.d.ts +2 -8
- package/dist/address/city.js +2 -8
- package/dist/address/country.d.ts +2 -8
- package/dist/address/country.js +2 -8
- package/dist/address/state.d.ts +2 -8
- package/dist/address/state.js +2 -8
- package/dist/agent/help-question.d.ts +1 -0
- package/dist/agent/help-question.js +2 -1
- package/dist/agent/help.d.ts +1 -1
- package/dist/agent/help.js +1 -2
- package/dist/agent/instruction-detail.d.ts +2 -0
- package/dist/agent/instruction-detail.js +2 -0
- package/dist/agent/instruction-kind.d.ts +2 -0
- package/dist/agent/instruction-kind.js +2 -0
- package/dist/agent/instruction-manifest.d.ts +1 -0
- package/dist/agent/instruction-manifest.js +1 -0
- package/dist/agent/instruction-pointer.d.ts +1 -0
- package/dist/agent/instruction-pointer.js +1 -0
- package/dist/agent/instruction.d.ts +2 -0
- package/dist/agent/instruction.js +2 -0
- package/dist/{personal/api-key.d.ts → api/key.d.ts} +10 -10
- package/dist/{personal/api-key.js → api/key.js} +8 -8
- package/dist/auth/client.d.ts +1 -0
- package/dist/auth/client.js +2 -0
- package/dist/auth/provider-catalog.d.ts +1 -0
- package/dist/billing/additional-usage-funding-type.d.ts +16 -0
- package/dist/billing/additional-usage-funding-type.js +13 -0
- package/dist/billing/additional-usage-meter.d.ts +28 -0
- package/dist/billing/additional-usage-meter.js +20 -0
- package/dist/billing/additional-usage-type.d.ts +23 -0
- package/dist/billing/additional-usage-type.js +23 -0
- package/dist/billing/additional-usage.d.ts +38 -0
- package/dist/billing/additional-usage.js +35 -0
- package/dist/billing/catalog-additional-usage.d.ts +27 -0
- package/dist/billing/catalog-additional-usage.js +19 -0
- package/dist/billing/catalog-allowance.d.ts +26 -0
- package/dist/billing/catalog-allowance.js +25 -0
- package/dist/billing/catalog-credit-pack.d.ts +24 -0
- package/dist/billing/catalog-credit-pack.js +19 -0
- package/dist/billing/catalog-plan.d.ts +34 -0
- package/dist/billing/catalog-plan.js +25 -0
- package/dist/billing/catalog-tier.d.ts +32 -0
- package/dist/billing/catalog-tier.js +21 -0
- package/dist/billing/catalog.d.ts +63 -0
- package/dist/billing/catalog.js +24 -0
- package/dist/billing/checkout-mutation.d.ts +23 -0
- package/dist/billing/checkout-mutation.js +17 -0
- package/dist/billing/checkout.d.ts +25 -0
- package/dist/billing/checkout.js +18 -0
- package/dist/billing/credit-pack-type.d.ts +18 -0
- package/dist/billing/credit-pack-type.js +13 -0
- package/dist/billing/plan-change-mutation.d.ts +23 -0
- package/dist/billing/plan-change-mutation.js +17 -0
- package/dist/billing/plan-change.d.ts +25 -0
- package/dist/billing/plan-change.js +21 -0
- package/dist/billing/plan-type.d.ts +27 -0
- package/dist/billing/plan-type.js +27 -0
- package/dist/billing/portal.d.ts +17 -0
- package/dist/billing/portal.js +15 -0
- package/dist/billing/subscription.d.ts +158 -0
- package/dist/billing/subscription.js +40 -0
- package/dist/blog/post-type.d.ts +0 -1
- package/dist/blog/post-type.js +0 -1
- package/dist/blog/post.d.ts +0 -1
- package/dist/blog/post.js +1 -2
- package/dist/classification/classification.d.ts +2 -6
- package/dist/classification/classification.js +2 -6
- package/dist/cli/authorization-delivery.d.ts +1 -1
- package/dist/cli/authorization-delivery.js +2 -2
- package/dist/cli/authorization-poll.d.ts +1 -1
- package/dist/cli/authorization-terminal-reason.d.ts +1 -1
- package/dist/cli/authorization-terminal-reason.js +1 -1
- package/dist/cli/authorization.d.ts +1 -1
- package/dist/confidence/confidence.d.ts +4 -4
- package/dist/confidence/confidence.js +4 -4
- package/dist/content/compliance.d.ts +2 -5
- package/dist/content/compliance.js +2 -5
- package/dist/content/embedding-match.d.ts +3 -9
- package/dist/content/embedding-match.js +3 -9
- package/dist/content/source-type.d.ts +3 -9
- package/dist/content/source-type.js +3 -9
- package/dist/datasource/agent-identity.d.ts +1 -1
- package/dist/datasource/agent-identity.js +1 -1
- package/dist/datasource/data-source-type.d.ts +1 -1
- package/dist/datasource/data-source-type.js +1 -1
- package/dist/datasource/field-provenance.d.ts +1 -1
- package/dist/datasource/field-provenance.js +1 -1
- package/dist/datasource/provenance-actor-type.d.ts +1 -1
- package/dist/datasource/provenance-actor-type.js +1 -1
- package/dist/datasource/provenance-actor.d.ts +1 -1
- package/dist/datasource/provenance-actor.js +1 -1
- package/dist/datasource/provenance-field-change.d.ts +1 -1
- package/dist/datasource/provenance-field-change.js +1 -1
- package/dist/datasource/provenance-operation.d.ts +1 -1
- package/dist/datasource/provenance-operation.js +1 -1
- package/dist/datasource/provenance-source.d.ts +1 -1
- package/dist/datasource/provenance-source.js +1 -1
- package/dist/datasource/provenance-status.d.ts +1 -1
- package/dist/datasource/provenance-status.js +1 -1
- package/dist/datasource/source-metadata.d.ts +3 -26
- package/dist/datasource/source-metadata.js +3 -26
- package/dist/datasource/tracked-provenance-table.d.ts +1 -1
- package/dist/datasource/tracked-provenance-table.js +1 -1
- package/dist/decimal/range.d.ts +3 -4
- package/dist/decimal/range.js +3 -4
- package/dist/employee/count.d.ts +1 -1
- package/dist/employee/count.js +1 -1
- package/dist/entity/accelerator-participation.d.ts +2 -6
- package/dist/entity/accelerator-participation.js +2 -5
- package/dist/entity/acquisition.d.ts +0 -2
- package/dist/entity/alias-type.d.ts +6 -11
- package/dist/entity/alias-type.js +6 -11
- package/dist/entity/classification.d.ts +2 -5
- package/dist/entity/classification.js +2 -5
- package/dist/entity/comparison-signals.d.ts +0 -3
- package/dist/entity/comparison-signals.js +0 -3
- package/dist/entity/detail-batch.d.ts +0 -1
- package/dist/entity/detail-batch.js +0 -1
- package/dist/entity/detail.d.ts +4 -54
- package/dist/entity/detail.js +0 -3
- package/dist/entity/enrichment.d.ts +3 -5
- package/dist/entity/enrichment.js +2 -5
- package/dist/entity/entity.d.ts +7 -13
- package/dist/entity/entity.js +7 -14
- package/dist/entity/filter-count-meta.d.ts +0 -1
- package/dist/entity/filter-count-meta.js +0 -1
- package/dist/entity/filter-count-result.d.ts +0 -1
- package/dist/entity/filter-count-result.js +0 -1
- package/dist/entity/filter-logo-option.d.ts +4 -3
- package/dist/entity/filter-logo-option.js +3 -2
- package/dist/entity/filter-search-result.d.ts +0 -1
- package/dist/entity/filter-search-result.js +0 -1
- package/dist/entity/filter-search.d.ts +10 -3
- package/dist/entity/filter.d.ts +11 -4
- package/dist/entity/filter.js +4 -3
- package/dist/entity/filters-counts-param.d.ts +19 -0
- package/dist/entity/filters-counts-param.js +23 -0
- package/dist/entity/funding-detail.d.ts +3 -5
- package/dist/entity/funding-detail.js +4 -5
- package/dist/entity/fundraise-filter-criteria.d.ts +2 -1
- package/dist/entity/fundraise-filter-criteria.js +2 -1
- package/dist/entity/fundraise-investor-activity.d.ts +1 -1
- package/dist/entity/fundraise-investor-activity.js +1 -1
- package/dist/entity/fundraise-investor-join.d.ts +2 -2
- package/dist/entity/fundraise-investor-join.js +3 -3
- package/dist/entity/fundraise-transaction-entity.d.ts +3 -6
- package/dist/entity/fundraise-transaction-entity.js +2 -5
- package/dist/entity/fundraise-transaction.d.ts +3 -6
- package/dist/entity/fundraise-transaction.js +2 -5
- package/dist/entity/fundraise.d.ts +1 -7
- package/dist/entity/fundraise.js +1 -7
- package/dist/entity/image.d.ts +6 -11
- package/dist/entity/image.js +6 -11
- package/dist/entity/investments-param.js +1 -1
- package/dist/entity/investor-participation.d.ts +4 -51
- package/dist/entity/investors-param.js +1 -1
- package/dist/entity/list-filter.d.ts +13 -4
- package/dist/entity/list-filter.js +7 -4
- package/dist/entity/list-quality-gate.d.ts +2 -2
- package/dist/entity/list-quality-gate.js +2 -2
- package/dist/entity/list-research.d.ts +2 -11
- package/dist/entity/list-research.js +2 -3
- package/dist/entity/list-summary.d.ts +3 -3
- package/dist/entity/list.d.ts +6 -14
- package/dist/entity/list.js +2 -3
- package/dist/entity/logo-type.d.ts +1 -1
- package/dist/entity/logo-type.js +1 -1
- package/dist/entity/lookup-batch-param.d.ts +18 -0
- package/dist/entity/{detail-batch-param.js → lookup-batch-param.js} +7 -7
- package/dist/entity/lookup-param.js +3 -3
- package/dist/entity/name-alias-entity-alias-type.d.ts +6 -11
- package/dist/entity/name-alias-entity-alias-type.js +6 -11
- package/dist/entity/name-alias-person-alias-type.d.ts +2 -7
- package/dist/entity/name-alias-person-alias-type.js +2 -7
- package/dist/entity/natural-search.d.ts +11 -3
- package/dist/entity/natural-search.js +1 -0
- package/dist/entity/operating-status.d.ts +29 -0
- package/dist/entity/operating-status.js +29 -0
- package/dist/entity/people-param.d.ts +27 -0
- package/dist/entity/people-param.js +34 -0
- package/dist/entity/person-association.d.ts +0 -9
- package/dist/entity/person-association.js +0 -10
- package/dist/entity/person-owner.d.ts +2 -2
- package/dist/entity/person-owner.js +2 -2
- package/dist/entity/relationship.d.ts +0 -4
- package/dist/entity/relationship.js +0 -3
- package/dist/entity/research-detail.d.ts +4 -14
- package/dist/entity/research-detail.js +4 -11
- package/dist/entity/research-fact-value.d.ts +1 -1
- package/dist/entity/research-fact-value.js +1 -1
- package/dist/entity/research-snippet.d.ts +2 -9
- package/dist/entity/research-snippet.js +2 -12
- package/dist/entity/research-value-type.d.ts +5 -8
- package/dist/entity/research-value-type.js +5 -8
- package/dist/entity/research.d.ts +0 -15
- package/dist/entity/research.js +0 -3
- package/dist/entity/resolution.d.ts +4 -51
- package/dist/entity/search-param.js +2 -2
- package/dist/entity/similarity-context.d.ts +0 -1
- package/dist/entity/similarity-context.js +0 -1
- package/dist/entity/similarity-origin.d.ts +0 -1
- package/dist/entity/similarity-origin.js +0 -1
- package/dist/entity/similarity-result.d.ts +4 -13
- package/dist/entity/similarity-result.js +0 -1
- package/dist/entity/sitemap.d.ts +6 -11
- package/dist/entity/sitemap.js +6 -11
- package/dist/entity/suggestion-result.d.ts +4 -12
- package/dist/entity/suggestion.d.ts +4 -12
- package/dist/entity/tag-count.d.ts +0 -1
- package/dist/entity/tag-count.js +0 -1
- package/dist/entity/tag.d.ts +2 -7
- package/dist/entity/tag.js +2 -7
- package/dist/entity/text-bundle.d.ts +3 -9
- package/dist/entity/text-bundle.js +3 -9
- package/dist/entity/url-crawl-cdn-provider.d.ts +2 -10
- package/dist/entity/url-crawl-cdn-provider.js +2 -10
- package/dist/entity/url-crawl-render-mode.d.ts +2 -10
- package/dist/entity/url-crawl-render-mode.js +2 -10
- package/dist/entity/url-link.d.ts +2 -10
- package/dist/entity/url-link.js +2 -10
- package/dist/entity/url-type.d.ts +2 -10
- package/dist/entity/url-type.js +2 -10
- package/dist/entity/valuation-data-confidence.d.ts +1 -22
- package/dist/entity/valuation-data-confidence.js +1 -22
- package/dist/federated/search-provenance.d.ts +1 -0
- package/dist/federated/search-provenance.js +1 -0
- package/dist/federated/search.d.ts +11 -36
- package/dist/federated/search.js +1 -0
- package/dist/funding/stage.d.ts +2 -5
- package/dist/funding/stage.js +2 -5
- package/dist/fundraise/data-confidence.d.ts +2 -5
- package/dist/fundraise/data-confidence.js +2 -5
- package/dist/fundraise/financial-instrument-type.d.ts +2 -2
- package/dist/fundraise/financial-instrument-type.js +2 -2
- package/dist/fundraise/investment-attribution-type.d.ts +3 -9
- package/dist/fundraise/investment-attribution-type.js +3 -9
- package/dist/fundraise/investment-attribution.d.ts +3 -9
- package/dist/fundraise/investment-attribution.js +3 -9
- package/dist/help/citation.d.ts +1 -0
- package/dist/help/citation.js +1 -0
- package/dist/help/scope.d.ts +1 -0
- package/dist/help/scope.js +1 -0
- package/dist/help/source-type.d.ts +1 -0
- package/dist/help/source-type.js +1 -0
- package/dist/http/problem-detail.d.ts +26 -1
- package/dist/http/problem-detail.js +84 -1
- package/dist/identification/candidate.d.ts +42 -0
- package/dist/identification/candidate.js +24 -0
- package/dist/identification/identification.d.ts +86 -0
- package/dist/identification/identification.js +29 -0
- package/dist/identification/subject.d.ts +24 -0
- package/dist/identification/subject.js +28 -0
- package/dist/int/range.d.ts +3 -4
- package/dist/int/range.js +3 -4
- package/dist/investor/activity-filter.d.ts +3 -2
- package/dist/investor/activity-filter.js +3 -2
- package/dist/link/search.d.ts +10 -36
- package/dist/location/directory-entry.d.ts +1 -2
- package/dist/location/directory-entry.js +1 -2
- package/dist/location/identifier.d.ts +1 -1
- package/dist/location/identifier.js +1 -1
- package/dist/location/scope.d.ts +1 -1
- package/dist/location/scope.js +1 -1
- package/dist/location/sitemap.d.ts +81 -18
- package/dist/location/sitemap.js +5 -4
- package/dist/media/object-type.d.ts +3 -3
- package/dist/media/object-type.js +3 -3
- package/dist/media/slot.d.ts +18 -0
- package/dist/media/slot.js +14 -0
- package/dist/media/upload.d.ts +3 -3
- package/dist/media/upload.js +3 -3
- package/dist/natural/search-result.d.ts +10 -16
- package/dist/natural/search-result.js +2 -0
- package/dist/natural/search.d.ts +3 -0
- package/dist/natural/search.js +4 -1
- package/dist/news/detail.d.ts +14 -24
- package/dist/news/detail.js +10 -12
- package/dist/news/match-status.d.ts +20 -0
- package/dist/news/match-status.js +15 -0
- package/dist/news/news.d.ts +1 -10
- package/dist/news/news.js +1 -10
- package/dist/news/resolved-entity-link.d.ts +7 -4
- package/dist/news/resolved-entity-link.js +3 -4
- package/dist/news/resolved-person-link.d.ts +6 -3
- package/dist/news/resolved-person-link.js +2 -3
- package/dist/news/source-url-conflict.js +1 -1
- package/dist/openapi-component-manifest.js +83 -38
- package/dist/pageable/object.d.ts +15 -29
- package/dist/pageable/object.js +15 -29
- package/dist/pagination/schemas.d.ts +52 -520
- package/dist/pagination/schemas.js +26 -100
- package/dist/person/alias-type.d.ts +2 -7
- package/dist/person/alias-type.js +2 -7
- package/dist/person/detail.d.ts +0 -30
- package/dist/person/detail.js +0 -7
- package/dist/person/enrichment.d.ts +0 -6
- package/dist/person/enrichment.js +0 -6
- package/dist/person/filter.d.ts +3 -1
- package/dist/person/filter.js +4 -1
- package/dist/person/graph-career-context.d.ts +3 -5
- package/dist/person/graph-co-investor.d.ts +0 -1
- package/dist/person/graph-similar-entity.d.ts +1 -1
- package/dist/person/graph.d.ts +4 -8
- package/dist/person/image.d.ts +2 -7
- package/dist/person/image.js +2 -7
- package/dist/person/invested-company.d.ts +1 -8
- package/dist/person/invested-company.js +1 -7
- package/dist/person/investment.d.ts +1 -9
- package/dist/person/investment.js +1 -7
- package/dist/person/investor-participation.d.ts +0 -28
- package/dist/person/list-array-filter.d.ts +2 -1
- package/dist/person/list-array-filter.js +2 -1
- package/dist/person/lookup-batch-param.d.ts +18 -0
- package/dist/person/lookup-batch-param.js +21 -0
- package/dist/person/{detail-batch.d.ts → lookup-batch.d.ts} +7 -8
- package/dist/person/{detail-batch.js → lookup-batch.js} +5 -6
- package/dist/person/lookup-param.js +1 -1
- package/dist/person/natural-search-result.d.ts +4 -18
- package/dist/person/natural-search-result.js +2 -0
- package/dist/person/natural-search.d.ts +2 -0
- package/dist/person/natural-search.js +1 -0
- package/dist/person/person.d.ts +2 -16
- package/dist/person/person.js +2 -9
- package/dist/person/search-interpretation.d.ts +3 -0
- package/dist/person/search-interpretation.js +2 -0
- package/dist/person/search-param.js +2 -2
- package/dist/person/similarity-result.d.ts +0 -21
- package/dist/problem/type.d.ts +1 -0
- package/dist/problem/type.js +1 -0
- package/dist/publication/facet.d.ts +29 -0
- package/dist/publication/facet.js +22 -0
- package/dist/publication/publication.d.ts +0 -1
- package/dist/publication/publication.js +1 -2
- package/dist/publication/relation.d.ts +0 -1
- package/dist/publication/relation.js +0 -1
- package/dist/publication/type.d.ts +3 -1
- package/dist/publication/type.js +3 -1
- package/dist/relationship/direction.d.ts +1 -1
- package/dist/relationship/direction.js +1 -1
- package/dist/research/allowance-usage.d.ts +81 -0
- package/dist/research/allowance-usage.js +20 -0
- package/dist/research/allowance.d.ts +20 -0
- package/dist/research/allowance.js +20 -0
- package/dist/research/derived-bucket.d.ts +4 -7
- package/dist/research/derived-bucket.js +4 -7
- package/dist/research/derived-range.d.ts +4 -7
- package/dist/research/derived-range.js +4 -7
- package/dist/resolved/handle.d.ts +1 -1
- package/dist/resolved/handle.js +1 -1
- package/dist/round/label.d.ts +3 -9
- package/dist/round/label.js +3 -9
- package/dist/search/duplicate-candidate-score.d.ts +1 -0
- package/dist/search/duplicate-candidate-score.js +2 -1
- package/dist/search/hit.d.ts +1 -1
- package/dist/search/hit.js +1 -1
- package/dist/search/interpretation.d.ts +6 -4
- package/dist/search/interpretation.js +2 -0
- package/dist/search/mode-execution.d.ts +3 -0
- package/dist/search/mode-execution.js +3 -0
- package/dist/search/mode.d.ts +3 -1
- package/dist/search/mode.js +3 -1
- package/dist/search/ordering-entity-filter-sortable.d.ts +2 -0
- package/dist/search/ordering-entity-filter-sortable.js +2 -0
- package/dist/search/ordering-person-sort-field.d.ts +2 -0
- package/dist/search/ordering-person-sort-field.js +2 -0
- package/dist/search/relevance.d.ts +3 -0
- package/dist/search/relevance.js +3 -0
- package/dist/search/search.d.ts +1 -1
- package/dist/search/search.js +1 -1
- package/dist/sitemap/url-slot.d.ts +0 -1
- package/dist/sitemap/url-slot.js +0 -1
- package/dist/sort/object.d.ts +15 -29
- package/dist/sort/object.js +15 -29
- package/dist/sort/order-entity-filter-sortable.d.ts +2 -0
- package/dist/sort/order-entity-filter-sortable.js +2 -0
- package/dist/sort/order-person-sort-field.d.ts +2 -0
- package/dist/sort/order-person-sort-field.js +2 -0
- package/dist/source/document-list.d.ts +1 -1
- package/dist/source/document-list.js +1 -1
- package/dist/stage/frequency.d.ts +1 -1
- package/dist/stage/frequency.js +1 -1
- package/dist/standardized/classification.d.ts +2 -5
- package/dist/standardized/classification.js +2 -5
- package/dist/unique/id-owner-scope.d.ts +1 -0
- package/dist/unique/id-owner-scope.js +1 -0
- package/dist/unique/id-type-alias.d.ts +1 -0
- package/dist/unique/id-type-alias.js +1 -0
- package/dist/unique/id-type.d.ts +1 -3
- package/dist/unique/id-type.js +1 -3
- package/dist/unique/id.d.ts +1 -3
- package/dist/unique/id.js +1 -3
- package/dist/url/match-mode.d.ts +2 -2
- package/dist/url/match-mode.js +2 -2
- package/dist/url/slug-redirect.d.ts +1 -3
- package/dist/url/slug-redirect.js +1 -3
- package/dist/url/type-alias.d.ts +2 -2
- package/dist/url/type-alias.js +2 -2
- package/dist/web/search.d.ts +1 -1
- package/dist/web/search.js +1 -1
- package/package.json +1 -1
- package/dist/entity/batch-param.d.ts +0 -22
- package/dist/entity/batch-param.js +0 -24
- package/dist/entity/detail-batch-param.d.ts +0 -18
- package/dist/entity/detail-similar-param.d.ts +0 -22
- package/dist/entity/detail-similar-param.js +0 -33
- package/dist/entity/filter-count.d.ts +0 -20
- package/dist/entity/filter-count.js +0 -22
- package/dist/news/filter.d.ts +0 -27
- package/dist/news/filter.js +0 -31
- package/dist/person/batch-param.d.ts +0 -27
- package/dist/person/batch-param.js +0 -38
- package/dist/publication/filter.d.ts +0 -35
- package/dist/publication/filter.js +0 -27
- package/dist/publication/search-interpretation.d.ts +0 -48
- package/dist/publication/search-interpretation.js +0 -30
- package/dist/publication/search-result.d.ts +0 -94
- package/dist/publication/search-result.js +0 -22
- package/dist/publication/sort-field.d.ts +0 -25
- package/dist/publication/sort-field.js +0 -25
- package/dist/sort/order-publication-sort-field.d.ts +0 -31
- package/dist/sort/order-publication-sort-field.js +0 -22
- package/dist/sort/spec-publication-sort-field.d.ts +0 -26
- package/dist/sort/spec-publication-sort-field.js +0 -20
|
@@ -4,9 +4,6 @@ import { z } from "zod/v4";
|
|
|
4
4
|
* Fundraise data confidence label
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema FundraiseDataConfidence
|
|
7
|
-
* @endpoint GET /v1/entities
|
|
8
|
-
* @endpoint GET /v1/entities/detail
|
|
9
|
-
* @endpoint GET /v1/entities/detail/similar
|
|
10
7
|
* @endpoint GET /v1/entities/lookup
|
|
11
8
|
* @endpoint GET /v1/entities/summary
|
|
12
9
|
* @endpoint GET /v1/search/link
|
|
@@ -20,13 +17,13 @@ import { z } from "zod/v4";
|
|
|
20
17
|
* @endpoint GET /v1/entities/{entityId}/products/suggestions
|
|
21
18
|
* @endpoint GET /v1/entities/{entityId}/relationships/suggestions
|
|
22
19
|
* @endpoint GET /v1/entities/{entityId}/similar
|
|
23
|
-
* @endpoint POST /v1/entities/batch
|
|
24
|
-
* @endpoint POST /v1/entities/detail/batch
|
|
25
20
|
* @endpoint POST /v1/entities/lookup/batch
|
|
26
21
|
* @endpoint POST /v1/entities/lookup/matches
|
|
27
22
|
* @endpoint POST /v1/entities/natural-search
|
|
28
23
|
* @endpoint POST /v1/entities/search
|
|
24
|
+
* @endpoint POST /v1/search
|
|
29
25
|
* @endpoint POST /v1/search/all
|
|
26
|
+
* @endpoint POST /v1/search/natural/entities
|
|
30
27
|
* @usedBySchema EntityAcquisitionSchema
|
|
31
28
|
* @usedBySchema EntityFundraiseTransactionSchema
|
|
32
29
|
* @contractShape fundraise.data-confidence
|
|
@@ -3,8 +3,8 @@ import { z } from "zod/v4";
|
|
|
3
3
|
* Fundraise financial instrument type — the vehicle a round or investor join used
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema FundraiseFinancialInstrumentType
|
|
6
|
-
* @endpoint GET /v1/entities/
|
|
7
|
-
* @endpoint GET /v1/entities/
|
|
6
|
+
* @endpoint GET /v1/entities/{entityId}/fundraise-investor-joins
|
|
7
|
+
* @endpoint GET /v1/entities/{entityId}/fundraise-investor-joins/{joinId}
|
|
8
8
|
* @usedBySchema EntityFundraiseInvestorJoinSchema
|
|
9
9
|
* @contractShape fundraise.financial-instrument-type
|
|
10
10
|
* @contractRole canonical
|
|
@@ -4,8 +4,8 @@ import { z } from "zod/v4";
|
|
|
4
4
|
* Fundraise financial instrument type — the vehicle a round or investor join used
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema FundraiseFinancialInstrumentType
|
|
7
|
-
* @endpoint GET /v1/entities/
|
|
8
|
-
* @endpoint GET /v1/entities/
|
|
7
|
+
* @endpoint GET /v1/entities/{entityId}/fundraise-investor-joins
|
|
8
|
+
* @endpoint GET /v1/entities/{entityId}/fundraise-investor-joins/{joinId}
|
|
9
9
|
* @usedBySchema EntityFundraiseInvestorJoinSchema
|
|
10
10
|
* @contractShape fundraise.financial-instrument-type
|
|
11
11
|
* @contractRole canonical
|
|
@@ -3,13 +3,8 @@ import { z } from "zod/v4";
|
|
|
3
3
|
* How a fundraise investor attribution row was selected for an investor view.
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema FundraiseInvestmentAttributionType
|
|
6
|
-
* @endpoint GET /v1/entities
|
|
7
|
-
* @endpoint GET /v1/entities/detail
|
|
8
|
-
* @endpoint GET /v1/entities/detail/similar
|
|
9
6
|
* @endpoint GET /v1/entities/lookup
|
|
10
7
|
* @endpoint GET /v1/entities/summary
|
|
11
|
-
* @endpoint GET /v1/people/detail
|
|
12
|
-
* @endpoint GET /v1/people/detail/investments
|
|
13
8
|
* @endpoint GET /v1/people/lookup
|
|
14
9
|
* @endpoint GET /v1/search/link
|
|
15
10
|
* @endpoint GET /v1/entities/{entityId}
|
|
@@ -22,16 +17,15 @@ import { z } from "zod/v4";
|
|
|
22
17
|
* @endpoint GET /v1/entities/{entityId}/relationships/suggestions
|
|
23
18
|
* @endpoint GET /v1/entities/{entityId}/similar
|
|
24
19
|
* @endpoint GET /v1/people/{personId}
|
|
25
|
-
* @endpoint
|
|
26
|
-
* @endpoint POST /v1/entities/detail/batch
|
|
20
|
+
* @endpoint GET /v1/people/{personId}/investments
|
|
27
21
|
* @endpoint POST /v1/entities/lookup/batch
|
|
28
22
|
* @endpoint POST /v1/entities/lookup/matches
|
|
29
23
|
* @endpoint POST /v1/entities/natural-search
|
|
30
24
|
* @endpoint POST /v1/entities/search
|
|
31
|
-
* @endpoint POST /v1/people/batch
|
|
32
|
-
* @endpoint POST /v1/people/detail/batch
|
|
33
25
|
* @endpoint POST /v1/people/lookup/batch
|
|
26
|
+
* @endpoint POST /v1/search
|
|
34
27
|
* @endpoint POST /v1/search/all
|
|
28
|
+
* @endpoint POST /v1/search/natural/entities
|
|
35
29
|
* @usedBySchema FundraiseInvestmentAttributionSchema
|
|
36
30
|
* @contractShape fundraise.investment-attribution-type
|
|
37
31
|
* @contractRole canonical
|
|
@@ -4,13 +4,8 @@ import { z } from "zod/v4";
|
|
|
4
4
|
* How a fundraise investor attribution row was selected for an investor view.
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema FundraiseInvestmentAttributionType
|
|
7
|
-
* @endpoint GET /v1/entities
|
|
8
|
-
* @endpoint GET /v1/entities/detail
|
|
9
|
-
* @endpoint GET /v1/entities/detail/similar
|
|
10
7
|
* @endpoint GET /v1/entities/lookup
|
|
11
8
|
* @endpoint GET /v1/entities/summary
|
|
12
|
-
* @endpoint GET /v1/people/detail
|
|
13
|
-
* @endpoint GET /v1/people/detail/investments
|
|
14
9
|
* @endpoint GET /v1/people/lookup
|
|
15
10
|
* @endpoint GET /v1/search/link
|
|
16
11
|
* @endpoint GET /v1/entities/{entityId}
|
|
@@ -23,16 +18,15 @@ import { z } from "zod/v4";
|
|
|
23
18
|
* @endpoint GET /v1/entities/{entityId}/relationships/suggestions
|
|
24
19
|
* @endpoint GET /v1/entities/{entityId}/similar
|
|
25
20
|
* @endpoint GET /v1/people/{personId}
|
|
26
|
-
* @endpoint
|
|
27
|
-
* @endpoint POST /v1/entities/detail/batch
|
|
21
|
+
* @endpoint GET /v1/people/{personId}/investments
|
|
28
22
|
* @endpoint POST /v1/entities/lookup/batch
|
|
29
23
|
* @endpoint POST /v1/entities/lookup/matches
|
|
30
24
|
* @endpoint POST /v1/entities/natural-search
|
|
31
25
|
* @endpoint POST /v1/entities/search
|
|
32
|
-
* @endpoint POST /v1/people/batch
|
|
33
|
-
* @endpoint POST /v1/people/detail/batch
|
|
34
26
|
* @endpoint POST /v1/people/lookup/batch
|
|
27
|
+
* @endpoint POST /v1/search
|
|
35
28
|
* @endpoint POST /v1/search/all
|
|
29
|
+
* @endpoint POST /v1/search/natural/entities
|
|
36
30
|
* @usedBySchema FundraiseInvestmentAttributionSchema
|
|
37
31
|
* @contractShape fundraise.investment-attribution-type
|
|
38
32
|
* @contractRole canonical
|
|
@@ -3,13 +3,8 @@ import { z } from "zod/v4";
|
|
|
3
3
|
* Investor-specific attribution for one fundraise participation row
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema FundraiseInvestmentAttribution
|
|
6
|
-
* @endpoint GET /v1/entities
|
|
7
|
-
* @endpoint GET /v1/entities/detail
|
|
8
|
-
* @endpoint GET /v1/entities/detail/similar
|
|
9
6
|
* @endpoint GET /v1/entities/lookup
|
|
10
7
|
* @endpoint GET /v1/entities/summary
|
|
11
|
-
* @endpoint GET /v1/people/detail
|
|
12
|
-
* @endpoint GET /v1/people/detail/investments
|
|
13
8
|
* @endpoint GET /v1/people/lookup
|
|
14
9
|
* @endpoint GET /v1/search/link
|
|
15
10
|
* @endpoint GET /v1/entities/{entityId}
|
|
@@ -22,16 +17,15 @@ import { z } from "zod/v4";
|
|
|
22
17
|
* @endpoint GET /v1/entities/{entityId}/relationships/suggestions
|
|
23
18
|
* @endpoint GET /v1/entities/{entityId}/similar
|
|
24
19
|
* @endpoint GET /v1/people/{personId}
|
|
25
|
-
* @endpoint
|
|
26
|
-
* @endpoint POST /v1/entities/detail/batch
|
|
20
|
+
* @endpoint GET /v1/people/{personId}/investments
|
|
27
21
|
* @endpoint POST /v1/entities/lookup/batch
|
|
28
22
|
* @endpoint POST /v1/entities/lookup/matches
|
|
29
23
|
* @endpoint POST /v1/entities/natural-search
|
|
30
24
|
* @endpoint POST /v1/entities/search
|
|
31
|
-
* @endpoint POST /v1/people/batch
|
|
32
|
-
* @endpoint POST /v1/people/detail/batch
|
|
33
25
|
* @endpoint POST /v1/people/lookup/batch
|
|
26
|
+
* @endpoint POST /v1/search
|
|
34
27
|
* @endpoint POST /v1/search/all
|
|
28
|
+
* @endpoint POST /v1/search/natural/entities
|
|
35
29
|
* @usedBySchema EntityFundraiseTransactionSchema
|
|
36
30
|
* @usedBySchema EntityInvestorParticipationSchema
|
|
37
31
|
* @usedBySchema PersonInvestmentSchema
|
|
@@ -6,13 +6,8 @@ import { RoundLabelSchema } from "../round/label.js";
|
|
|
6
6
|
* Investor-specific attribution for one fundraise participation row
|
|
7
7
|
*
|
|
8
8
|
* @openapiSchema FundraiseInvestmentAttribution
|
|
9
|
-
* @endpoint GET /v1/entities
|
|
10
|
-
* @endpoint GET /v1/entities/detail
|
|
11
|
-
* @endpoint GET /v1/entities/detail/similar
|
|
12
9
|
* @endpoint GET /v1/entities/lookup
|
|
13
10
|
* @endpoint GET /v1/entities/summary
|
|
14
|
-
* @endpoint GET /v1/people/detail
|
|
15
|
-
* @endpoint GET /v1/people/detail/investments
|
|
16
11
|
* @endpoint GET /v1/people/lookup
|
|
17
12
|
* @endpoint GET /v1/search/link
|
|
18
13
|
* @endpoint GET /v1/entities/{entityId}
|
|
@@ -25,16 +20,15 @@ import { RoundLabelSchema } from "../round/label.js";
|
|
|
25
20
|
* @endpoint GET /v1/entities/{entityId}/relationships/suggestions
|
|
26
21
|
* @endpoint GET /v1/entities/{entityId}/similar
|
|
27
22
|
* @endpoint GET /v1/people/{personId}
|
|
28
|
-
* @endpoint
|
|
29
|
-
* @endpoint POST /v1/entities/detail/batch
|
|
23
|
+
* @endpoint GET /v1/people/{personId}/investments
|
|
30
24
|
* @endpoint POST /v1/entities/lookup/batch
|
|
31
25
|
* @endpoint POST /v1/entities/lookup/matches
|
|
32
26
|
* @endpoint POST /v1/entities/natural-search
|
|
33
27
|
* @endpoint POST /v1/entities/search
|
|
34
|
-
* @endpoint POST /v1/people/batch
|
|
35
|
-
* @endpoint POST /v1/people/detail/batch
|
|
36
28
|
* @endpoint POST /v1/people/lookup/batch
|
|
29
|
+
* @endpoint POST /v1/search
|
|
37
30
|
* @endpoint POST /v1/search/all
|
|
31
|
+
* @endpoint POST /v1/search/natural/entities
|
|
38
32
|
* @usedBySchema EntityFundraiseTransactionSchema
|
|
39
33
|
* @usedBySchema EntityInvestorParticipationSchema
|
|
40
34
|
* @usedBySchema PersonInvestmentSchema
|
package/dist/help/citation.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ type HelpCitationDefinition = z.infer<typeof HelpCitationSchemaDefinition>;
|
|
|
17
17
|
*
|
|
18
18
|
* @openapiSchema HelpCitation
|
|
19
19
|
* @endpoint POST /v1/agents/help
|
|
20
|
+
* @endpoint POST /v1/help
|
|
20
21
|
* @usedBySchema AgentHelpSchema
|
|
21
22
|
* @contractShape help.citation
|
|
22
23
|
* @contractRole canonical
|
package/dist/help/citation.js
CHANGED
package/dist/help/scope.d.ts
CHANGED
package/dist/help/scope.js
CHANGED
package/dist/help/source-type.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
3
|
+
allowanceType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4
|
+
ENTITY_VIEW: "ENTITY_VIEW";
|
|
5
|
+
NEW_COMPANY: "NEW_COMPANY";
|
|
6
|
+
NEW_PERSON: "NEW_PERSON";
|
|
7
|
+
PERSON_VIEW: "PERSON_VIEW";
|
|
8
|
+
UPDATE: "UPDATE";
|
|
9
|
+
UPDATE_PERSON: "UPDATE_PERSON";
|
|
10
|
+
}>>>;
|
|
3
11
|
circuitBreaker: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
12
|
code: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5
13
|
GEOCODE_PROVIDER_ERROR: "GEOCODE_PROVIDER_ERROR";
|
|
@@ -10,7 +18,10 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
|
10
18
|
INFERENCE_PROVIDER_RESPONSE_EMPTY: "INFERENCE_PROVIDER_RESPONSE_EMPTY";
|
|
11
19
|
JOBRUNR_DISABLED: "JOBRUNR_DISABLED";
|
|
12
20
|
JOBRUNR_STORAGE_UNAVAILABLE: "JOBRUNR_STORAGE_UNAVAILABLE";
|
|
21
|
+
billing_additional_usage_cap_reached: "billing_additional_usage_cap_reached";
|
|
22
|
+
billing_allowance_exhausted: "billing_allowance_exhausted";
|
|
13
23
|
frontend_cache_epoch_mode_not_targeted: "frontend_cache_epoch_mode_not_targeted";
|
|
24
|
+
geocode_provider_error: "geocode_provider_error";
|
|
14
25
|
github_fetch_failed: "github_fetch_failed";
|
|
15
26
|
image_blocklist_match: "image_blocklist_match";
|
|
16
27
|
image_brand_mismatch: "image_brand_mismatch";
|
|
@@ -20,16 +31,25 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
|
20
31
|
image_too_small: "image_too_small";
|
|
21
32
|
image_unreadable: "image_unreadable";
|
|
22
33
|
image_wrong_aspect: "image_wrong_aspect";
|
|
34
|
+
inference_profile_api_key_missing: "inference_profile_api_key_missing";
|
|
35
|
+
inference_profiles_missing: "inference_profiles_missing";
|
|
36
|
+
inference_provider_error: "inference_provider_error";
|
|
37
|
+
inference_provider_invalid_json: "inference_provider_invalid_json";
|
|
38
|
+
inference_provider_response_empty: "inference_provider_response_empty";
|
|
39
|
+
jobrunr_disabled: "jobrunr_disabled";
|
|
40
|
+
jobrunr_storage_unavailable: "jobrunr_storage_unavailable";
|
|
23
41
|
news_rss_article_fetch_failed: "news_rss_article_fetch_failed";
|
|
24
42
|
news_rss_feed_fetch_failed: "news_rss_feed_fetch_failed";
|
|
25
43
|
news_similarity_embedding_unavailable: "news_similarity_embedding_unavailable";
|
|
26
44
|
not_authorized: "not_authorized";
|
|
27
45
|
origin_detail_capacity: "origin_detail_capacity";
|
|
28
46
|
origin_detail_shutdown: "origin_detail_shutdown";
|
|
47
|
+
primary_website_missing: "primary_website_missing";
|
|
29
48
|
r2_delete_failed: "r2_delete_failed";
|
|
30
49
|
r2_fetch_failed: "r2_fetch_failed";
|
|
31
50
|
r2_upload_failed: "r2_upload_failed";
|
|
32
51
|
rateLimited: "rateLimited";
|
|
52
|
+
rate_limited: "rate_limited";
|
|
33
53
|
rbac_lookup_unavailable: "rbac_lookup_unavailable";
|
|
34
54
|
search_provider_error: "search_provider_error";
|
|
35
55
|
search_provider_not_configured: "search_provider_not_configured";
|
|
@@ -37,8 +57,12 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
|
37
57
|
sentry_api_error: "sentry_api_error";
|
|
38
58
|
source_document_body_unavailable: "source_document_body_unavailable";
|
|
39
59
|
source_document_capture_limit_exceeded: "source_document_capture_limit_exceeded";
|
|
60
|
+
subscription_canceled: "subscription_canceled";
|
|
61
|
+
subscription_past_due: "subscription_past_due";
|
|
62
|
+
subscription_paused: "subscription_paused";
|
|
63
|
+
subscription_required: "subscription_required";
|
|
40
64
|
suspectedShellStrip: "suspectedShellStrip";
|
|
41
|
-
|
|
65
|
+
suspected_shell_strip: "suspected_shell_strip";
|
|
42
66
|
url_surface_misclassification: "url_surface_misclassification";
|
|
43
67
|
web_crawl_fetch_failed: "web_crawl_fetch_failed";
|
|
44
68
|
}>>>;
|
|
@@ -186,6 +210,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
|
186
210
|
instance: z.ZodOptional<z.ZodString>;
|
|
187
211
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
188
212
|
limitType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
213
|
+
BILLING_ADDITIONAL_USAGE: "BILLING_ADDITIONAL_USAGE";
|
|
189
214
|
BILLING_ALLOWANCE: "BILLING_ALLOWANCE";
|
|
190
215
|
CLERK_PUBLIC_ADMISSION: "CLERK_PUBLIC_ADMISSION";
|
|
191
216
|
CLERK_SCRIPT_LOAD: "CLERK_SCRIPT_LOAD";
|
|
@@ -6,49 +6,124 @@ import { ProblemResolutionSchema } from "../problem/resolution.js";
|
|
|
6
6
|
import { CurrentSlugOwnerSchema } from "../redirect/current-slug-owner.js";
|
|
7
7
|
import { RedirectSlugPathSchema } from "../redirect/redirect-slug-path.js";
|
|
8
8
|
const ProblemDetailSchemaDefinition = z.object({
|
|
9
|
+
/** Which monthly allowance a BILLING_ALLOWANCE refusal exhausted. */
|
|
10
|
+
allowanceType: z
|
|
11
|
+
.enum(["NEW_COMPANY", "UPDATE", "NEW_PERSON", "UPDATE_PERSON", "ENTITY_VIEW", "PERSON_VIEW"])
|
|
12
|
+
.nullish(),
|
|
9
13
|
circuitBreaker: z.string().nullish(),
|
|
10
14
|
/** Machine-readable secondary code on ProblemDetail.code. Agents should branch on this value when the HTTP status alone does not identify the recovery path. Code groups include auth/session, rate limiting, job infrastructure, RBAC, external providers, image processing, R2 storage, search, and inference. Many codes indicate infra/admin-only conditions where the correct agent action is to surface the error and stop, not retry. */
|
|
11
15
|
code: z
|
|
12
16
|
.enum([
|
|
17
|
+
/** Caller is authenticated but lacks the required role for this operation. Agent action: surface the requiredRole field on the ProblemDetail and stop; do not retry without role escalation. */
|
|
13
18
|
"not_authorized",
|
|
19
|
+
/** Request was throttled. Agent action: wait at least retryAfterSeconds (also on ProblemDetail) before retrying. Repeated 429s on the same key indicate a burst-rate violation, not a sustained-rate one. */
|
|
14
20
|
"rateLimited",
|
|
21
|
+
/** Request was throttled. Agent action: wait at least retryAfterSeconds (also on ProblemDetail) before retrying. Repeated 429s on the same key indicate a burst-rate violation, not a sustained-rate one. */
|
|
22
|
+
"rate_limited",
|
|
23
|
+
/** Caller is authenticated but the subscription on their account does not include this operation. Agent action: surface ProblemDetail.detail explaining the subscription requirement and stop. The identical request cannot succeed until the account changes plan, so never retry it. */
|
|
24
|
+
"subscription_required",
|
|
25
|
+
/** Caller's subscription was canceled or its first payment expired unpaid, so it no longer includes this operation. Agent action: surface ProblemDetail.detail and stop; the account must subscribe again through the resolution's Checkout endpoint before the identical request can succeed. */
|
|
26
|
+
"subscription_canceled",
|
|
27
|
+
/** Caller's subscription has a failed or unfinished payment, so it does not include this operation until the payment succeeds. Agent action: surface ProblemDetail.detail and stop; the account must update its payment method through the resolution's Billing Portal endpoint. */
|
|
28
|
+
"subscription_past_due",
|
|
29
|
+
/** Caller's subscription is paused, so it does not include this operation. Agent action: surface ProblemDetail.detail and stop; the account must resume the subscription through the resolution's Billing Portal endpoint. */
|
|
30
|
+
"subscription_paused",
|
|
31
|
+
/** The caller's metered allowance for this operation is spent for the current period. Agent action: stop and report ProblemDetail.allowanceType, limit, used, remaining, and resetAt; resetAt is when the meter refills and is typically weeks away. Do not retry inside the period even though the status is 429. */
|
|
32
|
+
"billing_allowance_exhausted",
|
|
33
|
+
/** The caller's monthly allowance is spent and the next additional-usage unit would pass the monthly spend cap or the prepaid credit left. Agent action: stop and report ProblemDetail.allowanceType, limit, used, remaining, and resetAt; raise the cap or buy credit through /v1/billing/additional-usage, or wait for resetAt. */
|
|
34
|
+
"billing_additional_usage_cap_reached",
|
|
35
|
+
/** Detail-origin cold-miss coalescing is saturated. Agent action: treat as backend capacity impairment, back off, and inspect backend pool/bulkhead metrics; this is not a caller throttle. */
|
|
15
36
|
"origin_detail_capacity",
|
|
37
|
+
/** Detail-origin cold-miss scheduler rejected work because this instance is shutting down for a redeploy. Agent action: retry shortly; the platform routes the retry to a healthy instance. This is deploy-window noise, not a capacity defect — do not treat it as backend saturation. */
|
|
16
38
|
"origin_detail_shutdown",
|
|
39
|
+
/** Request prose looks shell-mangled around a money phrase: either shell expansion stripped a leading dollar sign ('50 million' where '$50 million' was meant) or an escape character survived into the text ('\$50 million', standalone '/$50 million'). Agent action: write '$' literally and re-run with JSON body input via --from-file or stdin, or ANSI-C $'...' quoting; use allowSuspectedShellStrip only when the value is intentional. */
|
|
17
40
|
"suspectedShellStrip",
|
|
41
|
+
/** Request prose looks shell-mangled around a money phrase: either shell expansion stripped a leading dollar sign ('50 million' where '$50 million' was meant) or an escape character survived into the text ('\$50 million', standalone '/$50 million'). Agent action: write '$' literally and re-run with JSON body input via --from-file or stdin, or ANSI-C $'...' quoting; use allowSuspectedShellStrip only when the value is intentional. */
|
|
42
|
+
"suspected_shell_strip",
|
|
43
|
+
/** A URL was submitted to the wrong write surface. Agent action: move the URL to the specific surface named by ProblemDetail.hint/resolution, for example EntityUrl.urlType=ycombinator via entities urls create instead of News.newsUrlOriginal. */
|
|
18
44
|
"url_surface_misclassification",
|
|
45
|
+
/** JobRunr background worker is disabled in this environment. Agent action: stop (this is an admin/ops configuration condition, not a retriable user error). */
|
|
19
46
|
"JOBRUNR_DISABLED",
|
|
47
|
+
/** JobRunr background worker is disabled in this environment. Agent action: stop (this is an admin/ops configuration condition, not a retriable user error). */
|
|
48
|
+
"jobrunr_disabled",
|
|
49
|
+
/** JobRunr backing storage (Postgres) is unavailable. Agent action: stop; retrying will not help until DB connectivity is restored. */
|
|
20
50
|
"JOBRUNR_STORAGE_UNAVAILABLE",
|
|
51
|
+
/** JobRunr backing storage (Postgres) is unavailable. Agent action: stop; retrying will not help until DB connectivity is restored. */
|
|
52
|
+
"jobrunr_storage_unavailable",
|
|
53
|
+
/** RBAC role lookup failed (app_user read did not return). Agent action: retry once; persistent failure indicates a database outage. */
|
|
21
54
|
"rbac_lookup_unavailable",
|
|
55
|
+
/** Geocoding provider (Google Maps Platform) call failed. Agent action: surface the error; address fields can be submitted without normalization as a fallback. */
|
|
22
56
|
"GEOCODE_PROVIDER_ERROR",
|
|
57
|
+
/** Geocoding provider (Google Maps Platform) call failed. Agent action: surface the error; address fields can be submitted without normalization as a fallback. */
|
|
58
|
+
"geocode_provider_error",
|
|
59
|
+
/** Sentry API call failed (used by error-triage endpoints). Agent action: surface; Sentry outages do not affect the primary application path. */
|
|
23
60
|
"sentry_api_error",
|
|
24
|
-
|
|
61
|
+
/** Frontend cache epoch requires the cache invalidation outbox consumer to run in targeted mode. Agent action: stop polling; this 503 is a designed cutover guard, and only the operator switching the outbox mode to targeted (docs/database/cache-invalidation.md) makes the epoch readable. */
|
|
25
62
|
"frontend_cache_epoch_mode_not_targeted",
|
|
63
|
+
/** Image upload matched a blocklist entry (visually similar to a known bad asset). Agent action: do not retry the same image; supply a different image or stop. */
|
|
26
64
|
"image_blocklist_match",
|
|
65
|
+
/** Image upload was blank or a flat monochrome canvas. Agent action: supply a source image with visible logo or photo detail; retrying the same bytes will not pass. */
|
|
27
66
|
"image_monochrome",
|
|
67
|
+
/** Image upload failed minimum dimension/file-size check. Agent action: supply a higher-resolution source image; retrying the same one will not pass. */
|
|
28
68
|
"image_too_small",
|
|
69
|
+
/** Image upload's visible content is a wide banner/wordmark when a square logo or photo was required. Agent action: supply a square (or near-square) source image — a favicon, app icon, square logo, or cropped headshot — not a horizontal wordmark or og:image banner; retrying the same bytes will not pass. */
|
|
29
70
|
"image_wrong_aspect",
|
|
71
|
+
/** Image upload was classified as a monogram (single letter / generated initial) when a real photograph or logo was required. Agent action: supply a non-monogram image or set permitMonogram=true on the read endpoint if a monogram is acceptable for the use case. */
|
|
30
72
|
"image_monogram",
|
|
73
|
+
/** Image upload could not be decoded (corrupt file, unsupported format). Agent action: supply a valid PNG/JPEG/WebP; retrying the same bytes will not pass. */
|
|
31
74
|
"image_unreadable",
|
|
75
|
+
/** Image processing pipeline (resize/encode/hash) threw an unexpected error. Agent action: retry once; persistent failure indicates an infra issue. */
|
|
32
76
|
"image_processing_error",
|
|
77
|
+
/** Logo/photo upload was rejected because the server-side brand-match vision check found it does not depict the target's own brand (a generic favicon, a parent/provider/acquirer mark, an OpenGraph/banner/social card, or an unrelated image). Agent action: supply the target entity's OWN brand mark and re-run; retrying the same image, or any generic/og/banner/parent asset, will not pass. */
|
|
33
78
|
"image_brand_mismatch",
|
|
79
|
+
/** An outbound fetch from an external target site (robots.txt, sitemap, page, or logo or thumbnail image) failed after retries or with the breaker open. Agent action: the failure belongs to the target; crawl jobs may fall back to rendered extraction; do not retry immediately. */
|
|
34
80
|
"web_crawl_fetch_failed",
|
|
81
|
+
/** A crawl-run request named an entity or person that has no current primary website URL. Agent action: add or activate the owner's website URL, then resubmit; retrying the unchanged request cannot succeed. */
|
|
82
|
+
"primary_website_missing",
|
|
83
|
+
/** RSS news-ingest feed fetch failed after retries or with the breaker open. Agent action: inspect the configured feed URL and upstream status; do not retry the enqueue immediately. */
|
|
35
84
|
"news_rss_feed_fetch_failed",
|
|
85
|
+
/** RSS news-ingest article page fetch failed after retries or with the breaker open. Agent action: inspect the source article URL and upstream status; the ingest job may skip that article. */
|
|
36
86
|
"news_rss_article_fetch_failed",
|
|
87
|
+
/** Cloudflare R2 object fetch failed during a read operation. Agent action: retry once with backoff; persistent failure indicates R2 outage or asset deletion. */
|
|
37
88
|
"r2_fetch_failed",
|
|
89
|
+
/** Cloudflare R2 object delete failed during a cleanup operation. Agent action: surface; retrying may produce duplicate-delete errors. */
|
|
38
90
|
"r2_delete_failed",
|
|
91
|
+
/** Cloudflare R2 object upload failed during a write operation. Agent action: retry once with the same payload; persistent failure indicates R2 outage. */
|
|
39
92
|
"r2_upload_failed",
|
|
93
|
+
/** Stored source-document raw bytes could not be served: the row's inline-or-R2 raw authority is incomplete or failed digest verification. Agent action: surface; the stored authority needs operator reconciliation before this body can be read. */
|
|
40
94
|
"source_document_body_unavailable",
|
|
95
|
+
/** A source-document capture stopped before retaining a provider response over this service's configured byte limit. Agent action: this is a designed containment boundary, not a provider outage or a service defect; do not retry the same request expecting a different outcome. */
|
|
41
96
|
"source_document_capture_limit_exceeded",
|
|
97
|
+
/** News similarity cannot run because the target embedding is unavailable or live similarity capacity is full. Agent action: surface the 503 and retry later; this endpoint does not fall back to lexical ranking. */
|
|
42
98
|
"news_similarity_embedding_unavailable",
|
|
99
|
+
/** Search provider (e.g., SerpAPI) is not configured for this environment. Agent action: stop; admin/ops must configure the provider key before this endpoint will succeed. */
|
|
43
100
|
"search_provider_not_configured",
|
|
101
|
+
/** Search provider call failed. Agent action: surface; provider outages affect search endpoints only. */
|
|
44
102
|
"search_provider_error",
|
|
103
|
+
/** SEC EDGAR lookup failed (ticker catalog or company submissions). Agent action: surface; SEC outages or rate limiting affect the public-company preview endpoint only. */
|
|
45
104
|
"sec_edgar_fetch_failed",
|
|
105
|
+
/** GitHub repository fetch failed (account, listing, or single repo). Agent action: surface; GitHub outages or rate limiting affect github-repo sync endpoints only. */
|
|
46
106
|
"github_fetch_failed",
|
|
107
|
+
/** LLM inference provider call failed. Agent action: retry once with backoff; persistent failure indicates provider outage or invalid profile config. */
|
|
47
108
|
"INFERENCE_PROVIDER_ERROR",
|
|
109
|
+
/** LLM inference provider call failed. Agent action: retry once with backoff; persistent failure indicates provider outage or invalid profile config. */
|
|
110
|
+
"inference_provider_error",
|
|
111
|
+
/** LLM inference provider returned an empty response body. Agent action: retry once; persistent empty responses indicate prompt or provider misconfiguration. */
|
|
48
112
|
"INFERENCE_PROVIDER_RESPONSE_EMPTY",
|
|
113
|
+
/** LLM inference provider returned an empty response body. Agent action: retry once; persistent empty responses indicate prompt or provider misconfiguration. */
|
|
114
|
+
"inference_provider_response_empty",
|
|
115
|
+
/** LLM inference provider returned a response that failed JSON parsing. Agent action: surface; the prompt or response schema may need adjustment. */
|
|
49
116
|
"INFERENCE_PROVIDER_INVALID_JSON",
|
|
117
|
+
/** LLM inference provider returned a response that failed JSON parsing. Agent action: surface; the prompt or response schema may need adjustment. */
|
|
118
|
+
"inference_provider_invalid_json",
|
|
119
|
+
/** Inference profile catalog is missing or empty. Agent action: stop; admin/ops must configure inference profiles before this endpoint will succeed. */
|
|
50
120
|
"INFERENCE_PROFILES_MISSING",
|
|
121
|
+
/** Inference profile catalog is missing or empty. Agent action: stop; admin/ops must configure inference profiles before this endpoint will succeed. */
|
|
122
|
+
"inference_profiles_missing",
|
|
123
|
+
/** Inference profile is configured but its API key is missing from secret storage. Agent action: stop; admin/ops must populate the API key in secret storage. */
|
|
51
124
|
"INFERENCE_PROFILE_API_KEY_MISSING",
|
|
125
|
+
/** Inference profile is configured but its API key is missing from secret storage. Agent action: stop; admin/ops must populate the API key in secret storage. */
|
|
126
|
+
"inference_profile_api_key_missing",
|
|
52
127
|
])
|
|
53
128
|
.nullish(),
|
|
54
129
|
conflictingRecord: CurrentSlugOwnerSchema.nullish(),
|
|
@@ -62,7 +137,9 @@ const ProblemDetailSchemaDefinition = z.object({
|
|
|
62
137
|
hammingDistance: z.number().int().nullish(),
|
|
63
138
|
hint: z.string().nullish(),
|
|
64
139
|
instance: z.string().optional(),
|
|
140
|
+
/** Cap the limitType meter allows for its current period. */
|
|
65
141
|
limit: z.number().int().nullish(),
|
|
142
|
+
/** Which meter refused the request; names what limit/used/remaining count. */
|
|
66
143
|
limitType: z
|
|
67
144
|
.enum([
|
|
68
145
|
"FORM",
|
|
@@ -74,6 +151,7 @@ const ProblemDetailSchemaDefinition = z.object({
|
|
|
74
151
|
"WEB_SEARCH",
|
|
75
152
|
"NATURAL_SEARCH",
|
|
76
153
|
"BILLING_ALLOWANCE",
|
|
154
|
+
"BILLING_ADDITIONAL_USAGE",
|
|
77
155
|
"CLERK_PUBLIC_ADMISSION",
|
|
78
156
|
"CLERK_SCRIPT_LOAD",
|
|
79
157
|
"ORIGIN_DETAIL",
|
|
@@ -86,10 +164,13 @@ const ProblemDetailSchemaDefinition = z.object({
|
|
|
86
164
|
parseError: z.string().nullish(),
|
|
87
165
|
path: z.string().nullish(),
|
|
88
166
|
properties: z.record(z.string(), JsonValueSchema).optional(),
|
|
167
|
+
/** Cap minus used for the limitType meter, never negative. */
|
|
89
168
|
remaining: z.number().int().nullish(),
|
|
90
169
|
requiredRole: z.string().nullish(),
|
|
170
|
+
/** When the limitType meter refills and the request can succeed again. */
|
|
91
171
|
resetAt: z.iso.datetime({ offset: true }).nullish(),
|
|
92
172
|
resolution: ProblemResolutionSchema.nullish(),
|
|
173
|
+
/** Seconds to wait before the same request can succeed. A BILLING_ALLOWANCE meter resets at the UTC month boundary, so this reaches weeks: read limitType before treating it as a burst backoff. */
|
|
93
174
|
retryAfterSeconds: z.number().int().nullish(),
|
|
94
175
|
spanId: z.string().nullish(),
|
|
95
176
|
status: z.int().optional(),
|
|
@@ -100,9 +181,11 @@ const ProblemDetailSchemaDefinition = z.object({
|
|
|
100
181
|
traceId: z.string().nullish(),
|
|
101
182
|
type: z.string().optional(),
|
|
102
183
|
unknownParameters: z.array(z.string()).nullish(),
|
|
184
|
+
/** Requests already charged against the limitType meter this period. */
|
|
103
185
|
used: z.number().int().nullish(),
|
|
104
186
|
validParameters: z.array(z.string()).nullish(),
|
|
105
187
|
value: z.string().nullish(),
|
|
188
|
+
/** Length of a rolling throttle window; absent for period meters. */
|
|
106
189
|
windowSeconds: z.number().int().nullish(),
|
|
107
190
|
});
|
|
108
191
|
/**
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* One existing record considered as the subject.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema IdentificationCandidate
|
|
6
|
+
* @endpoint POST /v1/entities/lookup
|
|
7
|
+
* @endpoint POST /v1/lookup
|
|
8
|
+
* @endpoint POST /v1/people/lookup
|
|
9
|
+
* @usedBySchema IdentificationSchema
|
|
10
|
+
* @contractShape identification.candidate
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export declare const IdentificationCandidateSchema: z.ZodObject<{
|
|
14
|
+
owner: z.ZodObject<{
|
|
15
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
16
|
+
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
record: z.ZodType<{
|
|
20
|
+
externalId?: string | null | undefined;
|
|
21
|
+
id: string;
|
|
22
|
+
name?: string | null | undefined;
|
|
23
|
+
operatingStatus?: string | null | undefined;
|
|
24
|
+
publicPath?: string | null | undefined;
|
|
25
|
+
reason: string[];
|
|
26
|
+
score: number;
|
|
27
|
+
slug?: string | null | undefined;
|
|
28
|
+
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
29
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
30
|
+
externalId?: string | null | undefined;
|
|
31
|
+
id: string;
|
|
32
|
+
name?: string | null | undefined;
|
|
33
|
+
operatingStatus?: string | null | undefined;
|
|
34
|
+
publicPath?: string | null | undefined;
|
|
35
|
+
reason: string[];
|
|
36
|
+
score: number;
|
|
37
|
+
slug?: string | null | undefined;
|
|
38
|
+
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
39
|
+
}, unknown>>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
export type IdentificationCandidate = z.infer<typeof IdentificationCandidateSchema>;
|
|
42
|
+
//# sourceMappingURL=candidate.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
import { EntityPersonOwnerSchema } from "../entity/person-owner.js";
|
|
4
|
+
import { SearchDuplicateCandidateScoreSchema } from "../search/duplicate-candidate-score.js";
|
|
5
|
+
/**
|
|
6
|
+
* One existing record considered as the subject.
|
|
7
|
+
*
|
|
8
|
+
* @openapiSchema IdentificationCandidate
|
|
9
|
+
* @endpoint POST /v1/entities/lookup
|
|
10
|
+
* @endpoint POST /v1/lookup
|
|
11
|
+
* @endpoint POST /v1/people/lookup
|
|
12
|
+
* @usedBySchema IdentificationSchema
|
|
13
|
+
* @contractShape identification.candidate
|
|
14
|
+
* @contractRole canonical
|
|
15
|
+
*/
|
|
16
|
+
export const IdentificationCandidateSchema = z.object({
|
|
17
|
+
/** Whether the record is a company (entityId) or a person (personId); read it with entities get --entity-id or people get --person-id. */
|
|
18
|
+
owner: EntityPersonOwnerSchema,
|
|
19
|
+
/** Decision-model probability, 0 to 1, that this record is the subject; absent when the answer came from URL proof or the model did not judge this record. */
|
|
20
|
+
probability: z.number().nullish(),
|
|
21
|
+
/** The record with its duplicate-check score and reasons; score 0 with no reason means only vector similarity proposed it. */
|
|
22
|
+
record: SearchDuplicateCandidateScoreSchema,
|
|
23
|
+
});
|
|
24
|
+
//# sourceMappingURL=candidate.js.map
|