@aventurevc/api-schemas 0.8.90 → 0.8.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/dist/content/embedding-match.d.ts +1 -0
  2. package/dist/content/embedding-match.js +1 -0
  3. package/dist/datasource/source-metadata.d.ts +26 -0
  4. package/dist/datasource/source-metadata.js +26 -0
  5. package/dist/entity/alias-type.d.ts +1 -0
  6. package/dist/entity/alias-type.js +1 -0
  7. package/dist/entity/entity.d.ts +2 -0
  8. package/dist/entity/entity.js +2 -0
  9. package/dist/entity/filter-search.d.ts +3 -0
  10. package/dist/entity/filter.d.ts +3 -0
  11. package/dist/entity/funding-detail.d.ts +1 -0
  12. package/dist/entity/funding-detail.js +1 -0
  13. package/dist/entity/fundraise-filter-criteria.d.ts +3 -0
  14. package/dist/entity/fundraise-filter-criteria.js +6 -0
  15. package/dist/entity/fundraise-transaction-entity.d.ts +1 -0
  16. package/dist/entity/fundraise-transaction-entity.js +1 -0
  17. package/dist/entity/fundraise-transaction.d.ts +2 -0
  18. package/dist/entity/fundraise-transaction.js +2 -0
  19. package/dist/entity/image.d.ts +1 -0
  20. package/dist/entity/image.js +1 -0
  21. package/dist/entity/list-filter.d.ts +3 -0
  22. package/dist/entity/name-alias-entity-alias-type.d.ts +1 -0
  23. package/dist/entity/name-alias-entity-alias-type.js +1 -0
  24. package/dist/entity/natural-search.d.ts +3 -0
  25. package/dist/entity/person-owner.d.ts +1 -0
  26. package/dist/entity/person-owner.js +1 -0
  27. package/dist/entity/sitemap.d.ts +1 -0
  28. package/dist/entity/sitemap.js +1 -0
  29. package/dist/federated/natural-search.d.ts +11 -1
  30. package/dist/federated/search.d.ts +578 -0
  31. package/dist/funding/stage.d.ts +1 -0
  32. package/dist/funding/stage.js +1 -0
  33. package/dist/fundraise/data-confidence.d.ts +1 -0
  34. package/dist/fundraise/data-confidence.js +1 -0
  35. package/dist/fundraise/investment-attribution-type.d.ts +1 -0
  36. package/dist/fundraise/investment-attribution-type.js +1 -0
  37. package/dist/fundraise/investment-attribution.d.ts +1 -0
  38. package/dist/fundraise/investment-attribution.js +1 -0
  39. package/dist/fundraise/investment-evidence.d.ts +214 -0
  40. package/dist/fundraise/investment-evidence.js +32 -0
  41. package/dist/identification/candidate.d.ts +8 -0
  42. package/dist/identification/candidate.js +8 -0
  43. package/dist/identification/identification.d.ts +32 -0
  44. package/dist/link/search.d.ts +578 -0
  45. package/dist/lookup/job-mention.d.ts +32 -0
  46. package/dist/lookup/job.d.ts +64 -0
  47. package/dist/mention/lookup.d.ts +32 -0
  48. package/dist/natural/search-result.d.ts +322 -0
  49. package/dist/natural/search-result.js +5 -0
  50. package/dist/natural/search.d.ts +8 -1
  51. package/dist/openapi-component-manifest.js +9 -0
  52. package/dist/person/natural-search-result.d.ts +252 -0
  53. package/dist/person/natural-search-result.js +5 -0
  54. package/dist/round/label.d.ts +1 -0
  55. package/dist/round/label.js +1 -0
  56. package/dist/search/answer-citation.d.ts +6 -1
  57. package/dist/search/answer-citation.js +1 -1
  58. package/dist/search/evidence-source.d.ts +7 -9
  59. package/dist/search/evidence-source.js +5 -6
  60. package/dist/search/interpretation.d.ts +6 -0
  61. package/dist/search/investment.d.ts +269 -0
  62. package/dist/search/investment.js +29 -0
  63. package/dist/search/judgment.d.ts +50 -0
  64. package/dist/search/judgment.js +3 -0
  65. package/dist/search/mode-execution.d.ts +16 -2
  66. package/dist/search/mode.d.ts +8 -11
  67. package/dist/search/mode.js +4 -5
  68. package/dist/search/passage.d.ts +6 -1
  69. package/dist/shared/search.d.ts +578 -0
  70. package/package.json +1 -1
