@aventurevc/api-schemas 0.8.481 → 0.8.482
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.
|
@@ -107,6 +107,7 @@ export declare const ProblemDetailSchema: z.ZodObject<{
|
|
|
107
107
|
rateLimited: "rateLimited";
|
|
108
108
|
rate_limited: "rate_limited";
|
|
109
109
|
rbac_lookup_unavailable: "rbac_lookup_unavailable";
|
|
110
|
+
research_binding_conflicts_with_run: "research_binding_conflicts_with_run";
|
|
110
111
|
researchly_usage_unavailable: "researchly_usage_unavailable";
|
|
111
112
|
search_provider_error: "search_provider_error";
|
|
112
113
|
search_provider_not_configured: "search_provider_not_configured";
|
|
@@ -30,6 +30,8 @@ export const ProblemDetailSchema = z.object({
|
|
|
30
30
|
"harness_suppression_unverified",
|
|
31
31
|
/** An anonymous caller cannot own a lookup job. Sign in to request async. */
|
|
32
32
|
"async_lookup_sign_in_required",
|
|
33
|
+
/** Credential already binds its run; resend without the research claim. */
|
|
34
|
+
"research_binding_conflicts_with_run",
|
|
33
35
|
/** Caller is authenticated but lacks the required role for this operation. Agent action: surface the requiredRole field on the ProblemDetail and stop; do not retry without role escalation. */
|
|
34
36
|
"not_authorized",
|
|
35
37
|
/** Request was throttled. Agent action: wait at least retryAfterSeconds (or the Retry-After header), then back off exponentially on repeated 429s; with resetAt, wait until that time instead of retrying the spent monthly allowance. */
|
package/dist/mention/lookup.js
CHANGED
|
@@ -7,7 +7,7 @@ import { NewsSchema } from "../news/news.js";
|
|
|
7
7
|
const MentionLookupSchemaDefinition = z.object({
|
|
8
8
|
/** Present only for callers that sent Prefer: respond-async. Identifications are settled but shell filing is pending. Poll statusUrl until the lookup job completes; merge its filing outcomes by mentionType and name. */
|
|
9
9
|
filing: JobEnqueueSchema.nullish(),
|
|
10
|
-
/** Each distinct name: the page's own company first, then the order the source shows them, with news
|
|
10
|
+
/** Each distinct name: the page's own company first, then the order the source shows them, with news publishers and the page's bylined authors last. */
|
|
11
11
|
mention: z.array(LookupJobMentionSchema),
|
|
12
12
|
/** The stored aVenture news article the source page is, when it is one; absent otherwise. */
|
|
13
13
|
news: NewsSchema.nullish(),
|
|
@@ -14,7 +14,7 @@ export const NewsCandidateScoreSchema = z.object({
|
|
|
14
14
|
externalId: z.string().nullish(),
|
|
15
15
|
/** News article id to read or update when this candidate is the requested article. */
|
|
16
16
|
id: z.int(),
|
|
17
|
-
/** Portion of score contributed by the publication match alone; 0 when the publication did not match. A candidate whose score minus publicationScore falls below the review threshold matched only on its
|
|
17
|
+
/** Portion of score contributed by the publication match alone; 0 when the publication did not match. A candidate whose score minus publicationScore falls below the review threshold matched only on its publisher, not its story. */
|
|
18
18
|
publicationScore: z.int(),
|
|
19
19
|
/** Match reasons for reviewing the candidate. Exact reasons are decision signals regardless of whether score crosses the review threshold. */
|
|
20
20
|
reason: z.array(z.string()),
|