@aventurevc/api-schemas 0.7.301 → 0.7.328

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 (423) hide show
  1. package/README.md +7 -1
  2. package/dist/address/address.d.ts +1 -8
  3. package/dist/address/address.js +1 -8
  4. package/dist/address/association-role.d.ts +1 -8
  5. package/dist/address/association-role.js +1 -8
  6. package/dist/address/association.d.ts +1 -8
  7. package/dist/address/association.js +1 -8
  8. package/dist/address/city.d.ts +1 -8
  9. package/dist/address/city.js +1 -8
  10. package/dist/address/country.d.ts +1 -8
  11. package/dist/address/country.js +1 -8
  12. package/dist/address/state.d.ts +1 -8
  13. package/dist/address/state.js +1 -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-type.d.ts +24 -0
  60. package/dist/billing/plan-type.js +24 -0
  61. package/dist/billing/portal.d.ts +17 -0
  62. package/dist/billing/portal.js +15 -0
  63. package/dist/billing/subscription.d.ts +150 -0
  64. package/dist/billing/subscription.js +36 -0
  65. package/dist/blog/post-type.d.ts +0 -1
  66. package/dist/blog/post-type.js +0 -1
  67. package/dist/blog/post.d.ts +0 -1
  68. package/dist/blog/post.js +1 -2
  69. package/dist/classification/classification.d.ts +1 -6
  70. package/dist/classification/classification.js +1 -6
  71. package/dist/cli/authorization-delivery.d.ts +1 -1
  72. package/dist/cli/authorization-delivery.js +2 -2
  73. package/dist/cli/authorization-poll.d.ts +1 -1
  74. package/dist/cli/authorization-terminal-reason.d.ts +1 -1
  75. package/dist/cli/authorization-terminal-reason.js +1 -1
  76. package/dist/cli/authorization.d.ts +1 -1
  77. package/dist/confidence/confidence.d.ts +3 -4
  78. package/dist/confidence/confidence.js +3 -4
  79. package/dist/content/compliance.d.ts +2 -5
  80. package/dist/content/compliance.js +2 -5
  81. package/dist/content/embedding-match.d.ts +2 -9
  82. package/dist/content/embedding-match.js +2 -9
  83. package/dist/content/source-type.d.ts +2 -9
  84. package/dist/content/source-type.js +2 -9
  85. package/dist/datasource/agent-identity.d.ts +1 -1
  86. package/dist/datasource/agent-identity.js +1 -1
  87. package/dist/datasource/data-source-type.d.ts +1 -1
  88. package/dist/datasource/data-source-type.js +1 -1
  89. package/dist/datasource/field-provenance.d.ts +1 -1
  90. package/dist/datasource/field-provenance.js +1 -1
  91. package/dist/datasource/provenance-actor-type.d.ts +1 -1
  92. package/dist/datasource/provenance-actor-type.js +1 -1
  93. package/dist/datasource/provenance-actor.d.ts +1 -1
  94. package/dist/datasource/provenance-actor.js +1 -1
  95. package/dist/datasource/provenance-field-change.d.ts +1 -1
  96. package/dist/datasource/provenance-field-change.js +1 -1
  97. package/dist/datasource/provenance-operation.d.ts +1 -1
  98. package/dist/datasource/provenance-operation.js +1 -1
  99. package/dist/datasource/provenance-source.d.ts +1 -1
  100. package/dist/datasource/provenance-source.js +1 -1
  101. package/dist/datasource/provenance-status.d.ts +1 -1
  102. package/dist/datasource/provenance-status.js +1 -1
  103. package/dist/datasource/source-metadata.d.ts +3 -26
  104. package/dist/datasource/source-metadata.js +3 -26
  105. package/dist/datasource/tracked-provenance-table.d.ts +1 -1
  106. package/dist/datasource/tracked-provenance-table.js +1 -1
  107. package/dist/decimal/range.d.ts +2 -4
  108. package/dist/decimal/range.js +2 -4
  109. package/dist/employee/count.d.ts +1 -1
  110. package/dist/employee/count.js +1 -1
  111. package/dist/entity/accelerator-participation.d.ts +1 -6
  112. package/dist/entity/accelerator-participation.js +1 -5
  113. package/dist/entity/acquisition.d.ts +0 -2
  114. package/dist/entity/alias-type.d.ts +5 -11
  115. package/dist/entity/alias-type.js +5 -11
  116. package/dist/entity/classification.d.ts +1 -5
  117. package/dist/entity/classification.js +1 -5
  118. package/dist/entity/comparison-signals.d.ts +0 -3
  119. package/dist/entity/comparison-signals.js +0 -3
  120. package/dist/entity/detail-batch.d.ts +0 -1
  121. package/dist/entity/detail-batch.js +0 -1
  122. package/dist/entity/detail.d.ts +4 -54
  123. package/dist/entity/detail.js +0 -3
  124. package/dist/entity/enrichment.d.ts +2 -5
  125. package/dist/entity/enrichment.js +1 -5
  126. package/dist/entity/entity.d.ts +6 -13
  127. package/dist/entity/entity.js +6 -14
  128. package/dist/entity/filter-count-meta.d.ts +0 -1
  129. package/dist/entity/filter-count-meta.js +0 -1
  130. package/dist/entity/filter-count-result.d.ts +0 -1
  131. package/dist/entity/filter-count-result.js +0 -1
  132. package/dist/entity/filter-logo-option.d.ts +3 -3
  133. package/dist/entity/filter-logo-option.js +2 -2
  134. package/dist/entity/filter-search-result.d.ts +0 -1
  135. package/dist/entity/filter-search-result.js +0 -1
  136. package/dist/entity/filter-search.d.ts +10 -3
  137. package/dist/entity/filter.d.ts +11 -4
  138. package/dist/entity/filter.js +4 -3
  139. package/dist/entity/filters-counts-param.d.ts +19 -0
  140. package/dist/entity/filters-counts-param.js +23 -0
  141. package/dist/entity/funding-detail.d.ts +2 -5
  142. package/dist/entity/funding-detail.js +3 -5
  143. package/dist/entity/fundraise-filter-criteria.d.ts +1 -1
  144. package/dist/entity/fundraise-filter-criteria.js +1 -1
  145. package/dist/entity/fundraise-investor-activity.d.ts +1 -1
  146. package/dist/entity/fundraise-investor-activity.js +1 -1
  147. package/dist/entity/fundraise-investor-join.d.ts +2 -2
  148. package/dist/entity/fundraise-investor-join.js +3 -3
  149. package/dist/entity/fundraise-transaction-entity.d.ts +2 -6
  150. package/dist/entity/fundraise-transaction-entity.js +1 -5
  151. package/dist/entity/fundraise-transaction.d.ts +2 -6
  152. package/dist/entity/fundraise-transaction.js +1 -5
  153. package/dist/entity/fundraise.d.ts +1 -7
  154. package/dist/entity/fundraise.js +1 -7
  155. package/dist/entity/image.d.ts +5 -11
  156. package/dist/entity/image.js +5 -11
  157. package/dist/entity/investments-param.js +1 -1
  158. package/dist/entity/investor-participation.d.ts +4 -51
  159. package/dist/entity/investors-param.js +1 -1
  160. package/dist/entity/list-filter.d.ts +12 -4
  161. package/dist/entity/list-filter.js +6 -4
  162. package/dist/entity/list-quality-gate.d.ts +1 -2
  163. package/dist/entity/list-quality-gate.js +1 -2
  164. package/dist/entity/list-research.d.ts +1 -11
  165. package/dist/entity/list-research.js +1 -3
  166. package/dist/entity/list-summary.d.ts +3 -3
  167. package/dist/entity/list.d.ts +5 -14
  168. package/dist/entity/list.js +1 -3
  169. package/dist/entity/logo-type.d.ts +1 -1
  170. package/dist/entity/logo-type.js +1 -1
  171. package/dist/entity/lookup-batch-param.d.ts +18 -0
  172. package/dist/entity/{detail-batch-param.js → lookup-batch-param.js} +7 -7
  173. package/dist/entity/lookup-param.js +3 -3
  174. package/dist/entity/name-alias-entity-alias-type.d.ts +5 -11
  175. package/dist/entity/name-alias-entity-alias-type.js +5 -11
  176. package/dist/entity/name-alias-person-alias-type.d.ts +1 -7
  177. package/dist/entity/name-alias-person-alias-type.js +1 -7
  178. package/dist/entity/natural-search.d.ts +11 -3
  179. package/dist/entity/natural-search.js +1 -0
  180. package/dist/entity/operating-status.d.ts +28 -0
  181. package/dist/entity/operating-status.js +28 -0
  182. package/dist/entity/people-param.d.ts +27 -0
  183. package/dist/entity/people-param.js +34 -0
  184. package/dist/entity/person-association.d.ts +0 -9
  185. package/dist/entity/person-association.js +0 -10
  186. package/dist/entity/person-owner.d.ts +1 -2
  187. package/dist/entity/person-owner.js +1 -2
  188. package/dist/entity/relationship.d.ts +0 -4
  189. package/dist/entity/relationship.js +0 -3
  190. package/dist/entity/research-detail.d.ts +3 -14
  191. package/dist/entity/research-detail.js +3 -11
  192. package/dist/entity/research-fact-value.d.ts +1 -1
  193. package/dist/entity/research-fact-value.js +1 -1
  194. package/dist/entity/research-snippet.d.ts +2 -9
  195. package/dist/entity/research-snippet.js +2 -12
  196. package/dist/entity/research-value-type.d.ts +4 -8
  197. package/dist/entity/research-value-type.js +4 -8
  198. package/dist/entity/research.d.ts +0 -15
  199. package/dist/entity/research.js +0 -3
  200. package/dist/entity/resolution.d.ts +4 -51
  201. package/dist/entity/search-param.js +2 -2
  202. package/dist/entity/similarity-context.d.ts +0 -1
  203. package/dist/entity/similarity-context.js +0 -1
  204. package/dist/entity/similarity-origin.d.ts +0 -1
  205. package/dist/entity/similarity-origin.js +0 -1
  206. package/dist/entity/similarity-result.d.ts +4 -13
  207. package/dist/entity/similarity-result.js +0 -1
  208. package/dist/entity/sitemap.d.ts +5 -11
  209. package/dist/entity/sitemap.js +5 -11
  210. package/dist/entity/suggestion-result.d.ts +4 -12
  211. package/dist/entity/suggestion.d.ts +4 -12
  212. package/dist/entity/tag-count.d.ts +0 -1
  213. package/dist/entity/tag-count.js +0 -1
  214. package/dist/entity/tag.d.ts +1 -7
  215. package/dist/entity/tag.js +1 -7
  216. package/dist/entity/text-bundle.d.ts +2 -9
  217. package/dist/entity/text-bundle.js +2 -9
  218. package/dist/entity/url-crawl-cdn-provider.d.ts +1 -10
  219. package/dist/entity/url-crawl-cdn-provider.js +1 -10
  220. package/dist/entity/url-crawl-render-mode.d.ts +1 -10
  221. package/dist/entity/url-crawl-render-mode.js +1 -10
  222. package/dist/entity/url-link.d.ts +1 -10
  223. package/dist/entity/url-link.js +1 -10
  224. package/dist/entity/url-type.d.ts +1 -10
  225. package/dist/entity/url-type.js +1 -10
  226. package/dist/entity/valuation-data-confidence.d.ts +1 -22
  227. package/dist/entity/valuation-data-confidence.js +1 -22
  228. package/dist/federated/search.d.ts +10 -36
  229. package/dist/funding/stage.d.ts +1 -5
  230. package/dist/funding/stage.js +1 -5
  231. package/dist/fundraise/data-confidence.d.ts +1 -5
  232. package/dist/fundraise/data-confidence.js +1 -5
  233. package/dist/fundraise/financial-instrument-type.d.ts +2 -2
  234. package/dist/fundraise/financial-instrument-type.js +2 -2
  235. package/dist/fundraise/investment-attribution-type.d.ts +2 -9
  236. package/dist/fundraise/investment-attribution-type.js +2 -9
  237. package/dist/fundraise/investment-attribution.d.ts +2 -9
  238. package/dist/fundraise/investment-attribution.js +2 -9
  239. package/dist/help/citation.d.ts +1 -0
  240. package/dist/help/citation.js +1 -0
  241. package/dist/help/scope.d.ts +1 -0
  242. package/dist/help/scope.js +1 -0
  243. package/dist/help/source-type.d.ts +1 -0
  244. package/dist/help/source-type.js +1 -0
  245. package/dist/http/problem-detail.d.ts +26 -1
  246. package/dist/http/problem-detail.js +84 -1
  247. package/dist/identification/candidate.d.ts +37 -0
  248. package/dist/identification/candidate.js +20 -0
  249. package/dist/identification/identification.d.ts +77 -0
  250. package/dist/identification/identification.js +28 -0
  251. package/dist/identification/subject.d.ts +23 -0
  252. package/dist/identification/subject.js +27 -0
  253. package/dist/int/range.d.ts +2 -4
  254. package/dist/int/range.js +2 -4
  255. package/dist/investor/activity-filter.d.ts +2 -2
  256. package/dist/investor/activity-filter.js +2 -2
  257. package/dist/link/search.d.ts +10 -36
  258. package/dist/location/directory-entry.d.ts +1 -2
  259. package/dist/location/directory-entry.js +1 -2
  260. package/dist/location/identifier.d.ts +1 -1
  261. package/dist/location/identifier.js +1 -1
  262. package/dist/location/scope.d.ts +1 -1
  263. package/dist/location/scope.js +1 -1
  264. package/dist/location/sitemap.d.ts +81 -18
  265. package/dist/location/sitemap.js +5 -4
  266. package/dist/media/object-type.d.ts +3 -3
  267. package/dist/media/object-type.js +3 -3
  268. package/dist/media/slot.d.ts +18 -0
  269. package/dist/media/slot.js +14 -0
  270. package/dist/media/upload.d.ts +3 -3
  271. package/dist/media/upload.js +3 -3
  272. package/dist/natural/search-result.d.ts +9 -16
  273. package/dist/natural/search-result.js +1 -0
  274. package/dist/natural/search.d.ts +2 -0
  275. package/dist/natural/search.js +3 -1
  276. package/dist/news/detail.d.ts +14 -24
  277. package/dist/news/detail.js +10 -12
  278. package/dist/news/match-status.d.ts +20 -0
  279. package/dist/news/match-status.js +15 -0
  280. package/dist/news/news.d.ts +0 -10
  281. package/dist/news/news.js +0 -10
  282. package/dist/news/resolved-entity-link.d.ts +7 -4
  283. package/dist/news/resolved-entity-link.js +3 -4
  284. package/dist/news/resolved-person-link.d.ts +6 -3
  285. package/dist/news/resolved-person-link.js +2 -3
  286. package/dist/news/source-url-conflict.js +1 -1
  287. package/dist/openapi-component-manifest.js +78 -38
  288. package/dist/pageable/object.d.ts +15 -29
  289. package/dist/pageable/object.js +15 -29
  290. package/dist/pagination/schemas.d.ts +49 -520
  291. package/dist/pagination/schemas.js +23 -100
  292. package/dist/person/alias-type.d.ts +1 -7
  293. package/dist/person/alias-type.js +1 -7
  294. package/dist/person/detail.d.ts +0 -30
  295. package/dist/person/detail.js +0 -7
  296. package/dist/person/enrichment.d.ts +0 -6
  297. package/dist/person/enrichment.js +0 -6
  298. package/dist/person/filter.d.ts +2 -1
  299. package/dist/person/filter.js +3 -1
  300. package/dist/person/graph-career-context.d.ts +3 -5
  301. package/dist/person/graph-co-investor.d.ts +0 -1
  302. package/dist/person/graph-similar-entity.d.ts +1 -1
  303. package/dist/person/graph.d.ts +4 -8
  304. package/dist/person/image.d.ts +1 -7
  305. package/dist/person/image.js +1 -7
  306. package/dist/person/invested-company.d.ts +1 -8
  307. package/dist/person/invested-company.js +1 -7
  308. package/dist/person/investment.d.ts +1 -9
  309. package/dist/person/investment.js +1 -7
  310. package/dist/person/investor-participation.d.ts +0 -28
  311. package/dist/person/list-array-filter.d.ts +1 -1
  312. package/dist/person/list-array-filter.js +1 -1
  313. package/dist/person/lookup-batch-param.d.ts +18 -0
  314. package/dist/person/lookup-batch-param.js +21 -0
  315. package/dist/person/{detail-batch.d.ts → lookup-batch.d.ts} +7 -8
  316. package/dist/person/{detail-batch.js → lookup-batch.js} +5 -6
  317. package/dist/person/lookup-param.js +1 -1
  318. package/dist/person/natural-search-result.d.ts +3 -18
  319. package/dist/person/natural-search-result.js +1 -0
  320. package/dist/person/natural-search.d.ts +2 -0
  321. package/dist/person/natural-search.js +1 -0
  322. package/dist/person/person.d.ts +1 -16
  323. package/dist/person/person.js +1 -9
  324. package/dist/person/search-interpretation.d.ts +2 -0
  325. package/dist/person/search-interpretation.js +1 -0
  326. package/dist/person/search-param.js +2 -2
  327. package/dist/person/similarity-result.d.ts +0 -21
  328. package/dist/problem/type.d.ts +1 -0
  329. package/dist/problem/type.js +1 -0
  330. package/dist/publication/facet.d.ts +29 -0
  331. package/dist/publication/facet.js +22 -0
  332. package/dist/publication/publication.d.ts +0 -1
  333. package/dist/publication/publication.js +1 -2
  334. package/dist/publication/relation.d.ts +0 -1
  335. package/dist/publication/relation.js +0 -1
  336. package/dist/publication/type.d.ts +3 -1
  337. package/dist/publication/type.js +3 -1
  338. package/dist/relationship/direction.d.ts +1 -1
  339. package/dist/relationship/direction.js +1 -1
  340. package/dist/research/allowance-usage.d.ts +81 -0
  341. package/dist/research/allowance-usage.js +20 -0
  342. package/dist/research/allowance.d.ts +20 -0
  343. package/dist/research/allowance.js +20 -0
  344. package/dist/research/derived-bucket.d.ts +3 -7
  345. package/dist/research/derived-bucket.js +3 -7
  346. package/dist/research/derived-range.d.ts +3 -7
  347. package/dist/research/derived-range.js +3 -7
  348. package/dist/resolved/handle.d.ts +2 -1
  349. package/dist/resolved/handle.js +2 -1
  350. package/dist/round/label.d.ts +2 -9
  351. package/dist/round/label.js +2 -9
  352. package/dist/search/duplicate-candidate-score.d.ts +1 -0
  353. package/dist/search/duplicate-candidate-score.js +2 -1
  354. package/dist/search/hit.d.ts +1 -1
  355. package/dist/search/hit.js +1 -1
  356. package/dist/search/interpretation.d.ts +5 -4
  357. package/dist/search/interpretation.js +1 -0
  358. package/dist/search/mode-execution.d.ts +2 -0
  359. package/dist/search/mode-execution.js +2 -0
  360. package/dist/search/mode.d.ts +2 -1
  361. package/dist/search/mode.js +2 -1
  362. package/dist/search/ordering-entity-filter-sortable.d.ts +1 -0
  363. package/dist/search/ordering-entity-filter-sortable.js +1 -0
  364. package/dist/search/ordering-person-sort-field.d.ts +1 -0
  365. package/dist/search/ordering-person-sort-field.js +1 -0
  366. package/dist/search/relevance.d.ts +2 -0
  367. package/dist/search/relevance.js +2 -0
  368. package/dist/search/search.d.ts +1 -1
  369. package/dist/search/search.js +1 -1
  370. package/dist/sitemap/url-slot.d.ts +0 -1
  371. package/dist/sitemap/url-slot.js +0 -1
  372. package/dist/sort/object.d.ts +15 -29
  373. package/dist/sort/object.js +15 -29
  374. package/dist/sort/order-entity-filter-sortable.d.ts +1 -0
  375. package/dist/sort/order-entity-filter-sortable.js +1 -0
  376. package/dist/sort/order-person-sort-field.d.ts +1 -0
  377. package/dist/sort/order-person-sort-field.js +1 -0
  378. package/dist/source/document-list.d.ts +1 -1
  379. package/dist/source/document-list.js +1 -1
  380. package/dist/stage/frequency.d.ts +1 -1
  381. package/dist/stage/frequency.js +1 -1
  382. package/dist/standardized/classification.d.ts +1 -5
  383. package/dist/standardized/classification.js +1 -5
  384. package/dist/unique/id-owner-scope.d.ts +1 -0
  385. package/dist/unique/id-owner-scope.js +1 -0
  386. package/dist/unique/id-type-alias.d.ts +1 -0
  387. package/dist/unique/id-type-alias.js +1 -0
  388. package/dist/unique/id-type.d.ts +1 -3
  389. package/dist/unique/id-type.js +1 -3
  390. package/dist/unique/id.d.ts +1 -3
  391. package/dist/unique/id.js +1 -3
  392. package/dist/url/match-mode.d.ts +1 -2
  393. package/dist/url/match-mode.js +1 -2
  394. package/dist/url/slug-redirect.d.ts +1 -3
  395. package/dist/url/slug-redirect.js +1 -3
  396. package/dist/url/type-alias.d.ts +2 -2
  397. package/dist/url/type-alias.js +2 -2
  398. package/dist/web/search.d.ts +1 -1
  399. package/dist/web/search.js +1 -1
  400. package/package.json +1 -1
  401. package/dist/entity/batch-param.d.ts +0 -22
  402. package/dist/entity/batch-param.js +0 -24
  403. package/dist/entity/detail-batch-param.d.ts +0 -18
  404. package/dist/entity/detail-similar-param.d.ts +0 -22
  405. package/dist/entity/detail-similar-param.js +0 -33
  406. package/dist/entity/filter-count.d.ts +0 -20
  407. package/dist/entity/filter-count.js +0 -22
  408. package/dist/news/filter.d.ts +0 -27
  409. package/dist/news/filter.js +0 -31
  410. package/dist/person/batch-param.d.ts +0 -27
  411. package/dist/person/batch-param.js +0 -38
  412. package/dist/publication/filter.d.ts +0 -35
  413. package/dist/publication/filter.js +0 -27
  414. package/dist/publication/search-interpretation.d.ts +0 -48
  415. package/dist/publication/search-interpretation.js +0 -30
  416. package/dist/publication/search-result.d.ts +0 -94
  417. package/dist/publication/search-result.js +0 -22
  418. package/dist/publication/sort-field.d.ts +0 -25
  419. package/dist/publication/sort-field.js +0 -25
  420. package/dist/sort/order-publication-sort-field.d.ts +0 -31
  421. package/dist/sort/order-publication-sort-field.js +0 -22
  422. package/dist/sort/spec-publication-sort-field.d.ts +0 -26
  423. package/dist/sort/spec-publication-sort-field.js +0 -20
