@aventurevc/api-schemas 0.8.176 → 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.d.ts +0 -1
- package/dist/agent/help-question.js +1 -3
- package/dist/agent/help.d.ts +5 -5
- package/dist/agent/task-preset-catalog.d.ts +29 -0
- package/dist/agent/task-preset-catalog.js +17 -0
- package/dist/agent/task-preset-phase.d.ts +16 -0
- package/dist/agent/task-preset-phase.js +13 -0
- package/dist/agent/task-preset.d.ts +29 -0
- package/dist/agent/task-preset.js +24 -0
- 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/catalog-bucket.d.ts +10 -8
- package/dist/classification/catalog-bucket.js +2 -2
- package/dist/classification/catalog-category.d.ts +10 -8
- package/dist/classification/catalog-category.js +2 -2
- package/dist/classification/catalog.d.ts +26 -22
- package/dist/classification/classification.d.ts +11 -2
- package/dist/classification/classification.js +7 -2
- package/dist/classification/inactive-tag-details.d.ts +10 -2
- package/dist/classification/inactive-tag-details.js +1 -1
- package/dist/classification/join-registry.d.ts +43 -0
- package/dist/classification/join-registry.js +36 -0
- 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-details.d.ts +12 -12
- package/dist/domain/conflict-type.d.ts +9 -1
- package/dist/domain/conflict-type.js +8 -10
- package/dist/duplicate/create-review.d.ts +12 -4
- package/dist/duplicate/create-review.js +1 -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/brand.d.ts +98 -78
- package/dist/entity/classification-suggestion.d.ts +18 -14
- package/dist/entity/classification-suggestion.js +2 -2
- package/dist/entity/classification.d.ts +80 -60
- package/dist/entity/comparison-signals.d.ts +41 -1
- package/dist/entity/detail.d.ts +102 -82
- package/dist/entity/detail.js +2 -2
- package/dist/entity/enrichment.d.ts +140 -80
- package/dist/entity/enrichment.js +2 -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 +102 -82
- package/dist/entity/list-filter.d.ts +1 -1
- package/dist/entity/list-filter.js +2 -2
- package/dist/entity/list.d.ts +116 -81
- 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 +102 -82
- package/dist/entity/search-param.js +1 -1
- package/dist/entity/similarity-result.d.ts +100 -80
- package/dist/entity/similarity-summary.d.ts +91 -1
- package/dist/entity/similarity-summary.js +4 -1
- package/dist/entity/tag.d.ts +8 -6
- package/dist/entity/tag.js +2 -2
- package/dist/federated/natural-search.d.ts +22 -2
- package/dist/federated/natural-search.js +5 -1
- package/dist/federated/search.d.ts +402 -322
- package/dist/funding/stage.d.ts +42 -1
- package/dist/funding/stage.js +41 -42
- package/dist/harness/run-create.d.ts +1 -1
- package/dist/harness/run-create.js +5 -5
- package/dist/harness/task-input-type.d.ts +6 -1
- package/dist/harness/task-input-type.js +2 -1
- package/dist/harness/task-plan-step.d.ts +2 -2
- package/dist/harness/task-plan.d.ts +5 -5
- package/dist/harness/task-plan.js +3 -3
- package/dist/harness/task-step.d.ts +1 -1
- package/dist/harness/task-step.js +1 -1
- package/dist/harness/task.d.ts +6 -1
- package/dist/help/citation.d.ts +11 -1
- package/dist/help/resolution.d.ts +5 -5
- package/dist/help/source-type.d.ts +11 -1
- package/dist/help/source-type.js +10 -12
- package/dist/http/problem-detail.d.ts +14 -14
- package/dist/http/problem-detail.js +34 -31
- package/dist/identification/candidate.d.ts +2 -2
- package/dist/identification/identification.d.ts +8 -13
- package/dist/identification/identification.js +0 -2
- package/dist/identification/subject.js +1 -1
- package/dist/link/search.d.ts +402 -322
- package/dist/lookup/job-mention.d.ts +108 -93
- package/dist/lookup/job.d.ts +116 -103
- package/dist/mention/lookup.d.ts +108 -90
- package/dist/natural/search-result.d.ts +300 -240
- package/dist/natural/search.d.ts +22 -2
- package/dist/natural/search.js +5 -1
- package/dist/news/source-url-conflict.d.ts +10 -2
- package/dist/news/source-url-conflict.js +1 -1
- package/dist/openapi-component-manifest.js +13 -1
- package/dist/pagination/schemas.d.ts +546 -418
- 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/research/finding.js +1 -1
- package/dist/search/answer-citation.d.ts +9 -1
- package/dist/search/duplicate-candidate-score.d.ts +1 -1
- package/dist/search/duplicate-candidate-score.js +1 -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 +402 -322
- package/dist/sort/order-entity-filter-sortable.d.ts +23 -1
- package/dist/standardized/classification.d.ts +12 -3
- package/dist/standardized/classification.js +8 -5
- package/dist/strict/url-lookup-conflict.d.ts +10 -2
- package/dist/strict/url-lookup-conflict.js +1 -1
- package/dist/system/status.d.ts +1 -20
- package/dist/system/status.js +1 -20
- 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 +10 -2
- package/dist/url/duplicate-conflict.js +1 -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/uptime/uptime.d.ts +0 -23
- package/dist/uptime/uptime.js +0 -23
|
@@ -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>>;
|
package/dist/problem/type.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { z } from "zod/v4";
|
|
|
8
8
|
* @contractShape problem.type
|
|
9
9
|
* @contractRole canonical
|
|
10
10
|
*/
|
|
11
|
-
export declare const ProblemTypeSchema: z.ZodEnum<{
|
|
11
|
+
export declare const ProblemTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
12
12
|
readonly VALIDATION_FAILED: "https://api.aventure.vc/errors/validation-failed";
|
|
13
13
|
readonly MISSING_PARAMETER: "https://api.aventure.vc/errors/missing-parameter";
|
|
14
14
|
readonly INVALID_PARAMETER_TYPE: "https://api.aventure.vc/errors/invalid-parameter-type";
|
|
@@ -66,6 +66,66 @@ export declare const ProblemTypeSchema: z.ZodEnum<{
|
|
|
66
66
|
readonly INVALID_IMAGE: "https://api.aventure.vc/errors/invalid-image";
|
|
67
67
|
readonly UPSTREAM_EDGE_CHALLENGED: "https://api.aventure.vc/errors/upstream-edge-challenged";
|
|
68
68
|
readonly ACCELERATOR_DETAIL_RESTATES_TARGET: "https://api.aventure.vc/errors/accelerator-detail-restates-target";
|
|
69
|
-
}
|
|
69
|
+
}>, z.ZodString]> & {
|
|
70
|
+
enum: {
|
|
71
|
+
readonly VALIDATION_FAILED: "https://api.aventure.vc/errors/validation-failed";
|
|
72
|
+
readonly MISSING_PARAMETER: "https://api.aventure.vc/errors/missing-parameter";
|
|
73
|
+
readonly INVALID_PARAMETER_TYPE: "https://api.aventure.vc/errors/invalid-parameter-type";
|
|
74
|
+
readonly UNKNOWN_PARAMETER: "https://api.aventure.vc/errors/unknown-parameter";
|
|
75
|
+
readonly INVALID_ARGUMENT: "https://api.aventure.vc/errors/invalid-argument";
|
|
76
|
+
readonly INVALID_REQUEST: "https://api.aventure.vc/errors/invalid-request";
|
|
77
|
+
readonly INVALID_TOKEN: "https://api.aventure.vc/errors/invalid-token";
|
|
78
|
+
readonly TOKEN_EXPIRED: "https://api.aventure.vc/errors/token-expired";
|
|
79
|
+
readonly INVALID_AUTHENTICATION: "https://api.aventure.vc/errors/invalid-authentication";
|
|
80
|
+
readonly CLIENT_CLOSED_REQUEST: "https://api.aventure.vc/errors/client-closed-request";
|
|
81
|
+
readonly INVALID_JSON: "https://api.aventure.vc/errors/invalid-json";
|
|
82
|
+
readonly METHOD_NOT_ALLOWED: "https://api.aventure.vc/errors/method-not-allowed";
|
|
83
|
+
readonly NOT_ACCEPTABLE: "https://api.aventure.vc/errors/not-acceptable";
|
|
84
|
+
readonly UNSUPPORTED_MEDIA_TYPE: "https://api.aventure.vc/errors/unsupported-media-type";
|
|
85
|
+
readonly INTERNAL_ERROR: "https://api.aventure.vc/errors/internal-error";
|
|
86
|
+
readonly UNEXPECTED_ERROR: "https://api.aventure.vc/errors/unexpected-error";
|
|
87
|
+
readonly NOT_IMPLEMENTED: "https://api.aventure.vc/errors/not-implemented";
|
|
88
|
+
readonly AUTHENTICATION_REQUIRED: "https://api.aventure.vc/errors/authentication-required";
|
|
89
|
+
readonly AUTH_DOCS_REQUIRED: "https://api.aventure.vc/errors/auth.docs-required";
|
|
90
|
+
readonly AUTH_ADMIN_KEY_NOT_CONFIGURED: "https://api.aventure.vc/errors/auth.admin-key-not-configured";
|
|
91
|
+
readonly AUTH_EMPTY_ADMIN_KEY: "https://api.aventure.vc/errors/auth.empty-admin-key";
|
|
92
|
+
readonly AUTH_EMPTY_ADMIN_BEARER: "https://api.aventure.vc/errors/auth.empty-admin-bearer";
|
|
93
|
+
readonly AUTH_INVALID_ADMIN_KEY: "https://api.aventure.vc/errors/auth.invalid-admin-key";
|
|
94
|
+
readonly AUTH_MISSING_ADMIN_KEY: "https://api.aventure.vc/errors/auth.missing-admin-key";
|
|
95
|
+
readonly AUTH_METRICS_UNAUTHORIZED: "https://api.aventure.vc/errors/auth.metrics-unauthorized";
|
|
96
|
+
readonly ACCESS_DENIED: "https://api.aventure.vc/errors/access-denied";
|
|
97
|
+
readonly NOT_FOUND: "https://api.aventure.vc/errors/not-found";
|
|
98
|
+
readonly GONE: "https://api.aventure.vc/errors/gone";
|
|
99
|
+
readonly RATE_LIMITED: "https://api.aventure.vc/errors/rate-limited";
|
|
100
|
+
readonly PRECONDITION_FAILED: "https://api.aventure.vc/errors/precondition-failed";
|
|
101
|
+
readonly PRECONDITION_REQUIRED: "https://api.aventure.vc/errors/precondition-required";
|
|
102
|
+
readonly BILLING_ALLOWANCE_EXHAUSTED: "https://api.aventure.vc/errors/billing-allowance-exhausted";
|
|
103
|
+
readonly BILLING_ADDITIONAL_USAGE_CAP_REACHED: "https://api.aventure.vc/errors/billing-additional-usage-cap-reached";
|
|
104
|
+
readonly SUBSCRIPTION_REQUIRED: "https://api.aventure.vc/errors/subscription-required";
|
|
105
|
+
readonly SERVICE_UNAVAILABLE: "https://api.aventure.vc/errors/service-unavailable";
|
|
106
|
+
readonly MALFORMED_FORM_BODY: "https://api.aventure.vc/errors/malformed-form-body";
|
|
107
|
+
readonly STATE_CONFLICT: "https://api.aventure.vc/errors/state-conflict";
|
|
108
|
+
readonly SLUG_HELD_BY_RECORD: "https://api.aventure.vc/errors/slug-held-by-record";
|
|
109
|
+
readonly SLUG_HELD_BY_REDIRECT: "https://api.aventure.vc/errors/slug-held-by-redirect";
|
|
110
|
+
readonly SLUG_AMBIGUOUS: "https://api.aventure.vc/errors/slug-ambiguous";
|
|
111
|
+
readonly TARGET_AMBIGUOUS: "https://api.aventure.vc/errors/target-ambiguous";
|
|
112
|
+
readonly DUPLICATE: "https://api.aventure.vc/errors/duplicate";
|
|
113
|
+
readonly DUPLICATE_KEY: "https://api.aventure.vc/errors/duplicate-key";
|
|
114
|
+
readonly INTEGRITY_VIOLATION: "https://api.aventure.vc/errors/integrity-violation";
|
|
115
|
+
readonly CIRCUIT_BREAKER_OPEN: "https://api.aventure.vc/errors/circuit-breaker-open";
|
|
116
|
+
readonly BULKHEAD_FULL: "https://api.aventure.vc/errors/bulkhead-full";
|
|
117
|
+
readonly WRITE_LANE_BUSY: "https://api.aventure.vc/errors/write-lane-busy";
|
|
118
|
+
readonly DATABASE_UNAVAILABLE: "https://api.aventure.vc/errors/database-unavailable";
|
|
119
|
+
readonly DATABASE_ERROR: "https://api.aventure.vc/errors/database-error";
|
|
120
|
+
readonly FILE_TOO_LARGE: "https://api.aventure.vc/errors/file-too-large";
|
|
121
|
+
readonly MISSING_FILE_PART: "https://api.aventure.vc/errors/missing-file-part";
|
|
122
|
+
readonly INVALID_MULTIPART_BOUNDARY: "https://api.aventure.vc/errors/invalid-multipart-boundary";
|
|
123
|
+
readonly MULTIPART_PARSE_ERROR: "https://api.aventure.vc/errors/multipart-parse-error";
|
|
124
|
+
readonly NON_ENGLISH_ARTICLE: "https://api.aventure.vc/errors/non-english-article";
|
|
125
|
+
readonly INVALID_IMAGE: "https://api.aventure.vc/errors/invalid-image";
|
|
126
|
+
readonly UPSTREAM_EDGE_CHALLENGED: "https://api.aventure.vc/errors/upstream-edge-challenged";
|
|
127
|
+
readonly ACCELERATOR_DETAIL_RESTATES_TARGET: "https://api.aventure.vc/errors/accelerator-detail-restates-target";
|
|
128
|
+
};
|
|
129
|
+
};
|
|
70
130
|
export type ProblemType = z.infer<typeof ProblemTypeSchema>;
|
|
71
131
|
//# sourceMappingURL=type.d.ts.map
|
package/dist/problem/type.js
CHANGED
|
@@ -1,15 +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
|
-
|
|
4
|
-
* Known RFC 9457 error type URIs.
|
|
5
|
-
*
|
|
6
|
-
* @openapiSchema ProblemType
|
|
7
|
-
* @standardProblemResponse
|
|
8
|
-
* @usedBySchema ProblemDetailSchema
|
|
9
|
-
* @contractShape problem.type
|
|
10
|
-
* @contractRole canonical
|
|
11
|
-
*/
|
|
12
|
-
export const ProblemTypeSchema = z.enum({
|
|
3
|
+
const ProblemTypeSchemaKnownMembers = z.enum({
|
|
13
4
|
VALIDATION_FAILED: "https://api.aventure.vc/errors/validation-failed",
|
|
14
5
|
MISSING_PARAMETER: "https://api.aventure.vc/errors/missing-parameter",
|
|
15
6
|
INVALID_PARAMETER_TYPE: "https://api.aventure.vc/errors/invalid-parameter-type",
|
|
@@ -68,4 +59,14 @@ export const ProblemTypeSchema = z.enum({
|
|
|
68
59
|
UPSTREAM_EDGE_CHALLENGED: "https://api.aventure.vc/errors/upstream-edge-challenged",
|
|
69
60
|
ACCELERATOR_DETAIL_RESTATES_TARGET: "https://api.aventure.vc/errors/accelerator-detail-restates-target",
|
|
70
61
|
});
|
|
62
|
+
/**
|
|
63
|
+
* Known RFC 9457 error type URIs.
|
|
64
|
+
*
|
|
65
|
+
* @openapiSchema ProblemType
|
|
66
|
+
* @standardProblemResponse
|
|
67
|
+
* @usedBySchema ProblemDetailSchema
|
|
68
|
+
* @contractShape problem.type
|
|
69
|
+
* @contractRole canonical
|
|
70
|
+
*/
|
|
71
|
+
export const ProblemTypeSchema = Object.assign(z.union([ProblemTypeSchemaKnownMembers, z.string()]), { enum: ProblemTypeSchemaKnownMembers.enum });
|
|
71
72
|
//# sourceMappingURL=type.js.map
|
package/dist/prose/problem.d.ts
CHANGED
|
@@ -20,6 +20,20 @@ export declare const ProseProblemSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
20
20
|
textContract: "textContract";
|
|
21
21
|
unsupported: "unsupported";
|
|
22
22
|
voice: "voice";
|
|
23
|
-
}>, z.ZodString]
|
|
23
|
+
}>, z.ZodString]> & {
|
|
24
|
+
enum: {
|
|
25
|
+
disclaimer: "disclaimer";
|
|
26
|
+
factList: "factList";
|
|
27
|
+
legalSource: "legalSource";
|
|
28
|
+
mojibake: "mojibake";
|
|
29
|
+
record: "record";
|
|
30
|
+
source: "source";
|
|
31
|
+
structured: "structured";
|
|
32
|
+
temporal: "temporal";
|
|
33
|
+
textContract: "textContract";
|
|
34
|
+
unsupported: "unsupported";
|
|
35
|
+
voice: "voice";
|
|
36
|
+
};
|
|
37
|
+
};
|
|
24
38
|
export type ProseProblem = z.infer<typeof ProseProblemSchema>;
|
|
25
39
|
//# sourceMappingURL=problem.d.ts.map
|
package/dist/prose/problem.js
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
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 ProseProblemSchemaKnownMembers = z.enum([
|
|
4
|
+
"source",
|
|
5
|
+
"record",
|
|
6
|
+
"disclaimer",
|
|
7
|
+
"voice",
|
|
8
|
+
"structured",
|
|
9
|
+
"temporal",
|
|
10
|
+
"factList",
|
|
11
|
+
"mojibake",
|
|
12
|
+
"unsupported",
|
|
13
|
+
"legalSource",
|
|
14
|
+
"textContract",
|
|
15
|
+
]);
|
|
3
16
|
/**
|
|
4
17
|
* Why a sentence or paragraph of entity text or a research snippet was rejected.
|
|
5
18
|
*
|
|
@@ -9,20 +22,5 @@ import { z } from "zod/v4";
|
|
|
9
22
|
* @contractShape prose.problem
|
|
10
23
|
* @contractRole canonical
|
|
11
24
|
*/
|
|
12
|
-
export const ProseProblemSchema = z.union([
|
|
13
|
-
z.enum([
|
|
14
|
-
"source",
|
|
15
|
-
"record",
|
|
16
|
-
"disclaimer",
|
|
17
|
-
"voice",
|
|
18
|
-
"structured",
|
|
19
|
-
"temporal",
|
|
20
|
-
"factList",
|
|
21
|
-
"mojibake",
|
|
22
|
-
"unsupported",
|
|
23
|
-
"legalSource",
|
|
24
|
-
"textContract",
|
|
25
|
-
]),
|
|
26
|
-
z.string(),
|
|
27
|
-
]);
|
|
25
|
+
export const ProseProblemSchema = Object.assign(z.union([ProseProblemSchemaKnownMembers, z.string()]), { enum: ProseProblemSchemaKnownMembers.enum });
|
|
28
26
|
//# sourceMappingURL=problem.js.map
|
|
@@ -14,7 +14,21 @@ declare const ProseViolationSchemaDefinition: z.ZodObject<{
|
|
|
14
14
|
textContract: "textContract";
|
|
15
15
|
unsupported: "unsupported";
|
|
16
16
|
voice: "voice";
|
|
17
|
-
}>, z.ZodString]
|
|
17
|
+
}>, z.ZodString]> & {
|
|
18
|
+
enum: {
|
|
19
|
+
disclaimer: "disclaimer";
|
|
20
|
+
factList: "factList";
|
|
21
|
+
legalSource: "legalSource";
|
|
22
|
+
mojibake: "mojibake";
|
|
23
|
+
record: "record";
|
|
24
|
+
source: "source";
|
|
25
|
+
structured: "structured";
|
|
26
|
+
temporal: "temporal";
|
|
27
|
+
textContract: "textContract";
|
|
28
|
+
unsupported: "unsupported";
|
|
29
|
+
voice: "voice";
|
|
30
|
+
};
|
|
31
|
+
};
|
|
18
32
|
reason: z.ZodString;
|
|
19
33
|
}, z.core.$strip>;
|
|
20
34
|
type ProseViolationDefinition = z.infer<typeof ProseViolationSchemaDefinition>;
|
|
@@ -20,6 +20,15 @@ export declare const ReasoningEffortSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
20
20
|
medium: "medium";
|
|
21
21
|
minimal: "minimal";
|
|
22
22
|
xhigh: "xhigh";
|
|
23
|
-
}>, z.ZodString]
|
|
23
|
+
}>, z.ZodString]> & {
|
|
24
|
+
enum: {
|
|
25
|
+
high: "high";
|
|
26
|
+
low: "low";
|
|
27
|
+
max: "max";
|
|
28
|
+
medium: "medium";
|
|
29
|
+
minimal: "minimal";
|
|
30
|
+
xhigh: "xhigh";
|
|
31
|
+
};
|
|
32
|
+
};
|
|
24
33
|
export type ReasoningEffort = z.infer<typeof ReasoningEffortSchema>;
|
|
25
34
|
//# sourceMappingURL=effort.d.ts.map
|
package/dist/reasoning/effort.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
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 ReasoningEffortSchemaKnownMembers = z.enum([
|
|
4
|
+
"minimal",
|
|
5
|
+
"low",
|
|
6
|
+
"medium",
|
|
7
|
+
"high",
|
|
8
|
+
"xhigh",
|
|
9
|
+
"max",
|
|
10
|
+
]);
|
|
3
11
|
/**
|
|
4
12
|
* Reasoning effort level, lowest to highest: `minimal`, `low`, `medium`, `high`, `xhigh`, `max`. A model receives the nearest level it supports.
|
|
5
13
|
*
|
|
@@ -14,8 +22,5 @@ import { z } from "zod/v4";
|
|
|
14
22
|
* @contractShape reasoning.effort
|
|
15
23
|
* @contractRole canonical
|
|
16
24
|
*/
|
|
17
|
-
export const ReasoningEffortSchema = z.union([
|
|
18
|
-
z.enum(["minimal", "low", "medium", "high", "xhigh", "max"]),
|
|
19
|
-
z.string(),
|
|
20
|
-
]);
|
|
25
|
+
export const ReasoningEffortSchema = Object.assign(z.union([ReasoningEffortSchemaKnownMembers, z.string()]), { enum: ReasoningEffortSchemaKnownMembers.enum });
|
|
21
26
|
//# sourceMappingURL=effort.js.map
|
package/dist/research/finding.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
const ResearchFindingSchemaDefinition = z.object({
|
|
4
|
-
/**
|
|
4
|
+
/** Profile field the fact fills, when known; omit it and the run picks the field the fact belongs to. */
|
|
5
5
|
gateId: z.string().nullish(),
|
|
6
6
|
/** The exact text on sourceUrl that states the fact, copied verbatim; a fragment short enough to appear on any page is refused. */
|
|
7
7
|
quote: z.string(),
|
|
@@ -7,7 +7,15 @@ declare const SearchAnswerCitationSchemaDefinition: z.ZodObject<{
|
|
|
7
7
|
newsArticle: "newsArticle";
|
|
8
8
|
personRecord: "personRecord";
|
|
9
9
|
researchSnippet: "researchSnippet";
|
|
10
|
-
}>, z.ZodString]
|
|
10
|
+
}>, z.ZodString]> & {
|
|
11
|
+
enum: {
|
|
12
|
+
entityRecord: "entityRecord";
|
|
13
|
+
fundraiseTransaction: "fundraiseTransaction";
|
|
14
|
+
newsArticle: "newsArticle";
|
|
15
|
+
personRecord: "personRecord";
|
|
16
|
+
researchSnippet: "researchSnippet";
|
|
17
|
+
};
|
|
18
|
+
};
|
|
11
19
|
sourceId: z.ZodString;
|
|
12
20
|
}, z.core.$strip>;
|
|
13
21
|
type SearchAnswerCitationDefinition = z.infer<typeof SearchAnswerCitationSchemaDefinition>;
|
|
@@ -6,7 +6,7 @@ declare const SearchDuplicateCandidateScoreSchemaDefinition: z.ZodObject<{
|
|
|
6
6
|
operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
7
|
publicPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
8
|
reason: z.ZodArray<z.ZodString>;
|
|
9
|
-
score: z.ZodInt
|
|
9
|
+
score: z.ZodOptional<z.ZodInt>;
|
|
10
10
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
typeRecord: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
12
12
|
"Business Line": "Business Line";
|
|
@@ -15,7 +15,7 @@ const SearchDuplicateCandidateScoreSchemaDefinition = z.object({
|
|
|
15
15
|
/** Match reasons such as name-exact, slug-exact, url-match, url-current, url-type, or precomputed-similarity. url-match proves the supplied URL/domain matched; url-current additionally proves the candidate still holds that address today, so a candidate with url-match but no url-current matched only through a URL it no longer uses, such as an acquisition redirect. url-type only means the candidate has the same URL category and is review context, not URL identity evidence. */
|
|
16
16
|
reason: z.array(z.string()),
|
|
17
17
|
/** Ranking score for duplicate review. It is not an absence proof; a low score can still be the intended record when reason/name/slug/typeRecord match. */
|
|
18
|
-
score: z.int(),
|
|
18
|
+
score: z.int().optional(),
|
|
19
19
|
/** Candidate slug from the existing record. */
|
|
20
20
|
slug: z
|
|
21
21
|
.string()
|
|
@@ -21,6 +21,14 @@ export declare const SearchEvidenceSourceSchema: z.ZodUnion<readonly [z.ZodEnum<
|
|
|
21
21
|
newsArticle: "newsArticle";
|
|
22
22
|
personRecord: "personRecord";
|
|
23
23
|
researchSnippet: "researchSnippet";
|
|
24
|
-
}>, z.ZodString]
|
|
24
|
+
}>, z.ZodString]> & {
|
|
25
|
+
enum: {
|
|
26
|
+
entityRecord: "entityRecord";
|
|
27
|
+
fundraiseTransaction: "fundraiseTransaction";
|
|
28
|
+
newsArticle: "newsArticle";
|
|
29
|
+
personRecord: "personRecord";
|
|
30
|
+
researchSnippet: "researchSnippet";
|
|
31
|
+
};
|
|
32
|
+
};
|
|
25
33
|
export type SearchEvidenceSource = z.infer<typeof SearchEvidenceSourceSchema>;
|
|
26
34
|
//# sourceMappingURL=evidence-source.d.ts.map
|
|
@@ -1,5 +1,12 @@
|
|
|
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 SearchEvidenceSourceSchemaKnownMembers = z.enum([
|
|
4
|
+
"entityRecord",
|
|
5
|
+
"researchSnippet",
|
|
6
|
+
"newsArticle",
|
|
7
|
+
"personRecord",
|
|
8
|
+
"fundraiseTransaction",
|
|
9
|
+
]);
|
|
3
10
|
/**
|
|
4
11
|
* Owner of search evidence: `entityRecord` is the entity's structured record, `researchSnippet` an entity research snippet, `newsArticle` a news article linked to the entity; `personRecord` a person linked to the entity; `fundraiseTransaction` a recorded investment round with investor attribution.
|
|
5
12
|
*
|
|
@@ -16,14 +23,5 @@ import { z } from "zod/v4";
|
|
|
16
23
|
* @contractShape search.evidence-source
|
|
17
24
|
* @contractRole canonical
|
|
18
25
|
*/
|
|
19
|
-
export const SearchEvidenceSourceSchema = z.union([
|
|
20
|
-
z.enum([
|
|
21
|
-
"entityRecord",
|
|
22
|
-
"researchSnippet",
|
|
23
|
-
"newsArticle",
|
|
24
|
-
"personRecord",
|
|
25
|
-
"fundraiseTransaction",
|
|
26
|
-
]),
|
|
27
|
-
z.string(),
|
|
28
|
-
]);
|
|
26
|
+
export const SearchEvidenceSourceSchema = Object.assign(z.union([SearchEvidenceSourceSchemaKnownMembers, z.string()]), { enum: SearchEvidenceSourceSchemaKnownMembers.enum });
|
|
29
27
|
//# sourceMappingURL=evidence-source.js.map
|
|
@@ -256,7 +256,22 @@ declare const SearchInvestmentSchemaDefinition: z.ZodObject<{
|
|
|
256
256
|
service: "service";
|
|
257
257
|
sourceDocument: "sourceDocument";
|
|
258
258
|
text: "text";
|
|
259
|
-
}>, z.ZodString]
|
|
259
|
+
}>, z.ZodString]> & {
|
|
260
|
+
enum: {
|
|
261
|
+
agentHelpDoc: "agentHelpDoc";
|
|
262
|
+
blogPost: "blogPost";
|
|
263
|
+
classificationCode: "classificationCode";
|
|
264
|
+
classificationTag: "classificationTag";
|
|
265
|
+
entity: "entity";
|
|
266
|
+
newsArticle: "newsArticle";
|
|
267
|
+
person: "person";
|
|
268
|
+
product: "product";
|
|
269
|
+
researchSnippet: "researchSnippet";
|
|
270
|
+
service: "service";
|
|
271
|
+
sourceDocument: "sourceDocument";
|
|
272
|
+
text: "text";
|
|
273
|
+
};
|
|
274
|
+
};
|
|
260
275
|
}, z.core.$strip>>>;
|
|
261
276
|
}, z.core.$strip>;
|
|
262
277
|
type SearchInvestmentDefinition = z.infer<typeof SearchInvestmentSchemaDefinition>;
|
|
@@ -4,7 +4,13 @@ declare const SearchKnowledgeGraphAttributeSchemaDefinition: z.ZodObject<{
|
|
|
4
4
|
ceo: "ceo";
|
|
5
5
|
founded: "founded";
|
|
6
6
|
headquarters: "headquarters";
|
|
7
|
-
}>, z.ZodString]
|
|
7
|
+
}>, z.ZodString]> & {
|
|
8
|
+
enum: {
|
|
9
|
+
ceo: "ceo";
|
|
10
|
+
founded: "founded";
|
|
11
|
+
headquarters: "headquarters";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
8
14
|
value: z.ZodString;
|
|
9
15
|
}, z.core.$strip>;
|
|
10
16
|
type SearchKnowledgeGraphAttributeDefinition = z.infer<typeof SearchKnowledgeGraphAttributeSchemaDefinition>;
|
|
@@ -13,6 +13,12 @@ export declare const SearchKnowledgeGraphFactSchema: z.ZodUnion<readonly [z.ZodE
|
|
|
13
13
|
ceo: "ceo";
|
|
14
14
|
founded: "founded";
|
|
15
15
|
headquarters: "headquarters";
|
|
16
|
-
}>, z.ZodString]
|
|
16
|
+
}>, z.ZodString]> & {
|
|
17
|
+
enum: {
|
|
18
|
+
ceo: "ceo";
|
|
19
|
+
founded: "founded";
|
|
20
|
+
headquarters: "headquarters";
|
|
21
|
+
};
|
|
22
|
+
};
|
|
17
23
|
export type SearchKnowledgeGraphFact = z.infer<typeof SearchKnowledgeGraphFactSchema>;
|
|
18
24
|
//# sourceMappingURL=knowledge-graph-fact.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 SearchKnowledgeGraphFactSchemaKnownMembers = z.enum(["founded", "ceo", "headquarters"]);
|
|
3
4
|
/**
|
|
4
5
|
* Knowledge panel fact name
|
|
5
6
|
*
|
|
@@ -10,8 +11,5 @@ import { z } from "zod/v4";
|
|
|
10
11
|
* @contractShape search.knowledge-graph-fact
|
|
11
12
|
* @contractRole canonical
|
|
12
13
|
*/
|
|
13
|
-
export const SearchKnowledgeGraphFactSchema = z.union([
|
|
14
|
-
z.enum(["founded", "ceo", "headquarters"]),
|
|
15
|
-
z.string(),
|
|
16
|
-
]);
|
|
14
|
+
export const SearchKnowledgeGraphFactSchema = Object.assign(z.union([SearchKnowledgeGraphFactSchemaKnownMembers, z.string()]), { enum: SearchKnowledgeGraphFactSchemaKnownMembers.enum });
|
|
17
15
|
//# sourceMappingURL=knowledge-graph-fact.js.map
|
|
@@ -7,7 +7,16 @@ declare const SearchModeExecutionSchemaDefinition: z.ZodObject<{
|
|
|
7
7
|
keyword: "keyword";
|
|
8
8
|
natural: "natural";
|
|
9
9
|
semantic: "semantic";
|
|
10
|
-
}>, z.ZodString]
|
|
10
|
+
}>, z.ZodString]> & {
|
|
11
|
+
enum: {
|
|
12
|
+
auto: "auto";
|
|
13
|
+
exact: "exact";
|
|
14
|
+
hybrid: "hybrid";
|
|
15
|
+
keyword: "keyword";
|
|
16
|
+
natural: "natural";
|
|
17
|
+
semantic: "semantic";
|
|
18
|
+
};
|
|
19
|
+
};
|
|
11
20
|
modeUsed: z.ZodUnion<readonly [z.ZodEnum<{
|
|
12
21
|
auto: "auto";
|
|
13
22
|
exact: "exact";
|
|
@@ -15,7 +24,16 @@ declare const SearchModeExecutionSchemaDefinition: z.ZodObject<{
|
|
|
15
24
|
keyword: "keyword";
|
|
16
25
|
natural: "natural";
|
|
17
26
|
semantic: "semantic";
|
|
18
|
-
}>, z.ZodString]
|
|
27
|
+
}>, z.ZodString]> & {
|
|
28
|
+
enum: {
|
|
29
|
+
auto: "auto";
|
|
30
|
+
exact: "exact";
|
|
31
|
+
hybrid: "hybrid";
|
|
32
|
+
keyword: "keyword";
|
|
33
|
+
natural: "natural";
|
|
34
|
+
semantic: "semantic";
|
|
35
|
+
};
|
|
36
|
+
};
|
|
19
37
|
}, z.core.$strip>;
|
|
20
38
|
type SearchModeExecutionDefinition = z.infer<typeof SearchModeExecutionSchemaDefinition>;
|
|
21
39
|
export interface SearchModeExecutionSchemaInput extends z.input<typeof SearchModeExecutionSchemaDefinition> {
|
package/dist/search/mode.d.ts
CHANGED
|
@@ -26,6 +26,15 @@ export declare const SearchModeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
26
26
|
keyword: "keyword";
|
|
27
27
|
natural: "natural";
|
|
28
28
|
semantic: "semantic";
|
|
29
|
-
}>, z.ZodString]
|
|
29
|
+
}>, z.ZodString]> & {
|
|
30
|
+
enum: {
|
|
31
|
+
auto: "auto";
|
|
32
|
+
exact: "exact";
|
|
33
|
+
hybrid: "hybrid";
|
|
34
|
+
keyword: "keyword";
|
|
35
|
+
natural: "natural";
|
|
36
|
+
semantic: "semantic";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
30
39
|
export type SearchMode = z.infer<typeof SearchModeSchema>;
|
|
31
40
|
//# sourceMappingURL=mode.d.ts.map
|
package/dist/search/mode.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
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 SearchModeSchemaKnownMembers = z.enum([
|
|
4
|
+
"auto",
|
|
5
|
+
"exact",
|
|
6
|
+
"keyword",
|
|
7
|
+
"semantic",
|
|
8
|
+
"natural",
|
|
9
|
+
"hybrid",
|
|
10
|
+
]);
|
|
3
11
|
/**
|
|
4
12
|
* Search strategy for a natural-language search request. `auto` keeps the server pipeline (exact-name shortcut first, planner otherwise); `exact` matches entity or person names exactly with no planner and no embedding; `keyword` runs full-text search; `semantic` runs vector similarity; `natural` always runs the language-model planner; `hybrid` fuses keyword and semantic rankings by reciprocal rank. Entity and person natural-search support every mode but `hybrid`; news and federated search accept only `auto` and `keyword`; content search accepts `auto` (topic, type, relation, and year words become filters and any other words rank by full text), `keyword` (the full text of articles, posts, and fetched pages), `semantic` (one entity's or person's library pages by vector similarity of their fetched bodies), and `hybrid` (that owner's keyword and semantic rankings fused; each ranking is cut at the largest page size, so a hybrid search returns at most twice that many items, and it orders by fused rank only, ignoring `sort`).
|
|
5
13
|
*
|
|
@@ -20,8 +28,7 @@ import { z } from "zod/v4";
|
|
|
20
28
|
* @contractShape search.mode
|
|
21
29
|
* @contractRole canonical
|
|
22
30
|
*/
|
|
23
|
-
export const SearchModeSchema = z.union([
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
]);
|
|
31
|
+
export const SearchModeSchema = Object.assign(z.union([SearchModeSchemaKnownMembers, z.string()]), {
|
|
32
|
+
enum: SearchModeSchemaKnownMembers.enum,
|
|
33
|
+
});
|
|
27
34
|
//# sourceMappingURL=mode.js.map
|