@aventurevc/api-schemas 0.8.419 → 0.8.420

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.
@@ -0,0 +1,25 @@
1
+ import { z } from "zod/v4";
2
+ declare const AgentSuggestionListSchemaDefinition: z.ZodObject<{
3
+ suggestion: z.ZodArray<z.ZodType<{
4
+ label: string;
5
+ question: string;
6
+ }, import("./suggestion.ts").AgentSuggestionSchemaInput, z.core.$ZodTypeInternals<{
7
+ label: string;
8
+ question: string;
9
+ }, import("./suggestion.ts").AgentSuggestionSchemaInput>>>;
10
+ }, z.core.$strip>;
11
+ type AgentSuggestionListDefinition = z.infer<typeof AgentSuggestionListSchemaDefinition>;
12
+ export interface AgentSuggestionListSchemaInput extends z.input<typeof AgentSuggestionListSchemaDefinition> {
13
+ }
14
+ /**
15
+ * Prepared suggested-question buttons for the Agent tab. Empty when no recent public funding or news records qualify.
16
+ *
17
+ * @openapiSchema AgentSuggestionList
18
+ * @endpoint GET /v1/agent/suggestions
19
+ * @contractShape agent.suggestion-list
20
+ * @contractRole canonical
21
+ */
22
+ export declare const AgentSuggestionListSchema: z.ZodType<AgentSuggestionListDefinition, AgentSuggestionListSchemaInput>;
23
+ export type AgentSuggestionList = z.infer<typeof AgentSuggestionListSchema>;
24
+ export {};
25
+ //# sourceMappingURL=suggestion-list.d.ts.map
@@ -0,0 +1,17 @@
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
+ import { z } from "zod/v4";
3
+ import { AgentSuggestionSchema } from "./suggestion.js";
4
+ const AgentSuggestionListSchemaDefinition = z.object({
5
+ /** Up to 12 label-and-question pairs, most recent funding first, then recent news. Empty is a normal response, not an error. */
6
+ suggestion: z.array(AgentSuggestionSchema),
7
+ });
8
+ /**
9
+ * Prepared suggested-question buttons for the Agent tab. Empty when no recent public funding or news records qualify.
10
+ *
11
+ * @openapiSchema AgentSuggestionList
12
+ * @endpoint GET /v1/agent/suggestions
13
+ * @contractShape agent.suggestion-list
14
+ * @contractRole canonical
15
+ */
16
+ export const AgentSuggestionListSchema = AgentSuggestionListSchemaDefinition;
17
+ //# sourceMappingURL=suggestion-list.js.map
@@ -0,0 +1,21 @@
1
+ import { z } from "zod/v4";
2
+ declare const AgentSuggestionSchemaDefinition: z.ZodObject<{
3
+ label: z.ZodString;
4
+ question: z.ZodString;
5
+ }, z.core.$strip>;
6
+ type AgentSuggestionDefinition = z.infer<typeof AgentSuggestionSchemaDefinition>;
7
+ export interface AgentSuggestionSchemaInput extends z.input<typeof AgentSuggestionSchemaDefinition> {
8
+ }
9
+ /**
10
+ * One suggested Agent-tab question: the button label plus the question sent when tapped.
11
+ *
12
+ * @openapiSchema AgentSuggestion
13
+ * @endpoint GET /v1/agent/suggestions
14
+ * @usedBySchema AgentSuggestionListSchema
15
+ * @contractShape agent.suggestion
16
+ * @contractRole canonical
17
+ */
18
+ export declare const AgentSuggestionSchema: z.ZodType<AgentSuggestionDefinition, AgentSuggestionSchemaInput>;
19
+ export type AgentSuggestion = z.infer<typeof AgentSuggestionSchema>;
20
+ export {};
21
+ //# sourceMappingURL=suggestion.d.ts.map
@@ -0,0 +1,19 @@
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
+ import { z } from "zod/v4";
3
+ const AgentSuggestionSchemaDefinition = z.object({
4
+ /** Short button text naming the company and its news hook. */
5
+ label: z.string(),
6
+ /** Question sent to the research agent when the button is tapped. */
7
+ question: z.string(),
8
+ });
9
+ /**
10
+ * One suggested Agent-tab question: the button label plus the question sent when tapped.
11
+ *
12
+ * @openapiSchema AgentSuggestion
13
+ * @endpoint GET /v1/agent/suggestions
14
+ * @usedBySchema AgentSuggestionListSchema
15
+ * @contractShape agent.suggestion
16
+ * @contractRole canonical
17
+ */
18
+ export const AgentSuggestionSchema = AgentSuggestionSchemaDefinition;
19
+ //# sourceMappingURL=suggestion.js.map
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod/v4";
2
2
  /**
3
- * Published page behind a research value, read from the provenance event that wrote the value. Absent for internal sources, privacy, terms, or other legal pages, and, in public views, suppressed secondary sources such as data aggregators.
3
+ * Published page behind a research value, read from the provenance event that wrote the value. Absent for internal sources and for privacy, terms, or other legal pages.
4
4
  *
5
5
  * @openapiSchema EntityResearchPublicSource
6
6
  * @endpoint GET /v1/entities/lookup-exact
@@ -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
  /**
4
- * Published page behind a research value, read from the provenance event that wrote the value. Absent for internal sources, privacy, terms, or other legal pages, and, in public views, suppressed secondary sources such as data aggregators.
4
+ * Published page behind a research value, read from the provenance event that wrote the value. Absent for internal sources and for privacy, terms, or other legal pages.
5
5
  *
6
6
  * @openapiSchema EntityResearchPublicSource
7
7
  * @endpoint GET /v1/entities/lookup-exact
@@ -12,7 +12,7 @@ export const ENTITY_SEARCH_ENDPOINT = "/v1/entities/search";
12
12
  * @contractRole canonical
13
13
  */
