@aventurevc/api-schemas 0.8.180 → 0.8.181

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.
@@ -6,6 +6,7 @@ import { z } from "zod/v4";
6
6
  * @endpoint GET /v1/entities
7
7
  * @endpoint GET /v1/entities/brand
8
8
  * @endpoint GET /v1/entities/lookup-exact
9
+ * @endpoint GET /v1/lookup
9
10
  * @endpoint GET /v1/people/lookup-exact
10
11
  * @endpoint GET /v1/search/link
11
12
  * @endpoint GET /v1/entities/{entityId}
@@ -27,15 +28,19 @@ import { z } from "zod/v4";
27
28
  * @endpoint GET /v1/search/link/jobs/{jobId}
28
29
  * @endpoint GET /v1/search/shared/{id}
29
30
  * @endpoint GET /v1/search/shared/slug/{slug}
31
+ * @endpoint POST /v1/entities/lookup
30
32
  * @endpoint POST /v1/entities/lookup-batch
31
33
  * @endpoint POST /v1/entities/lookup-matches
32
34
  * @endpoint POST /v1/entities/search
35
+ * @endpoint POST /v1/lookup
33
36
  * @endpoint POST /v1/lookup-mentions
37
+ * @endpoint POST /v1/people/lookup
34
38
  * @endpoint POST /v1/people/lookup-batch
35
39
  * @endpoint POST /v1/search
36
40
  * @endpoint POST /v1/search/natural/entities
37
41
  * @endpoint POST /v1/search/shared
38
42
  * @usedBySchema EntityUrlLinkSchema
43
+ * @usedBySchema UrlHostFormResolutionSchema
39
44
  * @contractShape entity.url-crawl-cdn-provider
40
45
  * @contractRole canonical
41
46
  */
@@ -7,6 +7,7 @@ import { z } from "zod/v4";
7
7
  * @endpoint GET /v1/entities
8
8
  * @endpoint GET /v1/entities/brand
9
9
  * @endpoint GET /v1/entities/lookup-exact
10
+ * @endpoint GET /v1/lookup
10
11
  * @endpoint GET /v1/people/lookup-exact
11
12
  * @endpoint GET /v1/search/link
12
13
  * @endpoint GET /v1/entities/{entityId}
@@ -28,15 +29,19 @@ import { z } from "zod/v4";
28
29
  * @endpoint GET /v1/search/link/jobs/{jobId}
29
30
  * @endpoint GET /v1/search/shared/{id}
30
31
  * @endpoint GET /v1/search/shared/slug/{slug}
32
+ * @endpoint POST /v1/entities/lookup
31
33
  * @endpoint POST /v1/entities/lookup-batch
32
34
  * @endpoint POST /v1/entities/lookup-matches
33
35
  * @endpoint POST /v1/entities/search
36
+ * @endpoint POST /v1/lookup
34
37
  * @endpoint POST /v1/lookup-mentions
38
+ * @endpoint POST /v1/people/lookup
35
39
  * @endpoint POST /v1/people/lookup-batch
36
40
  * @endpoint POST /v1/search
37
41
  * @endpoint POST /v1/search/natural/entities
38
42
  * @endpoint POST /v1/search/shared
39
43
  * @usedBySchema EntityUrlLinkSchema
44
+ * @usedBySchema UrlHostFormResolutionSchema
40
45
  * @contractShape entity.url-crawl-cdn-provider
41
46
  * @contractRole canonical
42
47
  */
@@ -6,6 +6,7 @@ import { z } from "zod/v4";
6
6
  * @endpoint GET /v1/entities
7
7
  * @endpoint GET /v1/entities/brand
8
8
  * @endpoint GET /v1/entities/lookup-exact
9
+ * @endpoint GET /v1/lookup
9
10
  * @endpoint GET /v1/people/lookup-exact
10
11
  * @endpoint GET /v1/search/link
11
12
  * @endpoint GET /v1/entities/{entityId}
@@ -27,15 +28,19 @@ import { z } from "zod/v4";
27
28
  * @endpoint GET /v1/search/link/jobs/{jobId}
28
29
  * @endpoint GET /v1/search/shared/{id}
29
30
  * @endpoint GET /v1/search/shared/slug/{slug}
31
+ * @endpoint POST /v1/entities/lookup
30
32
  * @endpoint POST /v1/entities/lookup-batch
