@aventurevc/api-schemas 0.8.52 → 0.8.54

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 (48) hide show
  1. package/dist/entity/brand.d.ts +2 -2
  2. package/dist/entity/detail.d.ts +16 -8
  3. package/dist/entity/enrichment.d.ts +2 -2
  4. package/dist/entity/filter-search.d.ts +1 -54
  5. package/dist/entity/filter.d.ts +1 -54
  6. package/dist/entity/investor-participation.d.ts +16 -8
  7. package/dist/entity/list-filter.d.ts +1 -54
  8. package/dist/entity/list.d.ts +2 -2
  9. package/dist/entity/natural-search.d.ts +1 -54
  10. package/dist/entity/person-association.d.ts +4 -4
  11. package/dist/entity/resolution.d.ts +16 -8
  12. package/dist/entity/similarity-result.d.ts +2 -2
  13. package/dist/entity/similarity-summary.d.ts +2 -2
  14. package/dist/entity/url-link.d.ts +2 -55
  15. package/dist/entity/url-link.js +1 -1
  16. package/dist/entity/url-type.d.ts +1 -54
  17. package/dist/entity/url-type.js +1 -54
  18. package/dist/federated/search.d.ts +4 -4
  19. package/dist/link/search.d.ts +4 -4
  20. package/dist/lookup/job-mention.d.ts +2 -2
  21. package/dist/lookup/job.d.ts +2 -2
  22. package/dist/mention/lookup.d.ts +2 -2
  23. package/dist/natural/search-result.d.ts +4 -4
  24. package/dist/news/subscription-arguments.d.ts +1 -0
  25. package/dist/news/subscription-arguments.js +1 -0
  26. package/dist/news/subscription-delivery-status.d.ts +18 -0
  27. package/dist/news/subscription-delivery-status.js +18 -0
  28. package/dist/news/subscription-detail.d.ts +48 -0
  29. package/dist/news/subscription-detail.js +36 -0
  30. package/dist/news/subscription-endpoint.d.ts +1 -0
  31. package/dist/news/subscription-endpoint.js +1 -0
  32. package/dist/news/subscription-event.d.ts +1 -0
  33. package/dist/news/subscription-event.js +1 -0
  34. package/dist/news/subscription-key.d.ts +2 -0
  35. package/dist/news/subscription-key.js +2 -0
  36. package/dist/news/subscription-test-event.d.ts +19 -0
  37. package/dist/news/subscription-test-event.js +20 -0
  38. package/dist/openapi-component-manifest.js +12 -0
  39. package/dist/pagination/schemas.d.ts +86 -46
  40. package/dist/person/detail.d.ts +14 -6
  41. package/dist/person/enrichment.d.ts +2 -2
  42. package/dist/person/invested-company.d.ts +4 -0
  43. package/dist/person/invested-company.js +8 -0
  44. package/dist/person/investment.d.ts +8 -0
  45. package/dist/person/investor-participation.d.ts +14 -6
  46. package/dist/person/similarity-result.d.ts +4 -4
  47. package/dist/search/interpretation.d.ts +2 -2
  48. package/package.json +1 -1
@@ -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: {