@aventurevc/api-schemas 0.8.90 → 0.8.91
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/federated/search.d.ts +4 -0
- package/dist/identification/candidate.d.ts +8 -0
- package/dist/identification/candidate.js +8 -0
- package/dist/identification/identification.d.ts +32 -0
- package/dist/link/search.d.ts +4 -0
- package/dist/lookup/job-mention.d.ts +32 -0
- package/dist/lookup/job.d.ts +64 -0
- package/dist/mention/lookup.d.ts +32 -0
- package/dist/natural/search-result.d.ts +1 -0
- package/dist/natural/search-result.js +2 -0
- package/dist/person/natural-search-result.d.ts +1 -0
- package/dist/person/natural-search-result.js +2 -0
- package/dist/shared/search.d.ts +4 -0
- package/package.json +1 -1
|
@@ -1602,6 +1602,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1602
1602
|
totalElements: number;
|
|
1603
1603
|
totalPages: number;
|
|
1604
1604
|
};
|
|
1605
|
+
searchRequestId?: string | null | undefined;
|
|
1605
1606
|
subject: {
|
|
1606
1607
|
core: {
|
|
1607
1608
|
defaultCurrency?: string | null | undefined;
|
|
@@ -3680,6 +3681,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3680
3681
|
totalElements: number;
|
|
3681
3682
|
totalPages: number;
|
|
3682
3683
|
};
|
|
3684
|
+
searchRequestId?: string | null | undefined;
|
|
3683
3685
|
subject: {
|
|
3684
3686
|
core: {
|
|
3685
3687
|
defaultCurrency?: string | null | undefined;
|
|
@@ -6137,6 +6139,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
6137
6139
|
totalElements: number;
|
|
6138
6140
|
totalPages: number;
|
|
6139
6141
|
};
|
|
6142
|
+
searchRequestId?: string | null | undefined;
|
|
6140
6143
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
6141
6144
|
interpretation: {
|
|
6142
6145
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
@@ -6259,6 +6262,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
6259
6262
|
totalElements: number;
|
|
6260
6263
|
totalPages: number;
|
|
6261
6264
|
};
|
|
6265
|
+
searchRequestId?: string | null | undefined;
|
|
6262
6266
|
}, unknown>>;
|
|
6263
6267
|
personDetail: z.ZodArray<z.ZodType<{
|
|
6264
6268
|
articleCount?: number | null | undefined;
|
|
@@ -14,13 +14,20 @@ import { z } from "zod/v4";
|
|
|
14
14
|
* @contractRole canonical
|
|
15
15
|
*/
|
|
16
16
|
export declare const IdentificationCandidateSchema: z.ZodObject<{
|
|
17
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
17
18
|
dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
19
|
+
domainAgreement: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
20
|
+
CONFLICT: "CONFLICT";
|
|
21
|
+
MATCH: "MATCH";
|
|
22
|
+
UNKNOWN: "UNKNOWN";
|
|
23
|
+
}>>>;
|
|
18
24
|
duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
19
25
|
JUDGED: "JUDGED";
|
|
20
26
|
SHARED_FACT: "SHARED_FACT";
|
|
21
27
|
STUB: "STUB";
|
|
22
28
|
}>>>;
|
|
23
29
|
duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
24
31
|
owner: z.ZodObject<{
|
|
25
32
|
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
26
33
|
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -48,6 +55,7 @@ export declare const IdentificationCandidateSchema: z.ZodObject<{
|
|
|
48
55
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
49
56
|
}, unknown>>;
|
|
50
57
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
58
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
59
|
}, z.core.$strip>;
|
|
52
60
|
export type IdentificationCandidate = z.infer<typeof IdentificationCandidateSchema>;
|
|
53
61
|
//# sourceMappingURL=candidate.d.ts.map
|
|
@@ -17,12 +17,18 @@ import { SearchDuplicateCandidateScoreSchema } from "../search/duplicate-candida
|
|
|
17
17
|
* @contractRole canonical
|
|
18
18
|
*/
|
|
19
19
|
export const IdentificationCandidateSchema = z.object({
|
|
20
|
+
/** When the record was created. A hidden record created moments before the lookup is a freshly filed shell, not established coverage. */
|
|
21
|
+
createdAt: z.iso.datetime({ offset: true }).nullish(),
|
|
20
22
|
/** Percentage, 0 to 100, of the entity's required completion-floor slots that pass, as last computed by the background coverage sweep; GET /v1/entities/{entityId}/coverage returns the live per-slot detail. Absent for people, who have no completion floor, and for entities not yet computed. */
|
|
21
23
|
dataCompletionCoverage: z.int().min(0).max(100).nullish(),
|
|
24
|
+
/** Whether this record's stored website agrees with a url the subject supplied; see IdentificationDomainAgreement. */
|
|
25
|
+
domainAgreement: z.enum(["MATCH", "CONFLICT", "UNKNOWN"]).nullish(),
|
|
22
26
|
/** How this record was checked as the picked record stored again; absent when it was not checked. */
|
|
23
27
|
duplicateBasis: z.enum(["STUB", "SHARED_FACT", "JUDGED"]).nullish(),
|
|
24
28
|
/** Decision-model probability, 0 to 1, that this record is the picked record stored again; present only when duplicateBasis is JUDGED. */
|
|
25
29
|
duplicateProbability: z.number().nullish(),
|
|
30
|
+
/** The year the entity was founded, when stored; absent for people and records without one. */
|
|
31
|
+
foundedYear: z.int().nullish(),
|
|
26
32
|
/** Entity identity (entityId) or person identity (personId). record.typeRecord distinguishes a company, product, or service; read it with GET /v1/entities/{entityId} or GET /v1/people/{personId}. */
|
|
27
33
|
owner: EntityPersonOwnerSchema,
|
|
28
34
|
/** Decision-model probability, 0 to 1, that this record is the subject; absent when the answer came from URL proof or the model did not judge this record. */
|
|
@@ -31,5 +37,7 @@ export const IdentificationCandidateSchema = z.object({
|
|
|
31
37
|
record: SearchDuplicateCandidateScoreSchema,
|
|
32
38
|
/** When the stored record was last updated. */
|
|
33
39
|
updatedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
40
|
+
/** The record's current primary website URL as stored. Compare it to the subject's own url before trusting a same-name match; domainAgreement already does. */
|
|
41
|
+
website: z.string().nullish(),
|
|
34
42
|
});
|
|
35
43
|
//# sourceMappingURL=candidate.js.map
|
|
@@ -16,13 +16,20 @@ import { z } from "zod/v4";
|
|
|
16
16
|
*/
|
|
17
17
|
export declare const IdentificationSchema: z.ZodObject<{
|
|
18
18
|
candidate: z.ZodArray<z.ZodObject<{
|
|
19
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
19
20
|
dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
21
|
+
domainAgreement: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
22
|
+
CONFLICT: "CONFLICT";
|
|
23
|
+
MATCH: "MATCH";
|
|
24
|
+
UNKNOWN: "UNKNOWN";
|
|
25
|
+
}>>>;
|
|
20
26
|
duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
21
27
|
JUDGED: "JUDGED";
|
|
22
28
|
SHARED_FACT: "SHARED_FACT";
|
|
23
29
|
STUB: "STUB";
|
|
24
30
|
}>>>;
|
|
25
31
|
duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
|
+
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
26
33
|
owner: z.ZodObject<{
|
|
27
34
|
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
28
35
|
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -50,15 +57,23 @@ export declare const IdentificationSchema: z.ZodObject<{
|
|
|
50
57
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
51
58
|
}, unknown>>;
|
|
52
59
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
60
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
61
|
}, z.core.$strip>>;
|
|
54
62
|
created: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
63
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
55
64
|
dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
65
|
+
domainAgreement: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
66
|
+
CONFLICT: "CONFLICT";
|
|
67
|
+
MATCH: "MATCH";
|
|
68
|
+
UNKNOWN: "UNKNOWN";
|
|
69
|
+
}>>>;
|
|
56
70
|
duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
57
71
|
JUDGED: "JUDGED";
|
|
58
72
|
SHARED_FACT: "SHARED_FACT";
|
|
59
73
|
STUB: "STUB";
|
|
60
74
|
}>>>;
|
|
61
75
|
duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
76
|
+
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
62
77
|
owner: z.ZodObject<{
|
|
63
78
|
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
64
79
|
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -86,16 +101,24 @@ export declare const IdentificationSchema: z.ZodObject<{
|
|
|
86
101
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
87
102
|
}, unknown>>;
|
|
88
103
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
104
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
105
|
}, z.core.$strip>>>;
|
|
90
106
|
detail: z.ZodString;
|
|
91
107
|
duplicate: z.ZodArray<z.ZodObject<{
|
|
108
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
92
109
|
dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
110
|
+
domainAgreement: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
111
|
+
CONFLICT: "CONFLICT";
|
|
112
|
+
MATCH: "MATCH";
|
|
113
|
+
UNKNOWN: "UNKNOWN";
|
|
114
|
+
}>>>;
|
|
93
115
|
duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
94
116
|
JUDGED: "JUDGED";
|
|
95
117
|
SHARED_FACT: "SHARED_FACT";
|
|
96
118
|
STUB: "STUB";
|
|
97
119
|
}>>>;
|
|
98
120
|
duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
121
|
+
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
99
122
|
owner: z.ZodObject<{
|
|
100
123
|
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
101
124
|
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -123,17 +146,25 @@ export declare const IdentificationSchema: z.ZodObject<{
|
|
|
123
146
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
124
147
|
}, unknown>>;
|
|
125
148
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
149
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
126
150
|
}, z.core.$strip>>;
|
|
127
151
|
enrichmentRunId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
128
152
|
languageModelSettled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
129
153
|
match: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
154
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
130
155
|
dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
156
|
+
domainAgreement: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
157
|
+
CONFLICT: "CONFLICT";
|
|
158
|
+
MATCH: "MATCH";
|
|
159
|
+
UNKNOWN: "UNKNOWN";
|
|
160
|
+
}>>>;
|
|
131
161
|
duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
132
162
|
JUDGED: "JUDGED";
|
|
133
163
|
SHARED_FACT: "SHARED_FACT";
|
|
134
164
|
STUB: "STUB";
|
|
135
165
|
}>>>;
|
|
136
166
|
duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
167
|
+
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
137
168
|
owner: z.ZodObject<{
|
|
138
169
|
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
139
170
|
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -161,6 +192,7 @@ export declare const IdentificationSchema: z.ZodObject<{
|
|
|
161
192
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
162
193
|
}, unknown>>;
|
|
163
194
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
195
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
164
196
|
}, z.core.$strip>>>;
|
|
165
197
|
matchConfidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
166
198
|
matchEvidenceProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
package/dist/link/search.d.ts
CHANGED
|
@@ -1604,6 +1604,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
1604
1604
|
totalElements: number;
|
|
1605
1605
|
totalPages: number;
|
|
1606
1606
|
};
|
|
1607
|
+
searchRequestId?: string | null | undefined;
|
|
1607
1608
|
subject: {
|
|
1608
1609
|
core: {
|
|
1609
1610
|
defaultCurrency?: string | null | undefined;
|
|
@@ -3149,6 +3150,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
3149
3150
|
totalElements: number;
|
|
3150
3151
|
totalPages: number;
|
|
3151
3152
|
};
|
|
3153
|
+
searchRequestId?: string | null | undefined;
|
|
3152
3154
|
};
|
|
3153
3155
|
personDetail: {
|
|
3154
3156
|
articleCount?: number | null | undefined;
|
|
@@ -5106,6 +5108,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
5106
5108
|
totalElements: number;
|
|
5107
5109
|
totalPages: number;
|
|
5108
5110
|
};
|
|
5111
|
+
searchRequestId?: string | null | undefined;
|
|
5109
5112
|
subject: {
|
|
5110
5113
|
core: {
|
|
5111
5114
|
defaultCurrency?: string | null | undefined;
|
|
@@ -6651,6 +6654,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
6651
6654
|
totalElements: number;
|
|
6652
6655
|
totalPages: number;
|
|
6653
6656
|
};
|
|
6657
|
+
searchRequestId?: string | null | undefined;
|
|
6654
6658
|
};
|
|
6655
6659
|
personDetail: {
|
|
6656
6660
|
articleCount?: number | null | undefined;
|
|
@@ -955,13 +955,20 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
|
|
|
955
955
|
failureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
956
956
|
identification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
957
957
|
candidate: z.ZodArray<z.ZodObject<{
|
|
958
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
958
959
|
dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
960
|
+
domainAgreement: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
961
|
+
CONFLICT: "CONFLICT";
|
|
962
|
+
MATCH: "MATCH";
|
|
963
|
+
UNKNOWN: "UNKNOWN";
|
|
964
|
+
}>>>;
|
|
959
965
|
duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
960
966
|
JUDGED: "JUDGED";
|
|
961
967
|
SHARED_FACT: "SHARED_FACT";
|
|
962
968
|
STUB: "STUB";
|
|
963
969
|
}>>>;
|
|
964
970
|
duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
971
|
+
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
965
972
|
owner: z.ZodObject<{
|
|
966
973
|
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
967
974
|
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -989,15 +996,23 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
|
|
|
989
996
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
990
997
|
}, unknown>>;
|
|
991
998
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
999
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
992
1000
|
}, z.core.$strip>>;
|
|
993
1001
|
created: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1002
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
994
1003
|
dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1004
|
+
domainAgreement: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1005
|
+
CONFLICT: "CONFLICT";
|
|
1006
|
+
MATCH: "MATCH";
|
|
1007
|
+
UNKNOWN: "UNKNOWN";
|
|
1008
|
+
}>>>;
|
|
995
1009
|
duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
996
1010
|
JUDGED: "JUDGED";
|
|
997
1011
|
SHARED_FACT: "SHARED_FACT";
|
|
998
1012
|
STUB: "STUB";
|
|
999
1013
|
}>>>;
|
|
1000
1014
|
duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1015
|
+
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1001
1016
|
owner: z.ZodObject<{
|
|
1002
1017
|
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
1003
1018
|
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -1025,16 +1040,24 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
|
|
|
1025
1040
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
1026
1041
|
}, unknown>>;
|
|
1027
1042
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1043
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1028
1044
|
}, z.core.$strip>>>;
|
|
1029
1045
|
detail: z.ZodString;
|
|
1030
1046
|
duplicate: z.ZodArray<z.ZodObject<{
|
|
1047
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1031
1048
|
dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1049
|
+
domainAgreement: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1050
|
+
CONFLICT: "CONFLICT";
|
|
1051
|
+
MATCH: "MATCH";
|
|
1052
|
+
UNKNOWN: "UNKNOWN";
|
|
1053
|
+
}>>>;
|
|
1032
1054
|
duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1033
1055
|
JUDGED: "JUDGED";
|
|
1034
1056
|
SHARED_FACT: "SHARED_FACT";
|
|
1035
1057
|
STUB: "STUB";
|
|
1036
1058
|
}>>>;
|
|
1037
1059
|
duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1060
|
+
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1038
1061
|
owner: z.ZodObject<{
|
|
1039
1062
|
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
1040
1063
|
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -1062,17 +1085,25 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
|
|
|
1062
1085
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
1063
1086
|
}, unknown>>;
|
|
1064
1087
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1088
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1065
1089
|
}, z.core.$strip>>;
|
|
1066
1090
|
enrichmentRunId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
1067
1091
|
languageModelSettled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1068
1092
|
match: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1093
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1069
1094
|
dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1095
|
+
domainAgreement: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1096
|
+
CONFLICT: "CONFLICT";
|
|
1097
|
+
MATCH: "MATCH";
|
|
1098
|
+
UNKNOWN: "UNKNOWN";
|
|
1099
|
+
}>>>;
|
|
1070
1100
|
duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1071
1101
|
JUDGED: "JUDGED";
|
|
1072
1102
|
SHARED_FACT: "SHARED_FACT";
|
|
1073
1103
|
STUB: "STUB";
|
|
1074
1104
|
}>>>;
|
|
1075
1105
|
duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1106
|
+
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1076
1107
|
owner: z.ZodObject<{
|
|
1077
1108
|
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
1078
1109
|
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -1100,6 +1131,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
|
|
|
1100
1131
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
1101
1132
|
}, unknown>>;
|
|
1102
1133
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1134
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1103
1135
|
}, z.core.$strip>>>;
|
|
1104
1136
|
matchConfidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1105
1137
|
matchEvidenceProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
package/dist/lookup/job.d.ts
CHANGED
|
@@ -4,13 +4,20 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
4
4
|
failureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
5
|
identification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6
6
|
candidate: z.ZodArray<z.ZodObject<{
|
|
7
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
7
8
|
dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9
|
+
domainAgreement: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
10
|
+
CONFLICT: "CONFLICT";
|
|
11
|
+
MATCH: "MATCH";
|
|
12
|
+
UNKNOWN: "UNKNOWN";
|
|
13
|
+
}>>>;
|
|
8
14
|
duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
9
15
|
JUDGED: "JUDGED";
|
|
10
16
|
SHARED_FACT: "SHARED_FACT";
|
|
11
17
|
STUB: "STUB";
|
|
12
18
|
}>>>;
|
|
13
19
|
duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
+
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
14
21
|
owner: z.ZodObject<{
|
|
15
22
|
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
16
23
|
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -38,15 +45,23 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
38
45
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
39
46
|
}, unknown>>;
|
|
40
47
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
48
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
49
|
}, z.core.$strip>>;
|
|
42
50
|
created: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
51
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
43
52
|
dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
53
|
+
domainAgreement: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
54
|
+
CONFLICT: "CONFLICT";
|
|
55
|
+
MATCH: "MATCH";
|
|
56
|
+
UNKNOWN: "UNKNOWN";
|
|
57
|
+
}>>>;
|
|
44
58
|
duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
45
59
|
JUDGED: "JUDGED";
|
|
46
60
|
SHARED_FACT: "SHARED_FACT";
|
|
47
61
|
STUB: "STUB";
|
|
48
62
|
}>>>;
|
|
49
63
|
duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
64
|
+
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
50
65
|
owner: z.ZodObject<{
|
|
51
66
|
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
52
67
|
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -74,16 +89,24 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
74
89
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
75
90
|
}, unknown>>;
|
|
76
91
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
92
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
93
|
}, z.core.$strip>>>;
|
|
78
94
|
detail: z.ZodString;
|
|
79
95
|
duplicate: z.ZodArray<z.ZodObject<{
|
|
96
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
80
97
|
dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
98
|
+
domainAgreement: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
99
|
+
CONFLICT: "CONFLICT";
|
|
100
|
+
MATCH: "MATCH";
|
|
101
|
+
UNKNOWN: "UNKNOWN";
|
|
102
|
+
}>>>;
|
|
81
103
|
duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
82
104
|
JUDGED: "JUDGED";
|
|
83
105
|
SHARED_FACT: "SHARED_FACT";
|
|
84
106
|
STUB: "STUB";
|
|
85
107
|
}>>>;
|
|
86
108
|
duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
109
|
+
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
87
110
|
owner: z.ZodObject<{
|
|
88
111
|
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
89
112
|
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -111,17 +134,25 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
111
134
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
112
135
|
}, unknown>>;
|
|
113
136
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
137
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
114
138
|
}, z.core.$strip>>;
|
|
115
139
|
enrichmentRunId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
116
140
|
languageModelSettled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
117
141
|
match: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
142
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
118
143
|
dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
144
|
+
domainAgreement: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
145
|
+
CONFLICT: "CONFLICT";
|
|
146
|
+
MATCH: "MATCH";
|
|
147
|
+
UNKNOWN: "UNKNOWN";
|
|
148
|
+
}>>>;
|
|
119
149
|
duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
120
150
|
JUDGED: "JUDGED";
|
|
121
151
|
SHARED_FACT: "SHARED_FACT";
|
|
122
152
|
STUB: "STUB";
|
|
123
153
|
}>>>;
|
|
124
154
|
duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
155
|
+
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
125
156
|
owner: z.ZodObject<{
|
|
126
157
|
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
127
158
|
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -149,6 +180,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
149
180
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
150
181
|
}, unknown>>;
|
|
151
182
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
183
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
152
184
|
}, z.core.$strip>>>;
|
|
153
185
|
matchConfidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
154
186
|
matchEvidenceProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -648,9 +680,12 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
648
680
|
failureReason?: string | null | undefined;
|
|
649
681
|
identification?: {
|
|
650
682
|
candidate: {
|
|
683
|
+
createdAt?: string | null | undefined;
|
|
651
684
|
dataCompletionCoverage?: number | null | undefined;
|
|
685
|
+
domainAgreement?: "CONFLICT" | "MATCH" | "UNKNOWN" | null | undefined;
|
|
652
686
|
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
653
687
|
duplicateProbability?: number | null | undefined;
|
|
688
|
+
foundedYear?: number | null | undefined;
|
|
654
689
|
owner: {
|
|
655
690
|
entityId?: string | null | undefined;
|
|
656
691
|
personId?: string | null | undefined;
|
|
@@ -668,11 +703,15 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
668
703
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
669
704
|
};
|
|
670
705
|
updatedAt?: string | null | undefined;
|
|
706
|
+
website?: string | null | undefined;
|
|
671
707
|
}[];
|
|
672
708
|
created?: {
|
|
709
|
+
createdAt?: string | null | undefined;
|
|
673
710
|
dataCompletionCoverage?: number | null | undefined;
|
|
711
|
+
domainAgreement?: "CONFLICT" | "MATCH" | "UNKNOWN" | null | undefined;
|
|
674
712
|
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
675
713
|
duplicateProbability?: number | null | undefined;
|
|
714
|
+
foundedYear?: number | null | undefined;
|
|
676
715
|
owner: {
|
|
677
716
|
entityId?: string | null | undefined;
|
|
678
717
|
personId?: string | null | undefined;
|
|
@@ -690,12 +729,16 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
690
729
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
691
730
|
};
|
|
692
731
|
updatedAt?: string | null | undefined;
|
|
732
|
+
website?: string | null | undefined;
|
|
693
733
|
} | null | undefined;
|
|
694
734
|
detail: string;
|
|
695
735
|
duplicate: {
|
|
736
|
+
createdAt?: string | null | undefined;
|
|
696
737
|
dataCompletionCoverage?: number | null | undefined;
|
|
738
|
+
domainAgreement?: "CONFLICT" | "MATCH" | "UNKNOWN" | null | undefined;
|
|
697
739
|
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
698
740
|
duplicateProbability?: number | null | undefined;
|
|
741
|
+
foundedYear?: number | null | undefined;
|
|
699
742
|
owner: {
|
|
700
743
|
entityId?: string | null | undefined;
|
|
701
744
|
personId?: string | null | undefined;
|
|
@@ -713,13 +756,17 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
713
756
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
714
757
|
};
|
|
715
758
|
updatedAt?: string | null | undefined;
|
|
759
|
+
website?: string | null | undefined;
|
|
716
760
|
}[];
|
|
717
761
|
enrichmentRunId?: string | null | undefined;
|
|
718
762
|
languageModelSettled?: boolean | null | undefined;
|
|
719
763
|
match?: {
|
|
764
|
+
createdAt?: string | null | undefined;
|
|
720
765
|
dataCompletionCoverage?: number | null | undefined;
|
|
766
|
+
domainAgreement?: "CONFLICT" | "MATCH" | "UNKNOWN" | null | undefined;
|
|
721
767
|
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
722
768
|
duplicateProbability?: number | null | undefined;
|
|
769
|
+
foundedYear?: number | null | undefined;
|
|
723
770
|
owner: {
|
|
724
771
|
entityId?: string | null | undefined;
|
|
725
772
|
personId?: string | null | undefined;
|
|
@@ -737,6 +784,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
737
784
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
738
785
|
};
|
|
739
786
|
updatedAt?: string | null | undefined;
|
|
787
|
+
website?: string | null | undefined;
|
|
740
788
|
} | null | undefined;
|
|
741
789
|
matchConfidence?: number | null | undefined;
|
|
742
790
|
matchEvidenceProbability?: number | null | undefined;
|
|
@@ -1273,9 +1321,12 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
1273
1321
|
failureReason?: string | null | undefined;
|
|
1274
1322
|
identification?: {
|
|
1275
1323
|
candidate: {
|
|
1324
|
+
createdAt?: string | null | undefined;
|
|
1276
1325
|
dataCompletionCoverage?: number | null | undefined;
|
|
1326
|
+
domainAgreement?: "CONFLICT" | "MATCH" | "UNKNOWN" | null | undefined;
|
|
1277
1327
|
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
1278
1328
|
duplicateProbability?: number | null | undefined;
|
|
1329
|
+
foundedYear?: number | null | undefined;
|
|
1279
1330
|
owner: {
|
|
1280
1331
|
entityId?: string | null | undefined;
|
|
1281
1332
|
personId?: string | null | undefined;
|
|
@@ -1293,11 +1344,15 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
1293
1344
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
1294
1345
|
};
|
|
1295
1346
|
updatedAt?: string | null | undefined;
|
|
1347
|
+
website?: string | null | undefined;
|
|
1296
1348
|
}[];
|
|
1297
1349
|
created?: {
|
|
1350
|
+
createdAt?: string | null | undefined;
|
|
1298
1351
|
dataCompletionCoverage?: number | null | undefined;
|
|
1352
|
+
domainAgreement?: "CONFLICT" | "MATCH" | "UNKNOWN" | null | undefined;
|
|
1299
1353
|
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
1300
1354
|
duplicateProbability?: number | null | undefined;
|
|
1355
|
+
foundedYear?: number | null | undefined;
|
|
1301
1356
|
owner: {
|
|
1302
1357
|
entityId?: string | null | undefined;
|
|
1303
1358
|
personId?: string | null | undefined;
|
|
@@ -1315,12 +1370,16 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
1315
1370
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
1316
1371
|
};
|
|
1317
1372
|
updatedAt?: string | null | undefined;
|
|
1373
|
+
website?: string | null | undefined;
|
|
1318
1374
|
} | null | undefined;
|
|
1319
1375
|
detail: string;
|
|
1320
1376
|
duplicate: {
|
|
1377
|
+
createdAt?: string | null | undefined;
|
|
1321
1378
|
dataCompletionCoverage?: number | null | undefined;
|
|
1379
|
+
domainAgreement?: "CONFLICT" | "MATCH" | "UNKNOWN" | null | undefined;
|
|
1322
1380
|
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
1323
1381
|
duplicateProbability?: number | null | undefined;
|
|
1382
|
+
foundedYear?: number | null | undefined;
|
|
1324
1383
|
owner: {
|
|
1325
1384
|
entityId?: string | null | undefined;
|
|
1326
1385
|
personId?: string | null | undefined;
|
|
@@ -1338,13 +1397,17 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
1338
1397
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
1339
1398
|
};
|
|
1340
1399
|
updatedAt?: string | null | undefined;
|
|
1400
|
+
website?: string | null | undefined;
|
|
1341
1401
|
}[];
|
|
1342
1402
|
enrichmentRunId?: string | null | undefined;
|
|
1343
1403
|
languageModelSettled?: boolean | null | undefined;
|
|
1344
1404
|
match?: {
|
|
1405
|
+
createdAt?: string | null | undefined;
|
|
1345
1406
|
dataCompletionCoverage?: number | null | undefined;
|
|
1407
|
+
domainAgreement?: "CONFLICT" | "MATCH" | "UNKNOWN" | null | undefined;
|
|
1346
1408
|
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
1347
1409
|
duplicateProbability?: number | null | undefined;
|
|
1410
|
+
foundedYear?: number | null | undefined;
|
|
1348
1411
|
owner: {
|
|
1349
1412
|
entityId?: string | null | undefined;
|
|
1350
1413
|
personId?: string | null | undefined;
|
|
@@ -1362,6 +1425,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
1362
1425
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
1363
1426
|
};
|
|
1364
1427
|
updatedAt?: string | null | undefined;
|
|
1428
|
+
website?: string | null | undefined;
|
|
1365
1429
|
} | null | undefined;
|
|
1366
1430
|
matchConfidence?: number | null | undefined;
|
|
1367
1431
|
matchEvidenceProbability?: number | null | undefined;
|
package/dist/mention/lookup.d.ts
CHANGED
|
@@ -481,9 +481,12 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
481
481
|
failureReason?: string | null | undefined;
|
|
482
482
|
identification?: {
|
|
483
483
|
candidate: {
|
|
484
|
+
createdAt?: string | null | undefined;
|
|
484
485
|
dataCompletionCoverage?: number | null | undefined;
|
|
486
|
+
domainAgreement?: "CONFLICT" | "MATCH" | "UNKNOWN" | null | undefined;
|
|
485
487
|
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
486
488
|
duplicateProbability?: number | null | undefined;
|
|
489
|
+
foundedYear?: number | null | undefined;
|
|
487
490
|
owner: {
|
|
488
491
|
entityId?: string | null | undefined;
|
|
489
492
|
personId?: string | null | undefined;
|
|
@@ -501,11 +504,15 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
501
504
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
502
505
|
};
|
|
503
506
|
updatedAt?: string | null | undefined;
|
|
507
|
+
website?: string | null | undefined;
|
|
504
508
|
}[];
|
|
505
509
|
created?: {
|
|
510
|
+
createdAt?: string | null | undefined;
|
|
506
511
|
dataCompletionCoverage?: number | null | undefined;
|
|
512
|
+
domainAgreement?: "CONFLICT" | "MATCH" | "UNKNOWN" | null | undefined;
|
|
507
513
|
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
508
514
|
duplicateProbability?: number | null | undefined;
|
|
515
|
+
foundedYear?: number | null | undefined;
|
|
509
516
|
owner: {
|
|
510
517
|
entityId?: string | null | undefined;
|
|
511
518
|
personId?: string | null | undefined;
|
|
@@ -523,12 +530,16 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
523
530
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
524
531
|
};
|
|
525
532
|
updatedAt?: string | null | undefined;
|
|
533
|
+
website?: string | null | undefined;
|
|
526
534
|
} | null | undefined;
|
|
527
535
|
detail: string;
|
|
528
536
|
duplicate: {
|
|
537
|
+
createdAt?: string | null | undefined;
|
|
529
538
|
dataCompletionCoverage?: number | null | undefined;
|
|
539
|
+
domainAgreement?: "CONFLICT" | "MATCH" | "UNKNOWN" | null | undefined;
|
|
530
540
|
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
531
541
|
duplicateProbability?: number | null | undefined;
|
|
542
|
+
foundedYear?: number | null | undefined;
|
|
532
543
|
owner: {
|
|
533
544
|
entityId?: string | null | undefined;
|
|
534
545
|
personId?: string | null | undefined;
|
|
@@ -546,13 +557,17 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
546
557
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
547
558
|
};
|
|
548
559
|
updatedAt?: string | null | undefined;
|
|
560
|
+
website?: string | null | undefined;
|
|
549
561
|
}[];
|
|
550
562
|
enrichmentRunId?: string | null | undefined;
|
|
551
563
|
languageModelSettled?: boolean | null | undefined;
|
|
552
564
|
match?: {
|
|
565
|
+
createdAt?: string | null | undefined;
|
|
553
566
|
dataCompletionCoverage?: number | null | undefined;
|
|
567
|
+
domainAgreement?: "CONFLICT" | "MATCH" | "UNKNOWN" | null | undefined;
|
|
554
568
|
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
555
569
|
duplicateProbability?: number | null | undefined;
|
|
570
|
+
foundedYear?: number | null | undefined;
|
|
556
571
|
owner: {
|
|
557
572
|
entityId?: string | null | undefined;
|
|
558
573
|
personId?: string | null | undefined;
|
|
@@ -570,6 +585,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
570
585
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
571
586
|
};
|
|
572
587
|
updatedAt?: string | null | undefined;
|
|
588
|
+
website?: string | null | undefined;
|
|
573
589
|
} | null | undefined;
|
|
574
590
|
matchConfidence?: number | null | undefined;
|
|
575
591
|
matchEvidenceProbability?: number | null | undefined;
|
|
@@ -1106,9 +1122,12 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
1106
1122
|
failureReason?: string | null | undefined;
|
|
1107
1123
|
identification?: {
|
|
1108
1124
|
candidate: {
|
|
1125
|
+
createdAt?: string | null | undefined;
|
|
1109
1126
|
dataCompletionCoverage?: number | null | undefined;
|
|
1127
|
+
domainAgreement?: "CONFLICT" | "MATCH" | "UNKNOWN" | null | undefined;
|
|
1110
1128
|
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
1111
1129
|
duplicateProbability?: number | null | undefined;
|
|
1130
|
+
foundedYear?: number | null | undefined;
|
|
1112
1131
|
owner: {
|
|
1113
1132
|
entityId?: string | null | undefined;
|
|
1114
1133
|
personId?: string | null | undefined;
|
|
@@ -1126,11 +1145,15 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
1126
1145
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
1127
1146
|
};
|
|
1128
1147
|
updatedAt?: string | null | undefined;
|
|
1148
|
+
website?: string | null | undefined;
|
|
1129
1149
|
}[];
|
|
1130
1150
|
created?: {
|
|
1151
|
+
createdAt?: string | null | undefined;
|
|
1131
1152
|
dataCompletionCoverage?: number | null | undefined;
|
|
1153
|
+
domainAgreement?: "CONFLICT" | "MATCH" | "UNKNOWN" | null | undefined;
|
|
1132
1154
|
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
1133
1155
|
duplicateProbability?: number | null | undefined;
|
|
1156
|
+
foundedYear?: number | null | undefined;
|
|
1134
1157
|
owner: {
|
|
1135
1158
|
entityId?: string | null | undefined;
|
|
1136
1159
|
personId?: string | null | undefined;
|
|
@@ -1148,12 +1171,16 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
1148
1171
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
1149
1172
|
};
|
|
1150
1173
|
updatedAt?: string | null | undefined;
|
|
1174
|
+
website?: string | null | undefined;
|
|
1151
1175
|
} | null | undefined;
|
|
1152
1176
|
detail: string;
|
|
1153
1177
|
duplicate: {
|
|
1178
|
+
createdAt?: string | null | undefined;
|
|
1154
1179
|
dataCompletionCoverage?: number | null | undefined;
|
|
1180
|
+
domainAgreement?: "CONFLICT" | "MATCH" | "UNKNOWN" | null | undefined;
|
|
1155
1181
|
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
1156
1182
|
duplicateProbability?: number | null | undefined;
|
|
1183
|
+
foundedYear?: number | null | undefined;
|
|
1157
1184
|
owner: {
|
|
1158
1185
|
entityId?: string | null | undefined;
|
|
1159
1186
|
personId?: string | null | undefined;
|
|
@@ -1171,13 +1198,17 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
1171
1198
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
1172
1199
|
};
|
|
1173
1200
|
updatedAt?: string | null | undefined;
|
|
1201
|
+
website?: string | null | undefined;
|
|
1174
1202
|
}[];
|
|
1175
1203
|
enrichmentRunId?: string | null | undefined;
|
|
1176
1204
|
languageModelSettled?: boolean | null | undefined;
|
|
1177
1205
|
match?: {
|
|
1206
|
+
createdAt?: string | null | undefined;
|
|
1178
1207
|
dataCompletionCoverage?: number | null | undefined;
|
|
1208
|
+
domainAgreement?: "CONFLICT" | "MATCH" | "UNKNOWN" | null | undefined;
|
|
1179
1209
|
duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
|
|
1180
1210
|
duplicateProbability?: number | null | undefined;
|
|
1211
|
+
foundedYear?: number | null | undefined;
|
|
1181
1212
|
owner: {
|
|
1182
1213
|
entityId?: string | null | undefined;
|
|
1183
1214
|
personId?: string | null | undefined;
|
|
@@ -1195,6 +1226,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
1195
1226
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
1196
1227
|
};
|
|
1197
1228
|
updatedAt?: string | null | undefined;
|
|
1229
|
+
website?: string | null | undefined;
|
|
1198
1230
|
} | null | undefined;
|
|
1199
1231
|
matchConfidence?: number | null | undefined;
|
|
1200
1232
|
matchEvidenceProbability?: number | null | undefined;
|
|
@@ -3193,6 +3193,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
3193
3193
|
totalElements: number;
|
|
3194
3194
|
totalPages: number;
|
|
3195
3195
|
}, unknown>>;
|
|
3196
|
+
searchRequestId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
3196
3197
|
subject: z.ZodArray<z.ZodType<{
|
|
3197
3198
|
core: {
|
|
3198
3199
|
defaultCurrency?: string | null | undefined;
|
|
@@ -22,6 +22,8 @@ const NaturalSearchResultSchemaDefinition = z.object({
|
|
|
22
22
|
pendingWebQuery: z.array(z.string()),
|
|
23
23
|
/** Entity list page returned by the canonical entity list engine. */
|
|
24
24
|
result: PageResultEntityListSchema,
|
|
25
|
+
/** Id of this search's stored record; send it with createSearchInteraction to record which results the user selected or opened. Null when the search was not recorded. */
|
|
26
|
+
searchRequestId: z.uuid().nullish(),
|
|
25
27
|
/** Entities the question is about, one per resolved subject name, in query order; empty when the question names none or none resolves. */
|
|
26
28
|
subject: z.array(EntityListSchema),
|
|
27
29
|
});
|
|
@@ -240,6 +240,7 @@ declare const PersonNaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
240
240
|
totalElements: number;
|
|
241
241
|
totalPages: number;
|
|
242
242
|
}, unknown>>;
|
|
243
|
+
searchRequestId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
243
244
|
}, z.core.$strip>;
|
|
244
245
|
type PersonNaturalSearchResultDefinition = z.infer<typeof PersonNaturalSearchResultSchemaDefinition>;
|
|
245
246
|
/**
|
|
@@ -7,6 +7,8 @@ const PersonNaturalSearchResultSchemaDefinition = z.object({
|
|
|
7
7
|
interpretation: PersonSearchInterpretationSchema,
|
|
8
8
|
/** Person page returned by the canonical person list engine. */
|
|
9
9
|
result: PageResultPersonSchema,
|
|
10
|
+
/** Id of this search's stored record; send it with createSearchInteraction to record which results the user selected or opened. Null when the search was not recorded. */
|
|
11
|
+
searchRequestId: z.uuid().nullish(),
|
|
10
12
|
});
|
|
11
13
|
/**
|
|
12
14
|
* Natural-language people search result: planner interpretation plus the canonical person page produced by the person list engine.
|
package/dist/shared/search.d.ts
CHANGED
|
@@ -1614,6 +1614,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1614
1614
|
totalElements: number;
|
|
1615
1615
|
totalPages: number;
|
|
1616
1616
|
};
|
|
1617
|
+
searchRequestId?: string | null | undefined;
|
|
1617
1618
|
subject: {
|
|
1618
1619
|
core: {
|
|
1619
1620
|
defaultCurrency?: string | null | undefined;
|
|
@@ -3159,6 +3160,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3159
3160
|
totalElements: number;
|
|
3160
3161
|
totalPages: number;
|
|
3161
3162
|
};
|
|
3163
|
+
searchRequestId?: string | null | undefined;
|
|
3162
3164
|
};
|
|
3163
3165
|
personDetail: {
|
|
3164
3166
|
articleCount?: number | null | undefined;
|
|
@@ -5116,6 +5118,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
5116
5118
|
totalElements: number;
|
|
5117
5119
|
totalPages: number;
|
|
5118
5120
|
};
|
|
5121
|
+
searchRequestId?: string | null | undefined;
|
|
5119
5122
|
subject: {
|
|
5120
5123
|
core: {
|
|
5121
5124
|
defaultCurrency?: string | null | undefined;
|
|
@@ -6661,6 +6664,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
6661
6664
|
totalElements: number;
|
|
6662
6665
|
totalPages: number;
|
|
6663
6666
|
};
|
|
6667
|
+
searchRequestId?: string | null | undefined;
|
|
6664
6668
|
};
|
|
6665
6669
|
personDetail: {
|
|
6666
6670
|
articleCount?: number | null | undefined;
|