@@ -16,6 +16,7 @@ const HelpCitationSchemaDefinition = z.object({
16
16
  *
17
17
  * @openapiSchema HelpCitation
18
18
  * @endpoint POST /v1/agents/help
19
+ * @endpoint POST /v1/help
19
20
  * @usedBySchema AgentHelpSchema
20
21
  * @contractShape help.citation
21
22
  * @contractRole canonical
@@ -4,6 +4,7 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema HelpScope
6
6
  * @endpoint POST /v1/agents/help
7
+ * @endpoint POST /v1/help
7
8
  * @usedBySchema AgentHelpQuestionSchema
8
9
  * @contractShape help.scope
9
10
  * @contractRole canonical
@@ -5,6 +5,7 @@ import { z } from "zod/v4";
5
5
  *
6
6
  * @openapiSchema HelpScope
7
7
  * @endpoint POST /v1/agents/help
8
+ * @endpoint POST /v1/help
8
9
  * @usedBySchema AgentHelpQuestionSchema
9
10
  * @contractShape help.scope
10
11
  * @contractRole canonical
@@ -4,6 +4,7 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema HelpSourceType
6
6
  * @endpoint POST /v1/agents/help
7
+ * @endpoint POST /v1/help
7
8
  * @usedBySchema HelpCitationSchema
8
9
  * @contractShape help.source-type
9
10
  * @contractRole canonical
@@ -5,6 +5,7 @@ import { z } from "zod/v4";
5
5
  *
6
6
  * @openapiSchema HelpSourceType
7
7
  * @endpoint POST /v1/agents/help
8
+ * @endpoint POST /v1/help
8
9
  * @usedBySchema HelpCitationSchema
9
10
  * @contractShape help.source-type
10
11
  * @contractRole canonical
@@ -1,5 +1,13 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const ProblemDetailSchemaDefinition: z.ZodObject<{
3
+ allowanceType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4
+ ENTITY_VIEW: "ENTITY_VIEW";
5
+ NEW_COMPANY: "NEW_COMPANY";
6
+ NEW_PERSON: "NEW_PERSON";
7
+ PERSON_VIEW: "PERSON_VIEW";
8
+ UPDATE: "UPDATE";
9
+ UPDATE_PERSON: "UPDATE_PERSON";
10
+ }>>>;
3
11
  circuitBreaker: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
12
  code: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5
13
  GEOCODE_PROVIDER_ERROR: "GEOCODE_PROVIDER_ERROR";
@@ -10,7 +18,10 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
10
18
  INFERENCE_PROVIDER_RESPONSE_EMPTY: "INFERENCE_PROVIDER_RESPONSE_EMPTY";
11
19
  JOBRUNR_DISABLED: "JOBRUNR_DISABLED";
12
20
  JOBRUNR_STORAGE_UNAVAILABLE: "JOBRUNR_STORAGE_UNAVAILABLE";
21
+ billing_additional_usage_cap_reached: "billing_additional_usage_cap_reached";
22
+ billing_allowance_exhausted: "billing_allowance_exhausted";
13
23
  frontend_cache_epoch_mode_not_targeted: "frontend_cache_epoch_mode_not_targeted";
24
+ geocode_provider_error: "geocode_provider_error";
14
25
  github_fetch_failed: "github_fetch_failed";
15
26
  image_blocklist_match: "image_blocklist_match";
16
27
  image_brand_mismatch: "image_brand_mismatch";
@@ -20,16 +31,25 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
20
31
  image_too_small: "image_too_small";
21
32
  image_unreadable: "image_unreadable";
22
33
  image_wrong_aspect: "image_wrong_aspect";
34
+ inference_profile_api_key_missing: "inference_profile_api_key_missing";
35
+ inference_profiles_missing: "inference_profiles_missing";
36
+ inference_provider_error: "inference_provider_error";
37
+ inference_provider_invalid_json: "inference_provider_invalid_json";
38
+ inference_provider_response_empty: "inference_provider_response_empty";
39
+ jobrunr_disabled: "jobrunr_disabled";
40
+ jobrunr_storage_unavailable: "jobrunr_storage_unavailable";
23
41
  news_rss_article_fetch_failed: "news_rss_article_fetch_failed";
24
42
  news_rss_feed_fetch_failed: "news_rss_feed_fetch_failed";
25
43
  news_similarity_embedding_unavailable: "news_similarity_embedding_unavailable";
26
44
  not_authorized: "not_authorized";
27
45
  origin_detail_capacity: "origin_detail_capacity";
28
46
  origin_detail_shutdown: "origin_detail_shutdown";
47
+ primary_website_missing: "primary_website_missing";
29
48
  r2_delete_failed: "r2_delete_failed";
30
49
  r2_fetch_failed: "r2_fetch_failed";
31
50
  r2_upload_failed: "r2_upload_failed";
32
51
  rateLimited: "rateLimited";
52
+ rate_limited: "rate_limited";
33
53
  rbac_lookup_unavailable: "rbac_lookup_unavailable";
34
54
  search_provider_error: "search_provider_error";
35
55
  search_provider_not_configured: "search_provider_not_configured";
@@ -37,8 +57,12 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
37
57
  sentry_api_error: "sentry_api_error";
38
58
  source_document_body_unavailable: "source_document_body_unavailable";
39
59
  source_document_capture_limit_exceeded: "source_document_capture_limit_exceeded";
60
+ subscription_canceled: "subscription_canceled";
61
+ subscription_past_due: "subscription_past_due";
62
+ subscription_paused: "subscription_paused";
63
+ subscription_required: "subscription_required";
40
64
  suspectedShellStrip: "suspectedShellStrip";
41
- swagger_headers_unconfigured: "swagger_headers_unconfigured";
65
+ suspected_shell_strip: "suspected_shell_strip";
42
66
  url_surface_misclassification: "url_surface_misclassification";
43
67
  web_crawl_fetch_failed: "web_crawl_fetch_failed";
44
68
  }>>>;
@@ -186,6 +210,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
186
210
  instance: z.ZodOptional<z.ZodString>;
187
211
  limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
188
212
  limitType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
213
+ BILLING_ADDITIONAL_USAGE: "BILLING_ADDITIONAL_USAGE";
189
214
  BILLING_ALLOWANCE: "BILLING_ALLOWANCE";
190
215
  CLERK_PUBLIC_ADMISSION: "CLERK_PUBLIC_ADMISSION";
191
216
  CLERK_SCRIPT_LOAD: "CLERK_SCRIPT_LOAD";
@@ -6,49 +6,124 @@ import { ProblemResolutionSchema } from "../problem/resolution.js";
6
6
  import { CurrentSlugOwnerSchema } from "../redirect/current-slug-owner.js";
7
7
  import { RedirectSlugPathSchema } from "../redirect/redirect-slug-path.js";
8
8
  const ProblemDetailSchemaDefinition = z.object({
9
+ /** Which monthly allowance a BILLING_ALLOWANCE refusal exhausted. */
10
+ allowanceType: z
11
+ .enum(["NEW_COMPANY", "UPDATE", "NEW_PERSON", "UPDATE_PERSON", "ENTITY_VIEW", "PERSON_VIEW"])
12
+ .nullish(),
9
13
  circuitBreaker: z.string().nullish(),
10
14
  /** Machine-readable secondary code on ProblemDetail.code. Agents should branch on this value when the HTTP status alone does not identify the recovery path. Code groups include auth/session, rate limiting, job infrastructure, RBAC, external providers, image processing, R2 storage, search, and inference. Many codes indicate infra/admin-only conditions where the correct agent action is to surface the error and stop, not retry. */
11
15
  code: z
12
16
  .enum([
17
+ /** Caller is authenticated but lacks the required role for this operation. Agent action: surface the requiredRole field on the ProblemDetail and stop; do not retry without role escalation. */
13
18
  "not_authorized",
19
+ /** Request was throttled. Agent action: wait at least retryAfterSeconds (also on ProblemDetail) before retrying. Repeated 429s on the same key indicate a burst-rate violation, not a sustained-rate one. */
14
20
  "rateLimited",
21
+ /** Request was throttled. Agent action: wait at least retryAfterSeconds (also on ProblemDetail) before retrying. Repeated 429s on the same key indicate a burst-rate violation, not a sustained-rate one. */
22
+ "rate_limited",
23
+ /** Caller is authenticated but the subscription on their account does not include this operation. Agent action: surface ProblemDetail.detail explaining the subscription requirement and stop. The identical request cannot succeed until the account changes plan, so never retry it. */
24
+ "subscription_required",
25
+ /** Caller's subscription was canceled or its first payment expired unpaid, so it no longer includes this operation. Agent action: surface ProblemDetail.detail and stop; the account must subscribe again through the resolution's Checkout endpoint before the identical request can succeed. */
26
+ "subscription_canceled",
27
+ /** Caller's subscription has a failed or unfinished payment, so it does not include this operation until the payment succeeds. Agent action: surface ProblemDetail.detail and stop; the account must update its payment method through the resolution's Billing Portal endpoint. */
28
+ "subscription_past_due",
29
+ /** Caller's subscription is paused, so it does not include this operation. Agent action: surface ProblemDetail.detail and stop; the account must resume the subscription through the resolution's Billing Portal endpoint. */
30
+ "subscription_paused",
31
+ /** The caller's metered allowance for this operation is spent for the current period. Agent action: stop and report ProblemDetail.allowanceType, limit, used, remaining, and resetAt; resetAt is when the meter refills and is typically weeks away. Do not retry inside the period even though the status is 429. */
32
+ "billing_allowance_exhausted",
33
+ /** The caller's monthly allowance is spent and the next additional-usage unit would pass the monthly spend cap or the prepaid credit left. Agent action: stop and report ProblemDetail.allowanceType, limit, used, remaining, and resetAt; raise the cap or buy credit through /v1/billing/additional-usage, or wait for resetAt. */
34
+ "billing_additional_usage_cap_reached",
35
+ /** Detail-origin cold-miss coalescing is saturated. Agent action: treat as backend capacity impairment, back off, and inspect backend pool/bulkhead metrics; this is not a caller throttle. */
15
36
  "origin_detail_capacity",
37
+ /** Detail-origin cold-miss scheduler rejected work because this instance is shutting down for a redeploy. Agent action: retry shortly; the platform routes the retry to a healthy instance. This is deploy-window noise, not a capacity defect — do not treat it as backend saturation. */
16
38
  "origin_detail_shutdown",
39
+ /** Request prose looks shell-mangled around a money phrase: either shell expansion stripped a leading dollar sign ('50 million' where '$50 million' was meant) or an escape character survived into the text ('\$50 million', standalone '/$50 million'). Agent action: write '$' literally and re-run with JSON body input via --from-file or stdin, or ANSI-C $'...' quoting; use allowSuspectedShellStrip only when the value is intentional. */
17
40
  "suspectedShellStrip",
41
+ /** Request prose looks shell-mangled around a money phrase: either shell expansion stripped a leading dollar sign ('50 million' where '$50 million' was meant) or an escape character survived into the text ('\$50 million', standalone '/$50 million'). Agent action: write '$' literally and re-run with JSON body input via --from-file or stdin, or ANSI-C $'...' quoting; use allowSuspectedShellStrip only when the value is intentional. */
42
+ "suspected_shell_strip",
43
+ /** A URL was submitted to the wrong write surface. Agent action: move the URL to the specific surface named by ProblemDetail.hint/resolution, for example EntityUrl.urlType=ycombinator via entities urls create instead of News.newsUrlOriginal. */
18
44
  "url_surface_misclassification",
45
+ /** JobRunr background worker is disabled in this environment. Agent action: stop (this is an admin/ops configuration condition, not a retriable user error). */
19
46
  "JOBRUNR_DISABLED",
47
+ /** JobRunr background worker is disabled in this environment. Agent action: stop (this is an admin/ops configuration condition, not a retriable user error). */
48
+ "jobrunr_disabled",
49
+ /** JobRunr backing storage (Postgres) is unavailable. Agent action: stop; retrying will not help until DB connectivity is restored. */
20
50
  "JOBRUNR_STORAGE_UNAVAILABLE",
51
+ /** JobRunr backing storage (Postgres) is unavailable. Agent action: stop; retrying will not help until DB connectivity is restored. */
52
+ "jobrunr_storage_unavailable",
53
+ /** RBAC role lookup failed (app_user read did not return). Agent action: retry once; persistent failure indicates a database outage. */
21
54
  "rbac_lookup_unavailable",
55
+ /** Geocoding provider (Google Maps Platform) call failed. Agent action: surface the error; address fields can be submitted without normalization as a fallback. */
22
56
  "GEOCODE_PROVIDER_ERROR",
57
+ /** Geocoding provider (Google Maps Platform) call failed. Agent action: surface the error; address fields can be submitted without normalization as a fallback. */
58
+ "geocode_provider_error",
59
+ /** Sentry API call failed (used by error-triage endpoints). Agent action: surface; Sentry outages do not affect the primary application path. */
23
60
  "sentry_api_error",
24
- "swagger_headers_unconfigured",
61
+ /** Frontend cache epoch requires the cache invalidation outbox consumer to run in targeted mode. Agent action: stop polling; this 503 is a designed cutover guard, and only the operator switching the outbox mode to targeted (docs/database/cache-invalidation.md) makes the epoch readable. */
25
62
  "frontend_cache_epoch_mode_not_targeted",
63
+ /** Image upload matched a blocklist entry (visually similar to a known bad asset). Agent action: do not retry the same image; supply a different image or stop. */
26
64
  "image_blocklist_match",
65
+ /** Image upload was blank or a flat monochrome canvas. Agent action: supply a source image with visible logo or photo detail; retrying the same bytes will not pass. */
27
66
  "image_monochrome",
67
+ /** Image upload failed minimum dimension/file-size check. Agent action: supply a higher-resolution source image; retrying the same one will not pass. */
28
68
  "image_too_small",
69
+ /** Image upload's visible content is a wide banner/wordmark when a square logo or photo was required. Agent action: supply a square (or near-square) source image — a favicon, app icon, square logo, or cropped headshot — not a horizontal wordmark or og:image banner; retrying the same bytes will not pass. */
29
70
  "image_wrong_aspect",
71
+ /** Image upload was classified as a monogram (single letter / generated initial) when a real photograph or logo was required. Agent action: supply a non-monogram image or set permitMonogram=true on the read endpoint if a monogram is acceptable for the use case. */
30
72
  "image_monogram",
73
+ /** Image upload could not be decoded (corrupt file, unsupported format). Agent action: supply a valid PNG/JPEG/WebP; retrying the same bytes will not pass. */
31
74
  "image_unreadable",
75
+ /** Image processing pipeline (resize/encode/hash) threw an unexpected error. Agent action: retry once; persistent failure indicates an infra issue. */
32
76
  "image_processing_error",
77
+ /** Logo/photo upload was rejected because the server-side brand-match vision check found it does not depict the target's own brand (a generic favicon, a parent/provider/acquirer mark, an OpenGraph/banner/social card, or an unrelated image). Agent action: supply the target entity's OWN brand mark and re-run; retrying the same image, or any generic/og/banner/parent asset, will not pass. */
33
78
  "image_brand_mismatch",
79
+ /** An outbound fetch from an external target site (robots.txt, sitemap, page, or logo or thumbnail image) failed after retries or with the breaker open. Agent action: the failure belongs to the target; crawl jobs may fall back to rendered extraction; do not retry immediately. */
34
80
  "web_crawl_fetch_failed",
81
+ /** A crawl-run request named an entity or person that has no current primary website URL. Agent action: add or activate the owner's website URL, then resubmit; retrying the unchanged request cannot succeed. */
82
+ "primary_website_missing",
83
+ /** RSS news-ingest feed fetch failed after retries or with the breaker open. Agent action: inspect the configured feed URL and upstream status; do not retry the enqueue immediately. */
35
84
  "news_rss_feed_fetch_failed",
85
+ /** RSS news-ingest article page fetch failed after retries or with the breaker open. Agent action: inspect the source article URL and upstream status; the ingest job may skip that article. */
36
86
  "news_rss_article_fetch_failed",
87
+ /** Cloudflare R2 object fetch failed during a read operation. Agent action: retry once with backoff; persistent failure indicates R2 outage or asset deletion. */
37
88
  "r2_fetch_failed",
89
+ /** Cloudflare R2 object delete failed during a cleanup operation. Agent action: surface; retrying may produce duplicate-delete errors. */
38
90
  "r2_delete_failed",
91
+ /** Cloudflare R2 object upload failed during a write operation. Agent action: retry once with the same payload; persistent failure indicates R2 outage. */
39
92
  "r2_upload_failed",
93
+ /** Stored source-document raw bytes could not be served: the row's inline-or-R2 raw authority is incomplete or failed digest verification. Agent action: surface; the stored authority needs operator reconciliation before this body can be read. */
40
94
  "source_document_body_unavailable",
95
+ /** A source-document capture stopped before retaining a provider response over this service's configured byte limit. Agent action: this is a designed containment boundary, not a provider outage or a service defect; do not retry the same request expecting a different outcome. */
41
96
  "source_document_capture_limit_exceeded",
97
+ /** News similarity cannot run because the target embedding is unavailable or live similarity capacity is full. Agent action: surface the 503 and retry later; this endpoint does not fall back to lexical ranking. */
42
98
  "news_similarity_embedding_unavailable",
99
+ /** Search provider (e.g., SerpAPI) is not configured for this environment. Agent action: stop; admin/ops must configure the provider key before this endpoint will succeed. */
43
100
  "search_provider_not_configured",
101
+ /** Search provider call failed. Agent action: surface; provider outages affect search endpoints only. */
44
102
  "search_provider_error",
103
+ /** SEC EDGAR lookup failed (ticker catalog or company submissions). Agent action: surface; SEC outages or rate limiting affect the public-company preview endpoint only. */
45
104
  "sec_edgar_fetch_failed",
105
+ /** GitHub repository fetch failed (account, listing, or single repo). Agent action: surface; GitHub outages or rate limiting affect github-repo sync endpoints only. */
46
106
  "github_fetch_failed",
107
+ /** LLM inference provider call failed. Agent action: retry once with backoff; persistent failure indicates provider outage or invalid profile config. */
47
108
  "INFERENCE_PROVIDER_ERROR",
109
+ /** LLM inference provider call failed. Agent action: retry once with backoff; persistent failure indicates provider outage or invalid profile config. */
110
+ "inference_provider_error",
111
+ /** LLM inference provider returned an empty response body. Agent action: retry once; persistent empty responses indicate prompt or provider misconfiguration. */
48
112
  "INFERENCE_PROVIDER_RESPONSE_EMPTY",
113
+ /** LLM inference provider returned an empty response body. Agent action: retry once; persistent empty responses indicate prompt or provider misconfiguration. */
114
+ "inference_provider_response_empty",
115
+ /** LLM inference provider returned a response that failed JSON parsing. Agent action: surface; the prompt or response schema may need adjustment. */
49
116
  "INFERENCE_PROVIDER_INVALID_JSON",
117
+ /** LLM inference provider returned a response that failed JSON parsing. Agent action: surface; the prompt or response schema may need adjustment. */
118
+ "inference_provider_invalid_json",
119
+ /** Inference profile catalog is missing or empty. Agent action: stop; admin/ops must configure inference profiles before this endpoint will succeed. */
50
120
  "INFERENCE_PROFILES_MISSING",
121
+ /** Inference profile catalog is missing or empty. Agent action: stop; admin/ops must configure inference profiles before this endpoint will succeed. */
122
+ "inference_profiles_missing",
123
+ /** Inference profile is configured but its API key is missing from secret storage. Agent action: stop; admin/ops must populate the API key in secret storage. */
51
124
  "INFERENCE_PROFILE_API_KEY_MISSING",
125
+ /** Inference profile is configured but its API key is missing from secret storage. Agent action: stop; admin/ops must populate the API key in secret storage. */
126
+ "inference_profile_api_key_missing",
52
127
  ])
53
128
  .nullish(),
54
129
  conflictingRecord: CurrentSlugOwnerSchema.nullish(),
@@ -62,7 +137,9 @@ const ProblemDetailSchemaDefinition = z.object({
62
137
  hammingDistance: z.number().int().nullish(),
63
138
  hint: z.string().nullish(),
64
139
  instance: z.string().optional(),
140
+ /** Cap the limitType meter allows for its current period. */
65
141
  limit: z.number().int().nullish(),
142
+ /** Which meter refused the request; names what limit/used/remaining count. */
66
143
  limitType: z
67
144
  .enum([
68
145
  "FORM",
@@ -74,6 +151,7 @@ const ProblemDetailSchemaDefinition = z.object({
74
151
  "WEB_SEARCH",
75
152
  "NATURAL_SEARCH",
76
153
  "BILLING_ALLOWANCE",
154
+ "BILLING_ADDITIONAL_USAGE",
77
155
  "CLERK_PUBLIC_ADMISSION",
78
156
  "CLERK_SCRIPT_LOAD",
79
157
  "ORIGIN_DETAIL",
@@ -86,10 +164,13 @@ const ProblemDetailSchemaDefinition = z.object({
86
164
  parseError: z.string().nullish(),
87
165
  path: z.string().nullish(),
88
166
  properties: z.record(z.string(), JsonValueSchema).optional(),
167
+ /** Cap minus used for the limitType meter, never negative. */
89
168
  remaining: z.number().int().nullish(),
90
169
  requiredRole: z.string().nullish(),
170
+ /** When the limitType meter refills and the request can succeed again. */
91
171
  resetAt: z.iso.datetime({ offset: true }).nullish(),
92
172
  resolution: ProblemResolutionSchema.nullish(),
173
+ /** Seconds to wait before the same request can succeed. A BILLING_ALLOWANCE meter resets at the UTC month boundary, so this reaches weeks: read limitType before treating it as a burst backoff. */
93
174
  retryAfterSeconds: z.number().int().nullish(),
94
175
  spanId: z.string().nullish(),
95
176
  status: z.int().optional(),
@@ -100,9 +181,11 @@ const ProblemDetailSchemaDefinition = z.object({
100
181
  traceId: z.string().nullish(),
101
182
  type: z.string().optional(),
102
183
  unknownParameters: z.array(z.string()).nullish(),
184
+ /** Requests already charged against the limitType meter this period. */
103
185
  used: z.number().int().nullish(),
104
186
  validParameters: z.array(z.string()).nullish(),
105
187
  value: z.string().nullish(),
188
+ /** Length of a rolling throttle window; absent for period meters. */
106
189
  windowSeconds: z.number().int().nullish(),
107
190
  });
108
191
  /**
@@ -0,0 +1,37 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * One existing record considered as the subject.
4
+ *
5
+ * @openapiSchema IdentificationCandidate
6
+ * @endpoint POST /v1/entities/lookup
7
+ * @endpoint POST /v1/people/lookup
8
+ * @usedBySchema IdentificationSchema
9
+ * @contractShape identification.candidate
10
+ * @contractRole canonical
11
+ */
12
+ export declare const IdentificationCandidateSchema: z.ZodObject<{
13
+ probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ record: z.ZodType<{
15
+ externalId?: string | null | undefined;
16
+ id: string;
17
+ name?: string | null | undefined;
18
+ operatingStatus?: string | null | undefined;
19
+ publicPath?: string | null | undefined;
20
+ reason: string[];
21
+ score: number;
22
+ slug?: string | null | undefined;
23
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
24
+ }, unknown, z.core.$ZodTypeInternals<{
25
+ externalId?: string | null | undefined;
26
+ id: string;
27
+ name?: string | null | undefined;
28
+ operatingStatus?: string | null | undefined;
29
+ publicPath?: string | null | undefined;
30
+ reason: string[];
31
+ score: number;
32
+ slug?: string | null | undefined;
33
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
34
+ }, unknown>>;
35
+ }, z.core.$strip>;
36
+ export type IdentificationCandidate = z.infer<typeof IdentificationCandidateSchema>;
37
+ //# sourceMappingURL=candidate.d.ts.map
@@ -0,0 +1,20 @@
1
+ // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
+ import { z } from "zod/v4";
3
+ import { SearchDuplicateCandidateScoreSchema } from "../search/duplicate-candidate-score.js";
4
+ /**
5
+ * One existing record considered as the subject.
6
+ *
7
+ * @openapiSchema IdentificationCandidate
8
+ * @endpoint POST /v1/entities/lookup
9
+ * @endpoint POST /v1/people/lookup
10
+ * @usedBySchema IdentificationSchema
11
+ * @contractShape identification.candidate
12
+ * @contractRole canonical
13
+ */
14
+ export const IdentificationCandidateSchema = z.object({
15
+ /** Decision-model probability, 0 to 1, that this record is the subject; absent when the answer came from URL proof or the model did not judge this record. */
16
+ probability: z.number().nullish(),
17
+ /** The record with its duplicate-check score and reasons; score 0 with no reason means only vector similarity proposed it. */
18
+ record: SearchDuplicateCandidateScoreSchema,
19
+ });
20
+ //# sourceMappingURL=candidate.js.map
@@ -0,0 +1,77 @@
1
+ import { z } from "zod/v4";
2
+ declare const IdentificationSchemaDefinition: z.ZodObject<{
3
+ candidate: z.ZodArray<z.ZodObject<{
4
+ probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5
+ record: z.ZodType<{
6
+ externalId?: string | null | undefined;
7
+ id: string;
8
+ name?: string | null | undefined;
9
+ operatingStatus?: string | null | undefined;
10
+ publicPath?: string | null | undefined;
11
+ reason: string[];
12
+ score: number;
13
+ slug?: string | null | undefined;
14
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
15
+ }, unknown, z.core.$ZodTypeInternals<{
16
+ externalId?: string | null | undefined;
17
+ id: string;
18
+ name?: string | null | undefined;
19
+ operatingStatus?: string | null | undefined;
20
+ publicPath?: string | null | undefined;
21
+ reason: string[];
22
+ score: number;
23
+ slug?: string | null | undefined;
24
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
25
+ }, unknown>>;
26
+ }, z.core.$strip>>;
27
+ detail: z.ZodString;
28
+ match: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
+ probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ record: z.ZodType<{
31
+ externalId?: string | null | undefined;
32
+ id: string;
33
+ name?: string | null | undefined;
34
+ operatingStatus?: string | null | undefined;
35
+ publicPath?: string | null | undefined;
36
+ reason: string[];
37
+ score: number;
38
+ slug?: string | null | undefined;
39
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
40
+ }, unknown, z.core.$ZodTypeInternals<{
41
+ externalId?: string | null | undefined;
42
+ id: string;
43
+ name?: string | null | undefined;
44
+ operatingStatus?: string | null | undefined;
45
+ publicPath?: string | null | undefined;
46
+ reason: string[];
47
+ score: number;
48
+ slug?: string | null | undefined;
49
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
50
+ }, unknown>>;
51
+ }, z.core.$strip>>>;
52
+ officialUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ stage: z.ZodEnum<{
54
+ DETERMINISTIC: "DETERMINISTIC";
55
+ JUDGMENT: "JUDGMENT";
56
+ WEB_EVIDENCE: "WEB_EVIDENCE";
57
+ }>;
58
+ status: z.ZodEnum<{
59
+ MATCHED: "MATCHED";
60
+ NEEDS_REVIEW: "NEEDS_REVIEW";
61
+ NO_MATCH: "NO_MATCH";
62
+ }>;
63
+ }, z.core.$strip>;
64
+ type IdentificationDefinition = z.infer<typeof IdentificationSchemaDefinition>;
65
+ /**
66
+ * Which existing company or person record a subject is, how that was settled, and the candidates considered, most probable first.
67
+ *
68
+ * @openapiSchema Identification
69
+ * @endpoint POST /v1/entities/lookup
70
+ * @endpoint POST /v1/people/lookup
71
+ * @contractShape identification.identification
72
+ * @contractRole canonical
73
+ */
74
+ export declare const IdentificationSchema: z.ZodType<IdentificationDefinition>;
75
+ export type Identification = z.infer<typeof IdentificationSchema>;
76
+ export {};
77
+ //# sourceMappingURL=identification.d.ts.map
@@ -0,0 +1,28 @@
1
+ // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
+ import { z } from "zod/v4";
3
+ import { IdentificationCandidateSchema } from "./candidate.js";
4
+ const IdentificationSchemaDefinition = z.object({
5
+ /** Records considered, most probable first. */
6
+ candidate: z.array(IdentificationCandidateSchema),
7
+ /** One sentence naming what settled the answer or what the user must decide. */
8
+ detail: z.string(),
9
+ /** The matched record when status is MATCHED. */
10
+ match: IdentificationCandidateSchema.nullish(),
11
+ /** The subject's own website or profile page found in web search. Use it as the website when creating the record only if it is the subject's own domain, not a LinkedIn, Crunchbase, or other profile page. */
12
+ officialUrl: z.string().nullish(),
13
+ /** The ladder step that settled the answer. */
14
+ stage: z.enum(["DETERMINISTIC", "JUDGMENT", "WEB_EVIDENCE"]),
15
+ /** What the caller does next: act on match, create, or ask the user. */
16
+ status: z.enum(["MATCHED", "NO_MATCH", "NEEDS_REVIEW"]),
17
+ });
18
+ /**
19
+ * Which existing company or person record a subject is, how that was settled, and the candidates considered, most probable first.
20
+ *
21
+ * @openapiSchema Identification
22
+ * @endpoint POST /v1/entities/lookup
23
+ * @endpoint POST /v1/people/lookup
24
+ * @contractShape identification.identification
25
+ * @contractRole canonical
26
+ */
27
+ export const IdentificationSchema = IdentificationSchemaDefinition;
28
+ //# sourceMappingURL=identification.js.map
@@ -0,0 +1,23 @@
1
+ import { z } from "zod/v4";
2
+ declare const IdentificationSubjectSchemaDefinition: z.ZodObject<{
3
+ context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
+ location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
+ name: z.ZodString;
6
+ sourceNewsId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
7
+ sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ url: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
+ }, z.core.$strip>;
10
+ type IdentificationSubjectDefinition = z.infer<typeof IdentificationSubjectSchemaDefinition>;
11
+ /**
12
+ * The company or person to identify. Send the name plus every URL, location, and source you have; a website or profile URL usually settles the answer without any model call.
13
+ *
14
+ * @openapiSchema IdentificationSubject
15
+ * @endpoint POST /v1/entities/lookup
16
+ * @endpoint POST /v1/people/lookup
17
+ * @contractShape identification.subject
18
+ * @contractRole canonical
19
+ */
20
+ export declare const IdentificationSubjectSchema: z.ZodType<IdentificationSubjectDefinition>;
21
+ export type IdentificationSubject = z.infer<typeof IdentificationSubjectSchema>;
22
+ export {};
23
+ //# sourceMappingURL=subject.d.ts.map
@@ -0,0 +1,27 @@
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
+ const IdentificationSubjectSchemaDefinition = z.object({
4
+ /** Specific facts in plain words: product, industry, employer and title, or founder names. Generic words like startup add nothing. */
5
+ context: z.string().max(2000).nullish(),
6
+ /** City, region, or country, such as Austin, TX. Tells namesakes apart; not proof on its own. */
7
+ location: z.string().max(2000).nullish(),
8
+ /** Name exactly as the source writes it, such as Acme AI or Jane Doe. */
9
+ name: z.string().max(200),
10
+ /** aVenture news id of the article that mentions the subject; an unknown id is a 400. */
11
+ sourceNewsId: z.int().nullish(),
12
+ /** URL of the article that mentions the subject; read from aVenture news when stored there, otherwise fetched. */
13
+ sourceUrl: z.string().max(2000).nullish(),
14
+ /** URLs the subject owns: its website, its LinkedIn company or person profile, or a registry page. At most 10. Put articles in sourceUrl. */
15
+ url: z.array(z.string()).max(10).optional(),
16
+ });
17
+ /**
18
+ * The company or person to identify. Send the name plus every URL, location, and source you have; a website or profile URL usually settles the answer without any model call.
19
+ *
20
+ * @openapiSchema IdentificationSubject
21
+ * @endpoint POST /v1/entities/lookup
22
+ * @endpoint POST /v1/people/lookup
23
+ * @contractShape identification.subject
24
+ * @contractRole canonical
25
+ */
26
+ export const IdentificationSubjectSchema = IdentificationSubjectSchemaDefinition;
27
+ //# sourceMappingURL=subject.js.map
@@ -8,19 +8,17 @@ type IntRangeDefinition = z.infer<typeof IntRangeSchemaDefinition>;
8
8
  * Integer range for count-based filter criteria
9
9
  *
10
10
  * @openapiSchema IntRange
11
- * @endpoint GET /v1/entities
12
11
  * @endpoint GET /v1/entities/summary
13
- * @endpoint GET /v1/people
14
12
  * @endpoint GET /v1/search/link
15
- * @endpoint POST /v1/entities/batch
16
13
  * @endpoint POST /v1/entities/filters/refine
17
14
  * @endpoint POST /v1/entities/filters/search
18
15
  * @endpoint POST /v1/entities/natural-search
19
16
  * @endpoint POST /v1/entities/search
20
- * @endpoint POST /v1/people/batch
21
17
  * @endpoint POST /v1/people/natural-search
22
18
  * @endpoint POST /v1/people/search
23
19
  * @endpoint POST /v1/search/all
20
+ * @endpoint POST /v1/search/natural/entities
21
+ * @endpoint POST /v1/search/natural/people
24
22
  * @usedBySchema EntityFilterSchema
25
23
  * @usedBySchema EntityFundraiseFilterCriteriaSchema
26
24
  * @usedBySchema EntityListFilterSchema
package/dist/int/range.js CHANGED
@@ -10,19 +10,17 @@ const IntRangeSchemaDefinition = z.object({
10
10
  * Integer range for count-based filter criteria
11
11
  *
12
12
  * @openapiSchema IntRange
13
- * @endpoint GET /v1/entities
14
13
  * @endpoint GET /v1/entities/summary
15
- * @endpoint GET /v1/people
16
14
  * @endpoint GET /v1/search/link
17
- * @endpoint POST /v1/entities/batch
18
15
  * @endpoint POST /v1/entities/filters/refine
19
16
  * @endpoint POST /v1/entities/filters/search
20
17
  * @endpoint POST /v1/entities/natural-search
21
18
  * @endpoint POST /v1/entities/search
22
- * @endpoint POST /v1/people/batch
23
19
  * @endpoint POST /v1/people/natural-search
24
20
  * @endpoint POST /v1/people/search
25
21
  * @endpoint POST /v1/search/all
22
+ * @endpoint POST /v1/search/natural/entities
23
+ * @endpoint POST /v1/search/natural/people
26
24
  * @usedBySchema EntityFilterSchema
27
25
  * @usedBySchema EntityFundraiseFilterCriteriaSchema
28
26
  * @usedBySchema EntityListFilterSchema
@@ -4,15 +4,15 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema InvestorActivityFilter
6
6
  * @endpoint GET /v1/search/link
7
- * @endpoint POST /v1/entities/batch
8
7
  * @endpoint POST /v1/entities/filters/refine
9
8
  * @endpoint POST /v1/entities/filters/search
10
9
  * @endpoint POST /v1/entities/natural-search
11
10
  * @endpoint POST /v1/entities/search
12
- * @endpoint POST /v1/people/batch
13
11
  * @endpoint POST /v1/people/natural-search
14
12
  * @endpoint POST /v1/people/search
15
13
  * @endpoint POST /v1/search/all
14
+ * @endpoint POST /v1/search/natural/entities
15
+ * @endpoint POST /v1/search/natural/people
16
16
  * @usedBySchema EntityFundraiseFilterCriteriaSchema
17
17
  * @usedBySchema PersonFilterSchema
18
18
  * @contractShape investor.activity-filter
@@ -7,15 +7,15 @@ import { IntRangeSchema } from "../int/range.js";
7
7
  *
8
8
  * @openapiSchema InvestorActivityFilter
9
9
  * @endpoint GET /v1/search/link
10
- * @endpoint POST /v1/entities/batch
11
10
  * @endpoint POST /v1/entities/filters/refine
12
11
  * @endpoint POST /v1/entities/filters/search
13
12
  * @endpoint POST /v1/entities/natural-search
14
13
  * @endpoint POST /v1/entities/search
15
- * @endpoint POST /v1/people/batch
16
14
  * @endpoint POST /v1/people/natural-search
17
15
  * @endpoint POST /v1/people/search
18
16
  * @endpoint POST /v1/search/all
17
+ * @endpoint POST /v1/search/natural/entities
18
+ * @endpoint POST /v1/search/natural/people
19
19
  * @usedBySchema EntityFundraiseFilterCriteriaSchema
20
20
  * @usedBySchema PersonFilterSchema
21
21
  * @contractShape investor.activity-filter