31
33
  * @endpoint POST /v1/entities/lookup-matches
32
34
  * @endpoint POST /v1/entities/search
35
+ * @endpoint POST /v1/lookup
33
36
  * @endpoint POST /v1/lookup-mentions
37
+ * @endpoint POST /v1/people/lookup
34
38
  * @endpoint POST /v1/people/lookup-batch
35
39
  * @endpoint POST /v1/search
36
40
  * @endpoint POST /v1/search/natural/entities
37
41
  * @endpoint POST /v1/search/shared
38
42
  * @usedBySchema EntityUrlLinkSchema
43
+ * @usedBySchema UrlHostFormResolutionSchema
39
44
  * @contractShape entity.url-crawl-render-mode
40
45
  * @contractRole canonical
41
46
  */
@@ -7,6 +7,7 @@ import { z } from "zod/v4";
7
7
  * @endpoint GET /v1/entities
8
8
  * @endpoint GET /v1/entities/brand
9
9
  * @endpoint GET /v1/entities/lookup-exact
10
+ * @endpoint GET /v1/lookup
10
11
  * @endpoint GET /v1/people/lookup-exact
11
12
  * @endpoint GET /v1/search/link
12
13
  * @endpoint GET /v1/entities/{entityId}
@@ -28,15 +29,19 @@ import { z } from "zod/v4";
28
29
  * @endpoint GET /v1/search/link/jobs/{jobId}
29
30
  * @endpoint GET /v1/search/shared/{id}
30
31
  * @endpoint GET /v1/search/shared/slug/{slug}
32
+ * @endpoint POST /v1/entities/lookup
31
33
  * @endpoint POST /v1/entities/lookup-batch
32
34
  * @endpoint POST /v1/entities/lookup-matches
33
35
  * @endpoint POST /v1/entities/search
36
+ * @endpoint POST /v1/lookup
34
37
  * @endpoint POST /v1/lookup-mentions
38
+ * @endpoint POST /v1/people/lookup
35
39
  * @endpoint POST /v1/people/lookup-batch
36
40
  * @endpoint POST /v1/search
37
41
  * @endpoint POST /v1/search/natural/entities
38
42
  * @endpoint POST /v1/search/shared
39
43
  * @usedBySchema EntityUrlLinkSchema
44
+ * @usedBySchema UrlHostFormResolutionSchema
40
45
  * @contractShape entity.url-crawl-render-mode
41
46
  * @contractRole canonical
42
47
  */
@@ -200,6 +200,25 @@ export declare const IdentificationSchema: z.ZodObject<{
200
200
  NEEDS_REVIEW: "NEEDS_REVIEW";
201
201
  NO_MATCH: "NO_MATCH";
202
202
  }>;
203
+ urlHostForm: z.ZodArray<z.ZodType<{
204
+ concluded: boolean;
205
+ crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
206
+ crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
207
+ landingHost?: string | null | undefined;
208
+ outcome?: "noResponse" | "refusal" | "rejection" | "success" | "transient" | null | undefined;
209
+ status?: string | null | undefined;
210
+ submittedUrl: string;
211
+ url: string;
212
+ }, import("../url/host-form-resolution.ts").UrlHostFormResolutionSchemaInput, z.core.$ZodTypeInternals<{
213
+ concluded: boolean;
214
+ crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
215
+ crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
216
+ landingHost?: string | null | undefined;
217
+ outcome?: "noResponse" | "refusal" | "rejection" | "success" | "transient" | null | undefined;
218
+ status?: string | null | undefined;
219
+ submittedUrl: string;
220
+ url: string;
221
+ }, import("../url/host-form-resolution.ts").UrlHostFormResolutionSchemaInput>>>;
203
222
  }, z.core.$strip>;
204
223
  export type Identification = z.infer<typeof IdentificationSchema>;
205
224
  //# sourceMappingURL=identification.d.ts.map
@@ -1,6 +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
  import { IdentificationCandidateSchema } from "./candidate.js";
4
+ import { UrlHostFormResolutionSchema } from "../url/host-form-resolution.js";
4
5
  /**
5
6
  * Which existing entity or person satisfies the requested identity, type, and provider scope, how that was settled, and the candidates considered, most probable first.
6
7
  *
@@ -19,13 +20,13 @@ import { IdentificationCandidateSchema } from "./candidate.js";
19
20
  export const IdentificationSchema = z.object({
20
21
  /** Records considered, most probable first. */
