@aventurevc/api-schemas 0.8.50 → 0.8.53

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.
Files changed (35) hide show
  1. package/dist/entity/detail-batch.d.ts +1 -1
  2. package/dist/entity/detail-batch.js +18 -5
  3. package/dist/entity/detail.d.ts +8 -0
  4. package/dist/entity/investor-participation.d.ts +8 -0
  5. package/dist/entity/resolution.d.ts +8 -0
  6. package/dist/http/status-code.d.ts +1 -0
  7. package/dist/http/status-code.js +1 -0
  8. package/dist/identification/subject.d.ts +2 -2
  9. package/dist/identification/subject.js +4 -4
  10. package/dist/lookup/job-mutation.d.ts +1 -1
  11. package/dist/lookup/job.d.ts +2 -2
  12. package/dist/news/param.d.ts +0 -6
  13. package/dist/news/param.js +0 -18
  14. package/dist/news/subscription-arguments.d.ts +1 -0
  15. package/dist/news/subscription-arguments.js +1 -0
  16. package/dist/news/subscription-delivery-status.d.ts +18 -0
  17. package/dist/news/subscription-delivery-status.js +18 -0
  18. package/dist/news/subscription-detail.d.ts +48 -0
  19. package/dist/news/subscription-detail.js +36 -0
  20. package/dist/news/subscription-endpoint.d.ts +1 -0
  21. package/dist/news/subscription-endpoint.js +1 -0
  22. package/dist/news/subscription-event.d.ts +1 -0
  23. package/dist/news/subscription-event.js +1 -0
  24. package/dist/news/subscription-key.d.ts +2 -0
  25. package/dist/news/subscription-key.js +2 -0
  26. package/dist/news/subscription-test-event.d.ts +19 -0
  27. package/dist/news/subscription-test-event.js +20 -0
  28. package/dist/openapi-component-manifest.js +12 -0
  29. package/dist/pagination/schemas.d.ts +40 -0
  30. package/dist/person/detail.d.ts +8 -0
  31. package/dist/person/invested-company.d.ts +4 -0
  32. package/dist/person/invested-company.js +8 -0
  33. package/dist/person/investment.d.ts +8 -0
  34. package/dist/person/investor-participation.d.ts +8 -0
  35. package/package.json +1 -1
@@ -7,7 +7,7 @@ declare const EntityDetailBatchSchemaDefinition: z.ZodObject<{
7
7
  }, z.core.$strict>;
8
8
  type EntityDetailBatchDefinition = z.infer<typeof EntityDetailBatchSchemaDefinition>;
9
9
  /**
10
- * Batch request for entity detail retrieval by id, slug, or current joined URL
10
+ * Batch request for entity detail retrieval by id, slug, or current joined URL. Each identifier array accepts at most 200 values, and at most 200 identifiers may be submitted across entityId, slug, and url.
11
11
  *
12
12
  * @openapiSchema EntityDetailBatch
13
13
  * @endpoint POST /v1/entities/lookup-batch
@@ -1,17 +1,30 @@
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
- const EntityDetailBatchSchemaDefinition = z.strictObject({
3
+ const EntityDetailBatchSchemaDefinition = z
4
+ .strictObject({
4
5
  /** Entity UUID values */
5
- entityId: z.array(z.uuid()).optional(),
6
+ entityId: z.array(z.uuid()).max(200).optional(),
6
7
  /** Permit monogram fallbacks */
7
8
  permitMonogram: z.boolean().nullable().default(true).optional(),
8
9
  /** Entity slug values */
9
- slug: z.array(z.string()).optional(),
10
+ slug: z.array(z.string()).max(200).optional(),
10
11
  /** Current joined entity URL values */
11
- url: z.array(z.string()).optional(),
12
+ url: z.array(z.string()).max(200).optional(),
13
+ })
14
+ .check(({ value, issues }) => {
15
+ if ((value.entityId?.length ?? 0) + (value.slug?.length ?? 0) + (value.url?.length ?? 0) >
16
+ 200) {
17
+ issues.push({
18
+ code: "custom",
19
+ origin: "custom",
20
+ path: [],
21
+ input: value,
22
+ message: "combined array item count must be at most 200",
23
+ });
24
+ }
12
25
  });
