@aventurevc/api-schemas 0.8.183 → 0.8.185

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 (88) hide show
  1. package/dist/address/association-role.d.ts +2 -0
  2. package/dist/address/association-role.js +2 -0
  3. package/dist/address/link.d.ts +29 -0
  4. package/dist/address/link.js +22 -0
  5. package/dist/billing/catalog-allowance.d.ts +11 -2
  6. package/dist/billing/catalog-allowance.js +2 -1
  7. package/dist/billing/catalog-tier.d.ts +2 -2
  8. package/dist/billing/catalog.d.ts +2 -2
  9. package/dist/billing/subscription.d.ts +20 -0
  10. package/dist/cursor/slice-address-link.d.ts +32 -0
  11. package/dist/cursor/slice-address-link.js +15 -0
  12. package/dist/cursor/slice-shared-directory-list.d.ts +30 -0
  13. package/dist/cursor/slice-shared-directory-list.js +15 -0
  14. package/dist/date/range.d.ts +2 -0
  15. package/dist/date/range.js +2 -0
  16. package/dist/decimal/range.d.ts +2 -0
  17. package/dist/decimal/range.js +2 -0
  18. package/dist/enrichment/enrichment.d.ts +17 -0
  19. package/dist/enrichment/prompt.d.ts +12 -2
  20. package/dist/enrichment/prompt.js +5 -3
  21. package/dist/entity/detail.js +2 -2
  22. package/dist/entity/filter-logo-option.d.ts +2 -0
  23. package/dist/entity/filter-logo-option.js +2 -0
  24. package/dist/entity/filter.d.ts +2 -0
  25. package/dist/entity/filter.js +2 -0
  26. package/dist/entity/fundraise-filter-criteria.d.ts +2 -0
  27. package/dist/entity/fundraise-filter-criteria.js +2 -0
  28. package/dist/entity/list-filter.d.ts +21 -22
  29. package/dist/entity/list-filter.js +21 -18
  30. package/dist/entity/list-quality-gate.d.ts +2 -0
  31. package/dist/entity/list-quality-gate.js +2 -0
  32. package/dist/entity/operating-status.d.ts +2 -0
  33. package/dist/entity/operating-status.js +2 -0
  34. package/dist/entity/person-owner.d.ts +1 -0
  35. package/dist/entity/person-owner.js +1 -0
  36. package/dist/entity/url-type.d.ts +2 -0
  37. package/dist/entity/url-type.js +2 -0
  38. package/dist/federated/search.d.ts +8 -0
  39. package/dist/harness/run-create.js +2 -2
  40. package/dist/harness/run-detail.d.ts +17 -0
  41. package/dist/harness/run.d.ts +17 -0
  42. package/dist/harness/run.js +3 -0
  43. package/dist/help/resolution.js +1 -1
  44. package/dist/http/problem-detail.d.ts +11 -2
  45. package/dist/http/problem-detail.js +2 -3
  46. package/dist/int/range.d.ts +2 -0
  47. package/dist/int/range.js +2 -0
  48. package/dist/investor/activity-filter.d.ts +2 -0
  49. package/dist/investor/activity-filter.js +2 -0
  50. package/dist/link/search.d.ts +8 -0
  51. package/dist/natural/search-result.d.ts +7 -0
  52. package/dist/natural/search-result.js +3 -0
  53. package/dist/openapi-component-manifest.js +38 -0
  54. package/dist/person/enrichment-prompt.d.ts +19 -0
  55. package/dist/person/enrichment-prompt.js +16 -0
  56. package/dist/person/filter.d.ts +4 -0
  57. package/dist/person/filter.js +4 -0
  58. package/dist/person/list-array-filter.d.ts +2 -0
  59. package/dist/person/list-array-filter.js +2 -0
  60. package/dist/prose/problem.d.ts +6 -0
  61. package/dist/prose/problem.js +3 -0
  62. package/dist/prose/violation.d.ts +6 -0
  63. package/dist/research/access-type.d.ts +28 -0
  64. package/dist/research/access-type.js +21 -0
  65. package/dist/research/allowance-type.d.ts +31 -0
  66. package/dist/research/allowance-type.js +23 -0
  67. package/dist/research/allowance-usage.d.ts +20 -0
  68. package/dist/research/allowance.d.ts +15 -0
  69. package/dist/research/allowance.js +3 -0
  70. package/dist/research/finding.d.ts +2 -0
  71. package/dist/research/finding.js +2 -0
  72. package/dist/search/discovery-filing.d.ts +27 -0
  73. package/dist/search/discovery-filing.js +25 -0
  74. package/dist/search/interpretation.d.ts +140 -187
  75. package/dist/shared/directory-list.d.ts +31 -0
  76. package/dist/shared/directory-list.js +30 -0
  77. package/dist/shared/directory-mutation.d.ts +463 -0
  78. package/dist/shared/directory-mutation.js +27 -0
  79. package/dist/shared/directory-type.d.ts +20 -0
  80. package/dist/shared/directory-type.js +16 -0
  81. package/dist/shared/directory.d.ts +473 -0
  82. package/dist/shared/directory.js +29 -0
  83. package/dist/shared/search.d.ts +8 -0
  84. package/dist/url/duplicate-conflict.d.ts +1 -1
  85. package/dist/url/duplicate-conflict.js +2 -2
  86. package/dist/url/match-mode.d.ts +2 -0
  87. package/dist/url/match-mode.js +2 -0
  88. package/package.json +1 -1
