@aventurevc/api-schemas 0.8.47 → 0.8.49

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 (166) hide show
  1. package/dist/address/address.d.ts +1 -2
  2. package/dist/address/address.js +1 -2
  3. package/dist/address/association-role.d.ts +1 -2
  4. package/dist/address/association-role.js +1 -2
  5. package/dist/address/association.d.ts +1 -2
  6. package/dist/address/association.js +1 -2
  7. package/dist/address/city.d.ts +1 -2
  8. package/dist/address/city.js +1 -2
  9. package/dist/address/country.d.ts +1 -2
  10. package/dist/address/country.js +1 -2
  11. package/dist/address/state.d.ts +1 -2
  12. package/dist/address/state.js +1 -2
  13. package/dist/classification/classification.d.ts +2 -2
  14. package/dist/classification/classification.js +2 -2
  15. package/dist/confidence/confidence.d.ts +1 -3
  16. package/dist/confidence/confidence.js +1 -3
  17. package/dist/content/embedding-match.d.ts +1 -3
  18. package/dist/content/embedding-match.js +1 -3
  19. package/dist/content/source-type.d.ts +1 -3
  20. package/dist/content/source-type.js +1 -3
  21. package/dist/decimal/range.d.ts +1 -3
  22. package/dist/decimal/range.js +1 -3
  23. package/dist/entity/accelerator-participation.d.ts +1 -2
  24. package/dist/entity/accelerator-participation.js +1 -2
  25. package/dist/entity/alias-type.d.ts +2 -2
  26. package/dist/entity/alias-type.js +2 -2
  27. package/dist/entity/brand.d.ts +501 -0
  28. package/dist/entity/brand.js +25 -0
  29. package/dist/entity/classification.d.ts +3 -2
  30. package/dist/entity/classification.js +3 -2
  31. package/dist/entity/enrichment.d.ts +1 -2
  32. package/dist/entity/enrichment.js +1 -2
  33. package/dist/entity/entity.d.ts +3 -2
  34. package/dist/entity/entity.js +3 -2
  35. package/dist/entity/filter-logo-option.d.ts +1 -2
  36. package/dist/entity/filter-logo-option.js +1 -2
  37. package/dist/entity/filter.d.ts +0 -1
  38. package/dist/entity/filter.js +0 -1
  39. package/dist/entity/funding-detail.d.ts +1 -2
  40. package/dist/entity/funding-detail.js +1 -2
  41. package/dist/entity/fundraise-filter-criteria.d.ts +1 -2
  42. package/dist/entity/fundraise-filter-criteria.js +1 -2
  43. package/dist/entity/fundraise-transaction-entity.d.ts +1 -2
  44. package/dist/entity/fundraise-transaction-entity.js +1 -2
  45. package/dist/entity/fundraise-transaction.d.ts +1 -2
  46. package/dist/entity/fundraise-transaction.js +1 -2
  47. package/dist/entity/image.d.ts +2 -2
  48. package/dist/entity/image.js +2 -2
  49. package/dist/entity/list-filter.d.ts +1 -2
  50. package/dist/entity/list-filter.js +1 -2
  51. package/dist/entity/list-quality-gate.d.ts +1 -2
  52. package/dist/entity/list-quality-gate.js +1 -2
  53. package/dist/entity/list-research.d.ts +1 -2
  54. package/dist/entity/list-research.js +1 -2
  55. package/dist/entity/list.d.ts +1 -2
  56. package/dist/entity/list.js +1 -2
  57. package/dist/entity/name-alias-entity-alias-type.d.ts +2 -2
  58. package/dist/entity/name-alias-entity-alias-type.js +2 -2
  59. package/dist/entity/name-alias-person-alias-type.d.ts +1 -2
  60. package/dist/entity/name-alias-person-alias-type.js +1 -2
  61. package/dist/entity/natural-search.d.ts +0 -1
  62. package/dist/entity/natural-search.js +0 -1
  63. package/dist/entity/operating-status.d.ts +1 -2
  64. package/dist/entity/operating-status.js +1 -2
  65. package/dist/entity/research-detail.d.ts +1 -2
  66. package/dist/entity/research-detail.js +1 -2
  67. package/dist/entity/research-public-source.d.ts +1 -2
  68. package/dist/entity/research-public-source.js +1 -2
  69. package/dist/entity/research-value-type.d.ts +1 -2
  70. package/dist/entity/research-value-type.js +1 -2
  71. package/dist/entity/sitemap.d.ts +2 -2
  72. package/dist/entity/sitemap.js +2 -2
  73. package/dist/entity/tag.d.ts +2 -2
  74. package/dist/entity/tag.js +2 -2
  75. package/dist/entity/text-bundle.d.ts +1 -3
  76. package/dist/entity/text-bundle.js +1 -3
  77. package/dist/entity/url-crawl-cdn-provider.d.ts +2 -2
  78. package/dist/entity/url-crawl-cdn-provider.js +2 -2
  79. package/dist/entity/url-crawl-render-mode.d.ts +2 -2
  80. package/dist/entity/url-crawl-render-mode.js +2 -2
  81. package/dist/entity/url-link.d.ts +3 -2
  82. package/dist/entity/url-link.js +3 -2
  83. package/dist/entity/url-type.d.ts +2 -2
  84. package/dist/entity/url-type.js +2 -2
  85. package/dist/federated/search-provenance.d.ts +1 -1
  86. package/dist/federated/search-provenance.js +1 -1
  87. package/dist/federated/search.d.ts +1 -1
  88. package/dist/federated/search.js +1 -1
  89. package/dist/funding/stage.d.ts +1 -2
  90. package/dist/funding/stage.js +1 -2
  91. package/dist/fundraise/data-confidence.d.ts +1 -2
  92. package/dist/fundraise/data-confidence.js +1 -2
  93. package/dist/fundraise/investment-attribution-type.d.ts +1 -2
  94. package/dist/fundraise/investment-attribution-type.js +1 -2
  95. package/dist/fundraise/investment-attribution.d.ts +1 -2
  96. package/dist/fundraise/investment-attribution.js +1 -2
  97. package/dist/http/problem-detail.d.ts +1 -0
  98. package/dist/http/problem-detail.js +2 -0
  99. package/dist/identification/identification.d.ts +1 -0
  100. package/dist/identification/identification.js +1 -0
  101. package/dist/identification/subject.d.ts +15 -14
  102. package/dist/identification/subject.js +15 -12
  103. package/dist/int/range.d.ts +1 -3
  104. package/dist/int/range.js +1 -3
  105. package/dist/investor/activity-filter.d.ts +1 -3
  106. package/dist/investor/activity-filter.js +1 -3
  107. package/dist/job/enqueue.d.ts +4 -0
  108. package/dist/job/enqueue.js +4 -0
  109. package/dist/link/search.d.ts +1 -0
  110. package/dist/link/search.js +1 -0
  111. package/dist/lookup/job-mutation.d.ts +25 -1
  112. package/dist/lookup/job-mutation.js +4 -1
  113. package/dist/lookup/job.d.ts +184 -1
  114. package/dist/lookup/job.js +4 -1
  115. package/dist/natural/search-result.d.ts +1 -2
  116. package/dist/natural/search-result.js +1 -2
  117. package/dist/natural/search.d.ts +0 -3
  118. package/dist/natural/search.js +0 -3
  119. package/dist/news/news.d.ts +1 -1
  120. package/dist/news/news.js +1 -1
  121. package/dist/openapi-component-manifest.js +1 -0
  122. package/dist/pagination/schemas.d.ts +3 -5
  123. package/dist/pagination/schemas.js +3 -5
  124. package/dist/person/alias-type.d.ts +1 -2
  125. package/dist/person/alias-type.js +1 -2
  126. package/dist/person/filter.d.ts +1 -2
  127. package/dist/person/filter.js +1 -2
  128. package/dist/person/image.d.ts +1 -2
  129. package/dist/person/image.js +1 -2
  130. package/dist/person/list-array-filter.d.ts +1 -2
  131. package/dist/person/list-array-filter.js +1 -2
  132. package/dist/person/natural-search-result.d.ts +1 -2
  133. package/dist/person/natural-search-result.js +1 -2
  134. package/dist/person/natural-search.d.ts +0 -1
  135. package/dist/person/natural-search.js +0 -1
  136. package/dist/person/person.d.ts +1 -2
  137. package/dist/person/person.js +1 -2
  138. package/dist/person/search-interpretation.d.ts +1 -2
  139. package/dist/person/search-interpretation.js +1 -2
  140. package/dist/research/derived-bucket.d.ts +1 -2
  141. package/dist/research/derived-bucket.js +1 -2
  142. package/dist/research/derived-range.d.ts +1 -2
  143. package/dist/research/derived-range.js +1 -2
  144. package/dist/round/label.d.ts +1 -2
  145. package/dist/round/label.js +1 -2
  146. package/dist/search/interpretation.d.ts +1 -2
  147. package/dist/search/interpretation.js +1 -2
  148. package/dist/search/mode-execution.d.ts +1 -3
  149. package/dist/search/mode-execution.js +1 -3
  150. package/dist/search/mode.d.ts +1 -3
  151. package/dist/search/mode.js +1 -3
  152. package/dist/search/ordering-entity-filter-sortable.d.ts +1 -2
  153. package/dist/search/ordering-entity-filter-sortable.js +1 -2
  154. package/dist/search/ordering-person-sort-field.d.ts +1 -2
  155. package/dist/search/ordering-person-sort-field.js +1 -2
  156. package/dist/search/relevance.d.ts +1 -3
  157. package/dist/search/relevance.js +1 -3
  158. package/dist/sort/order-entity-filter-sortable.d.ts +1 -2
  159. package/dist/sort/order-entity-filter-sortable.js +1 -2
  160. package/dist/sort/order-person-sort-field.d.ts +1 -2
  161. package/dist/sort/order-person-sort-field.js +1 -2
  162. package/dist/standardized/classification.d.ts +2 -2
  163. package/dist/standardized/classification.js +2 -2
  164. package/dist/url/match-mode.d.ts +1 -2
  165. package/dist/url/match-mode.js +1 -2
  166. package/package.json +1 -1