21
22
  candidate: z.array(IdentificationCandidateSchema),
22
- /** With fileOnMiss=true, the new record this NO_MATCH created, or the existing one that already held its website. Absent otherwise. */
23
+ /** The new unpublished record a NO_MATCH subject with a proven own site was added as, or the existing one that already held its website. Absent otherwise. */
23
24
  created: IdentificationCandidateSchema.nullish(),
24
25
  /** One sentence naming what settled the answer or what the user must decide. */
25
26
  detail: z.string(),
26
27
  /** Other records that appear to describe the same subject as match. Empty when none were found. */
27
28
  duplicate: z.array(IdentificationCandidateSchema),
28
- /** Research request filed for the created record; absent without created, and when the record is already public. */
29
+ /** Research request filed for the created record; absent without created, when the lookup did not request research on it, and when the record is already public. */
29
30
  enrichmentRunId: z.uuid().nullish(),
30
31
  /** true when the match was settled on a second, slower review; confirm it before relying on it. Absent otherwise. */
31
32
  languageModelSettled: z.boolean().nullish(),
@@ -35,5 +36,7 @@ export const IdentificationSchema = z.object({
35
36
  officialUrl: z.string().nullish(),
36
37
  /** Use the scoped match, record scoped absence, or refine an ambiguous identity with evidence. */
37
38
  status: z.enum(["MATCHED", "NO_MATCH", "NEEDS_REVIEW"]),
39
+ /** Fresh backend URL evidence gathered when verifyUrl=true; empty otherwise. */
40
+ urlHostForm: z.array(UrlHostFormResolutionSchema),
38
41
  });
39
42
  //# sourceMappingURL=identification.js.map
@@ -22,6 +22,11 @@ export declare const IdentificationSubjectSchema: z.ZodObject<{
22
22
  location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  providerId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
25
+ sourceIdentifier: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26
+ identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ idType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ }, z.core.$strip>>>;
25
30
  sourceNewsId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
26
31
  sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
32
  typeRecord: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -1,6 +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
  import { EntityTypeSchema } from "../entity/type.js";
4
+ import { UniqueIdMutationSchema } from "../unique/id-mutation.js";
4
5
  /**
5
6
  * The company, Product, Service, or person to identify. Send the name, a URL it owns, or both, plus every location and source you have; a website or profile URL usually settles the answer without any model call.
6
7
  *
@@ -26,6 +27,8 @@ export const IdentificationSubjectSchema = z.object({
26
27
  name: z.string().max(200).nullish(),
27
28
  /** Provider entity id for a Product or Service lookup. Omit it when the provider is unknown. With no typeRecord, searches both Product and Service. Invalid for a company type or a person lookup. */
28
29
  providerId: z.uuid().nullish(),
30
+ /** Internal permanent Folk source identity. Requires private visibility and resolves before names or URLs. */
31
+ sourceIdentifier: UniqueIdMutationSchema.nullish(),
29
32
  /** aVenture news id of the article that mentions the subject; an unknown id is a 400. */
30
33
  sourceNewsId: z.int().nullish(),
31
34
  /** URL of the article that mentions the subject; read from aVenture news when stored there, otherwise fetched. */
@@ -1091,6 +1091,25 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
1091
1091
  NEEDS_REVIEW: "NEEDS_REVIEW";
1092
1092
  NO_MATCH: "NO_MATCH";
1093
1093
  }>;
1094
+ urlHostForm: z.ZodArray<z.ZodType<{
1095
+ concluded: boolean;
1096
+ crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
1097
+ crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
1098
+ landingHost?: string | null | undefined;
1099
+ outcome?: "noResponse" | "refusal" | "rejection" | "success" | "transient" | null | undefined;
1100
+ status?: string | null | undefined;
1101
+ submittedUrl: string;
1102
+ url: string;
1103
+ }, import("../url/host-form-resolution.ts").UrlHostFormResolutionSchemaInput, z.core.$ZodTypeInternals<{
1104
+ concluded: boolean;
1105
+ crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
1106
+ crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
1107
+ landingHost?: string | null | undefined;
1108
+ outcome?: "noResponse" | "refusal" | "rejection" | "success" | "transient" | null | undefined;
1109
+ status?: string | null | undefined;
1110
+ submittedUrl: string;
1111
+ url: string;
1112
+ }, import("../url/host-form-resolution.ts").UrlHostFormResolutionSchemaInput>>>;
1094
1113
  }, z.core.$strip>>>;
