@aventurevc/api-schemas 0.8.437 → 0.8.439

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.
@@ -199,6 +199,7 @@ declare const EntityAcquisitionSchemaDefinition: z.ZodObject<{
199
199
  Active: "Active";
200
200
  Announced: "Announced";
201
201
  "Announced; subject to approvals and closing conditions": "Announced; subject to approvals and closing conditions";
202
+ Canceled: "Canceled";
202
203
  Closed: "Closed";
203
204
  Completed: "Completed";
204
205
  "In Progress": "In Progress";
@@ -208,6 +209,7 @@ declare const EntityAcquisitionSchemaDefinition: z.ZodObject<{
208
209
  Active: "Active";
209
210
  Announced: "Announced";
210
211
  "Announced; subject to approvals and closing conditions": "Announced; subject to approvals and closing conditions";
212
+ Canceled: "Canceled";
211
213
  Closed: "Closed";
212
214
  Completed: "Completed";
213
215
  "In Progress": "In Progress";
@@ -13,6 +13,7 @@ export declare const FundraiseTransactionStatusSchema: z.ZodUnion<readonly [z.Zo
13
13
  Active: "Active";
14
14
  Announced: "Announced";
15
15
  "Announced; subject to approvals and closing conditions": "Announced; subject to approvals and closing conditions";
16
+ Canceled: "Canceled";
16
17
  Closed: "Closed";
17
18
  Completed: "Completed";
18
19
  "In Progress": "In Progress";
@@ -22,6 +23,7 @@ export declare const FundraiseTransactionStatusSchema: z.ZodUnion<readonly [z.Zo
22
23
  Active: "Active";
23
24
  Announced: "Announced";
24
25
  "Announced; subject to approvals and closing conditions": "Announced; subject to approvals and closing conditions";
26
+ Canceled: "Canceled";
25
27
  Closed: "Closed";
26
28
  Completed: "Completed";
27
29
  "In Progress": "In Progress";
@@ -6,6 +6,7 @@ const FundraiseTransactionStatusSchemaKnownMembers = z.enum([
6
6
  "Active",
7
7
  "Closed",
8
8
  "Completed",
9
+ "Canceled",
9
10
  "In Progress",
10
11
  "Open",
11
12
  ]);
@@ -12,6 +12,7 @@ export interface ImageVariantSchemaInput extends z.input<typeof ImageVariantSche
12
12
  * A stored image variant with verified dimensions and content type
13
13
  *
14
14
  * @openapiSchema ImageVariant
15
+ * @endpoint GET /v1/content
15
16
  * @endpoint GET /v1/entities/brand
16
17
  * @endpoint GET /v1/entities/lookup-exact
17
18
  * @endpoint GET /v1/people/lookup-exact
@@ -46,6 +47,7 @@ export interface ImageVariantSchemaInput extends z.input<typeof ImageVariantSche
46
47
  * @endpoint GET /v1/search/link/jobs/{jobId}
47
48
  * @endpoint GET /v1/search/shared/{id}
48
49
  * @endpoint GET /v1/search/shared/slug/{slug}
50
+ * @endpoint POST /v1/content/search
49
51
  * @endpoint POST /v1/entities/lookup-batch
50
52
  * @endpoint POST /v1/entities/lookup-matches
51
53
  * @endpoint POST /v1/entities/search
@@ -58,6 +60,7 @@ export interface ImageVariantSchemaInput extends z.input<typeof ImageVariantSche
58
60
  * @endpoint POST /v1/search/shared
59
61
  * @usedBySchema EntityImageSchema
60
62
  * @usedBySchema PersonImageSchema
63
+ * @usedBySchema PublicationSchema
61
64
  * @contractShape image.variant
62
65
  * @contractRole canonical
63
66
  */
@@ -14,6 +14,7 @@ const ImageVariantSchemaDefinition = z.object({
14
14
  * A stored image variant with verified dimensions and content type
15
15
  *
16
16
  * @openapiSchema ImageVariant
17
+ * @endpoint GET /v1/content
17
18
  * @endpoint GET /v1/entities/brand
18
19
  * @endpoint GET /v1/entities/lookup-exact
19
20
  * @endpoint GET /v1/people/lookup-exact
@@ -48,6 +49,7 @@ const ImageVariantSchemaDefinition = z.object({
48
49
  * @endpoint GET /v1/search/link/jobs/{jobId}
49
50
  * @endpoint GET /v1/search/shared/{id}
50
51
  * @endpoint GET /v1/search/shared/slug/{slug}
52
+ * @endpoint POST /v1/content/search
51
53
  * @endpoint POST /v1/entities/lookup-batch
52
54
  * @endpoint POST /v1/entities/lookup-matches
53
55
  * @endpoint POST /v1/entities/search
@@ -60,6 +62,7 @@ const ImageVariantSchemaDefinition = z.object({
60
62
  * @endpoint POST /v1/search/shared
61
63
  * @usedBySchema EntityImageSchema
62
64
  * @usedBySchema PersonImageSchema
65
+ * @usedBySchema PublicationSchema
63
66
  * @contractShape image.variant
64
67
  * @contractRole canonical
65
68
  */
@@ -21606,6 +21606,12 @@ declare const PagePublicationSchemaDefinition: z.ZodObject<{
21606
21606
  publishedAt?: string | null | undefined;
21607
21607
  relation?: "about" | "by" | null | undefined;
21608
21608
  screenshotUrl?: string | null | undefined;
21609
+ screenshotVariant?: {
21610
+ contentType: string;
21611
+ height: number;
21612
+ path: string;
21613
+ width: number;
21614
+ }[] | null | undefined;
21609
21615
  sourceDomain?: string | null | undefined;
21610
21616
  sourceName?: string | null | undefined;
21611
21617
  summary?: string | null | undefined;
@@ -21622,6 +21628,12 @@ declare const PagePublicationSchemaDefinition: z.ZodObject<{
21622
21628
  publishedAt?: string | null | undefined;
21623
21629
  relation?: "about" | "by" | null | undefined;
21624
21630
  screenshotUrl?: string | null | undefined;
21631
+ screenshotVariant?: {
21632
+ contentType: string;
21633
+ height: number;
21634
+ path: string;
21635
+ width: number;
21636
+ }[] | null | undefined;
21625
21637
  sourceDomain?: string | null | undefined;
21626
21638
  sourceName?: string | null | undefined;
21627
21639
  summary?: string | null | undefined;
@@ -19,6 +19,17 @@ declare const PublicationSchemaDefinition: z.ZodObject<{
19
19
  by: "by";
20
20
  }>>>;
21
21
  screenshotUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ screenshotVariant: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
23
+ contentType: string;
24
+ height: number;
25
+ path: string;
26
+ width: number;
27
+ }, import("../image/variant.ts").ImageVariantSchemaInput, z.core.$ZodTypeInternals<{
28
+ contentType: string;
29
+ height: number;
30
+ path: string;
31
+ width: number;
32
+ }, import("../image/variant.ts").ImageVariantSchemaInput>>>>>;
22
33
  sourceDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
34
  sourceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
35
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1,5 +1,6 @@
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
+ import { ImageVariantSchema } from "../image/variant.js";
3
4
  import { PublicationRelationSchema } from "./relation.js";
4
5
  import { PublicationTypeSchema } from "./type.js";
5
6
  const PublicationSchemaDefinition = z.object({
@@ -17,6 +18,8 @@ const PublicationSchemaDefinition = z.object({
17
18
  relation: PublicationRelationSchema.nullish(),
18
19
  /** CDN URL of a stored screenshot of this content card's exact primary URL. Available for any publication type; absent until a capture is stored. */
19
20
  screenshotUrl: z.string().nullish(),
21
+ /** Verified variants of screenshotUrl's exact master path; null means unknown, an empty array means known-empty. Use the master when absent or empty. */
22
+ screenshotVariant: z.array(ImageVariantSchema).nullish(),
20
23
  /** Registrable source domain when known. */
21
24
  sourceDomain: z.string().nullish(),
22
25
  /** Publication, platform owner, or source label. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.437",
3
+ "version": "0.8.439",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",