@@ -9,7 +9,11 @@ type JobEnqueueDefinition = z.infer<typeof JobEnqueueSchemaDefinition>;
9
9
  * Accepted asynchronous app job enqueue response.
10
10
  *
11
11
  * @openapiSchema JobEnqueue
12
+ * @endpoint GET /v1/lookup
13
+ * @endpoint GET /v1/search/link
14
+ * @endpoint GET /v1/search/link/jobs/{jobId}
12
15
  * @endpoint GET /v1/web/searches/jobs/{jobId}
16
+ * @endpoint POST /v1/entities/lookup
13
17
  * @endpoint POST /v1/lookup-jobs
14
18
  * @contractShape job.enqueue
15
19
  * @contractRole canonical
@@ -10,7 +10,11 @@ const JobEnqueueSchemaDefinition = z.object({
10
10
  * Accepted asynchronous app job enqueue response.
11
11
  *
12
12
  * @openapiSchema JobEnqueue
13
+ * @endpoint GET /v1/lookup
14
+ * @endpoint GET /v1/search/link
15
+ * @endpoint GET /v1/search/link/jobs/{jobId}
13
16
  * @endpoint GET /v1/web/searches/jobs/{jobId}
17
+ * @endpoint POST /v1/entities/lookup
14
18
  * @endpoint POST /v1/lookup-jobs
15
19
  * @contractShape job.enqueue
16
20
  * @contractRole canonical
@@ -1524,6 +1524,7 @@ type LinkSearchDefinition = z.infer<typeof LinkSearchSchemaDefinition>;
1524
1524
  *
1525
1525
  * @openapiSchema LinkSearch
1526
1526
  * @endpoint GET /v1/search/link
1527
+ * @endpoint GET /v1/search/link/jobs/{jobId}
1527
1528
  * @contractShape link.search
1528
1529
  * @contractRole canonical
1529
1530
  */
@@ -14,6 +14,7 @@ const LinkSearchSchemaDefinition = z.object({
14
14
  *
15
15
  * @openapiSchema LinkSearch
16
16
  * @endpoint GET /v1/search/link
17
+ * @endpoint GET /v1/search/link/jobs/{jobId}
17
18
  * @contractShape link.search
18
19
  * @contractRole canonical
19
20
  */
@@ -13,10 +13,34 @@ declare const LookupJobMutationSchemaDefinition: z.ZodObject<{
13
13
  }, unknown>>>>;
14
14
  sourceNewsId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
15
15
  sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ subject: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17
+ context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
19
+ ENTITY: "ENTITY";
20
+ PERSON: "PERSON";
21
+ }>>>;
22
+ location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ name: z.ZodString;
24
+ providerId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
25
+ sourceNewsId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
26
+ sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ typeRecord: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
28
+ "Business Line": "Business Line";
29
+ Company: "Company";
30
+ Fund: "Fund";
31
+ Government: "Government";
32
+ "Investment Firm": "Investment Firm";
33
+ Nonprofit: "Nonprofit";
34
+ Organization: "Organization";
35
+ Product: "Product";
36
+ Service: "Service";
37
+ }>>>;
38
+ url: z.ZodOptional<z.ZodArray<z.ZodString>>;
39
+ }, z.core.$strip>>>;
16
40
  }, z.core.$strip>;
