@aventurevc/api-schemas 0.8.177 → 0.8.178
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/agent/help-question.js +1 -1
- package/dist/billing/catalog-plan.d.ts +10 -1
- package/dist/billing/checkout-mutation.d.ts +10 -1
- package/dist/billing/checkout.d.ts +10 -1
- package/dist/billing/plan-change-mutation.d.ts +10 -1
- package/dist/billing/plan-change.d.ts +10 -1
- package/dist/billing/plan-type.d.ts +10 -1
- package/dist/billing/plan-type.js +9 -11
- package/dist/billing/subscription.d.ts +20 -2
- package/dist/classification/classification.d.ts +6 -1
- package/dist/classification/inactive-tag-details.d.ts +9 -1
- package/dist/classification/join-registry.d.ts +6 -1
- package/dist/classification/join-registry.js +2 -4
- package/dist/content/embedding-match.d.ts +16 -1
- package/dist/content/source-type.d.ts +16 -1
- package/dist/content/source-type.js +15 -17
- package/dist/domain/conflict-type.d.ts +9 -1
- package/dist/domain/conflict-type.js +8 -10
- package/dist/duplicate/create-review.d.ts +9 -1
- package/dist/enrichment/enrichment.d.ts +8 -1
- package/dist/enrichment/refusal-type.d.ts +8 -1
- package/dist/enrichment/refusal-type.js +7 -4
- package/dist/entity/comparison-signals.d.ts +41 -1
- package/dist/entity/detail.d.ts +2 -2
- package/dist/entity/enrichment.d.ts +41 -1
- package/dist/entity/filter-sortable.d.ts +23 -1
- package/dist/entity/filter-sortable.js +22 -24
- package/dist/entity/funding-detail.d.ts +43 -1
- package/dist/entity/funding-detail.js +2 -0
- package/dist/entity/fundraise-transaction-entity.d.ts +41 -1
- package/dist/entity/fundraise-transaction.d.ts +41 -1
- package/dist/entity/investor-participation.d.ts +2 -2
- package/dist/entity/list-filter.d.ts +1 -1
- package/dist/entity/list-filter.js +2 -2
- package/dist/entity/list.d.ts +16 -1
- package/dist/entity/natural-search.d.ts +4 -0
- package/dist/entity/people-param.js +2 -2
- package/dist/entity/relationship.d.ts +41 -1
- package/dist/entity/resolution.d.ts +2 -2
- package/dist/entity/similarity-summary.d.ts +91 -1
- package/dist/entity/similarity-summary.js +4 -1
- package/dist/federated/natural-search.d.ts +22 -2
- package/dist/federated/natural-search.js +5 -1
- package/dist/federated/search.d.ts +2 -2
- package/dist/funding/stage.d.ts +42 -1
- package/dist/funding/stage.js +41 -42
- package/dist/harness/task-input-type.d.ts +6 -1
- package/dist/harness/task-input-type.js +2 -1
- package/dist/harness/task.d.ts +6 -1
- package/dist/help/citation.d.ts +11 -1
- package/dist/help/source-type.d.ts +11 -1
- package/dist/help/source-type.js +10 -12
- package/dist/identification/subject.js +1 -1
- package/dist/link/search.d.ts +2 -2
- package/dist/natural/search.d.ts +22 -2
- package/dist/natural/search.js +5 -1
- package/dist/news/source-url-conflict.d.ts +9 -1
- package/dist/pagination/schemas.d.ts +30 -6
- package/dist/person/graph-career-context.d.ts +41 -1
- package/dist/person/graph-similar-entity.d.ts +41 -1
- package/dist/person/natural-search.d.ts +4 -0
- package/dist/person/person.d.ts +16 -1
- package/dist/problem/type.d.ts +62 -2
- package/dist/problem/type.js +11 -10
- package/dist/prose/problem.d.ts +15 -1
- package/dist/prose/problem.js +14 -16
- package/dist/prose/violation.d.ts +15 -1
- package/dist/reasoning/effort.d.ts +10 -1
- package/dist/reasoning/effort.js +9 -4
- package/dist/search/answer-citation.d.ts +9 -1
- package/dist/search/evidence-source.d.ts +9 -1
- package/dist/search/evidence-source.js +8 -10
- package/dist/search/investment.d.ts +16 -1
- package/dist/search/knowledge-graph-attribute.d.ts +7 -1
- package/dist/search/knowledge-graph-fact.d.ts +7 -1
- package/dist/search/knowledge-graph-fact.js +2 -4
- package/dist/search/mode-execution.d.ts +20 -2
- package/dist/search/mode.d.ts +10 -1
- package/dist/search/mode.js +11 -4
- package/dist/search/passage.d.ts +9 -1
- package/dist/search/search.d.ts +7 -1
- package/dist/shared/search.d.ts +2 -2
- package/dist/sort/order-entity-filter-sortable.d.ts +23 -1
- package/dist/standardized/classification.d.ts +6 -1
- package/dist/strict/url-lookup-conflict.d.ts +9 -1
- package/dist/unique/id-type.d.ts +14 -2
- package/dist/unique/id-type.js +12 -11
- package/dist/unique/id.d.ts +14 -2
- package/dist/url/duplicate-conflict.d.ts +9 -1
- package/dist/web/search-provider.d.ts +7 -1
- package/dist/web/search-provider.js +2 -4
- package/package.json +1 -1
package/dist/funding/stage.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import { z } from "zod/v4";
|
|
|
13
13
|
* @endpoint GET /v1/entities/{entityId}/investors
|
|
14
14
|
* @endpoint GET /v1/entities/{entityId}/relationships
|
|
15
15
|
* @endpoint GET /v1/entities/{entityId}/similar
|
|
16
|
+
* @endpoint GET /v1/entities/{entityId}/similar/summary
|
|
16
17
|
* @endpoint GET /v1/entities/relationships/{relationshipId}
|
|
17
18
|
* @endpoint GET /v1/lookup-jobs/{jobId}
|
|
18
19
|
* @endpoint GET /v1/people/{personId}/graph
|
|
@@ -70,6 +71,46 @@ export declare const FundingStageSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
70
71
|
"Series X": "Series X";
|
|
71
72
|
"Series Y": "Series Y";
|
|
72
73
|
"Series Z": "Series Z";
|
|
73
|
-
}>, z.ZodString]
|
|
74
|
+
}>, z.ZodString]> & {
|
|
75
|
+
enum: {
|
|
76
|
+
Acquired: "Acquired";
|
|
77
|
+
"Acquired Subsidiary": "Acquired Subsidiary";
|
|
78
|
+
Angel: "Angel";
|
|
79
|
+
Fund: "Fund";
|
|
80
|
+
Government: "Government";
|
|
81
|
+
"Investment Firm": "Investment Firm";
|
|
82
|
+
"Late Stage Private": "Late Stage Private";
|
|
83
|
+
Nonprofit: "Nonprofit";
|
|
84
|
+
"Pre-Seed": "Pre-Seed";
|
|
85
|
+
Public: "Public";
|
|
86
|
+
Seed: "Seed";
|
|
87
|
+
"Series A": "Series A";
|
|
88
|
+
"Series B": "Series B";
|
|
89
|
+
"Series C": "Series C";
|
|
90
|
+
"Series D": "Series D";
|
|
91
|
+
"Series E": "Series E";
|
|
92
|
+
"Series F": "Series F";
|
|
93
|
+
"Series G": "Series G";
|
|
94
|
+
"Series H": "Series H";
|
|
95
|
+
"Series I": "Series I";
|
|
96
|
+
"Series J": "Series J";
|
|
97
|
+
"Series K": "Series K";
|
|
98
|
+
"Series L": "Series L";
|
|
99
|
+
"Series M": "Series M";
|
|
100
|
+
"Series N": "Series N";
|
|
101
|
+
"Series O": "Series O";
|
|
102
|
+
"Series P": "Series P";
|
|
103
|
+
"Series Q": "Series Q";
|
|
104
|
+
"Series R": "Series R";
|
|
105
|
+
"Series S": "Series S";
|
|
106
|
+
"Series T": "Series T";
|
|
107
|
+
"Series U": "Series U";
|
|
108
|
+
"Series V": "Series V";
|
|
109
|
+
"Series W": "Series W";
|
|
110
|
+
"Series X": "Series X";
|
|
111
|
+
"Series Y": "Series Y";
|
|
112
|
+
"Series Z": "Series Z";
|
|
113
|
+
};
|
|
114
|
+
};
|
|
74
115
|
export type FundingStage = z.infer<typeof FundingStageSchema>;
|
|
75
116
|
//# sourceMappingURL=stage.d.ts.map
|
package/dist/funding/stage.js
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
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
|
+
const FundingStageSchemaKnownMembers = z.enum([
|
|
4
|
+
"Angel",
|
|
5
|
+
"Pre-Seed",
|
|
6
|
+
"Seed",
|
|
7
|
+
"Series A",
|
|
8
|
+
"Series B",
|
|
9
|
+
"Series C",
|
|
10
|
+
"Series D",
|
|
11
|
+
"Series E",
|
|
12
|
+
"Series F",
|
|
13
|
+
"Series G",
|
|
14
|
+
"Series H",
|
|
15
|
+
"Series I",
|
|
16
|
+
"Series J",
|
|
17
|
+
"Series K",
|
|
18
|
+
"Series L",
|
|
19
|
+
"Series M",
|
|
20
|
+
"Series N",
|
|
21
|
+
"Series O",
|
|
22
|
+
"Series P",
|
|
23
|
+
"Series Q",
|
|
24
|
+
"Series R",
|
|
25
|
+
"Series S",
|
|
26
|
+
"Series T",
|
|
27
|
+
"Series U",
|
|
28
|
+
"Series V",
|
|
29
|
+
"Series W",
|
|
30
|
+
"Series X",
|
|
31
|
+
"Series Y",
|
|
32
|
+
"Series Z",
|
|
33
|
+
"Late Stage Private",
|
|
34
|
+
"Investment Firm",
|
|
35
|
+
"Fund",
|
|
36
|
+
"Nonprofit",
|
|
37
|
+
"Government",
|
|
38
|
+
"Public",
|
|
39
|
+
"Acquired",
|
|
40
|
+
"Acquired Subsidiary",
|
|
41
|
+
]);
|
|
3
42
|
/**
|
|
4
43
|
* Canonical inferred equity, entity-type, or Company operating-status stage emitted by the entity fundraise rollup. Transaction classifications such as Debt, IPO, and Acquisition are not entity stages.
|
|
5
44
|
*
|
|
@@ -14,6 +53,7 @@ import { z } from "zod/v4";
|
|
|
14
53
|
* @endpoint GET /v1/entities/{entityId}/investors
|
|
15
54
|
* @endpoint GET /v1/entities/{entityId}/relationships
|
|
16
55
|
* @endpoint GET /v1/entities/{entityId}/similar
|
|
56
|
+
* @endpoint GET /v1/entities/{entityId}/similar/summary
|
|
17
57
|
* @endpoint GET /v1/entities/relationships/{relationshipId}
|
|
18
58
|
* @endpoint GET /v1/lookup-jobs/{jobId}
|
|
19
59
|
* @endpoint GET /v1/people/{personId}/graph
|
|
@@ -33,46 +73,5 @@ import { z } from "zod/v4";
|
|
|
33
73
|
* @contractShape funding.stage
|
|
34
74
|
* @contractRole canonical
|
|
35
75
|
*/
|
|
36
|
-
export const FundingStageSchema = z.union([
|
|
37
|
-
z.enum([
|
|
38
|
-
"Angel",
|
|
39
|
-
"Pre-Seed",
|
|
40
|
-
"Seed",
|
|
41
|
-
"Series A",
|
|
42
|
-
"Series B",
|
|
43
|
-
"Series C",
|
|
44
|
-
"Series D",
|
|
45
|
-
"Series E",
|
|
46
|
-
"Series F",
|
|
47
|
-
"Series G",
|
|
48
|
-
"Series H",
|
|
49
|
-
"Series I",
|
|
50
|
-
"Series J",
|
|
51
|
-
"Series K",
|
|
52
|
-
"Series L",
|
|
53
|
-
"Series M",
|
|
54
|
-
"Series N",
|
|
55
|
-
"Series O",
|
|
56
|
-
"Series P",
|
|
57
|
-
"Series Q",
|
|
58
|
-
"Series R",
|
|
59
|
-
"Series S",
|
|
60
|
-
"Series T",
|
|
61
|
-
"Series U",
|
|
62
|
-
"Series V",
|
|
63
|
-
"Series W",
|
|
64
|
-
"Series X",
|
|
65
|
-
"Series Y",
|
|
66
|
-
"Series Z",
|
|
67
|
-
"Late Stage Private",
|
|
68
|
-
"Investment Firm",
|
|
69
|
-
"Fund",
|
|
70
|
-
"Nonprofit",
|
|
71
|
-
"Government",
|
|
72
|
-
"Public",
|
|
73
|
-
"Acquired",
|
|
74
|
-
"Acquired Subsidiary",
|
|
75
|
-
]),
|
|
76
|
-
z.string(),
|
|
77
|
-
]);
|
|
76
|
+
export const FundingStageSchema = Object.assign(z.union([FundingStageSchemaKnownMembers, z.string()]), { enum: FundingStageSchemaKnownMembers.enum });
|
|
78
77
|
//# sourceMappingURL=stage.js.map
|
|
@@ -12,6 +12,11 @@ import { z } from "zod/v4";
|
|
|
12
12
|
export declare const HarnessTaskInputTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
13
13
|
ENTITY: "ENTITY";
|
|
14
14
|
TEXT: "TEXT";
|
|
15
|
-
}>, z.ZodString]
|
|
15
|
+
}>, z.ZodString]> & {
|
|
16
|
+
enum: {
|
|
17
|
+
ENTITY: "ENTITY";
|
|
18
|
+
TEXT: "TEXT";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
16
21
|
export type HarnessTaskInputType = z.infer<typeof HarnessTaskInputTypeSchema>;
|
|
17
22
|
//# sourceMappingURL=task-input-type.d.ts.map
|
|
@@ -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
|
+
const HarnessTaskInputTypeSchemaKnownMembers = z.enum(["ENTITY", "TEXT"]);
|
|
3
4
|
/**
|
|
4
5
|
* ENTITY binds a target entity to its canonical id through entity identification; TEXT is a literal value the request states.
|
|
5
6
|
*
|
|
@@ -10,5 +11,5 @@ import { z } from "zod/v4";
|
|
|
10
11
|
* @contractShape harness.task-input-type
|
|
11
12
|
* @contractRole canonical
|
|
12
13
|
*/
|
|
13
|
-
export const HarnessTaskInputTypeSchema =
|
|
14
|
+
export const HarnessTaskInputTypeSchema = Object.assign(z.union([HarnessTaskInputTypeSchemaKnownMembers, z.string()]), { enum: HarnessTaskInputTypeSchemaKnownMembers.enum });
|
|
14
15
|
//# sourceMappingURL=task-input-type.js.map
|
package/dist/harness/task.d.ts
CHANGED
|
@@ -5,7 +5,12 @@ declare const HarnessTaskSchemaDefinition: z.ZodObject<{
|
|
|
5
5
|
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6
6
|
ENTITY: "ENTITY";
|
|
7
7
|
TEXT: "TEXT";
|
|
8
|
-
}>, z.ZodString]
|
|
8
|
+
}>, z.ZodString]> & {
|
|
9
|
+
enum: {
|
|
10
|
+
ENTITY: "ENTITY";
|
|
11
|
+
TEXT: "TEXT";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
9
14
|
}, z.core.$strip>;
|
|
10
15
|
type HarnessTaskDefinition = z.infer<typeof HarnessTaskSchemaDefinition>;
|
|
11
16
|
export interface HarnessTaskSchemaInput extends z.input<typeof HarnessTaskSchemaDefinition> {
|
package/dist/help/citation.d.ts
CHANGED
|
@@ -10,7 +10,17 @@ declare const HelpCitationSchemaDefinition: z.ZodObject<{
|
|
|
10
10
|
RESEARCH_SNIPPET_TYPE: "RESEARCH_SNIPPET_TYPE";
|
|
11
11
|
SKILL: "SKILL";
|
|
12
12
|
TEXT_TYPE: "TEXT_TYPE";
|
|
13
|
-
}>, z.ZodString]
|
|
13
|
+
}>, z.ZodString]> & {
|
|
14
|
+
enum: {
|
|
15
|
+
COMPLETION_GATE: "COMPLETION_GATE";
|
|
16
|
+
OPERATION: "OPERATION";
|
|
17
|
+
PROMPT: "PROMPT";
|
|
18
|
+
RESEARCH_DETAIL_TYPE: "RESEARCH_DETAIL_TYPE";
|
|
19
|
+
RESEARCH_SNIPPET_TYPE: "RESEARCH_SNIPPET_TYPE";
|
|
20
|
+
SKILL: "SKILL";
|
|
21
|
+
TEXT_TYPE: "TEXT_TYPE";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
14
24
|
sourceVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
25
|
}, z.core.$strip>;
|
|
16
26
|
type HelpCitationDefinition = z.infer<typeof HelpCitationSchemaDefinition>;
|
|
@@ -17,6 +17,16 @@ export declare const HelpSourceTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
17
17
|
RESEARCH_SNIPPET_TYPE: "RESEARCH_SNIPPET_TYPE";
|
|
18
18
|
SKILL: "SKILL";
|
|
19
19
|
TEXT_TYPE: "TEXT_TYPE";
|
|
20
|
-
}>, z.ZodString]
|
|
20
|
+
}>, z.ZodString]> & {
|
|
21
|
+
enum: {
|
|
22
|
+
COMPLETION_GATE: "COMPLETION_GATE";
|
|
23
|
+
OPERATION: "OPERATION";
|
|
24
|
+
PROMPT: "PROMPT";
|
|
25
|
+
RESEARCH_DETAIL_TYPE: "RESEARCH_DETAIL_TYPE";
|
|
26
|
+
RESEARCH_SNIPPET_TYPE: "RESEARCH_SNIPPET_TYPE";
|
|
27
|
+
SKILL: "SKILL";
|
|
28
|
+
TEXT_TYPE: "TEXT_TYPE";
|
|
29
|
+
};
|
|
30
|
+
};
|
|
21
31
|
export type HelpSourceType = z.infer<typeof HelpSourceTypeSchema>;
|
|
22
32
|
//# sourceMappingURL=source-type.d.ts.map
|
package/dist/help/source-type.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
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
|
+
const HelpSourceTypeSchemaKnownMembers = z.enum([
|
|
4
|
+
"OPERATION",
|
|
5
|
+
"SKILL",
|
|
6
|
+
"PROMPT",
|
|
7
|
+
"COMPLETION_GATE",
|
|
8
|
+
"RESEARCH_DETAIL_TYPE",
|
|
9
|
+
"RESEARCH_SNIPPET_TYPE",
|
|
10
|
+
"TEXT_TYPE",
|
|
11
|
+
]);
|
|
3
12
|
/**
|
|
4
13
|
* Corpus partition a help citation is drawn from.
|
|
5
14
|
*
|
|
@@ -10,16 +19,5 @@ import { z } from "zod/v4";
|
|
|
10
19
|
* @contractShape help.source-type
|
|
11
20
|
* @contractRole canonical
|
|
12
21
|
*/
|
|
13
|
-
export const HelpSourceTypeSchema = z.union([
|
|
14
|
-
z.enum([
|
|
15
|
-
"OPERATION",
|
|
16
|
-
"SKILL",
|
|
17
|
-
"PROMPT",
|
|
18
|
-
"COMPLETION_GATE",
|
|
19
|
-
"RESEARCH_DETAIL_TYPE",
|
|
20
|
-
"RESEARCH_SNIPPET_TYPE",
|
|
21
|
-
"TEXT_TYPE",
|
|
22
|
-
]),
|
|
23
|
-
z.string(),
|
|
24
|
-
]);
|
|
22
|
+
export const HelpSourceTypeSchema = Object.assign(z.union([HelpSourceTypeSchemaKnownMembers, z.string()]), { enum: HelpSourceTypeSchemaKnownMembers.enum });
|
|
25
23
|
//# sourceMappingURL=source-type.js.map
|
|
@@ -18,7 +18,7 @@ import { EntityTypeSchema } from "../entity/type.js";
|
|
|
18
18
|
export const IdentificationSubjectSchema = z.object({
|
|
19
19
|
/** Specific facts in plain words: product, industry, employer and title, or founder names. Generic words like startup add nothing. */
|
|
20
20
|
context: z.string().max(2000).nullish(),
|
|
21
|
-
/** Kind of record to identify when you know it;
|
|
21
|
+
/** Kind of record to identify when you know it: ENTITY for companies, funds, and firms (and their products or services); PERSON for people. Only that kind is looked up; typeRecord or providerId implies ENTITY. */
|
|
22
22
|
kind: z.enum(["ENTITY", "PERSON"]).nullish(),
|
|
23
23
|
/** City, region, or country, such as Austin, TX. Tells namesakes apart; not proof on its own. */
|
|
24
24
|
location: z.string().max(2000).nullish(),
|
package/dist/link/search.d.ts
CHANGED
|
@@ -2749,7 +2749,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
2749
2749
|
createdAt: string;
|
|
2750
2750
|
id: number;
|
|
2751
2751
|
identifier: string;
|
|
2752
|
-
idType:
|
|
2752
|
+
idType: string;
|
|
2753
2753
|
owner: {
|
|
2754
2754
|
entityId?: string | null | undefined;
|
|
2755
2755
|
personId?: string | null | undefined;
|
|
@@ -6266,7 +6266,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
6266
6266
|
createdAt: string;
|
|
6267
6267
|
id: number;
|
|
6268
6268
|
identifier: string;
|
|
6269
|
-
idType:
|
|
6269
|
+
idType: string;
|
|
6270
6270
|
owner: {
|
|
6271
6271
|
entityId?: string | null | undefined;
|
|
6272
6272
|
personId?: string | null | undefined;
|
package/dist/natural/search.d.ts
CHANGED
|
@@ -13,8 +13,18 @@ declare const NaturalSearchSchemaDefinition: z.ZodObject<{
|
|
|
13
13
|
keyword: "keyword";
|
|
14
14
|
natural: "natural";
|
|
15
15
|
semantic: "semantic";
|
|
16
|
-
}>, z.ZodString]
|
|
16
|
+
}>, z.ZodString]> & {
|
|
17
|
+
enum: {
|
|
18
|
+
auto: "auto";
|
|
19
|
+
exact: "exact";
|
|
20
|
+
hybrid: "hybrid";
|
|
21
|
+
keyword: "keyword";
|
|
22
|
+
natural: "natural";
|
|
23
|
+
semantic: "semantic";
|
|
24
|
+
};
|
|
25
|
+
}>>;
|
|
17
26
|
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
modelCatalogRevision: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
18
28
|
query: z.ZodString;
|
|
19
29
|
reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
20
30
|
high: "high";
|
|
@@ -23,8 +33,18 @@ declare const NaturalSearchSchemaDefinition: z.ZodObject<{
|
|
|
23
33
|
medium: "medium";
|
|
24
34
|
minimal: "minimal";
|
|
25
35
|
xhigh: "xhigh";
|
|
26
|
-
}>, z.ZodString]
|
|
36
|
+
}>, z.ZodString]> & {
|
|
37
|
+
enum: {
|
|
38
|
+
high: "high";
|
|
39
|
+
low: "low";
|
|
40
|
+
max: "max";
|
|
41
|
+
medium: "medium";
|
|
42
|
+
minimal: "minimal";
|
|
43
|
+
xhigh: "xhigh";
|
|
44
|
+
};
|
|
45
|
+
}>>;
|
|
27
46
|
searchCatalogRevision: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
47
|
+
tenantPolicyRevision: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
28
48
|
}, z.core.$strip>;
|
|
29
49
|
type NaturalSearchDefinition = z.infer<typeof NaturalSearchSchemaDefinition>;
|
|
30
50
|
export interface NaturalSearchSchemaInput extends z.input<typeof NaturalSearchSchemaDefinition> {
|
package/dist/natural/search.js
CHANGED
|
@@ -12,12 +12,16 @@ const NaturalSearchSchemaDefinition = z.object({
|
|
|
12
12
|
mode: SearchModeSchema.default("auto").optional(),
|
|
13
13
|
/** Optional supported model for planning the search. Omit it to use the default; an unsupported model answers 422. */
|
|
14
14
|
model: z.string().nullish(),
|
|
15
|
+
/** Model catalog revision this search uses for its model defaults and inference policy; null reads the current revision. Callers without private-data access always read the current revision. An unknown revision returns 404. */
|
|
16
|
+
modelCatalogRevision: z.int().nullish(),
|
|
15
17
|
/** Plain-English search request. */
|
|
16
18
|
query: z.string().min(1),
|
|
17
19
|
/** Optional reasoning effort for every model call this search makes: the query planner and the synthesis answer. Each call sends the nearest level its model supports, the lower one on a tie. Accounts without private-data access are capped at `medium`; higher values are lowered. */
|
|
18
20
|
reasoningEffort: ReasoningEffortSchema.nullish(),
|
|
19
|
-
/** Search catalog revision this search
|
|
21
|
+
/** Search catalog revision this search uses for its global search policy and vocabulary; null reads the current revision. Callers without private-data access always read the current revision. An unknown revision returns 404. */
|
|
20
22
|
searchCatalogRevision: z.int().nullish(),
|
|
23
|
+
/** Runtime policy revision this search uses for the serving deployment's execution budgets; null reads that deployment's current revision. Callers without private-data access always read the current revision. An unknown revision returns 404. */
|
|
24
|
+
tenantPolicyRevision: z.int().nullish(),
|
|
21
25
|
});
|
|
22
26
|
/**
|
|
23
27
|
* Plain-English search request. The server plans the query into the target domain filter plus sort, then runs that domain's canonical list engine.
|
|
@@ -9,7 +9,15 @@ declare const NewsSourceUrlConflictSchemaDefinition: z.ZodObject<{
|
|
|
9
9
|
NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
|
|
10
10
|
STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
|
|
11
11
|
URL_DUPLICATE: "URL_DUPLICATE";
|
|
12
|
-
}>, z.ZodString]
|
|
12
|
+
}>, z.ZodString]> & {
|
|
13
|
+
enum: {
|
|
14
|
+
CLASSIFICATION_INACTIVE_TAG: "CLASSIFICATION_INACTIVE_TAG";
|
|
15
|
+
DUPLICATE_CREATE_REVIEW: "DUPLICATE_CREATE_REVIEW";
|
|
16
|
+
NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
|
|
17
|
+
STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
|
|
18
|
+
URL_DUPLICATE: "URL_DUPLICATE";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
13
21
|
}, z.core.$strip>;
|
|
14
22
|
type NewsSourceUrlConflictDefinition = z.infer<typeof NewsSourceUrlConflictSchemaDefinition>;
|
|
15
23
|
export interface NewsSourceUrlConflictSchemaInput extends z.input<typeof NewsSourceUrlConflictSchemaDefinition> {
|
|
@@ -2355,7 +2355,7 @@ declare const PageEntityDetailSchemaDefinition: z.ZodObject<{
|
|
|
2355
2355
|
createdAt: string;
|
|
2356
2356
|
id: number;
|
|
2357
2357
|
identifier: string;
|
|
2358
|
-
idType:
|
|
2358
|
+
idType: string;
|
|
2359
2359
|
owner: {
|
|
2360
2360
|
entityId?: string | null | undefined;
|
|
2361
2361
|
personId?: string | null | undefined;
|
|
@@ -2366,7 +2366,7 @@ declare const PageEntityDetailSchemaDefinition: z.ZodObject<{
|
|
|
2366
2366
|
createdAt: string;
|
|
2367
2367
|
id: number;
|
|
2368
2368
|
identifier: string;
|
|
2369
|
-
idType:
|
|
2369
|
+
idType: string;
|
|
2370
2370
|
owner: {
|
|
2371
2371
|
entityId?: string | null | undefined;
|
|
2372
2372
|
personId?: string | null | undefined;
|
|
@@ -3622,7 +3622,7 @@ declare const PageEntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
3622
3622
|
createdAt: string;
|
|
3623
3623
|
id: number;
|
|
3624
3624
|
identifier: string;
|
|
3625
|
-
idType:
|
|
3625
|
+
idType: string;
|
|
3626
3626
|
owner: {
|
|
3627
3627
|
entityId?: string | null | undefined;
|
|
3628
3628
|
personId?: string | null | undefined;
|
|
@@ -4566,7 +4566,7 @@ declare const PageEntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
4566
4566
|
createdAt: string;
|
|
4567
4567
|
id: number;
|
|
4568
4568
|
identifier: string;
|
|
4569
|
-
idType:
|
|
4569
|
+
idType: string;
|
|
4570
4570
|
owner: {
|
|
4571
4571
|
entityId?: string | null | undefined;
|
|
4572
4572
|
personId?: string | null | undefined;
|
|
@@ -7285,6 +7285,18 @@ declare const PageEntitySimilaritySummarySchemaDefinition: z.ZodObject<{
|
|
|
7285
7285
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
7286
7286
|
updatedAt?: string | null | undefined;
|
|
7287
7287
|
};
|
|
7288
|
+
fundingDetail?: {
|
|
7289
|
+
currency?: string | null | undefined;
|
|
7290
|
+
fundingRoundCount: number;
|
|
7291
|
+
investorCount: number;
|
|
7292
|
+
latestValuation?: number | null | undefined;
|
|
7293
|
+
mostRecentAmount?: number | null | undefined;
|
|
7294
|
+
mostRecentDate?: string | null | undefined;
|
|
7295
|
+
stage?: string | null | undefined;
|
|
7296
|
+
totalRaised: number;
|
|
7297
|
+
totalRaisedUsd?: number | null | undefined;
|
|
7298
|
+
unconvertedRoundCount: number;
|
|
7299
|
+
} | null | undefined;
|
|
7288
7300
|
similarity: {
|
|
7289
7301
|
compositeScore?: number | null | undefined;
|
|
7290
7302
|
cosineScore?: number | null | undefined;
|
|
@@ -7348,6 +7360,18 @@ declare const PageEntitySimilaritySummarySchemaDefinition: z.ZodObject<{
|
|
|
7348
7360
|
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
7349
7361
|
updatedAt?: string | null | undefined;
|
|
7350
7362
|
};
|
|
7363
|
+
fundingDetail?: {
|
|
7364
|
+
currency?: string | null | undefined;
|
|
7365
|
+
fundingRoundCount: number;
|
|
7366
|
+
investorCount: number;
|
|
7367
|
+
latestValuation?: number | null | undefined;
|
|
7368
|
+
mostRecentAmount?: number | null | undefined;
|
|
7369
|
+
mostRecentDate?: string | null | undefined;
|
|
7370
|
+
stage?: string | null | undefined;
|
|
7371
|
+
totalRaised: number;
|
|
7372
|
+
totalRaisedUsd?: number | null | undefined;
|
|
7373
|
+
unconvertedRoundCount: number;
|
|
7374
|
+
} | null | undefined;
|
|
7351
7375
|
similarity: {
|
|
7352
7376
|
compositeScore?: number | null | undefined;
|
|
7353
7377
|
cosineScore?: number | null | undefined;
|
|
@@ -11196,7 +11220,7 @@ declare const PageUniqueIdSchemaDefinition: z.ZodObject<{
|
|
|
11196
11220
|
createdAt: string;
|
|
11197
11221
|
id: number;
|
|
11198
11222
|
identifier: string;
|
|
11199
|
-
idType:
|
|
11223
|
+
idType: string;
|
|
11200
11224
|
owner: {
|
|
11201
11225
|
entityId?: string | null | undefined;
|
|
11202
11226
|
personId?: string | null | undefined;
|
|
@@ -11207,7 +11231,7 @@ declare const PageUniqueIdSchemaDefinition: z.ZodObject<{
|
|
|
11207
11231
|
createdAt: string;
|
|
11208
11232
|
id: number;
|
|
11209
11233
|
identifier: string;
|
|
11210
|
-
idType:
|
|
11234
|
+
idType: string;
|
|
11211
11235
|
owner: {
|
|
11212
11236
|
entityId?: string | null | undefined;
|
|
11213
11237
|
personId?: string | null | undefined;
|
|
@@ -144,7 +144,47 @@ declare const PersonGraphCareerContextSchemaDefinition: z.ZodObject<{
|
|
|
144
144
|
"Series X": "Series X";
|
|
145
145
|
"Series Y": "Series Y";
|
|
146
146
|
"Series Z": "Series Z";
|
|
147
|
-
}>, z.ZodString]
|
|
147
|
+
}>, z.ZodString]> & {
|
|
148
|
+
enum: {
|
|
149
|
+
Acquired: "Acquired";
|
|
150
|
+
"Acquired Subsidiary": "Acquired Subsidiary";
|
|
151
|
+
Angel: "Angel";
|
|
152
|
+
Fund: "Fund";
|
|
153
|
+
Government: "Government";
|
|
154
|
+
"Investment Firm": "Investment Firm";
|
|
155
|
+
"Late Stage Private": "Late Stage Private";
|
|
156
|
+
Nonprofit: "Nonprofit";
|
|
157
|
+
"Pre-Seed": "Pre-Seed";
|
|
158
|
+
Public: "Public";
|
|
159
|
+
Seed: "Seed";
|
|
160
|
+
"Series A": "Series A";
|
|
161
|
+
"Series B": "Series B";
|
|
162
|
+
"Series C": "Series C";
|
|
163
|
+
"Series D": "Series D";
|
|
164
|
+
"Series E": "Series E";
|
|
165
|
+
"Series F": "Series F";
|
|
166
|
+
"Series G": "Series G";
|
|
167
|
+
"Series H": "Series H";
|
|
168
|
+
"Series I": "Series I";
|
|
169
|
+
"Series J": "Series J";
|
|
170
|
+
"Series K": "Series K";
|
|
171
|
+
"Series L": "Series L";
|
|
172
|
+
"Series M": "Series M";
|
|
173
|
+
"Series N": "Series N";
|
|
174
|
+
"Series O": "Series O";
|
|
175
|
+
"Series P": "Series P";
|
|
176
|
+
"Series Q": "Series Q";
|
|
177
|
+
"Series R": "Series R";
|
|
178
|
+
"Series S": "Series S";
|
|
179
|
+
"Series T": "Series T";
|
|
180
|
+
"Series U": "Series U";
|
|
181
|
+
"Series V": "Series V";
|
|
182
|
+
"Series W": "Series W";
|
|
183
|
+
"Series X": "Series X";
|
|
184
|
+
"Series Y": "Series Y";
|
|
185
|
+
"Series Z": "Series Z";
|
|
186
|
+
};
|
|
187
|
+
}>>;
|
|
148
188
|
totalRaised: z.ZodNumber;
|
|
149
189
|
totalRaisedUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
150
190
|
unconvertedRoundCount: z.ZodInt;
|
|
@@ -96,7 +96,47 @@ declare const PersonGraphSimilarEntitySchemaDefinition: z.ZodObject<{
|
|
|
96
96
|
"Series X": "Series X";
|
|
97
97
|
"Series Y": "Series Y";
|
|
98
98
|
"Series Z": "Series Z";
|
|
99
|
-
}>, z.ZodString]
|
|
99
|
+
}>, z.ZodString]> & {
|
|
100
|
+
enum: {
|
|
101
|
+
Acquired: "Acquired";
|
|
102
|
+
"Acquired Subsidiary": "Acquired Subsidiary";
|
|
103
|
+
Angel: "Angel";
|
|
104
|
+
Fund: "Fund";
|
|
105
|
+
Government: "Government";
|
|
106
|
+
"Investment Firm": "Investment Firm";
|
|
107
|
+
"Late Stage Private": "Late Stage Private";
|
|
108
|
+
Nonprofit: "Nonprofit";
|
|
109
|
+
"Pre-Seed": "Pre-Seed";
|
|
110
|
+
Public: "Public";
|
|
111
|
+
Seed: "Seed";
|
|
112
|
+
"Series A": "Series A";
|
|
113
|
+
"Series B": "Series B";
|
|
114
|
+
"Series C": "Series C";
|
|
115
|
+
"Series D": "Series D";
|
|
116
|
+
"Series E": "Series E";
|
|
117
|
+
"Series F": "Series F";
|
|
118
|
+
"Series G": "Series G";
|
|
119
|
+
"Series H": "Series H";
|
|
120
|
+
"Series I": "Series I";
|
|
121
|
+
"Series J": "Series J";
|
|
122
|
+
"Series K": "Series K";
|
|
123
|
+
"Series L": "Series L";
|
|
124
|
+
"Series M": "Series M";
|
|
125
|
+
"Series N": "Series N";
|
|
126
|
+
"Series O": "Series O";
|
|
127
|
+
"Series P": "Series P";
|
|
128
|
+
"Series Q": "Series Q";
|
|
129
|
+
"Series R": "Series R";
|
|
130
|
+
"Series S": "Series S";
|
|
131
|
+
"Series T": "Series T";
|
|
132
|
+
"Series U": "Series U";
|
|
133
|
+
"Series V": "Series V";
|
|
134
|
+
"Series W": "Series W";
|
|
135
|
+
"Series X": "Series X";
|
|
136
|
+
"Series Y": "Series Y";
|
|
137
|
+
"Series Z": "Series Z";
|
|
138
|
+
};
|
|
139
|
+
}>>;
|
|
100
140
|
totalRaised: z.ZodNumber;
|
|
101
141
|
totalRaisedUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
102
142
|
unconvertedRoundCount: z.ZodInt;
|
|
@@ -269,17 +269,21 @@ declare const PersonNaturalSearchSchemaDefinition: z.ZodObject<{
|
|
|
269
269
|
cacheMode?: "bypass" | "refresh" | "use" | undefined;
|
|
270
270
|
mode?: string | undefined;
|
|
271
271
|
model?: string | null | undefined;
|
|
272
|
+
modelCatalogRevision?: number | null | undefined;
|
|
272
273
|
query: string;
|
|
273
274
|
reasoningEffort?: string | null | undefined;
|
|
274
275
|
searchCatalogRevision?: number | null | undefined;
|
|
276
|
+
tenantPolicyRevision?: number | null | undefined;
|
|
275
277
|
}, import("../natural/search.ts").NaturalSearchSchemaInput, z.core.$ZodTypeInternals<{
|
|
276
278
|
answerModel?: string | null | undefined;
|
|
277
279
|
cacheMode?: "bypass" | "refresh" | "use" | undefined;
|
|
278
280
|
mode?: string | undefined;
|
|
279
281
|
model?: string | null | undefined;
|
|
282
|
+
modelCatalogRevision?: number | null | undefined;
|
|
280
283
|
query: string;
|
|
281
284
|
reasoningEffort?: string | null | undefined;
|
|
282
285
|
searchCatalogRevision?: number | null | undefined;
|
|
286
|
+
tenantPolicyRevision?: number | null | undefined;
|
|
283
287
|
}, import("../natural/search.ts").NaturalSearchSchemaInput>>;
|
|
284
288
|
}, z.core.$strip>;
|
|
285
289
|
type PersonNaturalSearchDefinition = z.infer<typeof PersonNaturalSearchSchemaDefinition>;
|
package/dist/person/person.d.ts
CHANGED
|
@@ -47,7 +47,22 @@ declare const PersonSchemaDefinition: z.ZodObject<{
|
|
|
47
47
|
service: "service";
|
|
48
48
|
sourceDocument: "sourceDocument";
|
|
49
49
|
text: "text";
|
|
50
|
-
}>, z.ZodString]
|
|
50
|
+
}>, z.ZodString]> & {
|
|
51
|
+
enum: {
|
|
52
|
+
agentHelpDoc: "agentHelpDoc";
|
|
53
|
+
blogPost: "blogPost";
|
|
54
|
+
classificationCode: "classificationCode";
|
|
55
|
+
classificationTag: "classificationTag";
|
|
56
|
+
entity: "entity";
|
|
57
|
+
newsArticle: "newsArticle";
|
|
58
|
+
person: "person";
|
|
59
|
+
product: "product";
|
|
60
|
+
researchSnippet: "researchSnippet";
|
|
61
|
+
service: "service";
|
|
62
|
+
sourceDocument: "sourceDocument";
|
|
63
|
+
text: "text";
|
|
64
|
+
};
|
|
65
|
+
};
|
|
51
66
|
}, z.core.$strip>>>;
|
|
52
67
|
slug: z.ZodString;
|
|
53
68
|
suffix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|