@aventurevc/api-schemas 0.8.24 → 0.8.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entity/accelerator-participation.d.ts +2 -2
- package/dist/entity/acquisition.d.ts +8 -5
- package/dist/entity/acquisition.js +3 -1
- package/dist/entity/detail.d.ts +34 -12
- package/dist/entity/entity.d.ts +2 -2
- package/dist/entity/entity.js +1 -1
- package/dist/entity/fundraise-transaction-entity.d.ts +2 -2
- package/dist/entity/fundraise-transaction.d.ts +2 -2
- package/dist/entity/investor-participation.d.ts +34 -12
- package/dist/entity/list-research.d.ts +10 -2
- package/dist/entity/list.d.ts +14 -6
- package/dist/entity/relationship.d.ts +6 -3
- package/dist/entity/relationship.js +3 -2
- package/dist/entity/research-detail.d.ts +4 -0
- package/dist/entity/research-detail.js +3 -0
- package/dist/entity/research-public-source.d.ts +42 -0
- package/dist/entity/research-public-source.js +44 -0
- package/dist/entity/research-snippet.d.ts +4 -0
- package/dist/entity/research-snippet.js +3 -0
- package/dist/entity/research.d.ts +14 -2
- package/dist/entity/resolution.d.ts +34 -12
- package/dist/entity/similarity-result.d.ts +14 -6
- package/dist/entity/similarity-summary.d.ts +2 -2
- package/dist/entity/text.d.ts +0 -1
- package/dist/entity/text.js +0 -1
- package/dist/federated/search.d.ts +14 -6
- package/dist/harness/run-detail.d.ts +4 -4
- package/dist/identification/candidate.d.ts +1 -0
- package/dist/identification/candidate.js +1 -0
- package/dist/identification/identification.d.ts +1 -0
- package/dist/identification/identification.js +1 -0
- package/dist/link/search.d.ts +14 -6
- package/dist/logo/accuracy.d.ts +0 -9
- package/dist/logo/accuracy.js +0 -3
- package/dist/lookup/job-mention.d.ts +14 -6
- package/dist/lookup/job.d.ts +14 -6
- package/dist/media/upload.d.ts +0 -18
- package/dist/media/upload.js +0 -3
- package/dist/mention/lookup.d.ts +14 -6
- package/dist/natural/search-result.d.ts +14 -6
- package/dist/openapi-component-manifest.js +4 -4
- package/dist/pagination/schemas.d.ts +156 -66
- package/dist/person/detail.d.ts +2 -2
- package/dist/person/graph-career-context.d.ts +4 -4
- package/dist/person/graph-co-investor.d.ts +2 -2
- package/dist/person/graph-similar-entity.d.ts +2 -2
- package/dist/person/graph.d.ts +6 -6
- package/dist/person/invested-company.d.ts +2 -2
- package/dist/person/investment.d.ts +2 -2
- package/dist/person/investor-participation.d.ts +2 -2
- package/package.json +1 -1
- package/dist/datasource/source-metadata.d.ts +0 -24
- package/dist/datasource/source-metadata.js +0 -24
|
@@ -17,6 +17,10 @@ declare const EntityResearchDetailSchemaDefinition: z.ZodObject<{
|
|
|
17
17
|
discreteValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
18
|
entityId: z.ZodUUID;
|
|
19
19
|
id: z.ZodInt;
|
|
20
|
+
publicSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
21
|
+
changedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
22
|
+
sourceDetail: z.ZodString;
|
|
23
|
+
}, z.core.$strip>>>;
|
|
20
24
|
textValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
25
|
typeResearchDetail: z.ZodString;
|
|
22
26
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
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
2
|
import { z } from "zod/v4";
|
|
3
|
+
import { EntityResearchPublicSourceSchema } from "./research-public-source.js";
|
|
3
4
|
import { EntityResearchValueTypeSchema } from "./research-value-type.js";
|
|
4
5
|
import { ResearchDerivedRangeSchema } from "../research/derived-range.js";
|
|
5
6
|
const EntityResearchDetailSchemaDefinition = z.object({
|
|
@@ -10,6 +11,8 @@ const EntityResearchDetailSchemaDefinition = z.object({
|
|
|
10
11
|
/** Canonical entity UUID */
|
|
11
12
|
entityId: z.uuid(),
|
|
12
13
|
id: z.int(),
|
|
14
|
+
/** Published page behind this value, read from its provenance; absent for internal sources. */
|
|
15
|
+
publicSource: EntityResearchPublicSourceSchema.nullish(),
|
|
13
16
|
textValue: z.string().nullish(),
|
|
14
17
|
typeResearchDetail: z.string(),
|
|
15
18
|
updatedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Published page behind a research value, read from its provenance. Absent when the value came from an internal source.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema EntityResearchPublicSource
|
|
6
|
+
* @endpoint GET /v1/entities
|
|
7
|
+
* @endpoint GET /v1/entities/lookup-exact
|
|
8
|
+
* @endpoint GET /v1/search/link
|
|
9
|
+
* @endpoint GET /v1/entities/{entityId}
|
|
10
|
+
* @endpoint GET /v1/entities/{entityId}/acquisitions
|
|
11
|
+
* @endpoint GET /v1/entities/{entityId}/acquisitions/{relationshipId}
|
|
12
|
+
* @endpoint GET /v1/entities/{entityId}/investors
|
|
13
|
+
* @endpoint GET /v1/entities/{entityId}/relationships
|
|
14
|
+
* @endpoint GET /v1/entities/{entityId}/research
|
|
15
|
+
* @endpoint GET /v1/entities/{entityId}/research-details
|
|
16
|
+
* @endpoint GET /v1/entities/{entityId}/research-details/{detailId}
|
|
17
|
+
* @endpoint GET /v1/entities/{entityId}/research-snippets
|
|
18
|
+
* @endpoint GET /v1/entities/{entityId}/research-snippets/{snippetId}
|
|
19
|
+
* @endpoint GET /v1/entities/{entityId}/similar
|
|
20
|
+
* @endpoint GET /v1/entities/relationships/{relationshipId}
|
|
21
|
+
* @endpoint GET /v1/lookup-jobs/{jobId}
|
|
22
|
+
* @endpoint POST /v1/entities/lookup-batch
|
|
23
|
+
* @endpoint POST /v1/entities/lookup-matches
|
|
24
|
+
* @endpoint POST /v1/entities/natural-search
|
|
25
|
+
* @endpoint POST /v1/entities/search
|
|
26
|
+
* @endpoint POST /v1/lookup-mentions
|
|
27
|
+
* @endpoint POST /v1/search
|
|
28
|
+
* @endpoint POST /v1/search/all
|
|
29
|
+
* @endpoint POST /v1/search/natural/entities
|
|
30
|
+
* @usedBySchema EntityAcquisitionSchema
|
|
31
|
+
* @usedBySchema EntityRelationshipSchema
|
|
32
|
+
* @usedBySchema EntityResearchDetailSchema
|
|
33
|
+
* @usedBySchema EntityResearchSnippetSchema
|
|
34
|
+
* @contractShape entity.research-public-source
|
|
35
|
+
* @contractRole canonical
|
|
36
|
+
*/
|
|
37
|
+
export declare const EntityResearchPublicSourceSchema: z.ZodObject<{
|
|
38
|
+
changedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
39
|
+
sourceDetail: z.ZodString;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
export type EntityResearchPublicSource = z.infer<typeof EntityResearchPublicSourceSchema>;
|
|
42
|
+
//# sourceMappingURL=research-public-source.d.ts.map
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
/**
|
|
4
|
+
* Published page behind a research value, read from its provenance. Absent when the value came from an internal source.
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema EntityResearchPublicSource
|
|
7
|
+
* @endpoint GET /v1/entities
|
|
8
|
+
* @endpoint GET /v1/entities/lookup-exact
|
|
9
|
+
* @endpoint GET /v1/search/link
|
|
10
|
+
* @endpoint GET /v1/entities/{entityId}
|
|
11
|
+
* @endpoint GET /v1/entities/{entityId}/acquisitions
|
|
12
|
+
* @endpoint GET /v1/entities/{entityId}/acquisitions/{relationshipId}
|
|
13
|
+
* @endpoint GET /v1/entities/{entityId}/investors
|
|
14
|
+
* @endpoint GET /v1/entities/{entityId}/relationships
|
|
15
|
+
* @endpoint GET /v1/entities/{entityId}/research
|
|
16
|
+
* @endpoint GET /v1/entities/{entityId}/research-details
|
|
17
|
+
* @endpoint GET /v1/entities/{entityId}/research-details/{detailId}
|
|
18
|
+
* @endpoint GET /v1/entities/{entityId}/research-snippets
|
|
19
|
+
* @endpoint GET /v1/entities/{entityId}/research-snippets/{snippetId}
|
|
20
|
+
* @endpoint GET /v1/entities/{entityId}/similar
|
|
21
|
+
* @endpoint GET /v1/entities/relationships/{relationshipId}
|
|
22
|
+
* @endpoint GET /v1/lookup-jobs/{jobId}
|
|
23
|
+
* @endpoint POST /v1/entities/lookup-batch
|
|
24
|
+
* @endpoint POST /v1/entities/lookup-matches
|
|
25
|
+
* @endpoint POST /v1/entities/natural-search
|
|
26
|
+
* @endpoint POST /v1/entities/search
|
|
27
|
+
* @endpoint POST /v1/lookup-mentions
|
|
28
|
+
* @endpoint POST /v1/search
|
|
29
|
+
* @endpoint POST /v1/search/all
|
|
30
|
+
* @endpoint POST /v1/search/natural/entities
|
|
31
|
+
* @usedBySchema EntityAcquisitionSchema
|
|
32
|
+
* @usedBySchema EntityRelationshipSchema
|
|
33
|
+
* @usedBySchema EntityResearchDetailSchema
|
|
34
|
+
* @usedBySchema EntityResearchSnippetSchema
|
|
35
|
+
* @contractShape entity.research-public-source
|
|
36
|
+
* @contractRole canonical
|
|
37
|
+
*/
|
|
38
|
+
export const EntityResearchPublicSourceSchema = z.object({
|
|
39
|
+
/** When the value was last written from this source. */
|
|
40
|
+
changedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
41
|
+
/** URL of the published page supporting the value. */
|
|
42
|
+
sourceDetail: z.string(),
|
|
43
|
+
});
|
|
44
|
+
//# sourceMappingURL=research-public-source.js.map
|
|
@@ -26,6 +26,10 @@ export declare const EntityResearchSnippetSchema: z.ZodObject<{
|
|
|
26
26
|
}, z.core.$strip>>>;
|
|
27
27
|
entityId: z.ZodUUID;
|
|
28
28
|
id: z.ZodInt;
|
|
29
|
+
publicSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
|
+
changedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
31
|
+
sourceDetail: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>>;
|
|
29
33
|
text: z.ZodString;
|
|
30
34
|
textType: z.ZodString;
|
|
31
35
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
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
2
|
import { z } from "zod/v4";
|
|
3
3
|
import { ContentComplianceSchema } from "../content/compliance.js";
|
|
4
|
+
import { EntityResearchPublicSourceSchema } from "./research-public-source.js";
|
|
4
5
|
/**
|
|
5
6
|
* Persisted research snippet row for one entity.
|
|
6
7
|
*
|
|
@@ -25,6 +26,8 @@ export const EntityResearchSnippetSchema = z.object({
|
|
|
25
26
|
/** Canonical entity UUID */
|
|
26
27
|
entityId: z.uuid(),
|
|
27
28
|
id: z.int(),
|
|
29
|
+
/** Published page behind this value, read from its provenance; absent for internal sources. */
|
|
30
|
+
publicSource: EntityResearchPublicSourceSchema.nullish(),
|
|
28
31
|
text: z.string(),
|
|
29
32
|
textType: z.string(),
|
|
30
33
|
updatedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
@@ -30,7 +30,7 @@ declare const EntityResearchSchemaDefinition: z.ZodObject<{
|
|
|
30
30
|
productServiceSlug: string[];
|
|
31
31
|
} | null | undefined;
|
|
32
32
|
slug: string;
|
|
33
|
-
typeRecord
|
|
33
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
34
34
|
updatedAt?: string | null | undefined;
|
|
35
35
|
};
|
|
36
36
|
acceleratorName: string;
|
|
@@ -69,7 +69,7 @@ declare const EntityResearchSchemaDefinition: z.ZodObject<{
|
|
|
69
69
|
productServiceSlug: string[];
|
|
70
70
|
} | null | undefined;
|
|
71
71
|
slug: string;
|
|
72
|
-
typeRecord
|
|
72
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
73
73
|
updatedAt?: string | null | undefined;
|
|
74
74
|
};
|
|
75
75
|
acceleratorName: string;
|
|
@@ -90,6 +90,10 @@ declare const EntityResearchSchemaDefinition: z.ZodObject<{
|
|
|
90
90
|
discreteValue?: number | null | undefined;
|
|
91
91
|
entityId: string;
|
|
92
92
|
id: number;
|
|
93
|
+
publicSource?: {
|
|
94
|
+
changedAt?: string | null | undefined;
|
|
95
|
+
sourceDetail: string;
|
|
96
|
+
} | null | undefined;
|
|
93
97
|
textValue?: string | null | undefined;
|
|
94
98
|
typeResearchDetail: string;
|
|
95
99
|
updatedAt?: string | null | undefined;
|
|
@@ -106,6 +110,10 @@ declare const EntityResearchSchemaDefinition: z.ZodObject<{
|
|
|
106
110
|
discreteValue?: number | null | undefined;
|
|
107
111
|
entityId: string;
|
|
108
112
|
id: number;
|
|
113
|
+
publicSource?: {
|
|
114
|
+
changedAt?: string | null | undefined;
|
|
115
|
+
sourceDetail: string;
|
|
116
|
+
} | null | undefined;
|
|
109
117
|
textValue?: string | null | undefined;
|
|
110
118
|
typeResearchDetail: string;
|
|
111
119
|
updatedAt?: string | null | undefined;
|
|
@@ -121,6 +129,10 @@ declare const EntityResearchSchemaDefinition: z.ZodObject<{
|
|
|
121
129
|
}, z.core.$strip>>>;
|
|
122
130
|
entityId: z.ZodUUID;
|
|
123
131
|
id: z.ZodInt;
|
|
132
|
+
publicSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
133
|
+
changedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
134
|
+
sourceDetail: z.ZodString;
|
|
135
|
+
}, z.core.$strip>>>;
|
|
124
136
|
text: z.ZodString;
|
|
125
137
|
textType: z.ZodString;
|
|
126
138
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -39,7 +39,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
39
39
|
productServiceSlug: z.ZodArray<z.ZodString>;
|
|
40
40
|
}, z.core.$strip>>>;
|
|
41
41
|
slug: z.ZodString;
|
|
42
|
-
typeRecord: z.
|
|
42
|
+
typeRecord: z.ZodEnum<{
|
|
43
43
|
"Business Line": "Business Line";
|
|
44
44
|
Company: "Company";
|
|
45
45
|
Fund: "Fund";
|
|
@@ -49,7 +49,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
49
49
|
Organization: "Organization";
|
|
50
50
|
Product: "Product";
|
|
51
51
|
Service: "Service";
|
|
52
|
-
}
|
|
52
|
+
}>;
|
|
53
53
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
54
54
|
}, z.core.$strip>;
|
|
55
55
|
enrichment: z.ZodType<{
|
|
@@ -647,7 +647,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
647
647
|
productServiceSlug: string[];
|
|
648
648
|
} | null | undefined;
|
|
649
649
|
slug: string;
|
|
650
|
-
typeRecord
|
|
650
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
651
651
|
updatedAt?: string | null | undefined;
|
|
652
652
|
};
|
|
653
653
|
fundingDetail?: {
|
|
@@ -731,7 +731,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
731
731
|
productServiceSlug: string[];
|
|
732
732
|
} | null | undefined;
|
|
733
733
|
slug: string;
|
|
734
|
-
typeRecord
|
|
734
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
735
735
|
updatedAt?: string | null | undefined;
|
|
736
736
|
};
|
|
737
737
|
fundingDetail?: {
|
|
@@ -1092,7 +1092,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1092
1092
|
productServiceSlug: string[];
|
|
1093
1093
|
} | null | undefined;
|
|
1094
1094
|
slug: string;
|
|
1095
|
-
typeRecord
|
|
1095
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1096
1096
|
updatedAt?: string | null | undefined;
|
|
1097
1097
|
};
|
|
1098
1098
|
};
|
|
@@ -1420,7 +1420,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1420
1420
|
productServiceSlug: string[];
|
|
1421
1421
|
} | null | undefined;
|
|
1422
1422
|
slug: string;
|
|
1423
|
-
typeRecord
|
|
1423
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1424
1424
|
updatedAt?: string | null | undefined;
|
|
1425
1425
|
};
|
|
1426
1426
|
};
|
|
@@ -1506,15 +1506,18 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1506
1506
|
productServiceSlug: string[];
|
|
1507
1507
|
} | null | undefined;
|
|
1508
1508
|
slug: string;
|
|
1509
|
-
typeRecord
|
|
1509
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1510
1510
|
updatedAt?: string | null | undefined;
|
|
1511
1511
|
};
|
|
1512
1512
|
id?: number | null | undefined;
|
|
1513
1513
|
isCurrent?: boolean | null | undefined;
|
|
1514
1514
|
isPrimary?: boolean | null | undefined;
|
|
1515
|
+
publicSource?: {
|
|
1516
|
+
changedAt?: string | null | undefined;
|
|
1517
|
+
sourceDetail: string;
|
|
1518
|
+
} | null | undefined;
|
|
1515
1519
|
relationship: /*elided*/ any[];
|
|
1516
1520
|
relationshipType: string;
|
|
1517
|
-
source?: string | null | undefined;
|
|
1518
1521
|
sourceEntityId?: string | null | undefined;
|
|
1519
1522
|
targetEntityId?: string | null | undefined;
|
|
1520
1523
|
updatedAt?: string | null | undefined;
|
|
@@ -1559,15 +1562,18 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1559
1562
|
productServiceSlug: string[];
|
|
1560
1563
|
} | null | undefined;
|
|
1561
1564
|
slug: string;
|
|
1562
|
-
typeRecord
|
|
1565
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1563
1566
|
updatedAt?: string | null | undefined;
|
|
1564
1567
|
};
|
|
1565
1568
|
id?: number | null | undefined;
|
|
1566
1569
|
isCurrent?: boolean | null | undefined;
|
|
1567
1570
|
isPrimary?: boolean | null | undefined;
|
|
1571
|
+
publicSource?: {
|
|
1572
|
+
changedAt?: string | null | undefined;
|
|
1573
|
+
sourceDetail: string;
|
|
1574
|
+
} | null | undefined;
|
|
1568
1575
|
relationship: any[];
|
|
1569
1576
|
relationshipType: string;
|
|
1570
|
-
source?: string | null | undefined;
|
|
1571
1577
|
sourceEntityId?: string | null | undefined;
|
|
1572
1578
|
targetEntityId?: string | null | undefined;
|
|
1573
1579
|
updatedAt?: string | null | undefined;
|
|
@@ -1603,7 +1609,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1603
1609
|
productServiceSlug: string[];
|
|
1604
1610
|
} | null | undefined;
|
|
1605
1611
|
slug: string;
|
|
1606
|
-
typeRecord
|
|
1612
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1607
1613
|
updatedAt?: string | null | undefined;
|
|
1608
1614
|
};
|
|
1609
1615
|
acceleratorName: string;
|
|
@@ -1624,6 +1630,10 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1624
1630
|
discreteValue?: number | null | undefined;
|
|
1625
1631
|
entityId: string;
|
|
1626
1632
|
id: number;
|
|
1633
|
+
publicSource?: {
|
|
1634
|
+
changedAt?: string | null | undefined;
|
|
1635
|
+
sourceDetail: string;
|
|
1636
|
+
} | null | undefined;
|
|
1627
1637
|
textValue?: string | null | undefined;
|
|
1628
1638
|
typeResearchDetail: string;
|
|
1629
1639
|
updatedAt?: string | null | undefined;
|
|
@@ -1639,6 +1649,10 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1639
1649
|
} | null | undefined;
|
|
1640
1650
|
entityId: string;
|
|
1641
1651
|
id: number;
|
|
1652
|
+
publicSource?: {
|
|
1653
|
+
changedAt?: string | null | undefined;
|
|
1654
|
+
sourceDetail: string;
|
|
1655
|
+
} | null | undefined;
|
|
1642
1656
|
text: string;
|
|
1643
1657
|
textType: string;
|
|
1644
1658
|
updatedAt?: string | null | undefined;
|
|
@@ -1674,7 +1688,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1674
1688
|
productServiceSlug: string[];
|
|
1675
1689
|
} | null | undefined;
|
|
1676
1690
|
slug: string;
|
|
1677
|
-
typeRecord
|
|
1691
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1678
1692
|
updatedAt?: string | null | undefined;
|
|
1679
1693
|
};
|
|
1680
1694
|
acceleratorName: string;
|
|
@@ -1695,6 +1709,10 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1695
1709
|
discreteValue?: number | null | undefined;
|
|
1696
1710
|
entityId: string;
|
|
1697
1711
|
id: number;
|
|
1712
|
+
publicSource?: {
|
|
1713
|
+
changedAt?: string | null | undefined;
|
|
1714
|
+
sourceDetail: string;
|
|
1715
|
+
} | null | undefined;
|
|
1698
1716
|
textValue?: string | null | undefined;
|
|
1699
1717
|
typeResearchDetail: string;
|
|
1700
1718
|
updatedAt?: string | null | undefined;
|
|
@@ -1710,6 +1728,10 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1710
1728
|
} | null | undefined;
|
|
1711
1729
|
entityId: string;
|
|
1712
1730
|
id: number;
|
|
1731
|
+
publicSource?: {
|
|
1732
|
+
changedAt?: string | null | undefined;
|
|
1733
|
+
sourceDetail: string;
|
|
1734
|
+
} | null | undefined;
|
|
1713
1735
|
text: string;
|
|
1714
1736
|
textType: string;
|
|
1715
1737
|
updatedAt?: string | null | undefined;
|
|
@@ -30,7 +30,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
30
30
|
productServiceSlug: string[];
|
|
31
31
|
} | null | undefined;
|
|
32
32
|
slug: string;
|
|
33
|
-
typeRecord
|
|
33
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
34
34
|
updatedAt?: string | null | undefined;
|
|
35
35
|
};
|
|
36
36
|
enrichment: {
|
|
@@ -350,7 +350,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
350
350
|
productServiceSlug: string[];
|
|
351
351
|
} | null | undefined;
|
|
352
352
|
slug: string;
|
|
353
|
-
typeRecord
|
|
353
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
354
354
|
updatedAt?: string | null | undefined;
|
|
355
355
|
};
|
|
356
356
|
fundingDetail?: {
|
|
@@ -428,7 +428,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
428
428
|
productServiceSlug: string[];
|
|
429
429
|
} | null | undefined;
|
|
430
430
|
slug: string;
|
|
431
|
-
typeRecord
|
|
431
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
432
432
|
updatedAt?: string | null | undefined;
|
|
433
433
|
};
|
|
434
434
|
acceleratorName: string;
|
|
@@ -449,6 +449,10 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
449
449
|
discreteValue?: number | null | undefined;
|
|
450
450
|
entityId: string;
|
|
451
451
|
id: number;
|
|
452
|
+
publicSource?: {
|
|
453
|
+
changedAt?: string | null | undefined;
|
|
454
|
+
sourceDetail: string;
|
|
455
|
+
} | null | undefined;
|
|
452
456
|
textValue?: string | null | undefined;
|
|
453
457
|
typeResearchDetail: string;
|
|
454
458
|
updatedAt?: string | null | undefined;
|
|
@@ -498,7 +502,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
498
502
|
productServiceSlug: string[];
|
|
499
503
|
} | null | undefined;
|
|
500
504
|
slug: string;
|
|
501
|
-
typeRecord
|
|
505
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
502
506
|
updatedAt?: string | null | undefined;
|
|
503
507
|
};
|
|
504
508
|
enrichment: {
|
|
@@ -818,7 +822,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
818
822
|
productServiceSlug: string[];
|
|
819
823
|
} | null | undefined;
|
|
820
824
|
slug: string;
|
|
821
|
-
typeRecord
|
|
825
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
822
826
|
updatedAt?: string | null | undefined;
|
|
823
827
|
};
|
|
824
828
|
fundingDetail?: {
|
|
@@ -896,7 +900,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
896
900
|
productServiceSlug: string[];
|
|
897
901
|
} | null | undefined;
|
|
898
902
|
slug: string;
|
|
899
|
-
typeRecord
|
|
903
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
900
904
|
updatedAt?: string | null | undefined;
|
|
901
905
|
};
|
|
902
906
|
acceleratorName: string;
|
|
@@ -917,6 +921,10 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
917
921
|
discreteValue?: number | null | undefined;
|
|
918
922
|
entityId: string;
|
|
919
923
|
id: number;
|
|
924
|
+
publicSource?: {
|
|
925
|
+
changedAt?: string | null | undefined;
|
|
926
|
+
sourceDetail: string;
|
|
927
|
+
} | null | undefined;
|
|
920
928
|
textValue?: string | null | undefined;
|
|
921
929
|
typeResearchDetail: string;
|
|
922
930
|
updatedAt?: string | null | undefined;
|
|
@@ -37,7 +37,7 @@ declare const EntitySimilaritySummarySchemaDefinition: z.ZodObject<{
|
|
|
37
37
|
productServiceSlug: z.ZodArray<z.ZodString>;
|
|
38
38
|
}, z.core.$strip>>>;
|
|
39
39
|
slug: z.ZodString;
|
|
40
|
-
typeRecord: z.
|
|
40
|
+
typeRecord: z.ZodEnum<{
|
|
41
41
|
"Business Line": "Business Line";
|
|
42
42
|
Company: "Company";
|
|
43
43
|
Fund: "Fund";
|
|
@@ -47,7 +47,7 @@ declare const EntitySimilaritySummarySchemaDefinition: z.ZodObject<{
|
|
|
47
47
|
Organization: "Organization";
|
|
48
48
|
Product: "Product";
|
|
49
49
|
Service: "Service";
|
|
50
|
-
}
|
|
50
|
+
}>;
|
|
51
51
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
52
52
|
}, z.core.$strip>;
|
|
53
53
|
similarity: z.ZodType<{
|
package/dist/entity/text.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ declare const EntityTextSchemaDefinition: z.ZodObject<{
|
|
|
15
15
|
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
16
16
|
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
17
17
|
}, z.core.$strip>;
|
|
18
|
-
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
18
|
text: z.ZodString;
|
|
20
19
|
textName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
20
|
textType: z.ZodString;
|
package/dist/entity/text.js
CHANGED
|
@@ -13,7 +13,6 @@ const EntityTextSchemaDefinition = z.object({
|
|
|
13
13
|
language: z.string().nullish(),
|
|
14
14
|
/** Owning record, nested ids only: owner.entityId or owner.personId — exactly one is set, and no name fields. Writes are scoped by the owning entity/person route; owner is never a write field. */
|
|
15
15
|
owner: EntityPersonOwnerSchema,
|
|
16
|
-
source: z.string().nullish(),
|
|
17
16
|
text: z.string(),
|
|
18
17
|
textName: z.string().nullish(),
|
|
19
18
|
/** Value object for text type classification */
|
|
@@ -147,7 +147,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
147
147
|
productServiceSlug: string[];
|
|
148
148
|
} | null | undefined;
|
|
149
149
|
slug: string;
|
|
150
|
-
typeRecord
|
|
150
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
151
151
|
updatedAt?: string | null | undefined;
|
|
152
152
|
};
|
|
153
153
|
enrichment: {
|
|
@@ -467,7 +467,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
467
467
|
productServiceSlug: string[];
|
|
468
468
|
} | null | undefined;
|
|
469
469
|
slug: string;
|
|
470
|
-
typeRecord
|
|
470
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
471
471
|
updatedAt?: string | null | undefined;
|
|
472
472
|
};
|
|
473
473
|
fundingDetail?: {
|
|
@@ -545,7 +545,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
545
545
|
productServiceSlug: string[];
|
|
546
546
|
} | null | undefined;
|
|
547
547
|
slug: string;
|
|
548
|
-
typeRecord
|
|
548
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
549
549
|
updatedAt?: string | null | undefined;
|
|
550
550
|
};
|
|
551
551
|
acceleratorName: string;
|
|
@@ -566,6 +566,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
566
566
|
discreteValue?: number | null | undefined;
|
|
567
567
|
entityId: string;
|
|
568
568
|
id: number;
|
|
569
|
+
publicSource?: {
|
|
570
|
+
changedAt?: string | null | undefined;
|
|
571
|
+
sourceDetail: string;
|
|
572
|
+
} | null | undefined;
|
|
569
573
|
textValue?: string | null | undefined;
|
|
570
574
|
typeResearchDetail: string;
|
|
571
575
|
updatedAt?: string | null | undefined;
|
|
@@ -738,7 +742,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
738
742
|
productServiceSlug: string[];
|
|
739
743
|
} | null | undefined;
|
|
740
744
|
slug: string;
|
|
741
|
-
typeRecord
|
|
745
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
742
746
|
updatedAt?: string | null | undefined;
|
|
743
747
|
};
|
|
744
748
|
enrichment: {
|
|
@@ -1058,7 +1062,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1058
1062
|
productServiceSlug: string[];
|
|
1059
1063
|
} | null | undefined;
|
|
1060
1064
|
slug: string;
|
|
1061
|
-
typeRecord
|
|
1065
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1062
1066
|
updatedAt?: string | null | undefined;
|
|
1063
1067
|
};
|
|
1064
1068
|
fundingDetail?: {
|
|
@@ -1136,7 +1140,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1136
1140
|
productServiceSlug: string[];
|
|
1137
1141
|
} | null | undefined;
|
|
1138
1142
|
slug: string;
|
|
1139
|
-
typeRecord
|
|
1143
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1140
1144
|
updatedAt?: string | null | undefined;
|
|
1141
1145
|
};
|
|
1142
1146
|
acceleratorName: string;
|
|
@@ -1157,6 +1161,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1157
1161
|
discreteValue?: number | null | undefined;
|
|
1158
1162
|
entityId: string;
|
|
1159
1163
|
id: number;
|
|
1164
|
+
publicSource?: {
|
|
1165
|
+
changedAt?: string | null | undefined;
|
|
1166
|
+
sourceDetail: string;
|
|
1167
|
+
} | null | undefined;
|
|
1160
1168
|
textValue?: string | null | undefined;
|
|
1161
1169
|
typeResearchDetail: string;
|
|
1162
1170
|
updatedAt?: string | null | undefined;
|
|
@@ -37,7 +37,7 @@ declare const HarnessRunDetailSchemaDefinition: z.ZodObject<{
|
|
|
37
37
|
productServiceSlug: z.ZodArray<z.ZodString>;
|
|
38
38
|
}, z.core.$strip>>>;
|
|
39
39
|
slug: z.ZodString;
|
|
40
|
-
typeRecord: z.
|
|
40
|
+
typeRecord: z.ZodEnum<{
|
|
41
41
|
"Business Line": "Business Line";
|
|
42
42
|
Company: "Company";
|
|
43
43
|
Fund: "Fund";
|
|
@@ -47,7 +47,7 @@ declare const HarnessRunDetailSchemaDefinition: z.ZodObject<{
|
|
|
47
47
|
Organization: "Organization";
|
|
48
48
|
Product: "Product";
|
|
49
49
|
Service: "Service";
|
|
50
|
-
}
|
|
50
|
+
}>;
|
|
51
51
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
52
52
|
}, z.core.$strip>>>;
|
|
53
53
|
latestStatus: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -95,7 +95,7 @@ declare const HarnessRunDetailSchemaDefinition: z.ZodObject<{
|
|
|
95
95
|
productServiceSlug: z.ZodArray<z.ZodString>;
|
|
96
96
|
}, z.core.$strip>>>;
|
|
97
97
|
slug: z.ZodString;
|
|
98
|
-
typeRecord: z.
|
|
98
|
+
typeRecord: z.ZodEnum<{
|
|
99
99
|
"Business Line": "Business Line";
|
|
100
100
|
Company: "Company";
|
|
101
101
|
Fund: "Fund";
|
|
@@ -105,7 +105,7 @@ declare const HarnessRunDetailSchemaDefinition: z.ZodObject<{
|
|
|
105
105
|
Organization: "Organization";
|
|
106
106
|
Product: "Product";
|
|
107
107
|
Service: "Service";
|
|
108
|
-
}
|
|
108
|
+
}>;
|
|
109
109
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
110
110
|
}, z.core.$strip>>>;
|
|
111
111
|
publicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6,6 +6,7 @@ import { SearchDuplicateCandidateScoreSchema } from "../search/duplicate-candida
|
|
|
6
6
|
* One existing record considered as the subject.
|
|
7
7
|
*
|
|
8
8
|
* @openapiSchema IdentificationCandidate
|
|
9
|
+
* @endpoint GET /v1/lookup
|
|
9
10
|
* @endpoint GET /v1/lookup-jobs/{jobId}
|
|
10
11
|
* @endpoint POST /v1/entities/lookup
|
|
11
12
|
* @endpoint POST /v1/lookup
|
|
@@ -3,6 +3,7 @@ import { z } from "zod/v4";
|
|
|
3
3
|
* Which existing company or person record a subject is, how that was settled, and the candidates considered, most probable first.
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema Identification
|
|
6
|
+
* @endpoint GET /v1/lookup
|
|
6
7
|
* @endpoint GET /v1/lookup-jobs/{jobId}
|
|
7
8
|
* @endpoint POST /v1/entities/lookup
|
|
8
9
|
* @endpoint POST /v1/lookup
|
|
@@ -5,6 +5,7 @@ import { IdentificationCandidateSchema } from "./candidate.js";
|
|
|
5
5
|
* Which existing company or person record a subject is, how that was settled, and the candidates considered, most probable first.
|
|
6
6
|
*
|
|
7
7
|
* @openapiSchema Identification
|
|
8
|
+
* @endpoint GET /v1/lookup
|
|
8
9
|
* @endpoint GET /v1/lookup-jobs/{jobId}
|
|
9
10
|
* @endpoint POST /v1/entities/lookup
|
|
10
11
|
* @endpoint POST /v1/lookup
|