@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
package/dist/location/sitemap.js
CHANGED
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
import { LocationDirectoryEntrySchema } from "./directory-entry.js";
|
|
4
4
|
import { LocationSlugResolutionSchema } from "./slug-resolution.js";
|
|
5
|
-
import {
|
|
5
|
+
import { PageLocationDirectoryEntrySchema, PageSitemapUrlSlotSchema, } from "../pagination/schemas.js";
|
|
6
6
|
const LocationSitemapSchemaDefinition = z.object({
|
|
7
|
-
company:
|
|
8
|
-
/** Opaque continuation for the next company URL-slot page. */
|
|
7
|
+
company: PageSitemapUrlSlotSchema.nullish(),
|
|
8
|
+
/** Opaque continuation for the next company URL-slot page; absent only when the current address-refresh snapshot holds no further slot for the resolved letter. */
|
|
9
9
|
companyNextCursor: z.string().nullish(),
|
|
10
|
-
directory:
|
|
10
|
+
directory: PageLocationDirectoryEntrySchema,
|
|
11
11
|
directoryLetterCount: z.record(z.string(), z.number().int()),
|
|
12
12
|
location: LocationDirectoryEntrySchema.nullish(),
|
|
13
|
+
/** Exact company URL-slot count per letter from the same address-refresh snapshot that serves company: locationLetterCount[letter] equals the slots a companyNextCursor traversal of that letter reaches. Both move together at the next refresh, so a traversal that straddles a refresh restarts from a fresh count. */
|
|
13
14
|
locationLetterCount: z.record(z.string(), z.number().int()).nullish(),
|
|
14
15
|
requestedLetter: z.string(),
|
|
15
16
|
resolvedDirectoryLetter: z.string(),
|
|
@@ -3,9 +3,9 @@ import { z } from "zod/v4";
|
|
|
3
3
|
* Target domain for media operations (logos, pictures, thumbnails)
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema MediaObjectType
|
|
6
|
-
* @endpoint GET /v1/entities/{entityId}/media/
|
|
7
|
-
* @endpoint GET /v1/news/{newsId}/media/
|
|
8
|
-
* @endpoint GET /v1/people/{personId}/media/
|
|
6
|
+
* @endpoint GET /v1/entities/{entityId}/media/{mediaType}
|
|
7
|
+
* @endpoint GET /v1/news/{newsId}/media/{mediaType}
|
|
8
|
+
* @endpoint GET /v1/people/{personId}/media/{mediaType}
|
|
9
9
|
* @usedBySchema MediaUploadSchema
|
|
10
10
|
* @contractShape media.object-type
|
|
11
11
|
* @contractRole canonical
|
|
@@ -4,9 +4,9 @@ import { z } from "zod/v4";
|
|
|
4
4
|
* Target domain for media operations (logos, pictures, thumbnails)
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema MediaObjectType
|
|
7
|
-
* @endpoint GET /v1/entities/{entityId}/media/
|
|
8
|
-
* @endpoint GET /v1/news/{newsId}/media/
|
|
9
|
-
* @endpoint GET /v1/people/{personId}/media/
|
|
7
|
+
* @endpoint GET /v1/entities/{entityId}/media/{mediaType}
|
|
8
|
+
* @endpoint GET /v1/news/{newsId}/media/{mediaType}
|
|
9
|
+
* @endpoint GET /v1/people/{personId}/media/{mediaType}
|
|
10
10
|
* @usedBySchema MediaUploadSchema
|
|
11
11
|
* @contractShape media.object-type
|
|
12
12
|
* @contractRole canonical
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Media slot on an owner record, addressed by the {mediaType} path segment.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema MediaSlot
|
|
6
|
+
* @endpoint GET /v1/entities/{entityId}/media/{mediaType}
|
|
7
|
+
* @endpoint GET /v1/news/{newsId}/media/{mediaType}
|
|
8
|
+
* @endpoint GET /v1/people/{personId}/media/{mediaType}
|
|
9
|
+
* @contractShape media.slot
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export declare const MediaSlotSchema: z.ZodEnum<{
|
|
13
|
+
logo: "logo";
|
|
14
|
+
photo: "photo";
|
|
15
|
+
thumbnail: "thumbnail";
|
|
16
|
+
}>;
|
|
17
|
+
export type MediaSlot = z.infer<typeof MediaSlotSchema>;
|
|
18
|
+
//# sourceMappingURL=slot.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
/**
|
|
4
|
+
* Media slot on an owner record, addressed by the {mediaType} path segment.
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema MediaSlot
|
|
7
|
+
* @endpoint GET /v1/entities/{entityId}/media/{mediaType}
|
|
8
|
+
* @endpoint GET /v1/news/{newsId}/media/{mediaType}
|
|
9
|
+
* @endpoint GET /v1/people/{personId}/media/{mediaType}
|
|
10
|
+
* @contractShape media.slot
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export const MediaSlotSchema = z.enum(["logo", "photo", "thumbnail"]);
|
|
14
|
+
//# sourceMappingURL=slot.js.map
|
package/dist/media/upload.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ import { z } from "zod/v4";
|
|
|
3
3
|
* Managed media asset reference with resolved CDN URL and target metadata
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema MediaUpload
|
|
6
|
-
* @endpoint GET /v1/entities/{entityId}/media/
|
|
7
|
-
* @endpoint GET /v1/news/{newsId}/media/
|
|
8
|
-
* @endpoint GET /v1/people/{personId}/media/
|
|
6
|
+
* @endpoint GET /v1/entities/{entityId}/media/{mediaType}
|
|
7
|
+
* @endpoint GET /v1/news/{newsId}/media/{mediaType}
|
|
8
|
+
* @endpoint GET /v1/people/{personId}/media/{mediaType}
|
|
9
9
|
* @contractShape media.upload
|
|
10
10
|
* @contractRole canonical
|
|
11
11
|
*/
|
package/dist/media/upload.js
CHANGED
|
@@ -6,9 +6,9 @@ import { MediaObjectTypeSchema } from "./object-type.js";
|
|
|
6
6
|
* Managed media asset reference with resolved CDN URL and target metadata
|
|
7
7
|
*
|
|
8
8
|
* @openapiSchema MediaUpload
|
|
9
|
-
* @endpoint GET /v1/entities/{entityId}/media/
|
|
10
|
-
* @endpoint GET /v1/news/{newsId}/media/
|
|
11
|
-
* @endpoint GET /v1/people/{personId}/media/
|
|
9
|
+
* @endpoint GET /v1/entities/{entityId}/media/{mediaType}
|
|
10
|
+
* @endpoint GET /v1/news/{newsId}/media/{mediaType}
|
|
11
|
+
* @endpoint GET /v1/people/{personId}/media/{mediaType}
|
|
12
12
|
* @contractShape media.upload
|
|
13
13
|
* @contractRole canonical
|
|
14
14
|
*/
|
|
@@ -74,10 +74,10 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
74
74
|
letter?: string | null | undefined;
|
|
75
75
|
location?: string[] | undefined;
|
|
76
76
|
logoOption?: {
|
|
77
|
-
sortPriority
|
|
77
|
+
sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
|
|
78
78
|
} | undefined;
|
|
79
79
|
mainProduct?: string[] | undefined;
|
|
80
|
-
operatingStatus?:
|
|
80
|
+
operatingStatus?: ("Acquired" | "Acquired Subsidiary" | "Closed" | "Closed (Acquihire)" | "Inactive" | "Operating")[] | undefined;
|
|
81
81
|
person?: string[] | undefined;
|
|
82
82
|
portfolioHeadquartersCity?: string[] | undefined;
|
|
83
83
|
portfolioHeadquartersCountry?: string[] | undefined;
|
|
@@ -188,10 +188,10 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
188
188
|
letter?: string | null | undefined;
|
|
189
189
|
location?: string[] | undefined;
|
|
190
190
|
logoOption?: {
|
|
191
|
-
sortPriority
|
|
191
|
+
sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
|
|
192
192
|
} | undefined;
|
|
193
193
|
mainProduct?: string[] | undefined;
|
|
194
|
-
operatingStatus?:
|
|
194
|
+
operatingStatus?: ("Acquired" | "Acquired Subsidiary" | "Closed" | "Closed (Acquihire)" | "Inactive" | "Operating")[] | undefined;
|
|
195
195
|
person?: string[] | undefined;
|
|
196
196
|
portfolioHeadquartersCity?: string[] | undefined;
|
|
197
197
|
portfolioHeadquartersCountry?: string[] | undefined;
|
|
@@ -232,7 +232,6 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
232
232
|
result: z.ZodType<{
|
|
233
233
|
content: {
|
|
234
234
|
core: {
|
|
235
|
-
createdAt?: string | null | undefined;
|
|
236
235
|
defaultCurrency?: string | null | undefined;
|
|
237
236
|
foundedYear?: number | null | undefined;
|
|
238
237
|
id: string;
|
|
@@ -510,6 +509,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
510
509
|
})[] | undefined;
|
|
511
510
|
};
|
|
512
511
|
fundingDetail?: {
|
|
512
|
+
currency?: string | null | undefined;
|
|
513
513
|
fundingRoundCount: number;
|
|
514
514
|
investorCount: number;
|
|
515
515
|
latestValuation?: number | null | undefined;
|
|
@@ -552,7 +552,6 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
552
552
|
dateInvestorExit?: string | null | undefined;
|
|
553
553
|
entity?: {
|
|
554
554
|
core: {
|
|
555
|
-
createdAt?: string | null | undefined;
|
|
556
555
|
defaultCurrency?: string | null | undefined;
|
|
557
556
|
foundedYear?: number | null | undefined;
|
|
558
557
|
id: string;
|
|
@@ -585,6 +584,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
585
584
|
updatedAt?: string | null | undefined;
|
|
586
585
|
};
|
|
587
586
|
fundingDetail?: {
|
|
587
|
+
currency?: string | null | undefined;
|
|
588
588
|
fundingRoundCount: number;
|
|
589
589
|
investorCount: number;
|
|
590
590
|
latestValuation?: number | null | undefined;
|
|
@@ -630,7 +630,6 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
630
630
|
research: {
|
|
631
631
|
acceleratorParticipation: {
|
|
632
632
|
accelerator: {
|
|
633
|
-
createdAt?: string | null | undefined;
|
|
634
633
|
defaultCurrency?: string | null | undefined;
|
|
635
634
|
foundedYear?: number | null | undefined;
|
|
636
635
|
id: string;
|
|
@@ -671,9 +670,6 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
671
670
|
}[];
|
|
672
671
|
detail: {
|
|
673
672
|
asOfDate?: string | null | undefined;
|
|
674
|
-
createdAt?: string | null | undefined;
|
|
675
|
-
creator?: string | null | undefined;
|
|
676
|
-
dataConfidence?: "high" | "low" | "medium" | null | undefined;
|
|
677
673
|
derivedRange?: {
|
|
678
674
|
asOfDate: string;
|
|
679
675
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -710,7 +706,6 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
710
706
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
711
707
|
content: {
|
|
712
708
|
core: {
|
|
713
|
-
createdAt?: string | null | undefined;
|
|
714
709
|
defaultCurrency?: string | null | undefined;
|
|
715
710
|
foundedYear?: number | null | undefined;
|
|
716
711
|
id: string;
|
|
@@ -988,6 +983,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
988
983
|
})[] | undefined;
|
|
989
984
|
};
|
|
990
985
|
fundingDetail?: {
|
|
986
|
+
currency?: string | null | undefined;
|
|
991
987
|
fundingRoundCount: number;
|
|
992
988
|
investorCount: number;
|
|
993
989
|
latestValuation?: number | null | undefined;
|
|
@@ -1030,7 +1026,6 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
1030
1026
|
dateInvestorExit?: string | null | undefined;
|
|
1031
1027
|
entity?: {
|
|
1032
1028
|
core: {
|
|
1033
|
-
createdAt?: string | null | undefined;
|
|
1034
1029
|
defaultCurrency?: string | null | undefined;
|
|
1035
1030
|
foundedYear?: number | null | undefined;
|
|
1036
1031
|
id: string;
|
|
@@ -1063,6 +1058,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
1063
1058
|
updatedAt?: string | null | undefined;
|
|
1064
1059
|
};
|
|
1065
1060
|
fundingDetail?: {
|
|
1061
|
+
currency?: string | null | undefined;
|
|
1066
1062
|
fundingRoundCount: number;
|
|
1067
1063
|
investorCount: number;
|
|
1068
1064
|
latestValuation?: number | null | undefined;
|
|
@@ -1108,7 +1104,6 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
1108
1104
|
research: {
|
|
1109
1105
|
acceleratorParticipation: {
|
|
1110
1106
|
accelerator: {
|
|
1111
|
-
createdAt?: string | null | undefined;
|
|
1112
1107
|
defaultCurrency?: string | null | undefined;
|
|
1113
1108
|
foundedYear?: number | null | undefined;
|
|
1114
1109
|
id: string;
|
|
@@ -1149,9 +1144,6 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
1149
1144
|
}[];
|
|
1150
1145
|
detail: {
|
|
1151
1146
|
asOfDate?: string | null | undefined;
|
|
1152
|
-
createdAt?: string | null | undefined;
|
|
1153
|
-
creator?: string | null | undefined;
|
|
1154
|
-
dataConfidence?: "high" | "low" | "medium" | null | undefined;
|
|
1155
1147
|
derivedRange?: {
|
|
1156
1148
|
asOfDate: string;
|
|
1157
1149
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -1194,7 +1186,9 @@ type NaturalSearchResultDefinition = z.infer<typeof NaturalSearchResultSchemaDef
|
|
|
1194
1186
|
* @openapiSchema NaturalSearchResult
|
|
1195
1187
|
* @endpoint GET /v1/search/link
|
|
1196
1188
|
* @endpoint POST /v1/entities/natural-search
|
|
1189
|
+
* @endpoint POST /v1/search
|
|
1197
1190
|
* @endpoint POST /v1/search/all
|
|
1191
|
+
* @endpoint POST /v1/search/natural/entities
|
|
1198
1192
|
* @usedBySchema FederatedSearchSchema
|
|
1199
1193
|
* @contractShape natural.search-result
|
|
1200
1194
|
* @contractRole canonical
|
|
@@ -14,7 +14,9 @@ const NaturalSearchResultSchemaDefinition = z.object({
|
|
|
14
14
|
* @openapiSchema NaturalSearchResult
|
|
15
15
|
* @endpoint GET /v1/search/link
|
|
16
16
|
* @endpoint POST /v1/entities/natural-search
|
|
17
|
+
* @endpoint POST /v1/search
|
|
17
18
|
* @endpoint POST /v1/search/all
|
|
19
|
+
* @endpoint POST /v1/search/natural/entities
|
|
18
20
|
* @usedBySchema FederatedSearchSchema
|
|
19
21
|
* @contractShape natural.search-result
|
|
20
22
|
* @contractRole canonical
|
package/dist/natural/search.d.ts
CHANGED
|
@@ -20,7 +20,10 @@ type NaturalSearchDefinition = z.infer<typeof NaturalSearchSchemaDefinition>;
|
|
|
20
20
|
* @endpoint POST /v1/entities/natural-search
|
|
21
21
|
* @endpoint POST /v1/people/{personId}/content/search
|
|
22
22
|
* @endpoint POST /v1/people/natural-search
|
|
23
|
+
* @endpoint POST /v1/search
|
|
23
24
|
* @endpoint POST /v1/search/all
|
|
25
|
+
* @endpoint POST /v1/search/natural/entities
|
|
26
|
+
* @endpoint POST /v1/search/natural/people
|
|
24
27
|
* @usedBySchema EntityNaturalSearchSchema
|
|
25
28
|
* @usedBySchema PersonNaturalSearchSchema
|
|
26
29
|
* @contractShape natural.search
|
package/dist/natural/search.js
CHANGED
|
@@ -4,7 +4,7 @@ import { SearchModeSchema } from "../search/mode.js";
|
|
|
4
4
|
const NaturalSearchSchemaDefinition = z.object({
|
|
5
5
|
/** Search strategy to run. Defaults to `auto`: the fast name layer runs first (a single-token query as keyword search, a multiword query as an exact normalized name) and the language-model planner runs only on a miss, so name lookups never pay for planning. Any other value forces exactly that strategy: `exact` and `keyword` skip planner model resolution and its rate limit. Entity and person natural-search take every value; news and federated search accept only `auto` and `keyword`; content search accepts only `auto`. */
|
|
6
6
|
mode: SearchModeSchema.default("auto").optional(),
|
|
7
|
-
/** Optional chat model for planning; null uses the configured natural-search default.
|
|
7
|
+
/** Optional chat model for planning; null uses the configured natural-search default. A caller without admin authority may only choose an allowlisted model; admin callers are unrestricted. */
|
|
8
8
|
model: z.string().nullish(),
|
|
9
9
|
/** Plain-English search request. */
|
|
10
10
|
query: z.string().min(1),
|
|
@@ -18,7 +18,10 @@ const NaturalSearchSchemaDefinition = z.object({
|
|
|
18
18
|
* @endpoint POST /v1/entities/natural-search
|
|
19
19
|
* @endpoint POST /v1/people/{personId}/content/search
|
|
20
20
|
* @endpoint POST /v1/people/natural-search
|
|
21
|
+
* @endpoint POST /v1/search
|
|
21
22
|
* @endpoint POST /v1/search/all
|
|
23
|
+
* @endpoint POST /v1/search/natural/entities
|
|
24
|
+
* @endpoint POST /v1/search/natural/people
|
|
22
25
|
* @usedBySchema EntityNaturalSearchSchema
|
|
23
26
|
* @usedBySchema PersonNaturalSearchSchema
|
|
24
27
|
* @contractShape natural.search
|
package/dist/news/detail.d.ts
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Canonical news detail owner
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema NewsDetail
|
|
6
|
+
* @endpoint GET /v1/news/lookup
|
|
7
|
+
* @endpoint GET /v1/news/{newsId}
|
|
8
|
+
* @contractShape news.detail
|
|
9
|
+
* @contractRole canonical
|
|
10
|
+
*/
|
|
11
|
+
export declare const NewsDetailSchema: z.ZodObject<{
|
|
3
12
|
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
13
|
core: z.ZodType<{
|
|
5
14
|
author?: string | null | undefined;
|
|
@@ -10,7 +19,6 @@ declare const NewsDetailSchemaDefinition: z.ZodObject<{
|
|
|
10
19
|
id: number;
|
|
11
20
|
newsImageThumbnail?: string | null | undefined;
|
|
12
21
|
newsUrlOriginal?: string | null | undefined;
|
|
13
|
-
pendingApproval?: number | null | undefined;
|
|
14
22
|
publication?: string | null | undefined;
|
|
15
23
|
publishedAt?: string | null | undefined;
|
|
16
24
|
slug?: string | null | undefined;
|
|
@@ -25,7 +33,6 @@ declare const NewsDetailSchemaDefinition: z.ZodObject<{
|
|
|
25
33
|
id: number;
|
|
26
34
|
newsImageThumbnail?: string | null | undefined;
|
|
27
35
|
newsUrlOriginal?: string | null | undefined;
|
|
28
|
-
pendingApproval?: number | null | undefined;
|
|
29
36
|
publication?: string | null | undefined;
|
|
30
37
|
publishedAt?: string | null | undefined;
|
|
31
38
|
slug?: string | null | undefined;
|
|
@@ -37,8 +44,7 @@ declare const NewsDetailSchemaDefinition: z.ZodObject<{
|
|
|
37
44
|
entityId: string;
|
|
38
45
|
href?: string | null | undefined;
|
|
39
46
|
internal: boolean;
|
|
40
|
-
|
|
41
|
-
matchType?: string | null | undefined;
|
|
47
|
+
matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
|
|
42
48
|
mention?: string | null | undefined;
|
|
43
49
|
slug?: string | null | undefined;
|
|
44
50
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
@@ -48,8 +54,7 @@ declare const NewsDetailSchemaDefinition: z.ZodObject<{
|
|
|
48
54
|
entityId: string;
|
|
49
55
|
href?: string | null | undefined;
|
|
50
56
|
internal: boolean;
|
|
51
|
-
|
|
52
|
-
matchType?: string | null | undefined;
|
|
57
|
+
matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
|
|
53
58
|
mention?: string | null | undefined;
|
|
54
59
|
slug?: string | null | undefined;
|
|
55
60
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
@@ -60,8 +65,7 @@ declare const NewsDetailSchemaDefinition: z.ZodObject<{
|
|
|
60
65
|
personMentionResolved: z.ZodArray<z.ZodType<{
|
|
61
66
|
createdAt: string;
|
|
62
67
|
href?: string | null | undefined;
|
|
63
|
-
|
|
64
|
-
matchType?: string | null | undefined;
|
|
68
|
+
matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
|
|
65
69
|
mention?: string | null | undefined;
|
|
66
70
|
personId: string;
|
|
67
71
|
slug?: string | null | undefined;
|
|
@@ -69,26 +73,12 @@ declare const NewsDetailSchemaDefinition: z.ZodObject<{
|
|
|
69
73
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
70
74
|
createdAt: string;
|
|
71
75
|
href?: string | null | undefined;
|
|
72
|
-
|
|
73
|
-
matchType?: string | null | undefined;
|
|
76
|
+
matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
|
|
74
77
|
mention?: string | null | undefined;
|
|
75
78
|
personId: string;
|
|
76
79
|
slug?: string | null | undefined;
|
|
77
80
|
updatedAt: string;
|
|
78
81
|
}, unknown>>>;
|
|
79
82
|
}, z.core.$strip>;
|
|
80
|
-
type NewsDetailDefinition = z.infer<typeof NewsDetailSchemaDefinition>;
|
|
81
|
-
/**
|
|
82
|
-
* Canonical news detail owner
|
|
83
|
-
*
|
|
84
|
-
* @openapiSchema NewsDetail
|
|
85
|
-
* @endpoint GET /v1/news/detail
|
|
86
|
-
* @endpoint GET /v1/news/lookup
|
|
87
|
-
* @endpoint GET /v1/news/{newsId}
|
|
88
|
-
* @contractShape news.detail
|
|
89
|
-
* @contractRole canonical
|
|
90
|
-
*/
|
|
91
|
-
export declare const NewsDetailSchema: z.ZodType<NewsDetailDefinition>;
|
|
92
83
|
export type NewsDetail = z.infer<typeof NewsDetailSchema>;
|
|
93
|
-
export {};
|
|
94
84
|
//# sourceMappingURL=detail.d.ts.map
|
package/dist/news/detail.js
CHANGED
|
@@ -3,25 +3,23 @@ import { z } from "zod/v4";
|
|
|
3
3
|
import { NewsSchema } from "./news.js";
|
|
4
4
|
import { NewsResolvedEntityLinkSchema } from "./resolved-entity-link.js";
|
|
5
5
|
import { NewsResolvedPersonLinkSchema } from "./resolved-person-link.js";
|
|
6
|
-
const NewsDetailSchemaDefinition = z.object({
|
|
7
|
-
content: z.string().nullish(),
|
|
8
|
-
core: NewsSchema,
|
|
9
|
-
/** Resolved entity mentions — read-only display projections. News mutations attach entities only via flat entityJoinId values, never these nested objects. */
|
|
10
|
-
entityMentionResolved: z.array(NewsResolvedEntityLinkSchema),
|
|
11
|
-
externalId: z.string().nullish(),
|
|
12
|
-
linkedContent: z.string().nullish(),
|
|
13
|
-
/** Resolved person mentions — read-only display projections. News mutations attach people only via flat personId/personSlug values, never these nested objects. */
|
|
14
|
-
personMentionResolved: z.array(NewsResolvedPersonLinkSchema),
|
|
15
|
-
});
|
|
16
6
|
/**
|
|
17
7
|
* Canonical news detail owner
|
|
18
8
|
*
|
|
19
9
|
* @openapiSchema NewsDetail
|
|
20
|
-
* @endpoint GET /v1/news/detail
|
|
21
10
|
* @endpoint GET /v1/news/lookup
|
|
22
11
|
* @endpoint GET /v1/news/{newsId}
|
|
23
12
|
* @contractShape news.detail
|
|
24
13
|
* @contractRole canonical
|
|
25
14
|
*/
|
|
26
|
-
export const NewsDetailSchema =
|
|
15
|
+
export const NewsDetailSchema = z.object({
|
|
16
|
+
content: z.string().nullish(),
|
|
17
|
+
core: NewsSchema,
|
|
18
|
+
/** Resolved entity mentions — read-only display projections. News mutations attach entities only via flat entityJoinId values, never these nested objects. */
|
|
19
|
+
entityMentionResolved: z.array(NewsResolvedEntityLinkSchema),
|
|
20
|
+
externalId: z.string().nullish(),
|
|
21
|
+
linkedContent: z.string().nullish(),
|
|
22
|
+
/** Resolved person mentions — read-only display projections. News mutations attach people only via flat personId/personSlug values, never these nested objects. */
|
|
23
|
+
personMentionResolved: z.array(NewsResolvedPersonLinkSchema),
|
|
24
|
+
});
|
|
27
25
|
//# sourceMappingURL=detail.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* auto-match = linked by the matcher; needs-review = awaiting a reviewer; approved; rejected
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema NewsMatchStatus
|
|
6
|
+
* @endpoint GET /v1/news/lookup
|
|
7
|
+
* @endpoint GET /v1/news/{newsId}
|
|
8
|
+
* @usedBySchema NewsResolvedEntityLinkSchema
|
|
9
|
+
* @usedBySchema NewsResolvedPersonLinkSchema
|
|
10
|
+
* @contractShape news.match-status
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export declare const NewsMatchStatusSchema: z.ZodEnum<{
|
|
14
|
+
approved: "approved";
|
|
15
|
+
"auto-match": "auto-match";
|
|
16
|
+
"needs-review": "needs-review";
|
|
17
|
+
rejected: "rejected";
|
|
18
|
+
}>;
|
|
19
|
+
export type NewsMatchStatus = z.infer<typeof NewsMatchStatusSchema>;
|
|
20
|
+
//# sourceMappingURL=match-status.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
/**
|
|
4
|
+
* auto-match = linked by the matcher; needs-review = awaiting a reviewer; approved; rejected
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema NewsMatchStatus
|
|
7
|
+
* @endpoint GET /v1/news/lookup
|
|
8
|
+
* @endpoint GET /v1/news/{newsId}
|
|
9
|
+
* @usedBySchema NewsResolvedEntityLinkSchema
|
|
10
|
+
* @usedBySchema NewsResolvedPersonLinkSchema
|
|
11
|
+
* @contractShape news.match-status
|
|
12
|
+
* @contractRole canonical
|
|
13
|
+
*/
|
|
14
|
+
export const NewsMatchStatusSchema = z.enum(["auto-match", "needs-review", "approved", "rejected"]);
|
|
15
|
+
//# sourceMappingURL=match-status.js.map
|
package/dist/news/news.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ declare const NewsSchemaDefinition: z.ZodObject<{
|
|
|
8
8
|
id: z.ZodInt;
|
|
9
9
|
newsImageThumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
newsUrlOriginal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
pendingApproval: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
12
11
|
publication: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
12
|
publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
14
13
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -20,27 +19,19 @@ type NewsDefinition = z.infer<typeof NewsSchemaDefinition>;
|
|
|
20
19
|
* Canonical news owner for list and core semantics
|
|
21
20
|
*
|
|
22
21
|
* @openapiSchema News
|
|
23
|
-
* @endpoint GET /v1/entities/detail
|
|
24
|
-
* @endpoint GET /v1/entities/detail/news
|
|
25
22
|
* @endpoint GET /v1/entities/lookup
|
|
26
23
|
* @endpoint GET /v1/news
|
|
27
|
-
* @endpoint GET /v1/news/detail
|
|
28
24
|
* @endpoint GET /v1/news/lookup
|
|
29
|
-
* @endpoint GET /v1/news/recent
|
|
30
|
-
* @endpoint GET /v1/news/similar
|
|
31
|
-
* @endpoint GET /v1/people/detail/news
|
|
32
25
|
* @endpoint GET /v1/search/link
|
|
33
26
|
* @endpoint GET /v1/entities/{entityId}
|
|
34
27
|
* @endpoint GET /v1/entities/{entityId}/investors
|
|
35
28
|
* @endpoint GET /v1/entities/{entityId}/trending-news
|
|
36
29
|
* @endpoint GET /v1/news/{newsId}
|
|
37
30
|
* @endpoint GET /v1/people/{personId}/graph
|
|
38
|
-
* @endpoint POST /v1/entities/batch
|
|
39
|
-
* @endpoint POST /v1/entities/detail/batch
|
|
40
31
|
* @endpoint POST /v1/entities/lookup/batch
|
|
41
32
|
* @endpoint POST /v1/entities/lookup/matches
|
|
42
33
|
* @endpoint POST /v1/entities/search
|
|
43
|
-
* @endpoint POST /v1/
|
|
34
|
+
* @endpoint POST /v1/search
|
|
44
35
|
* @endpoint POST /v1/search/all
|
|
45
36
|
* @usedBySchema EntityDetailSchema
|
|
46
37
|
* @usedBySchema NewsDetailSchema
|
package/dist/news/news.js
CHANGED
|
@@ -11,7 +11,6 @@ const NewsSchemaDefinition = z.object({
|
|
|
11
11
|
id: z.int(),
|
|
12
12
|
newsImageThumbnail: z.string().nullish(),
|
|
13
13
|
newsUrlOriginal: z.string().nullish(),
|
|
14
|
-
pendingApproval: z.int().nullish(),
|
|
15
14
|
publication: z.string().nullish(),
|
|
16
15
|
publishedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
17
16
|
/** Canonical lowercase URL slug for the resource */
|
|
@@ -28,27 +27,19 @@ const NewsSchemaDefinition = z.object({
|
|
|
28
27
|
* Canonical news owner for list and core semantics
|
|
29
28
|
*
|
|
30
29
|
* @openapiSchema News
|
|
31
|
-
* @endpoint GET /v1/entities/detail
|
|
32
|
-
* @endpoint GET /v1/entities/detail/news
|
|
33
30
|
* @endpoint GET /v1/entities/lookup
|
|
34
31
|
* @endpoint GET /v1/news
|
|
35
|
-
* @endpoint GET /v1/news/detail
|
|
36
32
|
* @endpoint GET /v1/news/lookup
|
|
37
|
-
* @endpoint GET /v1/news/recent
|
|
38
|
-
* @endpoint GET /v1/news/similar
|
|
39
|
-
* @endpoint GET /v1/people/detail/news
|
|
40
33
|
* @endpoint GET /v1/search/link
|
|
41
34
|
* @endpoint GET /v1/entities/{entityId}
|
|
42
35
|
* @endpoint GET /v1/entities/{entityId}/investors
|
|
43
36
|
* @endpoint GET /v1/entities/{entityId}/trending-news
|
|
44
37
|
* @endpoint GET /v1/news/{newsId}
|
|
45
38
|
* @endpoint GET /v1/people/{personId}/graph
|
|
46
|
-
* @endpoint POST /v1/entities/batch
|
|
47
|
-
* @endpoint POST /v1/entities/detail/batch
|
|
48
39
|
* @endpoint POST /v1/entities/lookup/batch
|
|
49
40
|
* @endpoint POST /v1/entities/lookup/matches
|
|
50
41
|
* @endpoint POST /v1/entities/search
|
|
51
|
-
* @endpoint POST /v1/
|
|
42
|
+
* @endpoint POST /v1/search
|
|
52
43
|
* @endpoint POST /v1/search/all
|
|
53
44
|
* @usedBySchema EntityDetailSchema
|
|
54
45
|
* @usedBySchema NewsDetailSchema
|
|
@@ -4,8 +4,12 @@ declare const NewsResolvedEntityLinkSchemaDefinition: z.ZodObject<{
|
|
|
4
4
|
entityId: z.ZodUUID;
|
|
5
5
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
internal: z.ZodBoolean;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
matchStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
8
|
+
approved: "approved";
|
|
9
|
+
"auto-match": "auto-match";
|
|
10
|
+
"needs-review": "needs-review";
|
|
11
|
+
rejected: "rejected";
|
|
12
|
+
}>>>;
|
|
9
13
|
mention: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
14
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
15
|
typeRecord: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -23,10 +27,9 @@ declare const NewsResolvedEntityLinkSchemaDefinition: z.ZodObject<{
|
|
|
23
27
|
}, z.core.$strip>;
|
|
24
28
|
type NewsResolvedEntityLinkDefinition = z.infer<typeof NewsResolvedEntityLinkSchemaDefinition>;
|
|
25
29
|
/**
|
|
26
|
-
* Resolved entity mention in news content - hyperlink to an entity detected in article text
|
|
30
|
+
* Resolved entity mention in news content - hyperlink to an entity detected in article text
|
|
27
31
|
*
|
|
28
32
|
* @openapiSchema NewsResolvedEntityLink
|
|
29
|
-
* @endpoint GET /v1/news/detail
|
|
30
33
|
* @endpoint GET /v1/news/lookup
|
|
31
34
|
* @endpoint GET /v1/news/{newsId}
|
|
32
35
|
* @usedBySchema NewsDetailSchema
|
|
@@ -1,14 +1,14 @@
|
|
|
1
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
2
|
import { z } from "zod/v4";
|
|
3
3
|
import { EntityTypeSchema } from "../entity/type.js";
|
|
4
|
+
import { NewsMatchStatusSchema } from "./match-status.js";
|
|
4
5
|
const NewsResolvedEntityLinkSchemaDefinition = z.object({
|
|
5
6
|
createdAt: z.iso.datetime({ offset: true }),
|
|
6
7
|
/** Canonical entity UUID */
|
|
7
8
|
entityId: z.uuid(),
|
|
8
9
|
href: z.string().nullish(),
|
|
9
10
|
internal: z.boolean(),
|
|
10
|
-
|
|
11
|
-
matchType: z.string().nullish(),
|
|
11
|
+
matchStatus: NewsMatchStatusSchema.nullish(),
|
|
12
12
|
mention: z.string().nullish(),
|
|
13
13
|
/** Canonical lowercase URL slug for the resource */
|
|
14
14
|
slug: z
|
|
@@ -20,10 +20,9 @@ const NewsResolvedEntityLinkSchemaDefinition = z.object({
|
|
|
20
20
|
updatedAt: z.iso.datetime({ offset: true }),
|
|
21
21
|
});
|
|
22
22
|
/**
|
|
23
|
-
* Resolved entity mention in news content - hyperlink to an entity detected in article text
|
|
23
|
+
* Resolved entity mention in news content - hyperlink to an entity detected in article text
|
|
24
24
|
*
|
|
25
25
|
* @openapiSchema NewsResolvedEntityLink
|
|
26
|
-
* @endpoint GET /v1/news/detail
|
|
27
26
|
* @endpoint GET /v1/news/lookup
|
|
28
27
|
* @endpoint GET /v1/news/{newsId}
|
|
29
28
|
* @usedBySchema NewsDetailSchema
|
|
@@ -2,8 +2,12 @@ import { z } from "zod/v4";
|
|
|
2
2
|
declare const NewsResolvedPersonLinkSchemaDefinition: z.ZodObject<{
|
|
3
3
|
createdAt: z.ZodISODateTime;
|
|
4
4
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
matchStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6
|
+
approved: "approved";
|
|
7
|
+
"auto-match": "auto-match";
|
|
8
|
+
"needs-review": "needs-review";
|
|
9
|
+
rejected: "rejected";
|
|
10
|
+
}>>>;
|
|
7
11
|
mention: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
12
|
personId: z.ZodUUID;
|
|
9
13
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -14,7 +18,6 @@ type NewsResolvedPersonLinkDefinition = z.infer<typeof NewsResolvedPersonLinkSch
|
|
|
14
18
|
* Resolved person mention in news content - hyperlink to a person detected in article text
|
|
15
19
|
*
|
|
16
20
|
* @openapiSchema NewsResolvedPersonLink
|
|
17
|
-
* @endpoint GET /v1/news/detail
|
|
18
21
|
* @endpoint GET /v1/news/lookup
|
|
19
22
|
* @endpoint GET /v1/news/{newsId}
|
|
20
23
|
* @usedBySchema NewsDetailSchema
|
|
@@ -1,10 +1,10 @@
|
|
|
1
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
2
|
import { z } from "zod/v4";
|
|
3
|
+
import { NewsMatchStatusSchema } from "./match-status.js";
|
|
3
4
|
const NewsResolvedPersonLinkSchemaDefinition = z.object({
|
|
4
5
|
createdAt: z.iso.datetime({ offset: true }),
|
|
5
6
|
href: z.string().nullish(),
|
|
6
|
-
|
|
7
|
-
matchType: z.string().nullish(),
|
|
7
|
+
matchStatus: NewsMatchStatusSchema.nullish(),
|
|
8
8
|
mention: z.string().nullish(),
|
|
9
9
|
/** Canonical person UUID */
|
|
10
10
|
personId: z.uuid(),
|
|
@@ -20,7 +20,6 @@ const NewsResolvedPersonLinkSchemaDefinition = z.object({
|
|
|
20
20
|
* Resolved person mention in news content - hyperlink to a person detected in article text
|
|
21
21
|
*
|
|
22
22
|
* @openapiSchema NewsResolvedPersonLink
|
|
23
|
-
* @endpoint GET /v1/news/detail
|
|
24
23
|
* @endpoint GET /v1/news/lookup
|
|
25
24
|
* @endpoint GET /v1/news/{newsId}
|
|
26
25
|
* @usedBySchema NewsDetailSchema
|
|
@@ -3,7 +3,7 @@ import { z } from "zod/v4";
|
|
|
3
3
|
const NewsSourceUrlConflictSchemaDefinition = z.object({
|
|
4
4
|
/** Existing article id (NewsId.value) that already owns this publication + URL pair. */
|
|
5
5
|
conflictingArticleId: z.int(),
|
|
6
|
-
/** Existing article slug, or empty string when the existing article has no slug. Use with GET /v1/news/
|
|
6
|
+
/** Existing article slug, or empty string when the existing article has no slug. Use with GET /v1/news/lookup?slug= to fetch the conflicting article. */
|
|
7
7
|
conflictingArticleSlug: z.string(),
|
|
8
8
|
/** Existing article title for human-readable diagnostics. */
|
|
9
9
|
conflictingArticleTitle: z.string(),
|