1095
1114
  mentionType: z.ZodEnum<{
1096
1115
  COMPANY: "COMPANY";
@@ -19,7 +19,7 @@ const LookupJobMentionSchemaDefinition = z.object({
19
19
  name: z.string(),
20
20
  /** POST /v1/lookup-mentions only: the candidate people as search results show them, ranked like entity. */
21
21
  person: z.array(PersonSchema),
22
- /** New unpublished record aVenture created for a NO_MATCH name that the article and another live page both name. enrichmentRunId names the research already filed for it; to file research yourself, send its entityId to POST /v1/entities/{entityId}/enrichments or its personId to POST /v1/people/{personId}/enrichments. */
22
+ /** New unpublished record aVenture created, at no charge, for a NO_MATCH name whose own live site names it. enrichmentRunId names research filed for it, if any; to file research yourself, send its entityId to POST /v1/entities/{entityId}/enrichments or its personId to POST /v1/people/{personId}/enrichments. */
23
23
  shell: EntityPersonOwnerSchema.nullish(),
24
24
  /** Why no new record was created for this NO_MATCH name. */
25
25
  shellDetail: z.string().nullish(),
@@ -24,6 +24,11 @@ declare const LookupJobMutationSchemaDefinition: z.ZodObject<{
24
24
  location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  providerId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
27
+ sourceIdentifier: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
+ identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ idType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$strip>>>;
27
32
  sourceNewsId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
28
33
  sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
34
  typeRecord: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -188,6 +188,25 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
188
188
  NEEDS_REVIEW: "NEEDS_REVIEW";
189
189
  NO_MATCH: "NO_MATCH";
190
190
  }>;
191
+ urlHostForm: z.ZodArray<z.ZodType<{
192
+ concluded: boolean;
193
+ crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
194
+ crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
195
+ landingHost?: string | null | undefined;
196
+ outcome?: "noResponse" | "refusal" | "rejection" | "success" | "transient" | null | undefined;
197
+ status?: string | null | undefined;
198
+ submittedUrl: string;
199
+ url: string;
200
+ }, import("../url/host-form-resolution.ts").UrlHostFormResolutionSchemaInput, z.core.$ZodTypeInternals<{
201
+ concluded: boolean;
202
+ crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
203
+ crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
204
+ landingHost?: string | null | undefined;
205
+ outcome?: "noResponse" | "refusal" | "rejection" | "success" | "transient" | null | undefined;
206
+ status?: string | null | undefined;
207
+ submittedUrl: string;
208
+ url: string;
209
+ }, import("../url/host-form-resolution.ts").UrlHostFormResolutionSchemaInput>>>;
191
210
  }, z.core.$strip>>>;
192
211
  jobId: z.ZodUUID;
193
212
  limitReached: z.ZodBoolean;
@@ -757,6 +776,16 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
757
776
  } | null | undefined;
758
777
  officialUrl?: string | null | undefined;
759
778
  status: "MATCHED" | "NEEDS_REVIEW" | "NO_MATCH";
779
+ urlHostForm: {
780
+ concluded: boolean;
781
+ crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
782
+ crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
783
+ landingHost?: string | null | undefined;
784
+ outcome?: "noResponse" | "refusal" | "rejection" | "success" | "transient" | null | undefined;
785
+ status?: string | null | undefined;
786
+ submittedUrl: string;
787
+ url: string;
788
+ }[];
760
789
  } | null | undefined;
761
790
  mentionType: "COMPANY" | "PERSON" | "PRODUCT_SERVICE";
762
791
  name: string;
@@ -1369,6 +1398,16 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1369
1398
  } | null | undefined;
1370
1399
  officialUrl?: string | null | undefined;
1371
1400
  status: "MATCHED" | "NEEDS_REVIEW" | "NO_MATCH";