17
41
  type LookupJobMutationDefinition = z.infer<typeof LookupJobMutationSchemaDefinition>;
18
42
  /**
19
- * The article whose companies and people a lookup identifies. Send sourceUrl, sourceNewsId, or both; lookup-only bulk jobs and POST /v1/lookup-mentions also accept mention instead.
43
+ * The article whose companies and people a lookup identifies. Send sourceUrl, sourceNewsId, or both; lookup-only bulk jobs and POST /v1/lookup-mentions also accept mention instead. A job filed by Prefer: respond-async on GET /v1/lookup or POST /v1/entities/lookup carries that request's subject instead.
20
44
  *
21
45
  * @openapiSchema LookupJobMutation
22
46
  * @endpoint GET /v1/lookup-jobs/{jobId}
@@ -1,5 +1,6 @@
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 { IdentificationSubjectSchema } from "../identification/subject.js";
3
4
  import { LookupMentionSchema } from "./mention.js";
4
5
  const LookupJobMutationSchemaDefinition = z.object({
5
6
  /** Companies and people the caller already read, identified without sending the page or screenshot. Send them alone, without an article or file. On lookup jobs, maxNames is required and no shell records or enrichment are scheduled. */
@@ -8,9 +9,11 @@ const LookupJobMutationSchemaDefinition = z.object({
8
9
  sourceNewsId: z.int().nullish(),
9
10
  /** URL of the article; read from aVenture news when stored there, otherwise fetched. */
10
11
  sourceUrl: z.string().max(2000).nullish(),
12
+ /** Read-only: the subject of a GET /v1/lookup or POST /v1/entities/lookup request sent with Prefer: respond-async, which this job identifies exactly as that route would. Requests to create a job or read mentions must omit it. */
13
+ subject: IdentificationSubjectSchema.nullish(),
11
14
  });