@@ -7,6 +7,7 @@ import { z } from "zod/v4";
7
7
  * @endpoint GET /v1/entities/lookup-exact
8
8
  * @endpoint GET /v1/people/lookup-exact
9
9
  * @endpoint GET /v1/search/link
10
+ * @endpoint GET /v1/addresses/{addressId}/links
10
11
  * @endpoint GET /v1/entities/{entityId}
11
12
  * @endpoint GET /v1/entities/{entityId}/addresses
12
13
  * @endpoint GET /v1/entities/{entityId}/addresses/{addressJoinId}
@@ -35,6 +36,7 @@ import { z } from "zod/v4";
35
36
  * @endpoint POST /v1/search/natural/entities
36
37
  * @endpoint POST /v1/search/shared
37
38
  * @usedBySchema AddressAssociationSchema
39
+ * @usedBySchema AddressLinkSchema
38
40
  * @contractShape address.association-role
39
41
  * @contractRole canonical
40
42
  */
@@ -8,6 +8,7 @@ import { z } from "zod/v4";
8
8
  * @endpoint GET /v1/entities/lookup-exact
9
9
  * @endpoint GET /v1/people/lookup-exact
10
10
  * @endpoint GET /v1/search/link
11
+ * @endpoint GET /v1/addresses/{addressId}/links
11
12
  * @endpoint GET /v1/entities/{entityId}
12
13
  * @endpoint GET /v1/entities/{entityId}/addresses
13
14
  * @endpoint GET /v1/entities/{entityId}/addresses/{addressJoinId}
@@ -36,6 +37,7 @@ import { z } from "zod/v4";
36
37
  * @endpoint POST /v1/search/natural/entities
37
38
  * @endpoint POST /v1/search/shared
38
39
  * @usedBySchema AddressAssociationSchema
40
+ * @usedBySchema AddressLinkSchema
39
41
  * @contractShape address.association-role
40
42
  * @contractRole canonical
41
43
  */