14
14
  export const EntitySearchParamSchema = PageParamSchema.extend({
15
- /** Return only the matching entity count in totalElements. Content is empty by design, so the page empty flag describes content, not whether matches exist. Private backlog filters retain the search's bounded total. Unsupported with semanticQuery. */
15
+ /** Return totalElements with empty content. With private visibility and backlog filters, without semanticQuery, 5001 means at least that many; lower totals are exact. The page empty flag describes content, not matches. Unsupported with cursor or includeFullDetail=true. */
16
16
  countOnly: z.boolean().optional(),
17
17
  /** Opaque entity cursor; reuse filters and sort. Cursor is unsupported with countOnly; semanticQuery depends on the endpoint. */
18
18
  cursor: z.string().optional(),
@@ -177,6 +177,21 @@ export declare const IdentificationSchema: z.ZodObject<{
177
177
  };
178
178
  }>>;
179
179
  filingRefusalDetail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
180
+ filingResolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
181
+ acceptedValue: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
182
+ action: z.ZodEnum<{
183
+ authenticate: "authenticate";
184
+ removeParameter: "removeParameter";
185
+ reviewCandidates: "reviewCandidates";
186
+ setField: "setField";
187
+ setParameter: "setParameter";
188
+ useEndpoint: "useEndpoint";
189
+ }>;
190
+ endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
191
+ fieldPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
192
+ parameter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
193
+ retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
194
+ }, z.core.$strip>>>;
180
195
  inserted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
181
196
  languageModelSettled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
182
197
  match: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -4,6 +4,7 @@ import { DomainConflictTypeSchema } from "../domain/conflict-type.js";
4
4
  import { EntityPersonOwnerSchema } from "../entity/person-owner.js";
5
5
  import { IdentificationCandidateSchema } from "./candidate.js";
6
6
  import { JobEnqueueSchema } from "../job/enqueue.js";
7
+ import { ProblemResolutionSchema } from "../problem/resolution.js";
7
8
  import { UrlHostFormResolutionSchema } from "../url/host-form-resolution.js";
8
9
  /**
9
10
  * Which existing entity or person satisfies the requested identity, type, and provider scope, how that was settled, and the candidates considered, most probable first.
@@ -38,6 +39,8 @@ export const IdentificationSchema = z.object({
38
39
  filingRefusal: DomainConflictTypeSchema.nullish(),
39
40
  /** Reason that pre-insert validation refused filing; present for verified previews as well as filing requests when validation refuses the subject. Absent when validation admits it; a preview never creates a record or claims a source identifier. */
40
41
  filingRefusalDetail: z.string().nullish(),
42
+ /** The naming owner's typed correction for a refused verified preview or filing. Absent on older responses or when no correction was supplied; absence never permits a retry. */
43
+ filingResolution: ProblemResolutionSchema.nullish(),
41
44
  /** Present only for callers that sent Prefer: respond-async. For a completed filing job, whether that request inserted created. */
42
45
  inserted: z.boolean().nullish(),
43
46
  /** true when the match was settled on a second, slower review; confirm it before relying on it. Absent otherwise. */