12
15
  /**
13
- * The article whose companies and people a lookup identifies. Send sourceUrl, sourceNewsId, or both; lookup-only bulk jobs and POST /v1/lookup-mentions also accept mention instead.
16
+ * The article whose companies and people a lookup identifies. Send sourceUrl, sourceNewsId, or both; lookup-only bulk jobs and POST /v1/lookup-mentions also accept mention instead. A job filed by Prefer: respond-async on GET /v1/lookup or POST /v1/entities/lookup carries that request's subject instead.
14
17
  *
15
18
  * @openapiSchema LookupJobMutation
16
19
  * @endpoint GET /v1/lookup-jobs/{jobId}
@@ -2,6 +2,167 @@ import { z } from "zod/v4";
2
2
  declare const LookupJobSchemaDefinition: z.ZodObject<{
3
3
  createdAt: z.ZodISODateTime;
4
4
  failureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
+ identification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6
+ candidate: z.ZodArray<z.ZodObject<{
7
+ dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
8
+ duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
9
+ JUDGED: "JUDGED";
10
+ SHARED_FACT: "SHARED_FACT";
11
+ STUB: "STUB";
12
+ }>>>;
13
+ duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ owner: z.ZodObject<{
15
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
16
+ personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
17
+ }, z.core.$strip>;
18
+ probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ record: z.ZodType<{
20
+ externalId?: string | null | undefined;
21
+ id: string;
22
+ name?: string | null | undefined;
23
+ operatingStatus?: string | null | undefined;
24
+ publicPath?: string | null | undefined;
25
+ reason: string[];
26
+ score: number;
27
+ slug?: string | null | undefined;
28
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
29
+ }, unknown, z.core.$ZodTypeInternals<{
30
+ externalId?: string | null | undefined;
31
+ id: string;
32
+ name?: string | null | undefined;
33
+ operatingStatus?: string | null | undefined;
34
+ publicPath?: string | null | undefined;
35
+ reason: string[];
36
+ score: number;
37
+ slug?: string | null | undefined;
38
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
39
+ }, unknown>>;
40
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
41
+ }, z.core.$strip>>;
42
+ created: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43
+ dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
44
+ duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
45
+ JUDGED: "JUDGED";
46
+ SHARED_FACT: "SHARED_FACT";
47
+ STUB: "STUB";
48
+ }>>>;
49
+ duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
50
+ owner: z.ZodObject<{
51
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
52
+ personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
53
+ }, z.core.$strip>;
54
+ probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
55
+ record: z.ZodType<{
56
+ externalId?: string | null | undefined;
57
+ id: string;
58
+ name?: string | null | undefined;
59
+ operatingStatus?: string | null | undefined;
60
+ publicPath?: string | null | undefined;
61
+ reason: string[];
62
+ score: number;
63
+ slug?: string | null | undefined;
64
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
65
+ }, unknown, z.core.$ZodTypeInternals<{
66
+ externalId?: string | null | undefined;
67
+ id: string;
68
+ name?: string | null | undefined;
69
+ operatingStatus?: string | null | undefined;
70
+ publicPath?: string | null | undefined;
71
+ reason: string[];
72
+ score: number;
73
+ slug?: string | null | undefined;
74
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
75
+ }, unknown>>;
76
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
77
+ }, z.core.$strip>>>;
78
+ detail: z.ZodString;
79
+ duplicate: z.ZodArray<z.ZodObject<{
80
+ dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
81
+ duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
82
+ JUDGED: "JUDGED";
83
+ SHARED_FACT: "SHARED_FACT";
84
+ STUB: "STUB";
85
+ }>>>;
86
+ duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
87
+ owner: z.ZodObject<{
88
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
89
+ personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
90
+ }, z.core.$strip>;
91
+ probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
92
+ record: z.ZodType<{
93
+ externalId?: string | null | undefined;
94
+ id: string;
95
+ name?: string | null | undefined;
96
+ operatingStatus?: string | null | undefined;
97
+ publicPath?: string | null | undefined;
98
+ reason: string[];
99
+ score: number;
100
+ slug?: string | null | undefined;
101
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
102
+ }, unknown, z.core.$ZodTypeInternals<{
103
+ externalId?: string | null | undefined;
104
+ id: string;
105
+ name?: string | null | undefined;
106
+ operatingStatus?: string | null | undefined;
107
+ publicPath?: string | null | undefined;
108
+ reason: string[];
109
+ score: number;
110
+ slug?: string | null | undefined;
111
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
112
+ }, unknown>>;
113
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
114
+ }, z.core.$strip>>;
115
+ enrichmentRunId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
116
+ match: z.ZodOptional<z.ZodNullable<z.ZodObject<{
117
+ dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
118
+ duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
119
+ JUDGED: "JUDGED";
120
+ SHARED_FACT: "SHARED_FACT";
121
+ STUB: "STUB";
122
+ }>>>;
123
+ duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
124
+ owner: z.ZodObject<{
125
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
126
+ personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
127
+ }, z.core.$strip>;
128
+ probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
129
+ record: z.ZodType<{
130
+ externalId?: string | null | undefined;
131
+ id: string;
132
+ name?: string | null | undefined;
133
+ operatingStatus?: string | null | undefined;
134
+ publicPath?: string | null | undefined;
135
+ reason: string[];
136
+ score: number;
137
+ slug?: string | null | undefined;
138
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
139
+ }, unknown, z.core.$ZodTypeInternals<{
140
+ externalId?: string | null | undefined;
141
+ id: string;
142
+ name?: string | null | undefined;
143
+ operatingStatus?: string | null | undefined;
144
+ publicPath?: string | null | undefined;
145
+ reason: string[];
146
+ score: number;
147
+ slug?: string | null | undefined;
148
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
149
+ }, unknown>>;
150
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
151
+ }, z.core.$strip>>>;
152
+ matchConfidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
153
+ matchEvidenceProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
154
+ officialUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
155
+ stage: z.ZodEnum<{
156
+ DETERMINISTIC: "DETERMINISTIC";
157
+ JUDGMENT: "JUDGMENT";
158
+ WEB_EVIDENCE: "WEB_EVIDENCE";
159
+ }>;
160
+ status: z.ZodEnum<{
161
+ MATCHED: "MATCHED";
162
+ NEEDS_REVIEW: "NEEDS_REVIEW";
163
+ NO_MATCH: "NO_MATCH";
164
+ }>;
165
+ }, z.core.$strip>>>;
5
166
  jobId: z.ZodUUID;
6
167
  limitReached: z.ZodBoolean;
7
168
  maxNames: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
@@ -1263,6 +1424,17 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1263
1424
  }[] | undefined;
1264
1425
  sourceNewsId?: number | null | undefined;
1265
1426
  sourceUrl?: string | null | undefined;
1427
+ subject?: {
1428
+ context?: string | null | undefined;
1429
+ kind?: "ENTITY" | "PERSON" | null | undefined;
1430
+ location?: string | null | undefined;
1431
+ name: string;
1432
+ providerId?: string | null | undefined;
1433
+ sourceNewsId?: number | null | undefined;
1434
+ sourceUrl?: string | null | undefined;
1435
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
1436
+ url?: string[] | undefined;
1437
+ } | null | undefined;
1266
1438
  }, unknown, z.core.$ZodTypeInternals<{
1267
1439
  mention?: {
1268
1440
  name: string;
@@ -1272,6 +1444,17 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1272
1444
  }[] | undefined;
1273
1445
  sourceNewsId?: number | null | undefined;
1274
1446
  sourceUrl?: string | null | undefined;
1447
+ subject?: {
1448
+ context?: string | null | undefined;
1449
+ kind?: "ENTITY" | "PERSON" | null | undefined;
1450
+ location?: string | null | undefined;
1451
+ name: string;
1452
+ providerId?: string | null | undefined;
1453
+ sourceNewsId?: number | null | undefined;
1454
+ sourceUrl?: string | null | undefined;
1455
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
1456
+ url?: string[] | undefined;
1457
+ } | null | undefined;
1275
1458
  }, unknown>>;
1276
1459
  state: z.ZodEnum<{
1277
1460
  CANCELED: "CANCELED";
@@ -1285,7 +1468,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1285
1468
  }, z.core.$strip>;
1286
1469
  type LookupJobDefinition = z.infer<typeof LookupJobSchemaDefinition>;
1287
1470
  /**
1288
- * An async lookup job's state and, once COMPLETED, identified companies and people from its article or supplied names.
1471
+ * An async lookup job's state and, once COMPLETED, identified companies and people from its article or supplied names, or the identification of its subject.
1289
1472
  *
1290
1473
  * @openapiSchema LookupJob
1291
1474
  * @endpoint GET /v1/lookup-jobs/{jobId}
@@ -1,5 +1,6 @@
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 { IdentificationSchema } from "../identification/identification.js";
3
4
  import { JobStateSchema } from "../job/state.js";
4
5
  import { LookupJobMentionSchema } from "./job-mention.js";
5
6
  import { LookupJobMutationSchema } from "./job-mutation.js";
@@ -8,6 +9,8 @@ const LookupJobSchemaDefinition = z.object({
8
9
  createdAt: z.iso.datetime({ offset: true }),
9
10
  /** Why the job failed; absent unless state is FAILED. */