@@ -0,0 +1,29 @@
1
+ import { z } from "zod/v4";
2
+ declare const AddressLinkSchemaDefinition: z.ZodObject<{
3
+ id: z.ZodInt;
4
+ owner: z.ZodObject<{
5
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
6
+ personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
7
+ }, z.core.$strip>;
8
+ role: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
9
+ domicile: "domicile";
10
+ dominant: "dominant";
11
+ origin: "origin";
12
+ }>>>;
13
+ }, z.core.$strip>;
14
+ type AddressLinkDefinition = z.infer<typeof AddressLinkSchemaDefinition>;
15
+ export interface AddressLinkSchemaInput extends z.input<typeof AddressLinkSchemaDefinition> {
16
+ }
17
+ /**
18
+ * One current or historical owner association to an address
19
+ *
20
+ * @openapiSchema AddressLink
21
+ * @endpoint GET /v1/addresses/{addressId}/links
22
+ * @usedBySchema CursorSliceAddressLinkSchema
23
+ * @contractShape address.link
24
+ * @contractRole canonical
25
+ */
26
+ export declare const AddressLinkSchema: z.ZodType<AddressLinkDefinition, AddressLinkSchemaInput>;
27
+ export type AddressLink = z.infer<typeof AddressLinkSchema>;
28
+ export {};
29
+ //# sourceMappingURL=link.d.ts.map
@@ -0,0 +1,22 @@
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 { AddressAssociationRoleSchema } from "./association-role.js";
4
+ import { EntityPersonOwnerSchema } from "../entity/person-owner.js";
5
+ const AddressLinkSchemaDefinition = z.object({
6
+ /** Association join id, scoped to the entity or person owner kind */
7
+ id: z.int(),
8
+ owner: EntityPersonOwnerSchema,
9
+ /** Association role; null means unclassified */
10
+ role: AddressAssociationRoleSchema.nullish(),
11
+ });
12
+ /**
13
+ * One current or historical owner association to an address
14
+ *
15
+ * @openapiSchema AddressLink
16
+ * @endpoint GET /v1/addresses/{addressId}/links
17
+ * @usedBySchema CursorSliceAddressLinkSchema
18
+ * @contractShape address.link
19
+ * @contractRole canonical
20
+ */
21
+ export const AddressLinkSchema = AddressLinkSchemaDefinition;
22
+ //# sourceMappingURL=link.js.map
@@ -1,14 +1,23 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const BillingCatalogAllowanceSchemaDefinition: z.ZodObject<{
3
3
  limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4
- type: z.ZodEnum<{
4
+ type: z.ZodUnion<readonly [z.ZodEnum<{
5
5
  COMPANY: "COMPANY";
6
6
  ENTITY_BRAND: "ENTITY_BRAND";
7
7
  ENTITY_VIEW: "ENTITY_VIEW";
8
8
  PERSON: "PERSON";
9
9
  PERSON_VIEW: "PERSON_VIEW";
10
10
  WEB_SEARCH: "WEB_SEARCH";
11
- }>;
11
+ }>, z.ZodString]> & {
12
+ enum: {
13
+ COMPANY: "COMPANY";
14
+ ENTITY_BRAND: "ENTITY_BRAND";
15
+ ENTITY_VIEW: "ENTITY_VIEW";
16
+ PERSON: "PERSON";
17
+ PERSON_VIEW: "PERSON_VIEW";
18
+ WEB_SEARCH: "WEB_SEARCH";
19
+ };
20
+ };
12
21
  }, z.core.$strip>;
13
22
  type BillingCatalogAllowanceDefinition = z.infer<typeof BillingCatalogAllowanceSchemaDefinition>;
