@aventurevc/api-schemas 0.8.19 → 0.8.21

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.
@@ -4,6 +4,9 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema Confidence
6
6
  * @endpoint GET /v1/search/link
7
+ * @endpoint GET /v1/entities/{entityId}/logo
8
+ * @endpoint GET /v1/news/{newsId}/thumbnail
9
+ * @endpoint GET /v1/people/{personId}/photo
7
10
  * @endpoint POST /v1/agents/help
8
11
  * @endpoint POST /v1/entities/natural-search
9
12
  * @endpoint POST /v1/help
@@ -13,6 +16,7 @@ import { z } from "zod/v4";
13
16
  * @endpoint POST /v1/search/natural/entities
14
17
  * @endpoint POST /v1/search/natural/people
15
18
  * @usedBySchema AgentHelpSchema
19
+ * @usedBySchema LogoAccuracySchema
16
20
  * @usedBySchema PersonSearchInterpretationSchema
17
21
  * @usedBySchema SearchInterpretationSchema
18
22
  * @contractShape confidence.confidence
@@ -5,6 +5,9 @@ import { z } from "zod/v4";
5
5
  *
6
6
  * @openapiSchema Confidence
7
7
  * @endpoint GET /v1/search/link
8
+ * @endpoint GET /v1/entities/{entityId}/logo
9
+ * @endpoint GET /v1/news/{newsId}/thumbnail
10
+ * @endpoint GET /v1/people/{personId}/photo
8
11
  * @endpoint POST /v1/agents/help
9
12
  * @endpoint POST /v1/entities/natural-search
10
13
  * @endpoint POST /v1/help
@@ -14,6 +17,7 @@ import { z } from "zod/v4";
14
17
  * @endpoint POST /v1/search/natural/entities
15
18
  * @endpoint POST /v1/search/natural/people
16
19
  * @usedBySchema AgentHelpSchema
20
+ * @usedBySchema LogoAccuracySchema
17
21
  * @usedBySchema PersonSearchInterpretationSchema
18
22
  * @usedBySchema SearchInterpretationSchema
19
23
  * @contractShape confidence.confidence
@@ -0,0 +1,15 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Actor boundary for a provenance write event
4
+ *
5
+ * @openapiSchema DatasourceProvenanceActorType
6
+ * @endpoint POST /v1/web/search
7
+ * @contractShape datasource.provenance-actor-type
8
+ * @contractRole canonical
9
+ */
10
+ export declare const DatasourceProvenanceActorTypeSchema: z.ZodEnum<{
11
+ agent: "agent";
12
+ employee: "employee";
13
+ }>;
14
+ export type DatasourceProvenanceActorType = z.infer<typeof DatasourceProvenanceActorTypeSchema>;
15
+ //# sourceMappingURL=provenance-actor-type.d.ts.map
@@ -0,0 +1,12 @@
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
+ * Actor boundary for a provenance write event
5
+ *
6
+ * @openapiSchema DatasourceProvenanceActorType
7
+ * @endpoint POST /v1/web/search
8
+ * @contractShape datasource.provenance-actor-type
9
+ * @contractRole canonical
10
+ */
11
+ export const DatasourceProvenanceActorTypeSchema = z.enum(["agent", "employee"]);
12
+ //# sourceMappingURL=provenance-actor-type.js.map
@@ -3,9 +3,10 @@ import { z } from "zod/v4";
3
3
  * Grouped source/provenance metadata for private v1 response fields
4
4
  *
5
5
  * @openapiSchema DatasourceSourceMetadata
6
- * @endpoint GET /v1/entities/{entityId}/media/{mediaType}
7
- * @endpoint GET /v1/news/{newsId}/media/{mediaType}
8
- * @endpoint GET /v1/people/{personId}/media/{mediaType}
6
+ * @endpoint GET /v1/entities/{entityId}/logo
7
+ * @endpoint GET /v1/news/{newsId}/thumbnail
8
+ * @endpoint GET /v1/people/{personId}/photo
9
+ * @usedBySchema LogoAccuracySchema
9
10
  * @usedBySchema MediaUploadSchema
10
11
  * @contractShape datasource.source-metadata
11
12
  * @contractRole canonical
