@aventurevc/api-schemas 0.8.480 → 0.8.481
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.
|
@@ -126,6 +126,10 @@ export declare const ProblemDetailSchema: z.ZodObject<{
|
|
|
126
126
|
text_send_limit_reached: "text_send_limit_reached";
|
|
127
127
|
text_write_job_ended: "text_write_job_ended";
|
|
128
128
|
url_surface_misclassification: "url_surface_misclassification";
|
|
129
|
+
vault_last_admin_cannot_leave: "vault_last_admin_cannot_leave";
|
|
130
|
+
vault_owner_cannot_leave: "vault_owner_cannot_leave";
|
|
131
|
+
vault_scanner_not_configured: "vault_scanner_not_configured";
|
|
132
|
+
vault_writers_not_enabled: "vault_writers_not_enabled";
|
|
129
133
|
web_crawl_fetch_failed: "web_crawl_fetch_failed";
|
|
130
134
|
website_not_own_live_site: "website_not_own_live_site";
|
|
131
135
|
}>, z.ZodString]>>>;
|
|
@@ -138,13 +138,13 @@ export const ProblemDetailSchema = z.object({
|
|
|
138
138
|
"news_rss_article_fetch_failed",
|
|
139
139
|
/** News subscription webhook verification could not connect to delivery.url. Agent action: confirm the endpoint is publicly reachable over https, then subscribe again. */
|
|
140
140
|
"callback_connection_refused",
|
|
141
|
-
/**
|
|
141
|
+
/** Webhook verification timed out; answer faster, then resubscribe. */
|
|
142
142
|
"callback_timeout",
|
|
143
143
|
/** News subscription webhook verification failed the TLS handshake. Agent action: serve a publicly trusted certificate for the delivery.url host, then subscribe again. */
|
|
144
144
|
"callback_tls_error",
|
|
145
|
-
/**
|
|
145
|
+
/** Webhook verification got a 4xx answer; accept the signed POST, resubscribe. */
|
|
146
146
|
"callback_http_4xx",
|
|
147
|
-
/**
|
|
147
|
+
/** Webhook verification got a 5xx answer; fix or wait, then resubscribe. */
|
|
148
148
|
"callback_http_5xx",
|
|
149
149
|
/** News subscription webhook verification got a 2xx answer whose body was not {"challenge":"<nonce>"} with the sent nonce. Agent action: echo the challenge exactly, then subscribe again. */
|
|
150
150
|
"callback_challenge_failed",
|
|
@@ -202,6 +202,14 @@ export const ProblemDetailSchema = z.object({
|
|
|
202
202
|
"INFERENCE_PROFILE_API_KEY_MISSING",
|
|
203
203
|
/** Language-model credentials are missing. Agent action: stop; retrying cannot succeed until aVenture restores them. */
|
|
204
204
|
"inference_profile_api_key_missing",
|
|
205
|
+
/** No virus scanner is configured; uploads are refused. Do not retry. */
|
|
206
|
+
"vault_scanner_not_configured",
|
|
207
|
+
/** Library writes are not enabled on this deployment. Do not retry. */
|
|
208
|
+
"vault_writers_not_enabled",
|
|
209
|
+
/** The workspace owner cannot leave or be removed. Do not retry. */
|
|
210
|
+
"vault_owner_cannot_leave",
|
|
211
|
+
/** The last active admin cannot leave until another admin exists. */
|
|
212
|
+
"vault_last_admin_cannot_leave",
|
|
205
213
|
]),
|
|
206
214
|
z.string().max(128),
|
|
207
215
|
])
|
|
@@ -3,7 +3,7 @@ import { z } from "zod/v4";
|
|
|
3
3
|
import { IdentificationSubjectSchema } from "../identification/subject.js";
|
|
4
4
|
import { LookupMentionSchema } from "./mention.js";
|
|
5
5
|
const LookupJobMutationSchemaDefinition = z.object({
|
|
6
|
-
/** POST /v1/lookup/mentions
|
|
6
|
+
/** POST /v1/lookup/mentions only: identify extracted names using deterministic stages, without judgment, web-evidence identity or shell filing. Name extraction is unchanged. Bulk lookup jobs accept true only with sourceNewsId; other lookup jobs reject it. */
|
|
7
7
|
deterministic: z.boolean().optional(),
|
|
8
8
|
/** Companies and people the caller already read, identified without sending the page or screenshot. Send them alone, without an article or file. On lookup jobs, maxNames is required and no records are created and no research is requested. */
|
|
9
9
|
mention: z.array(LookupMentionSchema).optional(),
|
|
@@ -29,6 +29,15 @@ declare const ResearchSnippetTypeSchemaDefinition: z.ZodObject<{
|
|
|
29
29
|
readerQuestion: z.ZodString;
|
|
30
30
|
recognized: z.ZodBoolean;
|
|
31
31
|
targetPath: z.ZodString;
|
|
32
|
+
terminalParagraphShape: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
33
|
+
maxChars: z.ZodInt;
|
|
34
|
+
maxClaimWords: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
35
|
+
maxParagraphs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
36
|
+
maxSentences: z.ZodInt;
|
|
37
|
+
minChars: z.ZodInt;
|
|
38
|
+
minParagraphs: z.ZodInt;
|
|
39
|
+
minSentences: z.ZodInt;
|
|
40
|
+
}, z.core.$strip>>>;
|
|
32
41
|
typeValue: z.ZodString;
|
|
33
42
|
writeHint: z.ZodString;
|
|
34
43
|
}, z.core.$strip>;
|
|
@@ -25,6 +25,8 @@ const ResearchSnippetTypeSchemaDefinition = z.object({
|
|
|
25
25
|
recognized: z.boolean(),
|
|
26
26
|
/** Dotted research section path the snippet attaches to. */
|
|
27
27
|
targetPath: z.string(),
|
|
28
|
+
/** Paragraph shape that write requests must satisfy instead of paragraphShape when the subject is Closed, Closed (Acquihire), Inactive, or Acquired; null = paragraphShape applies. */
|
|
29
|
+
terminalParagraphShape: ResearchParagraphShapeSchema.nullish(),
|
|
28
30
|
/** Snippet type value used in requests and responses. */
|
|
29
31
|
typeValue: z.string(),
|
|
30
32
|
/** The strategic question this snippet type answers and how to shape it. Snippets are point-in-time strategic analysis of the company's position against its market and named alternatives: open with the judgment and give dated details only as evidence for it, never as a fact list. */
|