@@ -25,6 +25,7 @@ import { z } from "zod/v4";
25
25
  * @endpoint POST /v1/lookup-mentions
26
26
  * @endpoint POST /v1/search
27
27
  * @endpoint POST /v1/search/natural/entities
28
+ * @endpoint POST /v1/search/natural/people
28
29
  * @endpoint POST /v1/search/shared
29
30
  * @usedBySchema EntityComparisonSignalsSchema
30
31
  * @usedBySchema EntityFundingDetailSchema
@@ -26,6 +26,7 @@ import { z } from "zod/v4";
26
26
  * @endpoint POST /v1/lookup-mentions
27
27
  * @endpoint POST /v1/search
28
28
  * @endpoint POST /v1/search/natural/entities
29
+ * @endpoint POST /v1/search/natural/people
29
30
  * @endpoint POST /v1/search/shared
30
31
  * @usedBySchema EntityComparisonSignalsSchema
31
32
  * @usedBySchema EntityFundingDetailSchema
@@ -24,6 +24,7 @@ import { z } from "zod/v4";
24
24
  * @endpoint POST /v1/lookup-mentions
25
25
  * @endpoint POST /v1/search
26
26
  * @endpoint POST /v1/search/natural/entities
27
+ * @endpoint POST /v1/search/natural/people
27
28
  * @endpoint POST /v1/search/shared
28
29
  * @usedBySchema EntityAcquisitionSchema
29
30
  * @usedBySchema EntityFundraiseTransactionSchema
@@ -25,6 +25,7 @@ import { z } from "zod/v4";
25
25
  * @endpoint POST /v1/lookup-mentions
26
26
  * @endpoint POST /v1/search
27
27
  * @endpoint POST /v1/search/natural/entities
28
+ * @endpoint POST /v1/search/natural/people
28
29
  * @endpoint POST /v1/search/shared
29
30
  * @usedBySchema EntityAcquisitionSchema
30
31
  * @usedBySchema EntityFundraiseTransactionSchema
@@ -27,6 +27,7 @@ import { z } from "zod/v4";
27
27
  * @endpoint POST /v1/people/lookup-batch
28
28
  * @endpoint POST /v1/search
29
29
  * @endpoint POST /v1/search/natural/entities
30
+ * @endpoint POST /v1/search/natural/people
30
31
  * @endpoint POST /v1/search/shared
31
32
  * @usedBySchema FundraiseInvestmentAttributionSchema
32
33
  * @contractShape fundraise.investment-attribution-type
@@ -28,6 +28,7 @@ import { z } from "zod/v4";
28
28
  * @endpoint POST /v1/people/lookup-batch
29
29
  * @endpoint POST /v1/search
30
30
  * @endpoint POST /v1/search/natural/entities
31
+ * @endpoint POST /v1/search/natural/people
31
32
  * @endpoint POST /v1/search/shared
32
33
  * @usedBySchema FundraiseInvestmentAttributionSchema
33
34
  * @contractShape fundraise.investment-attribution-type
@@ -27,6 +27,7 @@ import { z } from "zod/v4";
27
27
  * @endpoint POST /v1/people/lookup-batch
28
28
  * @endpoint POST /v1/search
29
29
  * @endpoint POST /v1/search/natural/entities
30
+ * @endpoint POST /v1/search/natural/people
30
31
  * @endpoint POST /v1/search/shared
31
32
  * @usedBySchema EntityFundraiseTransactionSchema
32
33
  * @usedBySchema EntityInvestorParticipationSchema
@@ -30,6 +30,7 @@ import { RoundLabelSchema } from "../round/label.js";
30
30
  * @endpoint POST /v1/people/lookup-batch
31
31
  * @endpoint POST /v1/search
32
32
  * @endpoint POST /v1/search/natural/entities