@@ -4,9 +4,10 @@ import { z } from "zod/v4";
4
4
  * Grouped source/provenance metadata for private v1 response fields
5
5
  *
6
6
  * @openapiSchema DatasourceSourceMetadata
7
- * @endpoint GET /v1/entities/{entityId}/media/{mediaType}
8
- * @endpoint GET /v1/news/{newsId}/media/{mediaType}
9
- * @endpoint GET /v1/people/{personId}/media/{mediaType}
7
+ * @endpoint GET /v1/entities/{entityId}/logo
8
+ * @endpoint GET /v1/news/{newsId}/thumbnail
9
+ * @endpoint GET /v1/people/{personId}/photo
10
+ * @usedBySchema LogoAccuracySchema
10
11
  * @usedBySchema MediaUploadSchema
11
12
  * @contractShape datasource.source-metadata
12
13
  * @contractRole canonical
@@ -3,7 +3,7 @@ declare const EntityFilterSearchSchemaDefinition: z.ZodObject<{
3
3
  filterKey: z.ZodString;
4
4
  limit: z.ZodInt;
5
5
  query: z.ZodString;
6
- scopeFilter: z.ZodObject<{
6
+ scopeFilter: z.ZodOptional<z.ZodObject<{
7
7
  acceleratorBrand: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
8
  acceleratorCohort: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
9
  acceleratorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -215,7 +215,7 @@ declare const EntityFilterSearchSchemaDefinition: z.ZodObject<{
215
215
  max?: number | null | undefined;
216
216
  min?: number | null | undefined;
217
217
  }, unknown>>>>;
218
- }, z.core.$strict>;
218
+ }, z.core.$strict>>;
219
219
  }, z.core.$strict>;
220
220
  type EntityFilterSearchDefinition = z.infer<typeof EntityFilterSearchSchemaDefinition>;
221
221
  /**
@@ -8,8 +8,8 @@ const EntityFilterSearchSchemaDefinition = z.strictObject({
8
8
  limit: z.int(),
9
9
  /** Query */
10
10
  query: z.string().min(1),
11
- /** Entity filter scope applied to the option search */
12
- scopeFilter: EntityFilterSchema,
11
+ /** Entity filter scope applied to the option search. Omit to search every eligible entity. */
12
+ scopeFilter: EntityFilterSchema.optional(),
13
13
  });
14
14
  /**
15
15
  * Record representing a filter search request
@@ -3,7 +3,7 @@ import { z } from "zod/v4";
3
3
  * Entity logo slot: SQUARE is the square icon read back as `core.image.logoSquare`; STANDARD is the horizontal wordmark read back as `core.image.logo`.
4
4
  *
5
5
  * @openapiSchema EntityLogoType
6
- * @endpoint GET /v1/entities/{entityId}/media/{mediaType}
6
+ * @endpoint GET /v1/entities/{entityId}/logo
7
7
  * @contractShape entity.logo-type
8
8
  * @contractRole canonical
9
9
  */
@@ -4,7 +4,7 @@ import { z } from "zod/v4";
4
4
  * Entity logo slot: SQUARE is the square icon read back as `core.image.logoSquare`; STANDARD is the horizontal wordmark read back as `core.image.logo`.
5
5
  *
6
6
  * @openapiSchema EntityLogoType
7
- * @endpoint GET /v1/entities/{entityId}/media/{mediaType}
7
+ * @endpoint GET /v1/entities/{entityId}/logo
8
8
  * @contractShape entity.logo-type
9
9
  * @contractRole canonical
10
10
  */