@@ -1903,6 +1903,21 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
1903
1903
  };
1904
1904
  }>>;
1905
1905
  filingRefusalDetail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1906
+ filingResolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1907
+ acceptedValue: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1908
+ action: z.ZodEnum<{
1909
+ authenticate: "authenticate";
1910
+ removeParameter: "removeParameter";
1911
+ reviewCandidates: "reviewCandidates";
1912
+ setField: "setField";
1913
+ setParameter: "setParameter";
1914
+ useEndpoint: "useEndpoint";
1915
+ }>;
1916
+ endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1917
+ fieldPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1918
+ parameter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1919
+ retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1920
+ }, z.core.$strip>>>;
1906
1921
  inserted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1907
1922
  languageModelSettled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1908
1923
  match: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -172,6 +172,21 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
172
172
  };
173
173
  }>>;
174
174
  filingRefusalDetail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
175
+ filingResolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
176
+ acceptedValue: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
177
+ action: z.ZodEnum<{
178
+ authenticate: "authenticate";
179
+ removeParameter: "removeParameter";
180
+ reviewCandidates: "reviewCandidates";
181
+ setField: "setField";
182
+ setParameter: "setParameter";
183
+ useEndpoint: "useEndpoint";
184
+ }>;
185
+ endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
186
+ fieldPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
187
+ parameter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
188
+ retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
189
+ }, z.core.$strip>>>;
175
190
  inserted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
176
191
  languageModelSettled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
177
192
  match: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1252,6 +1267,14 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1252
1267
  } | null | undefined;
1253
1268
  filingRefusal?: string | null | undefined;
1254
1269
  filingRefusalDetail?: string | null | undefined;
1270
+ filingResolution?: {
1271
+ acceptedValue?: string[] | null | undefined;
1272
+ action: "authenticate" | "removeParameter" | "reviewCandidates" | "setField" | "setParameter" | "useEndpoint";
1273
+ endpoint?: string | null | undefined;
1274
+ fieldPath?: string | null | undefined;
1275
+ parameter?: string | null | undefined;
1276
+ retryable?: boolean | null | undefined;
1277
+ } | null | undefined;
1255
1278
  inserted?: boolean | null | undefined;
1256
1279
  languageModelSettled?: boolean | null | undefined;
1257
1280
  match?: {
@@ -2369,6 +2392,14 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
2369
2392
  } | null | undefined;
2370
2393
  filingRefusal?: string | null | undefined;
2371
2394
  filingRefusalDetail?: string | null | undefined;
2395
+ filingResolution?: {
2396
+ acceptedValue?: string[] | null | undefined;
2397
+ action: "authenticate" | "removeParameter" | "reviewCandidates" | "setField" | "setParameter" | "useEndpoint";
2398
+ endpoint?: string | null | undefined;
2399
+ fieldPath?: string | null | undefined;
2400
+ parameter?: string | null | undefined;
2401
+ retryable?: boolean | null | undefined;
2402
+ } | null | undefined;
2372
2403
  inserted?: boolean | null | undefined;
2373
2404
  languageModelSettled?: boolean | null | undefined;
2374
2405
  match?: {
@@ -1011,6 +1011,14 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
1011
1011
  } | null | undefined;
1012
1012
  filingRefusal?: string | null | undefined;
1013
1013
  filingRefusalDetail?: string | null | undefined;
1014
+ filingResolution?: {
1015
+ acceptedValue?: string[] | null | undefined;
1016
+ action: "authenticate" | "removeParameter" | "reviewCandidates" | "setField" | "setParameter" | "useEndpoint";
1017
+ endpoint?: string | null | undefined;
1018
+ fieldPath?: string | null | undefined;
1019
+ parameter?: string | null | undefined;
1020
+ retryable?: boolean | null | undefined;
1021
+ } | null | undefined;
1014
1022
  inserted?: boolean | null | undefined;
1015
1023
  languageModelSettled?: boolean | null | undefined;
1016
1024
  match?: {
@@ -2128,6 +2136,14 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
2128
2136
  } | null | undefined;
2129
2137
  filingRefusal?: string | null | undefined;
2130
2138
  filingRefusalDetail?: string | null | undefined;
2139
+ filingResolution?: {
2140
+ acceptedValue?: string[] | null | undefined;
2141
+ action: "authenticate" | "removeParameter" | "reviewCandidates" | "setField" | "setParameter" | "useEndpoint";
2142
+ endpoint?: string | null | undefined;
2143
+ fieldPath?: string | null | undefined;
2144
+ parameter?: string | null | undefined;
2145
+ retryable?: boolean | null | undefined;
2146
+ } | null | undefined;
2131
2147
  inserted?: boolean | null | undefined;
