@aventurevc/api-schemas 0.8.41 → 0.8.44

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 (62) hide show
  1. package/dist/entity/accelerator-participation.d.ts +5 -9
  2. package/dist/entity/acquisition.d.ts +10 -18
  3. package/dist/entity/detail.d.ts +5 -9
  4. package/dist/entity/entity.d.ts +5 -9
  5. package/dist/entity/fundraise-transaction-entity.d.ts +5 -9
  6. package/dist/entity/fundraise-transaction.d.ts +5 -9
  7. package/dist/entity/fundraise.d.ts +5 -9
  8. package/dist/entity/image.d.ts +5 -8
  9. package/dist/entity/image.js +6 -7
  10. package/dist/entity/investor-participation.d.ts +5 -9
  11. package/dist/entity/list.d.ts +5 -9
  12. package/dist/entity/person-association.d.ts +9 -16
  13. package/dist/entity/relationship.d.ts +5 -9
  14. package/dist/entity/resolution.d.ts +5 -9
  15. package/dist/entity/similarity-summary.d.ts +5 -9
  16. package/dist/harness/run-detail.d.ts +10 -18
  17. package/dist/http/problem-detail.d.ts +7 -0
  18. package/dist/http/problem-detail.js +14 -0
  19. package/dist/job/enqueue.d.ts +1 -0
  20. package/dist/job/enqueue.js +1 -0
  21. package/dist/news/news.d.ts +1 -0
  22. package/dist/news/news.js +1 -0
  23. package/dist/news/published-event.d.ts +52 -0
  24. package/dist/news/published-event.js +25 -0
  25. package/dist/news/subscription-arguments.d.ts +20 -0
  26. package/dist/news/subscription-arguments.js +19 -0
  27. package/dist/news/subscription-delivery-mode.d.ts +15 -0
  28. package/dist/news/subscription-delivery-mode.js +13 -0
  29. package/dist/news/subscription-delivery.d.ts +22 -0
  30. package/dist/news/subscription-delivery.js +21 -0
  31. package/dist/news/subscription-endpoint.d.ts +18 -0
  32. package/dist/news/subscription-endpoint.js +16 -0
  33. package/dist/news/subscription-event.d.ts +18 -0
  34. package/dist/news/subscription-event.js +16 -0
  35. package/dist/news/subscription-grant.d.ts +20 -0
  36. package/dist/news/subscription-grant.js +22 -0
  37. package/dist/news/subscription-key.d.ts +29 -0
  38. package/dist/news/subscription-key.js +20 -0
  39. package/dist/news/subscription.d.ts +35 -0
  40. package/dist/news/subscription.js +24 -0
  41. package/dist/openapi-component-manifest.js +33 -0
  42. package/dist/pagination/schemas.d.ts +19 -34
  43. package/dist/person/detail.d.ts +9 -16
  44. package/dist/person/graph-career-context.d.ts +5 -9
  45. package/dist/person/graph-co-investor.d.ts +5 -9
  46. package/dist/person/graph-member.d.ts +4 -7
  47. package/dist/person/graph-similar-entity.d.ts +5 -9
  48. package/dist/person/image.d.ts +4 -7
  49. package/dist/person/image.js +5 -6
  50. package/dist/person/invested-company.d.ts +5 -9
  51. package/dist/person/investment.d.ts +5 -9
  52. package/dist/person/person.d.ts +4 -7
  53. package/dist/person/similarity-result.d.ts +9 -16
  54. package/dist/search/hit.d.ts +1 -0
  55. package/dist/search/hit.js +1 -0
  56. package/dist/search/search.d.ts +1 -0
  57. package/dist/search/search.js +1 -0
  58. package/dist/source/document-list.d.ts +1 -0
  59. package/dist/source/document-list.js +1 -0
  60. package/dist/web/search.d.ts +1 -0
  61. package/dist/web/search.js +1 -0
  62. package/package.json +1 -1
