@aventurevc/api-schemas 0.8.146 → 0.8.148
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/employee/count.d.ts +1 -1
- package/dist/employee/count.js +5 -1
- package/dist/entity/accelerator-participation.d.ts +1 -1
- package/dist/entity/accelerator-participation.js +4 -2
- package/dist/entity/acquisition.d.ts +3 -3
- package/dist/entity/acquisition.js +15 -3
- package/dist/entity/fundraise-transaction.d.ts +2 -2
- package/dist/entity/fundraise-transaction.js +10 -2
- package/dist/entity/fundraise.d.ts +1 -1
- package/dist/entity/fundraise.js +5 -1
- package/dist/entity/person-association.js +2 -2
- package/dist/entity/relationship.d.ts +1 -1
- package/dist/entity/relationship.js +5 -2
- package/dist/entity/research-detail.d.ts +2 -2
- package/dist/entity/research-detail.js +5 -1
- package/dist/entity/research-fact-value.d.ts +2 -2
- package/dist/entity/research-fact-value.js +10 -2
- package/dist/entity/similarity-context.d.ts +1 -1
- package/dist/entity/similarity-context.js +5 -2
- package/dist/entity/valuation-time-series-point.d.ts +1 -1
- package/dist/entity/valuation-time-series-point.js +4 -2
- package/dist/pagination/schemas.d.ts +1 -1
- package/dist/person/graph-career-context.d.ts +1 -1
- package/dist/person/graph.d.ts +2 -2
- package/dist/person/investment.d.ts +2 -2
- package/dist/person/investment.js +4 -1
- package/dist/research/derived-range.d.ts +1 -1
- package/dist/research/derived-range.js +4 -2
- package/dist/search/search.js +1 -1
- package/dist/web/search.js +1 -1
- package/package.json +1 -1
package/dist/employee/count.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { z } from "zod/v4";
|
|
|
11
11
|
* @contractRole canonical
|
|
12
12
|
*/
|
|
13
13
|
export declare const EmployeeCountSchema: z.ZodObject<{
|
|
14
|
-
asOfDate: z.
|
|
14
|
+
asOfDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
fact: z.ZodType<{
|
|
16
16
|
asOfDate?: string | null | undefined;
|
|
17
17
|
dataConfidence?: "high" | "low" | "medium" | null | undefined;
|
package/dist/employee/count.js
CHANGED
|
@@ -13,7 +13,11 @@ import { EntityResearchFactValueSchema } from "../entity/research-fact-value.js"
|
|
|
13
13
|
* @contractRole canonical
|
|
14
14
|
*/
|
|
15
15
|
export const EmployeeCountSchema = z.object({
|
|
16
|
-
|
|
16
|
+
/** Date the employee count applies to, preserving the available calendar or timestamp precision. */
|
|
17
|
+
asOfDate: z
|
|
18
|
+
.string()
|
|
19
|
+
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/)
|
|
20
|
+
.nullish(),
|
|
17
21
|
fact: EntityResearchFactValueSchema,
|
|
18
22
|
id: z.string(),
|
|
19
23
|
});
|
|
@@ -51,7 +51,7 @@ declare const EntityAcceleratorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
51
51
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
52
52
|
}, z.core.$strip>;
|
|
53
53
|
acceleratorName: z.ZodString;
|
|
54
|
-
asOfDate: z.
|
|
54
|
+
asOfDate: z.ZodString;
|
|
55
55
|
batch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
56
|
id: z.ZodString;
|
|
57
57
|
program: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6,8 +6,10 @@ const EntityAcceleratorParticipationSchemaDefinition = z.object({
|
|
|
6
6
|
accelerator: EntitySchema,
|
|
7
7
|
/** Full accelerator participation name, including program detail */
|
|
8
8
|
acceleratorName: z.string(),
|
|
9
|
-
/**
|
|
10
|
-
asOfDate: z
|
|
9
|
+
/** Source-stated participation effective date or instant */
|
|
10
|
+
asOfDate: z
|
|
11
|
+
.string()
|
|
12
|
+
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/),
|
|
11
13
|
/** Accelerator batch or cohort */
|
|
12
14
|
batch: z.string().nullish(),
|
|
13
15
|
/** Stable participation identifier anchored to the contributing acceleratorParticipant relationship */
|
|
@@ -101,9 +101,9 @@ declare const EntityAcquisitionSchemaDefinition: z.ZodObject<{
|
|
|
101
101
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
102
102
|
}, z.core.$strip>;
|
|
103
103
|
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
104
|
-
announcedAt: z.ZodOptional<z.ZodNullable<z.
|
|
105
|
-
asOf: z.ZodOptional<z.ZodNullable<z.
|
|
106
|
-
completedAt: z.ZodOptional<z.ZodNullable<z.
|
|
104
|
+
announcedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
105
|
+
asOf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
106
|
+
completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
107
107
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
108
108
|
currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109
109
|
dataConfidence: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -12,9 +12,21 @@ const EntityAcquisitionSchemaDefinition = z.object({
|
|
|
12
12
|
/** Buyer — read-only nested display projection. Mutations identify the buyer only via the flat acquirerEntityId UUID, never a nested entity object. */
|
|
13
13
|
acquirerEntity: EntitySchema,
|
|
14
14
|
amount: z.number().int().nullish(),
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
/** Acquisition announcement date or instant, retaining its stored precision. */
|
|
16
|
+
announcedAt: z
|
|
17
|
+
.string()
|
|
18
|
+
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/)
|
|
19
|
+
.nullish(),
|
|
20
|
+
/** Effective acquisition date or instant, retaining its stored precision. */
|
|
21
|
+
asOf: z
|
|
22
|
+
.string()
|
|
23
|
+
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/)
|
|
24
|
+
.nullish(),
|
|
25
|
+
/** Acquisition completion date or instant, retaining its stored precision. */
|
|
26
|
+
completedAt: z
|
|
27
|
+
.string()
|
|
28
|
+
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/)
|
|
29
|
+
.nullish(),
|
|
18
30
|
createdAt: z.iso.datetime({ offset: true }).nullish(),
|
|
19
31
|
currency: z.string().nullish(),
|
|
20
32
|
dataConfidence: FundraiseDataConfidenceSchema.nullish(),
|
|
@@ -9,8 +9,8 @@ declare const EntityFundraiseTransactionSchemaDefinition: z.ZodObject<{
|
|
|
9
9
|
Medium: "Medium";
|
|
10
10
|
Verified: "Verified";
|
|
11
11
|
}>>>;
|
|
12
|
-
dateAnnounced: z.ZodOptional<z.ZodNullable<z.
|
|
13
|
-
dateFundingComplete: z.ZodOptional<z.ZodNullable<z.
|
|
12
|
+
dateAnnounced: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
dateFundingComplete: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
dateInvestorExit: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
15
15
|
entity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
16
|
core: z.ZodObject<{
|
|
@@ -9,8 +9,16 @@ const EntityFundraiseTransactionSchemaDefinition = z.object({
|
|
|
9
9
|
currency: z.string().nullish(),
|
|
10
10
|
/** Data confidence level */
|
|
11
11
|
dataConfidence: FundraiseDataConfidenceSchema.nullish(),
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
/** Occurrence date for the round when known; null when unknown. Use the announcement date, otherwise the earliest source publication date announcing the round, preserving source precision. */
|
|
13
|
+
dateAnnounced: z
|
|
14
|
+
.string()
|
|
15
|
+
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/)
|
|
16
|
+
.nullish(),
|
|
17
|
+
/** Source-stated funding completion date or instant, preserving source precision. */
|
|
18
|
+
dateFundingComplete: z
|
|
19
|
+
.string()
|
|
20
|
+
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/)
|
|
21
|
+
.nullish(),
|
|
14
22
|
dateInvestorExit: z.iso.datetime({ offset: true }).nullish(),
|
|
15
23
|
entity: EntityFundraiseTransactionEntitySchema.nullish(),
|
|
16
24
|
/** Canonical fundraise transaction UUID */
|
|
@@ -26,7 +26,7 @@ import { z } from "zod/v4";
|
|
|
26
26
|
*/
|
|
27
27
|
export declare const EntityFundraiseSchema: z.ZodObject<{
|
|
28
28
|
amountRaised: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
-
dateAnnounced: z.ZodOptional<z.ZodNullable<z.
|
|
29
|
+
dateAnnounced: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
id: z.ZodUUID;
|
|
31
31
|
image: z.ZodType<{
|
|
32
32
|
isMonogram: boolean;
|
package/dist/entity/fundraise.js
CHANGED
|
@@ -28,7 +28,11 @@ import { EntityImageSchema } from "./image.js";
|
|
|
28
28
|
*/
|
|
29
29
|
export const EntityFundraiseSchema = z.object({
|
|
30
30
|
amountRaised: z.number().nullish(),
|
|
31
|
-
|
|
31
|
+
/** Announced date of the fundraise round; null when unknown. Preserves the source's calendar or timestamp precision. */
|
|
32
|
+
dateAnnounced: z
|
|
33
|
+
.string()
|
|
34
|
+
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/)
|
|
35
|
+
.nullish(),
|
|
32
36
|
/** Canonical fundraise transaction UUID */
|
|
33
37
|
id: z.uuid(),
|
|
34
38
|
image: EntityImageSchema,
|
|
@@ -42,7 +42,7 @@ export const EntityPersonAssociationSchema = z.object({
|
|
|
42
42
|
/** Association period end, preserving source precision; any value means the association ended and isCurrent is false. Absent only while not terminated */
|
|
43
43
|
endDate: z
|
|
44
44
|
.string()
|
|
45
|
-
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-][0-9]
|
|
45
|
+
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/)
|
|
46
46
|
.nullish(),
|
|
47
47
|
/** Entity addresses carried on the association projection. Person detail carries at most one: the entity's current headquarters, else its most recently updated current address; GET /v1/entities/{entityId}/addresses lists them all */
|
|
48
48
|
entityAddress: z.array(AddressSchema),
|
|
@@ -81,7 +81,7 @@ export const EntityPersonAssociationSchema = z.object({
|
|
|
81
81
|
/** Association period start, preserving source precision */
|
|
82
82
|
startDate: z
|
|
83
83
|
.string()
|
|
84
|
-
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-][0-9]
|
|
84
|
+
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/)
|
|
85
85
|
.nullish(),
|
|
86
86
|
/** Read-side corporate title function for the association row */
|
|
87
87
|
titleFunction: z.string().nullish(),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const EntityRelationshipSchemaDefinition: z.ZodObject<{
|
|
3
|
-
asOf: z.ZodOptional<z.ZodNullable<z.
|
|
3
|
+
asOf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
4
|
comparisonSignals: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5
5
|
fundingStage: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6
6
|
Acquired: "Acquired";
|
|
@@ -4,8 +4,11 @@ import { EntityComparisonSignalsSchema } from "./comparison-signals.js";
|
|
|
4
4
|
import { EntitySchema } from "./entity.js";
|
|
5
5
|
import { EntityResearchPublicSourceSchema } from "./research-public-source.js";
|
|
6
6
|
const EntityRelationshipSchemaDefinition = z.object({
|
|
7
|
-
/**
|
|
8
|
-
asOf: z
|
|
7
|
+
/** Source-stated effective date, preserving stored precision */
|
|
8
|
+
asOf: z
|
|
9
|
+
.string()
|
|
10
|
+
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/)
|
|
11
|
+
.nullish(),
|
|
9
12
|
/** Competitive comparison signals for the joined entity when it is a product/service provider — sells-to, pricing model, ownership, funding, and website. Null for every other joined entity. Lets comparison surfaces render provider columns without a second per-provider fetch. */
|
|
10
13
|
comparisonSignals: EntityComparisonSignalsSchema.nullish(),
|
|
11
14
|
createdAt: z.iso.datetime({ offset: true }).nullish(),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const EntityResearchDetailSchemaDefinition: z.ZodObject<{
|
|
3
|
-
asOfDate: z.ZodOptional<z.ZodNullable<z.
|
|
3
|
+
asOfDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
4
|
derivedRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5
|
-
asOfDate: z.
|
|
5
|
+
asOfDate: z.ZodString;
|
|
6
6
|
bucket: z.ZodEnum<{
|
|
7
7
|
beyondTwoYears: "beyondTwoYears";
|
|
8
8
|
pastDue: "pastDue";
|
|
@@ -4,7 +4,11 @@ import { EntityResearchPublicSourceSchema } from "./research-public-source.js";
|
|
|
4
4
|
import { EntityResearchValueTypeSchema } from "./research-value-type.js";
|
|
5
5
|
import { ResearchDerivedRangeSchema } from "../research/derived-range.js";
|
|
6
6
|
const EntityResearchDetailSchemaDefinition = z.object({
|
|
7
|
-
|
|
7
|
+
/** Date the research detail applies to, preserving the source's calendar or timestamp precision. */
|
|
8
|
+
asOfDate: z
|
|
9
|
+
.string()
|
|
10
|
+
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/)
|
|
11
|
+
.nullish(),
|
|
8
12
|
/** Read-only range derived only for targetDateAbsolute detail rows */
|
|
9
13
|
derivedRange: ResearchDerivedRangeSchema.nullish(),
|
|
10
14
|
discreteValue: z.number().nullish(),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const EntityResearchFactValueSchemaDefinition: z.ZodObject<{
|
|
3
|
-
asOfDate: z.ZodOptional<z.ZodNullable<z.
|
|
3
|
+
asOfDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
4
|
dataConfidence: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5
5
|
high: "high";
|
|
6
6
|
low: "low";
|
|
7
7
|
medium: "medium";
|
|
8
8
|
}>>>;
|
|
9
|
-
dateValue: z.ZodOptional<z.ZodNullable<z.
|
|
9
|
+
dateValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
numericValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
11
|
referenceValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3,9 +3,17 @@ import { z } from "zod/v4";
|
|
|
3
3
|
import { EntityResearchValueTypeSchema } from "./research-value-type.js";
|
|
4
4
|
import { EntityValuationDataConfidenceSchema } from "./valuation-data-confidence.js";
|
|
5
5
|
const EntityResearchFactValueSchemaDefinition = z.object({
|
|
6
|
-
|
|
6
|
+
/** Date the research fact applies to, preserving the source's calendar or timestamp precision. */
|
|
7
|
+
asOfDate: z
|
|
8
|
+
.string()
|
|
9
|
+
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/)
|
|
10
|
+
.nullish(),
|
|
7
11
|
dataConfidence: EntityValuationDataConfidenceSchema.nullish(),
|
|
8
|
-
|
|
12
|
+
/** Date-valued research fact, preserving the source's year, month, day, or timestamp precision. */
|
|
13
|
+
dateValue: z
|
|
14
|
+
.string()
|
|
15
|
+
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/)
|
|
16
|
+
.nullish(),
|
|
9
17
|
numericValue: z.number().nullish(),
|
|
10
18
|
referenceValue: z.string().nullish(),
|
|
11
19
|
source: z.string().nullish(),
|
|
@@ -2,7 +2,7 @@ import { z } from "zod/v4";
|
|
|
2
2
|
declare const EntitySimilarityContextSchemaDefinition: z.ZodObject<{
|
|
3
3
|
compositeScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4
4
|
cosineScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5
|
-
curatedAsOf: z.ZodOptional<z.ZodNullable<z.
|
|
5
|
+
curatedAsOf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
curatedRelationshipType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
7
|
curatedSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
8
|
derivedFromEntityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -6,8 +6,11 @@ const EntitySimilarityContextSchemaDefinition = z.object({
|
|
|
6
6
|
compositeScore: z.number().nullish(),
|
|
7
7
|
/** Cosine similarity when origin=precomputed */
|
|
8
8
|
cosineScore: z.number().nullish(),
|
|
9
|
-
/** Curated as-of date when origin=curated */
|
|
10
|
-
curatedAsOf: z
|
|
9
|
+
/** Curated source-stated as-of date when origin=curated */
|
|
10
|
+
curatedAsOf: z
|
|
11
|
+
.string()
|
|
12
|
+
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/)
|
|
13
|
+
.nullish(),
|
|
11
14
|
/** Curated relationship type when origin=curated */
|
|
12
15
|
curatedRelationshipType: z.string().nullish(),
|
|
13
16
|
/** Curated source URL/note when origin=curated */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const EntityValuationTimeSeriesPointSchemaDefinition: z.ZodObject<{
|
|
3
3
|
amountRaised: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4
|
-
asOfDate: z.
|
|
4
|
+
asOfDate: z.ZodString;
|
|
5
5
|
confidence: z.ZodEnum<{
|
|
6
6
|
high: "high";
|
|
7
7
|
low: "low";
|
|
@@ -7,8 +7,10 @@ import { ValuationTypeSchema } from "../valuation/type.js";
|
|
|
7
7
|
const EntityValuationTimeSeriesPointSchemaDefinition = z.object({
|
|
8
8
|
/** Amount raised in the same currency, only for fundraise rows. */
|
|
9
9
|
amountRaised: z.number().int().nullish(),
|
|
10
|
-
/**
|
|
11
|
-
asOfDate: z
|
|
10
|
+
/** Source-stated effective date for this valuation datapoint. */
|
|
11
|
+
asOfDate: z
|
|
12
|
+
.string()
|
|
13
|
+
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/),
|
|
12
14
|
/** Confidence tier for this datapoint. */
|
|
13
15
|
confidence: EntityValuationDataConfidenceSchema,
|
|
14
16
|
/** ISO 4217 currency code. */
|
|
@@ -213,7 +213,7 @@ export declare const PageClassificationSchema: z.ZodType<PageClassificationDefin
|
|
|
213
213
|
export type PageClassification = z.infer<typeof PageClassificationSchema>;
|
|
214
214
|
declare const PageEmployeeCountSchemaDefinition: z.ZodObject<{
|
|
215
215
|
content: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
216
|
-
asOfDate: z.
|
|
216
|
+
asOfDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
217
217
|
fact: z.ZodType<{
|
|
218
218
|
asOfDate?: string | null | undefined;
|
|
219
219
|
dataConfidence?: "high" | "low" | "medium" | null | undefined;
|
|
@@ -22,7 +22,7 @@ declare const PersonGraphCareerContextSchemaDefinition: z.ZodObject<{
|
|
|
22
22
|
titleName?: string | null | undefined;
|
|
23
23
|
}, import("./graph-member.ts").PersonGraphMemberSchemaInput>>>;
|
|
24
24
|
employeeCount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
25
|
-
asOfDate: z.
|
|
25
|
+
asOfDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
fact: z.ZodType<{
|
|
27
27
|
asOfDate?: string | null | undefined;
|
|
28
28
|
dataConfidence?: "high" | "low" | "medium" | null | undefined;
|
package/dist/person/graph.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ declare const PersonGraphSchemaDefinition: z.ZodObject<{
|
|
|
13
13
|
titleName?: string | null | undefined;
|
|
14
14
|
}[];
|
|
15
15
|
employeeCount?: {
|
|
16
|
-
asOfDate
|
|
16
|
+
asOfDate?: string | null | undefined;
|
|
17
17
|
fact: {
|
|
18
18
|
asOfDate?: string | null | undefined;
|
|
19
19
|
dataConfidence?: "high" | "low" | "medium" | null | undefined;
|
|
@@ -202,7 +202,7 @@ declare const PersonGraphSchemaDefinition: z.ZodObject<{
|
|
|
202
202
|
titleName?: string | null | undefined;
|
|
203
203
|
}[];
|
|
204
204
|
employeeCount?: {
|
|
205
|
-
asOfDate
|
|
205
|
+
asOfDate?: string | null | undefined;
|
|
206
206
|
fact: {
|
|
207
207
|
asOfDate?: string | null | undefined;
|
|
208
208
|
dataConfidence?: "high" | "low" | "medium" | null | undefined;
|
|
@@ -76,10 +76,10 @@ declare const PersonInvestmentSchemaDefinition: z.ZodObject<{
|
|
|
76
76
|
headquartersRegion?: string | null | undefined;
|
|
77
77
|
industry?: string | null | undefined;
|
|
78
78
|
}, import("./invested-company.ts").PersonInvestedCompanySchemaInput>>;
|
|
79
|
-
date: z.ZodOptional<z.ZodNullable<z.
|
|
79
|
+
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
80
|
fundraiseTransaction: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
81
81
|
amountRaised: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
82
|
-
dateAnnounced: z.ZodOptional<z.ZodNullable<z.
|
|
82
|
+
dateAnnounced: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
83
|
id: z.ZodUUID;
|
|
84
84
|
image: z.ZodType<{
|
|
85
85
|
isMonogram: boolean;
|
|
@@ -7,7 +7,10 @@ const PersonInvestmentSchemaDefinition = z.object({
|
|
|
7
7
|
amount: z.number().nullish(),
|
|
8
8
|
company: PersonInvestedCompanySchema,
|
|
9
9
|
/** Announced date of the fundraise round. Use this field for when the investment happened; null when the round date is unknown. */
|
|
10
|
-
date: z
|
|
10
|
+
date: z
|
|
11
|
+
.string()
|
|
12
|
+
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/)
|
|
13
|
+
.nullish(),
|
|
11
14
|
fundraiseTransaction: EntityFundraiseSchema.nullish(),
|
|
12
15
|
/** Canonical fundraise transaction UUID */
|
|
13
16
|
fundraiseTransactionId: z.uuid(),
|
|
@@ -28,7 +28,7 @@ import { z } from "zod/v4";
|
|
|
28
28
|
* @contractRole canonical
|
|
29
29
|
*/
|
|
30
30
|
export declare const ResearchDerivedRangeSchema: z.ZodObject<{
|
|
31
|
-
asOfDate: z.
|
|
31
|
+
asOfDate: z.ZodString;
|
|
32
32
|
bucket: z.ZodEnum<{
|
|
33
33
|
beyondTwoYears: "beyondTwoYears";
|
|
34
34
|
pastDue: "pastDue";
|
|
@@ -30,8 +30,10 @@ import { ResearchDerivedBucketSchema } from "./derived-bucket.js";
|
|
|
30
30
|
* @contractRole canonical
|
|
31
31
|
*/
|
|
32
32
|
export const ResearchDerivedRangeSchema = z.object({
|
|
33
|
-
/** Observation
|
|
34
|
-
asOfDate: z
|
|
33
|
+
/** Observation date from the source detail row */
|
|
34
|
+
asOfDate: z
|
|
35
|
+
.string()
|
|
36
|
+
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/),
|
|
35
37
|
/** Derived bucket using inclusive 0, 3, 6, 12, and 24 month boundaries */
|
|
36
38
|
bucket: ResearchDerivedBucketSchema,
|
|
37
39
|
/** Whole months from now() to targetDate */
|
package/dist/search/search.js
CHANGED
|
@@ -13,7 +13,7 @@ const SearchSchemaDefinition = z.object({
|
|
|
13
13
|
catalogRevision: z.int().nullish(),
|
|
14
14
|
/** Run Exa's slower, broader deep search instead of the default provider: higher recall for market and provider questions, about 3-6 s per search, answered synchronously (`Prefer: respond-async` does not apply). Charged like any search. */
|
|
15
15
|
deep: z.boolean().default(false).optional(),
|
|
16
|
-
/**
|
|
16
|
+
/** Wait in-request for Google's AI Overview when Google defers it to a follow-up request, as it does for most company and person lookups: one extra SerpAPI search per overview not already stored, plus a fresh search first when the stored search is over an hour old (its one-minute overview token expired and SerpAPI's cache would return it unchanged). Without it, a search whose token is still live fetches the overview in the background and later reads return it. A fetch that returns no overview is not retried for six hours. An overview Google returns inline always comes back in `aiOverview` at no extra cost. Exa results never carry one. */
|
|
17
17
|
deferredAiOverview: z.boolean().default(false).optional(),
|
|
18
18
|
/** Search language code */
|
|
19
19
|
language: z.string().nullish(),
|
package/dist/web/search.js
CHANGED
|
@@ -5,7 +5,7 @@ import { SearchHitSchema } from "../search/hit.js";
|
|
|
5
5
|
import { SearchSchema } from "../search/search.js";
|
|
6
6
|
import { SourceDocumentListSchema } from "../source/document-list.js";
|
|
7
7
|
const WebSearchSchemaDefinition = z.object({
|
|
8
|
-
/** Google's AI Overview: returned whenever Google answers inline
|
|
8
|
+
/** Google's AI Overview: returned whenever Google answers inline or its deferred overview is stored (fetched in the background after an earlier search, or waited for with `deferredAiOverview`); null when Google produced none or its deferred overview is not stored yet */
|
|
9
9
|
aiOverview: SearchAiOverviewSchema.nullish(),
|
|
10
10
|
/** Source-document ledger row backing this result */
|
|
11
11
|
document: SourceDocumentListSchema,
|