@aventurevc/api-schemas 0.8.363 → 0.8.365
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/address/address.js +2 -2
- package/dist/agent/help-question.js +1 -1
- package/dist/entity/detail.d.ts +0 -4
- package/dist/entity/investor-participation.d.ts +0 -4
- package/dist/entity/list.d.ts +1 -0
- package/dist/entity/list.js +2 -0
- package/dist/entity/resolution.d.ts +0 -4
- package/dist/entity/similarity-result.d.ts +2 -0
- package/dist/federated/natural-search.js +2 -2
- package/dist/federated/search.d.ts +6 -10
- package/dist/identification/subject.d.ts +1 -0
- package/dist/identification/subject.js +3 -1
- package/dist/link/search.d.ts +6 -10
- package/dist/lookup/job-mention.d.ts +2 -2
- package/dist/lookup/job-mutation.d.ts +1 -0
- package/dist/lookup/job.d.ts +4 -2
- package/dist/mention/lookup.d.ts +2 -2
- package/dist/natural/search-result.d.ts +6 -0
- package/dist/natural/search.js +2 -2
- package/dist/pagination/schemas.d.ts +6 -22
- package/dist/person/detail.d.ts +0 -4
- package/dist/person/investor-participation.d.ts +0 -4
- package/dist/person/natural-search-result.d.ts +0 -2
- package/dist/person/person.d.ts +0 -1
- package/dist/person/person.js +1 -3
- package/dist/person/similarity-result.d.ts +0 -2
- package/dist/search/search.js +1 -1
- package/dist/shared/search.d.ts +6 -10
- package/package.json +1 -1
package/dist/address/address.js
CHANGED
|
@@ -72,9 +72,9 @@ export const AddressSchema = z.object({
|
|
|
72
72
|
id: z.int().nullish(),
|
|
73
73
|
/** Deprecated aggregate compatibility flag; true when any association is current */
|
|
74
74
|
isCurrent: z.boolean().nullish(),
|
|
75
|
-
/** Deprecated legacy flag marking the current legal/registered seat (domicile), not the operating HQ.
|
|
75
|
+
/** Deprecated legacy flag marking the current legal/registered seat (domicile), not the operating HQ; it retires on 2027-02-05. Read a current association[].role of domicile for the legal seat, and match enrichment.headquartersAddressId to enrichment.address[].id for the operating headquarters. */
|
|
76
76
|
isHq: z.boolean().nullish(),
|
|
77
|
-
/** Deprecated legacy flag marking the
|
|
77
|
+
/** Deprecated legacy flag marking the current operating headquarters (dominant); it retires on 2027-02-05. Match enrichment.headquartersAddressId to enrichment.address[].id, or read a current association[].role of dominant. */
|
|
78
78
|
isPrimary: z.boolean().nullish(),
|
|
79
79
|
latitude: z.number().nullish(),
|
|
80
80
|
longitude: z.number().nullish(),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
import { HelpScopeSchema } from "../help/scope.js";
|
|
4
4
|
const AgentHelpQuestionSchemaDefinition = z.object({
|
|
5
|
-
/** Optional supported model for the answer.
|
|
5
|
+
/** Optional supported model id for the answer. Leave the field out for the server's model; a value that is not a supported model id answers 422. */
|
|
6
6
|
model: z.string().nullish(),
|
|
7
7
|
/** The question to answer, in natural language. */
|
|
8
8
|
question: z.string().min(1),
|
package/dist/entity/detail.d.ts
CHANGED
|
@@ -1386,7 +1386,6 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
1386
1386
|
url: string;
|
|
1387
1387
|
}[] | null | undefined;
|
|
1388
1388
|
core: {
|
|
1389
|
-
bioUpdatedAt?: string | null | undefined;
|
|
1390
1389
|
createdAt?: string | null | undefined;
|
|
1391
1390
|
gender?: string | null | undefined;
|
|
1392
1391
|
id: string;
|
|
@@ -2386,7 +2385,6 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
2386
2385
|
titleName?: string | null | undefined;
|
|
2387
2386
|
} | null | undefined;
|
|
2388
2387
|
person: {
|
|
2389
|
-
bioUpdatedAt?: string | null | undefined;
|
|
2390
2388
|
createdAt?: string | null | undefined;
|
|
2391
2389
|
gender?: string | null | undefined;
|
|
2392
2390
|
id: string;
|
|
@@ -2632,7 +2630,6 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
2632
2630
|
url: string;
|
|
2633
2631
|
}[] | null | undefined;
|
|
2634
2632
|
core: {
|
|
2635
|
-
bioUpdatedAt?: string | null | undefined;
|
|
2636
2633
|
createdAt?: string | null | undefined;
|
|
2637
2634
|
gender?: string | null | undefined;
|
|
2638
2635
|
id: string;
|
|
@@ -3632,7 +3629,6 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
3632
3629
|
titleName?: string | null | undefined;
|
|
3633
3630
|
} | null | undefined;
|
|
3634
3631
|
person: {
|
|
3635
|
-
bioUpdatedAt?: string | null | undefined;
|
|
3636
3632
|
createdAt?: string | null | undefined;
|
|
3637
3633
|
gender?: string | null | undefined;
|
|
3638
3634
|
id: string;
|
|
@@ -1364,7 +1364,6 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
1364
1364
|
url: string;
|
|
1365
1365
|
}[] | null | undefined;
|
|
1366
1366
|
core: {
|
|
1367
|
-
bioUpdatedAt?: string | null | undefined;
|
|
1368
1367
|
createdAt?: string | null | undefined;
|
|
1369
1368
|
gender?: string | null | undefined;
|
|
1370
1369
|
id: string;
|
|
@@ -2364,7 +2363,6 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
2364
2363
|
titleName?: string | null | undefined;
|
|
2365
2364
|
} | null | undefined;
|
|
2366
2365
|
person: {
|
|
2367
|
-
bioUpdatedAt?: string | null | undefined;
|
|
2368
2366
|
createdAt?: string | null | undefined;
|
|
2369
2367
|
gender?: string | null | undefined;
|
|
2370
2368
|
id: string;
|
|
@@ -2610,7 +2608,6 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
2610
2608
|
url: string;
|
|
2611
2609
|
}[] | null | undefined;
|
|
2612
2610
|
core: {
|
|
2613
|
-
bioUpdatedAt?: string | null | undefined;
|
|
2614
2611
|
createdAt?: string | null | undefined;
|
|
2615
2612
|
gender?: string | null | undefined;
|
|
2616
2613
|
id: string;
|
|
@@ -3610,7 +3607,6 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
3610
3607
|
titleName?: string | null | undefined;
|
|
3611
3608
|
} | null | undefined;
|
|
3612
3609
|
person: {
|
|
3613
|
-
bioUpdatedAt?: string | null | undefined;
|
|
3614
3610
|
createdAt?: string | null | undefined;
|
|
3615
3611
|
gender?: string | null | undefined;
|
|
3616
3612
|
id: string;
|
package/dist/entity/list.d.ts
CHANGED
|
@@ -146,6 +146,7 @@ declare const EntityListSchemaDefinition: z.ZodObject<{
|
|
|
146
146
|
}>;
|
|
147
147
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
148
148
|
}, z.core.$strip>;
|
|
149
|
+
coveringRunId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
149
150
|
enrichment: z.ZodType<{
|
|
150
151
|
address: {
|
|
151
152
|
address?: number | null | undefined;
|
package/dist/entity/list.js
CHANGED
|
@@ -12,6 +12,8 @@ const EntityListSchemaDefinition = z.object({
|
|
|
12
12
|
acquirer: EntitySchema.nullish(),
|
|
13
13
|
/** Flat entity core — identity, naming, status, image, and source metadata */
|
|
14
14
|
core: EntitySchema,
|
|
15
|
+
/** The queued or running full-research run covering this record, whoever filed it; set only on federated search result and subject rows, null when none and on every other list read. */
|
|
16
|
+
coveringRunId: z.uuid().nullish(),
|
|
15
17
|
/** Supplemental entity data — addresses, classification tags, funding, text content, and URL links */
|
|
16
18
|
enrichment: EntityEnrichmentSchema,
|
|
17
19
|
/** Fundraise rounds associated with this entity */
|
|
@@ -1373,7 +1373,6 @@ export declare const EntityResolutionSchema: z.ZodObject<{
|
|
|
1373
1373
|
url: string;
|
|
1374
1374
|
}[] | null | undefined;
|
|
1375
1375
|
core: {
|
|
1376
|
-
bioUpdatedAt?: string | null | undefined;
|
|
1377
1376
|
createdAt?: string | null | undefined;
|
|
1378
1377
|
gender?: string | null | undefined;
|
|
1379
1378
|
id: string;
|
|
@@ -2373,7 +2372,6 @@ export declare const EntityResolutionSchema: z.ZodObject<{
|
|
|
2373
2372
|
titleName?: string | null | undefined;
|
|
2374
2373
|
} | null | undefined;
|
|
2375
2374
|
person: {
|
|
2376
|
-
bioUpdatedAt?: string | null | undefined;
|
|
2377
2375
|
createdAt?: string | null | undefined;
|
|
2378
2376
|
gender?: string | null | undefined;
|
|
2379
2377
|
id: string;
|
|
@@ -2619,7 +2617,6 @@ export declare const EntityResolutionSchema: z.ZodObject<{
|
|
|
2619
2617
|
url: string;
|
|
2620
2618
|
}[] | null | undefined;
|
|
2621
2619
|
core: {
|
|
2622
|
-
bioUpdatedAt?: string | null | undefined;
|
|
2623
2620
|
createdAt?: string | null | undefined;
|
|
2624
2621
|
gender?: string | null | undefined;
|
|
2625
2622
|
id: string;
|
|
@@ -3619,7 +3616,6 @@ export declare const EntityResolutionSchema: z.ZodObject<{
|
|
|
3619
3616
|
titleName?: string | null | undefined;
|
|
3620
3617
|
} | null | undefined;
|
|
3621
3618
|
person: {
|
|
3622
|
-
bioUpdatedAt?: string | null | undefined;
|
|
3623
3619
|
createdAt?: string | null | undefined;
|
|
3624
3620
|
gender?: string | null | undefined;
|
|
3625
3621
|
id: string;
|
|
@@ -89,6 +89,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
89
89
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
90
90
|
updatedAt?: string | null | undefined;
|
|
91
91
|
};
|
|
92
|
+
coveringRunId?: string | null | undefined;
|
|
92
93
|
enrichment: {
|
|
93
94
|
address: {
|
|
94
95
|
address?: number | null | undefined;
|
|
@@ -823,6 +824,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
823
824
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
824
825
|
updatedAt?: string | null | undefined;
|
|
825
826
|
};
|
|
827
|
+
coveringRunId?: string | null | undefined;
|
|
826
828
|
enrichment: {
|
|
827
829
|
address: {
|
|
828
830
|
address?: number | null | undefined;
|
|
@@ -6,7 +6,7 @@ import { SearchCacheModeSchema } from "../search/cache-mode.js";
|
|
|
6
6
|
import { SearchFreshnessSchema } from "../search/freshness.js";
|
|
7
7
|
import { SearchModeSchema } from "../search/mode.js";
|
|
8
8
|
const FederatedNaturalSearchSchemaDefinition = z.object({
|
|
9
|
-
/** Optional supported model for the written answer, which also supplies the page heading, title, and description.
|
|
9
|
+
/** Optional supported model id for the written answer, which also supplies the page heading, title, and description. Leave the field out for the server's model; a value that is not a supported model id answers 422. */
|
|
10
10
|
answerModel: z.string().nullish(),
|
|
11
11
|
/** Cache policy. use reuses earlier search work; bypass and refresh compute fresh results and are honored only for accounts with private-data access. */
|
|
12
12
|
cacheMode: SearchCacheModeSchema.default("use").optional(),
|
|
@@ -16,7 +16,7 @@ const FederatedNaturalSearchSchemaDefinition = z.object({
|
|
|
16
16
|
freshness: SearchFreshnessSchema.default("auto").optional(),
|
|
17
17
|
/** Search strategy to run. Defaults to `auto`: the fast name layer runs first (a single-token query as keyword search, a multiword query as an exact normalized name) and the language-model planner runs only on a miss, so name lookups never pay for planning. Any other value forces exactly that strategy: `exact` and `keyword` skip planner model resolution and its rate limit. Entity and person natural-search take every value but `hybrid`; news and federated search accept only `auto` and `keyword`; content search accepts `auto`, `keyword`, `semantic`, and `hybrid` (`semantic` and `hybrid` only for one entity's or person's content). */
|
|
18
18
|
mode: SearchModeSchema.default("auto").optional(),
|
|
19
|
-
/** Optional supported model for planning the search.
|
|
19
|
+
/** Optional supported model id for planning the search. Leave the field out for the server's model; a value that is not a supported model id answers 422. */
|
|
20
20
|
model: z.string().nullish(),
|
|
21
21
|
/** Model catalog revision this search uses for its model defaults and inference policy; null reads the current revision. Callers without private-data access always read the current revision. An unknown revision returns 404. */
|
|
22
22
|
modelCatalogRevision: z.int().nullish(),
|
|
@@ -899,6 +899,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
899
899
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
900
900
|
updatedAt?: string | null | undefined;
|
|
901
901
|
};
|
|
902
|
+
coveringRunId?: string | null | undefined;
|
|
902
903
|
enrichment: {
|
|
903
904
|
address: {
|
|
904
905
|
address?: number | null | undefined;
|
|
@@ -1650,6 +1651,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1650
1651
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1651
1652
|
updatedAt?: string | null | undefined;
|
|
1652
1653
|
};
|
|
1654
|
+
coveringRunId?: string | null | undefined;
|
|
1653
1655
|
enrichment: {
|
|
1654
1656
|
address: {
|
|
1655
1657
|
address?: number | null | undefined;
|
|
@@ -2391,6 +2393,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
2391
2393
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
2392
2394
|
updatedAt?: string | null | undefined;
|
|
2393
2395
|
};
|
|
2396
|
+
coveringRunId?: string | null | undefined;
|
|
2394
2397
|
enrichment: {
|
|
2395
2398
|
address: {
|
|
2396
2399
|
address?: number | null | undefined;
|
|
@@ -3936,6 +3939,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3936
3939
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
3937
3940
|
updatedAt?: string | null | undefined;
|
|
3938
3941
|
};
|
|
3942
|
+
coveringRunId?: string | null | undefined;
|
|
3939
3943
|
enrichment: {
|
|
3940
3944
|
address: {
|
|
3941
3945
|
address?: number | null | undefined;
|
|
@@ -4687,6 +4691,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
4687
4691
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
4688
4692
|
updatedAt?: string | null | undefined;
|
|
4689
4693
|
};
|
|
4694
|
+
coveringRunId?: string | null | undefined;
|
|
4690
4695
|
enrichment: {
|
|
4691
4696
|
address: {
|
|
4692
4697
|
address?: number | null | undefined;
|
|
@@ -5428,6 +5433,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
5428
5433
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
5429
5434
|
updatedAt?: string | null | undefined;
|
|
5430
5435
|
};
|
|
5436
|
+
coveringRunId?: string | null | undefined;
|
|
5431
5437
|
enrichment: {
|
|
5432
5438
|
address: {
|
|
5433
5439
|
address?: number | null | undefined;
|
|
@@ -7439,7 +7445,6 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
7439
7445
|
url: string;
|
|
7440
7446
|
}[] | null | undefined;
|
|
7441
7447
|
core: {
|
|
7442
|
-
bioUpdatedAt?: string | null | undefined;
|
|
7443
7448
|
createdAt?: string | null | undefined;
|
|
7444
7449
|
gender?: string | null | undefined;
|
|
7445
7450
|
id: string;
|
|
@@ -8439,7 +8444,6 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
8439
8444
|
titleName?: string | null | undefined;
|
|
8440
8445
|
} | null | undefined;
|
|
8441
8446
|
person: {
|
|
8442
|
-
bioUpdatedAt?: string | null | undefined;
|
|
8443
8447
|
createdAt?: string | null | undefined;
|
|
8444
8448
|
gender?: string | null | undefined;
|
|
8445
8449
|
id: string;
|
|
@@ -8685,7 +8689,6 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
8685
8689
|
url: string;
|
|
8686
8690
|
}[] | null | undefined;
|
|
8687
8691
|
core: {
|
|
8688
|
-
bioUpdatedAt?: string | null | undefined;
|
|
8689
8692
|
createdAt?: string | null | undefined;
|
|
8690
8693
|
gender?: string | null | undefined;
|
|
8691
8694
|
id: string;
|
|
@@ -9685,7 +9688,6 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
9685
9688
|
titleName?: string | null | undefined;
|
|
9686
9689
|
} | null | undefined;
|
|
9687
9690
|
person: {
|
|
9688
|
-
bioUpdatedAt?: string | null | undefined;
|
|
9689
9691
|
createdAt?: string | null | undefined;
|
|
9690
9692
|
gender?: string | null | undefined;
|
|
9691
9693
|
id: string;
|
|
@@ -11120,7 +11122,6 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
11120
11122
|
}[];
|
|
11121
11123
|
result: {
|
|
11122
11124
|
content: {
|
|
11123
|
-
bioUpdatedAt?: string | null | undefined;
|
|
11124
11125
|
createdAt?: string | null | undefined;
|
|
11125
11126
|
gender?: string | null | undefined;
|
|
11126
11127
|
id: string;
|
|
@@ -11769,7 +11770,6 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
11769
11770
|
}[];
|
|
11770
11771
|
result: {
|
|
11771
11772
|
content: {
|
|
11772
|
-
bioUpdatedAt?: string | null | undefined;
|
|
11773
11773
|
createdAt?: string | null | undefined;
|
|
11774
11774
|
gender?: string | null | undefined;
|
|
11775
11775
|
id: string;
|
|
@@ -12013,7 +12013,6 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
12013
12013
|
url: string;
|
|
12014
12014
|
}[] | null | undefined;
|
|
12015
12015
|
core: {
|
|
12016
|
-
bioUpdatedAt?: string | null | undefined;
|
|
12017
12016
|
createdAt?: string | null | undefined;
|
|
12018
12017
|
gender?: string | null | undefined;
|
|
12019
12018
|
id: string;
|
|
@@ -13013,7 +13012,6 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
13013
13012
|
titleName?: string | null | undefined;
|
|
13014
13013
|
} | null | undefined;
|
|
13015
13014
|
person: {
|
|
13016
|
-
bioUpdatedAt?: string | null | undefined;
|
|
13017
13015
|
createdAt?: string | null | undefined;
|
|
13018
13016
|
gender?: string | null | undefined;
|
|
13019
13017
|
id: string;
|
|
@@ -13259,7 +13257,6 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
13259
13257
|
url: string;
|
|
13260
13258
|
}[] | null | undefined;
|
|
13261
13259
|
core: {
|
|
13262
|
-
bioUpdatedAt?: string | null | undefined;
|
|
13263
13260
|
createdAt?: string | null | undefined;
|
|
13264
13261
|
gender?: string | null | undefined;
|
|
13265
13262
|
id: string;
|
|
@@ -14259,7 +14256,6 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
14259
14256
|
titleName?: string | null | undefined;
|
|
14260
14257
|
} | null | undefined;
|
|
14261
14258
|
person: {
|
|
14262
|
-
bioUpdatedAt?: string | null | undefined;
|
|
14263
14259
|
createdAt?: string | null | undefined;
|
|
14264
14260
|
gender?: string | null | undefined;
|
|
14265
14261
|
id: string;
|
|
@@ -71,6 +71,7 @@ export declare const IdentificationSubjectSchema: z.ZodObject<{
|
|
|
71
71
|
}>>>;
|
|
72
72
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
73
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
|
+
productServiceProviderId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
74
75
|
providerId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
75
76
|
role: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
76
77
|
INVESTOR: "INVESTOR";
|
|
@@ -27,13 +27,15 @@ export const IdentificationSubjectSchema = z.object({
|
|
|
27
27
|
/** Companies the subject is known to work at; a person filing accepts a LinkedIn profile only when one of them appears in the profile's employer fields. */
|
|
28
28
|
employer: z.array(z.string()).max(10).optional(),
|
|
29
29
|
filing: RegistryFilingSchema.nullish(),
|
|
30
|
-
/** Kind of record to identify when you know it: ENTITY for companies, funds, and firms (and their products or services); PERSON for people. Only that kind is looked up; typeRecord or
|
|
30
|
+
/** Kind of record to identify when you know it: ENTITY for companies, funds, and firms (and their products or services); PERSON for people. Only that kind is looked up; typeRecord or productServiceProviderId implies ENTITY. */
|
|
31
31
|
kind: z.enum(["ENTITY", "PERSON"]).nullish(),
|
|
32
32
|
/** City, region, or country, such as Austin, TX. Tells namesakes apart; not proof on its own. */
|
|
33
33
|
location: z.string().max(2000).nullish(),
|
|
34
34
|
/** Name exactly as the source writes it, such as Acme AI or Jane Doe. Send name, url, or both; a name that is an absolute http(s) URL is read as url. */
|
|
35
35
|
name: z.string().max(200).nullish(),
|
|
36
36
|
/** Provider entity id for a Product or Service lookup. Omit it when the provider is unknown. With no typeRecord, searches both Product and Service. Invalid for a company type or a person lookup. */
|
|
37
|
+
productServiceProviderId: z.uuid().nullish(),
|
|
38
|
+
/** Deprecated: send productServiceProviderId, the name the entity duplicate-check and create routes use. Still read as productServiceProviderId; a request that sends it answers with Deprecation and Sunset headers. */
|
|
37
39
|
providerId: z.uuid().nullish(),
|
|
38
40
|
/** Part the subject plays in the source: INVESTOR when the source lists it as an investor. Unlike typeRecord it keeps every record type a candidate, so a Company or Nonprofit that invests can still match. With it, a lookup with no url, filing, or sourceIdentifier binds a same-named Investment Firm or Fund over a record that does not invest; without a sourceNewsId it also answers NEEDS_REVIEW when the bound record shares its name with another live firm, or a visible record of its type family, unless the location's place names only the bound record's address and every namesake stores one. Without it, an Investment Firm or Fund typeRecord applies the firm preference alone. Omit it otherwise. */
|
|
39
41
|
role: z.enum(["INVESTOR"]).nullish(),
|
package/dist/link/search.d.ts
CHANGED
|
@@ -901,6 +901,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
901
901
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
902
902
|
updatedAt?: string | null | undefined;
|
|
903
903
|
};
|
|
904
|
+
coveringRunId?: string | null | undefined;
|
|
904
905
|
enrichment: {
|
|
905
906
|
address: {
|
|
906
907
|
address?: number | null | undefined;
|
|
@@ -1652,6 +1653,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
1652
1653
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1653
1654
|
updatedAt?: string | null | undefined;
|
|
1654
1655
|
};
|
|
1656
|
+
coveringRunId?: string | null | undefined;
|
|
1655
1657
|
enrichment: {
|
|
1656
1658
|
address: {
|
|
1657
1659
|
address?: number | null | undefined;
|
|
@@ -2393,6 +2395,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
2393
2395
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
2394
2396
|
updatedAt?: string | null | undefined;
|
|
2395
2397
|
};
|
|
2398
|
+
coveringRunId?: string | null | undefined;
|
|
2396
2399
|
enrichment: {
|
|
2397
2400
|
address: {
|
|
2398
2401
|
address?: number | null | undefined;
|
|
@@ -3846,7 +3849,6 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
3846
3849
|
url: string;
|
|
3847
3850
|
}[] | null | undefined;
|
|
3848
3851
|
core: {
|
|
3849
|
-
bioUpdatedAt?: string | null | undefined;
|
|
3850
3852
|
createdAt?: string | null | undefined;
|
|
3851
3853
|
gender?: string | null | undefined;
|
|
3852
3854
|
id: string;
|
|
@@ -4846,7 +4848,6 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
4846
4848
|
titleName?: string | null | undefined;
|
|
4847
4849
|
} | null | undefined;
|
|
4848
4850
|
person: {
|
|
4849
|
-
bioUpdatedAt?: string | null | undefined;
|
|
4850
4851
|
createdAt?: string | null | undefined;
|
|
4851
4852
|
gender?: string | null | undefined;
|
|
4852
4853
|
id: string;
|
|
@@ -5908,7 +5909,6 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
5908
5909
|
}[];
|
|
5909
5910
|
result: {
|
|
5910
5911
|
content: {
|
|
5911
|
-
bioUpdatedAt?: string | null | undefined;
|
|
5912
5912
|
createdAt?: string | null | undefined;
|
|
5913
5913
|
gender?: string | null | undefined;
|
|
5914
5914
|
id: string;
|
|
@@ -6152,7 +6152,6 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
6152
6152
|
url: string;
|
|
6153
6153
|
}[] | null | undefined;
|
|
6154
6154
|
core: {
|
|
6155
|
-
bioUpdatedAt?: string | null | undefined;
|
|
6156
6155
|
createdAt?: string | null | undefined;
|
|
6157
6156
|
gender?: string | null | undefined;
|
|
6158
6157
|
id: string;
|
|
@@ -7152,7 +7151,6 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
7152
7151
|
titleName?: string | null | undefined;
|
|
7153
7152
|
} | null | undefined;
|
|
7154
7153
|
person: {
|
|
7155
|
-
bioUpdatedAt?: string | null | undefined;
|
|
7156
7154
|
createdAt?: string | null | undefined;
|
|
7157
7155
|
gender?: string | null | undefined;
|
|
7158
7156
|
id: string;
|
|
@@ -8140,6 +8138,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
8140
8138
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
8141
8139
|
updatedAt?: string | null | undefined;
|
|
8142
8140
|
};
|
|
8141
|
+
coveringRunId?: string | null | undefined;
|
|
8143
8142
|
enrichment: {
|
|
8144
8143
|
address: {
|
|
8145
8144
|
address?: number | null | undefined;
|
|
@@ -8891,6 +8890,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
8891
8890
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
8892
8891
|
updatedAt?: string | null | undefined;
|
|
8893
8892
|
};
|
|
8893
|
+
coveringRunId?: string | null | undefined;
|
|
8894
8894
|
enrichment: {
|
|
8895
8895
|
address: {
|
|
8896
8896
|
address?: number | null | undefined;
|
|
@@ -9632,6 +9632,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
9632
9632
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
9633
9633
|
updatedAt?: string | null | undefined;
|
|
9634
9634
|
};
|
|
9635
|
+
coveringRunId?: string | null | undefined;
|
|
9635
9636
|
enrichment: {
|
|
9636
9637
|
address: {
|
|
9637
9638
|
address?: number | null | undefined;
|
|
@@ -11085,7 +11086,6 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
11085
11086
|
url: string;
|
|
11086
11087
|
}[] | null | undefined;
|
|
11087
11088
|
core: {
|
|
11088
|
-
bioUpdatedAt?: string | null | undefined;
|
|
11089
11089
|
createdAt?: string | null | undefined;
|
|
11090
11090
|
gender?: string | null | undefined;
|
|
11091
11091
|
id: string;
|
|
@@ -12085,7 +12085,6 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
12085
12085
|
titleName?: string | null | undefined;
|
|
12086
12086
|
} | null | undefined;
|
|
12087
12087
|
person: {
|
|
12088
|
-
bioUpdatedAt?: string | null | undefined;
|
|
12089
12088
|
createdAt?: string | null | undefined;
|
|
12090
12089
|
gender?: string | null | undefined;
|
|
12091
12090
|
id: string;
|
|
@@ -13147,7 +13146,6 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
13147
13146
|
}[];
|
|
13148
13147
|
result: {
|
|
13149
13148
|
content: {
|
|
13150
|
-
bioUpdatedAt?: string | null | undefined;
|
|
13151
13149
|
createdAt?: string | null | undefined;
|
|
13152
13150
|
gender?: string | null | undefined;
|
|
13153
13151
|
id: string;
|
|
@@ -13391,7 +13389,6 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
13391
13389
|
url: string;
|
|
13392
13390
|
}[] | null | undefined;
|
|
13393
13391
|
core: {
|
|
13394
|
-
bioUpdatedAt?: string | null | undefined;
|
|
13395
13392
|
createdAt?: string | null | undefined;
|
|
13396
13393
|
gender?: string | null | undefined;
|
|
13397
13394
|
id: string;
|
|
@@ -14391,7 +14388,6 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
14391
14388
|
titleName?: string | null | undefined;
|
|
14392
14389
|
} | null | undefined;
|
|
14393
14390
|
person: {
|
|
14394
|
-
bioUpdatedAt?: string | null | undefined;
|
|
14395
14391
|
createdAt?: string | null | undefined;
|
|
14396
14392
|
gender?: string | null | undefined;
|
|
14397
14393
|
id: string;
|
|
@@ -90,6 +90,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
|
|
|
90
90
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
91
91
|
updatedAt?: string | null | undefined;
|
|
92
92
|
};
|
|
93
|
+
coveringRunId?: string | null | undefined;
|
|
93
94
|
enrichment: {
|
|
94
95
|
address: {
|
|
95
96
|
address?: number | null | undefined;
|
|
@@ -824,6 +825,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
|
|
|
824
825
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
825
826
|
updatedAt?: string | null | undefined;
|
|
826
827
|
};
|
|
828
|
+
coveringRunId?: string | null | undefined;
|
|
827
829
|
enrichment: {
|
|
828
830
|
address: {
|
|
829
831
|
address?: number | null | undefined;
|
|
@@ -1715,7 +1717,6 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
|
|
|
1715
1717
|
}>;
|
|
1716
1718
|
name: z.ZodString;
|
|
1717
1719
|
person: z.ZodArray<z.ZodType<{
|
|
1718
|
-
bioUpdatedAt?: string | null | undefined;
|
|
1719
1720
|
createdAt?: string | null | undefined;
|
|
1720
1721
|
gender?: string | null | undefined;
|
|
1721
1722
|
id: string;
|
|
@@ -1761,7 +1762,6 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
|
|
|
1761
1762
|
};
|
|
1762
1763
|
updatedAt?: string | null | undefined;
|
|
1763
1764
|
}, import("../person/person.ts").PersonSchemaInput, z.core.$ZodTypeInternals<{
|
|
1764
|
-
bioUpdatedAt?: string | null | undefined;
|
|
1765
1765
|
createdAt?: string | null | undefined;
|
|
1766
1766
|
gender?: string | null | undefined;
|
|
1767
1767
|
id: string;
|
|
@@ -72,6 +72,7 @@ declare const LookupJobMutationSchemaDefinition: z.ZodObject<{
|
|
|
72
72
|
}>>>;
|
|
73
73
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
74
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
|
+
productServiceProviderId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
75
76
|
providerId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
76
77
|
role: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
77
78
|
INVESTOR: "INVESTOR";
|
package/dist/lookup/job.d.ts
CHANGED
|
@@ -337,6 +337,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
337
337
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
338
338
|
updatedAt?: string | null | undefined;
|
|
339
339
|
};
|
|
340
|
+
coveringRunId?: string | null | undefined;
|
|
340
341
|
enrichment: {
|
|
341
342
|
address: {
|
|
342
343
|
address?: number | null | undefined;
|
|
@@ -1125,7 +1126,6 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
1125
1126
|
mentionType: "COMPANY" | "PERSON" | "PRODUCT_SERVICE";
|
|
1126
1127
|
name: string;
|
|
1127
1128
|
person: {
|
|
1128
|
-
bioUpdatedAt?: string | null | undefined;
|
|
1129
1129
|
createdAt?: string | null | undefined;
|
|
1130
1130
|
gender?: string | null | undefined;
|
|
1131
1131
|
id: string;
|
|
@@ -1267,6 +1267,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
1267
1267
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1268
1268
|
updatedAt?: string | null | undefined;
|
|
1269
1269
|
};
|
|
1270
|
+
coveringRunId?: string | null | undefined;
|
|
1270
1271
|
enrichment: {
|
|
1271
1272
|
address: {
|
|
1272
1273
|
address?: number | null | undefined;
|
|
@@ -2055,7 +2056,6 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
2055
2056
|
mentionType: "COMPANY" | "PERSON" | "PRODUCT_SERVICE";
|
|
2056
2057
|
name: string;
|
|
2057
2058
|
person: {
|
|
2058
|
-
bioUpdatedAt?: string | null | undefined;
|
|
2059
2059
|
createdAt?: string | null | undefined;
|
|
2060
2060
|
gender?: string | null | undefined;
|
|
2061
2061
|
id: string;
|
|
@@ -2217,6 +2217,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
2217
2217
|
kind?: "ENTITY" | "PERSON" | null | undefined;
|
|
2218
2218
|
location?: string | null | undefined;
|
|
2219
2219
|
name?: string | null | undefined;
|
|
2220
|
+
productServiceProviderId?: string | null | undefined;
|
|
2220
2221
|
providerId?: string | null | undefined;
|
|
2221
2222
|
role?: "INVESTOR" | null | undefined;
|
|
2222
2223
|
sourceDocumentId?: string | null | undefined;
|
|
@@ -2282,6 +2283,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
2282
2283
|
kind?: "ENTITY" | "PERSON" | null | undefined;
|
|
2283
2284
|
location?: string | null | undefined;
|
|
2284
2285
|
name?: string | null | undefined;
|
|
2286
|
+
productServiceProviderId?: string | null | undefined;
|
|
2285
2287
|
providerId?: string | null | undefined;
|
|
2286
2288
|
role?: "INVESTOR" | null | undefined;
|
|
2287
2289
|
sourceDocumentId?: string | null | undefined;
|
package/dist/mention/lookup.d.ts
CHANGED
|
@@ -97,6 +97,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
97
97
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
98
98
|
updatedAt?: string | null | undefined;
|
|
99
99
|
};
|
|
100
|
+
coveringRunId?: string | null | undefined;
|
|
100
101
|
enrichment: {
|
|
101
102
|
address: {
|
|
102
103
|
address?: number | null | undefined;
|
|
@@ -885,7 +886,6 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
885
886
|
mentionType: "COMPANY" | "PERSON" | "PRODUCT_SERVICE";
|
|
886
887
|
name: string;
|
|
887
888
|
person: {
|
|
888
|
-
bioUpdatedAt?: string | null | undefined;
|
|
889
889
|
createdAt?: string | null | undefined;
|
|
890
890
|
gender?: string | null | undefined;
|
|
891
891
|
id: string;
|
|
@@ -1027,6 +1027,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
1027
1027
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1028
1028
|
updatedAt?: string | null | undefined;
|
|
1029
1029
|
};
|
|
1030
|
+
coveringRunId?: string | null | undefined;
|
|
1030
1031
|
enrichment: {
|
|
1031
1032
|
address: {
|
|
1032
1033
|
address?: number | null | undefined;
|
|
@@ -1815,7 +1816,6 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
1815
1816
|
mentionType: "COMPANY" | "PERSON" | "PRODUCT_SERVICE";
|
|
1816
1817
|
name: string;
|
|
1817
1818
|
person: {
|
|
1818
|
-
bioUpdatedAt?: string | null | undefined;
|
|
1819
1819
|
createdAt?: string | null | undefined;
|
|
1820
1820
|
gender?: string | null | undefined;
|
|
1821
1821
|
id: string;
|
|
@@ -1693,6 +1693,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
1693
1693
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1694
1694
|
updatedAt?: string | null | undefined;
|
|
1695
1695
|
};
|
|
1696
|
+
coveringRunId?: string | null | undefined;
|
|
1696
1697
|
enrichment: {
|
|
1697
1698
|
address: {
|
|
1698
1699
|
address?: number | null | undefined;
|
|
@@ -2441,6 +2442,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
2441
2442
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
2442
2443
|
updatedAt?: string | null | undefined;
|
|
2443
2444
|
};
|
|
2445
|
+
coveringRunId?: string | null | undefined;
|
|
2444
2446
|
enrichment: {
|
|
2445
2447
|
address: {
|
|
2446
2448
|
address?: number | null | undefined;
|
|
@@ -3192,6 +3194,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
3192
3194
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
3193
3195
|
updatedAt?: string | null | undefined;
|
|
3194
3196
|
};
|
|
3197
|
+
coveringRunId?: string | null | undefined;
|
|
3195
3198
|
enrichment: {
|
|
3196
3199
|
address: {
|
|
3197
3200
|
address?: number | null | undefined;
|
|
@@ -3932,6 +3935,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
3932
3935
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
3933
3936
|
updatedAt?: string | null | undefined;
|
|
3934
3937
|
};
|
|
3938
|
+
coveringRunId?: string | null | undefined;
|
|
3935
3939
|
enrichment: {
|
|
3936
3940
|
address: {
|
|
3937
3941
|
address?: number | null | undefined;
|
|
@@ -4673,6 +4677,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
4673
4677
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
4674
4678
|
updatedAt?: string | null | undefined;
|
|
4675
4679
|
};
|
|
4680
|
+
coveringRunId?: string | null | undefined;
|
|
4676
4681
|
enrichment: {
|
|
4677
4682
|
address: {
|
|
4678
4683
|
address?: number | null | undefined;
|
|
@@ -5407,6 +5412,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
5407
5412
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
5408
5413
|
updatedAt?: string | null | undefined;
|
|
5409
5414
|
};
|
|
5415
|
+
coveringRunId?: string | null | undefined;
|
|
5410
5416
|
enrichment: {
|
|
5411
5417
|
address: {
|
|
5412
5418
|
address?: number | null | undefined;
|
package/dist/natural/search.js
CHANGED
|
@@ -5,7 +5,7 @@ import { SearchCacheModeSchema } from "../search/cache-mode.js";
|
|
|
5
5
|
import { SearchFreshnessSchema } from "../search/freshness.js";
|
|
6
6
|
import { SearchModeSchema } from "../search/mode.js";
|
|
7
7
|
const NaturalSearchSchemaDefinition = z.object({
|
|
8
|
-
/** Optional supported model for the written answer, which also supplies the page heading, title, and description.
|
|
8
|
+
/** Optional supported model id for the written answer, which also supplies the page heading, title, and description. Leave the field out for the server's model; a value that is not a supported model id answers 422. */
|
|
9
9
|
answerModel: z.string().nullish(),
|
|
10
10
|
/** Cache policy. use reuses earlier search work; bypass and refresh compute fresh results and are honored only for accounts with private-data access. */
|
|
11
11
|
cacheMode: SearchCacheModeSchema.default("use").optional(),
|
|
@@ -13,7 +13,7 @@ const NaturalSearchSchemaDefinition = z.object({
|
|
|
13
13
|
freshness: SearchFreshnessSchema.default("auto").optional(),
|
|
14
14
|
/** Search strategy to run. Defaults to `auto`: the fast name layer runs first (a single-token query as keyword search, a multiword query as an exact normalized name) and the language-model planner runs only on a miss, so name lookups never pay for planning. Any other value forces exactly that strategy: `exact` and `keyword` skip planner model resolution and its rate limit. Entity and person natural-search take every value but `hybrid`; news and federated search accept only `auto` and `keyword`; content search accepts `auto`, `keyword`, `semantic`, and `hybrid` (`semantic` and `hybrid` only for one entity's or person's content). */
|
|
15
15
|
mode: SearchModeSchema.default("auto").optional(),
|
|
16
|
-
/** Optional supported model for planning the search.
|
|
16
|
+
/** Optional supported model id for planning the search. Leave the field out for the server's model; a value that is not a supported model id answers 422. */
|
|
17
17
|
model: z.string().nullish(),
|
|
18
18
|
/** Model catalog revision this search uses for its model defaults and inference policy; null reads the current revision. Callers without private-data access always read the current revision. An unknown revision returns 404. */
|
|
19
19
|
modelCatalogRevision: z.int().nullish(),
|
|
@@ -1990,7 +1990,6 @@ declare const PageEntityDetailSchemaDefinition: z.ZodObject<{
|
|
|
1990
1990
|
url: string;
|
|
1991
1991
|
}[] | null | undefined;
|
|
1992
1992
|
core: {
|
|
1993
|
-
bioUpdatedAt?: string | null | undefined;
|
|
1994
1993
|
createdAt?: string | null | undefined;
|
|
1995
1994
|
gender?: string | null | undefined;
|
|
1996
1995
|
id: string;
|
|
@@ -2990,7 +2989,6 @@ declare const PageEntityDetailSchemaDefinition: z.ZodObject<{
|
|
|
2990
2989
|
titleName?: string | null | undefined;
|
|
2991
2990
|
} | null | undefined;
|
|
2992
2991
|
person: {
|
|
2993
|
-
bioUpdatedAt?: string | null | undefined;
|
|
2994
2992
|
createdAt?: string | null | undefined;
|
|
2995
2993
|
gender?: string | null | undefined;
|
|
2996
2994
|
id: string;
|
|
@@ -3236,7 +3234,6 @@ declare const PageEntityDetailSchemaDefinition: z.ZodObject<{
|
|
|
3236
3234
|
url: string;
|
|
3237
3235
|
}[] | null | undefined;
|
|
3238
3236
|
core: {
|
|
3239
|
-
bioUpdatedAt?: string | null | undefined;
|
|
3240
3237
|
createdAt?: string | null | undefined;
|
|
3241
3238
|
gender?: string | null | undefined;
|
|
3242
3239
|
id: string;
|
|
@@ -4236,7 +4233,6 @@ declare const PageEntityDetailSchemaDefinition: z.ZodObject<{
|
|
|
4236
4233
|
titleName?: string | null | undefined;
|
|
4237
4234
|
} | null | undefined;
|
|
4238
4235
|
person: {
|
|
4239
|
-
bioUpdatedAt?: string | null | undefined;
|
|
4240
4236
|
createdAt?: string | null | undefined;
|
|
4241
4237
|
gender?: string | null | undefined;
|
|
4242
4238
|
id: string;
|
|
@@ -6306,7 +6302,6 @@ declare const PageEntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
6306
6302
|
url: string;
|
|
6307
6303
|
}[] | null | undefined;
|
|
6308
6304
|
core: {
|
|
6309
|
-
bioUpdatedAt?: string | null | undefined;
|
|
6310
6305
|
createdAt?: string | null | undefined;
|
|
6311
6306
|
gender?: string | null | undefined;
|
|
6312
6307
|
id: string;
|
|
@@ -7306,7 +7301,6 @@ declare const PageEntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
7306
7301
|
titleName?: string | null | undefined;
|
|
7307
7302
|
} | null | undefined;
|
|
7308
7303
|
person: {
|
|
7309
|
-
bioUpdatedAt?: string | null | undefined;
|
|
7310
7304
|
createdAt?: string | null | undefined;
|
|
7311
7305
|
gender?: string | null | undefined;
|
|
7312
7306
|
id: string;
|
|
@@ -8536,7 +8530,6 @@ declare const PageEntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
8536
8530
|
url: string;
|
|
8537
8531
|
}[] | null | undefined;
|
|
8538
8532
|
core: {
|
|
8539
|
-
bioUpdatedAt?: string | null | undefined;
|
|
8540
8533
|
createdAt?: string | null | undefined;
|
|
8541
8534
|
gender?: string | null | undefined;
|
|
8542
8535
|
id: string;
|
|
@@ -9536,7 +9529,6 @@ declare const PageEntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
9536
9529
|
titleName?: string | null | undefined;
|
|
9537
9530
|
} | null | undefined;
|
|
9538
9531
|
person: {
|
|
9539
|
-
bioUpdatedAt?: string | null | undefined;
|
|
9540
9532
|
createdAt?: string | null | undefined;
|
|
9541
9533
|
gender?: string | null | undefined;
|
|
9542
9534
|
id: string;
|
|
@@ -10088,6 +10080,7 @@ declare const PageEntityListSchemaDefinition: z.ZodObject<{
|
|
|
10088
10080
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
10089
10081
|
updatedAt?: string | null | undefined;
|
|
10090
10082
|
};
|
|
10083
|
+
coveringRunId?: string | null | undefined;
|
|
10091
10084
|
enrichment: {
|
|
10092
10085
|
address: {
|
|
10093
10086
|
address?: number | null | undefined;
|
|
@@ -10822,6 +10815,7 @@ declare const PageEntityListSchemaDefinition: z.ZodObject<{
|
|
|
10822
10815
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
10823
10816
|
updatedAt?: string | null | undefined;
|
|
10824
10817
|
};
|
|
10818
|
+
coveringRunId?: string | null | undefined;
|
|
10825
10819
|
enrichment: {
|
|
10826
10820
|
address: {
|
|
10827
10821
|
address?: number | null | undefined;
|
|
@@ -12344,6 +12338,7 @@ declare const PageEntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
12344
12338
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
12345
12339
|
updatedAt?: string | null | undefined;
|
|
12346
12340
|
};
|
|
12341
|
+
coveringRunId?: string | null | undefined;
|
|
12347
12342
|
enrichment: {
|
|
12348
12343
|
address: {
|
|
12349
12344
|
address?: number | null | undefined;
|
|
@@ -13092,6 +13087,7 @@ declare const PageEntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
13092
13087
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
13093
13088
|
updatedAt?: string | null | undefined;
|
|
13094
13089
|
};
|
|
13090
|
+
coveringRunId?: string | null | undefined;
|
|
13095
13091
|
enrichment: {
|
|
13096
13092
|
address: {
|
|
13097
13093
|
address?: number | null | undefined;
|
|
@@ -14954,7 +14950,6 @@ export declare const PageNewsSchema: z.ZodType<PageNewsDefinition, PageNewsSchem
|
|
|
14954
14950
|
export type PageNews = z.infer<typeof PageNewsSchema>;
|
|
14955
14951
|
declare const PagePersonSchemaDefinition: z.ZodObject<{
|
|
14956
14952
|
content: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
14957
|
-
bioUpdatedAt?: string | null | undefined;
|
|
14958
14953
|
createdAt?: string | null | undefined;
|
|
14959
14954
|
gender?: string | null | undefined;
|
|
14960
14955
|
id: string;
|
|
@@ -15000,7 +14995,6 @@ declare const PagePersonSchemaDefinition: z.ZodObject<{
|
|
|
15000
14995
|
};
|
|
15001
14996
|
updatedAt?: string | null | undefined;
|
|
15002
14997
|
}, import("../person/person.ts").PersonSchemaInput, z.core.$ZodTypeInternals<{
|
|
15003
|
-
bioUpdatedAt?: string | null | undefined;
|
|
15004
14998
|
createdAt?: string | null | undefined;
|
|
15005
14999
|
gender?: string | null | undefined;
|
|
15006
15000
|
id: string;
|
|
@@ -15277,7 +15271,6 @@ declare const PagePersonDetailSchemaDefinition: z.ZodObject<{
|
|
|
15277
15271
|
url: string;
|
|
15278
15272
|
}[] | null | undefined;
|
|
15279
15273
|
core: {
|
|
15280
|
-
bioUpdatedAt?: string | null | undefined;
|
|
15281
15274
|
createdAt?: string | null | undefined;
|
|
15282
15275
|
gender?: string | null | undefined;
|
|
15283
15276
|
id: string;
|
|
@@ -16277,7 +16270,6 @@ declare const PagePersonDetailSchemaDefinition: z.ZodObject<{
|
|
|
16277
16270
|
titleName?: string | null | undefined;
|
|
16278
16271
|
} | null | undefined;
|
|
16279
16272
|
person: {
|
|
16280
|
-
bioUpdatedAt?: string | null | undefined;
|
|
16281
16273
|
createdAt?: string | null | undefined;
|
|
16282
16274
|
gender?: string | null | undefined;
|
|
16283
16275
|
id: string;
|
|
@@ -16523,7 +16515,6 @@ declare const PagePersonDetailSchemaDefinition: z.ZodObject<{
|
|
|
16523
16515
|
url: string;
|
|
16524
16516
|
}[] | null | undefined;
|
|
16525
16517
|
core: {
|
|
16526
|
-
bioUpdatedAt?: string | null | undefined;
|
|
16527
16518
|
createdAt?: string | null | undefined;
|
|
16528
16519
|
gender?: string | null | undefined;
|
|
16529
16520
|
id: string;
|
|
@@ -17523,7 +17514,6 @@ declare const PagePersonDetailSchemaDefinition: z.ZodObject<{
|
|
|
17523
17514
|
titleName?: string | null | undefined;
|
|
17524
17515
|
} | null | undefined;
|
|
17525
17516
|
person: {
|
|
17526
|
-
bioUpdatedAt?: string | null | undefined;
|
|
17527
17517
|
createdAt?: string | null | undefined;
|
|
17528
17518
|
gender?: string | null | undefined;
|
|
17529
17519
|
id: string;
|
|
@@ -18057,7 +18047,6 @@ declare const PagePersonInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
18057
18047
|
url: string;
|
|
18058
18048
|
}[] | null | undefined;
|
|
18059
18049
|
core: {
|
|
18060
|
-
bioUpdatedAt?: string | null | undefined;
|
|
18061
18050
|
createdAt?: string | null | undefined;
|
|
18062
18051
|
gender?: string | null | undefined;
|
|
18063
18052
|
id: string;
|
|
@@ -19057,7 +19046,6 @@ declare const PagePersonInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
19057
19046
|
titleName?: string | null | undefined;
|
|
19058
19047
|
} | null | undefined;
|
|
19059
19048
|
person: {
|
|
19060
|
-
bioUpdatedAt?: string | null | undefined;
|
|
19061
19049
|
createdAt?: string | null | undefined;
|
|
19062
19050
|
gender?: string | null | undefined;
|
|
19063
19051
|
id: string;
|
|
@@ -19322,7 +19310,6 @@ declare const PagePersonInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
19322
19310
|
url: string;
|
|
19323
19311
|
}[] | null | undefined;
|
|
19324
19312
|
core: {
|
|
19325
|
-
bioUpdatedAt?: string | null | undefined;
|
|
19326
19313
|
createdAt?: string | null | undefined;
|
|
19327
19314
|
gender?: string | null | undefined;
|
|
19328
19315
|
id: string;
|
|
@@ -20322,7 +20309,6 @@ declare const PagePersonInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
20322
20309
|
titleName?: string | null | undefined;
|
|
20323
20310
|
} | null | undefined;
|
|
20324
20311
|
person: {
|
|
20325
|
-
bioUpdatedAt?: string | null | undefined;
|
|
20326
20312
|
createdAt?: string | null | undefined;
|
|
20327
20313
|
gender?: string | null | undefined;
|
|
20328
20314
|
id: string;
|
|
@@ -20591,7 +20577,6 @@ declare const PagePersonSimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
20591
20577
|
titleName?: string | null | undefined;
|
|
20592
20578
|
} | null | undefined;
|
|
20593
20579
|
person: {
|
|
20594
|
-
bioUpdatedAt?: string | null | undefined;
|
|
20595
20580
|
createdAt?: string | null | undefined;
|
|
20596
20581
|
gender?: string | null | undefined;
|
|
20597
20582
|
id: string;
|
|
@@ -20813,7 +20798,6 @@ declare const PagePersonSimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
20813
20798
|
titleName?: string | null | undefined;
|
|
20814
20799
|
} | null | undefined;
|
|
20815
20800
|
person: {
|
|
20816
|
-
bioUpdatedAt?: string | null | undefined;
|
|
20817
20801
|
createdAt?: string | null | undefined;
|
|
20818
20802
|
gender?: string | null | undefined;
|
|
20819
20803
|
id: string;
|
|
@@ -21071,6 +21055,7 @@ declare const PageResultEntityListSchemaDefinition: z.ZodObject<{
|
|
|
21071
21055
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
21072
21056
|
updatedAt?: string | null | undefined;
|
|
21073
21057
|
};
|
|
21058
|
+
coveringRunId?: string | null | undefined;
|
|
21074
21059
|
enrichment: {
|
|
21075
21060
|
address: {
|
|
21076
21061
|
address?: number | null | undefined;
|
|
@@ -21805,6 +21790,7 @@ declare const PageResultEntityListSchemaDefinition: z.ZodObject<{
|
|
|
21805
21790
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
21806
21791
|
updatedAt?: string | null | undefined;
|
|
21807
21792
|
};
|
|
21793
|
+
coveringRunId?: string | null | undefined;
|
|
21808
21794
|
enrichment: {
|
|
21809
21795
|
address: {
|
|
21810
21796
|
address?: number | null | undefined;
|
|
@@ -22561,7 +22547,6 @@ export declare const PageResultNewsSchema: z.ZodType<PageResultNewsDefinition, P
|
|
|
22561
22547
|
export type PageResultNews = z.infer<typeof PageResultNewsSchema>;
|
|
22562
22548
|
declare const PageResultPersonSchemaDefinition: z.ZodObject<{
|
|
22563
22549
|
content: z.ZodArray<z.ZodType<{
|
|
22564
|
-
bioUpdatedAt?: string | null | undefined;
|
|
22565
22550
|
createdAt?: string | null | undefined;
|
|
22566
22551
|
gender?: string | null | undefined;
|
|
22567
22552
|
id: string;
|
|
@@ -22607,7 +22592,6 @@ declare const PageResultPersonSchemaDefinition: z.ZodObject<{
|
|
|
22607
22592
|
};
|
|
22608
22593
|
updatedAt?: string | null | undefined;
|
|
22609
22594
|
}, import("../person/person.ts").PersonSchemaInput, z.core.$ZodTypeInternals<{
|
|
22610
|
-
bioUpdatedAt?: string | null | undefined;
|
|
22611
22595
|
createdAt?: string | null | undefined;
|
|
22612
22596
|
gender?: string | null | undefined;
|
|
22613
22597
|
id: string;
|
package/dist/person/detail.d.ts
CHANGED
|
@@ -308,7 +308,6 @@ declare const PersonDetailSchemaDefinition: z.ZodObject<{
|
|
|
308
308
|
url: string;
|
|
309
309
|
}, import("../blog/post.ts").BlogPostSchemaInput>>>>>;
|
|
310
310
|
core: z.ZodType<{
|
|
311
|
-
bioUpdatedAt?: string | null | undefined;
|
|
312
311
|
createdAt?: string | null | undefined;
|
|
313
312
|
gender?: string | null | undefined;
|
|
314
313
|
id: string;
|
|
@@ -354,7 +353,6 @@ declare const PersonDetailSchemaDefinition: z.ZodObject<{
|
|
|
354
353
|
};
|
|
355
354
|
updatedAt?: string | null | undefined;
|
|
356
355
|
}, import("./person.ts").PersonSchemaInput, z.core.$ZodTypeInternals<{
|
|
357
|
-
bioUpdatedAt?: string | null | undefined;
|
|
358
356
|
createdAt?: string | null | undefined;
|
|
359
357
|
gender?: string | null | undefined;
|
|
360
358
|
id: string;
|
|
@@ -2117,7 +2115,6 @@ declare const PersonDetailSchemaDefinition: z.ZodObject<{
|
|
|
2117
2115
|
titleName?: string | null | undefined;
|
|
2118
2116
|
} | null | undefined;
|
|
2119
2117
|
person: {
|
|
2120
|
-
bioUpdatedAt?: string | null | undefined;
|
|
2121
2118
|
createdAt?: string | null | undefined;
|
|
2122
2119
|
gender?: string | null | undefined;
|
|
2123
2120
|
id: string;
|
|
@@ -2339,7 +2336,6 @@ declare const PersonDetailSchemaDefinition: z.ZodObject<{
|
|
|
2339
2336
|
titleName?: string | null | undefined;
|
|
2340
2337
|
} | null | undefined;
|
|
2341
2338
|
person: {
|
|
2342
|
-
bioUpdatedAt?: string | null | undefined;
|
|
2343
2339
|
createdAt?: string | null | undefined;
|
|
2344
2340
|
gender?: string | null | undefined;
|
|
2345
2341
|
id: string;
|
|
@@ -207,7 +207,6 @@ declare const PersonInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
207
207
|
url: string;
|
|
208
208
|
}[] | null | undefined;
|
|
209
209
|
core: {
|
|
210
|
-
bioUpdatedAt?: string | null | undefined;
|
|
211
210
|
createdAt?: string | null | undefined;
|
|
212
211
|
gender?: string | null | undefined;
|
|
213
212
|
id: string;
|
|
@@ -1207,7 +1206,6 @@ declare const PersonInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
1207
1206
|
titleName?: string | null | undefined;
|
|
1208
1207
|
} | null | undefined;
|
|
1209
1208
|
person: {
|
|
1210
|
-
bioUpdatedAt?: string | null | undefined;
|
|
1211
1209
|
createdAt?: string | null | undefined;
|
|
1212
1210
|
gender?: string | null | undefined;
|
|
1213
1211
|
id: string;
|
|
@@ -1453,7 +1451,6 @@ declare const PersonInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
1453
1451
|
url: string;
|
|
1454
1452
|
}[] | null | undefined;
|
|
1455
1453
|
core: {
|
|
1456
|
-
bioUpdatedAt?: string | null | undefined;
|
|
1457
1454
|
createdAt?: string | null | undefined;
|
|
1458
1455
|
gender?: string | null | undefined;
|
|
1459
1456
|
id: string;
|
|
@@ -2453,7 +2450,6 @@ declare const PersonInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
2453
2450
|
titleName?: string | null | undefined;
|
|
2454
2451
|
} | null | undefined;
|
|
2455
2452
|
person: {
|
|
2456
|
-
bioUpdatedAt?: string | null | undefined;
|
|
2457
2453
|
createdAt?: string | null | undefined;
|
|
2458
2454
|
gender?: string | null | undefined;
|
|
2459
2455
|
id: string;
|
|
@@ -1186,7 +1186,6 @@ declare const PersonNaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
1186
1186
|
}, import("../search/person-profile.ts").SearchPersonProfileSchemaInput>>>;
|
|
1187
1187
|
result: z.ZodType<{
|
|
1188
1188
|
content: {
|
|
1189
|
-
bioUpdatedAt?: string | null | undefined;
|
|
1190
1189
|
createdAt?: string | null | undefined;
|
|
1191
1190
|
gender?: string | null | undefined;
|
|
1192
1191
|
id: string;
|
|
@@ -1238,7 +1237,6 @@ declare const PersonNaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
1238
1237
|
totalPages: number;
|
|
1239
1238
|
}, import("../pagination/schemas.ts").PageResultPersonSchemaInput, z.core.$ZodTypeInternals<{
|
|
1240
1239
|
content: {
|
|
1241
|
-
bioUpdatedAt?: string | null | undefined;
|
|
1242
1240
|
createdAt?: string | null | undefined;
|
|
1243
1241
|
gender?: string | null | undefined;
|
|
1244
1242
|
id: string;
|
package/dist/person/person.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const PersonSchemaDefinition: z.ZodObject<{
|
|
3
|
-
bioUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4
3
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
5
4
|
gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
5
|
id: z.ZodUUID;
|
package/dist/person/person.js
CHANGED
|
@@ -5,8 +5,6 @@ import { EntityNameAliasPersonAliasTypeSchema } from "../entity/name-alias-perso
|
|
|
5
5
|
import { EntityTextBundleSchema } from "../entity/text-bundle.js";
|
|
6
6
|
import { PersonImageSchema } from "./image.js";
|
|
7
7
|
const PersonSchemaDefinition = z.object({
|
|
8
|
-
/** Latest assertion of the person's current biography body, including an unchanged-value citation; legacy rows use creation time, never metadata maintenance; absent without a biography. */
|
|
9
|
-
bioUpdatedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
10
8
|
/** Record creation timestamp */
|
|
11
9
|
createdAt: z.iso.datetime({ offset: true }).nullish(),
|
|
12
10
|
gender: z.string().nullish(),
|
|
@@ -38,7 +36,7 @@ const PersonSchemaDefinition = z.object({
|
|
|
38
36
|
.regex(/^[a-z0-9_-]+$/)
|
|
39
37
|
.max(255),
|
|
40
38
|
suffix: z.string().nullish(),
|
|
41
|
-
/**
|
|
39
|
+
/** Always empty: people carry no biography text. */
|
|
42
40
|
text: EntityTextBundleSchema,
|
|
43
41
|
/** Last modification timestamp */
|
|
44
42
|
updatedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
@@ -264,7 +264,6 @@ declare const PersonSimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
264
264
|
titleName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
265
265
|
}, z.core.$strip>>>;
|
|
266
266
|
person: z.ZodType<{
|
|
267
|
-
bioUpdatedAt?: string | null | undefined;
|
|
268
267
|
createdAt?: string | null | undefined;
|
|
269
268
|
gender?: string | null | undefined;
|
|
270
269
|
id: string;
|
|
@@ -310,7 +309,6 @@ declare const PersonSimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
310
309
|
};
|
|
311
310
|
updatedAt?: string | null | undefined;
|
|
312
311
|
}, import("./person.ts").PersonSchemaInput, z.core.$ZodTypeInternals<{
|
|
313
|
-
bioUpdatedAt?: string | null | undefined;
|
|
314
312
|
createdAt?: string | null | undefined;
|
|
315
313
|
gender?: string | null | undefined;
|
|
316
314
|
id: string;
|
package/dist/search/search.js
CHANGED
|
@@ -35,7 +35,7 @@ const SearchSchemaDefinition = z.object({
|
|
|
35
35
|
resultLimit: z.int().nullish(),
|
|
36
36
|
/** Company or person this search is about; the stored result is filed under that record on a fetch or a cache hit. */
|
|
37
37
|
retrievedFor: EntityPersonOwnerSchema.nullish(),
|
|
38
|
-
/** Search text sent to the upstream web search provider */
|
|
38
|
+
/** Search text sent to the upstream web search provider, at most the search catalog's text.maxSearchTermLength characters; a longer query answers 422 naming that limit, so shorten it rather than retrying. */
|
|
39
39
|
search: z.string(),
|
|
40
40
|
/** Optional label for the calling application, up to 64 characters, stored with the search for attribution and abuse review. */
|
|
41
41
|
source: z.string().max(64).nullish(),
|
package/dist/shared/search.d.ts
CHANGED
|
@@ -912,6 +912,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
912
912
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
913
913
|
updatedAt?: string | null | undefined;
|
|
914
914
|
};
|
|
915
|
+
coveringRunId?: string | null | undefined;
|
|
915
916
|
enrichment: {
|
|
916
917
|
address: {
|
|
917
918
|
address?: number | null | undefined;
|
|
@@ -1663,6 +1664,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1663
1664
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1664
1665
|
updatedAt?: string | null | undefined;
|
|
1665
1666
|
};
|
|
1667
|
+
coveringRunId?: string | null | undefined;
|
|
1666
1668
|
enrichment: {
|
|
1667
1669
|
address: {
|
|
1668
1670
|
address?: number | null | undefined;
|
|
@@ -2404,6 +2406,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
2404
2406
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
2405
2407
|
updatedAt?: string | null | undefined;
|
|
2406
2408
|
};
|
|
2409
|
+
coveringRunId?: string | null | undefined;
|
|
2407
2410
|
enrichment: {
|
|
2408
2411
|
address: {
|
|
2409
2412
|
address?: number | null | undefined;
|
|
@@ -3857,7 +3860,6 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3857
3860
|
url: string;
|
|
3858
3861
|
}[] | null | undefined;
|
|
3859
3862
|
core: {
|
|
3860
|
-
bioUpdatedAt?: string | null | undefined;
|
|
3861
3863
|
createdAt?: string | null | undefined;
|
|
3862
3864
|
gender?: string | null | undefined;
|
|
3863
3865
|
id: string;
|
|
@@ -4857,7 +4859,6 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
4857
4859
|
titleName?: string | null | undefined;
|
|
4858
4860
|
} | null | undefined;
|
|
4859
4861
|
person: {
|
|
4860
|
-
bioUpdatedAt?: string | null | undefined;
|
|
4861
4862
|
createdAt?: string | null | undefined;
|
|
4862
4863
|
gender?: string | null | undefined;
|
|
4863
4864
|
id: string;
|
|
@@ -5919,7 +5920,6 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
5919
5920
|
}[];
|
|
5920
5921
|
result: {
|
|
5921
5922
|
content: {
|
|
5922
|
-
bioUpdatedAt?: string | null | undefined;
|
|
5923
5923
|
createdAt?: string | null | undefined;
|
|
5924
5924
|
gender?: string | null | undefined;
|
|
5925
5925
|
id: string;
|
|
@@ -6163,7 +6163,6 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
6163
6163
|
url: string;
|
|
6164
6164
|
}[] | null | undefined;
|
|
6165
6165
|
core: {
|
|
6166
|
-
bioUpdatedAt?: string | null | undefined;
|
|
6167
6166
|
createdAt?: string | null | undefined;
|
|
6168
6167
|
gender?: string | null | undefined;
|
|
6169
6168
|
id: string;
|
|
@@ -7163,7 +7162,6 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
7163
7162
|
titleName?: string | null | undefined;
|
|
7164
7163
|
} | null | undefined;
|
|
7165
7164
|
person: {
|
|
7166
|
-
bioUpdatedAt?: string | null | undefined;
|
|
7167
7165
|
createdAt?: string | null | undefined;
|
|
7168
7166
|
gender?: string | null | undefined;
|
|
7169
7167
|
id: string;
|
|
@@ -8151,6 +8149,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
8151
8149
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
8152
8150
|
updatedAt?: string | null | undefined;
|
|
8153
8151
|
};
|
|
8152
|
+
coveringRunId?: string | null | undefined;
|
|
8154
8153
|
enrichment: {
|
|
8155
8154
|
address: {
|
|
8156
8155
|
address?: number | null | undefined;
|
|
@@ -8902,6 +8901,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
8902
8901
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
8903
8902
|
updatedAt?: string | null | undefined;
|
|
8904
8903
|
};
|
|
8904
|
+
coveringRunId?: string | null | undefined;
|
|
8905
8905
|
enrichment: {
|
|
8906
8906
|
address: {
|
|
8907
8907
|
address?: number | null | undefined;
|
|
@@ -9643,6 +9643,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
9643
9643
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
9644
9644
|
updatedAt?: string | null | undefined;
|
|
9645
9645
|
};
|
|
9646
|
+
coveringRunId?: string | null | undefined;
|
|
9646
9647
|
enrichment: {
|
|
9647
9648
|
address: {
|
|
9648
9649
|
address?: number | null | undefined;
|
|
@@ -11096,7 +11097,6 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
11096
11097
|
url: string;
|
|
11097
11098
|
}[] | null | undefined;
|
|
11098
11099
|
core: {
|
|
11099
|
-
bioUpdatedAt?: string | null | undefined;
|
|
11100
11100
|
createdAt?: string | null | undefined;
|
|
11101
11101
|
gender?: string | null | undefined;
|
|
11102
11102
|
id: string;
|
|
@@ -12096,7 +12096,6 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
12096
12096
|
titleName?: string | null | undefined;
|
|
12097
12097
|
} | null | undefined;
|
|
12098
12098
|
person: {
|
|
12099
|
-
bioUpdatedAt?: string | null | undefined;
|
|
12100
12099
|
createdAt?: string | null | undefined;
|
|
12101
12100
|
gender?: string | null | undefined;
|
|
12102
12101
|
id: string;
|
|
@@ -13158,7 +13157,6 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
13158
13157
|
}[];
|
|
13159
13158
|
result: {
|
|
13160
13159
|
content: {
|
|
13161
|
-
bioUpdatedAt?: string | null | undefined;
|
|
13162
13160
|
createdAt?: string | null | undefined;
|
|
13163
13161
|
gender?: string | null | undefined;
|
|
13164
13162
|
id: string;
|
|
@@ -13402,7 +13400,6 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
13402
13400
|
url: string;
|
|
13403
13401
|
}[] | null | undefined;
|
|
13404
13402
|
core: {
|
|
13405
|
-
bioUpdatedAt?: string | null | undefined;
|
|
13406
13403
|
createdAt?: string | null | undefined;
|
|
13407
13404
|
gender?: string | null | undefined;
|
|
13408
13405
|
id: string;
|
|
@@ -14402,7 +14399,6 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
14402
14399
|
titleName?: string | null | undefined;
|
|
14403
14400
|
} | null | undefined;
|
|
14404
14401
|
person: {
|
|
14405
|
-
bioUpdatedAt?: string | null | undefined;
|
|
14406
14402
|
createdAt?: string | null | undefined;
|
|
14407
14403
|
gender?: string | null | undefined;
|
|
14408
14404
|
id: string;
|