@aventurevc/api-schemas 0.8.395 → 0.8.397
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/entity/analysis-citation.d.ts +1 -0
- package/dist/entity/analysis-citation.js +1 -0
- package/dist/entity/analysis-draft.d.ts +1 -0
- package/dist/entity/analysis-draft.js +1 -0
- package/dist/entity/analysis-figure-cell.d.ts +1 -0
- package/dist/entity/analysis-figure-cell.js +1 -0
- package/dist/entity/analysis-figure-entry.d.ts +1 -0
- package/dist/entity/analysis-figure-entry.js +1 -0
- package/dist/entity/analysis-figure-type.d.ts +1 -0
- package/dist/entity/analysis-figure-type.js +1 -0
- package/dist/entity/analysis-figure.d.ts +1 -0
- package/dist/entity/analysis-figure.js +1 -0
- package/dist/entity/analysis-paragraph.d.ts +1 -0
- package/dist/entity/analysis-paragraph.js +1 -0
- package/dist/entity/analysis-section-origin.d.ts +1 -0
- package/dist/entity/analysis-section-origin.js +1 -0
- package/dist/entity/analysis-section-verification.d.ts +1 -0
- package/dist/entity/analysis-section-verification.js +1 -0
- package/dist/entity/analysis-section.d.ts +1 -0
- package/dist/entity/analysis-section.js +1 -0
- package/dist/entity/analysis-verification-failure.d.ts +1 -0
- package/dist/entity/analysis-verification-failure.js +1 -0
- package/dist/entity/analysis-verification.d.ts +1 -0
- package/dist/entity/analysis-verification.js +1 -0
- package/dist/entity/detail.d.ts +72 -0
- package/dist/entity/investor-participation.d.ts +72 -0
- package/dist/entity/resolution.d.ts +72 -0
- package/dist/entity/url-crawl-cdn-provider.d.ts +2 -0
- package/dist/entity/url-crawl-cdn-provider.js +2 -0
- package/dist/entity/url-crawl-render-mode.d.ts +2 -0
- package/dist/entity/url-crawl-render-mode.js +2 -0
- package/dist/entity/url-link.d.ts +3 -0
- package/dist/entity/url-link.js +3 -0
- package/dist/federated/search.d.ts +180 -0
- package/dist/identification/identification.d.ts +1 -0
- package/dist/job/enqueue.d.ts +3 -0
- package/dist/job/enqueue.js +4 -0
- package/dist/link/search.d.ts +180 -0
- package/dist/lookup/job-mention.d.ts +37 -0
- package/dist/lookup/job-mention.js +3 -3
- package/dist/lookup/job-mutation.js +1 -1
- package/dist/lookup/job.d.ts +40 -0
- package/dist/lookup/source-read.d.ts +1 -0
- package/dist/mention/lookup.d.ts +40 -0
- package/dist/pagination/schemas.d.ts +396 -0
- package/dist/person/detail.d.ts +72 -0
- package/dist/person/investor-participation.d.ts +72 -0
- package/dist/person/natural-search-result.d.ts +36 -0
- package/dist/person/person.d.ts +43 -0
- package/dist/person/person.js +3 -0
- package/dist/person/similarity-result.d.ts +36 -0
- package/dist/shared/search.d.ts +180 -0
- package/package.json +1 -1
|
@@ -7490,6 +7490,24 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
7490
7490
|
short?: string | null | undefined;
|
|
7491
7491
|
};
|
|
7492
7492
|
updatedAt?: string | null | undefined;
|
|
7493
|
+
urlLink?: {
|
|
7494
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
7495
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
7496
|
+
createdAt?: string | null | undefined;
|
|
7497
|
+
id?: number | null | undefined;
|
|
7498
|
+
isCurrent?: boolean | null | undefined;
|
|
7499
|
+
isPrimary?: boolean | null | undefined;
|
|
7500
|
+
owner?: {
|
|
7501
|
+
entityId?: string | null | undefined;
|
|
7502
|
+
personId?: string | null | undefined;
|
|
7503
|
+
} | null | undefined;
|
|
7504
|
+
sourceId?: string | null | undefined;
|
|
7505
|
+
status?: string | null | undefined;
|
|
7506
|
+
statusChecked?: string | null | undefined;
|
|
7507
|
+
updatedAt?: string | null | undefined;
|
|
7508
|
+
url: string;
|
|
7509
|
+
urlType: string;
|
|
7510
|
+
}[] | null | undefined;
|
|
7493
7511
|
};
|
|
7494
7512
|
coveringRunId?: string | null | undefined;
|
|
7495
7513
|
enrichment: {
|
|
@@ -8490,6 +8508,24 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
8490
8508
|
short?: string | null | undefined;
|
|
8491
8509
|
};
|
|
8492
8510
|
updatedAt?: string | null | undefined;
|
|
8511
|
+
urlLink?: {
|
|
8512
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
8513
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
8514
|
+
createdAt?: string | null | undefined;
|
|
8515
|
+
id?: number | null | undefined;
|
|
8516
|
+
isCurrent?: boolean | null | undefined;
|
|
8517
|
+
isPrimary?: boolean | null | undefined;
|
|
8518
|
+
owner?: {
|
|
8519
|
+
entityId?: string | null | undefined;
|
|
8520
|
+
personId?: string | null | undefined;
|
|
8521
|
+
} | null | undefined;
|
|
8522
|
+
sourceId?: string | null | undefined;
|
|
8523
|
+
status?: string | null | undefined;
|
|
8524
|
+
statusChecked?: string | null | undefined;
|
|
8525
|
+
updatedAt?: string | null | undefined;
|
|
8526
|
+
url: string;
|
|
8527
|
+
urlType: string;
|
|
8528
|
+
}[] | null | undefined;
|
|
8493
8529
|
};
|
|
8494
8530
|
similarity: {
|
|
8495
8531
|
compositeScore?: number | null | undefined;
|
|
@@ -8736,6 +8772,24 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
8736
8772
|
short?: string | null | undefined;
|
|
8737
8773
|
};
|
|
8738
8774
|
updatedAt?: string | null | undefined;
|
|
8775
|
+
urlLink?: {
|
|
8776
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
8777
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
8778
|
+
createdAt?: string | null | undefined;
|
|
8779
|
+
id?: number | null | undefined;
|
|
8780
|
+
isCurrent?: boolean | null | undefined;
|
|
8781
|
+
isPrimary?: boolean | null | undefined;
|
|
8782
|
+
owner?: {
|
|
8783
|
+
entityId?: string | null | undefined;
|
|
8784
|
+
personId?: string | null | undefined;
|
|
8785
|
+
} | null | undefined;
|
|
8786
|
+
sourceId?: string | null | undefined;
|
|
8787
|
+
status?: string | null | undefined;
|
|
8788
|
+
statusChecked?: string | null | undefined;
|
|
8789
|
+
updatedAt?: string | null | undefined;
|
|
8790
|
+
url: string;
|
|
8791
|
+
urlType: string;
|
|
8792
|
+
}[] | null | undefined;
|
|
8739
8793
|
};
|
|
8740
8794
|
coveringRunId?: string | null | undefined;
|
|
8741
8795
|
enrichment: {
|
|
@@ -9736,6 +9790,24 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
9736
9790
|
short?: string | null | undefined;
|
|
9737
9791
|
};
|
|
9738
9792
|
updatedAt?: string | null | undefined;
|
|
9793
|
+
urlLink?: {
|
|
9794
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
9795
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
9796
|
+
createdAt?: string | null | undefined;
|
|
9797
|
+
id?: number | null | undefined;
|
|
9798
|
+
isCurrent?: boolean | null | undefined;
|
|
9799
|
+
isPrimary?: boolean | null | undefined;
|
|
9800
|
+
owner?: {
|
|
9801
|
+
entityId?: string | null | undefined;
|
|
9802
|
+
personId?: string | null | undefined;
|
|
9803
|
+
} | null | undefined;
|
|
9804
|
+
sourceId?: string | null | undefined;
|
|
9805
|
+
status?: string | null | undefined;
|
|
9806
|
+
statusChecked?: string | null | undefined;
|
|
9807
|
+
updatedAt?: string | null | undefined;
|
|
9808
|
+
url: string;
|
|
9809
|
+
urlType: string;
|
|
9810
|
+
}[] | null | undefined;
|
|
9739
9811
|
};
|
|
9740
9812
|
similarity: {
|
|
9741
9813
|
compositeScore?: number | null | undefined;
|
|
@@ -11172,6 +11244,24 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
11172
11244
|
short?: string | null | undefined;
|
|
11173
11245
|
};
|
|
11174
11246
|
updatedAt?: string | null | undefined;
|
|
11247
|
+
urlLink?: {
|
|
11248
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
11249
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
11250
|
+
createdAt?: string | null | undefined;
|
|
11251
|
+
id?: number | null | undefined;
|
|
11252
|
+
isCurrent?: boolean | null | undefined;
|
|
11253
|
+
isPrimary?: boolean | null | undefined;
|
|
11254
|
+
owner?: {
|
|
11255
|
+
entityId?: string | null | undefined;
|
|
11256
|
+
personId?: string | null | undefined;
|
|
11257
|
+
} | null | undefined;
|
|
11258
|
+
sourceId?: string | null | undefined;
|
|
11259
|
+
status?: string | null | undefined;
|
|
11260
|
+
statusChecked?: string | null | undefined;
|
|
11261
|
+
updatedAt?: string | null | undefined;
|
|
11262
|
+
url: string;
|
|
11263
|
+
urlType: string;
|
|
11264
|
+
}[] | null | undefined;
|
|
11175
11265
|
}[];
|
|
11176
11266
|
number: number;
|
|
11177
11267
|
size: number;
|
|
@@ -11820,6 +11910,24 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
11820
11910
|
short?: string | null | undefined;
|
|
11821
11911
|
};
|
|
11822
11912
|
updatedAt?: string | null | undefined;
|
|
11913
|
+
urlLink?: {
|
|
11914
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
11915
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
11916
|
+
createdAt?: string | null | undefined;
|
|
11917
|
+
id?: number | null | undefined;
|
|
11918
|
+
isCurrent?: boolean | null | undefined;
|
|
11919
|
+
isPrimary?: boolean | null | undefined;
|
|
11920
|
+
owner?: {
|
|
11921
|
+
entityId?: string | null | undefined;
|
|
11922
|
+
personId?: string | null | undefined;
|
|
11923
|
+
} | null | undefined;
|
|
11924
|
+
sourceId?: string | null | undefined;
|
|
11925
|
+
status?: string | null | undefined;
|
|
11926
|
+
statusChecked?: string | null | undefined;
|
|
11927
|
+
updatedAt?: string | null | undefined;
|
|
11928
|
+
url: string;
|
|
11929
|
+
urlType: string;
|
|
11930
|
+
}[] | null | undefined;
|
|
11823
11931
|
}[];
|
|
11824
11932
|
number: number;
|
|
11825
11933
|
size: number;
|
|
@@ -12064,6 +12172,24 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
12064
12172
|
short?: string | null | undefined;
|
|
12065
12173
|
};
|
|
12066
12174
|
updatedAt?: string | null | undefined;
|
|
12175
|
+
urlLink?: {
|
|
12176
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
12177
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
12178
|
+
createdAt?: string | null | undefined;
|
|
12179
|
+
id?: number | null | undefined;
|
|
12180
|
+
isCurrent?: boolean | null | undefined;
|
|
12181
|
+
isPrimary?: boolean | null | undefined;
|
|
12182
|
+
owner?: {
|
|
12183
|
+
entityId?: string | null | undefined;
|
|
12184
|
+
personId?: string | null | undefined;
|
|
12185
|
+
} | null | undefined;
|
|
12186
|
+
sourceId?: string | null | undefined;
|
|
12187
|
+
status?: string | null | undefined;
|
|
12188
|
+
statusChecked?: string | null | undefined;
|
|
12189
|
+
updatedAt?: string | null | undefined;
|
|
12190
|
+
url: string;
|
|
12191
|
+
urlType: string;
|
|
12192
|
+
}[] | null | undefined;
|
|
12067
12193
|
};
|
|
12068
12194
|
coveringRunId?: string | null | undefined;
|
|
12069
12195
|
enrichment: {
|
|
@@ -13064,6 +13190,24 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
13064
13190
|
short?: string | null | undefined;
|
|
13065
13191
|
};
|
|
13066
13192
|
updatedAt?: string | null | undefined;
|
|
13193
|
+
urlLink?: {
|
|
13194
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
13195
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
13196
|
+
createdAt?: string | null | undefined;
|
|
13197
|
+
id?: number | null | undefined;
|
|
13198
|
+
isCurrent?: boolean | null | undefined;
|
|
13199
|
+
isPrimary?: boolean | null | undefined;
|
|
13200
|
+
owner?: {
|
|
13201
|
+
entityId?: string | null | undefined;
|
|
13202
|
+
personId?: string | null | undefined;
|
|
13203
|
+
} | null | undefined;
|
|
13204
|
+
sourceId?: string | null | undefined;
|
|
13205
|
+
status?: string | null | undefined;
|
|
13206
|
+
statusChecked?: string | null | undefined;
|
|
13207
|
+
updatedAt?: string | null | undefined;
|
|
13208
|
+
url: string;
|
|
13209
|
+
urlType: string;
|
|
13210
|
+
}[] | null | undefined;
|
|
13067
13211
|
};
|
|
13068
13212
|
similarity: {
|
|
13069
13213
|
compositeScore?: number | null | undefined;
|
|
@@ -13310,6 +13454,24 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
13310
13454
|
short?: string | null | undefined;
|
|
13311
13455
|
};
|
|
13312
13456
|
updatedAt?: string | null | undefined;
|
|
13457
|
+
urlLink?: {
|
|
13458
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
13459
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
13460
|
+
createdAt?: string | null | undefined;
|
|
13461
|
+
id?: number | null | undefined;
|
|
13462
|
+
isCurrent?: boolean | null | undefined;
|
|
13463
|
+
isPrimary?: boolean | null | undefined;
|
|
13464
|
+
owner?: {
|
|
13465
|
+
entityId?: string | null | undefined;
|
|
13466
|
+
personId?: string | null | undefined;
|
|
13467
|
+
} | null | undefined;
|
|
13468
|
+
sourceId?: string | null | undefined;
|
|
13469
|
+
status?: string | null | undefined;
|
|
13470
|
+
statusChecked?: string | null | undefined;
|
|
13471
|
+
updatedAt?: string | null | undefined;
|
|
13472
|
+
url: string;
|
|
13473
|
+
urlType: string;
|
|
13474
|
+
}[] | null | undefined;
|
|
13313
13475
|
};
|
|
13314
13476
|
coveringRunId?: string | null | undefined;
|
|
13315
13477
|
enrichment: {
|
|
@@ -14310,6 +14472,24 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
14310
14472
|
short?: string | null | undefined;
|
|
14311
14473
|
};
|
|
14312
14474
|
updatedAt?: string | null | undefined;
|
|
14475
|
+
urlLink?: {
|
|
14476
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
14477
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
14478
|
+
createdAt?: string | null | undefined;
|
|
14479
|
+
id?: number | null | undefined;
|
|
14480
|
+
isCurrent?: boolean | null | undefined;
|
|
14481
|
+
isPrimary?: boolean | null | undefined;
|
|
14482
|
+
owner?: {
|
|
14483
|
+
entityId?: string | null | undefined;
|
|
14484
|
+
personId?: string | null | undefined;
|
|
14485
|
+
} | null | undefined;
|
|
14486
|
+
sourceId?: string | null | undefined;
|
|
14487
|
+
status?: string | null | undefined;
|
|
14488
|
+
statusChecked?: string | null | undefined;
|
|
14489
|
+
updatedAt?: string | null | undefined;
|
|
14490
|
+
url: string;
|
|
14491
|
+
urlType: string;
|
|
14492
|
+
}[] | null | undefined;
|
|
14313
14493
|
};
|
|
14314
14494
|
similarity: {
|
|
14315
14495
|
compositeScore?: number | null | undefined;
|
|
@@ -157,6 +157,7 @@ export declare const IdentificationSchema: z.ZodObject<{
|
|
|
157
157
|
filing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
158
158
|
deduped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
159
159
|
jobId: z.ZodUUID;
|
|
160
|
+
maxRuntimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
160
161
|
mode: z.ZodString;
|
|
161
162
|
statusUrl: z.ZodString;
|
|
162
163
|
}, z.core.$strip>>>;
|
package/dist/job/enqueue.d.ts
CHANGED
|
@@ -6,11 +6,13 @@ import { z } from "zod/v4";
|
|
|
6
6
|
* @endpoint GET /v1/search/link
|
|
7
7
|
* @endpoint GET /v1/entities/search/jobs/{jobId}
|
|
8
8
|
* @endpoint GET /v1/lookup/jobs/{jobId}
|
|
9
|
+
* @endpoint GET /v1/research/runs/{runId}/draft/sections/{sectionKey}/writes/{writeId}
|
|
9
10
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
10
11
|
* @endpoint GET /v1/web/searches/jobs/{jobId}
|
|
11
12
|
* @endpoint POST /v1/entities/search
|
|
12
13
|
* @endpoint POST /v1/lookup
|
|
13
14
|
* @endpoint POST /v1/lookup/mentions
|
|
15
|
+
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
14
16
|
* @usedBySchema IdentificationSchema
|
|
15
17
|
* @usedBySchema LookupSourceReadSchema
|
|
16
18
|
* @usedBySchema MentionLookupSchema
|
|
@@ -20,6 +22,7 @@ import { z } from "zod/v4";
|
|
|
20
22
|
export declare const JobEnqueueSchema: z.ZodObject<{
|
|
21
23
|
deduped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
24
|
jobId: z.ZodUUID;
|
|
25
|
+
maxRuntimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
26
|
mode: z.ZodString;
|
|
24
27
|
statusUrl: z.ZodString;
|
|
25
28
|
}, z.core.$strip>;
|
package/dist/job/enqueue.js
CHANGED
|
@@ -7,11 +7,13 @@ import { z } from "zod/v4";
|
|
|
7
7
|
* @endpoint GET /v1/search/link
|
|
8
8
|
* @endpoint GET /v1/entities/search/jobs/{jobId}
|
|
9
9
|
* @endpoint GET /v1/lookup/jobs/{jobId}
|
|
10
|
+
* @endpoint GET /v1/research/runs/{runId}/draft/sections/{sectionKey}/writes/{writeId}
|
|
10
11
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
11
12
|
* @endpoint GET /v1/web/searches/jobs/{jobId}
|
|
12
13
|
* @endpoint POST /v1/entities/search
|
|
13
14
|
* @endpoint POST /v1/lookup
|
|
14
15
|
* @endpoint POST /v1/lookup/mentions
|
|
16
|
+
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
15
17
|
* @usedBySchema IdentificationSchema
|
|
16
18
|
* @usedBySchema LookupSourceReadSchema
|
|
17
19
|
* @usedBySchema MentionLookupSchema
|
|
@@ -22,6 +24,8 @@ export const JobEnqueueSchema = z.object({
|
|
|
22
24
|
/** `true` when an earlier run answers this request instead of a new one; absent on routes that do not report deduplication. */
|
|
23
25
|
deduped: z.boolean().nullish(),
|
|
24
26
|
jobId: z.uuid(),
|
|
27
|
+
/** Longest the accepted background write may run, in seconds, so a caller knows how long to keep polling `statusUrl`; absent on jobs that state no runtime. */
|
|
28
|
+
maxRuntimeSeconds: z.number().int().nullish(),
|
|
25
29
|
mode: z.string(),
|
|
26
30
|
/** Endpoint to poll for asynchronous job state and result. */
|
|
27
31
|
statusUrl: z.string(),
|
package/dist/link/search.d.ts
CHANGED
|
@@ -3894,6 +3894,24 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
3894
3894
|
short?: string | null | undefined;
|
|
3895
3895
|
};
|
|
3896
3896
|
updatedAt?: string | null | undefined;
|
|
3897
|
+
urlLink?: {
|
|
3898
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
3899
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
3900
|
+
createdAt?: string | null | undefined;
|
|
3901
|
+
id?: number | null | undefined;
|
|
3902
|
+
isCurrent?: boolean | null | undefined;
|
|
3903
|
+
isPrimary?: boolean | null | undefined;
|
|
3904
|
+
owner?: {
|
|
3905
|
+
entityId?: string | null | undefined;
|
|
3906
|
+
personId?: string | null | undefined;
|
|
3907
|
+
} | null | undefined;
|
|
3908
|
+
sourceId?: string | null | undefined;
|
|
3909
|
+
status?: string | null | undefined;
|
|
3910
|
+
statusChecked?: string | null | undefined;
|
|
3911
|
+
updatedAt?: string | null | undefined;
|
|
3912
|
+
url: string;
|
|
3913
|
+
urlType: string;
|
|
3914
|
+
}[] | null | undefined;
|
|
3897
3915
|
};
|
|
3898
3916
|
coveringRunId?: string | null | undefined;
|
|
3899
3917
|
enrichment: {
|
|
@@ -4894,6 +4912,24 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
4894
4912
|
short?: string | null | undefined;
|
|
4895
4913
|
};
|
|
4896
4914
|
updatedAt?: string | null | undefined;
|
|
4915
|
+
urlLink?: {
|
|
4916
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
4917
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
4918
|
+
createdAt?: string | null | undefined;
|
|
4919
|
+
id?: number | null | undefined;
|
|
4920
|
+
isCurrent?: boolean | null | undefined;
|
|
4921
|
+
isPrimary?: boolean | null | undefined;
|
|
4922
|
+
owner?: {
|
|
4923
|
+
entityId?: string | null | undefined;
|
|
4924
|
+
personId?: string | null | undefined;
|
|
4925
|
+
} | null | undefined;
|
|
4926
|
+
sourceId?: string | null | undefined;
|
|
4927
|
+
status?: string | null | undefined;
|
|
4928
|
+
statusChecked?: string | null | undefined;
|
|
4929
|
+
updatedAt?: string | null | undefined;
|
|
4930
|
+
url: string;
|
|
4931
|
+
urlType: string;
|
|
4932
|
+
}[] | null | undefined;
|
|
4897
4933
|
};
|
|
4898
4934
|
similarity: {
|
|
4899
4935
|
compositeScore?: number | null | undefined;
|
|
@@ -5956,6 +5992,24 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
5956
5992
|
short?: string | null | undefined;
|
|
5957
5993
|
};
|
|
5958
5994
|
updatedAt?: string | null | undefined;
|
|
5995
|
+
urlLink?: {
|
|
5996
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
5997
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
5998
|
+
createdAt?: string | null | undefined;
|
|
5999
|
+
id?: number | null | undefined;
|
|
6000
|
+
isCurrent?: boolean | null | undefined;
|
|
6001
|
+
isPrimary?: boolean | null | undefined;
|
|
6002
|
+
owner?: {
|
|
6003
|
+
entityId?: string | null | undefined;
|
|
6004
|
+
personId?: string | null | undefined;
|
|
6005
|
+
} | null | undefined;
|
|
6006
|
+
sourceId?: string | null | undefined;
|
|
6007
|
+
status?: string | null | undefined;
|
|
6008
|
+
statusChecked?: string | null | undefined;
|
|
6009
|
+
updatedAt?: string | null | undefined;
|
|
6010
|
+
url: string;
|
|
6011
|
+
urlType: string;
|
|
6012
|
+
}[] | null | undefined;
|
|
5959
6013
|
}[];
|
|
5960
6014
|
number: number;
|
|
5961
6015
|
size: number;
|
|
@@ -6200,6 +6254,24 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
6200
6254
|
short?: string | null | undefined;
|
|
6201
6255
|
};
|
|
6202
6256
|
updatedAt?: string | null | undefined;
|
|
6257
|
+
urlLink?: {
|
|
6258
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
6259
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
6260
|
+
createdAt?: string | null | undefined;
|
|
6261
|
+
id?: number | null | undefined;
|
|
6262
|
+
isCurrent?: boolean | null | undefined;
|
|
6263
|
+
isPrimary?: boolean | null | undefined;
|
|
6264
|
+
owner?: {
|
|
6265
|
+
entityId?: string | null | undefined;
|
|
6266
|
+
personId?: string | null | undefined;
|
|
6267
|
+
} | null | undefined;
|
|
6268
|
+
sourceId?: string | null | undefined;
|
|
6269
|
+
status?: string | null | undefined;
|
|
6270
|
+
statusChecked?: string | null | undefined;
|
|
6271
|
+
updatedAt?: string | null | undefined;
|
|
6272
|
+
url: string;
|
|
6273
|
+
urlType: string;
|
|
6274
|
+
}[] | null | undefined;
|
|
6203
6275
|
};
|
|
6204
6276
|
coveringRunId?: string | null | undefined;
|
|
6205
6277
|
enrichment: {
|
|
@@ -7200,6 +7272,24 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
7200
7272
|
short?: string | null | undefined;
|
|
7201
7273
|
};
|
|
7202
7274
|
updatedAt?: string | null | undefined;
|
|
7275
|
+
urlLink?: {
|
|
7276
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
7277
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
7278
|
+
createdAt?: string | null | undefined;
|
|
7279
|
+
id?: number | null | undefined;
|
|
7280
|
+
isCurrent?: boolean | null | undefined;
|
|
7281
|
+
isPrimary?: boolean | null | undefined;
|
|
7282
|
+
owner?: {
|
|
7283
|
+
entityId?: string | null | undefined;
|
|
7284
|
+
personId?: string | null | undefined;
|
|
7285
|
+
} | null | undefined;
|
|
7286
|
+
sourceId?: string | null | undefined;
|
|
7287
|
+
status?: string | null | undefined;
|
|
7288
|
+
statusChecked?: string | null | undefined;
|
|
7289
|
+
updatedAt?: string | null | undefined;
|
|
7290
|
+
url: string;
|
|
7291
|
+
urlType: string;
|
|
7292
|
+
}[] | null | undefined;
|
|
7203
7293
|
};
|
|
7204
7294
|
similarity: {
|
|
7205
7295
|
compositeScore?: number | null | undefined;
|
|
@@ -11136,6 +11226,24 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
11136
11226
|
short?: string | null | undefined;
|
|
11137
11227
|
};
|
|
11138
11228
|
updatedAt?: string | null | undefined;
|
|
11229
|
+
urlLink?: {
|
|
11230
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
11231
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
11232
|
+
createdAt?: string | null | undefined;
|
|
11233
|
+
id?: number | null | undefined;
|
|
11234
|
+
isCurrent?: boolean | null | undefined;
|
|
11235
|
+
isPrimary?: boolean | null | undefined;
|
|
11236
|
+
owner?: {
|
|
11237
|
+
entityId?: string | null | undefined;
|
|
11238
|
+
personId?: string | null | undefined;
|
|
11239
|
+
} | null | undefined;
|
|
11240
|
+
sourceId?: string | null | undefined;
|
|
11241
|
+
status?: string | null | undefined;
|
|
11242
|
+
statusChecked?: string | null | undefined;
|
|
11243
|
+
updatedAt?: string | null | undefined;
|
|
11244
|
+
url: string;
|
|
11245
|
+
urlType: string;
|
|
11246
|
+
}[] | null | undefined;
|
|
11139
11247
|
};
|
|
11140
11248
|
coveringRunId?: string | null | undefined;
|
|
11141
11249
|
enrichment: {
|
|
@@ -12136,6 +12244,24 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
12136
12244
|
short?: string | null | undefined;
|
|
12137
12245
|
};
|
|
12138
12246
|
updatedAt?: string | null | undefined;
|
|
12247
|
+
urlLink?: {
|
|
12248
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
12249
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
12250
|
+
createdAt?: string | null | undefined;
|
|
12251
|
+
id?: number | null | undefined;
|
|
12252
|
+
isCurrent?: boolean | null | undefined;
|
|
12253
|
+
isPrimary?: boolean | null | undefined;
|
|
12254
|
+
owner?: {
|
|
12255
|
+
entityId?: string | null | undefined;
|
|
12256
|
+
personId?: string | null | undefined;
|
|
12257
|
+
} | null | undefined;
|
|
12258
|
+
sourceId?: string | null | undefined;
|
|
12259
|
+
status?: string | null | undefined;
|
|
12260
|
+
statusChecked?: string | null | undefined;
|
|
12261
|
+
updatedAt?: string | null | undefined;
|
|
12262
|
+
url: string;
|
|
12263
|
+
urlType: string;
|
|
12264
|
+
}[] | null | undefined;
|
|
12139
12265
|
};
|
|
12140
12266
|
similarity: {
|
|
12141
12267
|
compositeScore?: number | null | undefined;
|
|
@@ -13198,6 +13324,24 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
13198
13324
|
short?: string | null | undefined;
|
|
13199
13325
|
};
|
|
13200
13326
|
updatedAt?: string | null | undefined;
|
|
13327
|
+
urlLink?: {
|
|
13328
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
13329
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
13330
|
+
createdAt?: string | null | undefined;
|
|
13331
|
+
id?: number | null | undefined;
|
|
13332
|
+
isCurrent?: boolean | null | undefined;
|
|
13333
|
+
isPrimary?: boolean | null | undefined;
|
|
13334
|
+
owner?: {
|
|
13335
|
+
entityId?: string | null | undefined;
|
|
13336
|
+
personId?: string | null | undefined;
|
|
13337
|
+
} | null | undefined;
|
|
13338
|
+
sourceId?: string | null | undefined;
|
|
13339
|
+
status?: string | null | undefined;
|
|
13340
|
+
statusChecked?: string | null | undefined;
|
|
13341
|
+
updatedAt?: string | null | undefined;
|
|
13342
|
+
url: string;
|
|
13343
|
+
urlType: string;
|
|
13344
|
+
}[] | null | undefined;
|
|
13201
13345
|
}[];
|
|
13202
13346
|
number: number;
|
|
13203
13347
|
size: number;
|
|
@@ -13442,6 +13586,24 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
13442
13586
|
short?: string | null | undefined;
|
|
13443
13587
|
};
|
|
13444
13588
|
updatedAt?: string | null | undefined;
|
|
13589
|
+
urlLink?: {
|
|
13590
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
13591
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
13592
|
+
createdAt?: string | null | undefined;
|
|
13593
|
+
id?: number | null | undefined;
|
|
13594
|
+
isCurrent?: boolean | null | undefined;
|
|
13595
|
+
isPrimary?: boolean | null | undefined;
|
|
13596
|
+
owner?: {
|
|
13597
|
+
entityId?: string | null | undefined;
|
|
13598
|
+
personId?: string | null | undefined;
|
|
13599
|
+
} | null | undefined;
|
|
13600
|
+
sourceId?: string | null | undefined;
|
|
13601
|
+
status?: string | null | undefined;
|
|
13602
|
+
statusChecked?: string | null | undefined;
|
|
13603
|
+
updatedAt?: string | null | undefined;
|
|
13604
|
+
url: string;
|
|
13605
|
+
urlType: string;
|
|
13606
|
+
}[] | null | undefined;
|
|
13445
13607
|
};
|
|
13446
13608
|
coveringRunId?: string | null | undefined;
|
|
13447
13609
|
enrichment: {
|
|
@@ -14442,6 +14604,24 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
14442
14604
|
short?: string | null | undefined;
|
|
14443
14605
|
};
|
|
14444
14606
|
updatedAt?: string | null | undefined;
|
|
14607
|
+
urlLink?: {
|
|
14608
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
14609
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
14610
|
+
createdAt?: string | null | undefined;
|
|
14611
|
+
id?: number | null | undefined;
|
|
14612
|
+
isCurrent?: boolean | null | undefined;
|
|
14613
|
+
isPrimary?: boolean | null | undefined;
|
|
14614
|
+
owner?: {
|
|
14615
|
+
entityId?: string | null | undefined;
|
|
14616
|
+
personId?: string | null | undefined;
|
|
14617
|
+
} | null | undefined;
|
|
14618
|
+
sourceId?: string | null | undefined;
|
|
14619
|
+
status?: string | null | undefined;
|
|
14620
|
+
statusChecked?: string | null | undefined;
|
|
14621
|
+
updatedAt?: string | null | undefined;
|
|
14622
|
+
url: string;
|
|
14623
|
+
urlType: string;
|
|
14624
|
+
}[] | null | undefined;
|
|
14445
14625
|
};
|
|
14446
14626
|
similarity: {
|
|
14447
14627
|
compositeScore?: number | null | undefined;
|
|
@@ -1883,6 +1883,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
|
|
|
1883
1883
|
filing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1884
1884
|
deduped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1885
1885
|
jobId: z.ZodUUID;
|
|
1886
|
+
maxRuntimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1886
1887
|
mode: z.ZodString;
|
|
1887
1888
|
statusUrl: z.ZodString;
|
|
1888
1889
|
}, z.core.$strip>>>;
|
|
@@ -2025,6 +2026,24 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
|
|
|
2025
2026
|
short?: string | null | undefined;
|
|
2026
2027
|
};
|
|
2027
2028
|
updatedAt?: string | null | undefined;
|
|
2029
|
+
urlLink?: {
|
|
2030
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
2031
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
2032
|
+
createdAt?: string | null | undefined;
|
|
2033
|
+
id?: number | null | undefined;
|
|
2034
|
+
isCurrent?: boolean | null | undefined;
|
|
2035
|
+
isPrimary?: boolean | null | undefined;
|
|
2036
|
+
owner?: {
|
|
2037
|
+
entityId?: string | null | undefined;
|
|
2038
|
+
personId?: string | null | undefined;
|
|
2039
|
+
} | null | undefined;
|
|
2040
|
+
sourceId?: string | null | undefined;
|
|
2041
|
+
status?: string | null | undefined;
|
|
2042
|
+
statusChecked?: string | null | undefined;
|
|
2043
|
+
updatedAt?: string | null | undefined;
|
|
2044
|
+
url: string;
|
|
2045
|
+
urlType: string;
|
|
2046
|
+
}[] | null | undefined;
|
|
2028
2047
|
}, import("../person/person.ts").PersonSchemaInput, z.core.$ZodTypeInternals<{
|
|
2029
2048
|
createdAt?: string | null | undefined;
|
|
2030
2049
|
gender?: string | null | undefined;
|
|
@@ -2070,6 +2089,24 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
|
|
|
2070
2089
|
short?: string | null | undefined;
|
|
2071
2090
|
};
|
|
2072
2091
|
updatedAt?: string | null | undefined;
|
|
2092
|
+
urlLink?: {
|
|
2093
|
+
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
2094
|
+
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
2095
|
+
createdAt?: string | null | undefined;
|
|
2096
|
+
id?: number | null | undefined;
|
|
2097
|
+
isCurrent?: boolean | null | undefined;
|
|
2098
|
+
isPrimary?: boolean | null | undefined;
|
|
2099
|
+
owner?: {
|
|
2100
|
+
entityId?: string | null | undefined;
|
|
2101
|
+
personId?: string | null | undefined;
|
|
2102
|
+
} | null | undefined;
|
|
2103
|
+
sourceId?: string | null | undefined;
|
|
2104
|
+
status?: string | null | undefined;
|
|
2105
|
+
statusChecked?: string | null | undefined;
|
|
2106
|
+
updatedAt?: string | null | undefined;
|
|
2107
|
+
url: string;
|
|
2108
|
+
urlType: string;
|
|
2109
|
+
}[] | null | undefined;
|
|
2073
2110
|
}, import("../person/person.ts").PersonSchemaInput>>>;
|
|
2074
2111
|
shell: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2075
2112
|
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -6,11 +6,11 @@ import { EntityPersonOwnerSchema } from "../entity/person-owner.js";
|
|
|
6
6
|
import { IdentificationSchema } from "../identification/identification.js";
|
|
7
7
|
import { PersonSchema } from "../person/person.js";
|
|
8
8
|
const LookupJobMentionSchemaDefinition = z.object({
|
|
9
|
-
/**
|
|
9
|
+
/** The current titled role, at a company aVenture shows publicly, of the highest-ranked listed person visible to the caller that has one (its personId names whom); null when none does or omitRecords is true. A bulk lookup job reads it on each status read. */
|
|
10
10
|
currentRole: EntityPersonAssociationSchema.nullish(),
|
|
11
11
|
/** Research request filed for this mention, if any. */
|
|
12
12
|
enrichmentRunId: z.uuid().nullish(),
|
|
13
|
-
/**
|
|
13
|
+
/** The candidate companies as search results show them, the match first, then by match probability and duplicate-check score; empty when omitRecords is true. */
|
|
14
14
|
entity: z.array(EntityListSchema),
|
|
15
15
|
/** One sentence on why this name could not be identified, if not. */
|
|
16
16
|
failureReason: z.string().nullish(),
|
|
@@ -20,7 +20,7 @@ const LookupJobMentionSchemaDefinition = z.object({
|
|
|
20
20
|
mentionType: z.enum(["COMPANY", "PERSON", "PRODUCT_SERVICE"]),
|
|
21
21
|
/** Name as the source writes it. */
|
|
22
22
|
name: z.string(),
|
|
23
|
-
/**
|
|
23
|
+
/** The candidate people as search results show them, ranked like entity; empty when omitRecords is true. */
|
|
24
24
|
person: z.array(PersonSchema),
|
|
25
25
|
/** New record aVenture created, at no charge, for a NO_MATCH name whose own live site names it: a company public and a person hidden unless publishCreated says otherwise. enrichmentRunId names research filed for it, if any; to file research yourself, send its entityId to POST /v1/entities/{entityId}/enrichments or its personId to POST /v1/people/{personId}/enrichments. */
|
|
26
26
|
shell: EntityPersonOwnerSchema.nullish(),
|