@aventurevc/api-schemas 0.8.220 → 0.8.221

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.
@@ -7085,6 +7085,16 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
7085
7085
  sourceType: string;
7086
7086
  } | null | undefined;
7087
7087
  }[];
7088
+ profile: {
7089
+ currentCompany?: string | null | undefined;
7090
+ headline?: string | null | undefined;
7091
+ location?: string | null | undefined;
7092
+ name: string;
7093
+ named: string;
7094
+ organizationEvidence?: "headline" | "none" | "profile" | null | undefined;
7095
+ photoUrl?: string | null | undefined;
7096
+ profileUrl: string;
7097
+ }[];
7088
7098
  result: {
7089
7099
  content: {
7090
7100
  bioUpdatedAt?: string | null | undefined;
@@ -7450,6 +7460,16 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
7450
7460
  sourceType: string;
7451
7461
  } | null | undefined;
7452
7462
  }[];
7463
+ profile: {
7464
+ currentCompany?: string | null | undefined;
7465
+ headline?: string | null | undefined;
7466
+ location?: string | null | undefined;
7467
+ name: string;
7468
+ named: string;
7469
+ organizationEvidence?: "headline" | "none" | "profile" | null | undefined;
7470
+ photoUrl?: string | null | undefined;
7471
+ profileUrl: string;
7472
+ }[];
7453
7473
  result: {
7454
7474
  content: {
7455
7475
  bioUpdatedAt?: string | null | undefined;
@@ -46,6 +46,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
46
46
  image_monogram: "image_monogram";
47
47
  image_photographic: "image_photographic";
48
48
  image_processing_error: "image_processing_error";
49
+ image_reference_unavailable: "image_reference_unavailable";
49
50
  image_too_small: "image_too_small";
50
51
  image_unreadable: "image_unreadable";
51
52
  image_wrong_aspect: "image_wrong_aspect";
@@ -89,6 +89,8 @@ const ProblemDetailSchemaDefinition = z.object({
89
89
  "image_processing_error",
90
90
  /** Logo/photo upload was rejected because the server-side brand-match vision check found it does not depict the target's own brand (a generic favicon, a parent/provider/acquirer mark, an OpenGraph/banner/social card, or an unrelated image). Agent action: supply the target entity's OWN brand mark and re-run; retrying the same image, or any generic/og/banner/parent asset, will not pass. */
91
91
  "image_brand_mismatch",
92
+ /** Logo brand comparison could not run because no independent reference mark resolved. Supply a first-party website row with a usable logo or a proven LinkedIn company URL row with the target's own mark, independent of the candidate image. */
93
+ "image_reference_unavailable",
92
94
  /** Image upload was a photograph or scene image rather than a standalone logo/mark graphic (a homepage hero, product photo, ad, or screenshot carrying an embedded wordmark). Agent action: supply the entity's standalone mark — a favicon, app icon, wordmark, or lockup — not page imagery; retrying the same bytes will not pass. */
93
95
  "image_photographic",
94
96
  /** An outbound fetch from an external target site (robots.txt, sitemap, page, or logo or thumbnail image) failed after retries or with the breaker open. Agent action: the failure belongs to the target; crawl jobs may fall back to rendered extraction; do not retry immediately. */
@@ -3746,6 +3746,16 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
3746
3746
  sourceType: string;
3747
3747
  } | null | undefined;
3748
3748
  }[];
3749
+ profile: {
3750
+ currentCompany?: string | null | undefined;
3751
+ headline?: string | null | undefined;
3752
+ location?: string | null | undefined;
3753
+ name: string;
3754
+ named: string;
3755
+ organizationEvidence?: "headline" | "none" | "profile" | null | undefined;
3756
+ photoUrl?: string | null | undefined;
3757
+ profileUrl: string;
3758
+ }[];
3749
3759
  result: {
3750
3760
  content: {
3751
3761
  bioUpdatedAt?: string | null | undefined;
@@ -8378,6 +8388,16 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
8378
8388
  sourceType: string;
8379
8389
  } | null | undefined;
8380
8390
  }[];
8391
+ profile: {
8392
+ currentCompany?: string | null | undefined;
8393
+ headline?: string | null | undefined;
8394
+ location?: string | null | undefined;
8395
+ name: string;
8396
+ named: string;
8397
+ organizationEvidence?: "headline" | "none" | "profile" | null | undefined;
8398
+ photoUrl?: string | null | undefined;
8399
+ profileUrl: string;
8400
+ }[];
8381
8401
  result: {
8382
8402
  content: {
8383
8403
  bioUpdatedAt?: string | null | undefined;
@@ -979,6 +979,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
979
979
  schemaName: "SearchOrderingPersonSortFieldSchema",
980
980
  },
981
981
  SearchPassage: { modulePath: "search/passage", schemaName: "SearchPassageSchema" },
982
+ SearchPersonProfile: {
983
+ modulePath: "search/person-profile",
984
+ schemaName: "SearchPersonProfileSchema",
985
+ },
982
986
  SearchQualifier: { modulePath: "search/qualifier", schemaName: "SearchQualifierSchema" },
983
987
  SearchQualifierOption: {
984
988
  modulePath: "search/qualifier-option",
@@ -632,6 +632,25 @@ declare const PersonNaturalSearchResultSchemaDefinition: z.ZodObject<{
632
632
  sourceType: string;
633
633
  } | null | undefined;
634
634
  }, import("../search/investment.ts").SearchInvestmentSchemaInput>>>;
635
+ profile: z.ZodArray<z.ZodType<{
636
+ currentCompany?: string | null | undefined;
637
+ headline?: string | null | undefined;
638
+ location?: string | null | undefined;
639
+ name: string;
640
+ named: string;
641
+ organizationEvidence?: "headline" | "none" | "profile" | null | undefined;
642
+ photoUrl?: string | null | undefined;
643
+ profileUrl: string;
644
+ }, import("../search/person-profile.ts").SearchPersonProfileSchemaInput, z.core.$ZodTypeInternals<{
645
+ currentCompany?: string | null | undefined;
646
+ headline?: string | null | undefined;
647
+ location?: string | null | undefined;
648
+ name: string;
649
+ named: string;
650
+ organizationEvidence?: "headline" | "none" | "profile" | null | undefined;
651
+ photoUrl?: string | null | undefined;
652
+ profileUrl: string;
653
+ }, import("../search/person-profile.ts").SearchPersonProfileSchemaInput>>>;
635
654
  result: z.ZodType<{
636
655
  content: {
637
656
  bioUpdatedAt?: string | null | undefined;
@@ -3,11 +3,14 @@ import { z } from "zod/v4";
3
3
  import { PageResultPersonSchema } from "../pagination/schemas.js";
4
4
  import { PersonSearchInterpretationSchema } from "./search-interpretation.js";
5
5
  import { SearchInvestmentSchema } from "../search/investment.js";
6
+ import { SearchPersonProfileSchema } from "../search/person-profile.js";
6
7
  const PersonNaturalSearchResultSchemaDefinition = z.object({
7
8
  /** Structured interpretation used to run the people query. */
8
9
  interpretation: PersonSearchInterpretationSchema,
9
10
  /** Personal investment participation supporting the returned people. Firm portfolio activity is never attributed to employees. Empty for other question intents. */
10
11
  investment: z.array(SearchInvestmentSchema),
12
+ /** Public LinkedIn profiles a web search found for people the query names whom no returned person matches, grouped by `named` in query order. A search that has not run yet runs only for a signed-in subscriber with `layer=web`. */
13
+ profile: z.array(SearchPersonProfileSchema),
11
14
  /** Person page returned by the canonical person list engine. */
12
15
  result: PageResultPersonSchema,
13
16
  /** Id of this search's stored record. Null when the search was not recorded. */
@@ -7,6 +7,7 @@ declare const SearchAnswerCitationSchemaDefinition: z.ZodObject<{
7
7
  newsArticle: "newsArticle";
8
8
  personRecord: "personRecord";
9
9
  researchSnippet: "researchSnippet";
10
+ webProfile: "webProfile";
10
11
  }>, z.ZodString]> & {
11
12
  enum: {
12
13
  entityRecord: "entityRecord";
@@ -14,6 +15,7 @@ declare const SearchAnswerCitationSchemaDefinition: z.ZodObject<{
14
15
  newsArticle: "newsArticle";
15
16
  personRecord: "personRecord";
16
17
  researchSnippet: "researchSnippet";
18
+ webProfile: "webProfile";
17
19
  };
18
20
  };
19
21
  sourceId: z.ZodString;
@@ -21,6 +21,7 @@ export declare const SearchEvidenceSourceSchema: z.ZodUnion<readonly [z.ZodEnum<
21
21
  newsArticle: "newsArticle";
22
22
  personRecord: "personRecord";
23
23
  researchSnippet: "researchSnippet";
24
+ webProfile: "webProfile";
24
25
  }>, z.ZodString]> & {
25
26
  enum: {
26
27
  entityRecord: "entityRecord";
@@ -28,6 +29,7 @@ export declare const SearchEvidenceSourceSchema: z.ZodUnion<readonly [z.ZodEnum<
28
29
  newsArticle: "newsArticle";
29
30
  personRecord: "personRecord";
30
31
  researchSnippet: "researchSnippet";
32
+ webProfile: "webProfile";
31
33
  };
32
34
  };
33
35
  export type SearchEvidenceSource = z.infer<typeof SearchEvidenceSourceSchema>;
@@ -6,6 +6,7 @@ const SearchEvidenceSourceSchemaKnownMembers = z.enum([
6
6
  "newsArticle",
7
7
  "personRecord",
8
8
  "fundraiseTransaction",
9
+ "webProfile",
9
10
  ]);
10
11
  /**
11
12
  * 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.
@@ -10,6 +10,7 @@ declare const SearchPassageSchemaDefinition: z.ZodObject<{
10
10
  newsArticle: "newsArticle";
11
11
  personRecord: "personRecord";
12
12
  researchSnippet: "researchSnippet";
13
+ webProfile: "webProfile";
13
14
  }>, z.ZodString]> & {
14
15
  enum: {
15
16
  entityRecord: "entityRecord";
@@ -17,6 +18,7 @@ declare const SearchPassageSchemaDefinition: z.ZodObject<{
17
18
  newsArticle: "newsArticle";
18
19
  personRecord: "personRecord";
19
20
  researchSnippet: "researchSnippet";
21
+ webProfile: "webProfile";
20
22
  };
21
23
  };
22
24
  sourceId: z.ZodString;
@@ -0,0 +1,37 @@
1
+ import { z } from "zod/v4";
2
+ declare const SearchPersonProfileSchemaDefinition: z.ZodObject<{
3
+ currentCompany: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
+ headline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
+ location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
+ name: z.ZodString;
7
+ named: z.ZodString;
8
+ organizationEvidence: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
9
+ headline: "headline";
10
+ none: "none";
11
+ profile: "profile";
12
+ }>>>;
13
+ photoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ profileUrl: z.ZodString;
15
+ }, z.core.$strip>;
16
+ type SearchPersonProfileDefinition = z.infer<typeof SearchPersonProfileSchemaDefinition>;
17
+ export interface SearchPersonProfileSchemaInput extends z.input<typeof SearchPersonProfileSchemaDefinition> {
18
+ }
19
+ /**
20
+ * Public LinkedIn profile a search found for a person the query names who has no directory record. It shows the profile's own header; it does not assert current employment.
21
+ *
22
+ * @openapiSchema SearchPersonProfile
23
+ * @endpoint GET /v1/search/link
24
+ * @endpoint GET /v1/search/link/jobs/{jobId}
25
+ * @endpoint GET /v1/search/shared/{id}
26
+ * @endpoint GET /v1/search/shared/slug/{slug}
27
+ * @endpoint POST /v1/search
28
+ * @endpoint POST /v1/search/natural/people
29
+ * @endpoint POST /v1/search/shared
30
+ * @usedBySchema PersonNaturalSearchResultSchema
31
+ * @contractShape search.person-profile
32
+ * @contractRole canonical
33
+ */
34
+ export declare const SearchPersonProfileSchema: z.ZodType<SearchPersonProfileDefinition, SearchPersonProfileSchemaInput>;
35
+ export type SearchPersonProfile = z.infer<typeof SearchPersonProfileSchema>;
36
+ export {};
37
+ //# sourceMappingURL=person-profile.d.ts.map
@@ -0,0 +1,37 @@
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 SearchPersonProfileSchemaDefinition = z.object({
4
+ /** Current company named by aVenture's stored LinkedIn capture; null until one is stored. */
5
+ currentCompany: z.string().nullish(),
6
+ /** Profile headline as the web search index holds it; null when it has none. */
7
+ headline: z.string().nullish(),
8
+ /** Profile location as the web search index holds it. */
9
+ location: z.string().nullish(),
10
+ /** Name on the profile. */
11
+ name: z.string(),
12
+ /** The person's name as the query wrote it; profiles group under it. */
13
+ named: z.string(),
14
+ /** Where the profile names the organization the query paired with the person: in its headline, elsewhere in the profile text, or not at all; null when the query named no organization. */
15
+ organizationEvidence: z.enum(["headline", "profile", "none"]).nullish(),
16
+ /** Headshot URL from aVenture's stored LinkedIn capture; null until one is stored or when the capture holds no usable headshot. */
17
+ photoUrl: z.string().nullish(),
18
+ /** Canonical public LinkedIn profile URL. */
19
+ profileUrl: z.string(),
20
+ });
21
+ /**
22
+ * Public LinkedIn profile a search found for a person the query names who has no directory record. It shows the profile's own header; it does not assert current employment.
23
+ *
24
+ * @openapiSchema SearchPersonProfile
25
+ * @endpoint GET /v1/search/link
26
+ * @endpoint GET /v1/search/link/jobs/{jobId}
27
+ * @endpoint GET /v1/search/shared/{id}
28
+ * @endpoint GET /v1/search/shared/slug/{slug}
29
+ * @endpoint POST /v1/search
30
+ * @endpoint POST /v1/search/natural/people
31
+ * @endpoint POST /v1/search/shared
32
+ * @usedBySchema PersonNaturalSearchResultSchema
33
+ * @contractShape search.person-profile
34
+ * @contractRole canonical
35
+ */
36
+ export const SearchPersonProfileSchema = SearchPersonProfileSchemaDefinition;
37
+ //# sourceMappingURL=person-profile.js.map
@@ -3757,6 +3757,16 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
3757
3757
  sourceType: string;
3758
3758
  } | null | undefined;
3759
3759
  }[];
3760
+ profile: {
3761
+ currentCompany?: string | null | undefined;
3762
+ headline?: string | null | undefined;
3763
+ location?: string | null | undefined;
3764
+ name: string;
3765
+ named: string;
3766
+ organizationEvidence?: "headline" | "none" | "profile" | null | undefined;
3767
+ photoUrl?: string | null | undefined;
3768
+ profileUrl: string;
3769
+ }[];
3760
3770
  result: {
3761
3771
  content: {
3762
3772
  bioUpdatedAt?: string | null | undefined;
@@ -8389,6 +8399,16 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
8389
8399
  sourceType: string;
8390
8400
  } | null | undefined;
8391
8401
  }[];
8402
+ profile: {
8403
+ currentCompany?: string | null | undefined;
8404
+ headline?: string | null | undefined;
8405
+ location?: string | null | undefined;
8406
+ name: string;
8407
+ named: string;
8408
+ organizationEvidence?: "headline" | "none" | "profile" | null | undefined;
8409
+ photoUrl?: string | null | undefined;
8410
+ profileUrl: string;
8411
+ }[];
8392
8412
  result: {
8393
8413
  content: {
8394
8414
  bioUpdatedAt?: string | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.220",
3
+ "version": "0.8.221",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",