@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.
Files changed (430) hide show
  1. package/README.md +7 -1
  2. package/dist/address/address.d.ts +2 -8
  3. package/dist/address/address.js +2 -8
  4. package/dist/address/association-role.d.ts +2 -8
  5. package/dist/address/association-role.js +2 -8
  6. package/dist/address/association.d.ts +2 -8
  7. package/dist/address/association.js +2 -8
  8. package/dist/address/city.d.ts +2 -8
  9. package/dist/address/city.js +2 -8
  10. package/dist/address/country.d.ts +2 -8
  11. package/dist/address/country.js +2 -8
  12. package/dist/address/state.d.ts +2 -8
  13. package/dist/address/state.js +2 -8
  14. package/dist/agent/help-question.d.ts +1 -0
  15. package/dist/agent/help-question.js +2 -1
  16. package/dist/agent/help.d.ts +1 -1
  17. package/dist/agent/help.js +1 -2
  18. package/dist/agent/instruction-detail.d.ts +2 -0
  19. package/dist/agent/instruction-detail.js +2 -0
  20. package/dist/agent/instruction-kind.d.ts +2 -0
  21. package/dist/agent/instruction-kind.js +2 -0
  22. package/dist/agent/instruction-manifest.d.ts +1 -0
  23. package/dist/agent/instruction-manifest.js +1 -0
  24. package/dist/agent/instruction-pointer.d.ts +1 -0
  25. package/dist/agent/instruction-pointer.js +1 -0
  26. package/dist/agent/instruction.d.ts +2 -0
  27. package/dist/agent/instruction.js +2 -0
  28. package/dist/{personal/api-key.d.ts → api/key.d.ts} +10 -10
  29. package/dist/{personal/api-key.js → api/key.js} +8 -8
  30. package/dist/auth/client.d.ts +1 -0
  31. package/dist/auth/client.js +2 -0
  32. package/dist/auth/provider-catalog.d.ts +1 -0
  33. package/dist/billing/additional-usage-funding-type.d.ts +16 -0
  34. package/dist/billing/additional-usage-funding-type.js +13 -0
  35. package/dist/billing/additional-usage-meter.d.ts +28 -0
  36. package/dist/billing/additional-usage-meter.js +20 -0
  37. package/dist/billing/additional-usage-type.d.ts +23 -0
  38. package/dist/billing/additional-usage-type.js +23 -0
  39. package/dist/billing/additional-usage.d.ts +38 -0
  40. package/dist/billing/additional-usage.js +35 -0
  41. package/dist/billing/catalog-additional-usage.d.ts +27 -0
  42. package/dist/billing/catalog-additional-usage.js +19 -0
  43. package/dist/billing/catalog-allowance.d.ts +26 -0
  44. package/dist/billing/catalog-allowance.js +25 -0
  45. package/dist/billing/catalog-credit-pack.d.ts +24 -0
  46. package/dist/billing/catalog-credit-pack.js +19 -0
  47. package/dist/billing/catalog-plan.d.ts +34 -0
  48. package/dist/billing/catalog-plan.js +25 -0
  49. package/dist/billing/catalog-tier.d.ts +32 -0
  50. package/dist/billing/catalog-tier.js +21 -0
  51. package/dist/billing/catalog.d.ts +63 -0
  52. package/dist/billing/catalog.js +24 -0
  53. package/dist/billing/checkout-mutation.d.ts +23 -0
  54. package/dist/billing/checkout-mutation.js +17 -0
  55. package/dist/billing/checkout.d.ts +25 -0
  56. package/dist/billing/checkout.js +18 -0
  57. package/dist/billing/credit-pack-type.d.ts +18 -0
  58. package/dist/billing/credit-pack-type.js +13 -0
  59. package/dist/billing/plan-change-mutation.d.ts +23 -0
  60. package/dist/billing/plan-change-mutation.js +17 -0
  61. package/dist/billing/plan-change.d.ts +25 -0
  62. package/dist/billing/plan-change.js +21 -0
  63. package/dist/billing/plan-type.d.ts +27 -0
  64. package/dist/billing/plan-type.js +27 -0
  65. package/dist/billing/portal.d.ts +17 -0
  66. package/dist/billing/portal.js +15 -0
  67. package/dist/billing/subscription.d.ts +158 -0
  68. package/dist/billing/subscription.js +40 -0
  69. package/dist/blog/post-type.d.ts +0 -1
  70. package/dist/blog/post-type.js +0 -1
  71. package/dist/blog/post.d.ts +0 -1
  72. package/dist/blog/post.js +1 -2
  73. package/dist/classification/classification.d.ts +2 -6
  74. package/dist/classification/classification.js +2 -6
  75. package/dist/cli/authorization-delivery.d.ts +1 -1
  76. package/dist/cli/authorization-delivery.js +2 -2
  77. package/dist/cli/authorization-poll.d.ts +1 -1
  78. package/dist/cli/authorization-terminal-reason.d.ts +1 -1
  79. package/dist/cli/authorization-terminal-reason.js +1 -1
  80. package/dist/cli/authorization.d.ts +1 -1
  81. package/dist/confidence/confidence.d.ts +4 -4
  82. package/dist/confidence/confidence.js +4 -4
  83. package/dist/content/compliance.d.ts +2 -5
  84. package/dist/content/compliance.js +2 -5
  85. package/dist/content/embedding-match.d.ts +3 -9
  86. package/dist/content/embedding-match.js +3 -9
  87. package/dist/content/source-type.d.ts +3 -9
  88. package/dist/content/source-type.js +3 -9
  89. package/dist/datasource/agent-identity.d.ts +1 -1
  90. package/dist/datasource/agent-identity.js +1 -1
  91. package/dist/datasource/data-source-type.d.ts +1 -1
  92. package/dist/datasource/data-source-type.js +1 -1
  93. package/dist/datasource/field-provenance.d.ts +1 -1
  94. package/dist/datasource/field-provenance.js +1 -1
  95. package/dist/datasource/provenance-actor-type.d.ts +1 -1
  96. package/dist/datasource/provenance-actor-type.js +1 -1
  97. package/dist/datasource/provenance-actor.d.ts +1 -1
  98. package/dist/datasource/provenance-actor.js +1 -1
  99. package/dist/datasource/provenance-field-change.d.ts +1 -1
  100. package/dist/datasource/provenance-field-change.js +1 -1
  101. package/dist/datasource/provenance-operation.d.ts +1 -1
  102. package/dist/datasource/provenance-operation.js +1 -1
  103. package/dist/datasource/provenance-source.d.ts +1 -1
  104. package/dist/datasource/provenance-source.js +1 -1
  105. package/dist/datasource/provenance-status.d.ts +1 -1
  106. package/dist/datasource/provenance-status.js +1 -1
  107. package/dist/datasource/source-metadata.d.ts +3 -26
  108. package/dist/datasource/source-metadata.js +3 -26
  109. package/dist/datasource/tracked-provenance-table.d.ts +1 -1
  110. package/dist/datasource/tracked-provenance-table.js +1 -1
  111. package/dist/decimal/range.d.ts +3 -4
  112. package/dist/decimal/range.js +3 -4
  113. package/dist/employee/count.d.ts +1 -1
  114. package/dist/employee/count.js +1 -1
  115. package/dist/entity/accelerator-participation.d.ts +2 -6
  116. package/dist/entity/accelerator-participation.js +2 -5
  117. package/dist/entity/acquisition.d.ts +0 -2
  118. package/dist/entity/alias-type.d.ts +6 -11
  119. package/dist/entity/alias-type.js +6 -11
  120. package/dist/entity/classification.d.ts +2 -5
  121. package/dist/entity/classification.js +2 -5
  122. package/dist/entity/comparison-signals.d.ts +0 -3
  123. package/dist/entity/comparison-signals.js +0 -3
  124. package/dist/entity/detail-batch.d.ts +0 -1
  125. package/dist/entity/detail-batch.js +0 -1
  126. package/dist/entity/detail.d.ts +4 -54
  127. package/dist/entity/detail.js +0 -3
  128. package/dist/entity/enrichment.d.ts +3 -5
  129. package/dist/entity/enrichment.js +2 -5
  130. package/dist/entity/entity.d.ts +7 -13
  131. package/dist/entity/entity.js +7 -14
  132. package/dist/entity/filter-count-meta.d.ts +0 -1
  133. package/dist/entity/filter-count-meta.js +0 -1
  134. package/dist/entity/filter-count-result.d.ts +0 -1
  135. package/dist/entity/filter-count-result.js +0 -1
  136. package/dist/entity/filter-logo-option.d.ts +4 -3
  137. package/dist/entity/filter-logo-option.js +3 -2
  138. package/dist/entity/filter-search-result.d.ts +0 -1
  139. package/dist/entity/filter-search-result.js +0 -1
  140. package/dist/entity/filter-search.d.ts +10 -3
  141. package/dist/entity/filter.d.ts +11 -4
  142. package/dist/entity/filter.js +4 -3
  143. package/dist/entity/filters-counts-param.d.ts +19 -0
  144. package/dist/entity/filters-counts-param.js +23 -0
  145. package/dist/entity/funding-detail.d.ts +3 -5
  146. package/dist/entity/funding-detail.js +4 -5
  147. package/dist/entity/fundraise-filter-criteria.d.ts +2 -1
  148. package/dist/entity/fundraise-filter-criteria.js +2 -1
  149. package/dist/entity/fundraise-investor-activity.d.ts +1 -1
  150. package/dist/entity/fundraise-investor-activity.js +1 -1
  151. package/dist/entity/fundraise-investor-join.d.ts +2 -2
  152. package/dist/entity/fundraise-investor-join.js +3 -3
  153. package/dist/entity/fundraise-transaction-entity.d.ts +3 -6
  154. package/dist/entity/fundraise-transaction-entity.js +2 -5
  155. package/dist/entity/fundraise-transaction.d.ts +3 -6
  156. package/dist/entity/fundraise-transaction.js +2 -5
  157. package/dist/entity/fundraise.d.ts +1 -7
  158. package/dist/entity/fundraise.js +1 -7
  159. package/dist/entity/image.d.ts +6 -11
  160. package/dist/entity/image.js +6 -11
  161. package/dist/entity/investments-param.js +1 -1
  162. package/dist/entity/investor-participation.d.ts +4 -51
  163. package/dist/entity/investors-param.js +1 -1
  164. package/dist/entity/list-filter.d.ts +13 -4
  165. package/dist/entity/list-filter.js +7 -4
  166. package/dist/entity/list-quality-gate.d.ts +2 -2
  167. package/dist/entity/list-quality-gate.js +2 -2
  168. package/dist/entity/list-research.d.ts +2 -11
  169. package/dist/entity/list-research.js +2 -3
  170. package/dist/entity/list-summary.d.ts +3 -3
  171. package/dist/entity/list.d.ts +6 -14
  172. package/dist/entity/list.js +2 -3
  173. package/dist/entity/logo-type.d.ts +1 -1
  174. package/dist/entity/logo-type.js +1 -1
  175. package/dist/entity/lookup-batch-param.d.ts +18 -0
  176. package/dist/entity/{detail-batch-param.js → lookup-batch-param.js} +7 -7
  177. package/dist/entity/lookup-param.js +3 -3
  178. package/dist/entity/name-alias-entity-alias-type.d.ts +6 -11
  179. package/dist/entity/name-alias-entity-alias-type.js +6 -11
  180. package/dist/entity/name-alias-person-alias-type.d.ts +2 -7
  181. package/dist/entity/name-alias-person-alias-type.js +2 -7
  182. package/dist/entity/natural-search.d.ts +11 -3
  183. package/dist/entity/natural-search.js +1 -0
  184. package/dist/entity/operating-status.d.ts +29 -0
  185. package/dist/entity/operating-status.js +29 -0
  186. package/dist/entity/people-param.d.ts +27 -0
  187. package/dist/entity/people-param.js +34 -0
  188. package/dist/entity/person-association.d.ts +0 -9
  189. package/dist/entity/person-association.js +0 -10
  190. package/dist/entity/person-owner.d.ts +2 -2
  191. package/dist/entity/person-owner.js +2 -2
  192. package/dist/entity/relationship.d.ts +0 -4
  193. package/dist/entity/relationship.js +0 -3
  194. package/dist/entity/research-detail.d.ts +4 -14
  195. package/dist/entity/research-detail.js +4 -11
  196. package/dist/entity/research-fact-value.d.ts +1 -1
  197. package/dist/entity/research-fact-value.js +1 -1
  198. package/dist/entity/research-snippet.d.ts +2 -9
  199. package/dist/entity/research-snippet.js +2 -12
  200. package/dist/entity/research-value-type.d.ts +5 -8
  201. package/dist/entity/research-value-type.js +5 -8
  202. package/dist/entity/research.d.ts +0 -15
  203. package/dist/entity/research.js +0 -3
  204. package/dist/entity/resolution.d.ts +4 -51
  205. package/dist/entity/search-param.js +2 -2
  206. package/dist/entity/similarity-context.d.ts +0 -1
  207. package/dist/entity/similarity-context.js +0 -1
  208. package/dist/entity/similarity-origin.d.ts +0 -1
  209. package/dist/entity/similarity-origin.js +0 -1
  210. package/dist/entity/similarity-result.d.ts +4 -13
  211. package/dist/entity/similarity-result.js +0 -1
  212. package/dist/entity/sitemap.d.ts +6 -11
  213. package/dist/entity/sitemap.js +6 -11
  214. package/dist/entity/suggestion-result.d.ts +4 -12
  215. package/dist/entity/suggestion.d.ts +4 -12
  216. package/dist/entity/tag-count.d.ts +0 -1
  217. package/dist/entity/tag-count.js +0 -1
  218. package/dist/entity/tag.d.ts +2 -7
  219. package/dist/entity/tag.js +2 -7
  220. package/dist/entity/text-bundle.d.ts +3 -9
  221. package/dist/entity/text-bundle.js +3 -9
  222. package/dist/entity/url-crawl-cdn-provider.d.ts +2 -10
  223. package/dist/entity/url-crawl-cdn-provider.js +2 -10
  224. package/dist/entity/url-crawl-render-mode.d.ts +2 -10
  225. package/dist/entity/url-crawl-render-mode.js +2 -10
  226. package/dist/entity/url-link.d.ts +2 -10
  227. package/dist/entity/url-link.js +2 -10
  228. package/dist/entity/url-type.d.ts +2 -10
  229. package/dist/entity/url-type.js +2 -10
  230. package/dist/entity/valuation-data-confidence.d.ts +1 -22
  231. package/dist/entity/valuation-data-confidence.js +1 -22
  232. package/dist/federated/search-provenance.d.ts +1 -0
  233. package/dist/federated/search-provenance.js +1 -0
  234. package/dist/federated/search.d.ts +11 -36
  235. package/dist/federated/search.js +1 -0
  236. package/dist/funding/stage.d.ts +2 -5
  237. package/dist/funding/stage.js +2 -5
  238. package/dist/fundraise/data-confidence.d.ts +2 -5
  239. package/dist/fundraise/data-confidence.js +2 -5
  240. package/dist/fundraise/financial-instrument-type.d.ts +2 -2
  241. package/dist/fundraise/financial-instrument-type.js +2 -2
  242. package/dist/fundraise/investment-attribution-type.d.ts +3 -9
  243. package/dist/fundraise/investment-attribution-type.js +3 -9
  244. package/dist/fundraise/investment-attribution.d.ts +3 -9
  245. package/dist/fundraise/investment-attribution.js +3 -9
  246. package/dist/help/citation.d.ts +1 -0
  247. package/dist/help/citation.js +1 -0
  248. package/dist/help/scope.d.ts +1 -0
  249. package/dist/help/scope.js +1 -0
  250. package/dist/help/source-type.d.ts +1 -0
  251. package/dist/help/source-type.js +1 -0
  252. package/dist/http/problem-detail.d.ts +26 -1
  253. package/dist/http/problem-detail.js +84 -1
  254. package/dist/identification/candidate.d.ts +42 -0
  255. package/dist/identification/candidate.js +24 -0
  256. package/dist/identification/identification.d.ts +86 -0
  257. package/dist/identification/identification.js +29 -0
  258. package/dist/identification/subject.d.ts +24 -0
  259. package/dist/identification/subject.js +28 -0
  260. package/dist/int/range.d.ts +3 -4
  261. package/dist/int/range.js +3 -4
  262. package/dist/investor/activity-filter.d.ts +3 -2
  263. package/dist/investor/activity-filter.js +3 -2
  264. package/dist/link/search.d.ts +10 -36
  265. package/dist/location/directory-entry.d.ts +1 -2
  266. package/dist/location/directory-entry.js +1 -2
  267. package/dist/location/identifier.d.ts +1 -1
  268. package/dist/location/identifier.js +1 -1
  269. package/dist/location/scope.d.ts +1 -1
  270. package/dist/location/scope.js +1 -1
  271. package/dist/location/sitemap.d.ts +81 -18
  272. package/dist/location/sitemap.js +5 -4
  273. package/dist/media/object-type.d.ts +3 -3
  274. package/dist/media/object-type.js +3 -3
  275. package/dist/media/slot.d.ts +18 -0
  276. package/dist/media/slot.js +14 -0
  277. package/dist/media/upload.d.ts +3 -3
  278. package/dist/media/upload.js +3 -3
  279. package/dist/natural/search-result.d.ts +10 -16
  280. package/dist/natural/search-result.js +2 -0
  281. package/dist/natural/search.d.ts +3 -0
  282. package/dist/natural/search.js +4 -1
  283. package/dist/news/detail.d.ts +14 -24
  284. package/dist/news/detail.js +10 -12
  285. package/dist/news/match-status.d.ts +20 -0
  286. package/dist/news/match-status.js +15 -0
  287. package/dist/news/news.d.ts +1 -10
  288. package/dist/news/news.js +1 -10
  289. package/dist/news/resolved-entity-link.d.ts +7 -4
  290. package/dist/news/resolved-entity-link.js +3 -4
  291. package/dist/news/resolved-person-link.d.ts +6 -3
  292. package/dist/news/resolved-person-link.js +2 -3
  293. package/dist/news/source-url-conflict.js +1 -1
  294. package/dist/openapi-component-manifest.js +83 -38
  295. package/dist/pageable/object.d.ts +15 -29
  296. package/dist/pageable/object.js +15 -29
  297. package/dist/pagination/schemas.d.ts +52 -520
  298. package/dist/pagination/schemas.js +26 -100
  299. package/dist/person/alias-type.d.ts +2 -7
  300. package/dist/person/alias-type.js +2 -7
  301. package/dist/person/detail.d.ts +0 -30
  302. package/dist/person/detail.js +0 -7
  303. package/dist/person/enrichment.d.ts +0 -6
  304. package/dist/person/enrichment.js +0 -6
  305. package/dist/person/filter.d.ts +3 -1
  306. package/dist/person/filter.js +4 -1
  307. package/dist/person/graph-career-context.d.ts +3 -5
  308. package/dist/person/graph-co-investor.d.ts +0 -1
  309. package/dist/person/graph-similar-entity.d.ts +1 -1
  310. package/dist/person/graph.d.ts +4 -8
  311. package/dist/person/image.d.ts +2 -7
  312. package/dist/person/image.js +2 -7
  313. package/dist/person/invested-company.d.ts +1 -8
  314. package/dist/person/invested-company.js +1 -7
  315. package/dist/person/investment.d.ts +1 -9
  316. package/dist/person/investment.js +1 -7
  317. package/dist/person/investor-participation.d.ts +0 -28
  318. package/dist/person/list-array-filter.d.ts +2 -1
  319. package/dist/person/list-array-filter.js +2 -1
  320. package/dist/person/lookup-batch-param.d.ts +18 -0
  321. package/dist/person/lookup-batch-param.js +21 -0
  322. package/dist/person/{detail-batch.d.ts → lookup-batch.d.ts} +7 -8
  323. package/dist/person/{detail-batch.js → lookup-batch.js} +5 -6
  324. package/dist/person/lookup-param.js +1 -1
  325. package/dist/person/natural-search-result.d.ts +4 -18
  326. package/dist/person/natural-search-result.js +2 -0
  327. package/dist/person/natural-search.d.ts +2 -0
  328. package/dist/person/natural-search.js +1 -0
  329. package/dist/person/person.d.ts +2 -16
  330. package/dist/person/person.js +2 -9
  331. package/dist/person/search-interpretation.d.ts +3 -0
  332. package/dist/person/search-interpretation.js +2 -0
  333. package/dist/person/search-param.js +2 -2
  334. package/dist/person/similarity-result.d.ts +0 -21
  335. package/dist/problem/type.d.ts +1 -0
  336. package/dist/problem/type.js +1 -0
  337. package/dist/publication/facet.d.ts +29 -0
  338. package/dist/publication/facet.js +22 -0
  339. package/dist/publication/publication.d.ts +0 -1
  340. package/dist/publication/publication.js +1 -2
  341. package/dist/publication/relation.d.ts +0 -1
  342. package/dist/publication/relation.js +0 -1
  343. package/dist/publication/type.d.ts +3 -1
  344. package/dist/publication/type.js +3 -1
  345. package/dist/relationship/direction.d.ts +1 -1
  346. package/dist/relationship/direction.js +1 -1
  347. package/dist/research/allowance-usage.d.ts +81 -0
  348. package/dist/research/allowance-usage.js +20 -0
  349. package/dist/research/allowance.d.ts +20 -0
  350. package/dist/research/allowance.js +20 -0
  351. package/dist/research/derived-bucket.d.ts +4 -7
  352. package/dist/research/derived-bucket.js +4 -7
  353. package/dist/research/derived-range.d.ts +4 -7
  354. package/dist/research/derived-range.js +4 -7
  355. package/dist/resolved/handle.d.ts +1 -1
  356. package/dist/resolved/handle.js +1 -1
  357. package/dist/round/label.d.ts +3 -9
  358. package/dist/round/label.js +3 -9
  359. package/dist/search/duplicate-candidate-score.d.ts +1 -0
  360. package/dist/search/duplicate-candidate-score.js +2 -1
  361. package/dist/search/hit.d.ts +1 -1
  362. package/dist/search/hit.js +1 -1
  363. package/dist/search/interpretation.d.ts +6 -4
  364. package/dist/search/interpretation.js +2 -0
  365. package/dist/search/mode-execution.d.ts +3 -0
  366. package/dist/search/mode-execution.js +3 -0
  367. package/dist/search/mode.d.ts +3 -1
  368. package/dist/search/mode.js +3 -1
  369. package/dist/search/ordering-entity-filter-sortable.d.ts +2 -0
  370. package/dist/search/ordering-entity-filter-sortable.js +2 -0
  371. package/dist/search/ordering-person-sort-field.d.ts +2 -0
  372. package/dist/search/ordering-person-sort-field.js +2 -0
  373. package/dist/search/relevance.d.ts +3 -0
  374. package/dist/search/relevance.js +3 -0
  375. package/dist/search/search.d.ts +1 -1
  376. package/dist/search/search.js +1 -1
  377. package/dist/sitemap/url-slot.d.ts +0 -1
  378. package/dist/sitemap/url-slot.js +0 -1
  379. package/dist/sort/object.d.ts +15 -29
  380. package/dist/sort/object.js +15 -29
  381. package/dist/sort/order-entity-filter-sortable.d.ts +2 -0
  382. package/dist/sort/order-entity-filter-sortable.js +2 -0
  383. package/dist/sort/order-person-sort-field.d.ts +2 -0
  384. package/dist/sort/order-person-sort-field.js +2 -0
  385. package/dist/source/document-list.d.ts +1 -1
  386. package/dist/source/document-list.js +1 -1
  387. package/dist/stage/frequency.d.ts +1 -1
  388. package/dist/stage/frequency.js +1 -1
  389. package/dist/standardized/classification.d.ts +2 -5
  390. package/dist/standardized/classification.js +2 -5
  391. package/dist/unique/id-owner-scope.d.ts +1 -0
  392. package/dist/unique/id-owner-scope.js +1 -0
  393. package/dist/unique/id-type-alias.d.ts +1 -0
  394. package/dist/unique/id-type-alias.js +1 -0
  395. package/dist/unique/id-type.d.ts +1 -3
  396. package/dist/unique/id-type.js +1 -3
  397. package/dist/unique/id.d.ts +1 -3
  398. package/dist/unique/id.js +1 -3
  399. package/dist/url/match-mode.d.ts +2 -2
  400. package/dist/url/match-mode.js +2 -2
  401. package/dist/url/slug-redirect.d.ts +1 -3
  402. package/dist/url/slug-redirect.js +1 -3
  403. package/dist/url/type-alias.d.ts +2 -2
  404. package/dist/url/type-alias.js +2 -2
  405. package/dist/web/search.d.ts +1 -1
  406. package/dist/web/search.js +1 -1
  407. package/package.json +1 -1
  408. package/dist/entity/batch-param.d.ts +0 -22
  409. package/dist/entity/batch-param.js +0 -24
  410. package/dist/entity/detail-batch-param.d.ts +0 -18
  411. package/dist/entity/detail-similar-param.d.ts +0 -22
  412. package/dist/entity/detail-similar-param.js +0 -33
  413. package/dist/entity/filter-count.d.ts +0 -20
  414. package/dist/entity/filter-count.js +0 -22
  415. package/dist/news/filter.d.ts +0 -27
  416. package/dist/news/filter.js +0 -31
  417. package/dist/person/batch-param.d.ts +0 -27
  418. package/dist/person/batch-param.js +0 -38
  419. package/dist/publication/filter.d.ts +0 -35
  420. package/dist/publication/filter.js +0 -27
  421. package/dist/publication/search-interpretation.d.ts +0 -48
  422. package/dist/publication/search-interpretation.js +0 -30
  423. package/dist/publication/search-result.d.ts +0 -94
  424. package/dist/publication/search-result.js +0 -22
  425. package/dist/publication/sort-field.d.ts +0 -25
  426. package/dist/publication/sort-field.js +0 -25
  427. package/dist/sort/order-publication-sort-field.d.ts +0 -31
  428. package/dist/sort/order-publication-sort-field.js +0 -22
  429. package/dist/sort/spec-publication-sort-field.d.ts +0 -26
  430. package/dist/sort/spec-publication-sort-field.js +0 -20