1401
+ urlHostForm: {
1402
+ concluded: boolean;
1403
+ crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
1404
+ crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
1405
+ landingHost?: string | null | undefined;
1406
+ outcome?: "noResponse" | "refusal" | "rejection" | "success" | "transient" | null | undefined;
1407
+ status?: string | null | undefined;
1408
+ submittedUrl: string;
1409
+ url: string;
1410
+ }[];
1372
1411
  } | null | undefined;
1373
1412
  mentionType: "COMPANY" | "PERSON" | "PRODUCT_SERVICE";
1374
1413
  name: string;
@@ -1436,6 +1475,11 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1436
1475
  location?: string | null | undefined;
1437
1476
  name?: string | null | undefined;
1438
1477
  providerId?: string | null | undefined;
1478
+ sourceIdentifier?: {
1479
+ identifier?: string | null | undefined;
1480
+ idType?: string | null | undefined;
1481
+ source?: string | null | undefined;
1482
+ } | null | undefined;
1439
1483
  sourceNewsId?: number | null | undefined;
1440
1484
  sourceUrl?: string | null | undefined;
1441
1485
  typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
@@ -1458,6 +1502,11 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1458
1502
  location?: string | null | undefined;
1459
1503
  name?: string | null | undefined;
1460
1504
  providerId?: string | null | undefined;
1505
+ sourceIdentifier?: {
1506
+ identifier?: string | null | undefined;
1507
+ idType?: string | null | undefined;
1508
+ source?: string | null | undefined;
1509
+ } | null | undefined;
1461
1510
  sourceNewsId?: number | null | undefined;
1462
1511
  sourceUrl?: string | null | undefined;
1463
1512
  typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
@@ -565,6 +565,16 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
565
565
  } | null | undefined;
566
566
  officialUrl?: string | null | undefined;
567
567
  status: "MATCHED" | "NEEDS_REVIEW" | "NO_MATCH";
568
+ urlHostForm: {
569
+ concluded: boolean;
570
+ crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
571
+ crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
572
+ landingHost?: string | null | undefined;
573
+ outcome?: "noResponse" | "refusal" | "rejection" | "success" | "transient" | null | undefined;
574
+ status?: string | null | undefined;
575
+ submittedUrl: string;
576
+ url: string;
577
+ }[];
568
578
  } | null | undefined;
569
579
  mentionType: "COMPANY" | "PERSON" | "PRODUCT_SERVICE";
570
580
  name: string;
@@ -1177,6 +1187,16 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
1177
1187
  } | null | undefined;
1178
1188
  officialUrl?: string | null | undefined;
1179
1189
  status: "MATCHED" | "NEEDS_REVIEW" | "NO_MATCH";
1190
+ urlHostForm: {
1191
+ concluded: boolean;
1192
+ crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
1193
+ crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
1194
+ landingHost?: string | null | undefined;
1195
+ outcome?: "noResponse" | "refusal" | "rejection" | "success" | "transient" | null | undefined;
1196
+ status?: string | null | undefined;
1197
+ submittedUrl: string;
1198
+ url: string;
1199
+ }[];
1180
1200
  } | null | undefined;
1181
1201
  mentionType: "COMPANY" | "PERSON" | "PRODUCT_SERVICE";
1182
1202
  name: string;
@@ -1003,6 +1003,7 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
1003
1003
  SystemStatus: { modulePath: "system/status", schemaName: "SystemStatusSchema" },
1004
1004
  TextTypeOption: { modulePath: "text/type-option", schemaName: "TextTypeOptionSchema" },
1005
1005
  UniqueId: { modulePath: "unique/id", schemaName: "UniqueIdSchema" },
1006
+ UniqueIdMutation: { modulePath: "unique/id-mutation", schemaName: "UniqueIdMutationSchema" },
1006
1007
  UniqueIdOwnerScope: {
1007
1008
  modulePath: "unique/id-owner-scope",
1008
1009
  schemaName: "UniqueIdOwnerScopeSchema",
@@ -1017,6 +1018,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
1017
1018
  schemaName: "UrlDuplicateConflictSchema",
1018
1019
  },
1019
1020
  UrlDuplicateJoin: { modulePath: "url/duplicate-join", schemaName: "UrlDuplicateJoinSchema" },
1021
+ UrlHostFormResolution: {
1022
+ modulePath: "url/host-form-resolution",
1023
+ schemaName: "UrlHostFormResolutionSchema",
1024
+ },
1020
1025
  UrlMatchMode: { modulePath: "url/match-mode", schemaName: "UrlMatchModeSchema" },
