@aventurevc/api-schemas 0.8.146 → 0.8.149
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 +3 -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/detail.d.ts +2 -0
- 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/investor-participation.d.ts +2 -0
- package/dist/entity/list-research.d.ts +2 -0
- package/dist/entity/list.d.ts +2 -0
- 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 +3 -2
- package/dist/entity/research-detail.js +7 -1
- package/dist/entity/research-fact-value.d.ts +3 -2
- package/dist/entity/research-fact-value.js +12 -2
- package/dist/entity/research.d.ts +2 -0
- package/dist/entity/resolution.d.ts +2 -0
- package/dist/entity/similarity-context.d.ts +1 -1
- package/dist/entity/similarity-context.js +5 -2
- package/dist/entity/similarity-result.d.ts +2 -0
- package/dist/entity/valuation-time-series-point.d.ts +1 -1
- package/dist/entity/valuation-time-series-point.js +4 -2
- package/dist/federated/search.d.ts +8 -0
- package/dist/link/search.d.ts +8 -0
- package/dist/lookup/job-mention.d.ts +2 -0
- package/dist/lookup/job.d.ts +2 -0
- package/dist/mention/lookup.d.ts +2 -0
- package/dist/natural/search-result.d.ts +6 -0
- package/dist/pagination/schemas.d.ts +15 -1
- package/dist/person/graph-career-context.d.ts +3 -1
- package/dist/person/graph.d.ts +4 -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/shared/search.d.ts +8 -0
- package/dist/web/search.js +1 -1
- package/package.json +1 -1
package/dist/employee/count.d.ts
CHANGED
|
@@ -11,9 +11,10 @@ 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
|
+
currentEligible?: boolean | null | undefined;
|
|
17
18
|
dataConfidence?: "high" | "low" | "medium" | null | undefined;
|
|
18
19
|
dateValue?: string | null | undefined;
|
|
19
20
|
numericValue?: number | null | undefined;
|
|
@@ -24,6 +25,7 @@ export declare const EmployeeCountSchema: z.ZodObject<{
|
|
|
24
25
|
valueType: "date" | "monetary" | "numeric" | "percentage" | "text";
|
|
25
26
|
}, import("../entity/research-fact-value.ts").EntityResearchFactValueSchemaInput, z.core.$ZodTypeInternals<{
|
|
26
27
|
asOfDate?: string | null | undefined;
|
|
28
|
+
currentEligible?: boolean | null | undefined;
|
|
27
29
|
dataConfidence?: "high" | "low" | "medium" | null | undefined;
|
|
28
30
|
dateValue?: string | null | undefined;
|
|
29
31
|
numericValue?: number | 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(),
|
package/dist/entity/detail.d.ts
CHANGED
|
@@ -1664,6 +1664,7 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
1664
1664
|
}[];
|
|
1665
1665
|
detail: {
|
|
1666
1666
|
asOfDate?: string | null | undefined;
|
|
1667
|
+
currentEligible?: boolean | null | undefined;
|
|
1667
1668
|
derivedRange?: {
|
|
1668
1669
|
asOfDate: string;
|
|
1669
1670
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -1747,6 +1748,7 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
1747
1748
|
}[];
|
|
1748
1749
|
detail: {
|
|
1749
1750
|
asOfDate?: string | null | undefined;
|
|
1751
|
+
currentEligible?: boolean | null | undefined;
|
|
1750
1752
|
derivedRange?: {
|
|
1751
1753
|
asOfDate: string;
|
|
1752
1754
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -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,
|
|
@@ -1642,6 +1642,7 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
1642
1642
|
}[];
|
|
1643
1643
|
detail: {
|
|
1644
1644
|
asOfDate?: string | null | undefined;
|
|
1645
|
+
currentEligible?: boolean | null | undefined;
|
|
1645
1646
|
derivedRange?: {
|
|
1646
1647
|
asOfDate: string;
|
|
1647
1648
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -1725,6 +1726,7 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
1725
1726
|
}[];
|
|
1726
1727
|
detail: {
|
|
1727
1728
|
asOfDate?: string | null | undefined;
|
|
1729
|
+
currentEligible?: boolean | null | undefined;
|
|
1728
1730
|
derivedRange?: {
|
|
1729
1731
|
asOfDate: string;
|
|
1730
1732
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -81,6 +81,7 @@ declare const EntityListResearchSchemaDefinition: z.ZodObject<{
|
|
|
81
81
|
}, import("./accelerator-participation.ts").EntityAcceleratorParticipationSchemaInput>>>;
|
|
82
82
|
detail: z.ZodArray<z.ZodType<{
|
|
83
83
|
asOfDate?: string | null | undefined;
|
|
84
|
+
currentEligible?: boolean | null | undefined;
|
|
84
85
|
derivedRange?: {
|
|
85
86
|
asOfDate: string;
|
|
86
87
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -103,6 +104,7 @@ declare const EntityListResearchSchemaDefinition: z.ZodObject<{
|
|
|
103
104
|
valueType: "date" | "monetary" | "numeric" | "percentage" | "text";
|
|
104
105
|
}, import("./research-detail.ts").EntityResearchDetailSchemaInput, z.core.$ZodTypeInternals<{
|
|
105
106
|
asOfDate?: string | null | undefined;
|
|
107
|
+
currentEligible?: boolean | null | undefined;
|
|
106
108
|
derivedRange?: {
|
|
107
109
|
asOfDate: string;
|
|
108
110
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
package/dist/entity/list.d.ts
CHANGED
|
@@ -833,6 +833,7 @@ declare const EntityListSchemaDefinition: z.ZodObject<{
|
|
|
833
833
|
}[];
|
|
834
834
|
detail: {
|
|
835
835
|
asOfDate?: string | null | undefined;
|
|
836
|
+
currentEligible?: boolean | null | undefined;
|
|
836
837
|
derivedRange?: {
|
|
837
838
|
asOfDate: string;
|
|
838
839
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -897,6 +898,7 @@ declare const EntityListSchemaDefinition: z.ZodObject<{
|
|
|
897
898
|
}[];
|
|
898
899
|
detail: {
|
|
899
900
|
asOfDate?: string | null | undefined;
|
|
901
|
+
currentEligible?: boolean | null | undefined;
|
|
900
902
|
derivedRange?: {
|
|
901
903
|
asOfDate: string;
|
|
902
904
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -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,9 @@
|
|
|
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
|
+
currentEligible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4
5
|
derivedRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5
|
-
asOfDate: z.
|
|
6
|
+
asOfDate: z.ZodString;
|
|
6
7
|
bucket: z.ZodEnum<{
|
|
7
8
|
beyondTwoYears: "beyondTwoYears";
|
|
8
9
|
pastDue: "pastDue";
|
|
@@ -4,7 +4,13 @@ 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(),
|
|
12
|
+
/** Eligibility as a current fact at response time; multiple rows may be eligible. Select the first eligible row in the returned authoritative order. */
|
|
13
|
+
currentEligible: z.boolean().nullish(),
|
|
8
14
|
/** Read-only range derived only for targetDateAbsolute detail rows */
|
|
9
15
|
derivedRange: ResearchDerivedRangeSchema.nullish(),
|
|
10
16
|
discreteValue: z.number().nullish(),
|
|
@@ -1,12 +1,13 @@
|
|
|
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
|
+
currentEligible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4
5
|
dataConfidence: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5
6
|
high: "high";
|
|
6
7
|
low: "low";
|
|
7
8
|
medium: "medium";
|
|
8
9
|
}>>>;
|
|
9
|
-
dateValue: z.ZodOptional<z.ZodNullable<z.
|
|
10
|
+
dateValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
11
|
numericValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
12
|
referenceValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
13
|
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3,9 +3,19 @@ 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(),
|
|
11
|
+
/** Current-fact eligibility projected from the canonical research detail row. */
|
|
12
|
+
currentEligible: z.boolean().nullish(),
|
|
7
13
|
dataConfidence: EntityValuationDataConfidenceSchema.nullish(),
|
|
8
|
-
|
|
14
|
+
/** Date-valued research fact, preserving the source's year, month, day, or timestamp precision. */
|
|
15
|
+
dateValue: z
|
|
16
|
+
.string()
|
|
17
|
+
.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)))?)?)?$/)
|
|
18
|
+
.nullish(),
|
|
9
19
|
numericValue: z.number().nullish(),
|
|
10
20
|
referenceValue: z.string().nullish(),
|
|
11
21
|
source: z.string().nullish(),
|
|
@@ -81,6 +81,7 @@ declare const EntityResearchSchemaDefinition: z.ZodObject<{
|
|
|
81
81
|
}, import("./accelerator-participation.ts").EntityAcceleratorParticipationSchemaInput>>>;
|
|
82
82
|
detail: z.ZodArray<z.ZodType<{
|
|
83
83
|
asOfDate?: string | null | undefined;
|
|
84
|
+
currentEligible?: boolean | null | undefined;
|
|
84
85
|
derivedRange?: {
|
|
85
86
|
asOfDate: string;
|
|
86
87
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -103,6 +104,7 @@ declare const EntityResearchSchemaDefinition: z.ZodObject<{
|
|
|
103
104
|
valueType: "date" | "monetary" | "numeric" | "percentage" | "text";
|
|
104
105
|
}, import("./research-detail.ts").EntityResearchDetailSchemaInput, z.core.$ZodTypeInternals<{
|
|
105
106
|
asOfDate?: string | null | undefined;
|
|
107
|
+
currentEligible?: boolean | null | undefined;
|
|
106
108
|
derivedRange?: {
|
|
107
109
|
asOfDate: string;
|
|
108
110
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -1643,6 +1643,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1643
1643
|
}[];
|
|
1644
1644
|
detail: {
|
|
1645
1645
|
asOfDate?: string | null | undefined;
|
|
1646
|
+
currentEligible?: boolean | null | undefined;
|
|
1646
1647
|
derivedRange?: {
|
|
1647
1648
|
asOfDate: string;
|
|
1648
1649
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -1726,6 +1727,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1726
1727
|
}[];
|
|
1727
1728
|
detail: {
|
|
1728
1729
|
asOfDate?: string | null | undefined;
|
|
1730
|
+
currentEligible?: boolean | null | undefined;
|
|
1729
1731
|
derivedRange?: {
|
|
1730
1732
|
asOfDate: string;
|
|
1731
1733
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -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 */
|
|
@@ -447,6 +447,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
447
447
|
}[];
|
|
448
448
|
detail: {
|
|
449
449
|
asOfDate?: string | null | undefined;
|
|
450
|
+
currentEligible?: boolean | null | undefined;
|
|
450
451
|
derivedRange?: {
|
|
451
452
|
asOfDate: string;
|
|
452
453
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -926,6 +927,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
926
927
|
}[];
|
|
927
928
|
detail: {
|
|
928
929
|
asOfDate?: string | null | undefined;
|
|
930
|
+
currentEligible?: boolean | null | undefined;
|
|
929
931
|
derivedRange?: {
|
|
930
932
|
asOfDate: string;
|
|
931
933
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -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. */
|
|
@@ -776,6 +776,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
776
776
|
}[];
|
|
777
777
|
detail: {
|
|
778
778
|
asOfDate?: string | null | undefined;
|
|
779
|
+
currentEligible?: boolean | null | undefined;
|
|
779
780
|
derivedRange?: {
|
|
780
781
|
asOfDate: string;
|
|
781
782
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -1271,6 +1272,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1271
1272
|
}[];
|
|
1272
1273
|
detail: {
|
|
1273
1274
|
asOfDate?: string | null | undefined;
|
|
1275
|
+
currentEligible?: boolean | null | undefined;
|
|
1274
1276
|
derivedRange?: {
|
|
1275
1277
|
asOfDate: string;
|
|
1276
1278
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -1757,6 +1759,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1757
1759
|
}[];
|
|
1758
1760
|
detail: {
|
|
1759
1761
|
asOfDate?: string | null | undefined;
|
|
1762
|
+
currentEligible?: boolean | null | undefined;
|
|
1760
1763
|
derivedRange?: {
|
|
1761
1764
|
asOfDate: string;
|
|
1762
1765
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -2566,6 +2569,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
2566
2569
|
}[];
|
|
2567
2570
|
detail: {
|
|
2568
2571
|
asOfDate?: string | null | undefined;
|
|
2572
|
+
currentEligible?: boolean | null | undefined;
|
|
2569
2573
|
derivedRange?: {
|
|
2570
2574
|
asOfDate: string;
|
|
2571
2575
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -3061,6 +3065,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3061
3065
|
}[];
|
|
3062
3066
|
detail: {
|
|
3063
3067
|
asOfDate?: string | null | undefined;
|
|
3068
|
+
currentEligible?: boolean | null | undefined;
|
|
3064
3069
|
derivedRange?: {
|
|
3065
3070
|
asOfDate: string;
|
|
3066
3071
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -3547,6 +3552,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3547
3552
|
}[];
|
|
3548
3553
|
detail: {
|
|
3549
3554
|
asOfDate?: string | null | undefined;
|
|
3555
|
+
currentEligible?: boolean | null | undefined;
|
|
3550
3556
|
derivedRange?: {
|
|
3551
3557
|
asOfDate: string;
|
|
3552
3558
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -5223,6 +5229,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
5223
5229
|
}[];
|
|
5224
5230
|
detail: {
|
|
5225
5231
|
asOfDate?: string | null | undefined;
|
|
5232
|
+
currentEligible?: boolean | null | undefined;
|
|
5226
5233
|
derivedRange?: {
|
|
5227
5234
|
asOfDate: string;
|
|
5228
5235
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -5306,6 +5313,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
5306
5313
|
}[];
|
|
5307
5314
|
detail: {
|
|
5308
5315
|
asOfDate?: string | null | undefined;
|
|
5316
|
+
currentEligible?: boolean | null | undefined;
|
|
5309
5317
|
derivedRange?: {
|
|
5310
5318
|
asOfDate: string;
|
|
5311
5319
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
package/dist/link/search.d.ts
CHANGED
|
@@ -778,6 +778,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
778
778
|
}[];
|
|
779
779
|
detail: {
|
|
780
780
|
asOfDate?: string | null | undefined;
|
|
781
|
+
currentEligible?: boolean | null | undefined;
|
|
781
782
|
derivedRange?: {
|
|
782
783
|
asOfDate: string;
|
|
783
784
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -1273,6 +1274,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
1273
1274
|
}[];
|
|
1274
1275
|
detail: {
|
|
1275
1276
|
asOfDate?: string | null | undefined;
|
|
1277
|
+
currentEligible?: boolean | null | undefined;
|
|
1276
1278
|
derivedRange?: {
|
|
1277
1279
|
asOfDate: string;
|
|
1278
1280
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -1759,6 +1761,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
1759
1761
|
}[];
|
|
1760
1762
|
detail: {
|
|
1761
1763
|
asOfDate?: string | null | undefined;
|
|
1764
|
+
currentEligible?: boolean | null | undefined;
|
|
1762
1765
|
derivedRange?: {
|
|
1763
1766
|
asOfDate: string;
|
|
1764
1767
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -2646,6 +2649,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
2646
2649
|
}[];
|
|
2647
2650
|
detail: {
|
|
2648
2651
|
asOfDate?: string | null | undefined;
|
|
2652
|
+
currentEligible?: boolean | null | undefined;
|
|
2649
2653
|
derivedRange?: {
|
|
2650
2654
|
asOfDate: string;
|
|
2651
2655
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -4239,6 +4243,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
4239
4243
|
}[];
|
|
4240
4244
|
detail: {
|
|
4241
4245
|
asOfDate?: string | null | undefined;
|
|
4246
|
+
currentEligible?: boolean | null | undefined;
|
|
4242
4247
|
derivedRange?: {
|
|
4243
4248
|
asOfDate: string;
|
|
4244
4249
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -4734,6 +4739,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
4734
4739
|
}[];
|
|
4735
4740
|
detail: {
|
|
4736
4741
|
asOfDate?: string | null | undefined;
|
|
4742
|
+
currentEligible?: boolean | null | undefined;
|
|
4737
4743
|
derivedRange?: {
|
|
4738
4744
|
asOfDate: string;
|
|
4739
4745
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -5220,6 +5226,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
5220
5226
|
}[];
|
|
5221
5227
|
detail: {
|
|
5222
5228
|
asOfDate?: string | null | undefined;
|
|
5229
|
+
currentEligible?: boolean | null | undefined;
|
|
5223
5230
|
derivedRange?: {
|
|
5224
5231
|
asOfDate: string;
|
|
5225
5232
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -6107,6 +6114,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
6107
6114
|
}[];
|
|
6108
6115
|
detail: {
|
|
6109
6116
|
asOfDate?: string | null | undefined;
|
|
6117
|
+
currentEligible?: boolean | null | undefined;
|
|
6110
6118
|
derivedRange?: {
|
|
6111
6119
|
asOfDate: string;
|
|
6112
6120
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -448,6 +448,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
|
|
|
448
448
|
}[];
|
|
449
449
|
detail: {
|
|
450
450
|
asOfDate?: string | null | undefined;
|
|
451
|
+
currentEligible?: boolean | null | undefined;
|
|
451
452
|
derivedRange?: {
|
|
452
453
|
asOfDate: string;
|
|
453
454
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -927,6 +928,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
|
|
|
927
928
|
}[];
|
|
928
929
|
detail: {
|
|
929
930
|
asOfDate?: string | null | undefined;
|
|
931
|
+
currentEligible?: boolean | null | undefined;
|
|
930
932
|
derivedRange?: {
|
|
931
933
|
asOfDate: string;
|
|
932
934
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
package/dist/lookup/job.d.ts
CHANGED
|
@@ -648,6 +648,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
648
648
|
}[];
|
|
649
649
|
detail: {
|
|
650
650
|
asOfDate?: string | null | undefined;
|
|
651
|
+
currentEligible?: boolean | null | undefined;
|
|
651
652
|
derivedRange?: {
|
|
652
653
|
asOfDate: string;
|
|
653
654
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -1291,6 +1292,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
1291
1292
|
}[];
|
|
1292
1293
|
detail: {
|
|
1293
1294
|
asOfDate?: string | null | undefined;
|
|
1295
|
+
currentEligible?: boolean | null | undefined;
|
|
1294
1296
|
derivedRange?: {
|
|
1295
1297
|
asOfDate: string;
|
|
1296
1298
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
package/dist/mention/lookup.d.ts
CHANGED
|
@@ -449,6 +449,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
449
449
|
}[];
|
|
450
450
|
detail: {
|
|
451
451
|
asOfDate?: string | null | undefined;
|
|
452
|
+
currentEligible?: boolean | null | undefined;
|
|
452
453
|
derivedRange?: {
|
|
453
454
|
asOfDate: string;
|
|
454
455
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -1092,6 +1093,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
1092
1093
|
}[];
|
|
1093
1094
|
detail: {
|
|
1094
1095
|
asOfDate?: string | null | undefined;
|
|
1096
|
+
currentEligible?: boolean | null | undefined;
|
|
1095
1097
|
derivedRange?: {
|
|
1096
1098
|
asOfDate: string;
|
|
1097
1099
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -1091,6 +1091,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
1091
1091
|
}[];
|
|
1092
1092
|
detail: {
|
|
1093
1093
|
asOfDate?: string | null | undefined;
|
|
1094
|
+
currentEligible?: boolean | null | undefined;
|
|
1094
1095
|
derivedRange?: {
|
|
1095
1096
|
asOfDate: string;
|
|
1096
1097
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -1584,6 +1585,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
1584
1585
|
}[];
|
|
1585
1586
|
detail: {
|
|
1586
1587
|
asOfDate?: string | null | undefined;
|
|
1588
|
+
currentEligible?: boolean | null | undefined;
|
|
1587
1589
|
derivedRange?: {
|
|
1588
1590
|
asOfDate: string;
|
|
1589
1591
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -2079,6 +2081,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
2079
2081
|
}[];
|
|
2080
2082
|
detail: {
|
|
2081
2083
|
asOfDate?: string | null | undefined;
|
|
2084
|
+
currentEligible?: boolean | null | undefined;
|
|
2082
2085
|
derivedRange?: {
|
|
2083
2086
|
asOfDate: string;
|
|
2084
2087
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -2564,6 +2567,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
2564
2567
|
}[];
|
|
2565
2568
|
detail: {
|
|
2566
2569
|
asOfDate?: string | null | undefined;
|
|
2570
|
+
currentEligible?: boolean | null | undefined;
|
|
2567
2571
|
derivedRange?: {
|
|
2568
2572
|
asOfDate: string;
|
|
2569
2573
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -3050,6 +3054,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
3050
3054
|
}[];
|
|
3051
3055
|
detail: {
|
|
3052
3056
|
asOfDate?: string | null | undefined;
|
|
3057
|
+
currentEligible?: boolean | null | undefined;
|
|
3053
3058
|
derivedRange?: {
|
|
3054
3059
|
asOfDate: string;
|
|
3055
3060
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -3529,6 +3534,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
3529
3534
|
}[];
|
|
3530
3535
|
detail: {
|
|
3531
3536
|
asOfDate?: string | null | undefined;
|
|
3537
|
+
currentEligible?: boolean | null | undefined;
|
|
3532
3538
|
derivedRange?: {
|
|
3533
3539
|
asOfDate: string;
|
|
3534
3540
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -213,9 +213,10 @@ 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
|
+
currentEligible?: boolean | null | undefined;
|
|
219
220
|
dataConfidence?: "high" | "low" | "medium" | null | undefined;
|
|
220
221
|
dateValue?: string | null | undefined;
|
|
221
222
|
numericValue?: number | null | undefined;
|
|
@@ -226,6 +227,7 @@ declare const PageEmployeeCountSchemaDefinition: z.ZodObject<{
|
|
|
226
227
|
valueType: "date" | "monetary" | "numeric" | "percentage" | "text";
|
|
227
228
|
}, import("../entity/research-fact-value.ts").EntityResearchFactValueSchemaInput, z.core.$ZodTypeInternals<{
|
|
228
229
|
asOfDate?: string | null | undefined;
|
|
230
|
+
currentEligible?: boolean | null | undefined;
|
|
229
231
|
dataConfidence?: "high" | "low" | "medium" | null | undefined;
|
|
230
232
|
dateValue?: string | null | undefined;
|
|
231
233
|
numericValue?: number | null | undefined;
|
|
@@ -2229,6 +2231,7 @@ declare const PageEntityDetailSchemaDefinition: z.ZodObject<{
|
|
|
2229
2231
|
}[];
|
|
2230
2232
|
detail: {
|
|
2231
2233
|
asOfDate?: string | null | undefined;
|
|
2234
|
+
currentEligible?: boolean | null | undefined;
|
|
2232
2235
|
derivedRange?: {
|
|
2233
2236
|
asOfDate: string;
|
|
2234
2237
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -2312,6 +2315,7 @@ declare const PageEntityDetailSchemaDefinition: z.ZodObject<{
|
|
|
2312
2315
|
}[];
|
|
2313
2316
|
detail: {
|
|
2314
2317
|
asOfDate?: string | null | undefined;
|
|
2318
|
+
currentEligible?: boolean | null | undefined;
|
|
2315
2319
|
derivedRange?: {
|
|
2316
2320
|
asOfDate: string;
|
|
2317
2321
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -3556,6 +3560,7 @@ declare const PageEntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
3556
3560
|
}[];
|
|
3557
3561
|
detail: {
|
|
3558
3562
|
asOfDate?: string | null | undefined;
|
|
3563
|
+
currentEligible?: boolean | null | undefined;
|
|
3559
3564
|
derivedRange?: {
|
|
3560
3565
|
asOfDate: string;
|
|
3561
3566
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -4489,6 +4494,7 @@ declare const PageEntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
4489
4494
|
}[];
|
|
4490
4495
|
detail: {
|
|
4491
4496
|
asOfDate?: string | null | undefined;
|
|
4497
|
+
currentEligible?: boolean | null | undefined;
|
|
4492
4498
|
derivedRange?: {
|
|
4493
4499
|
asOfDate: string;
|
|
4494
4500
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -5055,6 +5061,7 @@ declare const PageEntityListSchemaDefinition: z.ZodObject<{
|
|
|
5055
5061
|
}[];
|
|
5056
5062
|
detail: {
|
|
5057
5063
|
asOfDate?: string | null | undefined;
|
|
5064
|
+
currentEligible?: boolean | null | undefined;
|
|
5058
5065
|
derivedRange?: {
|
|
5059
5066
|
asOfDate: string;
|
|
5060
5067
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -5534,6 +5541,7 @@ declare const PageEntityListSchemaDefinition: z.ZodObject<{
|
|
|
5534
5541
|
}[];
|
|
5535
5542
|
detail: {
|
|
5536
5543
|
asOfDate?: string | null | undefined;
|
|
5544
|
+
currentEligible?: boolean | null | undefined;
|
|
5537
5545
|
derivedRange?: {
|
|
5538
5546
|
asOfDate: string;
|
|
5539
5547
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -6016,6 +6024,7 @@ export type PageEntityRelationship = z.infer<typeof PageEntityRelationshipSchema
|
|
|
6016
6024
|
declare const PageEntityResearchDetailSchemaDefinition: z.ZodObject<{
|
|
6017
6025
|
content: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
6018
6026
|
asOfDate?: string | null | undefined;
|
|
6027
|
+
currentEligible?: boolean | null | undefined;
|
|
6019
6028
|
derivedRange?: {
|
|
6020
6029
|
asOfDate: string;
|
|
6021
6030
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -6038,6 +6047,7 @@ declare const PageEntityResearchDetailSchemaDefinition: z.ZodObject<{
|
|
|
6038
6047
|
valueType: "date" | "monetary" | "numeric" | "percentage" | "text";
|
|
6039
6048
|
}, import("../entity/research-detail.ts").EntityResearchDetailSchemaInput, z.core.$ZodTypeInternals<{
|
|
6040
6049
|
asOfDate?: string | null | undefined;
|
|
6050
|
+
currentEligible?: boolean | null | undefined;
|
|
6041
6051
|
derivedRange?: {
|
|
6042
6052
|
asOfDate: string;
|
|
6043
6053
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -6604,6 +6614,7 @@ declare const PageEntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
6604
6614
|
}[];
|
|
6605
6615
|
detail: {
|
|
6606
6616
|
asOfDate?: string | null | undefined;
|
|
6617
|
+
currentEligible?: boolean | null | undefined;
|
|
6607
6618
|
derivedRange?: {
|
|
6608
6619
|
asOfDate: string;
|
|
6609
6620
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -7097,6 +7108,7 @@ declare const PageEntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
7097
7108
|
}[];
|
|
7098
7109
|
detail: {
|
|
7099
7110
|
asOfDate?: string | null | undefined;
|
|
7111
|
+
currentEligible?: boolean | null | undefined;
|
|
7100
7112
|
derivedRange?: {
|
|
7101
7113
|
asOfDate: string;
|
|
7102
7114
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -10411,6 +10423,7 @@ declare const PageResultEntityListSchemaDefinition: z.ZodObject<{
|
|
|
10411
10423
|
}[];
|
|
10412
10424
|
detail: {
|
|
10413
10425
|
asOfDate?: string | null | undefined;
|
|
10426
|
+
currentEligible?: boolean | null | undefined;
|
|
10414
10427
|
derivedRange?: {
|
|
10415
10428
|
asOfDate: string;
|
|
10416
10429
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -10890,6 +10903,7 @@ declare const PageResultEntityListSchemaDefinition: z.ZodObject<{
|
|
|
10890
10903
|
}[];
|
|
10891
10904
|
detail: {
|
|
10892
10905
|
asOfDate?: string | null | undefined;
|
|
10906
|
+
currentEligible?: boolean | null | undefined;
|
|
10893
10907
|
derivedRange?: {
|
|
10894
10908
|
asOfDate: string;
|
|
10895
10909
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -22,9 +22,10 @@ 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
|
+
currentEligible?: boolean | null | undefined;
|
|
28
29
|
dataConfidence?: "high" | "low" | "medium" | null | undefined;
|
|
29
30
|
dateValue?: string | null | undefined;
|
|
30
31
|
numericValue?: number | null | undefined;
|
|
@@ -35,6 +36,7 @@ declare const PersonGraphCareerContextSchemaDefinition: z.ZodObject<{
|
|
|
35
36
|
valueType: "date" | "monetary" | "numeric" | "percentage" | "text";
|
|
36
37
|
}, import("../entity/research-fact-value.ts").EntityResearchFactValueSchemaInput, z.core.$ZodTypeInternals<{
|
|
37
38
|
asOfDate?: string | null | undefined;
|
|
39
|
+
currentEligible?: boolean | null | undefined;
|
|
38
40
|
dataConfidence?: "high" | "low" | "medium" | null | undefined;
|
|
39
41
|
dateValue?: string | null | undefined;
|
|
40
42
|
numericValue?: number | null | undefined;
|
package/dist/person/graph.d.ts
CHANGED
|
@@ -13,9 +13,10 @@ 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
|
+
currentEligible?: boolean | null | undefined;
|
|
19
20
|
dataConfidence?: "high" | "low" | "medium" | null | undefined;
|
|
20
21
|
dateValue?: string | null | undefined;
|
|
21
22
|
numericValue?: number | null | undefined;
|
|
@@ -202,9 +203,10 @@ declare const PersonGraphSchemaDefinition: z.ZodObject<{
|
|
|
202
203
|
titleName?: string | null | undefined;
|
|
203
204
|
}[];
|
|
204
205
|
employeeCount?: {
|
|
205
|
-
asOfDate
|
|
206
|
+
asOfDate?: string | null | undefined;
|
|
206
207
|
fact: {
|
|
207
208
|
asOfDate?: string | null | undefined;
|
|
209
|
+
currentEligible?: boolean | null | undefined;
|
|
208
210
|
dataConfidence?: "high" | "low" | "medium" | null | undefined;
|
|
209
211
|
dateValue?: string | null | undefined;
|
|
210
212
|
numericValue?: number | 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/shared/search.d.ts
CHANGED
|
@@ -789,6 +789,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
789
789
|
}[];
|
|
790
790
|
detail: {
|
|
791
791
|
asOfDate?: string | null | undefined;
|
|
792
|
+
currentEligible?: boolean | null | undefined;
|
|
792
793
|
derivedRange?: {
|
|
793
794
|
asOfDate: string;
|
|
794
795
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -1284,6 +1285,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1284
1285
|
}[];
|
|
1285
1286
|
detail: {
|
|
1286
1287
|
asOfDate?: string | null | undefined;
|
|
1288
|
+
currentEligible?: boolean | null | undefined;
|
|
1287
1289
|
derivedRange?: {
|
|
1288
1290
|
asOfDate: string;
|
|
1289
1291
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -1770,6 +1772,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1770
1772
|
}[];
|
|
1771
1773
|
detail: {
|
|
1772
1774
|
asOfDate?: string | null | undefined;
|
|
1775
|
+
currentEligible?: boolean | null | undefined;
|
|
1773
1776
|
derivedRange?: {
|
|
1774
1777
|
asOfDate: string;
|
|
1775
1778
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -2657,6 +2660,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
2657
2660
|
}[];
|
|
2658
2661
|
detail: {
|
|
2659
2662
|
asOfDate?: string | null | undefined;
|
|
2663
|
+
currentEligible?: boolean | null | undefined;
|
|
2660
2664
|
derivedRange?: {
|
|
2661
2665
|
asOfDate: string;
|
|
2662
2666
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -4250,6 +4254,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
4250
4254
|
}[];
|
|
4251
4255
|
detail: {
|
|
4252
4256
|
asOfDate?: string | null | undefined;
|
|
4257
|
+
currentEligible?: boolean | null | undefined;
|
|
4253
4258
|
derivedRange?: {
|
|
4254
4259
|
asOfDate: string;
|
|
4255
4260
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -4745,6 +4750,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
4745
4750
|
}[];
|
|
4746
4751
|
detail: {
|
|
4747
4752
|
asOfDate?: string | null | undefined;
|
|
4753
|
+
currentEligible?: boolean | null | undefined;
|
|
4748
4754
|
derivedRange?: {
|
|
4749
4755
|
asOfDate: string;
|
|
4750
4756
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -5231,6 +5237,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
5231
5237
|
}[];
|
|
5232
5238
|
detail: {
|
|
5233
5239
|
asOfDate?: string | null | undefined;
|
|
5240
|
+
currentEligible?: boolean | null | undefined;
|
|
5234
5241
|
derivedRange?: {
|
|
5235
5242
|
asOfDate: string;
|
|
5236
5243
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
|
@@ -6118,6 +6125,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
6118
6125
|
}[];
|
|
6119
6126
|
detail: {
|
|
6120
6127
|
asOfDate?: string | null | undefined;
|
|
6128
|
+
currentEligible?: boolean | null | undefined;
|
|
6121
6129
|
derivedRange?: {
|
|
6122
6130
|
asOfDate: string;
|
|
6123
6131
|
bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
|
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,
|