@@ -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 { PageResultLocationDirectoryEntrySchema, PageResultSitemapUrlSlotSchema, } from "../pagination/schemas.js";
5
+ import { PageLocationDirectoryEntrySchema, PageSitemapUrlSlotSchema, } from "../pagination/schemas.js";
6
6
  const LocationSitemapSchemaDefinition = z.object({
7
- company: PageResultSitemapUrlSlotSchema.nullish(),
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: PageResultLocationDirectoryEntrySchema,
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/logo
7
- * @endpoint GET /v1/news/{newsId}/media/thumbnail
8
- * @endpoint GET /v1/people/{personId}/media/photo
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/logo
8
- * @endpoint GET /v1/news/{newsId}/media/thumbnail
9
- * @endpoint GET /v1/people/{personId}/media/photo
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
@@ -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/logo
7
- * @endpoint GET /v1/news/{newsId}/media/thumbnail
8
- * @endpoint GET /v1/people/{personId}/media/photo
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
  */
@@ -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/logo
10
- * @endpoint GET /v1/news/{newsId}/media/thumbnail
11
- * @endpoint GET /v1/people/{personId}/media/photo
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: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST";
77
+ sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
78
78
  } | undefined;
79
79
  mainProduct?: string[] | undefined;
80
- operatingStatus?: string[] | undefined;
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: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST";
191
+ sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
192
192
  } | undefined;
193
193
  mainProduct?: string[] | undefined;
194
- operatingStatus?: string[] | undefined;
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
@@ -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
@@ -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. CLIENT_SECRET callers may only choose client-secret-eligible models; admin keys are unrestricted. */
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
@@ -1,5 +1,14 @@
1
1
  import { z } from "zod/v4";
2
- declare const NewsDetailSchemaDefinition: z.ZodObject<{
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
- matchScore?: number | null | undefined;
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
- matchScore?: number | null | undefined;
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
- matchScore?: number | null | undefined;
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
- matchScore?: number | null | undefined;
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
@@ -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 = NewsDetailSchemaDefinition;
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
@@ -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/news
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/news
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
- matchScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8
- matchType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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 - matchType: composite format "status:score|quote=evidence|user=email|at=timestamp" - m...
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
- matchScore: z.number().nullish(),
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 - matchType: composite format "status:score|quote=evidence|user=email|at=timestamp" - m...
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
- matchScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6
- matchType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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
- matchScore: z.number().nullish(),
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/detail?slug= to fetch the conflicting article. */
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(),