14
23
  export interface BillingCatalogAllowanceSchemaInput extends z.input<typeof BillingCatalogAllowanceSchemaDefinition> {
@@ -1,9 +1,10 @@
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 { ResearchAllowanceTypeSchema } from "../research/allowance-type.js";
3
4
  const BillingCatalogAllowanceSchemaDefinition = z.object({
4
5
  /** Monthly cap; 0 withholds the allowance and absent means uncapped. */
5
6
  limit: z.int().nullish(),
6
- type: z.enum(["COMPANY", "PERSON", "ENTITY_VIEW", "ENTITY_BRAND", "PERSON_VIEW", "WEB_SEARCH"]),
7
+ type: ResearchAllowanceTypeSchema,
7
8
  });
8
9
  /**
9
10
  * A tier's monthly cap for one allowance.
@@ -3,10 +3,10 @@ declare const BillingCatalogTierSchemaDefinition: z.ZodObject<{
3
3
  aiCreditLimit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4
4
  allowance: z.ZodArray<z.ZodType<{
5
5
  limit?: number | null | undefined;
6
- type: "COMPANY" | "ENTITY_BRAND" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
6
+ type: string;
7
7
  }, import("./catalog-allowance.ts").BillingCatalogAllowanceSchemaInput, z.core.$ZodTypeInternals<{
8
8
  limit?: number | null | undefined;
9
- type: "COMPANY" | "ENTITY_BRAND" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
9
+ type: string;
10
10
  }, import("./catalog-allowance.ts").BillingCatalogAllowanceSchemaInput>>>;
11
11
  description: z.ZodString;
12
12
  displayName: z.ZodString;
@@ -38,7 +38,7 @@ declare const BillingCatalogSchemaDefinition: z.ZodObject<{
38
38
  aiCreditLimit?: number | null | undefined;
39
39
  allowance: {
40
40
  limit?: number | null | undefined;
41
- type: "COMPANY" | "ENTITY_BRAND" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
41
+ type: string;
42
42
  }[];
43
43
  description: string;
44
44
  displayName: string;
@@ -47,7 +47,7 @@ declare const BillingCatalogSchemaDefinition: z.ZodObject<{
47
47
  aiCreditLimit?: number | null | undefined;
48
48
  allowance: {
49
49
  limit?: number | null | undefined;
50
- type: "COMPANY" | "ENTITY_BRAND" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
50
+ type: string;
51
51
  }[];
52
52
  description: string;
53
53
  displayName: string;
@@ -33,60 +33,70 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
33
33
  }, import("./additional-usage.ts").BillingAdditionalUsageSchemaInput>>;
34
34
  allowance: z.ZodType<{
35
35
  company: {
36
+ access?: string | null | undefined;
36
37
  limit?: number | null | undefined;
37
38
  remaining?: number | null | undefined;
38
39
  resetAt: string;
39
40
  used: number;
40
41
  };
41
42
  entityBrand: {
43
+ access?: string | null | undefined;
42
44
  limit?: number | null | undefined;
43
45
  remaining?: number | null | undefined;
44
46
  resetAt: string;
45
47
  used: number;
46
48
  };
47
49
  entityView: {
50
+ access?: string | null | undefined;
48
51
  limit?: number | null | undefined;
49
52
  remaining?: number | null | undefined;
50
53
  resetAt: string;
51
54
  used: number;
52
55
  };
53
56
  newCompany: {
57
+ access?: string | null | undefined;
54
58
  limit?: number | null | undefined;
55
59
  remaining?: number | null | undefined;
56
60
  resetAt: string;
57
61
  used: number;
58
62
  };
59
63
  newPerson: {
64
+ access?: string | null | undefined;
60
65
  limit?: number | null | undefined;
61
66
  remaining?: number | null | undefined;
62
67
  resetAt: string;
63
68
  used: number;
64
69
  };
65
70
  person: {
71
+ access?: string | null | undefined;
66
72
  limit?: number | null | undefined;
67
73
  remaining?: number | null | undefined;
68
74
  resetAt: string;
69
75
  used: number;
70
76
  };
71
77
  personView: {
78
+ access?: string | null | undefined;
72
79
  limit?: number | null | undefined;
73
80
  remaining?: number | null | undefined;
74
81
  resetAt: string;
75
82
  used: number;
76
83
  };
77
84
  update: {
85
+ access?: string | null | undefined;
78
86
  limit?: number | null | undefined;
79
87
  remaining?: number | null | undefined;
80
88
  resetAt: string;
81
89
  used: number;
82
90
  };
83
91
  updatePerson: {
92
+ access?: string | null | undefined;
84
93
  limit?: number | null | undefined;
85
94
  remaining?: number | null | undefined;
86
95
  resetAt: string;
87
96
  used: number;
88
97
  };
89
98
  webSearch: {
99
+ access?: string | null | undefined;
90
100
  limit?: number | null | undefined;
91
101
  remaining?: number | null | undefined;
92
102
  resetAt: string;
@@ -94,60 +104,70 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
94
104
  };
95
105
  }, import("../research/allowance-usage.ts").ResearchAllowanceUsageSchemaInput, z.core.$ZodTypeInternals<{
96
106
  company: {
107
+ access?: string | null | undefined;
97
108
  limit?: number | null | undefined;
98
109
  remaining?: number | null | undefined;
99
110
  resetAt: string;
100
111
  used: number;
101
112
  };
102
113
  entityBrand: {
114
+ access?: string | null | undefined;
103
115
  limit?: number | null | undefined;
104
116
  remaining?: number | null | undefined;
105
117
  resetAt: string;
106
118
  used: number;
107
119
  };
108
120
  entityView: {
121
+ access?: string | null | undefined;
109
122
  limit?: number | null | undefined;
110
123
  remaining?: number | null | undefined;
111
124
  resetAt: string;
112
125
  used: number;
113
126
  };
114
127
  newCompany: {
128
+ access?: string | null | undefined;
115
129
  limit?: number | null | undefined;
116
130
  remaining?: number | null | undefined;
117
131
  resetAt: string;
118
132
  used: number;
119
133
  };
120
134
  newPerson: {
135
+ access?: string | null | undefined;
121
136
  limit?: number | null | undefined;
122
137
  remaining?: number | null | undefined;
123
138
  resetAt: string;
124
139
  used: number;
125
140
  };
126
141
  person: {
142
+ access?: string | null | undefined;
127
143
  limit?: number | null | undefined;
128
144
  remaining?: number | null | undefined;
129
145
  resetAt: string;
130
146
  used: number;
131
147
  };
132
148
  personView: {
149
+ access?: string | null | undefined;
133
150
  limit?: number | null | undefined;
134
151
  remaining?: number | null | undefined;
135
152
  resetAt: string;
136
153
  used: number;
137
154
  };
138
155
  update: {
156
+ access?: string | null | undefined;
139
157
  limit?: number | null | undefined;
140
158
  remaining?: number | null | undefined;
141
159
  resetAt: string;
142
160
  used: number;
143
161
  };
144
162
  updatePerson: {
163
+ access?: string | null | undefined;
145
164
  limit?: number | null | undefined;
146
165
  remaining?: number | null | undefined;
147
166
  resetAt: string;
148
167
  used: number;
149
168
  };
150
169
  webSearch: {
170
+ access?: string | null | undefined;
151
171
  limit?: number | null | undefined;
152
172
  remaining?: number | null | undefined;
153
173
  resetAt: string;
@@ -0,0 +1,32 @@
1
+ import { z } from "zod/v4";
2
+ declare const CursorSliceAddressLinkSchemaDefinition: z.ZodObject<{
3
+ content: z.ZodArray<z.ZodType<{
4
+ id: number;
5
+ owner: {
6
+ entityId?: string | null | undefined;
7
+ personId?: string | null | undefined;
8
+ };
9
+ role?: "domicile" | "dominant" | "origin" | null | undefined;
10
+ }, import("../address/link.ts").AddressLinkSchemaInput, z.core.$ZodTypeInternals<{
11
+ id: number;
12
+ owner: {
13
+ entityId?: string | null | undefined;
14
+ personId?: string | null | undefined;
15
+ };
16
+ role?: "domicile" | "dominant" | "origin" | null | undefined;
17
+ }, import("../address/link.ts").AddressLinkSchemaInput>>>;
18
+ nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ }, z.core.$strip>;
20
+ type CursorSliceAddressLinkDefinition = z.infer<typeof CursorSliceAddressLinkSchemaDefinition>;
21
+ export interface CursorSliceAddressLinkSchemaInput extends z.input<typeof CursorSliceAddressLinkSchemaDefinition> {
22
+ }
23
+ /**
24
+ * @openapiSchema CursorSliceAddressLink
25
+ * @endpoint GET /v1/addresses/{addressId}/links
26
+ * @contractShape cursor.slice-address-link
27
+ * @contractRole canonical
28
+ */
29
+ export declare const CursorSliceAddressLinkSchema: z.ZodType<CursorSliceAddressLinkDefinition, CursorSliceAddressLinkSchemaInput>;
30
+ export type CursorSliceAddressLink = z.infer<typeof CursorSliceAddressLinkSchema>;
31
+ export {};
32
+ //# sourceMappingURL=slice-address-link.d.ts.map
@@ -0,0 +1,15 @@
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 { AddressLinkSchema } from "../address/link.js";
4
+ const CursorSliceAddressLinkSchemaDefinition = z.object({
5
+ content: z.array(AddressLinkSchema),
6
+ nextCursor: z.string().nullish(),
7
+ });
8
+ /**
9
+ * @openapiSchema CursorSliceAddressLink
10
+ * @endpoint GET /v1/addresses/{addressId}/links
11
+ * @contractShape cursor.slice-address-link
12
+ * @contractRole canonical
13
+ */
14
+ export const CursorSliceAddressLinkSchema = CursorSliceAddressLinkSchemaDefinition;
15
+ //# sourceMappingURL=slice-address-link.js.map
@@ -0,0 +1,30 @@
1
+ import { z } from "zod/v4";
2
+ declare const CursorSliceSharedDirectoryListSchemaDefinition: z.ZodObject<{
3
+ content: z.ZodArray<z.ZodType<{
4
+ createdAt: string;
5
+ directory: "companies" | "investors" | "people";
6
+ heading: string;
7
+ id: string;
8
+ slug: string;
9
+ }, import("../shared/directory-list.ts").SharedDirectoryListSchemaInput, z.core.$ZodTypeInternals<{
10
+ createdAt: string;
11
+ directory: "companies" | "investors" | "people";
12
+ heading: string;
13
+ id: string;
14
+ slug: string;
15
+ }, import("../shared/directory-list.ts").SharedDirectoryListSchemaInput>>>;
16
+ nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$strip>;
18
+ type CursorSliceSharedDirectoryListDefinition = z.infer<typeof CursorSliceSharedDirectoryListSchemaDefinition>;
19
+ export interface CursorSliceSharedDirectoryListSchemaInput extends z.input<typeof CursorSliceSharedDirectoryListSchemaDefinition> {
20
+ }
21
+ /**
22
+ * @openapiSchema CursorSliceSharedDirectoryList
23
+ * @endpoint GET /v1/directory/shared
24
+ * @contractShape cursor.slice-shared-directory-list
25
+ * @contractRole canonical
26
+ */
27
+ export declare const CursorSliceSharedDirectoryListSchema: z.ZodType<CursorSliceSharedDirectoryListDefinition, CursorSliceSharedDirectoryListSchemaInput>;
28
+ export type CursorSliceSharedDirectoryList = z.infer<typeof CursorSliceSharedDirectoryListSchema>;
29
+ export {};
30
+ //# sourceMappingURL=slice-shared-directory-list.d.ts.map
@@ -0,0 +1,15 @@
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 { SharedDirectoryListSchema } from "../shared/directory-list.js";
4
+ const CursorSliceSharedDirectoryListSchemaDefinition = z.object({
5
+ content: z.array(SharedDirectoryListSchema),
6
+ nextCursor: z.string().nullish(),
7
+ });
8
+ /**
9
+ * @openapiSchema CursorSliceSharedDirectoryList
10
+ * @endpoint GET /v1/directory/shared
11
+ * @contractShape cursor.slice-shared-directory-list
12
+ * @contractRole canonical
13
+ */
14
+ export const CursorSliceSharedDirectoryListSchema = CursorSliceSharedDirectoryListSchemaDefinition;
15
+ //# sourceMappingURL=slice-shared-directory-list.js.map
@@ -4,9 +4,11 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema DateRange
6
6
  * @endpoint GET /v1/search/link
7
+ * @endpoint GET /v1/directory/shared/slug/{slug}
7
8
  * @endpoint GET /v1/search/link/jobs/{jobId}
8
9
  * @endpoint GET /v1/search/shared/{id}
9
10
  * @endpoint GET /v1/search/shared/slug/{slug}
11
+ * @endpoint POST /v1/directory/shared
10
12
  * @endpoint POST /v1/entities/filters/refine
11
13
  * @endpoint POST /v1/entities/filters/search
12
14
  * @endpoint POST /v1/entities/search
@@ -5,9 +5,11 @@ import { z } from "zod/v4";
5
5
  *
6
6
  * @openapiSchema DateRange
7
7
  * @endpoint GET /v1/search/link
8
+ * @endpoint GET /v1/directory/shared/slug/{slug}
8
9
  * @endpoint GET /v1/search/link/jobs/{jobId}
9
10
  * @endpoint GET /v1/search/shared/{id}
10
11
  * @endpoint GET /v1/search/shared/slug/{slug}
12
+ * @endpoint POST /v1/directory/shared
11
13
  * @endpoint POST /v1/entities/filters/refine
12
14
  * @endpoint POST /v1/entities/filters/search
13
15
  * @endpoint POST /v1/entities/search
@@ -13,9 +13,11 @@ export interface DecimalRangeSchemaInput extends z.input<typeof DecimalRangeSche
13
13
  * @endpoint GET /v1/entities
14
14
  * @endpoint GET /v1/people
15
15
  * @endpoint GET /v1/search/link
16
+ * @endpoint GET /v1/directory/shared/slug/{slug}
16
17
  * @endpoint GET /v1/search/link/jobs/{jobId}
17
18
  * @endpoint GET /v1/search/shared/{id}
18
19
  * @endpoint GET /v1/search/shared/slug/{slug}
20
+ * @endpoint POST /v1/directory/shared
19
21
  * @endpoint POST /v1/entities/filters/refine
20
22
  * @endpoint POST /v1/entities/filters/search
21
23
  * @endpoint POST /v1/entities/search
@@ -13,9 +13,11 @@ const DecimalRangeSchemaDefinition = z.object({
13
13
  * @endpoint GET /v1/entities
14
14
  * @endpoint GET /v1/people
15
15
  * @endpoint GET /v1/search/link
16
+ * @endpoint GET /v1/directory/shared/slug/{slug}
16
17
  * @endpoint GET /v1/search/link/jobs/{jobId}
17
18
  * @endpoint GET /v1/search/shared/{id}
18
19
  * @endpoint GET /v1/search/shared/slug/{slug}
20
+ * @endpoint POST /v1/directory/shared
19
21
  * @endpoint POST /v1/entities/filters/refine
20
22
  * @endpoint POST /v1/entities/filters/search
21
23
  * @endpoint POST /v1/entities/search
@@ -56,6 +56,23 @@ declare const EnrichmentSchemaDefinition: z.ZodObject<{
56
56
  }>;
57
57
  model: z.ZodString;
58
58
  nextAttemptAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
59
+ researchAllowanceType: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
60
+ COMPANY: "COMPANY";
61
+ ENTITY_BRAND: "ENTITY_BRAND";
62
+ ENTITY_VIEW: "ENTITY_VIEW";
63
+ PERSON: "PERSON";
64
+ PERSON_VIEW: "PERSON_VIEW";
65
+ WEB_SEARCH: "WEB_SEARCH";
66
+ }>, z.ZodString]> & {
67
+ enum: {
68
+ COMPANY: "COMPANY";
69
+ ENTITY_BRAND: "ENTITY_BRAND";
70
+ ENTITY_VIEW: "ENTITY_VIEW";
71
+ PERSON: "PERSON";
72
+ PERSON_VIEW: "PERSON_VIEW";
73
+ WEB_SEARCH: "WEB_SEARCH";
74
+ };
75
+ }>>;
59
76
  resumeSafeUntil: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
60
77
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
61
78
  status: z.ZodEnum<{
@@ -1,16 +1,26 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const EnrichmentPromptSchemaDefinition: z.ZodObject<{
3
+ finding: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
4
+ gateId?: string | null | undefined;
5
+ quote: string;
6
+ sourceUrl: string;
7
+ statement: string;
8
+ }, import("../research/finding.ts").ResearchFindingSchemaInput, z.core.$ZodTypeInternals<{
9
+ gateId?: string | null | undefined;
10
+ quote: string;
11
+ sourceUrl: string;
12
+ statement: string;
13
+ }, import("../research/finding.ts").ResearchFindingSchemaInput>>>>>;
3
14
  userPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
15
  }, z.core.$strip>;
5
16
  type EnrichmentPromptDefinition = z.infer<typeof EnrichmentPromptSchemaDefinition>;
6
17
  export interface EnrichmentPromptSchemaInput extends z.input<typeof EnrichmentPromptSchemaDefinition> {
7
18
  }
8
19
  /**
9
- * Optional steering for one company or person enrichment run
20
+ * Optional steering prompt or cited findings for one company, product, or service enrichment run
10
21
  *
11
22
  * @openapiSchema EnrichmentPrompt
12
23
  * @endpoint POST /v1/entities/{entityId}/enrichments
13
- * @endpoint POST /v1/people/{personId}/enrichments
14
24
  * @contractShape enrichment.prompt
15
25
  * @contractRole canonical
16
26
  */
@@ -1,15 +1,17 @@
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 { ResearchFindingSchema } from "../research/finding.js";
3
4
  const EnrichmentPromptSchemaDefinition = z.object({
4
- /** Plain-language instruction for this run, such as which facts or sources to check first */
5
+ /** Facts you already read verbatim on an external source page for an entity, each with statement, sourceUrl, and exact quote; omit taskPresetKey to default to apply-cited-findings */
6
+ finding: z.array(ResearchFindingSchema).nullish(),
7
+ /** Plain-language instruction for this run, such as an observed update and its source URL (newsUrlOriginal or web URL) or which facts to check first */
5
8
  userPrompt: z.string().max(2000).nullish(),
6
9
  });
7
10
  /**
8
- * Optional steering for one company or person enrichment run
11
+ * Optional steering prompt or cited findings for one company, product, or service enrichment run
9
12
  *
10
13
  * @openapiSchema EnrichmentPrompt
11
14
  * @endpoint POST /v1/entities/{entityId}/enrichments
12
- * @endpoint POST /v1/people/{personId}/enrichments
13
15
  * @contractShape enrichment.prompt
14
16
  * @contractRole canonical
15
17
  */
@@ -37,9 +37,9 @@ export const EntityDetailSchema = z.object({
37
37
  core: EntitySchema,
38
38
  /** Entity enrichment: addresses, classification, funding summary, text, and URL links. */
39
39
  enrichment: EntityEnrichmentSchema,
40
- /** Fundraise rounds associated with this entity. */
40
+ /** Fundraise rounds associated with this entity. When newsArticle or an external source reports a newer round not yet listed here, report both and ask the user whether to request a record update via POST /v1/entities/{entityId}/enrichments (CLI: entities enrichments enrich; MCP: aventure_job enrichEntity). */
41
41
  fundraiseRound: z.array(EntityFundraiseTransactionSchema),
42
- /** News articles associated with this entity; full-detail search carries the first few, and GET /v1/news?owner.entityId={entityId} lists them all. */
42
+ /** News articles associated with this entity; full-detail search carries the first few, and GET /v1/news?owner.entityId={entityId} lists them all. When an indexed article reports a newer funding round, role, or milestone not yet reflected in structured fields, report both and offer to request an update on the record. */
43
43
  newsArticle: z.array(NewsSchema),
44
44
  /** People associated with this entity; full-detail search carries the first few, and GET /v1/entities/{entityId}/people lists them all. */
45
45
  person: z.array(PersonDetailSchema),
@@ -4,9 +4,11 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema EntityFilterLogoOption
6
6
  * @endpoint GET /v1/search/link
7
+ * @endpoint GET /v1/directory/shared/slug/{slug}
7
8
  * @endpoint GET /v1/search/link/jobs/{jobId}
8
9
  * @endpoint GET /v1/search/shared/{id}
9
10
  * @endpoint GET /v1/search/shared/slug/{slug}
11
+ * @endpoint POST /v1/directory/shared
10
12
  * @endpoint POST /v1/entities/filters/refine
11
13
  * @endpoint POST /v1/entities/filters/search
12
14
  * @endpoint POST /v1/entities/search
@@ -5,9 +5,11 @@ import { z } from "zod/v4";
5
5
  *
6
6
  * @openapiSchema EntityFilterLogoOption
7
7
  * @endpoint GET /v1/search/link
8
+ * @endpoint GET /v1/directory/shared/slug/{slug}
8
9
  * @endpoint GET /v1/search/link/jobs/{jobId}
9
10
  * @endpoint GET /v1/search/shared/{id}
10
11
  * @endpoint GET /v1/search/shared/slug/{slug}
12
+ * @endpoint POST /v1/directory/shared
11
13
  * @endpoint POST /v1/entities/filters/refine
12
14
  * @endpoint POST /v1/entities/filters/search
13
15
  * @endpoint POST /v1/entities/search
@@ -4,9 +4,11 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema EntityFilter
6
6
  * @endpoint GET /v1/search/link
7
+ * @endpoint GET /v1/directory/shared/slug/{slug}
7
8
  * @endpoint GET /v1/search/link/jobs/{jobId}
8
9
  * @endpoint GET /v1/search/shared/{id}
9
10
  * @endpoint GET /v1/search/shared/slug/{slug}
11
+ * @endpoint POST /v1/directory/shared
10
12
  * @endpoint POST /v1/entities/filters/refine
11
13
  * @endpoint POST /v1/entities/filters/search
12
14
  * @endpoint POST /v1/people/search
@@ -13,9 +13,11 @@ import { UrlMatchModeSchema } from "../url/match-mode.js";
13
13
  *
14
14
  * @openapiSchema EntityFilter
15
15
  * @endpoint GET /v1/search/link
16
+ * @endpoint GET /v1/directory/shared/slug/{slug}
16
17
  * @endpoint GET /v1/search/link/jobs/{jobId}
17
18
  * @endpoint GET /v1/search/shared/{id}
18
19
  * @endpoint GET /v1/search/shared/slug/{slug}
20
+ * @endpoint POST /v1/directory/shared
19
21
  * @endpoint POST /v1/entities/filters/refine
20
22
  * @endpoint POST /v1/entities/filters/search
21
23
  * @endpoint POST /v1/people/search
@@ -4,9 +4,11 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema EntityFundraiseFilterCriteria
6
6
  * @endpoint GET /v1/search/link
7
+ * @endpoint GET /v1/directory/shared/slug/{slug}
7
8
  * @endpoint GET /v1/search/link/jobs/{jobId}
8
9
  * @endpoint GET /v1/search/shared/{id}
9
10
  * @endpoint GET /v1/search/shared/slug/{slug}
11
+ * @endpoint POST /v1/directory/shared
10
12
  * @endpoint POST /v1/entities/filters/refine
11
13
  * @endpoint POST /v1/entities/filters/search
12
14
  * @endpoint POST /v1/entities/search
@@ -9,9 +9,11 @@ import { InvestorActivityFilterSchema } from "../investor/activity-filter.js";
9
9
  *
10
10
  * @openapiSchema EntityFundraiseFilterCriteria
11
11
  * @endpoint GET /v1/search/link
12
+ * @endpoint GET /v1/directory/shared/slug/{slug}
12
13
  * @endpoint GET /v1/search/link/jobs/{jobId}
13
14
  * @endpoint GET /v1/search/shared/{id}
14
15
  * @endpoint GET /v1/search/shared/slug/{slug}
16
+ * @endpoint POST /v1/directory/shared
15
17
  * @endpoint POST /v1/entities/filters/refine
16
18
  * @endpoint POST /v1/entities/filters/search
17
19
  * @endpoint POST /v1/entities/search