@@ -5,7 +5,7 @@ const IdentificationSubjectSchemaDefinition = z.object({
5
5
  context: z.string().max(2000).nullish(),
6
6
  /** City, region, or country, such as Austin, TX. Tells namesakes apart; not proof on its own. */
7
7
  location: z.string().max(2000).nullish(),
8
- /** Name exactly as the source writes it, such as Acme AI or Jane Doe. */
8
+ /** Name exactly as the source writes it, such as Acme AI or Jane Doe. Required even when url is sent; to read a record from only a URL (an aVenture page, website, or domain) use the exact read instead: entities lookup-exact get --url, or people lookup-exact get --url for a person. */
9
9
  name: z.string().max(200),
10
10
  /** aVenture news id of the article that mentions the subject; an unknown id is a 400. */
11
11
  sourceNewsId: z.int().nullish(),
@@ -0,0 +1,21 @@
1
+ import { z } from "zod/v4";
2
+ declare const LogoAccuracyReferenceSchemaDefinition: z.ZodObject<{
3
+ hammingDistance: z.ZodInt;
4
+ url: z.ZodString;
5
+ }, z.core.$strip>;
6
+ type LogoAccuracyReferenceDefinition = z.infer<typeof LogoAccuracyReferenceSchemaDefinition>;
7
+ /**
8
+ * A reference mark from the target's own surface and its distance to the candidate
9
+ *
10
+ * @openapiSchema LogoAccuracyReference
11
+ * @endpoint GET /v1/entities/{entityId}/logo
12
+ * @endpoint GET /v1/news/{newsId}/thumbnail
13
+ * @endpoint GET /v1/people/{personId}/photo
14
+ * @usedBySchema LogoAccuracySchema
15
+ * @contractShape logo.accuracy-reference
16
+ * @contractRole canonical
17
+ */
18
+ export declare const LogoAccuracyReferenceSchema: z.ZodType<LogoAccuracyReferenceDefinition>;
19
+ export type LogoAccuracyReference = z.infer<typeof LogoAccuracyReferenceSchema>;
20
+ export {};
21
+ //# sourceMappingURL=accuracy-reference.d.ts.map
@@ -0,0 +1,21 @@
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 LogoAccuracyReferenceSchemaDefinition = z.object({
4
+ /** Perceptual-hash distance between the candidate and this reference */
5
+ hammingDistance: z.int(),
6
+ /** Direct URL of the reference mark fetched from the target's surface */
7
+ url: z.string(),
8
+ });
9
+ /**
10
+ * A reference mark from the target's own surface and its distance to the candidate
11
+ *
12
+ * @openapiSchema LogoAccuracyReference
13
+ * @endpoint GET /v1/entities/{entityId}/logo
14
+ * @endpoint GET /v1/news/{newsId}/thumbnail
15
+ * @endpoint GET /v1/people/{personId}/photo
16
+ * @usedBySchema LogoAccuracySchema
17
+ * @contractShape logo.accuracy-reference
18
+ * @contractRole canonical
19
+ */
20
+ export const LogoAccuracyReferenceSchema = LogoAccuracyReferenceSchemaDefinition;
21
+ //# sourceMappingURL=accuracy-reference.js.map
@@ -0,0 +1,51 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Read-only assessment of whether a stored logo/photo depicts the target's own brand, decided from visible features of the stored mark versus the target's own reference marks
4
+ *
5
+ * @openapiSchema LogoAccuracy
6
+ * @endpoint GET /v1/entities/{entityId}/logo
7
+ * @endpoint GET /v1/news/{newsId}/thumbnail
8
+ * @endpoint GET /v1/people/{personId}/photo
9
+ * @usedBySchema MediaUploadSchema
10
+ * @contractShape logo.accuracy
11
+ * @contractRole canonical
12
+ */
13
+ export declare const LogoAccuracySchema: z.ZodObject<{
14
+ approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
+ changedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
16
+ dataSourceUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
17
+ detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ pendingApproval: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
20
+ sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$strip>>>;
23
+ candidateObserved: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ confidence: z.ZodEnum<{
25
+ HIGH: "HIGH";
26
+ LOW: "LOW";
27
+ MEDIUM: "MEDIUM";
28
+ }>;
29
+ method: z.ZodEnum<{
30
+ OPERATOR_REVIEW: "OPERATOR_REVIEW";
31
+ PERCEPTUAL_HASH: "PERCEPTUAL_HASH";
32
+ REFERENCE_UNAVAILABLE: "REFERENCE_UNAVAILABLE";
33
+ VISION: "VISION";
34
+ }>;
35
+ outcome: z.ZodEnum<{
36
+ INSUFFICIENT: "INSUFFICIENT";
37
+ MATCH: "MATCH";
38
+ MISMATCH: "MISMATCH";
39
+ }>;
40
+ reference: z.ZodArray<z.ZodType<{
41
+ hammingDistance: number;
42
+ url: string;
43
+ }, unknown, z.core.$ZodTypeInternals<{
44
+ hammingDistance: number;
45
+ url: string;
46
+ }, unknown>>>;
47
+ referenceObserved: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ sharedFeature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ }, z.core.$strip>;
50
+ export type LogoAccuracy = z.infer<typeof LogoAccuracySchema>;
51
+ //# sourceMappingURL=accuracy.d.ts.map
@@ -0,0 +1,35 @@
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 { ConfidenceSchema } from "../confidence/confidence.js";
4
+ import { DatasourceSourceMetadataSchema } from "../datasource/source-metadata.js";
5
+ import { LogoAccuracyReferenceSchema } from "./accuracy-reference.js";
6
+ /**
7
+ * Read-only assessment of whether a stored logo/photo depicts the target's own brand, decided from visible features of the stored mark versus the target's own reference marks
8
+ *
9
+ * @openapiSchema LogoAccuracy
10
+ * @endpoint GET /v1/entities/{entityId}/logo
11
+ * @endpoint GET /v1/news/{newsId}/thumbnail
12
+ * @endpoint GET /v1/people/{personId}/photo
13
+ * @usedBySchema MediaUploadSchema
14
+ * @contractShape logo.accuracy
15
+ * @contractRole canonical
16
+ */
17
+ export const LogoAccuracySchema = z.object({
18
+ /** Confirmed media-slot provenance that made this a match without a model/reference comparison; null for deterministic hash, vision, and insufficient outcomes */
19
+ approval: DatasourceSourceMetadataSchema.nullish(),
20
+ /** Literal visible description of the candidate mark, when assessed by vision */
21
+ candidateObserved: z.string().nullish(),
22
+ /** Confidence in the outcome */
23
+ confidence: ConfidenceSchema,
24
+ /** How the outcome was reached */
25
+ method: z.enum(["PERCEPTUAL_HASH", "VISION", "OPERATOR_REVIEW", "REFERENCE_UNAVAILABLE"]),
26
+ /** Whether the candidate mark matches the target's own brand */
27
+ outcome: z.enum(["MATCH", "MISMATCH", "INSUFFICIENT"]),
28
+ /** Reference marks fetched from the target's own surfaces, each with its perceptual-hash distance to the candidate. The deciding deterministic distance is the smallest entry */
29
+ reference: z.array(LogoAccuracyReferenceSchema),
30
+ /** Literal visible description of the reference mark, when assessed by vision */
31
+ referenceObserved: z.string().nullish(),
32
+ /** The specific visible feature shared by candidate and reference that supports a match (shared name text, symbol, or distinctive palette); null when not a match */
33
+ sharedFeature: z.string().nullish(),
34
+ });
35
+ //# sourceMappingURL=accuracy.js.map
@@ -3,9 +3,9 @@ import { z } from "zod/v4";
3
3
  * Target domain for media operations (logos, pictures, thumbnails)
4
4
  *
5
5
  * @openapiSchema MediaObjectType
6
- * @endpoint GET /v1/entities/{entityId}/media/{mediaType}
7
- * @endpoint GET /v1/news/{newsId}/media/{mediaType}
8
- * @endpoint GET /v1/people/{personId}/media/{mediaType}
6
+ * @endpoint GET /v1/entities/{entityId}/logo
7
+ * @endpoint GET /v1/news/{newsId}/thumbnail
8
+ * @endpoint GET /v1/people/{personId}/photo
9
9
  * @usedBySchema MediaUploadSchema
10
10
  * @contractShape media.object-type
11
11
  * @contractRole canonical
@@ -4,9 +4,9 @@ import { z } from "zod/v4";
4
4
  * Target domain for media operations (logos, pictures, thumbnails)
5
5
  *
6
6
  * @openapiSchema MediaObjectType
7
- * @endpoint GET /v1/entities/{entityId}/media/{mediaType}
8
- * @endpoint GET /v1/news/{newsId}/media/{mediaType}
9
- * @endpoint GET /v1/people/{personId}/media/{mediaType}
7
+ * @endpoint GET /v1/entities/{entityId}/logo
8
+ * @endpoint GET /v1/news/{newsId}/thumbnail
9
+ * @endpoint GET /v1/people/{personId}/photo
10
10
  * @usedBySchema MediaUploadSchema
11
11
  * @contractShape media.object-type
12
12
  * @contractRole canonical
@@ -3,13 +3,50 @@ import { z } from "zod/v4";
3
3
  * Managed media asset reference with resolved CDN URL and target metadata
4
4
  *
5
5
  * @openapiSchema MediaUpload
6
- * @endpoint GET /v1/entities/{entityId}/media/{mediaType}
7
- * @endpoint GET /v1/news/{newsId}/media/{mediaType}
8
- * @endpoint GET /v1/people/{personId}/media/{mediaType}
6
+ * @endpoint GET /v1/entities/{entityId}/logo
7
+ * @endpoint GET /v1/news/{newsId}/thumbnail
8
+ * @endpoint GET /v1/people/{personId}/photo
9
9
  * @contractShape media.upload
10
10
  * @contractRole canonical
11
11
  */
12
12
  export declare const MediaUploadSchema: z.ZodObject<{
13
+ accuracy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
+ changedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
16
+ dataSourceUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
17
+ detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ pendingApproval: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
20
+ sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$strip>>>;
23
+ candidateObserved: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ confidence: z.ZodEnum<{
25
+ HIGH: "HIGH";
26
+ LOW: "LOW";
27
+ MEDIUM: "MEDIUM";
28
+ }>;
29
+ method: z.ZodEnum<{
30
+ OPERATOR_REVIEW: "OPERATOR_REVIEW";
31
+ PERCEPTUAL_HASH: "PERCEPTUAL_HASH";
32
+ REFERENCE_UNAVAILABLE: "REFERENCE_UNAVAILABLE";
33
+ VISION: "VISION";
34
+ }>;
35
+ outcome: z.ZodEnum<{
36
+ INSUFFICIENT: "INSUFFICIENT";
37
+ MATCH: "MATCH";
38
+ MISMATCH: "MISMATCH";
39
+ }>;
40
+ reference: z.ZodArray<z.ZodType<{
41
+ hammingDistance: number;
42
+ url: string;
43
+ }, unknown, z.core.$ZodTypeInternals<{
44
+ hammingDistance: number;
45
+ url: string;
46
+ }, unknown>>>;
47
+ referenceObserved: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ sharedFeature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ }, z.core.$strip>>>;
13
50
  cdnUrl: z.ZodString;
14
51
  firstUploadedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
15
52
  mediaType: z.ZodEnum<{
@@ -1,18 +1,21 @@
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 { DatasourceSourceMetadataSchema } from "../datasource/source-metadata.js";
4
+ import { LogoAccuracySchema } from "../logo/accuracy.js";
4
5
  import { MediaObjectTypeSchema } from "./object-type.js";
5
6
  /**
6
7
  * Managed media asset reference with resolved CDN URL and target metadata
7
8
  *
8
9
  * @openapiSchema MediaUpload
9
- * @endpoint GET /v1/entities/{entityId}/media/{mediaType}
10
- * @endpoint GET /v1/news/{newsId}/media/{mediaType}
11
- * @endpoint GET /v1/people/{personId}/media/{mediaType}
10
+ * @endpoint GET /v1/entities/{entityId}/logo
11
+ * @endpoint GET /v1/news/{newsId}/thumbnail
12
+ * @endpoint GET /v1/people/{personId}/photo
12
13
  * @contractShape media.upload
13
14
  * @contractRole canonical
14
15
  */
15
16
  export const MediaUploadSchema = z.object({
17
+ /** Entity logo writes only: the brand-match verdict the write's gate computed on these bytes; absent on reads, photos, thumbnails, and brand-match overrides. */
18
+ accuracy: LogoAccuracySchema.nullish(),
16
19
  /** Resolved API CDN URL */
17
20
  cdnUrl: z.string(),
18
21
  /** Earliest recorded write timestamp for this media asset slot from res_provenance_event (when this entity/person/news first received any image in this slot). */
@@ -181,6 +181,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
181
181
  modulePath: "redirect/current-slug-owner",
182
182
  schemaName: "CurrentSlugOwnerSchema",
183
183
  },
184
+ DatasourceProvenanceActorType: {
185
+ modulePath: "datasource/provenance-actor-type",
186
+ schemaName: "DatasourceProvenanceActorTypeSchema",
187
+ },
184
188
  DatasourceSourceMetadata: {
185
189
  modulePath: "datasource/source-metadata",
186
190
  schemaName: "DatasourceSourceMetadataSchema",
@@ -503,12 +507,16 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
503
507
  JobState: { modulePath: "job/state", schemaName: "JobStateSchema" },
504
508
  JsonValue: { modulePath: "http/json-value", schemaName: "JsonValueSchema" },
505
509
  LinkSearch: { modulePath: "link/search", schemaName: "LinkSearchSchema" },
510
+ LogoAccuracy: { modulePath: "logo/accuracy", schemaName: "LogoAccuracySchema" },
511
+ LogoAccuracyReference: {
512
+ modulePath: "logo/accuracy-reference",
513
+ schemaName: "LogoAccuracyReferenceSchema",
514
+ },
506
515
  LookupJob: { modulePath: "lookup/job", schemaName: "LookupJobSchema" },
507
516
  LookupJobMention: { modulePath: "lookup/job-mention", schemaName: "LookupJobMentionSchema" },
508
517
  LookupJobMutation: { modulePath: "lookup/job-mutation", schemaName: "LookupJobMutationSchema" },
509
518
  LookupMention: { modulePath: "lookup/mention", schemaName: "LookupMentionSchema" },
510
519
  MediaObjectType: { modulePath: "media/object-type", schemaName: "MediaObjectTypeSchema" },
511
- MediaSlot: { modulePath: "media/slot", schemaName: "MediaSlotSchema" },
512
520
  MediaUpload: { modulePath: "media/upload", schemaName: "MediaUploadSchema" },
513
521
  MentionLookup: { modulePath: "mention/lookup", schemaName: "MentionLookupSchema" },
514
522
  NaturalSearch: { modulePath: "natural/search", schemaName: "NaturalSearchSchema" },
@@ -13,7 +13,7 @@ const SearchSchemaDefinition = z.object({
13
13
  resultLimit: z.int().nullish(),
14
14
  /** Search text sent to the upstream web search provider */
15
15
  search: z.string(),
16
- /** Optional caller identity, up to 64 characters, persisted for source-document attribution and abuse triage. Agents send `<agentModel>-<tool>` (see aventure-provenance). */
16
+ /** Optional caller identity, up to 64 characters, persisted for source-document attribution and abuse triage. Agent requests derive `<agentModel>-<agentChassis>` from the validated provenance actor instead of this field. */
17
17
  source: z.string().max(64).nullish(),
18
18
  });
19
19
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.19",
3
+ "version": "0.8.21",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",
@@ -1,18 +0,0 @@
1
- import { z } from "zod/v4";
2
- /**
3
- * Media slot on an owner record, addressed by the {mediaType} path segment.
4
- *
5
- * @openapiSchema MediaSlot
6
- * @endpoint GET /v1/entities/{entityId}/media/{mediaType}
7
- * @endpoint GET /v1/news/{newsId}/media/{mediaType}
8
- * @endpoint GET /v1/people/{personId}/media/{mediaType}
9
- * @contractShape media.slot
10
- * @contractRole canonical
11
- */
12
- export declare const MediaSlotSchema: z.ZodEnum<{
13
- logo: "logo";
14
- photo: "photo";
15
- thumbnail: "thumbnail";
16
- }>;
17
- export type MediaSlot = z.infer<typeof MediaSlotSchema>;
18
- //# sourceMappingURL=slot.d.ts.map
@@ -1,14 +0,0 @@
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
- * Media slot on an owner record, addressed by the {mediaType} path segment.
5
- *
6
- * @openapiSchema MediaSlot
7
- * @endpoint GET /v1/entities/{entityId}/media/{mediaType}
8
- * @endpoint GET /v1/news/{newsId}/media/{mediaType}
9
- * @endpoint GET /v1/people/{personId}/media/{mediaType}
10
- * @contractShape media.slot
11
- * @contractRole canonical
12
- */
13
- export const MediaSlotSchema = z.enum(["logo", "photo", "thumbnail"]);
14
- //# sourceMappingURL=slot.js.map