@aventurevc/api-schemas 0.8.24 → 0.8.29
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 +10 -5
- package/dist/entity/acquisition.js +3 -1
- package/dist/entity/detail.d.ts +46 -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 +46 -12
- package/dist/entity/list-research.d.ts +14 -2
- package/dist/entity/list.d.ts +18 -6
- package/dist/entity/relationship.d.ts +8 -3
- package/dist/entity/relationship.js +3 -2
- package/dist/entity/research-detail.d.ts +6 -0
- package/dist/entity/research-detail.js +3 -0
- package/dist/entity/research-public-source.d.ts +44 -0
- package/dist/entity/research-public-source.js +48 -0
- package/dist/entity/research-snippet.d.ts +6 -0
- package/dist/entity/research-snippet.js +3 -0
- package/dist/entity/research.d.ts +20 -2
- package/dist/entity/resolution.d.ts +46 -12
- package/dist/entity/similarity-result.d.ts +18 -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 +18 -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 +18 -6
- package/dist/logo/accuracy.d.ts +0 -9
- package/dist/logo/accuracy.js +0 -3
- package/dist/lookup/job-mention.d.ts +18 -6
- package/dist/lookup/job.d.ts +18 -6
- package/dist/media/upload.d.ts +0 -18
- package/dist/media/upload.js +0 -3
- package/dist/mention/lookup.d.ts +18 -6
- package/dist/natural/search-result.d.ts +18 -6
- package/dist/openapi-component-manifest.js +4 -4
- package/dist/pagination/schemas.d.ts +206 -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
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
import { EntityComparisonSignalsSchema } from "./comparison-signals.js";
|
|
4
4
|
import { EntitySchema } from "./entity.js";
|
|
5
|
+
import { EntityResearchPublicSourceSchema } from "./research-public-source.js";
|
|
5
6
|
const EntityRelationshipSchemaDefinition = z.object({
|
|
6
7
|
/** Effective date for this relationship when known */
|
|
7
8
|
asOf: z.iso.date().nullish(),
|
|
@@ -18,14 +19,14 @@ const EntityRelationshipSchemaDefinition = z.object({
|
|
|
18
19
|
isCurrent: z.boolean().nullish(),
|
|
19
20
|
/** Primary/renderable curation flag for this relationship row. isCurrent=false or isPrimary=false hides the row from default relationship reads. */
|
|
20
21
|
isPrimary: z.boolean().nullish(),
|
|
22
|
+
/** Published page behind this relationship, read from the provenance event that wrote it; absent for internal sources. */
|
|
23
|
+
publicSource: EntityResearchPublicSourceSchema.nullish(),
|
|
21
24
|
/** Nested relationships for the joined entity */
|
|
22
25
|
get relationship() {
|
|
23
26
|
return z.array(EntityRelationshipSchemaDefinition);
|
|
24
27
|
},
|
|
25
28
|
/** Canonical relationship type, one of: acceleratorParticipant, acquirer, affinity, calculated, competingProductService, competitor, customer, fundManagerFirm, parent, productService, serviceProvider, similarCompany, spinOffFrom, successor. Similarity endpoint rows use stored relationship types when a curation row exists and calculated when the row comes from semantic/vector similarity. */
|
|
26
29
|
relationshipType: z.string(),
|
|
27
|
-
/** Source URL or compact source label copied to the relationship row */
|
|
28
|
-
source: z.string().nullish(),
|
|
29
30
|
/** Canonical source entity UUID stored on the relationship row. Compare with the requested entity id and `/v1/entities/relationships/types` sourceRole/targetRole to orient directional relationships such as parent. */
|
|
30
31
|
sourceEntityId: z.uuid().nullish(),
|
|
31
32
|
/** Canonical target entity UUID stored on the relationship row. Compare with the requested entity id and `/v1/entities/relationships/types` sourceRole/targetRole to orient directional relationships such as parent. */
|
|
@@ -17,6 +17,12 @@ 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
|
+
lastFetchedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
22
|
+
publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
23
|
+
recordedAt: z.ZodISODateTime;
|
|
24
|
+
sourceDetail: z.ZodString;
|
|
25
|
+
}, z.core.$strip>>>;
|
|
20
26
|
textValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
27
|
typeResearchDetail: z.ZodString;
|
|
22
28
|
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 the provenance event that wrote it; 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,44 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Published page behind a research value, read from the provenance event that wrote the value. 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
|
+
lastFetchedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
39
|
+
publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
40
|
+
recordedAt: z.ZodISODateTime;
|
|
41
|
+
sourceDetail: z.ZodString;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
export type EntityResearchPublicSource = z.infer<typeof EntityResearchPublicSourceSchema>;
|
|
44
|
+
//# sourceMappingURL=research-public-source.d.ts.map
|
|
@@ -0,0 +1,48 @@
|
|
|
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 the provenance event that wrote the value. 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 aVenture last fetched this page; absent when no stored capture of it exists. */
|
|
40
|
+
lastFetchedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
41
|
+
/** When the page was published, from aVenture's news record for the same URL; absent when the page is not a known news article. */
|
|
42
|
+
publishedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
43
|
+
/** When aVenture recorded the value from this page. */
|
|
44
|
+
recordedAt: z.iso.datetime({ offset: true }),
|
|
45
|
+
/** URL of the published page supporting the value. */
|
|
46
|
+
sourceDetail: z.string(),
|
|
47
|
+
});
|
|
48
|
+
//# sourceMappingURL=research-public-source.js.map
|
|
@@ -26,6 +26,12 @@ 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
|
+
lastFetchedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
31
|
+
publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
32
|
+
recordedAt: z.ZodISODateTime;
|
|
33
|
+
sourceDetail: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>>;
|
|
29
35
|
text: z.ZodString;
|
|
30
36
|
textType: z.ZodString;
|
|
31
37
|
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 the provenance event that wrote it; 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,12 @@ declare const EntityResearchSchemaDefinition: z.ZodObject<{
|
|
|
90
90
|
discreteValue?: number | null | undefined;
|
|
91
91
|
entityId: string;
|
|
92
92
|
id: number;
|
|
93
|
+
publicSource?: {
|
|
94
|
+
lastFetchedAt?: string | null | undefined;
|
|
95
|
+
publishedAt?: string | null | undefined;
|
|
96
|
+
recordedAt: string;
|
|
97
|
+
sourceDetail: string;
|
|
98
|
+
} | null | undefined;
|
|
93
99
|
textValue?: string | null | undefined;
|
|
94
100
|
typeResearchDetail: string;
|
|
95
101
|
updatedAt?: string | null | undefined;
|
|
@@ -106,6 +112,12 @@ declare const EntityResearchSchemaDefinition: z.ZodObject<{
|
|
|
106
112
|
discreteValue?: number | null | undefined;
|
|
107
113
|
entityId: string;
|
|
108
114
|
id: number;
|
|
115
|
+
publicSource?: {
|
|
116
|
+
lastFetchedAt?: string | null | undefined;
|
|
117
|
+
publishedAt?: string | null | undefined;
|
|
118
|
+
recordedAt: string;
|
|
119
|
+
sourceDetail: string;
|
|
120
|
+
} | null | undefined;
|
|
109
121
|
textValue?: string | null | undefined;
|
|
110
122
|
typeResearchDetail: string;
|
|
111
123
|
updatedAt?: string | null | undefined;
|
|
@@ -121,6 +133,12 @@ declare const EntityResearchSchemaDefinition: z.ZodObject<{
|
|
|
121
133
|
}, z.core.$strip>>>;
|
|
122
134
|
entityId: z.ZodUUID;
|
|
123
135
|
id: z.ZodInt;
|
|
136
|
+
publicSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
137
|
+
lastFetchedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
138
|
+
publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
139
|
+
recordedAt: z.ZodISODateTime;
|
|
140
|
+
sourceDetail: z.ZodString;
|
|
141
|
+
}, z.core.$strip>>>;
|
|
124
142
|
text: z.ZodString;
|
|
125
143
|
textType: z.ZodString;
|
|
126
144
|
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,20 @@ 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
|
+
lastFetchedAt?: string | null | undefined;
|
|
1517
|
+
publishedAt?: string | null | undefined;
|
|
1518
|
+
recordedAt: string;
|
|
1519
|
+
sourceDetail: string;
|
|
1520
|
+
} | null | undefined;
|
|
1515
1521
|
relationship: /*elided*/ any[];
|
|
1516
1522
|
relationshipType: string;
|
|
1517
|
-
source?: string | null | undefined;
|
|
1518
1523
|
sourceEntityId?: string | null | undefined;
|
|
1519
1524
|
targetEntityId?: string | null | undefined;
|
|
1520
1525
|
updatedAt?: string | null | undefined;
|
|
@@ -1559,15 +1564,20 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1559
1564
|
productServiceSlug: string[];
|
|
1560
1565
|
} | null | undefined;
|
|
1561
1566
|
slug: string;
|
|
1562
|
-
typeRecord
|
|
1567
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1563
1568
|
updatedAt?: string | null | undefined;
|
|
1564
1569
|
};
|
|
1565
1570
|
id?: number | null | undefined;
|
|
1566
1571
|
isCurrent?: boolean | null | undefined;
|
|
1567
1572
|
isPrimary?: boolean | null | undefined;
|
|
1573
|
+
publicSource?: {
|
|
1574
|
+
lastFetchedAt?: string | null | undefined;
|
|
1575
|
+
publishedAt?: string | null | undefined;
|
|
1576
|
+
recordedAt: string;
|
|
1577
|
+
sourceDetail: string;
|
|
1578
|
+
} | null | undefined;
|
|
1568
1579
|
relationship: any[];
|
|
1569
1580
|
relationshipType: string;
|
|
1570
|
-
source?: string | null | undefined;
|
|
1571
1581
|
sourceEntityId?: string | null | undefined;
|
|
1572
1582
|
targetEntityId?: string | null | undefined;
|
|
1573
1583
|
updatedAt?: string | null | undefined;
|
|
@@ -1603,7 +1613,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1603
1613
|
productServiceSlug: string[];
|
|
1604
1614
|
} | null | undefined;
|
|
1605
1615
|
slug: string;
|
|
1606
|
-
typeRecord
|
|
1616
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1607
1617
|
updatedAt?: string | null | undefined;
|
|
1608
1618
|
};
|
|
1609
1619
|
acceleratorName: string;
|
|
@@ -1624,6 +1634,12 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1624
1634
|
discreteValue?: number | null | undefined;
|
|
1625
1635
|
entityId: string;
|
|
1626
1636
|
id: number;
|
|
1637
|
+
publicSource?: {
|
|
1638
|
+
lastFetchedAt?: string | null | undefined;
|
|
1639
|
+
publishedAt?: string | null | undefined;
|
|
1640
|
+
recordedAt: string;
|
|
1641
|
+
sourceDetail: string;
|
|
1642
|
+
} | null | undefined;
|
|
1627
1643
|
textValue?: string | null | undefined;
|
|
1628
1644
|
typeResearchDetail: string;
|
|
1629
1645
|
updatedAt?: string | null | undefined;
|
|
@@ -1639,6 +1655,12 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1639
1655
|
} | null | undefined;
|
|
1640
1656
|
entityId: string;
|
|
1641
1657
|
id: number;
|
|
1658
|
+
publicSource?: {
|
|
1659
|
+
lastFetchedAt?: string | null | undefined;
|
|
1660
|
+
publishedAt?: string | null | undefined;
|
|
1661
|
+
recordedAt: string;
|
|
1662
|
+
sourceDetail: string;
|
|
1663
|
+
} | null | undefined;
|
|
1642
1664
|
text: string;
|
|
1643
1665
|
textType: string;
|
|
1644
1666
|
updatedAt?: string | null | undefined;
|
|
@@ -1674,7 +1696,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1674
1696
|
productServiceSlug: string[];
|
|
1675
1697
|
} | null | undefined;
|
|
1676
1698
|
slug: string;
|
|
1677
|
-
typeRecord
|
|
1699
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1678
1700
|
updatedAt?: string | null | undefined;
|
|
1679
1701
|
};
|
|
1680
1702
|
acceleratorName: string;
|
|
@@ -1695,6 +1717,12 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1695
1717
|
discreteValue?: number | null | undefined;
|
|
1696
1718
|
entityId: string;
|
|
1697
1719
|
id: number;
|
|
1720
|
+
publicSource?: {
|
|
1721
|
+
lastFetchedAt?: string | null | undefined;
|
|
1722
|
+
publishedAt?: string | null | undefined;
|
|
1723
|
+
recordedAt: string;
|
|
1724
|
+
sourceDetail: string;
|
|
1725
|
+
} | null | undefined;
|
|
1698
1726
|
textValue?: string | null | undefined;
|
|
1699
1727
|
typeResearchDetail: string;
|
|
1700
1728
|
updatedAt?: string | null | undefined;
|
|
@@ -1710,6 +1738,12 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1710
1738
|
} | null | undefined;
|
|
1711
1739
|
entityId: string;
|
|
1712
1740
|
id: number;
|
|
1741
|
+
publicSource?: {
|
|
1742
|
+
lastFetchedAt?: string | null | undefined;
|
|
1743
|
+
publishedAt?: string | null | undefined;
|
|
1744
|
+
recordedAt: string;
|
|
1745
|
+
sourceDetail: string;
|
|
1746
|
+
} | null | undefined;
|
|
1713
1747
|
text: string;
|
|
1714
1748
|
textType: string;
|
|
1715
1749
|
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,12 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
449
449
|
discreteValue?: number | null | undefined;
|
|
450
450
|
entityId: string;
|
|
451
451
|
id: number;
|
|
452
|
+
publicSource?: {
|
|
453
|
+
lastFetchedAt?: string | null | undefined;
|
|
454
|
+
publishedAt?: string | null | undefined;
|
|
455
|
+
recordedAt: string;
|
|
456
|
+
sourceDetail: string;
|
|
457
|
+
} | null | undefined;
|
|
452
458
|
textValue?: string | null | undefined;
|
|
453
459
|
typeResearchDetail: string;
|
|
454
460
|
updatedAt?: string | null | undefined;
|
|
@@ -498,7 +504,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
498
504
|
productServiceSlug: string[];
|
|
499
505
|
} | null | undefined;
|
|
500
506
|
slug: string;
|
|
501
|
-
typeRecord
|
|
507
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
502
508
|
updatedAt?: string | null | undefined;
|
|
503
509
|
};
|
|
504
510
|
enrichment: {
|
|
@@ -818,7 +824,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
818
824
|
productServiceSlug: string[];
|
|
819
825
|
} | null | undefined;
|
|
820
826
|
slug: string;
|
|
821
|
-
typeRecord
|
|
827
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
822
828
|
updatedAt?: string | null | undefined;
|
|
823
829
|
};
|
|
824
830
|
fundingDetail?: {
|
|
@@ -896,7 +902,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
896
902
|
productServiceSlug: string[];
|
|
897
903
|
} | null | undefined;
|
|
898
904
|
slug: string;
|
|
899
|
-
typeRecord
|
|
905
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
900
906
|
updatedAt?: string | null | undefined;
|
|
901
907
|
};
|
|
902
908
|
acceleratorName: string;
|
|
@@ -917,6 +923,12 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
917
923
|
discreteValue?: number | null | undefined;
|
|
918
924
|
entityId: string;
|
|
919
925
|
id: number;
|
|
926
|
+
publicSource?: {
|
|
927
|
+
lastFetchedAt?: string | null | undefined;
|
|
928
|
+
publishedAt?: string | null | undefined;
|
|
929
|
+
recordedAt: string;
|
|
930
|
+
sourceDetail: string;
|
|
931
|
+
} | null | undefined;
|
|
920
932
|
textValue?: string | null | undefined;
|
|
921
933
|
typeResearchDetail: string;
|
|
922
934
|
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,12 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
566
566
|
discreteValue?: number | null | undefined;
|
|
567
567
|
entityId: string;
|
|
568
568
|
id: number;
|
|
569
|
+
publicSource?: {
|
|
570
|
+
lastFetchedAt?: string | null | undefined;
|
|
571
|
+
publishedAt?: string | null | undefined;
|
|
572
|
+
recordedAt: string;
|
|
573
|
+
sourceDetail: string;
|
|
574
|
+
} | null | undefined;
|
|
569
575
|
textValue?: string | null | undefined;
|
|
570
576
|
typeResearchDetail: string;
|
|
571
577
|
updatedAt?: string | null | undefined;
|
|
@@ -738,7 +744,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
738
744
|
productServiceSlug: string[];
|
|
739
745
|
} | null | undefined;
|
|
740
746
|
slug: string;
|
|
741
|
-
typeRecord
|
|
747
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
742
748
|
updatedAt?: string | null | undefined;
|
|
743
749
|
};
|
|
744
750
|
enrichment: {
|
|
@@ -1058,7 +1064,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1058
1064
|
productServiceSlug: string[];
|
|
1059
1065
|
} | null | undefined;
|
|
1060
1066
|
slug: string;
|
|
1061
|
-
typeRecord
|
|
1067
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1062
1068
|
updatedAt?: string | null | undefined;
|
|
1063
1069
|
};
|
|
1064
1070
|
fundingDetail?: {
|
|
@@ -1136,7 +1142,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1136
1142
|
productServiceSlug: string[];
|
|
1137
1143
|
} | null | undefined;
|
|
1138
1144
|
slug: string;
|
|
1139
|
-
typeRecord
|
|
1145
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1140
1146
|
updatedAt?: string | null | undefined;
|
|
1141
1147
|
};
|
|
1142
1148
|
acceleratorName: string;
|
|
@@ -1157,6 +1163,12 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1157
1163
|
discreteValue?: number | null | undefined;
|
|
1158
1164
|
entityId: string;
|
|
1159
1165
|
id: number;
|
|
1166
|
+
publicSource?: {
|
|
1167
|
+
lastFetchedAt?: string | null | undefined;
|
|
1168
|
+
publishedAt?: string | null | undefined;
|
|
1169
|
+
recordedAt: string;
|
|
1170
|
+
sourceDetail: string;
|
|
1171
|
+
} | null | undefined;
|
|
1160
1172
|
textValue?: string | null | undefined;
|
|
1161
1173
|
typeResearchDetail: string;
|
|
1162
1174
|
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>>;
|