10
11
  failureReason: z.string().nullish(),
12
+ /** Subject jobs only: once COMPLETED, the identification GET /v1/lookup or POST /v1/entities/lookup returns for source.subject; absent otherwise. */
13
+ identification: IdentificationSchema.nullish(),
11
14
  /** Lookup job id. */
12
15
  jobId: z.uuid(),
13
16
  /** True when a bulk lookup returned its name bound; more names may remain. False does not prove that extraction found every name on a page. */
@@ -28,7 +31,7 @@ const LookupJobSchemaDefinition = z.object({
28
31
  updatedAt: z.iso.datetime({ offset: true }),
29
32
  });
30
33
  /**
31
- * An async lookup job's state and, once COMPLETED, identified companies and people from its article or supplied names.
34
+ * An async lookup job's state and, once COMPLETED, identified companies and people from its article or supplied names, or the identification of its subject.
32
35
  *
33
36
  * @openapiSchema LookupJob
34
37
  * @endpoint GET /v1/lookup-jobs/{jobId}
@@ -1197,9 +1197,8 @@ type NaturalSearchResultDefinition = z.infer<typeof NaturalSearchResultSchemaDef
1197
1197
  *
1198
1198
  * @openapiSchema NaturalSearchResult
1199
1199
  * @endpoint GET /v1/search/link
1200
- * @endpoint POST /v1/entities/natural-search
1200
+ * @endpoint GET /v1/search/link/jobs/{jobId}
1201
1201
  * @endpoint POST /v1/search
1202
- * @endpoint POST /v1/search/all
1203
1202
  * @endpoint POST /v1/search/natural/entities
1204
1203
  * @usedBySchema FederatedSearchSchema
1205
1204
  * @contractShape natural.search-result
@@ -13,9 +13,8 @@ const NaturalSearchResultSchemaDefinition = z.object({
13
13
  *
14
14
  * @openapiSchema NaturalSearchResult
15
15
  * @endpoint GET /v1/search/link
16
- * @endpoint POST /v1/entities/natural-search
16
+ * @endpoint GET /v1/search/link/jobs/{jobId}
17
17
  * @endpoint POST /v1/search
18
- * @endpoint POST /v1/search/all
19
18
  * @endpoint POST /v1/search/natural/entities
20
19
  * @usedBySchema FederatedSearchSchema
21
20
  * @contractShape natural.search-result
@@ -16,11 +16,8 @@ type NaturalSearchDefinition = z.infer<typeof NaturalSearchSchemaDefinition>;
16
16
  *
17
17
  * @openapiSchema NaturalSearch
18
18
  * @endpoint POST /v1/entities/{entityId}/content/search
19
- * @endpoint POST /v1/entities/natural-search
20
19
  * @endpoint POST /v1/people/{personId}/content/search
21
- * @endpoint POST /v1/people/natural-search
22
20
  * @endpoint POST /v1/search
23
- * @endpoint POST /v1/search/all
24
21
  * @endpoint POST /v1/search/natural/entities
25
22
  * @endpoint POST /v1/search/natural/people
26
23
  * @usedBySchema EntityNaturalSearchSchema
@@ -14,11 +14,8 @@ const NaturalSearchSchemaDefinition = z.object({
14
14
  *
15
15
  * @openapiSchema NaturalSearch
16
16
  * @endpoint POST /v1/entities/{entityId}/content/search
17
- * @endpoint POST /v1/entities/natural-search
18
17
  * @endpoint POST /v1/people/{personId}/content/search
19
- * @endpoint POST /v1/people/natural-search
20
18
  * @endpoint POST /v1/search
21
- * @endpoint POST /v1/search/all
22
19
  * @endpoint POST /v1/search/natural/entities
23
20
  * @endpoint POST /v1/search/natural/people
24
21
  * @usedBySchema EntityNaturalSearchSchema
@@ -28,11 +28,11 @@ type NewsDefinition = z.infer<typeof NewsSchemaDefinition>;
28
28
  * @endpoint GET /v1/entities/{entityId}/trending-news
29
29
  * @endpoint GET /v1/news/{newsId}
30
30
  * @endpoint GET /v1/people/{personId}/graph
31
+ * @endpoint GET /v1/search/link/jobs/{jobId}
31
32
  * @endpoint POST /v1/entities/lookup-batch
32
33
  * @endpoint POST /v1/entities/lookup-matches
33
34
  * @endpoint POST /v1/entities/search
34
35
  * @endpoint POST /v1/search
35
- * @endpoint POST /v1/search/all
36
36
  * @usedBySchema EntityDetailSchema
37
37
  * @usedBySchema NewsDetailSchema
38
38
  * @usedBySchema NewsPublishedEventSchema
package/dist/news/news.js CHANGED
@@ -36,11 +36,11 @@ const NewsSchemaDefinition = z.object({
36
36
  * @endpoint GET /v1/entities/{entityId}/trending-news
37
37
  * @endpoint GET /v1/news/{newsId}
38
38
  * @endpoint GET /v1/people/{personId}/graph
39
+ * @endpoint GET /v1/search/link/jobs/{jobId}
39
40
  * @endpoint POST /v1/entities/lookup-batch
40
41
  * @endpoint POST /v1/entities/lookup-matches
41
42
  * @endpoint POST /v1/entities/search
42
43
  * @endpoint POST /v1/search
43
- * @endpoint POST /v1/search/all
44
44
  * @usedBySchema EntityDetailSchema
45
45
  * @usedBySchema NewsDetailSchema
46
46
  * @usedBySchema NewsPublishedEventSchema
@@ -222,6 +222,7 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
222
222
  schemaName: "EntityAcquisitionStageSchema",
223
223
  },
224
224
  EntityAliasType: { modulePath: "entity/alias-type", schemaName: "EntityAliasTypeSchema" },
225
+ EntityBrand: { modulePath: "entity/brand", schemaName: "EntityBrandSchema" },
225
226
  EntityClassification: {
226
227
  modulePath: "entity/classification",
227
228
  schemaName: "EntityClassificationSchema",
@@ -10770,9 +10770,8 @@ type PageResultEntityListDefinition = z.infer<typeof PageResultEntityListSchemaD
10770
10770
  /**
10771
10771
  * @openapiSchema PageResultEntityList
10772
10772
  * @endpoint GET /v1/search/link
10773
- * @endpoint POST /v1/entities/natural-search
10773
+ * @endpoint GET /v1/search/link/jobs/{jobId}
10774
10774
  * @endpoint POST /v1/search
10775
- * @endpoint POST /v1/search/all
10776
10775
  * @endpoint POST /v1/search/natural/entities
10777
10776
  * @usedBySchema NaturalSearchResultSchema
10778
10777
  * @contractShape pagination.page-result-entity-list
@@ -10819,8 +10818,8 @@ type PageResultNewsDefinition = z.infer<typeof PageResultNewsSchemaDefinition>;
10819
10818
  /**
10820
10819
  * @openapiSchema PageResultNews
10821
10820
  * @endpoint GET /v1/search/link
10821
+ * @endpoint GET /v1/search/link/jobs/{jobId}
10822
10822
  * @endpoint POST /v1/search
10823
- * @endpoint POST /v1/search/all
10824
10823
  * @usedBySchema FederatedSearchSchema
10825
10824
  * @contractShape pagination.page-result-news
10826
10825
  * @contractRole canonical
@@ -10918,9 +10917,8 @@ type PageResultPersonDefinition = z.infer<typeof PageResultPersonSchemaDefinitio
10918
10917
  /**
10919
10918
  * @openapiSchema PageResultPerson
10920
10919
  * @endpoint GET /v1/search/link
10921
- * @endpoint POST /v1/people/natural-search
10920
+ * @endpoint GET /v1/search/link/jobs/{jobId}
10922
10921
  * @endpoint POST /v1/search
10923
- * @endpoint POST /v1/search/all
10924
10922
  * @endpoint POST /v1/search/natural/people
10925
10923
  * @usedBySchema PersonNaturalSearchResultSchema
10926
10924
  * @contractShape pagination.page-result-person
@@ -621,9 +621,8 @@ const PageResultEntityListSchemaDefinition = z.object({
621
621
  /**
622
622
  * @openapiSchema PageResultEntityList
623
623
  * @endpoint GET /v1/search/link
624
- * @endpoint POST /v1/entities/natural-search
624
+ * @endpoint GET /v1/search/link/jobs/{jobId}
625
625
  * @endpoint POST /v1/search
626
- * @endpoint POST /v1/search/all
627
626
  * @endpoint POST /v1/search/natural/entities
628
627
  * @usedBySchema NaturalSearchResultSchema
629
628
  * @contractShape pagination.page-result-entity-list
@@ -640,8 +639,8 @@ const PageResultNewsSchemaDefinition = z.object({
640
639
  /**
641
640
  * @openapiSchema PageResultNews
642
641
  * @endpoint GET /v1/search/link
642
+ * @endpoint GET /v1/search/link/jobs/{jobId}
643
643
  * @endpoint POST /v1/search
644
- * @endpoint POST /v1/search/all
645
644
  * @usedBySchema FederatedSearchSchema
646
645
  * @contractShape pagination.page-result-news
647
646
  * @contractRole canonical
@@ -657,9 +656,8 @@ const PageResultPersonSchemaDefinition = z.object({
657
656
  /**
658
657
  * @openapiSchema PageResultPerson
659
658
  * @endpoint GET /v1/search/link
660
- * @endpoint POST /v1/people/natural-search
659
+ * @endpoint GET /v1/search/link/jobs/{jobId}
661
660
  * @endpoint POST /v1/search
662
- * @endpoint POST /v1/search/all
663
661
  * @endpoint POST /v1/search/natural/people
664
662
  * @usedBySchema PersonNaturalSearchResultSchema
665
663
  * @contractShape pagination.page-result-person
@@ -13,15 +13,14 @@ import { z } from "zod/v4";
13
13
  * @endpoint GET /v1/lookup-jobs/{jobId}
14
14
  * @endpoint GET /v1/people/{personId}
15
15
  * @endpoint GET /v1/people/{personId}/similar
16
+ * @endpoint GET /v1/search/link/jobs/{jobId}
16
17
  * @endpoint POST /v1/entities/lookup-batch
17
18
  * @endpoint POST /v1/entities/lookup-matches
18
19
  * @endpoint POST /v1/entities/search
19
20
  * @endpoint POST /v1/lookup-mentions
20
21
  * @endpoint POST /v1/people/lookup-batch
21
- * @endpoint POST /v1/people/natural-search
22
22
  * @endpoint POST /v1/people/search
23
23
  * @endpoint POST /v1/search
24
- * @endpoint POST /v1/search/all
25
24
  * @endpoint POST /v1/search/natural/people
26
25
  * @usedBySchema EntityNameAliasPersonAliasTypeSchema
27
26
  * @contractShape person.alias-type
@@ -14,15 +14,14 @@ import { z } from "zod/v4";
14
14
  * @endpoint GET /v1/lookup-jobs/{jobId}
15
15
  * @endpoint GET /v1/people/{personId}
16
16
  * @endpoint GET /v1/people/{personId}/similar
17
+ * @endpoint GET /v1/search/link/jobs/{jobId}
17
18
  * @endpoint POST /v1/entities/lookup-batch
18
19
  * @endpoint POST /v1/entities/lookup-matches
19
20
  * @endpoint POST /v1/entities/search
20
21
  * @endpoint POST /v1/lookup-mentions
21
22
  * @endpoint POST /v1/people/lookup-batch
22
- * @endpoint POST /v1/people/natural-search
23
23
  * @endpoint POST /v1/people/search
24
24
  * @endpoint POST /v1/search
25
- * @endpoint POST /v1/search/all
26
25
  * @endpoint POST /v1/search/natural/people
27
26
  * @usedBySchema EntityNameAliasPersonAliasTypeSchema
28
27
  * @contractShape person.alias-type
@@ -4,10 +4,9 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema PersonFilter
6
6
  * @endpoint GET /v1/search/link
7
- * @endpoint POST /v1/people/natural-search
7
+ * @endpoint GET /v1/search/link/jobs/{jobId}
8
8
  * @endpoint POST /v1/people/search
9
9
  * @endpoint POST /v1/search
10
- * @endpoint POST /v1/search/all
11
10
  * @endpoint POST /v1/search/natural/people
12
11
  * @usedBySchema PersonNaturalSearchSchema
13
12
  * @usedBySchema PersonSearchInterpretationSchema
@@ -7,10 +7,9 @@ import { PersonListArrayFilterSchema } from "./list-array-filter.js";
7
7
  *
8
8
  * @openapiSchema PersonFilter
9
9
  * @endpoint GET /v1/search/link
10
- * @endpoint POST /v1/people/natural-search
10
+ * @endpoint GET /v1/search/link/jobs/{jobId}
11
11
  * @endpoint POST /v1/people/search
12
12
  * @endpoint POST /v1/search
13
- * @endpoint POST /v1/search/all
14
13
  * @endpoint POST /v1/search/natural/people
15
14
  * @usedBySchema PersonNaturalSearchSchema
16
15
  * @usedBySchema PersonSearchInterpretationSchema
@@ -18,15 +18,14 @@ import { z } from "zod/v4";
18
18
  * @endpoint GET /v1/people/{personId}/entities/{associationId}
19
19
  * @endpoint GET /v1/people/{personId}/graph
20
20
  * @endpoint GET /v1/people/{personId}/similar
21
+ * @endpoint GET /v1/search/link/jobs/{jobId}
21
22
  * @endpoint POST /v1/entities/lookup-batch
22
23
  * @endpoint POST /v1/entities/lookup-matches
23
24
  * @endpoint POST /v1/entities/search
24
25
  * @endpoint POST /v1/lookup-mentions
25
26
  * @endpoint POST /v1/people/lookup-batch
26
- * @endpoint POST /v1/people/natural-search
27
27
  * @endpoint POST /v1/people/search
28
28
  * @endpoint POST /v1/search
29
- * @endpoint POST /v1/search/all
30
29
  * @endpoint POST /v1/search/natural/people
31
30
  * @usedBySchema EntityPersonAssociationSchema
32
31
  * @usedBySchema PersonGraphMemberSchema
@@ -19,15 +19,14 @@ import { z } from "zod/v4";
19
19
  * @endpoint GET /v1/people/{personId}/entities/{associationId}
20
20
  * @endpoint GET /v1/people/{personId}/graph
21
21
  * @endpoint GET /v1/people/{personId}/similar
22
+ * @endpoint GET /v1/search/link/jobs/{jobId}
22
23
  * @endpoint POST /v1/entities/lookup-batch
23
24
  * @endpoint POST /v1/entities/lookup-matches
24
25
  * @endpoint POST /v1/entities/search
25
26
  * @endpoint POST /v1/lookup-mentions
26
27
  * @endpoint POST /v1/people/lookup-batch
27
- * @endpoint POST /v1/people/natural-search
28
28
  * @endpoint POST /v1/people/search
29
29
  * @endpoint POST /v1/search
30
- * @endpoint POST /v1/search/all
31
30
  * @endpoint POST /v1/search/natural/people
32
31
  * @usedBySchema EntityPersonAssociationSchema
33
32
  * @usedBySchema PersonGraphMemberSchema
@@ -4,10 +4,9 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema PersonListArrayFilter
6
6
  * @endpoint GET /v1/search/link
7
- * @endpoint POST /v1/people/natural-search
7
+ * @endpoint GET /v1/search/link/jobs/{jobId}
8
8
  * @endpoint POST /v1/people/search
9
9
  * @endpoint POST /v1/search
10
- * @endpoint POST /v1/search/all
11
10
  * @endpoint POST /v1/search/natural/people
12
11
  * @usedBySchema PersonFilterSchema
13
12
  * @contractShape person.list-array-filter
@@ -8,10 +8,9 @@ import { IntRangeSchema } from "../int/range.js";
8
8
  *
9
9
  * @openapiSchema PersonListArrayFilter
10
10
  * @endpoint GET /v1/search/link
11
- * @endpoint POST /v1/people/natural-search
11
+ * @endpoint GET /v1/search/link/jobs/{jobId}
12
12
  * @endpoint POST /v1/people/search
13
13
  * @endpoint POST /v1/search
14
- * @endpoint POST /v1/search/all
15
14
  * @endpoint POST /v1/search/natural/people
16
15
  * @usedBySchema PersonFilterSchema
17
16
  * @contractShape person.list-array-filter
@@ -247,9 +247,8 @@ type PersonNaturalSearchResultDefinition = z.infer<typeof PersonNaturalSearchRes
247
247
  *
248
248
  * @openapiSchema PersonNaturalSearchResult
249
249
  * @endpoint GET /v1/search/link
250
- * @endpoint POST /v1/people/natural-search
250
+ * @endpoint GET /v1/search/link/jobs/{jobId}
251
251
  * @endpoint POST /v1/search
252
- * @endpoint POST /v1/search/all
253
252
  * @endpoint POST /v1/search/natural/people
254
253
  * @usedBySchema FederatedSearchSchema
255
254
  * @contractShape person.natural-search-result
@@ -13,9 +13,8 @@ const PersonNaturalSearchResultSchemaDefinition = z.object({
13
13
  *
14
14
  * @openapiSchema PersonNaturalSearchResult
15
15
  * @endpoint GET /v1/search/link
16
- * @endpoint POST /v1/people/natural-search
16
+ * @endpoint GET /v1/search/link/jobs/{jobId}
17
17
  * @endpoint POST /v1/search
18
- * @endpoint POST /v1/search/all
19
18
  * @endpoint POST /v1/search/natural/people
20
19
  * @usedBySchema FederatedSearchSchema
21
20
  * @contractShape person.natural-search-result