2132
2148
  languageModelSettled?: boolean | null | undefined;
2133
2149
  match?: {
@@ -15,6 +15,11 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
15
15
  AddressState: { modulePath: "address/state", schemaName: "AddressStateSchema" },
16
16
  AgentHelp: { modulePath: "agent/help", schemaName: "AgentHelpSchema" },
17
17
  AgentHelpQuestion: { modulePath: "agent/help-question", schemaName: "AgentHelpQuestionSchema" },
18
+ AgentSuggestion: { modulePath: "agent/suggestion", schemaName: "AgentSuggestionSchema" },
19
+ AgentSuggestionList: {
20
+ modulePath: "agent/suggestion-list",
21
+ schemaName: "AgentSuggestionListSchema",
22
+ },
18
23
  AgentTaskPreset: { modulePath: "agent/task-preset", schemaName: "AgentTaskPresetSchema" },
19
24
  AgentTaskPresetCatalog: {
20
25
  modulePath: "agent/task-preset-catalog",
@@ -4,6 +4,7 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema ProblemResolution
6
6
  * @standardProblemResponse
7
+ * @usedBySchema IdentificationSchema
7
8
  * @usedBySchema ProblemDetailSchema
8
9
  * @contractShape problem.resolution
9
10
  * @contractRole canonical
@@ -5,6 +5,7 @@ import { z } from "zod/v4";
5
5
  *
6
6
  * @openapiSchema ProblemResolution
7
7
  * @standardProblemResponse
8
+ * @usedBySchema IdentificationSchema
8
9
  * @usedBySchema ProblemDetailSchema
9
10
  * @contractShape problem.resolution
10
11
  * @contractRole canonical
@@ -25,6 +25,7 @@ import { z } from "zod/v4";
25
25
  * @contractRole canonical
26
26
  */
27
27
  export declare const UniqueIdTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
28
+ australiaAbn: "australiaAbn";
28
29
  belgiumEnterpriseNumber: "belgiumEnterpriseNumber";
29
30
  brazilCnpj: "brazilCnpj";
30
31
  chinaUnifiedSocialCreditCode: "chinaUnifiedSocialCreditCode";
@@ -69,6 +70,7 @@ export declare const UniqueIdTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
69
70
  vietnamTaxCode: "vietnamTaxCode";
70
71
  }>, z.ZodString]> & {
71
72
  enum: {
73
+ australiaAbn: "australiaAbn";
72
74
  belgiumEnterpriseNumber: "belgiumEnterpriseNumber";
73
75
  brazilCnpj: "brazilCnpj";
74
76
  chinaUnifiedSocialCreditCode: "chinaUnifiedSocialCreditCode";
@@ -8,6 +8,7 @@ const UniqueIdTypeSchemaKnownMembers = z.enum([
8
8
  "irelandCompanyNumber",
9
9
  "japanCryptoAssetExchangeRegistration",
10
10
  "ukraineEdrpou",
11
+ "australiaAbn",
11
12
  "franceSiren",
12
13
  "belgiumEnterpriseNumber",
13
14
  "chinaUnifiedSocialCreditCode",
@@ -6,6 +6,7 @@ declare const UniqueIdSchemaDefinition: z.ZodObject<{
6
6
  id: z.ZodInt;
7
7
  identifier: z.ZodString;
8
8
  idType: z.ZodUnion<readonly [z.ZodEnum<{
9
+ australiaAbn: "australiaAbn";
9
10
  belgiumEnterpriseNumber: "belgiumEnterpriseNumber";
10
11
  brazilCnpj: "brazilCnpj";
11
12
  chinaUnifiedSocialCreditCode: "chinaUnifiedSocialCreditCode";
@@ -50,6 +51,7 @@ declare const UniqueIdSchemaDefinition: z.ZodObject<{
50
51
  vietnamTaxCode: "vietnamTaxCode";
51
52
  }>, z.ZodString]> & {
52
53
  enum: {
54
+ australiaAbn: "australiaAbn";
53
55
  belgiumEnterpriseNumber: "belgiumEnterpriseNumber";
54
56
  brazilCnpj: "brazilCnpj";
55
57
  chinaUnifiedSocialCreditCode: "chinaUnifiedSocialCreditCode";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.419",
3
+ "version": "0.8.420",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",