1021
1026
  UrlTypeAlias: { modulePath: "url/type-alias", schemaName: "UrlTypeAliasSchema" },
1022
1027
  ValuationType: { modulePath: "valuation/type", schemaName: "ValuationTypeSchema" },
@@ -18,6 +18,7 @@ export declare const ProblemTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
18
18
  readonly INVALID_TOKEN: "https://api.aventure.vc/errors/invalid-token";
19
19
  readonly TOKEN_EXPIRED: "https://api.aventure.vc/errors/token-expired";
20
20
  readonly INVALID_AUTHENTICATION: "https://api.aventure.vc/errors/invalid-authentication";
21
+ readonly MALFORMED_TOKEN: "https://api.aventure.vc/errors/malformed-token";
21
22
  readonly CLIENT_CLOSED_REQUEST: "https://api.aventure.vc/errors/client-closed-request";
22
23
  readonly INVALID_JSON: "https://api.aventure.vc/errors/invalid-json";
23
24
  readonly METHOD_NOT_ALLOWED: "https://api.aventure.vc/errors/method-not-allowed";
@@ -77,6 +78,7 @@ export declare const ProblemTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
77
78
  readonly INVALID_TOKEN: "https://api.aventure.vc/errors/invalid-token";
78
79
  readonly TOKEN_EXPIRED: "https://api.aventure.vc/errors/token-expired";
79
80
  readonly INVALID_AUTHENTICATION: "https://api.aventure.vc/errors/invalid-authentication";
81
+ readonly MALFORMED_TOKEN: "https://api.aventure.vc/errors/malformed-token";
80
82
  readonly CLIENT_CLOSED_REQUEST: "https://api.aventure.vc/errors/client-closed-request";
81
83
  readonly INVALID_JSON: "https://api.aventure.vc/errors/invalid-json";
82
84
  readonly METHOD_NOT_ALLOWED: "https://api.aventure.vc/errors/method-not-allowed";