13
26
  /**
14
- * Batch request for entity detail retrieval by id, slug, or current joined URL
27
+ * Batch request for entity detail retrieval by id, slug, or current joined URL. Each identifier array accepts at most 200 values, and at most 200 identifiers may be submitted across entityId, slug, and url.
15
28
  *
16
29
  * @openapiSchema EntityDetailBatch
17
30
  * @endpoint POST /v1/entities/lookup-batch
@@ -1105,6 +1105,10 @@ export declare const EntityDetailSchema: z.ZodObject<{
1105
1105
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
1106
1106
  updatedAt?: string | null | undefined;
1107
1107
  };
1108
+ headquartersCity?: string | null | undefined;
1109
+ headquartersCountry?: string | null | undefined;
1110
+ headquartersRegion?: string | null | undefined;
1111
+ industry?: string | null | undefined;
1108
1112
  };
1109
1113
  date?: string | null | undefined;
1110
1114
  fundraiseTransaction?: {
@@ -1433,6 +1437,10 @@ export declare const EntityDetailSchema: z.ZodObject<{
1433
1437
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
1434
1438
  updatedAt?: string | null | undefined;
1435
1439
  };
1440
+ headquartersCity?: string | null | undefined;
1441
+ headquartersCountry?: string | null | undefined;
1442
+ headquartersRegion?: string | null | undefined;
1443
+ industry?: string | null | undefined;
1436
1444
  };
1437
1445
  date?: string | null | undefined;
1438
1446
  fundraiseTransaction?: {
@@ -1090,6 +1090,10 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
1090
1090
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
1091
1091
  updatedAt?: string | null | undefined;
1092
1092
  };
1093
+ headquartersCity?: string | null | undefined;
1094
+ headquartersCountry?: string | null | undefined;
1095
+ headquartersRegion?: string | null | undefined;
1096
+ industry?: string | null | undefined;
1093
1097
  };
1094
1098
  date?: string | null | undefined;
1095
1099
  fundraiseTransaction?: {
@@ -1418,6 +1422,10 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
1418
1422
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
1419
1423
  updatedAt?: string | null | undefined;
1420
1424
  };
1425
+ headquartersCity?: string | null | undefined;
1426
+ headquartersCountry?: string | null | undefined;
1427
+ headquartersRegion?: string | null | undefined;
1428
+ industry?: string | null | undefined;
1421
1429
  };
1422
1430
  date?: string | null | undefined;
1423
1431
  fundraiseTransaction?: {
@@ -1091,6 +1091,10 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
1091
1091
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
1092
1092
  updatedAt?: string | null | undefined;
1093
1093
  };
1094
+ headquartersCity?: string | null | undefined;
1095
+ headquartersCountry?: string | null | undefined;
1096
+ headquartersRegion?: string | null | undefined;
1097
+ industry?: string | null | undefined;
1094
1098
  };
1095
1099
  date?: string | null | undefined;
1096
1100
  fundraiseTransaction?: {
@@ -1419,6 +1423,10 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
1419
1423
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
1420
1424
  updatedAt?: string | null | undefined;
1421
1425
  };
1426
+ headquartersCity?: string | null | undefined;
1427
+ headquartersCountry?: string | null | undefined;
1428
+ headquartersRegion?: string | null | undefined;
1429
+ industry?: string | null | undefined;
1422
1430
  };
1423
1431
  date?: string | null | undefined;
1424
1432
  fundraiseTransaction?: {
@@ -11,6 +11,7 @@
11
11
  */
12
12
  export declare const HTTP_OK: 200;
13
13
  export declare const HTTP_CREATED: 201;
14
+ export declare const HTTP_ACCEPTED: 202;
14
15
  export declare const HTTP_NO_CONTENT: 204;
15
16
  export declare const HTTP_MOVED_PERMANENTLY: 301;
16
17
  export declare const HTTP_FOUND: 302;
@@ -12,6 +12,7 @@
12
12
  */
13
13
  export const HTTP_OK = 200;
14
14
  export const HTTP_CREATED = 201;
15
+ export const HTTP_ACCEPTED = 202;
15
16
  export const HTTP_NO_CONTENT = 204;
16
17
  export const HTTP_MOVED_PERMANENTLY = 301;
17
18
  export const HTTP_FOUND = 302;
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod/v4";
2
2
  /**
3
- * The company, Product, Service, or person to identify. Send the name plus every URL, location, and source you have; a website or profile URL usually settles the answer without any model call.
3
+ * 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.
4
4
  *
5
5
  * @openapiSchema IdentificationSubject
6
6
  * @endpoint GET /v1/lookup-jobs/{jobId}
@@ -20,7 +20,7 @@ export declare const IdentificationSubjectSchema: z.ZodObject<{
20
20
  PERSON: "PERSON";
21
21
  }>>>;
22
22
  location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- name: z.ZodString;
23
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  providerId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
25
25
  sourceNewsId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
26
26
  sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2,7 +2,7 @@
2
2
  import { z } from "zod/v4";
3
3
  import { EntityTypeSchema } from "../entity/type.js";
4
4
  /**
5
- * The company, Product, Service, or person to identify. Send the name plus every URL, location, and source you have; a website or profile URL usually settles the answer without any model call.
5
+ * 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
6
  *
7
7
  * @openapiSchema IdentificationSubject
8
8
  * @endpoint GET /v1/lookup-jobs/{jobId}
@@ -22,8 +22,8 @@ export const IdentificationSubjectSchema = z.object({
22
22
  kind: z.enum(["ENTITY", "PERSON"]).nullish(),
23
23
  /** City, region, or country, such as Austin, TX. Tells namesakes apart; not proof on its own. */