@@ -4,15 +4,11 @@ declare const EntityAcceleratorParticipationSchemaDefinition: z.ZodObject<{
4
4
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
5
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6
6
  id: z.ZodUUID;
7
- image: z.ZodType<{
8
- isMonogram: boolean;
9
- logo?: string | null | undefined;
10
- logoSquare?: string | null | undefined;
11
- }, unknown, z.core.$ZodTypeInternals<{
12
- isMonogram: boolean;
13
- logo?: string | null | undefined;
14
- logoSquare?: string | null | undefined;
15
- }, unknown>>;
7
+ image: z.ZodObject<{
8
+ isMonogram: z.ZodBoolean;
9
+ logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ }, z.core.$strip>;
16
12
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
17
13
  nameAlias: z.ZodArray<z.ZodType<{
18
14
  displayable?: boolean | null | undefined;
@@ -4,15 +4,11 @@ declare const EntityAcquisitionSchemaDefinition: z.ZodObject<{
4
4
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
5
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6
6
  id: z.ZodUUID;
7
- image: z.ZodType<{
8
- isMonogram: boolean;
9
- logo?: string | null | undefined;
10
- logoSquare?: string | null | undefined;
11
- }, unknown, z.core.$ZodTypeInternals<{
12
- isMonogram: boolean;
13
- logo?: string | null | undefined;
14
- logoSquare?: string | null | undefined;
15
- }, unknown>>;
7
+ image: z.ZodObject<{
8
+ isMonogram: z.ZodBoolean;
9
+ logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ }, z.core.$strip>;
16
12
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
17
13
  nameAlias: z.ZodArray<z.ZodType<{
18
14
  displayable?: boolean | null | undefined;
@@ -54,15 +50,11 @@ declare const EntityAcquisitionSchemaDefinition: z.ZodObject<{
54
50
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
51
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
56
52
  id: z.ZodUUID;
57
- image: z.ZodType<{
58
- isMonogram: boolean;
59
- logo?: string | null | undefined;
60
- logoSquare?: string | null | undefined;
61
- }, unknown, z.core.$ZodTypeInternals<{
62
- isMonogram: boolean;
63
- logo?: string | null | undefined;
64
- logoSquare?: string | null | undefined;
65
- }, unknown>>;
53
+ image: z.ZodObject<{
54
+ isMonogram: z.ZodBoolean;
55
+ logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ }, z.core.$strip>;
66
58
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
67
59
  nameAlias: z.ZodArray<z.ZodType<{
68
60
  displayable?: boolean | null | undefined;
@@ -20,15 +20,11 @@ export declare const EntityDetailSchema: z.ZodObject<{
20
20
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
22
22
  id: z.ZodUUID;
23
- image: z.ZodType<{
24
- isMonogram: boolean;
25
- logo?: string | null | undefined;
26
- logoSquare?: string | null | undefined;
27
- }, unknown, z.core.$ZodTypeInternals<{
28
- isMonogram: boolean;
29
- logo?: string | null | undefined;
30
- logoSquare?: string | null | undefined;
31
- }, unknown>>;
23
+ image: z.ZodObject<{
24
+ isMonogram: z.ZodBoolean;
25
+ logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ }, z.core.$strip>;
32
28
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
33
29
  nameAlias: z.ZodArray<z.ZodType<{
34
30
  displayable?: boolean | null | undefined;
@@ -53,15 +53,11 @@ export declare const EntitySchema: z.ZodObject<{
53
53
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
54
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
55
55
  id: z.ZodUUID;
56
- image: z.ZodType<{
57
- isMonogram: boolean;
58
- logo?: string | null | undefined;
59
- logoSquare?: string | null | undefined;
60
- }, unknown, z.core.$ZodTypeInternals<{
61
- isMonogram: boolean;
62
- logo?: string | null | undefined;
63
- logoSquare?: string | null | undefined;
64
- }, unknown>>;
56
+ image: z.ZodObject<{
57
+ isMonogram: z.ZodBoolean;
58
+ logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ }, z.core.$strip>;
65
61
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
66
62
  nameAlias: z.ZodArray<z.ZodType<{
67
63
  displayable?: boolean | null | undefined;
@@ -33,15 +33,11 @@ export declare const EntityFundraiseTransactionEntitySchema: z.ZodObject<{
33
33
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
35
35
  id: z.ZodUUID;
36
- image: z.ZodType<{
37
- isMonogram: boolean;
38
- logo?: string | null | undefined;
39
- logoSquare?: string | null | undefined;
40
- }, unknown, z.core.$ZodTypeInternals<{
41
- isMonogram: boolean;
42
- logo?: string | null | undefined;
43
- logoSquare?: string | null | undefined;
44
- }, unknown>>;
36
+ image: z.ZodObject<{
37
+ isMonogram: z.ZodBoolean;
38
+ logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ }, z.core.$strip>;
45
41
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
46
42
  nameAlias: z.ZodArray<z.ZodType<{
47
43
  displayable?: boolean | null | undefined;
@@ -17,15 +17,11 @@ declare const EntityFundraiseTransactionSchemaDefinition: z.ZodObject<{
17
17
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
19
19
  id: z.ZodUUID;
20
- image: z.ZodType<{
21
- isMonogram: boolean;
22
- logo?: string | null | undefined;
23
- logoSquare?: string | null | undefined;
24
- }, unknown, z.core.$ZodTypeInternals<{
25
- isMonogram: boolean;
26
- logo?: string | null | undefined;
27
- logoSquare?: string | null | undefined;
28
- }, unknown>>;
20
+ image: z.ZodObject<{
21
+ isMonogram: z.ZodBoolean;
22
+ logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$strip>;
29
25
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
30
26
  nameAlias: z.ZodArray<z.ZodType<{
31
27
  displayable?: boolean | null | undefined;
@@ -22,15 +22,11 @@ export declare const EntityFundraiseSchema: z.ZodObject<{
22
22
  amountRaised: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
23
  dateAnnounced: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
24
24
  id: z.ZodUUID;
25
- image: z.ZodType<{
26
- isMonogram: boolean;
27
- logo?: string | null | undefined;
28
- logoSquare?: string | null | undefined;
29
- }, unknown, z.core.$ZodTypeInternals<{
30
- isMonogram: boolean;
31
- logo?: string | null | undefined;
32
- logoSquare?: string | null | undefined;
33
- }, unknown>>;
25
+ image: z.ZodObject<{
26
+ isMonogram: z.ZodBoolean;
27
+ logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ }, z.core.$strip>;
34
30
  investorCount: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
35
31
  nameBrand: z.ZodString;
36
32
  round: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1,10 +1,4 @@
1
1
  import { z } from "zod/v4";
2
- declare const EntityImageSchemaDefinition: z.ZodObject<{
3
- isMonogram: z.ZodBoolean;
4
- logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
- logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
- }, z.core.$strip>;
7
- type EntityImageDefinition = z.infer<typeof EntityImageSchemaDefinition>;
8
2
  /**
9
3
  * Grouped entity image fields for square, standard, and monogram logo state
10
4
  *
@@ -52,7 +46,10 @@ type EntityImageDefinition = z.infer<typeof EntityImageSchemaDefinition>;
52
46
  * @contractShape entity.image
53
47
  * @contractRole canonical
54
48
  */
55
- export declare const EntityImageSchema: z.ZodType<EntityImageDefinition>;
49
+ export declare const EntityImageSchema: z.ZodObject<{
50
+ isMonogram: z.ZodBoolean;
51
+ logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ }, z.core.$strip>;
56
54
  export type EntityImage = z.infer<typeof EntityImageSchema>;
57
- export {};
58
55
  //# sourceMappingURL=image.d.ts.map
@@ -1,11 +1,5 @@
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 EntityImageSchemaDefinition = z.object({
4
- /** Whether entity image monogram */
5
- isMonogram: z.boolean(),
6
- logo: z.string().nullish(),
7
- logoSquare: z.string().nullish(),
8
- });
9
3
  /**
10
4
  * Grouped entity image fields for square, standard, and monogram logo state
11
5
  *
@@ -53,5 +47,10 @@ const EntityImageSchemaDefinition = z.object({
53
47
  * @contractShape entity.image
54
48
  * @contractRole canonical
55
49
  */
56
- export const EntityImageSchema = EntityImageSchemaDefinition;
50
+ export const EntityImageSchema = z.object({
51
+ /** Whether entity image monogram */
52
+ isMonogram: z.boolean(),
53
+ logo: z.string().nullish(),
54
+ logoSquare: z.string().nullish(),
55
+ });
57
56
  //# sourceMappingURL=image.js.map
@@ -5,15 +5,11 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
5
5
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
6
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
7
7
  id: z.ZodUUID;
8
- image: z.ZodType<{
9
- isMonogram: boolean;
10
- logo?: string | null | undefined;
11
- logoSquare?: string | null | undefined;
12
- }, unknown, z.core.$ZodTypeInternals<{
13
- isMonogram: boolean;
14
- logo?: string | null | undefined;
15
- logoSquare?: string | null | undefined;
16
- }, unknown>>;
8
+ image: z.ZodObject<{
9
+ isMonogram: z.ZodBoolean;
10
+ logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$strip>;
17
13
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
18
14
  nameAlias: z.ZodArray<z.ZodType<{
19
15
  displayable?: boolean | null | undefined;
@@ -4,15 +4,11 @@ declare const EntityListSchemaDefinition: z.ZodObject<{
4
4
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
5
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6
6
  id: z.ZodUUID;
7
- image: z.ZodType<{
8
- isMonogram: boolean;
9
- logo?: string | null | undefined;
10
- logoSquare?: string | null | undefined;
11
- }, unknown, z.core.$ZodTypeInternals<{
12
- isMonogram: boolean;
13
- logo?: string | null | undefined;
14
- logoSquare?: string | null | undefined;
15
- }, unknown>>;
7
+ image: z.ZodObject<{
8
+ isMonogram: z.ZodBoolean;
9
+ logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ }, z.core.$strip>;
16
12
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
17
13
  nameAlias: z.ZodArray<z.ZodType<{
18
14
  displayable?: boolean | null | undefined;
@@ -76,15 +76,11 @@ export declare const EntityPersonAssociationSchema: z.ZodObject<{
76
76
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
77
77
  }, z.core.$strip>>;
78
78
  entityId: z.ZodUUID;
79
- entityLogo: z.ZodType<{
80
- isMonogram: boolean;
81
- logo?: string | null | undefined;
82
- logoSquare?: string | null | undefined;
83
- }, unknown, z.core.$ZodTypeInternals<{
84
- isMonogram: boolean;
85
- logo?: string | null | undefined;
86
- logoSquare?: string | null | undefined;
87
- }, unknown>>;
79
+ entityLogo: z.ZodObject<{
80
+ isMonogram: z.ZodBoolean;
81
+ logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
+ logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
83
+ }, z.core.$strip>;
88
84
  entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
89
85
  entityOperatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
86
  entitySlug: z.ZodString;
@@ -184,13 +180,10 @@ export declare const EntityPersonAssociationSchema: z.ZodObject<{
184
180
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
185
181
  }, z.core.$strip>>;
186
182
  personId: z.ZodUUID;
187
- personImage: z.ZodType<{
188
- isMonogram: boolean;
189
- picture?: string | null | undefined;
190
- }, unknown, z.core.$ZodTypeInternals<{
191
- isMonogram: boolean;
192
- picture?: string | null | undefined;
193
- }, unknown>>;
183
+ personImage: z.ZodObject<{
184
+ isMonogram: z.ZodBoolean;
185
+ picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
186
+ }, z.core.$strip>;
194
187
  personName: z.ZodString;
195
188
  personSlug: z.ZodString;
196
189
  personUrlLink: z.ZodArray<z.ZodType<{
@@ -52,15 +52,11 @@ declare const EntityRelationshipSchemaDefinition: z.ZodObject<{
52
52
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
53
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
54
54
  id: z.ZodUUID;
55
- image: z.ZodType<{
56
- isMonogram: boolean;
57
- logo?: string | null | undefined;
58
- logoSquare?: string | null | undefined;
59
- }, unknown, z.core.$ZodTypeInternals<{
60
- isMonogram: boolean;
61
- logo?: string | null | undefined;
62
- logoSquare?: string | null | undefined;
63
- }, unknown>>;
55
+ image: z.ZodObject<{
56
+ isMonogram: z.ZodBoolean;
57
+ logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ }, z.core.$strip>;
64
60
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
65
61
  nameAlias: z.ZodArray<z.ZodType<{
66
62
  displayable?: boolean | null | undefined;
@@ -6,15 +6,11 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
6
6
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
7
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
8
8
  id: z.ZodUUID;
9
- image: z.ZodType<{
10
- isMonogram: boolean;
11
- logo?: string | null | undefined;
12
- logoSquare?: string | null | undefined;
13
- }, unknown, z.core.$ZodTypeInternals<{
14
- isMonogram: boolean;
15
- logo?: string | null | undefined;
16
- logoSquare?: string | null | undefined;
17
- }, unknown>>;
9
+ image: z.ZodObject<{
10
+ isMonogram: z.ZodBoolean;
11
+ logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$strip>;
18
14
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
19
15
  nameAlias: z.ZodArray<z.ZodType<{
20
16
  displayable?: boolean | null | undefined;
@@ -4,15 +4,11 @@ declare const EntitySimilaritySummarySchemaDefinition: z.ZodObject<{
4
4
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
5
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6
6
  id: z.ZodUUID;
7
- image: z.ZodType<{
8
- isMonogram: boolean;
9
- logo?: string | null | undefined;
10
- logoSquare?: string | null | undefined;
11
- }, unknown, z.core.$ZodTypeInternals<{
12
- isMonogram: boolean;
13
- logo?: string | null | undefined;
14
- logoSquare?: string | null | undefined;
15
- }, unknown>>;
7
+ image: z.ZodObject<{
8
+ isMonogram: z.ZodBoolean;
9
+ logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ }, z.core.$strip>;
16
12
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
17
13
  nameAlias: z.ZodArray<z.ZodType<{
18
14
  displayable?: boolean | null | undefined;
@@ -4,15 +4,11 @@ declare const HarnessRunDetailSchemaDefinition: z.ZodObject<{
4
4
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
5
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6
6
  id: z.ZodUUID;
7
- image: z.ZodType<{
8
- isMonogram: boolean;
9
- logo?: string | null | undefined;
10
- logoSquare?: string | null | undefined;
11
- }, unknown, z.core.$ZodTypeInternals<{
12
- isMonogram: boolean;
13
- logo?: string | null | undefined;
14
- logoSquare?: string | null | undefined;
15
- }, unknown>>;
7
+ image: z.ZodObject<{
8
+ isMonogram: z.ZodBoolean;
9
+ logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ }, z.core.$strip>;
16
12
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
17
13
  nameAlias: z.ZodArray<z.ZodType<{
18
14
  displayable?: boolean | null | undefined;
@@ -62,15 +58,11 @@ declare const HarnessRunDetailSchemaDefinition: z.ZodObject<{
62
58
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
59
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
64
60
  id: z.ZodUUID;
65
- image: z.ZodType<{
66
- isMonogram: boolean;
67
- logo?: string | null | undefined;
68
- logoSquare?: string | null | undefined;
69
- }, unknown, z.core.$ZodTypeInternals<{
70
- isMonogram: boolean;
71
- logo?: string | null | undefined;
72
- logoSquare?: string | null | undefined;
73
- }, unknown>>;
61
+ image: z.ZodObject<{
62
+ isMonogram: z.ZodBoolean;
63
+ logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ }, z.core.$strip>;
74
66
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
75
67
  nameAlias: z.ZodArray<z.ZodType<{
76
68
  displayable?: boolean | null | undefined;
@@ -19,6 +19,12 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
19
19
  JOBRUNR_STORAGE_UNAVAILABLE: "JOBRUNR_STORAGE_UNAVAILABLE";
20
20
  billing_additional_usage_cap_reached: "billing_additional_usage_cap_reached";
21
21
  billing_allowance_exhausted: "billing_allowance_exhausted";
22
+ callback_challenge_failed: "callback_challenge_failed";
23
+ callback_connection_refused: "callback_connection_refused";
24
+ callback_http_4xx: "callback_http_4xx";
25
+ callback_http_5xx: "callback_http_5xx";
26
+ callback_timeout: "callback_timeout";
27
+ callback_tls_error: "callback_tls_error";
22
28
  frontend_cache_epoch_mode_not_targeted: "frontend_cache_epoch_mode_not_targeted";
23
29
  geocode_provider_error: "geocode_provider_error";
24
30
  github_fetch_failed: "github_fetch_failed";
@@ -40,6 +46,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
40
46
  news_rss_article_fetch_failed: "news_rss_article_fetch_failed";
41
47
  news_rss_feed_fetch_failed: "news_rss_feed_fetch_failed";
42
48
  news_similarity_embedding_unavailable: "news_similarity_embedding_unavailable";
49
+ news_subscription_limit: "news_subscription_limit";
43
50
  not_authorized: "not_authorized";
44
51
  origin_detail_capacity: "origin_detail_capacity";
45
52
  origin_detail_shutdown: "origin_detail_shutdown";
@@ -85,6 +85,20 @@ const ProblemDetailSchemaDefinition = z.object({
85
85
  "news_rss_feed_fetch_failed",
86
86
  /** RSS news-ingest article page fetch failed after retries or with the breaker open. Agent action: inspect the source article URL and upstream status; the ingest job may skip that article. */
87
87
  "news_rss_article_fetch_failed",
88
+ /** News subscription webhook verification could not connect to delivery.url. Agent action: confirm the endpoint is publicly reachable over https, then subscribe again. */
89
+ "callback_connection_refused",
90
+ /** News subscription webhook verification timed out. Agent action: make the endpoint answer the challenge within the delivery read timeout, then subscribe again. */
91
+ "callback_timeout",
92
+ /** News subscription webhook verification failed the TLS handshake. Agent action: serve a publicly trusted certificate for the delivery.url host, then subscribe again. */
93
+ "callback_tls_error",
94
+ /** News subscription webhook verification got a 4xx answer. Agent action: make the endpoint accept the signed verification POST, then subscribe again. */
95
+ "callback_http_4xx",
96
+ /** News subscription webhook verification got a 5xx answer. Agent action: fix or wait for the endpoint, then subscribe again. */
97
+ "callback_http_5xx",
98
+ /** News subscription webhook verification got a 2xx answer whose body was not {"challenge":"<nonce>"} with the sent nonce. Agent action: echo the challenge exactly, then subscribe again. */
99
+ "callback_challenge_failed",
100
+ /** Caller already holds the maximum number of news subscriptions. Agent action: unsubscribe one before subscribing again. */
101
+ "news_subscription_limit",
88
102
  /** Cloudflare R2 object fetch failed during a read operation. Agent action: retry once with backoff; persistent failure indicates R2 outage or asset deletion. */
89
103
  "r2_fetch_failed",
90
104
  /** Cloudflare R2 object delete failed during a cleanup operation. Agent action: surface; retrying may produce duplicate-delete errors. */
@@ -9,6 +9,7 @@ type JobEnqueueDefinition = z.infer<typeof JobEnqueueSchemaDefinition>;
9
9
  * Accepted asynchronous app job enqueue response.
10
10
  *
11
11
  * @openapiSchema JobEnqueue
12
+ * @endpoint GET /v1/web/searches/jobs/{jobId}
12
13
  * @endpoint POST /v1/lookup-jobs
13
14
  * @contractShape job.enqueue
14
15
  * @contractRole canonical
@@ -10,6 +10,7 @@ const JobEnqueueSchemaDefinition = z.object({
10
10
  * Accepted asynchronous app job enqueue response.
11
11
  *
12
12
  * @openapiSchema JobEnqueue
13
+ * @endpoint GET /v1/web/searches/jobs/{jobId}
13
14
  * @endpoint POST /v1/lookup-jobs
14
15
  * @contractShape job.enqueue
15
16
  * @contractRole canonical
@@ -35,6 +35,7 @@ type NewsDefinition = z.infer<typeof NewsSchemaDefinition>;
35
35
  * @endpoint POST /v1/search/all
36
36
  * @usedBySchema EntityDetailSchema
37
37
  * @usedBySchema NewsDetailSchema
38
+ * @usedBySchema NewsPublishedEventSchema
38
39
  * @usedBySchema PageNewsSchema
39
40
  * @usedBySchema PageResultNewsSchema
40
41
  * @usedBySchema PersonGraphCareerContextSchema
package/dist/news/news.js CHANGED
@@ -43,6 +43,7 @@ const NewsSchemaDefinition = z.object({
43
43
  * @endpoint POST /v1/search/all
44
44
  * @usedBySchema EntityDetailSchema
45
45
  * @usedBySchema NewsDetailSchema
46
+ * @usedBySchema NewsPublishedEventSchema
46
47
  * @usedBySchema PageNewsSchema
47
48
  * @usedBySchema PageResultNewsSchema
48
49
  * @usedBySchema PersonGraphCareerContextSchema
@@ -0,0 +1,52 @@
1
+ import { z } from "zod/v4";
2
+ declare const NewsPublishedEventSchemaDefinition: z.ZodObject<{
3
+ cursor: z.ZodString;
4
+ data: z.ZodType<{
5
+ author?: string | null | undefined;
6
+ category?: string | null | undefined;
7
+ createdAt?: string | null | undefined;
8
+ excerpt?: string | null | undefined;
9
+ externalNewsArticle?: boolean | null | undefined;
10
+ id: number;
11
+ newsImageThumbnail?: string | null | undefined;
12
+ newsUrlOriginal?: string | null | undefined;
13
+ publication?: string | null | undefined;
14
+ publishedAt?: string | null | undefined;
15
+ slug?: string | null | undefined;
16
+ title: string;
17
+ updatedAt?: string | null | undefined;
18
+ }, unknown, z.core.$ZodTypeInternals<{
19
+ author?: string | null | undefined;
20
+ category?: string | null | undefined;
21
+ createdAt?: string | null | undefined;
22
+ excerpt?: string | null | undefined;
23
+ externalNewsArticle?: boolean | null | undefined;
24
+ id: number;
25
+ newsImageThumbnail?: string | null | undefined;
26
+ newsUrlOriginal?: string | null | undefined;
27
+ publication?: string | null | undefined;
28
+ publishedAt?: string | null | undefined;
29
+ slug?: string | null | undefined;
30
+ title: string;
31
+ updatedAt?: string | null | undefined;
32
+ }, unknown>>;
33
+ eventId: z.ZodString;
34
+ name: z.ZodEnum<{
35
+ "entity.news.published": "entity.news.published";
36
+ }>;
37
+ timestamp: z.ZodISODateTime;
38
+ }, z.core.$strip>;
39
+ type NewsPublishedEventDefinition = z.infer<typeof NewsPublishedEventSchemaDefinition>;
40
+ /**
41
+ * Webhook POST body for one news article newly linked to the subscribed entity.
42
+ *
43
+ * @openapiSchema NewsPublishedEvent
44
+ * @usedByEndpoint none:external-root
45
+ * @shared composition:used as building block for other schemas news.published-event; not direct because nested fragment composes parent endpoint contracts
46
+ * @contractShape news.published-event
47
+ * @contractRole canonical
48
+ */
49
+ export declare const NewsPublishedEventSchema: z.ZodType<NewsPublishedEventDefinition>;
50
+ export type NewsPublishedEvent = z.infer<typeof NewsPublishedEventSchema>;
51
+ export {};
52
+ //# sourceMappingURL=published-event.d.ts.map
@@ -0,0 +1,25 @@
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 { NewsSchema } from "./news.js";
4
+ import { NewsSubscriptionEventSchema } from "./subscription-event.js";
5
+ const NewsPublishedEventSchemaDefinition = z.object({
6
+ /** Opaque watermark to resume after this event. */
7
+ cursor: z.string(),
8
+ data: NewsSchema,
9
+ /** Deterministic event id, equal to the webhook-id header. */
10
+ eventId: z.string(),
11
+ name: NewsSubscriptionEventSchema,
12
+ /** When the article was linked to the entity. */
13
+ timestamp: z.iso.datetime({ offset: true }),
14
+ });
15
+ /**
16
+ * Webhook POST body for one news article newly linked to the subscribed entity.
17
+ *
18
+ * @openapiSchema NewsPublishedEvent
19
+ * @usedByEndpoint none:external-root
20
+ * @shared composition:used as building block for other schemas news.published-event; not direct because nested fragment composes parent endpoint contracts
21
+ * @contractShape news.published-event
22
+ * @contractRole canonical
23
+ */
24
+ export const NewsPublishedEventSchema = NewsPublishedEventSchemaDefinition;
25
+ //# sourceMappingURL=published-event.js.map
@@ -0,0 +1,20 @@
1
+ import { z } from "zod/v4";
2
+ declare const NewsSubscriptionArgumentsSchemaDefinition: z.ZodObject<{
3
+ entityId: z.ZodUUID;
4
+ }, z.core.$strip>;
5
+ type NewsSubscriptionArgumentsDefinition = z.infer<typeof NewsSubscriptionArgumentsSchemaDefinition>;
6
+ /**
7
+ * Arguments of the entity.news.published event.
8
+ *
9
+ * @openapiSchema NewsSubscriptionArguments
10
+ * @endpoint PUT /v1/news/subscriptions
11
+ * @endpoint DELETE /v1/news/subscriptions
12
+ * @usedBySchema NewsSubscriptionKeySchema
13
+ * @usedBySchema NewsSubscriptionSchema
14
+ * @contractShape news.subscription-arguments
15
+ * @contractRole canonical
16
+ */
17
+ export declare const NewsSubscriptionArgumentsSchema: z.ZodType<NewsSubscriptionArgumentsDefinition>;
18
+ export type NewsSubscriptionArguments = z.infer<typeof NewsSubscriptionArgumentsSchema>;
19
+ export {};
20
+ //# sourceMappingURL=subscription-arguments.d.ts.map
@@ -0,0 +1,19 @@
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 NewsSubscriptionArgumentsSchemaDefinition = z.object({
4
+ /** Entity whose newly linked public news is delivered. */
5
+ entityId: z.uuid(),
6
+ });
7
+ /**
8
+ * Arguments of the entity.news.published event.
9
+ *
10
+ * @openapiSchema NewsSubscriptionArguments
11
+ * @endpoint PUT /v1/news/subscriptions
12
+ * @endpoint DELETE /v1/news/subscriptions
13
+ * @usedBySchema NewsSubscriptionKeySchema
14
+ * @usedBySchema NewsSubscriptionSchema
15
+ * @contractShape news.subscription-arguments
16
+ * @contractRole canonical
17
+ */
18
+ export const NewsSubscriptionArgumentsSchema = NewsSubscriptionArgumentsSchemaDefinition;
19
+ //# sourceMappingURL=subscription-arguments.js.map
@@ -0,0 +1,15 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Event delivery mode
4
+ *
5
+ * @openapiSchema NewsSubscriptionDeliveryMode
6
+ * @endpoint PUT /v1/news/subscriptions
7
+ * @usedBySchema NewsSubscriptionDeliverySchema
8
+ * @contractShape news.subscription-delivery-mode
9
+ * @contractRole canonical
10
+ */
11
+ export declare const NewsSubscriptionDeliveryModeSchema: z.ZodEnum<{
12
+ webhook: "webhook";
13
+ }>;
14
+ export type NewsSubscriptionDeliveryMode = z.infer<typeof NewsSubscriptionDeliveryModeSchema>;
15
+ //# sourceMappingURL=subscription-delivery-mode.d.ts.map