@aventurevc/api-schemas 0.8.46 → 0.8.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blog/post.js +1 -1
- package/dist/classification/classification.d.ts +1 -0
- package/dist/classification/classification.js +1 -0
- package/dist/entity/alias-type.d.ts +1 -0
- package/dist/entity/alias-type.js +1 -0
- package/dist/entity/brand.d.ts +501 -0
- package/dist/entity/brand.js +25 -0
- package/dist/entity/classification.d.ts +2 -0
- package/dist/entity/classification.js +2 -0
- package/dist/entity/entity.d.ts +2 -0
- package/dist/entity/entity.js +2 -0
- package/dist/entity/image.d.ts +1 -0
- package/dist/entity/image.js +1 -0
- package/dist/entity/name-alias-entity-alias-type.d.ts +1 -0
- package/dist/entity/name-alias-entity-alias-type.js +1 -0
- package/dist/entity/sitemap.d.ts +1 -0
- package/dist/entity/sitemap.js +1 -0
- package/dist/entity/tag.d.ts +1 -0
- package/dist/entity/tag.js +1 -0
- package/dist/entity/url-crawl-cdn-provider.d.ts +1 -0
- package/dist/entity/url-crawl-cdn-provider.js +1 -0
- package/dist/entity/url-crawl-render-mode.d.ts +1 -0
- package/dist/entity/url-crawl-render-mode.js +1 -0
- package/dist/entity/url-link.d.ts +2 -0
- package/dist/entity/url-link.js +2 -0
- package/dist/entity/url-type.d.ts +1 -0
- package/dist/entity/url-type.js +1 -0
- package/dist/identification/identification.d.ts +37 -0
- package/dist/identification/identification.js +4 -0
- package/dist/identification/subject.d.ts +4 -0
- package/dist/identification/subject.js +2 -0
- package/dist/lookup/job-mention.d.ts +37 -0
- package/dist/lookup/job.d.ts +46 -0
- package/dist/mention/lookup.d.ts +46 -0
- package/dist/openapi-component-manifest.js +1 -0
- package/dist/standardized/classification.d.ts +1 -0
- package/dist/standardized/classification.js +1 -0
- package/package.json +1 -1
package/dist/blog/post.js
CHANGED
|
@@ -25,7 +25,7 @@ const BlogPostSchemaDefinition = z.object({
|
|
|
25
25
|
/** Timestamp when summary was last generated */
|
|
26
26
|
summaryGeneratedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
27
27
|
title: z.string().nullish(),
|
|
28
|
-
/** Nullable Library topic key the
|
|
28
|
+
/** Nullable Library topic key the article classifier assigned: funding, product, partnership, acquisition, leadership, legal, research, financials, careers, blog, or press. Rows classified before that classifier may still carry a web-crawl section key. */
|
|
29
29
|
topic: z.string().nullish(),
|
|
30
30
|
type: BlogPostTypeSchema,
|
|
31
31
|
updatedAt: z.iso.datetime({ offset: true }),
|
|
@@ -10,6 +10,7 @@ type ClassificationDefinition = z.infer<typeof ClassificationSchemaDefinition>;
|
|
|
10
10
|
/**
|
|
11
11
|
* @openapiSchema Classification
|
|
12
12
|
* @endpoint GET /v1/entities
|
|
13
|
+
* @endpoint GET /v1/entities/brand
|
|
13
14
|
* @endpoint GET /v1/entities/classifications/catalog
|
|
14
15
|
* @endpoint GET /v1/entities/classifications/tags
|
|
15
16
|
* @endpoint GET /v1/entities/lookup-exact
|
|
@@ -11,6 +11,7 @@ const ClassificationSchemaDefinition = z.object({
|
|
|
11
11
|
/**
|
|
12
12
|
* @openapiSchema Classification
|
|
13
13
|
* @endpoint GET /v1/entities
|
|
14
|
+
* @endpoint GET /v1/entities/brand
|
|
14
15
|
* @endpoint GET /v1/entities/classifications/catalog
|
|
15
16
|
* @endpoint GET /v1/entities/classifications/tags
|
|
16
17
|
* @endpoint GET /v1/entities/lookup-exact
|
|
@@ -0,0 +1,501 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
3
|
+
classification: z.ZodType<{
|
|
4
|
+
geoLocationExposure?: ({
|
|
5
|
+
creatable: boolean;
|
|
6
|
+
isCurrent?: boolean | null | undefined;
|
|
7
|
+
isPrimary?: boolean | null | undefined;
|
|
8
|
+
name: string;
|
|
9
|
+
writable: boolean;
|
|
10
|
+
} & {
|
|
11
|
+
bucket?: string | null | undefined;
|
|
12
|
+
classificationId?: number | null | undefined;
|
|
13
|
+
creatable: boolean;
|
|
14
|
+
createdAt?: string | null | undefined;
|
|
15
|
+
id: number;
|
|
16
|
+
isCurrent?: boolean | null | undefined;
|
|
17
|
+
isPrimary?: boolean | null | undefined;
|
|
18
|
+
name: string;
|
|
19
|
+
slug?: string | null | undefined;
|
|
20
|
+
type: string;
|
|
21
|
+
updatedAt?: string | null | undefined;
|
|
22
|
+
writable: boolean;
|
|
23
|
+
})[] | undefined;
|
|
24
|
+
industry?: ({
|
|
25
|
+
creatable: boolean;
|
|
26
|
+
isCurrent?: boolean | null | undefined;
|
|
27
|
+
isPrimary?: boolean | null | undefined;
|
|
28
|
+
name: string;
|
|
29
|
+
writable: boolean;
|
|
30
|
+
} & {
|
|
31
|
+
bucket?: string | null | undefined;
|
|
32
|
+
classificationId?: number | null | undefined;
|
|
33
|
+
creatable: boolean;
|
|
34
|
+
createdAt?: string | null | undefined;
|
|
35
|
+
id: number;
|
|
36
|
+
isCurrent?: boolean | null | undefined;
|
|
37
|
+
isPrimary?: boolean | null | undefined;
|
|
38
|
+
name: string;
|
|
39
|
+
slug?: string | null | undefined;
|
|
40
|
+
type: string;
|
|
41
|
+
updatedAt?: string | null | undefined;
|
|
42
|
+
writable: boolean;
|
|
43
|
+
})[] | undefined;
|
|
44
|
+
mainProduct?: ({
|
|
45
|
+
creatable: boolean;
|
|
46
|
+
isCurrent?: boolean | null | undefined;
|
|
47
|
+
isPrimary?: boolean | null | undefined;
|
|
48
|
+
name: string;
|
|
49
|
+
writable: boolean;
|
|
50
|
+
} & {
|
|
51
|
+
bucket?: string | null | undefined;
|
|
52
|
+
classificationId?: number | null | undefined;
|
|
53
|
+
creatable: boolean;
|
|
54
|
+
createdAt?: string | null | undefined;
|
|
55
|
+
id: number;
|
|
56
|
+
isCurrent?: boolean | null | undefined;
|
|
57
|
+
isPrimary?: boolean | null | undefined;
|
|
58
|
+
name: string;
|
|
59
|
+
slug?: string | null | undefined;
|
|
60
|
+
type: string;
|
|
61
|
+
updatedAt?: string | null | undefined;
|
|
62
|
+
writable: boolean;
|
|
63
|
+
})[] | undefined;
|
|
64
|
+
standardizedClassification?: ({
|
|
65
|
+
creatable: boolean;
|
|
66
|
+
isCurrent?: boolean | null | undefined;
|
|
67
|
+
isPrimary?: boolean | null | undefined;
|
|
68
|
+
name: string;
|
|
69
|
+
writable: boolean;
|
|
70
|
+
} & {
|
|
71
|
+
category: string;
|
|
72
|
+
code?: number | null | undefined;
|
|
73
|
+
creatable: boolean;
|
|
74
|
+
createdAt?: string | null | undefined;
|
|
75
|
+
entityClassificationId?: number | null | undefined;
|
|
76
|
+
id: number;
|
|
77
|
+
isCurrent?: boolean | null | undefined;
|
|
78
|
+
isPrimary?: boolean | null | undefined;
|
|
79
|
+
level?: number | null | undefined;
|
|
80
|
+
name: string;
|
|
81
|
+
updatedAt?: string | null | undefined;
|
|
82
|
+
writable: boolean;
|
|
83
|
+
})[] | undefined;
|
|
84
|
+
tag?: ({
|
|
85
|
+
creatable: boolean;
|
|
86
|
+
isCurrent?: boolean | null | undefined;
|
|
87
|
+
isPrimary?: boolean | null | undefined;
|
|
88
|
+
name: string;
|
|
89
|
+
writable: boolean;
|
|
90
|
+
} & {
|
|
91
|
+
bucket?: string | null | undefined;
|
|
92
|
+
classificationId?: number | null | undefined;
|
|
93
|
+
creatable: boolean;
|
|
94
|
+
createdAt?: string | null | undefined;
|
|
95
|
+
id: number;
|
|
96
|
+
isCurrent?: boolean | null | undefined;
|
|
97
|
+
isPrimary?: boolean | null | undefined;
|
|
98
|
+
name: string;
|
|
99
|
+
slug?: string | null | undefined;
|
|
100
|
+
type: string;
|
|
101
|
+
updatedAt?: string | null | undefined;
|
|
102
|
+
writable: boolean;
|
|
103
|
+
})[] | undefined;
|
|
104
|
+
typeCustomer?: ({
|
|
105
|
+
creatable: boolean;
|
|
106
|
+
isCurrent?: boolean | null | undefined;
|
|
107
|
+
isPrimary?: boolean | null | undefined;
|
|
108
|
+
name: string;
|
|
109
|
+
writable: boolean;
|
|
110
|
+
} & {
|
|
111
|
+
bucket?: string | null | undefined;
|
|
112
|
+
classificationId?: number | null | undefined;
|
|
113
|
+
creatable: boolean;
|
|
114
|
+
createdAt?: string | null | undefined;
|
|
115
|
+
id: number;
|
|
116
|
+
isCurrent?: boolean | null | undefined;
|
|
117
|
+
isPrimary?: boolean | null | undefined;
|
|
118
|
+
name: string;
|
|
119
|
+
slug?: string | null | undefined;
|
|
120
|
+
type: string;
|
|
121
|
+
updatedAt?: string | null | undefined;
|
|
122
|
+
writable: boolean;
|
|
123
|
+
})[] | undefined;
|
|
124
|
+
typeModel?: ({
|
|
125
|
+
creatable: boolean;
|
|
126
|
+
isCurrent?: boolean | null | undefined;
|
|
127
|
+
isPrimary?: boolean | null | undefined;
|
|
128
|
+
name: string;
|
|
129
|
+
writable: boolean;
|
|
130
|
+
} & {
|
|
131
|
+
bucket?: string | null | undefined;
|
|
132
|
+
classificationId?: number | null | undefined;
|
|
133
|
+
creatable: boolean;
|
|
134
|
+
createdAt?: string | null | undefined;
|
|
135
|
+
id: number;
|
|
136
|
+
isCurrent?: boolean | null | undefined;
|
|
137
|
+
isPrimary?: boolean | null | undefined;
|
|
138
|
+
name: string;
|
|
139
|
+
slug?: string | null | undefined;
|
|
140
|
+
type: string;
|
|
141
|
+
updatedAt?: string | null | undefined;
|
|
142
|
+
writable: boolean;
|
|
143
|
+
})[] | undefined;
|
|
144
|
+
typeOwnership?: ({
|
|
145
|
+
creatable: boolean;
|
|
146
|
+
isCurrent?: boolean | null | undefined;
|
|
147
|
+
isPrimary?: boolean | null | undefined;
|
|
148
|
+
name: string;
|
|
149
|
+
writable: boolean;
|
|
150
|
+
} & {
|
|
151
|
+
bucket?: string | null | undefined;
|
|
152
|
+
classificationId?: number | null | undefined;
|
|
153
|
+
creatable: boolean;
|
|
154
|
+
createdAt?: string | null | undefined;
|
|
155
|
+
id: number;
|
|
156
|
+
isCurrent?: boolean | null | undefined;
|
|
157
|
+
isPrimary?: boolean | null | undefined;
|
|
158
|
+
name: string;
|
|
159
|
+
slug?: string | null | undefined;
|
|
160
|
+
type: string;
|
|
161
|
+
updatedAt?: string | null | undefined;
|
|
162
|
+
writable: boolean;
|
|
163
|
+
})[] | undefined;
|
|
164
|
+
typeRevenue?: ({
|
|
165
|
+
creatable: boolean;
|
|
166
|
+
isCurrent?: boolean | null | undefined;
|
|
167
|
+
isPrimary?: boolean | null | undefined;
|
|
168
|
+
name: string;
|
|
169
|
+
writable: boolean;
|
|
170
|
+
} & {
|
|
171
|
+
bucket?: string | null | undefined;
|
|
172
|
+
classificationId?: number | null | undefined;
|
|
173
|
+
creatable: boolean;
|
|
174
|
+
createdAt?: string | null | undefined;
|
|
175
|
+
id: number;
|
|
176
|
+
isCurrent?: boolean | null | undefined;
|
|
177
|
+
isPrimary?: boolean | null | undefined;
|
|
178
|
+
name: string;
|
|
179
|
+
slug?: string | null | undefined;
|
|
180
|
+
type: string;
|
|
181
|
+
updatedAt?: string | null | undefined;
|
|
182
|
+
writable: boolean;
|
|
183
|
+
})[] | undefined;
|
|
184
|
+
typeTechnologyUsed?: ({
|
|
185
|
+
creatable: boolean;
|
|
186
|
+
isCurrent?: boolean | null | undefined;
|
|
187
|
+
isPrimary?: boolean | null | undefined;
|
|
188
|
+
name: string;
|
|
189
|
+
writable: boolean;
|
|
190
|
+
} & {
|
|
191
|
+
bucket?: string | null | undefined;
|
|
192
|
+
classificationId?: number | null | undefined;
|
|
193
|
+
creatable: boolean;
|
|
194
|
+
createdAt?: string | null | undefined;
|
|
195
|
+
id: number;
|
|
196
|
+
isCurrent?: boolean | null | undefined;
|
|
197
|
+
isPrimary?: boolean | null | undefined;
|
|
198
|
+
name: string;
|
|
199
|
+
slug?: string | null | undefined;
|
|
200
|
+
type: string;
|
|
201
|
+
updatedAt?: string | null | undefined;
|
|
202
|
+
writable: boolean;
|
|
203
|
+
})[] | undefined;
|
|
204
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
205
|
+
geoLocationExposure?: ({
|
|
206
|
+
creatable: boolean;
|
|
207
|
+
isCurrent?: boolean | null | undefined;
|
|
208
|
+
isPrimary?: boolean | null | undefined;
|
|
209
|
+
name: string;
|
|
210
|
+
writable: boolean;
|
|
211
|
+
} & {
|
|
212
|
+
bucket?: string | null | undefined;
|
|
213
|
+
classificationId?: number | null | undefined;
|
|
214
|
+
creatable: boolean;
|
|
215
|
+
createdAt?: string | null | undefined;
|
|
216
|
+
id: number;
|
|
217
|
+
isCurrent?: boolean | null | undefined;
|
|
218
|
+
isPrimary?: boolean | null | undefined;
|
|
219
|
+
name: string;
|
|
220
|
+
slug?: string | null | undefined;
|
|
221
|
+
type: string;
|
|
222
|
+
updatedAt?: string | null | undefined;
|
|
223
|
+
writable: boolean;
|
|
224
|
+
})[] | undefined;
|
|
225
|
+
industry?: ({
|
|
226
|
+
creatable: boolean;
|
|
227
|
+
isCurrent?: boolean | null | undefined;
|
|
228
|
+
isPrimary?: boolean | null | undefined;
|
|
229
|
+
name: string;
|
|
230
|
+
writable: boolean;
|
|
231
|
+
} & {
|
|
232
|
+
bucket?: string | null | undefined;
|
|
233
|
+
classificationId?: number | null | undefined;
|
|
234
|
+
creatable: boolean;
|
|
235
|
+
createdAt?: string | null | undefined;
|
|
236
|
+
id: number;
|
|
237
|
+
isCurrent?: boolean | null | undefined;
|
|
238
|
+
isPrimary?: boolean | null | undefined;
|
|
239
|
+
name: string;
|
|
240
|
+
slug?: string | null | undefined;
|
|
241
|
+
type: string;
|
|
242
|
+
updatedAt?: string | null | undefined;
|
|
243
|
+
writable: boolean;
|
|
244
|
+
})[] | undefined;
|
|
245
|
+
mainProduct?: ({
|
|
246
|
+
creatable: boolean;
|
|
247
|
+
isCurrent?: boolean | null | undefined;
|
|
248
|
+
isPrimary?: boolean | null | undefined;
|
|
249
|
+
name: string;
|
|
250
|
+
writable: boolean;
|
|
251
|
+
} & {
|
|
252
|
+
bucket?: string | null | undefined;
|
|
253
|
+
classificationId?: number | null | undefined;
|
|
254
|
+
creatable: boolean;
|
|
255
|
+
createdAt?: string | null | undefined;
|
|
256
|
+
id: number;
|
|
257
|
+
isCurrent?: boolean | null | undefined;
|
|
258
|
+
isPrimary?: boolean | null | undefined;
|
|
259
|
+
name: string;
|
|
260
|
+
slug?: string | null | undefined;
|
|
261
|
+
type: string;
|
|
262
|
+
updatedAt?: string | null | undefined;
|
|
263
|
+
writable: boolean;
|
|
264
|
+
})[] | undefined;
|
|
265
|
+
standardizedClassification?: ({
|
|
266
|
+
creatable: boolean;
|
|
267
|
+
isCurrent?: boolean | null | undefined;
|
|
268
|
+
isPrimary?: boolean | null | undefined;
|
|
269
|
+
name: string;
|
|
270
|
+
writable: boolean;
|
|
271
|
+
} & {
|
|
272
|
+
category: string;
|
|
273
|
+
code?: number | null | undefined;
|
|
274
|
+
creatable: boolean;
|
|
275
|
+
createdAt?: string | null | undefined;
|
|
276
|
+
entityClassificationId?: number | null | undefined;
|
|
277
|
+
id: number;
|
|
278
|
+
isCurrent?: boolean | null | undefined;
|
|
279
|
+
isPrimary?: boolean | null | undefined;
|
|
280
|
+
level?: number | null | undefined;
|
|
281
|
+
name: string;
|
|
282
|
+
updatedAt?: string | null | undefined;
|
|
283
|
+
writable: boolean;
|
|
284
|
+
})[] | undefined;
|
|
285
|
+
tag?: ({
|
|
286
|
+
creatable: boolean;
|
|
287
|
+
isCurrent?: boolean | null | undefined;
|
|
288
|
+
isPrimary?: boolean | null | undefined;
|
|
289
|
+
name: string;
|
|
290
|
+
writable: boolean;
|
|
291
|
+
} & {
|
|
292
|
+
bucket?: string | null | undefined;
|
|
293
|
+
classificationId?: number | null | undefined;
|
|
294
|
+
creatable: boolean;
|
|
295
|
+
createdAt?: string | null | undefined;
|
|
296
|
+
id: number;
|
|
297
|
+
isCurrent?: boolean | null | undefined;
|
|
298
|
+
isPrimary?: boolean | null | undefined;
|
|
299
|
+
name: string;
|
|
300
|
+
slug?: string | null | undefined;
|
|
301
|
+
type: string;
|
|
302
|
+
updatedAt?: string | null | undefined;
|
|
303
|
+
writable: boolean;
|
|
304
|
+
})[] | undefined;
|
|
305
|
+
typeCustomer?: ({
|
|
306
|
+
creatable: boolean;
|
|
307
|
+
isCurrent?: boolean | null | undefined;
|
|
308
|
+
isPrimary?: boolean | null | undefined;
|
|
309
|
+
name: string;
|
|
310
|
+
writable: boolean;
|
|
311
|
+
} & {
|
|
312
|
+
bucket?: string | null | undefined;
|
|
313
|
+
classificationId?: number | null | undefined;
|
|
314
|
+
creatable: boolean;
|
|
315
|
+
createdAt?: string | null | undefined;
|
|
316
|
+
id: number;
|
|
317
|
+
isCurrent?: boolean | null | undefined;
|
|
318
|
+
isPrimary?: boolean | null | undefined;
|
|
319
|
+
name: string;
|
|
320
|
+
slug?: string | null | undefined;
|
|
321
|
+
type: string;
|
|
322
|
+
updatedAt?: string | null | undefined;
|
|
323
|
+
writable: boolean;
|
|
324
|
+
})[] | undefined;
|
|
325
|
+
typeModel?: ({
|
|
326
|
+
creatable: boolean;
|
|
327
|
+
isCurrent?: boolean | null | undefined;
|
|
328
|
+
isPrimary?: boolean | null | undefined;
|
|
329
|
+
name: string;
|
|
330
|
+
writable: boolean;
|
|
331
|
+
} & {
|
|
332
|
+
bucket?: string | null | undefined;
|
|
333
|
+
classificationId?: number | null | undefined;
|
|
334
|
+
creatable: boolean;
|
|
335
|
+
createdAt?: string | null | undefined;
|
|
336
|
+
id: number;
|
|
337
|
+
isCurrent?: boolean | null | undefined;
|
|
338
|
+
isPrimary?: boolean | null | undefined;
|
|
339
|
+
name: string;
|
|
340
|
+
slug?: string | null | undefined;
|
|
341
|
+
type: string;
|
|
342
|
+
updatedAt?: string | null | undefined;
|
|
343
|
+
writable: boolean;
|
|
344
|
+
})[] | undefined;
|
|
345
|
+
typeOwnership?: ({
|
|
346
|
+
creatable: boolean;
|
|
347
|
+
isCurrent?: boolean | null | undefined;
|
|
348
|
+
isPrimary?: boolean | null | undefined;
|
|
349
|
+
name: string;
|
|
350
|
+
writable: boolean;
|
|
351
|
+
} & {
|
|
352
|
+
bucket?: string | null | undefined;
|
|
353
|
+
classificationId?: number | null | undefined;
|
|
354
|
+
creatable: boolean;
|
|
355
|
+
createdAt?: string | null | undefined;
|
|
356
|
+
id: number;
|
|
357
|
+
isCurrent?: boolean | null | undefined;
|
|
358
|
+
isPrimary?: boolean | null | undefined;
|
|
359
|
+
name: string;
|
|
360
|
+
slug?: string | null | undefined;
|
|
361
|
+
type: string;
|
|
362
|
+
updatedAt?: string | null | undefined;
|
|
363
|
+
writable: boolean;
|
|
364
|
+
})[] | undefined;
|
|
365
|
+
typeRevenue?: ({
|
|
366
|
+
creatable: boolean;
|
|
367
|
+
isCurrent?: boolean | null | undefined;
|
|
368
|
+
isPrimary?: boolean | null | undefined;
|
|
369
|
+
name: string;
|
|
370
|
+
writable: boolean;
|
|
371
|
+
} & {
|
|
372
|
+
bucket?: string | null | undefined;
|
|
373
|
+
classificationId?: number | null | undefined;
|
|
374
|
+
creatable: boolean;
|
|
375
|
+
createdAt?: string | null | undefined;
|
|
376
|
+
id: number;
|
|
377
|
+
isCurrent?: boolean | null | undefined;
|
|
378
|
+
isPrimary?: boolean | null | undefined;
|
|
379
|
+
name: string;
|
|
380
|
+
slug?: string | null | undefined;
|
|
381
|
+
type: string;
|
|
382
|
+
updatedAt?: string | null | undefined;
|
|
383
|
+
writable: boolean;
|
|
384
|
+
})[] | undefined;
|
|
385
|
+
typeTechnologyUsed?: ({
|
|
386
|
+
creatable: boolean;
|
|
387
|
+
isCurrent?: boolean | null | undefined;
|
|
388
|
+
isPrimary?: boolean | null | undefined;
|
|
389
|
+
name: string;
|
|
390
|
+
writable: boolean;
|
|
391
|
+
} & {
|
|
392
|
+
bucket?: string | null | undefined;
|
|
393
|
+
classificationId?: number | null | undefined;
|
|
394
|
+
creatable: boolean;
|
|
395
|
+
createdAt?: string | null | undefined;
|
|
396
|
+
id: number;
|
|
397
|
+
isCurrent?: boolean | null | undefined;
|
|
398
|
+
isPrimary?: boolean | null | undefined;
|
|
399
|
+
name: string;
|
|
400
|
+
slug?: string | null | undefined;
|
|
401
|
+
type: string;
|
|
402
|
+
updatedAt?: string | null | undefined;
|
|
403
|
+
writable: boolean;
|
|
404
|
+
})[] | undefined;
|
|
405
|
+
}, unknown>>;
|
|
406
|
+
core: z.ZodObject<{
|
|
407
|
+
defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
408
|
+
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
409
|
+
id: z.ZodUUID;
|
|
410
|
+
image: z.ZodObject<{
|
|
411
|
+
isMonogram: z.ZodBoolean;
|
|
412
|
+
logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
413
|
+
logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
414
|
+
}, z.core.$strip>;
|
|
415
|
+
lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
416
|
+
nameAlias: z.ZodArray<z.ZodType<{
|
|
417
|
+
displayable?: boolean | null | undefined;
|
|
418
|
+
name: string;
|
|
419
|
+
type?: "alternativeDba" | "relatedLegal" | null | undefined;
|
|
420
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
421
|
+
displayable?: boolean | null | undefined;
|
|
422
|
+
name: string;
|
|
423
|
+
type?: "alternativeDba" | "relatedLegal" | null | undefined;
|
|
424
|
+
}, unknown>>>;
|
|
425
|
+
nameBrand: z.ZodString;
|
|
426
|
+
nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
427
|
+
operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
428
|
+
publicId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
429
|
+
publicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
430
|
+
sitemap: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
431
|
+
hasAcquisitions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
432
|
+
hasAnalysis: z.ZodBoolean;
|
|
433
|
+
hasEmployees: z.ZodBoolean;
|
|
434
|
+
hasFundraising: z.ZodBoolean;
|
|
435
|
+
hasNews: z.ZodBoolean;
|
|
436
|
+
productServiceSlug: z.ZodArray<z.ZodString>;
|
|
437
|
+
}, z.core.$strip>>>;
|
|
438
|
+
slug: z.ZodString;
|
|
439
|
+
typeRecord: z.ZodEnum<{
|
|
440
|
+
"Business Line": "Business Line";
|
|
441
|
+
Company: "Company";
|
|
442
|
+
Fund: "Fund";
|
|
443
|
+
Government: "Government";
|
|
444
|
+
"Investment Firm": "Investment Firm";
|
|
445
|
+
Nonprofit: "Nonprofit";
|
|
446
|
+
Organization: "Organization";
|
|
447
|
+
Product: "Product";
|
|
448
|
+
Service: "Service";
|
|
449
|
+
}>;
|
|
450
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
451
|
+
}, z.core.$strip>;
|
|
452
|
+
publicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
453
|
+
urlLink: z.ZodArray<z.ZodType<{
|
|
454
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
455
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
456
|
+
createdAt?: string | null | undefined;
|
|
457
|
+
id?: number | null | undefined;
|
|
458
|
+
isCurrent?: boolean | null | undefined;
|
|
459
|
+
isPrimary?: boolean | null | undefined;
|
|
460
|
+
owner?: {
|
|
461
|
+
entityId?: string | null | undefined;
|
|
462
|
+
personId?: string | null | undefined;
|
|
463
|
+
} | null | undefined;
|
|
464
|
+
sourceId?: string | null | undefined;
|
|
465
|
+
status?: string | null | undefined;
|
|
466
|
+
statusChecked?: string | null | undefined;
|
|
467
|
+
updatedAt?: string | null | undefined;
|
|
468
|
+
url: string;
|
|
469
|
+
urlType: "alternativeto" | "angellist" | "appstore" | "awsmarketplace" | "bloomberg" | "capterra" | "changelog" | "chromewebstore" | "crates" | "crunchbase" | "discord" | "dockerhub" | "documentation" | "facebook" | "forum" | "g2" | "gartnerpeerinsights" | "getapp" | "github" | "glassdoor" | "googleplay" | "homebrew" | "hubspotmarketplace" | "huggingface" | "instagram" | "linkedin" | "maven" | "morningstar" | "nasdaq" | "npm" | "nyse" | "pitchbook" | "producthunt" | "pypi" | "roadmap" | "salesforceappexchange" | "slackappdirectory" | "sourceforge" | "statuspage" | "subreddit" | "support" | "theorg" | "tiktok" | "trustpilot" | "trustradius" | "twitter" | "vscodemarketplace" | "website" | "wellfound" | "wikipedia" | "ycombinator" | "youtube";
|
|
470
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
471
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
472
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
473
|
+
createdAt?: string | null | undefined;
|
|
474
|
+
id?: number | null | undefined;
|
|
475
|
+
isCurrent?: boolean | null | undefined;
|
|
476
|
+
isPrimary?: boolean | null | undefined;
|
|
477
|
+
owner?: {
|
|
478
|
+
entityId?: string | null | undefined;
|
|
479
|
+
personId?: string | null | undefined;
|
|
480
|
+
} | null | undefined;
|
|
481
|
+
sourceId?: string | null | undefined;
|
|
482
|
+
status?: string | null | undefined;
|
|
483
|
+
statusChecked?: string | null | undefined;
|
|
484
|
+
updatedAt?: string | null | undefined;
|
|
485
|
+
url: string;
|
|
486
|
+
urlType: "alternativeto" | "angellist" | "appstore" | "awsmarketplace" | "bloomberg" | "capterra" | "changelog" | "chromewebstore" | "crates" | "crunchbase" | "discord" | "dockerhub" | "documentation" | "facebook" | "forum" | "g2" | "gartnerpeerinsights" | "getapp" | "github" | "glassdoor" | "googleplay" | "homebrew" | "hubspotmarketplace" | "huggingface" | "instagram" | "linkedin" | "maven" | "morningstar" | "nasdaq" | "npm" | "nyse" | "pitchbook" | "producthunt" | "pypi" | "roadmap" | "salesforceappexchange" | "slackappdirectory" | "sourceforge" | "statuspage" | "subreddit" | "support" | "theorg" | "tiktok" | "trustpilot" | "trustradius" | "twitter" | "vscodemarketplace" | "website" | "wellfound" | "wikipedia" | "ycombinator" | "youtube";
|
|
487
|
+
}, unknown>>>;
|
|
488
|
+
}, z.core.$strip>;
|
|
489
|
+
type EntityBrandDefinition = z.infer<typeof EntityBrandSchemaDefinition>;
|
|
490
|
+
/**
|
|
491
|
+
* Thin company brand read: names and logos under core, current website and social URLs, and current classification tags.
|
|
492
|
+
*
|
|
493
|
+
* @openapiSchema EntityBrand
|
|
494
|
+
* @endpoint GET /v1/entities/brand
|
|
495
|
+
* @contractShape entity.brand
|
|
496
|
+
* @contractRole canonical
|
|
497
|
+
*/
|
|
498
|
+
export declare const EntityBrandSchema: z.ZodType<EntityBrandDefinition>;
|
|
499
|
+
export type EntityBrand = z.infer<typeof EntityBrandSchema>;
|
|
500
|
+
export {};
|
|
501
|
+
//# sourceMappingURL=brand.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { EntityClassificationSchema } from "./classification.js";
|
|
4
|
+
import { EntitySchema } from "./entity.js";
|
|
5
|
+
import { EntityUrlLinkSchema } from "./url-link.js";
|
|
6
|
+
const EntityBrandSchemaDefinition = z.object({
|
|
7
|
+
/** Current classification tags, industries, and standardized classifications. */
|
|
8
|
+
classification: EntityClassificationSchema,
|
|
9
|
+
/** Core identity: id, slug, nameBrand, nameLegal, nameAlias, type, status, and image (logo, logoSquare, isMonogram). */
|
|
10
|
+
core: EntitySchema,
|
|
11
|
+
/** Absolute canonical aVenture page URL, when the entity has one. */
|
|
12
|
+
publicUrl: z.string().nullish(),
|
|
13
|
+
/** Current URL links: websites first, the primary one leading, then social and other profiles. */
|
|
14
|
+
urlLink: z.array(EntityUrlLinkSchema),
|
|
15
|
+
});
|
|
16
|
+
/**
|
|
17
|
+
* Thin company brand read: names and logos under core, current website and social URLs, and current classification tags.
|
|
18
|
+
*
|
|
19
|
+
* @openapiSchema EntityBrand
|
|
20
|
+
* @endpoint GET /v1/entities/brand
|
|
21
|
+
* @contractShape entity.brand
|
|
22
|
+
* @contractRole canonical
|
|
23
|
+
*/
|
|
24
|
+
export const EntityBrandSchema = EntityBrandSchemaDefinition;
|
|
25
|
+
//# sourceMappingURL=brand.js.map
|
|
@@ -397,6 +397,7 @@ type EntityClassificationDefinition = z.infer<typeof EntityClassificationSchemaD
|
|
|
397
397
|
*
|
|
398
398
|
* @openapiSchema EntityClassification
|
|
399
399
|
* @endpoint GET /v1/entities
|
|
400
|
+
* @endpoint GET /v1/entities/brand
|
|
400
401
|
* @endpoint GET /v1/entities/lookup-exact
|
|
401
402
|
* @endpoint GET /v1/search/link
|
|
402
403
|
* @endpoint GET /v1/entities/{entityId}
|
|
@@ -412,6 +413,7 @@ type EntityClassificationDefinition = z.infer<typeof EntityClassificationSchemaD
|
|
|
412
413
|
* @endpoint POST /v1/search
|
|
413
414
|
* @endpoint POST /v1/search/all
|
|
414
415
|
* @endpoint POST /v1/search/natural/entities
|
|
416
|
+
* @usedBySchema EntityBrandSchema
|
|
415
417
|
* @usedBySchema EntityEnrichmentSchema
|
|
416
418
|
* @contractShape entity.classification
|
|
417
419
|
* @contractRole canonical
|
|
@@ -29,6 +29,7 @@ const EntityClassificationSchemaDefinition = z.object({
|
|
|
29
29
|
*
|
|
30
30
|
* @openapiSchema EntityClassification
|
|
31
31
|
* @endpoint GET /v1/entities
|
|
32
|
+
* @endpoint GET /v1/entities/brand
|
|
32
33
|
* @endpoint GET /v1/entities/lookup-exact
|
|
33
34
|
* @endpoint GET /v1/search/link
|
|
34
35
|
* @endpoint GET /v1/entities/{entityId}
|
|
@@ -44,6 +45,7 @@ const EntityClassificationSchemaDefinition = z.object({
|
|
|
44
45
|
* @endpoint POST /v1/search
|
|
45
46
|
* @endpoint POST /v1/search/all
|
|
46
47
|
* @endpoint POST /v1/search/natural/entities
|
|
48
|
+
* @usedBySchema EntityBrandSchema
|
|
47
49
|
* @usedBySchema EntityEnrichmentSchema
|
|
48
50
|
* @contractShape entity.classification
|
|
49
51
|
* @contractRole canonical
|
package/dist/entity/entity.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { z } from "zod/v4";
|
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema Entity
|
|
6
6
|
* @endpoint GET /v1/entities
|
|
7
|
+
* @endpoint GET /v1/entities/brand
|
|
7
8
|
* @endpoint GET /v1/entities/lookup-exact
|
|
8
9
|
* @endpoint GET /v1/people/lookup-exact
|
|
9
10
|
* @endpoint GET /v1/search/link
|
|
@@ -37,6 +38,7 @@ import { z } from "zod/v4";
|
|
|
37
38
|
* @endpoint POST /v1/search/natural/entities
|
|
38
39
|
* @usedBySchema EntityAcceleratorParticipationSchema
|
|
39
40
|
* @usedBySchema EntityAcquisitionSchema
|
|
41
|
+
* @usedBySchema EntityBrandSchema
|
|
40
42
|
* @usedBySchema EntityDetailSchema
|
|
41
43
|
* @usedBySchema EntityFundraiseTransactionEntitySchema
|
|
42
44
|
* @usedBySchema EntityListSchema
|
package/dist/entity/entity.js
CHANGED
|
@@ -9,6 +9,7 @@ import { EntityTypeSchema } from "./type.js";
|
|
|
9
9
|
*
|
|
10
10
|
* @openapiSchema Entity
|
|
11
11
|
* @endpoint GET /v1/entities
|
|
12
|
+
* @endpoint GET /v1/entities/brand
|
|
12
13
|
* @endpoint GET /v1/entities/lookup-exact
|
|
13
14
|
* @endpoint GET /v1/people/lookup-exact
|
|
14
15
|
* @endpoint GET /v1/search/link
|
|
@@ -42,6 +43,7 @@ import { EntityTypeSchema } from "./type.js";
|
|
|
42
43
|
* @endpoint POST /v1/search/natural/entities
|
|
43
44
|
* @usedBySchema EntityAcceleratorParticipationSchema
|
|
44
45
|
* @usedBySchema EntityAcquisitionSchema
|
|
46
|
+
* @usedBySchema EntityBrandSchema
|
|
45
47
|
* @usedBySchema EntityDetailSchema
|
|
46
48
|
* @usedBySchema EntityFundraiseTransactionEntitySchema
|
|
47
49
|
* @usedBySchema EntityListSchema
|
package/dist/entity/image.d.ts
CHANGED
package/dist/entity/image.js
CHANGED
|
@@ -13,6 +13,7 @@ type EntityNameAliasEntityAliasTypeDefinition = z.infer<typeof EntityNameAliasEn
|
|
|
13
13
|
*
|
|
14
14
|
* @openapiSchema EntityNameAliasEntityAliasType
|
|
15
15
|
* @endpoint GET /v1/entities
|
|
16
|
+
* @endpoint GET /v1/entities/brand
|
|
16
17
|
* @endpoint GET /v1/entities/lookup-exact
|
|
17
18
|
* @endpoint GET /v1/people/lookup-exact
|
|
18
19
|
* @endpoint GET /v1/search/link
|
|
@@ -14,6 +14,7 @@ const EntityNameAliasEntityAliasTypeSchemaDefinition = z.object({
|
|
|
14
14
|
*
|
|
15
15
|
* @openapiSchema EntityNameAliasEntityAliasType
|
|
16
16
|
* @endpoint GET /v1/entities
|
|
17
|
+
* @endpoint GET /v1/entities/brand
|
|
17
18
|
* @endpoint GET /v1/entities/lookup-exact
|
|
18
19
|
* @endpoint GET /v1/people/lookup-exact
|
|
19
20
|
* @endpoint GET /v1/search/link
|
package/dist/entity/sitemap.d.ts
CHANGED
package/dist/entity/sitemap.js
CHANGED
package/dist/entity/tag.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ type EntityTagDefinition = z.infer<typeof EntityTagSchemaDefinition>;
|
|
|
31
31
|
*
|
|
32
32
|
* @openapiSchema EntityTag
|
|
33
33
|
* @endpoint GET /v1/entities
|
|
34
|
+
* @endpoint GET /v1/entities/brand
|
|
34
35
|
* @endpoint GET /v1/entities/classifications/catalog
|
|
35
36
|
* @endpoint GET /v1/entities/classifications/tags
|
|
36
37
|
* @endpoint GET /v1/entities/lookup-exact
|
package/dist/entity/tag.js
CHANGED
|
@@ -36,6 +36,7 @@ const EntityTagSchemaDefinition = z.intersection(ClassificationSchema, z.object(
|
|
|
36
36
|
*
|
|
37
37
|
* @openapiSchema EntityTag
|
|
38
38
|
* @endpoint GET /v1/entities
|
|
39
|
+
* @endpoint GET /v1/entities/brand
|
|
39
40
|
* @endpoint GET /v1/entities/classifications/catalog
|
|
40
41
|
* @endpoint GET /v1/entities/classifications/tags
|
|
41
42
|
* @endpoint GET /v1/entities/lookup-exact
|
|
@@ -101,6 +101,7 @@ type EntityUrlLinkDefinition = z.infer<typeof EntityUrlLinkSchemaDefinition>;
|
|
|
101
101
|
*
|
|
102
102
|
* @openapiSchema EntityUrlLink
|
|
103
103
|
* @endpoint GET /v1/entities
|
|
104
|
+
* @endpoint GET /v1/entities/brand
|
|
104
105
|
* @endpoint GET /v1/entities/lookup-exact
|
|
105
106
|
* @endpoint GET /v1/people/lookup-exact
|
|
106
107
|
* @endpoint GET /v1/search/link
|
|
@@ -129,6 +130,7 @@ type EntityUrlLinkDefinition = z.infer<typeof EntityUrlLinkSchemaDefinition>;
|
|
|
129
130
|
* @endpoint POST /v1/search
|
|
130
131
|
* @endpoint POST /v1/search/all
|
|
131
132
|
* @endpoint POST /v1/search/natural/entities
|
|
133
|
+
* @usedBySchema EntityBrandSchema
|
|
132
134
|
* @usedBySchema EntityEnrichmentSchema
|
|
133
135
|
* @usedBySchema EntityPersonAssociationSchema
|
|
134
136
|
* @usedBySchema EntitySimilaritySummarySchema
|
package/dist/entity/url-link.js
CHANGED
|
@@ -28,6 +28,7 @@ const EntityUrlLinkSchemaDefinition = z.object({
|
|
|
28
28
|
*
|
|
29
29
|
* @openapiSchema EntityUrlLink
|
|
30
30
|
* @endpoint GET /v1/entities
|
|
31
|
+
* @endpoint GET /v1/entities/brand
|
|
31
32
|
* @endpoint GET /v1/entities/lookup-exact
|
|
32
33
|
* @endpoint GET /v1/people/lookup-exact
|
|
33
34
|
* @endpoint GET /v1/search/link
|
|
@@ -56,6 +57,7 @@ const EntityUrlLinkSchemaDefinition = z.object({
|
|
|
56
57
|
* @endpoint POST /v1/search
|
|
57
58
|
* @endpoint POST /v1/search/all
|
|
58
59
|
* @endpoint POST /v1/search/natural/entities
|
|
60
|
+
* @usedBySchema EntityBrandSchema
|
|
59
61
|
* @usedBySchema EntityEnrichmentSchema
|
|
60
62
|
* @usedBySchema EntityPersonAssociationSchema
|
|
61
63
|
* @usedBySchema EntitySimilaritySummarySchema
|
package/dist/entity/url-type.js
CHANGED
|
@@ -50,6 +50,42 @@ export declare const IdentificationSchema: z.ZodObject<{
|
|
|
50
50
|
}, unknown>>;
|
|
51
51
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
52
52
|
}, z.core.$strip>>;
|
|
53
|
+
created: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
54
|
+
dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
55
|
+
duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
56
|
+
JUDGED: "JUDGED";
|
|
57
|
+
SHARED_FACT: "SHARED_FACT";
|
|
58
|
+
STUB: "STUB";
|
|
59
|
+
}>>>;
|
|
60
|
+
duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
61
|
+
owner: z.ZodObject<{
|
|
62
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
63
|
+
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
64
|
+
}, z.core.$strip>;
|
|
65
|
+
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
66
|
+
record: z.ZodType<{
|
|
67
|
+
externalId?: string | null | undefined;
|
|
68
|
+
id: string;
|
|
69
|
+
name?: string | null | undefined;
|
|
70
|
+
operatingStatus?: string | null | undefined;
|
|
71
|
+
publicPath?: string | null | undefined;
|
|
72
|
+
reason: string[];
|
|
73
|
+
score: number;
|
|
74
|
+
slug?: string | null | undefined;
|
|
75
|
+
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
76
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
77
|
+
externalId?: string | null | undefined;
|
|
78
|
+
id: string;
|
|
79
|
+
name?: string | null | undefined;
|
|
80
|
+
operatingStatus?: string | null | undefined;
|
|
81
|
+
publicPath?: string | null | undefined;
|
|
82
|
+
reason: string[];
|
|
83
|
+
score: number;
|
|
84
|
+
slug?: string | null | undefined;
|
|
85
|
+
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
86
|
+
}, unknown>>;
|
|
87
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
88
|
+
}, z.core.$strip>>>;
|
|
53
89
|
detail: z.ZodString;
|
|
54
90
|
duplicate: z.ZodArray<z.ZodObject<{
|
|
55
91
|
dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -87,6 +123,7 @@ export declare const IdentificationSchema: z.ZodObject<{
|
|
|
87
123
|
}, unknown>>;
|
|
88
124
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
89
125
|
}, z.core.$strip>>;
|
|
126
|
+
enrichmentRunId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
90
127
|
match: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
91
128
|
dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
92
129
|
duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -18,10 +18,14 @@ import { IdentificationCandidateSchema } from "./candidate.js";
|
|
|
18
18
|
export const IdentificationSchema = z.object({
|
|
19
19
|
/** Records considered, most probable first. */
|
|
20
20
|
candidate: z.array(IdentificationCandidateSchema),
|
|
21
|
+
/** With fileOnMiss=true, the hidden record this NO_MATCH filed (or already held its own site): it is now stored, so do not create it. Absent otherwise. */
|
|
22
|
+
created: IdentificationCandidateSchema.nullish(),
|
|
21
23
|
/** One sentence naming what settled the answer or what the user must decide. */
|
|
22
24
|
detail: z.string(),
|
|
23
25
|
/** Other stored records judged to be this same subject stored again: likely duplicate records to merge into match. Empty when none were found. */
|
|
24
26
|
duplicate: z.array(IdentificationCandidateSchema),
|
|
27
|
+
/** The background run filed to research created; absent without created, and when the record is already public. */
|
|
28
|
+
enrichmentRunId: z.uuid().nullish(),
|
|
25
29
|
/** The matched record when status is MATCHED. */
|
|
26
30
|
match: IdentificationCandidateSchema.nullish(),
|
|
27
31
|
/** Decision-model confidence, 0 to 1, in its pick: the candidate it named as the subject, or, when it picked none, that no candidate is. Present whenever a judgment ran, including a none pick; absent when no judgment ran. The kind-agnostic lookup reports the side whose answer it returns. */
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const IdentificationSubjectSchemaDefinition: z.ZodObject<{
|
|
3
3
|
context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
|
+
kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5
|
+
ENTITY: "ENTITY";
|
|
6
|
+
PERSON: "PERSON";
|
|
7
|
+
}>>>;
|
|
4
8
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
9
|
name: z.ZodString;
|
|
6
10
|
providerId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -4,6 +4,8 @@ import { EntityTypeSchema } from "../entity/type.js";
|
|
|
4
4
|
const IdentificationSubjectSchemaDefinition = z.object({
|
|
5
5
|
/** Specific facts in plain words: product, industry, employer and title, or founder names. Generic words like startup add nothing. */
|
|
6
6
|
context: z.string().max(2000).nullish(),
|
|
7
|
+
/** Kind of record to identify when you know it; the kind-agnostic POST /v1/lookup then runs only that kind's ladder. typeRecord or providerId implies ENTITY. */
|
|
8
|
+
kind: z.enum(["ENTITY", "PERSON"]).nullish(),
|
|
7
9
|
/** City, region, or country, such as Austin, TX. Tells namesakes apart; not proof on its own. */
|
|
8
10
|
location: z.string().max(2000).nullish(),
|
|
9
11
|
/** Name exactly as the source writes it, such as Acme AI or Jane Doe. Required even when url is sent; to read a record from only a URL (an aVenture page, website, or domain) use the exact read instead: entities lookup-exact get --url, or people lookup-exact get --url for a person. */
|
|
@@ -988,6 +988,42 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
|
|
|
988
988
|
}, unknown>>;
|
|
989
989
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
990
990
|
}, z.core.$strip>>;
|
|
991
|
+
created: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
992
|
+
dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
993
|
+
duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
994
|
+
JUDGED: "JUDGED";
|
|
995
|
+
SHARED_FACT: "SHARED_FACT";
|
|
996
|
+
STUB: "STUB";
|
|
997
|
+
}>>>;
|
|
998
|
+
duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
999
|
+
owner: z.ZodObject<{
|
|
1000
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
1001
|
+
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
1002
|
+
}, z.core.$strip>;
|
|
1003
|
+
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1004
|
+
record: z.ZodType<{
|
|
1005
|
+
externalId?: string | null | undefined;
|
|
1006
|
+
id: string;
|
|
1007
|
+
name?: string | null | undefined;
|
|
1008
|
+
operatingStatus?: string | null | undefined;
|
|
1009
|
+
publicPath?: string | null | undefined;
|
|
1010
|
+
reason: string[];
|
|
1011
|
+
score: number;
|
|
1012
|
+
slug?: string | null | undefined;
|
|
1013
|
+
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
1014
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
1015
|
+
externalId?: string | null | undefined;
|
|
1016
|
+
id: string;
|
|
1017
|
+
name?: string | null | undefined;
|
|
1018
|
+
operatingStatus?: string | null | undefined;
|
|
1019
|
+
publicPath?: string | null | undefined;
|
|
1020
|
+
reason: string[];
|
|
1021
|
+
score: number;
|
|
1022
|
+
slug?: string | null | undefined;
|
|
1023
|
+
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
1024
|
+
}, unknown>>;
|
|
1025
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1026
|
+
}, z.core.$strip>>>;
|
|
991
1027
|
detail: z.ZodString;
|
|
992
1028
|
duplicate: z.ZodArray<z.ZodObject<{
|
|
993
1029
|
dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -1025,6 +1061,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
|
|
|
1025
1061
|
}, unknown>>;
|
|
1026
1062
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1027
1063
|
}, z.core.$strip>>;
|
|
1064
|
+
enrichmentRunId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
1028
1065
|
match: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1029
1066
|
dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1030
1067
|
duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
package/dist/lookup/job.d.ts
CHANGED
|
@@ -506,6 +506,28 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
506
506
|
};
|
|
507
507
|
updatedAt?: string | null | undefined;
|
|
508
508
|
}[];
|
|
509
|
+
created?: {
|
|
510
|
+
dataCompletionCoverage?: number | null | undefined;
|
|
511
|
+
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
512
|
+
duplicateProbability?: number | null | undefined;
|
|
513
|
+
owner: {
|
|
514
|
+
entityId?: string | null | undefined;
|
|
515
|
+
personId?: string | null | undefined;
|
|
516
|
+
};
|
|
517
|
+
probability?: number | null | undefined;
|
|
518
|
+
record: {
|
|
519
|
+
externalId?: string | null | undefined;
|
|
520
|
+
id: string;
|
|
521
|
+
name?: string | null | undefined;
|
|
522
|
+
operatingStatus?: string | null | undefined;
|
|
523
|
+
publicPath?: string | null | undefined;
|
|
524
|
+
reason: string[];
|
|
525
|
+
score: number;
|
|
526
|
+
slug?: string | null | undefined;
|
|
527
|
+
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
528
|
+
};
|
|
529
|
+
updatedAt?: string | null | undefined;
|
|
530
|
+
} | null | undefined;
|
|
509
531
|
detail: string;
|
|
510
532
|
duplicate: {
|
|
511
533
|
dataCompletionCoverage?: number | null | undefined;
|
|
@@ -529,6 +551,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
529
551
|
};
|
|
530
552
|
updatedAt?: string | null | undefined;
|
|
531
553
|
}[];
|
|
554
|
+
enrichmentRunId?: string | null | undefined;
|
|
532
555
|
match?: {
|
|
533
556
|
dataCompletionCoverage?: number | null | undefined;
|
|
534
557
|
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
@@ -1106,6 +1129,28 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
1106
1129
|
};
|
|
1107
1130
|
updatedAt?: string | null | undefined;
|
|
1108
1131
|
}[];
|
|
1132
|
+
created?: {
|
|
1133
|
+
dataCompletionCoverage?: number | null | undefined;
|
|
1134
|
+
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
1135
|
+
duplicateProbability?: number | null | undefined;
|
|
1136
|
+
owner: {
|
|
1137
|
+
entityId?: string | null | undefined;
|
|
1138
|
+
personId?: string | null | undefined;
|
|
1139
|
+
};
|
|
1140
|
+
probability?: number | null | undefined;
|
|
1141
|
+
record: {
|
|
1142
|
+
externalId?: string | null | undefined;
|
|
1143
|
+
id: string;
|
|
1144
|
+
name?: string | null | undefined;
|
|
1145
|
+
operatingStatus?: string | null | undefined;
|
|
1146
|
+
publicPath?: string | null | undefined;
|
|
1147
|
+
reason: string[];
|
|
1148
|
+
score: number;
|
|
1149
|
+
slug?: string | null | undefined;
|
|
1150
|
+
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
1151
|
+
};
|
|
1152
|
+
updatedAt?: string | null | undefined;
|
|
1153
|
+
} | null | undefined;
|
|
1109
1154
|
detail: string;
|
|
1110
1155
|
duplicate: {
|
|
1111
1156
|
dataCompletionCoverage?: number | null | undefined;
|
|
@@ -1129,6 +1174,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
1129
1174
|
};
|
|
1130
1175
|
updatedAt?: string | null | undefined;
|
|
1131
1176
|
}[];
|
|
1177
|
+
enrichmentRunId?: string | null | undefined;
|
|
1132
1178
|
match?: {
|
|
1133
1179
|
dataCompletionCoverage?: number | null | undefined;
|
|
1134
1180
|
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
package/dist/mention/lookup.d.ts
CHANGED
|
@@ -501,6 +501,28 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
501
501
|
};
|
|
502
502
|
updatedAt?: string | null | undefined;
|
|
503
503
|
}[];
|
|
504
|
+
created?: {
|
|
505
|
+
dataCompletionCoverage?: number | null | undefined;
|
|
506
|
+
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
507
|
+
duplicateProbability?: number | null | undefined;
|
|
508
|
+
owner: {
|
|
509
|
+
entityId?: string | null | undefined;
|
|
510
|
+
personId?: string | null | undefined;
|
|
511
|
+
};
|
|
512
|
+
probability?: number | null | undefined;
|
|
513
|
+
record: {
|
|
514
|
+
externalId?: string | null | undefined;
|
|
515
|
+
id: string;
|
|
516
|
+
name?: string | null | undefined;
|
|
517
|
+
operatingStatus?: string | null | undefined;
|
|
518
|
+
publicPath?: string | null | undefined;
|
|
519
|
+
reason: string[];
|
|
520
|
+
score: number;
|
|
521
|
+
slug?: string | null | undefined;
|
|
522
|
+
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
523
|
+
};
|
|
524
|
+
updatedAt?: string | null | undefined;
|
|
525
|
+
} | null | undefined;
|
|
504
526
|
detail: string;
|
|
505
527
|
duplicate: {
|
|
506
528
|
dataCompletionCoverage?: number | null | undefined;
|
|
@@ -524,6 +546,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
524
546
|
};
|
|
525
547
|
updatedAt?: string | null | undefined;
|
|
526
548
|
}[];
|
|
549
|
+
enrichmentRunId?: string | null | undefined;
|
|
527
550
|
match?: {
|
|
528
551
|
dataCompletionCoverage?: number | null | undefined;
|
|
529
552
|
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
@@ -1101,6 +1124,28 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
1101
1124
|
};
|
|
1102
1125
|
updatedAt?: string | null | undefined;
|
|
1103
1126
|
}[];
|
|
1127
|
+
created?: {
|
|
1128
|
+
dataCompletionCoverage?: number | null | undefined;
|
|
1129
|
+
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
1130
|
+
duplicateProbability?: number | null | undefined;
|
|
1131
|
+
owner: {
|
|
1132
|
+
entityId?: string | null | undefined;
|
|
1133
|
+
personId?: string | null | undefined;
|
|
1134
|
+
};
|
|
1135
|
+
probability?: number | null | undefined;
|
|
1136
|
+
record: {
|
|
1137
|
+
externalId?: string | null | undefined;
|
|
1138
|
+
id: string;
|
|
1139
|
+
name?: string | null | undefined;
|
|
1140
|
+
operatingStatus?: string | null | undefined;
|
|
1141
|
+
publicPath?: string | null | undefined;
|
|
1142
|
+
reason: string[];
|
|
1143
|
+
score: number;
|
|
1144
|
+
slug?: string | null | undefined;
|
|
1145
|
+
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
1146
|
+
};
|
|
1147
|
+
updatedAt?: string | null | undefined;
|
|
1148
|
+
} | null | undefined;
|
|
1104
1149
|
detail: string;
|
|
1105
1150
|
duplicate: {
|
|
1106
1151
|
dataCompletionCoverage?: number | null | undefined;
|
|
@@ -1124,6 +1169,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
1124
1169
|
};
|
|
1125
1170
|
updatedAt?: string | null | undefined;
|
|
1126
1171
|
}[];
|
|
1172
|
+
enrichmentRunId?: string | null | undefined;
|
|
1127
1173
|
match?: {
|
|
1128
1174
|
dataCompletionCoverage?: number | null | undefined;
|
|
1129
1175
|
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
@@ -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",
|
|
@@ -31,6 +31,7 @@ type StandardizedClassificationDefinition = z.infer<typeof StandardizedClassific
|
|
|
31
31
|
*
|
|
32
32
|
* @openapiSchema StandardizedClassification
|
|
33
33
|
* @endpoint GET /v1/entities
|
|
34
|
+
* @endpoint GET /v1/entities/brand
|
|
34
35
|
* @endpoint GET /v1/entities/classifications/catalog
|
|
35
36
|
* @endpoint GET /v1/entities/classifications/tags
|
|
36
37
|
* @endpoint GET /v1/entities/lookup-exact
|
|
@@ -32,6 +32,7 @@ const StandardizedClassificationSchemaDefinition = z.intersection(Classification
|
|
|
32
32
|
*
|
|
33
33
|
* @openapiSchema StandardizedClassification
|
|
34
34
|
* @endpoint GET /v1/entities
|
|
35
|
+
* @endpoint GET /v1/entities/brand
|
|
35
36
|
* @endpoint GET /v1/entities/classifications/catalog
|
|
36
37
|
* @endpoint GET /v1/entities/classifications/tags
|
|
37
38
|
* @endpoint GET /v1/entities/lookup-exact
|