33
+ * @endpoint POST /v1/search/natural/people
33
34
  * @endpoint POST /v1/search/shared
34
35
  * @usedBySchema EntityFundraiseTransactionSchema
35
36
  * @usedBySchema EntityInvestorParticipationSchema
@@ -0,0 +1,214 @@
1
+ import { z } from "zod/v4";
2
+ declare const FundraiseInvestmentEvidenceSchemaDefinition: z.ZodObject<{
3
+ fundManagerRelationshipSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4
+ changedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
5
+ dataSourceUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
6
+ pendingApproval: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
7
+ sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ }, z.core.$strip>>>;
10
+ fundraiseTransaction: z.ZodType<{
11
+ amountRaised?: number | null | undefined;
12
+ createdAt?: string | null | undefined;
13
+ currency?: string | null | undefined;
14
+ dataConfidence?: "High" | "Low" | "Medium" | "Verified" | null | undefined;
15
+ dateAnnounced?: string | null | undefined;
16
+ dateFundingComplete?: string | null | undefined;
17
+ dateInvestorExit?: string | null | undefined;
18
+ entity?: {
19
+ core: {
20
+ defaultCurrency?: string | null | undefined;
21
+ foundedYear?: number | null | undefined;
22
+ id: string;
23
+ image: {
24
+ isMonogram: boolean;
25
+ logo?: string | null | undefined;
26
+ logoSquare?: string | null | undefined;
27
+ };
28
+ lastModifiedAt?: string | null | undefined;
29
+ nameAlias: {
30
+ displayable?: boolean | null | undefined;
31
+ name: string;
32
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
33
+ }[];
34
+ nameBrand: string;
35
+ nameLegal?: string | null | undefined;
36
+ operatingStatus?: string | null | undefined;
37
+ publicId?: string | null | undefined;
38
+ publicUrl?: string | null | undefined;
39
+ sitemap?: {
40
+ hasAcquisitions?: boolean | undefined;
41
+ hasAnalysis: boolean;
42
+ hasEmployees: boolean;
43
+ hasFundraising: boolean;
44
+ hasNews: boolean;
45
+ productServiceSlug: string[];
46
+ } | null | undefined;
47
+ slug: string;
48
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
49
+ updatedAt?: string | null | undefined;
50
+ };
51
+ fundingDetail?: {
52
+ currency?: string | null | undefined;
53
+ fundingRoundCount: number;
54
+ investorCount: number;
55
+ latestValuation?: number | null | undefined;
56
+ mostRecentAmount?: number | null | undefined;
57
+ mostRecentDate?: string | null | undefined;
58
+ stage?: "Acquired" | "Acquired Subsidiary" | "Angel" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Pre-Seed" | "Public" | "Seed" | "Series A" | "Series B" | "Series C" | "Series D" | "Series E" | "Series F" | "Series G" | "Series H" | "Series I" | "Series J" | "Series K" | "Series L" | "Series M" | "Series N" | "Series O" | "Series P" | "Series Q" | "Series R" | "Series S" | "Series T" | "Series U" | "Series V" | "Series W" | "Series X" | "Series Y" | "Series Z" | null | undefined;
59
+ totalRaised: number;
60
+ } | null | undefined;
61
+ } | null | undefined;
62
+ id: string;
63
+ investorAttribution?: {
64
+ amountInvested?: number | null | undefined;
65
+ attributionType: "direct" | "managedFund";
66
+ beneficialEntityId?: string | null | undefined;
67
+ fundManagerRelationshipId?: number | null | undefined;
68
+ joinId: string;
69
+ leadInvestor: boolean;
70
+ recordedEntityId?: string | null | undefined;
71
+ round?: {
72
+ round: string;
73
+ } | null | undefined;
74
+ transactionId: string;
75
+ } | null | undefined;
76
+ investorCount?: number | null | undefined;
77
+ round?: string | null | undefined;
78
+ sourceAttribution: {
79
+ amountInvested?: number | null | undefined;
80
+ attributionType: "direct" | "managedFund";
81
+ beneficialEntityId?: string | null | undefined;
82
+ fundManagerRelationshipId?: number | null | undefined;
83
+ joinId: string;
84
+ leadInvestor: boolean;
85
+ recordedEntityId?: string | null | undefined;
86
+ round?: {
87
+ round: string;
88
+ } | null | undefined;
89
+ transactionId: string;
90
+ }[];
91
+ updatedAt?: string | null | undefined;
92
+ valuationPostMoney?: number | null | undefined;
93
+ valuationPreMoney?: number | null | undefined;
94
+ }, unknown, z.core.$ZodTypeInternals<{
95
+ amountRaised?: number | null | undefined;
96
+ createdAt?: string | null | undefined;
97
+ currency?: string | null | undefined;
98
+ dataConfidence?: "High" | "Low" | "Medium" | "Verified" | null | undefined;
99
+ dateAnnounced?: string | null | undefined;
100
+ dateFundingComplete?: string | null | undefined;
101
+ dateInvestorExit?: string | null | undefined;
102
+ entity?: {
103
+ core: {
104
+ defaultCurrency?: string | null | undefined;
105
+ foundedYear?: number | null | undefined;
106
+ id: string;
107
+ image: {
108
+ isMonogram: boolean;
109
+ logo?: string | null | undefined;
110
+ logoSquare?: string | null | undefined;
111
+ };
112
+ lastModifiedAt?: string | null | undefined;
113
+ nameAlias: {
114
+ displayable?: boolean | null | undefined;
115
+ name: string;
116
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
117
+ }[];
118
+ nameBrand: string;
119
+ nameLegal?: string | null | undefined;
120
+ operatingStatus?: string | null | undefined;
121
+ publicId?: string | null | undefined;
122
+ publicUrl?: string | null | undefined;
123
+ sitemap?: {
124
+ hasAcquisitions?: boolean | undefined;
125
+ hasAnalysis: boolean;
126
+ hasEmployees: boolean;
127
+ hasFundraising: boolean;
128
+ hasNews: boolean;
129
+ productServiceSlug: string[];
130
+ } | null | undefined;
131
+ slug: string;
132
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
133
+ updatedAt?: string | null | undefined;
134
+ };
135
+ fundingDetail?: {
136
+ currency?: string | null | undefined;
137
+ fundingRoundCount: number;
138
+ investorCount: number;
139
+ latestValuation?: number | null | undefined;
140
+ mostRecentAmount?: number | null | undefined;
141
+ mostRecentDate?: string | null | undefined;
142
+ stage?: "Acquired" | "Acquired Subsidiary" | "Angel" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Pre-Seed" | "Public" | "Seed" | "Series A" | "Series B" | "Series C" | "Series D" | "Series E" | "Series F" | "Series G" | "Series H" | "Series I" | "Series J" | "Series K" | "Series L" | "Series M" | "Series N" | "Series O" | "Series P" | "Series Q" | "Series R" | "Series S" | "Series T" | "Series U" | "Series V" | "Series W" | "Series X" | "Series Y" | "Series Z" | null | undefined;
143
+ totalRaised: number;
144
+ } | null | undefined;
145
+ } | null | undefined;
146
+ id: string;
147
+ investorAttribution?: {
148
+ amountInvested?: number | null | undefined;
149
+ attributionType: "direct" | "managedFund";
150
+ beneficialEntityId?: string | null | undefined;
151
+ fundManagerRelationshipId?: number | null | undefined;
152
+ joinId: string;
153
+ leadInvestor: boolean;
154
+ recordedEntityId?: string | null | undefined;
155
+ round?: {
156
+ round: string;
157
+ } | null | undefined;
158
+ transactionId: string;
159
+ } | null | undefined;
160
+ investorCount?: number | null | undefined;
161
+ round?: string | null | undefined;
162
+ sourceAttribution: {
163
+ amountInvested?: number | null | undefined;
164
+ attributionType: "direct" | "managedFund";
165
+ beneficialEntityId?: string | null | undefined;
166
+ fundManagerRelationshipId?: number | null | undefined;
167
+ joinId: string;
168
+ leadInvestor: boolean;
169
+ recordedEntityId?: string | null | undefined;
170
+ round?: {
171
+ round: string;
172
+ } | null | undefined;
173
+ transactionId: string;
174
+ }[];
175
+ updatedAt?: string | null | undefined;
176
+ valuationPostMoney?: number | null | undefined;
177
+ valuationPreMoney?: number | null | undefined;
178
+ }, unknown>>;
179
+ fundraiseTransactionSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
180
+ changedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
181
+ dataSourceUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
182
+ pendingApproval: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
183
+ sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
184
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
185
+ }, z.core.$strip>>>;
186
+ investorJoinSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
187
+ changedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
188
+ dataSourceUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
189
+ pendingApproval: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
190
+ sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
191
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
192
+ }, z.core.$strip>>>;
193
+ }, z.core.$strip>;
194
+ type FundraiseInvestmentEvidenceDefinition = z.infer<typeof FundraiseInvestmentEvidenceSchemaDefinition>;
195
+ /**
196
+ * Canonical transaction, participation attribution, and their owning source metadata.
197
+ *
198
+ * @openapiSchema FundraiseInvestmentEvidence
199
+ * @endpoint GET /v1/search/link
200
+ * @endpoint GET /v1/search/link/jobs/{jobId}
201
+ * @endpoint GET /v1/search/shared/{id}
202
+ * @endpoint GET /v1/search/shared/slug/{slug}
203
+ * @endpoint POST /v1/search
204
+ * @endpoint POST /v1/search/natural/entities
205
+ * @endpoint POST /v1/search/natural/people
206
+ * @endpoint POST /v1/search/shared
207
+ * @usedBySchema SearchInvestmentSchema
208
+ * @contractShape fundraise.investment-evidence
209
+ * @contractRole canonical
210
+ */
211
+ export declare const FundraiseInvestmentEvidenceSchema: z.ZodType<FundraiseInvestmentEvidenceDefinition>;
212
+ export type FundraiseInvestmentEvidence = z.infer<typeof FundraiseInvestmentEvidenceSchema>;
213
+ export {};
214
+ //# sourceMappingURL=investment-evidence.d.ts.map
@@ -0,0 +1,32 @@
1
+ // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
+ import { z } from "zod/v4";
3
+ import { DatasourceSourceMetadataSchema } from "../datasource/source-metadata.js";
4
+ import { EntityFundraiseTransactionSchema } from "../entity/fundraise-transaction.js";
5
+ const FundraiseInvestmentEvidenceSchemaDefinition = z.object({
6
+ /** Source metadata of a managed-fund relationship, when used. */
7
+ fundManagerRelationshipSource: DatasourceSourceMetadataSchema.nullish(),
8
+ /** Recorded round with investor-specific and source attribution. */
9
+ fundraiseTransaction: EntityFundraiseTransactionSchema,
10
+ /** Source metadata of the fundraise transaction. */
11
+ fundraiseTransactionSource: DatasourceSourceMetadataSchema.nullish(),
12
+ /** Source metadata of the selected investment participation. */
13
+ investorJoinSource: DatasourceSourceMetadataSchema.nullish(),
14
+ });
15
+ /**
16
+ * Canonical transaction, participation attribution, and their owning source metadata.
17
+ *
18
+ * @openapiSchema FundraiseInvestmentEvidence
19
+ * @endpoint GET /v1/search/link
20
+ * @endpoint GET /v1/search/link/jobs/{jobId}
21
+ * @endpoint GET /v1/search/shared/{id}
22
+ * @endpoint GET /v1/search/shared/slug/{slug}
23
+ * @endpoint POST /v1/search
24
+ * @endpoint POST /v1/search/natural/entities
25
+ * @endpoint POST /v1/search/natural/people
26
+ * @endpoint POST /v1/search/shared
27
+ * @usedBySchema SearchInvestmentSchema
28
+ * @contractShape fundraise.investment-evidence
29
+ * @contractRole canonical
30
+ */
31
+ export const FundraiseInvestmentEvidenceSchema = FundraiseInvestmentEvidenceSchemaDefinition;
32
+ //# sourceMappingURL=investment-evidence.js.map
@@ -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>>;