24
24
  location: z.string().max(2000).nullish(),
25
- /** 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. */
26
- name: z.string().max(200),
25
+ /** Name exactly as the source writes it, such as Acme AI or Jane Doe. Send name, url, or both; a name that is an absolute http(s) URL is read as url. */
26
+ name: z.string().max(200).nullish(),
27
27
  /** 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
28
  providerId: z.uuid().nullish(),
29
29
  /** aVenture news id of the article that mentions the subject; an unknown id is a 400. */
@@ -32,7 +32,7 @@ export const IdentificationSubjectSchema = z.object({
32
32
  sourceUrl: z.string().max(2000).nullish(),
33
33
  /** Entity type to identify. A Product or Service never matches its provider organization, but a record stored under a neighboring type of the same family (Product or Service; Fund, Investment Firm, or Company) still matches, and a Business Line lookup sees both families. Invalid for a person lookup. */
34
34
  typeRecord: EntityTypeSchema.nullish(),
35
- /** URLs the subject owns: its website, its LinkedIn company or person profile, or a registry page. At most 10. Put articles in sourceUrl. */
35
+ /** URLs the subject owns: its website, its LinkedIn company or person profile, an aVenture page, or a registry page. At most 10. Required when name is omitted. Put articles in sourceUrl. */
36
36
  url: z.array(z.string()).max(10).optional(),
37
37
  });
38
38
  //# sourceMappingURL=subject.js.map
@@ -20,7 +20,7 @@ declare const LookupJobMutationSchemaDefinition: z.ZodObject<{
20
20
  PERSON: "PERSON";
21
21
  }>>>;
22
22
  location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- name: z.ZodString;
23
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  providerId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
25
25
  sourceNewsId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
26
26
  sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1428,7 +1428,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1428
1428
  context?: string | null | undefined;
1429
1429
  kind?: "ENTITY" | "PERSON" | null | undefined;
1430
1430
  location?: string | null | undefined;
1431
- name: string;
1431
+ name?: string | null | undefined;
1432
1432
  providerId?: string | null | undefined;
1433
1433
  sourceNewsId?: number | null | undefined;
1434
1434
  sourceUrl?: string | null | undefined;
@@ -1448,7 +1448,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1448
1448
  context?: string | null | undefined;
1449
1449
  kind?: "ENTITY" | "PERSON" | null | undefined;
1450
1450
  location?: string | null | undefined;
1451
- name: string;
1451
+ name?: string | null | undefined;
1452
1452
  providerId?: string | null | undefined;
1453
1453
  sourceNewsId?: number | null | undefined;
1454
1454
  sourceUrl?: string | null | undefined;