@@ -10,6 +10,7 @@ const ProblemTypeSchemaKnownMembers = z.enum({
10
10
  INVALID_TOKEN: "https://api.aventure.vc/errors/invalid-token",
11
11
  TOKEN_EXPIRED: "https://api.aventure.vc/errors/token-expired",
12
12
  INVALID_AUTHENTICATION: "https://api.aventure.vc/errors/invalid-authentication",
13
+ MALFORMED_TOKEN: "https://api.aventure.vc/errors/malformed-token",
13
14
  CLIENT_CLOSED_REQUEST: "https://api.aventure.vc/errors/client-closed-request",
14
15
  INVALID_JSON: "https://api.aventure.vc/errors/invalid-json",
15
16
  METHOD_NOT_ALLOWED: "https://api.aventure.vc/errors/method-not-allowed",
@@ -0,0 +1,22 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Create or update payload for attaching an external identifier to an owner. For PATCH, omitted fields preserve their existing values and source may be explicitly cleared with null.
4
+ *
5
+ * @openapiSchema UniqueIdMutation
6
+ * @endpoint GET /v1/lookup-jobs/{jobId}
7
+ * @endpoint POST /v1/entities/lookup
8
+ * @endpoint POST /v1/lookup
9
+ * @endpoint POST /v1/lookup-jobs
10
+ * @endpoint POST /v1/lookup-mentions
11
+ * @endpoint POST /v1/people/lookup
12
+ * @usedBySchema IdentificationSubjectSchema
13
+ * @contractShape unique.id-mutation
14
+ * @contractRole canonical
15
+ */
16
+ export declare const UniqueIdMutationSchema: z.ZodObject<{
17
+ identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ idType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$strip>;
21
+ export type UniqueIdMutation = z.infer<typeof UniqueIdMutationSchema>;
22
+ //# sourceMappingURL=id-mutation.d.ts.map
@@ -0,0 +1,25 @@
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
+ /**
4
+ * Create or update payload for attaching an external identifier to an owner. For PATCH, omitted fields preserve their existing values and source may be explicitly cleared with null.
5
+ *
6
+ * @openapiSchema UniqueIdMutation
7
+ * @endpoint GET /v1/lookup-jobs/{jobId}
8
+ * @endpoint POST /v1/entities/lookup
9
+ * @endpoint POST /v1/lookup
10
+ * @endpoint POST /v1/lookup-jobs
11
+ * @endpoint POST /v1/lookup-mentions
12
+ * @endpoint POST /v1/people/lookup
13
+ * @usedBySchema IdentificationSubjectSchema
14
+ * @contractShape unique.id-mutation
15
+ * @contractRole canonical
16
+ */
17
+ export const UniqueIdMutationSchema = z.object({
18
+ /** Identifier value as issued by the registry. */
19
+ identifier: z.string().nullish(),
20
+ /** Identifier type token, for example ein, secCik, or ticker. */
21
+ idType: z.string().nullish(),
22
+ /** Optional attribution source label for the mapping. */
23
+ source: z.string().nullish(),
24
+ });
25
+ //# sourceMappingURL=id-mutation.js.map
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod/v4";
2
2
  /**
3
- * External identifier type that maps an owner to a registry id: ein, secCik, ticker, lei, duns, isin, cusip, crd, or orcid.
3
+ * External identifier type that maps an owner to a registry id: ein, secCik, ticker, lei, duns, isin, cusip, crd, orcid, or folk.
4
4
  *
5
5
  * @openapiSchema UniqueIdType
6
6
  * @endpoint GET /v1/entities/lookup-exact
@@ -29,6 +29,7 @@ export declare const UniqueIdTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
29
29
  cusip: "cusip";
30
30
  duns: "duns";
31
31
  ein: "ein";
32
+ folk: "folk";
32
33
  isin: "isin";
33
34
  lei: "lei";
34
35
  orcid: "orcid";
@@ -40,6 +41,7 @@ export declare const UniqueIdTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
40
41
  cusip: "cusip";
41
42
  duns: "duns";
42
43
  ein: "ein";
44
+ folk: "folk";
43
45
  isin: "isin";
44
46
  lei: "lei";
45
47
  orcid: "orcid";
@@ -10,9 +10,10 @@ const UniqueIdTypeSchemaKnownMembers = z.enum([
10
10
  "cusip",
11
11
  "crd",
12
12
  "orcid",
13
+ "folk",
13
14
  ]);
14
15
  /**
15
- * External identifier type that maps an owner to a registry id: ein, secCik, ticker, lei, duns, isin, cusip, crd, or orcid.
16
+ * External identifier type that maps an owner to a registry id: ein, secCik, ticker, lei, duns, isin, cusip, crd, orcid, or folk.
16
17
  *
17
18
  * @openapiSchema UniqueIdType
18
19
  * @endpoint GET /v1/entities/lookup-exact
@@ -8,6 +8,7 @@ declare const UniqueIdSchemaDefinition: z.ZodObject<{
8
8
  cusip: "cusip";
9
9
  duns: "duns";
10
10
  ein: "ein";
11
+ folk: "folk";
11
12
  isin: "isin";
12
13
  lei: "lei";
13
14
  orcid: "orcid";
@@ -19,6 +20,7 @@ declare const UniqueIdSchemaDefinition: z.ZodObject<{
19
20
  cusip: "cusip";
20
21
  duns: "duns";
21
22
  ein: "ein";
23
+ folk: "folk";
22
24
  isin: "isin";
23
25
  lei: "lei";
24
26
  orcid: "orcid";
@@ -0,0 +1,63 @@
1
+ import { z } from "zod/v4";
2
+ declare const UrlHostFormResolutionSchemaDefinition: z.ZodObject<{
3
+ concluded: z.ZodBoolean;
4
+ crawlCdnProvider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5
+ akamai: "akamai";
6
+ awsCloudfront: "awsCloudfront";
7
+ azureCdn: "azureCdn";
8
+ bunny: "bunny";
9
+ cdn77: "cdn77";
10
+ cdnetworks: "cdnetworks";
11
+ cloudflare: "cloudflare";
12
+ digitalocean: "digitalocean";
13
+ fastly: "fastly";
14
+ gcore: "gcore";
15
+ googlecloudCdn: "googlecloudCdn";
16
+ incapsula: "incapsula";
17
+ keycdn: "keycdn";
18
+ leaseweb: "leaseweb";
19
+ netlify: "netlify";
20
+ none: "none";
21
+ stackpath: "stackpath";
22
+ sucuri: "sucuri";
23
+ unknown: "unknown";
24
+ vercel: "vercel";
25
+ }>>>;
26
+ crawlRenderMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
27
+ jsEnhanced: "jsEnhanced";
28
+ jsRequired: "jsRequired";
29
+ static: "static";
30
+ }>>>;
31
+ landingHost: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
33
+ noResponse: "noResponse";
34
+ refusal: "refusal";
35
+ rejection: "rejection";
36
+ success: "success";
37
+ transient: "transient";
38
+ }>>>;
39
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ submittedUrl: z.ZodString;
41
+ url: z.ZodString;
42
+ }, z.core.$strip>;
43
+ type UrlHostFormResolutionDefinition = z.infer<typeof UrlHostFormResolutionSchemaDefinition>;
44
+ export interface UrlHostFormResolutionSchemaInput extends z.input<typeof UrlHostFormResolutionSchemaDefinition> {
45
+ }
46
+ /**
47
+ * Fresh HTTP evidence and the preferred same-site host form of a submitted URL.
48
+ *
49
+ * @openapiSchema UrlHostFormResolution
50
+ * @endpoint GET /v1/lookup
51
+ * @endpoint GET /v1/lookup-jobs/{jobId}
52
+ * @endpoint POST /v1/entities/lookup
53
+ * @endpoint POST /v1/lookup
54
+ * @endpoint POST /v1/lookup-mentions
55
+ * @endpoint POST /v1/people/lookup
56
+ * @usedBySchema IdentificationSchema
57
+ * @contractShape url.host-form-resolution
58
+ * @contractRole canonical
59
+ */
60
+ export declare const UrlHostFormResolutionSchema: z.ZodType<UrlHostFormResolutionDefinition, UrlHostFormResolutionSchemaInput>;
61
+ export type UrlHostFormResolution = z.infer<typeof UrlHostFormResolutionSchema>;
62
+ export {};
63
+ //# sourceMappingURL=host-form-resolution.d.ts.map
@@ -0,0 +1,38 @@
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 { EntityUrlCrawlCdnProviderSchema } from "../entity/url-crawl-cdn-provider.js";
4
+ import { EntityUrlCrawlRenderModeSchema } from "../entity/url-crawl-render-mode.js";
5
+ const UrlHostFormResolutionSchemaDefinition = z.object({
6
+ /** True only when live evidence landed on the submitted apex/www host pair, or the exact submitted host for URLs without that pair. */
7
+ concluded: z.boolean(),
8
+ /** Edge provider observed by this probe. */
9
+ crawlCdnProvider: EntityUrlCrawlCdnProviderSchema.nullish(),
10
+ /** Render requirement established from static and rendered readings of the same page. */
11
+ crawlRenderMode: EntityUrlCrawlRenderModeSchema.nullish(),
12
+ /** Host the live answer landed on after redirects; absent for other outcomes. */
13
+ landingHost: z.string().nullish(),
14
+ /** Typed outcome from the fresh probe; absent when no probe ran. */
15
+ outcome: z.enum(["success", "refusal", "rejection", "noResponse", "transient"]).nullish(),
16
+ /** Fresh HTTP status or classified probe result; absent for cached write normalization. */
17
+ status: z.string().nullish(),
18
+ /** The URL submitted for this probe. */
19
+ submittedUrl: z.string(),
20
+ /** Preferred same-site URL; submittedUrl when evidence is inconclusive. */
21
+ url: z.string(),
22
+ });
23
+ /**
24
+ * Fresh HTTP evidence and the preferred same-site host form of a submitted URL.
25
+ *
26
+ * @openapiSchema UrlHostFormResolution
27
+ * @endpoint GET /v1/lookup
28
+ * @endpoint GET /v1/lookup-jobs/{jobId}
29
+ * @endpoint POST /v1/entities/lookup
30
+ * @endpoint POST /v1/lookup
31
+ * @endpoint POST /v1/lookup-mentions
32
+ * @endpoint POST /v1/people/lookup
33
+ * @usedBySchema IdentificationSchema
34
+ * @contractShape url.host-form-resolution
35
+ * @contractRole canonical
36
+ */
37
+ export const UrlHostFormResolutionSchema = UrlHostFormResolutionSchemaDefinition;
38
+ //# sourceMappingURL=host-form-resolution.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.180",
3
+ "version": "0.8.181",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",