@@ -13,14 +13,8 @@ export declare const NewsParamSchema: z.ZodObject<{
13
13
  page: z.ZodOptional<z.ZodInt>;
14
14
  size: z.ZodOptional<z.ZodInt>;
15
15
  sort: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
16
- authorInitial: z.ZodOptional<z.ZodString>;
17
16
  category: z.ZodOptional<z.ZodString>;
18
- cursor: z.ZodOptional<z.ZodString>;
19
17
  excludeId: z.ZodOptional<z.ZodInt>;
20
- letter: z.ZodOptional<z.ZodString>;
21
- mode: z.ZodOptional<z.ZodEnum<{
22
- thin: "thin";
23
- }>>;
24
18
  "owner.entityId": z.ZodOptional<z.ZodUUID>;
25
19
  "owner.personId": z.ZodOptional<z.ZodUUID>;
26
20
  publishedAfter: z.ZodOptional<z.ZodISODate>;
@@ -12,18 +12,10 @@ export const NEWS_ENDPOINT = "/v1/news";
12
12
  * @contractRole canonical
13
13
  */
14
14
  export const NewsParamSchema = PageParamSchema.extend({
15
- /** Author initial filter. */
16
- authorInitial: z.string().optional(),
17
15
  /** News category slug to include or exclude. */
18
16
  category: z.string().optional(),
19
- /** Cursor token returned by the previous thin page. */
20
- cursor: z.string().optional(),
21
17
  /** Exclude one news article by id. */
22
18
  excludeId: z.int().optional(),
23
- /** Deprecated: use the author-initial filter. */
24
- letter: z.string().optional(),
25
- /** Response mode: thin returns cursor-paginated index rows; omit for the standard list. */
26
- mode: z.enum(["thin"]).optional(),
27
19
  /** Owning entity id; set only when personId is absent. */
28
20
  "owner.entityId": z.uuid().optional(),
29
21
  /** Owning person id; set only when entityId is absent. */
@@ -34,15 +26,5 @@ export const NewsParamSchema = PageParamSchema.extend({
34
26
  publishedBefore: z.iso.date().optional(),
35
27
  /** Full-text news search term. */
36
28
  search: z.string().optional(),
37
- }).check(({ value, issues }) => {
38
- if (value.cursor !== undefined && value.cursor !== "" && value.sort !== undefined) {
39
- issues.push({
40
- code: "custom",
41
- origin: "custom",
42
- path: ["sort"],
43
- input: value.sort,
44
- message: "sort is not supported when cursor is provided",
45
- });
46
- }
47
29
  });
48
30
  //# sourceMappingURL=param.js.map
@@ -7,6 +7,7 @@ type NewsSubscriptionArgumentsDefinition = z.infer<typeof NewsSubscriptionArgume
7
7
  * Arguments of the entity.news.published event.
8
8
  *
9
9
  * @openapiSchema NewsSubscriptionArguments
10
+ * @endpoint GET /v1/news/subscriptions
10
11
  * @endpoint PUT /v1/news/subscriptions
11
12
  * @endpoint DELETE /v1/news/subscriptions
12
13
  * @usedBySchema NewsSubscriptionKeySchema
@@ -8,6 +8,7 @@ const NewsSubscriptionArgumentsSchemaDefinition = z.object({
8
8
  * Arguments of the entity.news.published event.
9
9
  *
10
10
  * @openapiSchema NewsSubscriptionArguments
11
+ * @endpoint GET /v1/news/subscriptions
11
12
  * @endpoint PUT /v1/news/subscriptions
12
13
  * @endpoint DELETE /v1/news/subscriptions
13
14
  * @usedBySchema NewsSubscriptionKeySchema
@@ -0,0 +1,18 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * active delivers; retrying backs off after a failure; paused stopped after the maximum consecutive failures until the subscription is refreshed; expired passed refreshBefore and is about to be removed.
4
+ *
5
+ * @openapiSchema NewsSubscriptionDeliveryStatus
6
+ * @endpoint GET /v1/news/subscriptions
7
+ * @usedBySchema NewsSubscriptionDetailSchema
8
+ * @contractShape news.subscription-delivery-status
9
+ * @contractRole canonical
10
+ */
11
+ export declare const NewsSubscriptionDeliveryStatusSchema: z.ZodEnum<{
12
+ active: "active";
13
+ expired: "expired";
14
+ paused: "paused";
15
+ retrying: "retrying";
16
+ }>;
17
+ export type NewsSubscriptionDeliveryStatus = z.infer<typeof NewsSubscriptionDeliveryStatusSchema>;
18
+ //# sourceMappingURL=subscription-delivery-status.d.ts.map
@@ -0,0 +1,18 @@
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
+ * active delivers; retrying backs off after a failure; paused stopped after the maximum consecutive failures until the subscription is refreshed; expired passed refreshBefore and is about to be removed.
5
+ *
6
+ * @openapiSchema NewsSubscriptionDeliveryStatus
7
+ * @endpoint GET /v1/news/subscriptions
8
+ * @usedBySchema NewsSubscriptionDetailSchema
9
+ * @contractShape news.subscription-delivery-status
10
+ * @contractRole canonical
11
+ */
12
+ export const NewsSubscriptionDeliveryStatusSchema = z.enum([
13
+ "active",
14
+ "retrying",
15
+ "paused",
16
+ "expired",
17
+ ]);
18
+ //# sourceMappingURL=subscription-delivery-status.js.map
@@ -0,0 +1,48 @@
1
+ import { z } from "zod/v4";
2
+ declare const NewsSubscriptionDetailSchemaDefinition: z.ZodObject<{
3
+ consecutiveFailureCount: z.ZodInt;
4
+ createdAt: z.ZodISODateTime;
5
+ cursor: z.ZodString;
6
+ id: z.ZodString;
7
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ nextAttemptAt: z.ZodISODateTime;
9
+ refreshBefore: z.ZodISODateTime;
10
+ status: z.ZodEnum<{
11
+ active: "active";
12
+ expired: "expired";
13
+ paused: "paused";
14
+ retrying: "retrying";
15
+ }>;
16
+ subscription: z.ZodType<{
17
+ arguments: {
18
+ entityId: string;
19
+ };
20
+ delivery: {
21
+ url: string;
22
+ };
23
+ name: "entity.news.published";
24
+ }, unknown, z.core.$ZodTypeInternals<{
25
+ arguments: {
26
+ entityId: string;
27
+ };
28
+ delivery: {
29
+ url: string;
30
+ };
31
+ name: "entity.news.published";
32
+ }, unknown>>;
33
+ updatedAt: z.ZodISODateTime;
34
+ verifiedAt: z.ZodISODateTime;
35
+ }, z.core.$strip>;
36
+ type NewsSubscriptionDetailDefinition = z.infer<typeof NewsSubscriptionDetailSchemaDefinition>;
37
+ /**
38
+ * One of the caller's news subscriptions and its delivery state.
39
+ *
40
+ * @openapiSchema NewsSubscriptionDetail
41
+ * @endpoint GET /v1/news/subscriptions
42
+ * @contractShape news.subscription-detail
43
+ * @contractRole canonical
44
+ */
45
+ export declare const NewsSubscriptionDetailSchema: z.ZodType<NewsSubscriptionDetailDefinition>;
46
+ export type NewsSubscriptionDetail = z.infer<typeof NewsSubscriptionDetailSchema>;
47
+ export {};
48
+ //# sourceMappingURL=subscription-detail.d.ts.map
@@ -0,0 +1,36 @@
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 { NewsSubscriptionDeliveryStatusSchema } from "./subscription-delivery-status.js";
4
+ import { NewsSubscriptionKeySchema } from "./subscription-key.js";
5
+ const NewsSubscriptionDetailSchemaDefinition = z.object({
6
+ /** Failed deliveries since the last acknowledged one or refresh. */
7
+ consecutiveFailureCount: z.int(),
8
+ createdAt: z.iso.datetime({ offset: true }),
9
+ /** Opaque watermark the next delivery resumes after. */
10
+ cursor: z.string(),
11
+ /** Stable subscription id; sent as X-MCP-Subscription-Id. */
12
+ id: z.string(),
13
+ /** Short cause of the latest failed delivery; null after a success. */
14
+ lastError: z.string().nullish(),
15
+ /** Earliest time the next delivery attempt runs. */
16
+ nextAttemptAt: z.iso.datetime({ offset: true }),
17
+ /** The subscription expires unless refreshed before this instant. */
18
+ refreshBefore: z.iso.datetime({ offset: true }),
19
+ status: NewsSubscriptionDeliveryStatusSchema,
20
+ /** Event, arguments, and url; the unsubscribe request body. */
21
+ subscription: NewsSubscriptionKeySchema,
22
+ /** Latest subscribe, refresh, acknowledged, or failed delivery. */
23
+ updatedAt: z.iso.datetime({ offset: true }),
24
+ /** When the endpoint last answered the verification challenge. */
25
+ verifiedAt: z.iso.datetime({ offset: true }),
26
+ });
27
+ /**
28
+ * One of the caller's news subscriptions and its delivery state.
29
+ *
30
+ * @openapiSchema NewsSubscriptionDetail
31
+ * @endpoint GET /v1/news/subscriptions
32
+ * @contractShape news.subscription-detail
33
+ * @contractRole canonical
34
+ */
35
+ export const NewsSubscriptionDetailSchema = NewsSubscriptionDetailSchemaDefinition;
36
+ //# sourceMappingURL=subscription-detail.js.map
@@ -7,6 +7,7 @@ type NewsSubscriptionEndpointDefinition = z.infer<typeof NewsSubscriptionEndpoin
7
7
  * Webhook delivery target.
8
8
  *
9
9
  * @openapiSchema NewsSubscriptionEndpoint
10
+ * @endpoint GET /v1/news/subscriptions
10
11
  * @endpoint DELETE /v1/news/subscriptions
11
12
  * @usedBySchema NewsSubscriptionKeySchema
12
13
  * @contractShape news.subscription-endpoint
@@ -7,6 +7,7 @@ const NewsSubscriptionEndpointSchemaDefinition = z.object({
7
7
  * Webhook delivery target.
8
8
  *
9
9
  * @openapiSchema NewsSubscriptionEndpoint
10
+ * @endpoint GET /v1/news/subscriptions
10
11
  * @endpoint DELETE /v1/news/subscriptions
11
12
  * @usedBySchema NewsSubscriptionKeySchema
12
13
  * @contractShape news.subscription-endpoint
@@ -3,6 +3,7 @@ import { z } from "zod/v4";
3
3
  * Subscribable event name
4
4
  *
5
5
  * @openapiSchema NewsSubscriptionEvent
6
+ * @endpoint GET /v1/news/subscriptions
6
7
  * @endpoint PUT /v1/news/subscriptions
7
8
  * @endpoint DELETE /v1/news/subscriptions
8
9
  * @usedBySchema NewsPublishedEventSchema
@@ -4,6 +4,7 @@ import { z } from "zod/v4";
4
4
  * Subscribable event name
5
5
  *
6
6
  * @openapiSchema NewsSubscriptionEvent
7
+ * @endpoint GET /v1/news/subscriptions
7
8
  * @endpoint PUT /v1/news/subscriptions
8
9
  * @endpoint DELETE /v1/news/subscriptions
9
10
  * @usedBySchema NewsPublishedEventSchema
@@ -19,7 +19,9 @@ type NewsSubscriptionKeyDefinition = z.infer<typeof NewsSubscriptionKeySchemaDef
19
19
  * Identifies one subscription to remove by its event name, arguments, and url.
20
20
  *
21
21
  * @openapiSchema NewsSubscriptionKey
22
+ * @endpoint GET /v1/news/subscriptions
22
23
  * @endpoint DELETE /v1/news/subscriptions
24
+ * @usedBySchema NewsSubscriptionDetailSchema
23
25
  * @contractShape news.subscription-key
24
26
  * @contractRole canonical
25
27
  */
@@ -12,7 +12,9 @@ const NewsSubscriptionKeySchemaDefinition = z.object({
12
12
  * Identifies one subscription to remove by its event name, arguments, and url.
13
13
  *
14
14
  * @openapiSchema NewsSubscriptionKey
15
+ * @endpoint GET /v1/news/subscriptions
15
16
  * @endpoint DELETE /v1/news/subscriptions
17
+ * @usedBySchema NewsSubscriptionDetailSchema
16
18
  * @contractShape news.subscription-key
17
19
  * @contractRole canonical
18
20
  */
@@ -0,0 +1,19 @@
1
+ import { z } from "zod/v4";
2
+ declare const NewsSubscriptionTestEventSchemaDefinition: z.ZodObject<{
3
+ acknowledged: z.ZodBoolean;
4
+ eventId: z.ZodString;
5
+ status: z.ZodInt;
6
+ }, z.core.$strip>;
7
+ type NewsSubscriptionTestEventDefinition = z.infer<typeof NewsSubscriptionTestEventSchemaDefinition>;
8
+ /**
9
+ * The receiver's answer to one signed sample entity.news.published event.
10
+ *
11
+ * @openapiSchema NewsSubscriptionTestEvent
12
+ * @endpoint POST /v1/news/subscriptions/{subscriptionId}/test-events
13
+ * @contractShape news.subscription-test-event
14
+ * @contractRole canonical
15
+ */
16
+ export declare const NewsSubscriptionTestEventSchema: z.ZodType<NewsSubscriptionTestEventDefinition>;
17
+ export type NewsSubscriptionTestEvent = z.infer<typeof NewsSubscriptionTestEventSchema>;
18
+ export {};
19
+ //# sourceMappingURL=subscription-test-event.d.ts.map
@@ -0,0 +1,20 @@
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 NewsSubscriptionTestEventSchemaDefinition = z.object({
4
+ /** Whether the receiver answered 2xx. */
5
+ acknowledged: z.boolean(),
6
+ /** The sample's event id, equal to its webhook-id header. */
7
+ eventId: z.string(),
8
+ /** HTTP status the receiver answered. */
9
+ status: z.int(),
10
+ });
11
+ /**
12
+ * The receiver's answer to one signed sample entity.news.published event.
13
+ *
14
+ * @openapiSchema NewsSubscriptionTestEvent
15
+ * @endpoint POST /v1/news/subscriptions/{subscriptionId}/test-events
16
+ * @contractShape news.subscription-test-event
17
+ * @contractRole canonical
18
+ */
19
+ export const NewsSubscriptionTestEventSchema = NewsSubscriptionTestEventSchemaDefinition;
20
+ //# sourceMappingURL=subscription-test-event.js.map
@@ -567,6 +567,14 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
567
567
  modulePath: "news/subscription-delivery-mode",
568
568
  schemaName: "NewsSubscriptionDeliveryModeSchema",
569
569
  },
570
+ NewsSubscriptionDeliveryStatus: {
571
+ modulePath: "news/subscription-delivery-status",
572
+ schemaName: "NewsSubscriptionDeliveryStatusSchema",
573
+ },
574
+ NewsSubscriptionDetail: {
575
+ modulePath: "news/subscription-detail",
576
+ schemaName: "NewsSubscriptionDetailSchema",
577
+ },
570
578
  NewsSubscriptionEndpoint: {
571
579
  modulePath: "news/subscription-endpoint",
572
580
  schemaName: "NewsSubscriptionEndpointSchema",
@@ -583,6 +591,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
583
591
  modulePath: "news/subscription-key",
584
592
  schemaName: "NewsSubscriptionKeySchema",
585
593
  },
594
+ NewsSubscriptionTestEvent: {
595
+ modulePath: "news/subscription-test-event",
596
+ schemaName: "NewsSubscriptionTestEventSchema",
597
+ },
586
598
  PageableObject: { modulePath: "pageable/object", schemaName: "PageableObjectSchema" },
587
599
  PageBlogPost: { modulePath: "pagination/schemas", schemaName: "PageBlogPostSchema" },
588
600
  PageClassification: {
@@ -1648,6 +1648,10 @@ declare const PageEntityDetailSchemaDefinition: z.ZodObject<{
1648
1648
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
1649
1649
  updatedAt?: string | null | undefined;
1650
1650
  };
1651
+ headquartersCity?: string | null | undefined;
1652
+ headquartersCountry?: string | null | undefined;
1653
+ headquartersRegion?: string | null | undefined;
1654
+ industry?: string | null | undefined;
1651
1655
  };
1652
1656
  date?: string | null | undefined;
1653
1657
  fundraiseTransaction?: {
@@ -1976,6 +1980,10 @@ declare const PageEntityDetailSchemaDefinition: z.ZodObject<{
1976
1980
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
1977
1981
  updatedAt?: string | null | undefined;
1978
1982
  };
1983
+ headquartersCity?: string | null | undefined;
1984
+ headquartersCountry?: string | null | undefined;
1985
+ headquartersRegion?: string | null | undefined;
1986
+ industry?: string | null | undefined;
1979
1987
  };
1980
1988
  date?: string | null | undefined;
1981
1989
  fundraiseTransaction?: {
@@ -3342,6 +3350,10 @@ declare const PageEntityInvestorParticipationSchemaDefinition: z.ZodObject<{
3342
3350
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
3343
3351
  updatedAt?: string | null | undefined;
3344
3352
  };
3353
+ headquartersCity?: string | null | undefined;
3354
+ headquartersCountry?: string | null | undefined;
3355
+ headquartersRegion?: string | null | undefined;
3356
+ industry?: string | null | undefined;
3345
3357
  };
3346
3358
  date?: string | null | undefined;
3347
3359
  fundraiseTransaction?: {
@@ -4266,6 +4278,10 @@ declare const PageEntityInvestorParticipationSchemaDefinition: z.ZodObject<{
4266
4278
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
4267
4279
  updatedAt?: string | null | undefined;
4268
4280
  };
4281
+ headquartersCity?: string | null | undefined;
4282
+ headquartersCountry?: string | null | undefined;
4283
+ headquartersRegion?: string | null | undefined;
4284
+ industry?: string | null | undefined;
4269
4285
  };
4270
4286
  date?: string | null | undefined;
4271
4287
  fundraiseTransaction?: {
@@ -7993,6 +8009,10 @@ declare const PagePersonDetailSchemaDefinition: z.ZodObject<{
7993
8009
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
7994
8010
  updatedAt?: string | null | undefined;
7995
8011
  };
8012
+ headquartersCity?: string | null | undefined;
8013
+ headquartersCountry?: string | null | undefined;
8014
+ headquartersRegion?: string | null | undefined;
8015
+ industry?: string | null | undefined;
7996
8016
  };
7997
8017
  date?: string | null | undefined;
7998
8018
  fundraiseTransaction?: {
@@ -8321,6 +8341,10 @@ declare const PagePersonDetailSchemaDefinition: z.ZodObject<{
8321
8341
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
8322
8342
  updatedAt?: string | null | undefined;
8323
8343
  };
8344
+ headquartersCity?: string | null | undefined;
8345
+ headquartersCountry?: string | null | undefined;
8346
+ headquartersRegion?: string | null | undefined;
8347
+ industry?: string | null | undefined;
8324
8348
  };
8325
8349
  date?: string | null | undefined;
8326
8350
  fundraiseTransaction?: {
@@ -8434,6 +8458,10 @@ declare const PagePersonInvestmentSchemaDefinition: z.ZodObject<{
8434
8458
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
8435
8459
  updatedAt?: string | null | undefined;
8436
8460
  };
8461
+ headquartersCity?: string | null | undefined;
8462
+ headquartersCountry?: string | null | undefined;
8463
+ headquartersRegion?: string | null | undefined;
8464
+ industry?: string | null | undefined;
8437
8465
  };
8438
8466
  date?: string | null | undefined;
8439
8467
  fundraiseTransaction?: {
@@ -8503,6 +8531,10 @@ declare const PagePersonInvestmentSchemaDefinition: z.ZodObject<{
8503
8531
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
8504
8532
  updatedAt?: string | null | undefined;
8505
8533
  };
8534
+ headquartersCity?: string | null | undefined;
8535
+ headquartersCountry?: string | null | undefined;
8536
+ headquartersRegion?: string | null | undefined;
8537
+ industry?: string | null | undefined;
8506
8538
  };
8507
8539
  date?: string | null | undefined;
8508
8540
  fundraiseTransaction?: {
@@ -8877,6 +8909,10 @@ declare const PagePersonInvestorParticipationSchemaDefinition: z.ZodObject<{
8877
8909
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
8878
8910
  updatedAt?: string | null | undefined;
8879
8911
  };
8912
+ headquartersCity?: string | null | undefined;
8913
+ headquartersCountry?: string | null | undefined;
8914
+ headquartersRegion?: string | null | undefined;
8915
+ industry?: string | null | undefined;
8880
8916
  };
8881
8917
  date?: string | null | undefined;
8882
8918
  fundraiseTransaction?: {
@@ -9224,6 +9260,10 @@ declare const PagePersonInvestorParticipationSchemaDefinition: z.ZodObject<{
9224
9260
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
9225
9261
  updatedAt?: string | null | undefined;
9226
9262
  };
9263
+ headquartersCity?: string | null | undefined;
9264
+ headquartersCountry?: string | null | undefined;
9265
+ headquartersRegion?: string | null | undefined;
9266
+ industry?: string | null | undefined;
9227
9267
  };
9228
9268
  date?: string | null | undefined;
9229
9269
  fundraiseTransaction?: {
@@ -444,6 +444,10 @@ declare const PersonDetailSchemaDefinition: z.ZodObject<{
444
444
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
445
445
  updatedAt?: string | null | undefined;
446
446
  };
447
+ headquartersCity?: string | null | undefined;
448
+ headquartersCountry?: string | null | undefined;
449
+ headquartersRegion?: string | null | undefined;
450
+ industry?: string | null | undefined;
447
451
  };
448
452
  date?: string | null | undefined;
449
453
  fundraiseTransaction?: {
@@ -513,6 +517,10 @@ declare const PersonDetailSchemaDefinition: z.ZodObject<{
513
517
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
514
518
  updatedAt?: string | null | undefined;
515
519
  };
520
+ headquartersCity?: string | null | undefined;
521
+ headquartersCountry?: string | null | undefined;
522
+ headquartersRegion?: string | null | undefined;
523
+ industry?: string | null | undefined;
516
524
  };
517
525
  date?: string | null | undefined;
518
526
  fundraiseTransaction?: {
@@ -46,6 +46,10 @@ declare const PersonInvestedCompanySchemaDefinition: z.ZodObject<{
46
46
  }>;
47
47
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
48
48
  }, z.core.$strip>;
49
+ headquartersCity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ headquartersCountry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ headquartersRegion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
53
  }, z.core.$strip>;
50
54
  type PersonInvestedCompanyDefinition = z.infer<typeof PersonInvestedCompanySchemaDefinition>;
51
55
  /**
@@ -3,6 +3,14 @@ import { z } from "zod/v4";
3
3
  import { EntitySchema } from "../entity/entity.js";
4
4
  const PersonInvestedCompanySchemaDefinition = z.object({
5
5
  entity: EntitySchema,
6
+ /** Headquarters city of the investee at read time, when known */
7
+ headquartersCity: z.string().nullish(),
8
+ /** Headquarters country of the investee, when known */
9
+ headquartersCountry: z.string().nullish(),
10
+ /** Headquarters region (state or province) of the investee, when known */
11
+ headquartersRegion: z.string().nullish(),
12
+ /** Primary industry classification of the investee, when known */
13
+ industry: z.string().nullish(),
6
14
  });
7
15
  /**
8
16
  * Company metadata associated with a person investment
@@ -34,6 +34,10 @@ declare const PersonInvestmentSchemaDefinition: z.ZodObject<{
34
34
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
35
35
  updatedAt?: string | null | undefined;
36
36
  };
37
+ headquartersCity?: string | null | undefined;
38
+ headquartersCountry?: string | null | undefined;
39
+ headquartersRegion?: string | null | undefined;
40
+ industry?: string | null | undefined;
37
41
  }, unknown, z.core.$ZodTypeInternals<{
38
42
  entity: {
39
43
  defaultCurrency?: string | null | undefined;
@@ -67,6 +71,10 @@ declare const PersonInvestmentSchemaDefinition: z.ZodObject<{
67
71
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
68
72
  updatedAt?: string | null | undefined;
69
73
  };
74
+ headquartersCity?: string | null | undefined;
75
+ headquartersCountry?: string | null | undefined;
76
+ headquartersRegion?: string | null | undefined;
77
+ industry?: string | null | undefined;
70
78
  }, unknown>>;
71
79
  date: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
72
80
  fundraiseTransaction: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -304,6 +304,10 @@ declare const PersonInvestorParticipationSchemaDefinition: z.ZodObject<{
304
304
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
305
305
  updatedAt?: string | null | undefined;
306
306
  };
307
+ headquartersCity?: string | null | undefined;
308
+ headquartersCountry?: string | null | undefined;
309
+ headquartersRegion?: string | null | undefined;
310
+ industry?: string | null | undefined;
307
311
  };
308
312
  date?: string | null | undefined;
309
313
  fundraiseTransaction?: {
@@ -632,6 +636,10 @@ declare const PersonInvestorParticipationSchemaDefinition: z.ZodObject<{
632
636
  typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
633
637
  updatedAt?: string | null | undefined;
634
638
  };
639
+ headquartersCity?: string | null | undefined;
640
+ headquartersCountry?: string | null | undefined;
641
+ headquartersRegion?: string | null | undefined;
642
+ industry?: string | null | undefined;
635
643
  };
636
644
  date?: string | null | undefined;
637
645
  fundraiseTransaction?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.50",
3
+ "version": "0.8.53",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",