@aventurevc/api-schemas 0.8.182 → 0.8.184

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 (56) hide show
  1. package/dist/billing/subscription.d.ts +20 -0
  2. package/dist/cursor/slice-shared-directory-list.d.ts +30 -0
  3. package/dist/cursor/slice-shared-directory-list.js +15 -0
  4. package/dist/date/range.d.ts +2 -0
  5. package/dist/date/range.js +2 -0
  6. package/dist/decimal/range.d.ts +2 -0
  7. package/dist/decimal/range.js +2 -0
  8. package/dist/enrichment/prompt.d.ts +12 -2
  9. package/dist/enrichment/prompt.js +5 -3
  10. package/dist/entity/detail.js +2 -2
  11. package/dist/entity/filter-logo-option.d.ts +2 -0
  12. package/dist/entity/filter-logo-option.js +2 -0
  13. package/dist/entity/filter.d.ts +2 -0
  14. package/dist/entity/filter.js +2 -0
  15. package/dist/entity/fundraise-filter-criteria.d.ts +2 -0
  16. package/dist/entity/fundraise-filter-criteria.js +2 -0
  17. package/dist/entity/list-filter.d.ts +21 -22
  18. package/dist/entity/list-filter.js +21 -18
  19. package/dist/entity/list-quality-gate.d.ts +2 -0
  20. package/dist/entity/list-quality-gate.js +2 -0
  21. package/dist/entity/operating-status.d.ts +2 -0
  22. package/dist/entity/operating-status.js +2 -0
  23. package/dist/entity/url-type.d.ts +2 -0
  24. package/dist/entity/url-type.js +2 -0
  25. package/dist/harness/run-create.js +2 -2
  26. package/dist/int/range.d.ts +2 -0
  27. package/dist/int/range.js +2 -0
  28. package/dist/investor/activity-filter.d.ts +2 -0
  29. package/dist/investor/activity-filter.js +2 -0
  30. package/dist/openapi-component-manifest.js +25 -0
  31. package/dist/person/detail.js +1 -1
  32. package/dist/person/enrichment-prompt.d.ts +19 -0
  33. package/dist/person/enrichment-prompt.js +16 -0
  34. package/dist/person/filter.d.ts +4 -0
  35. package/dist/person/filter.js +4 -0
  36. package/dist/person/list-array-filter.d.ts +2 -0
  37. package/dist/person/list-array-filter.js +2 -0
  38. package/dist/research/access-type.d.ts +28 -0
  39. package/dist/research/access-type.js +21 -0
  40. package/dist/research/allowance-usage.d.ts +20 -0
  41. package/dist/research/allowance.d.ts +15 -0
  42. package/dist/research/allowance.js +3 -0
  43. package/dist/research/finding.d.ts +2 -0
  44. package/dist/research/finding.js +2 -0
  45. package/dist/search/interpretation.d.ts +140 -187
  46. package/dist/shared/directory-list.d.ts +31 -0
  47. package/dist/shared/directory-list.js +30 -0
  48. package/dist/shared/directory-mutation.d.ts +463 -0
  49. package/dist/shared/directory-mutation.js +27 -0
  50. package/dist/shared/directory-type.d.ts +20 -0
  51. package/dist/shared/directory-type.js +16 -0
  52. package/dist/shared/directory.d.ts +473 -0
  53. package/dist/shared/directory.js +29 -0
  54. package/dist/url/match-mode.d.ts +2 -0
  55. package/dist/url/match-mode.js +2 -0
  56. package/package.json +1 -1
@@ -7,9 +7,11 @@ import { IntRangeSchema } from "../int/range.js";
7
7
  *
8
8
  * @openapiSchema InvestorActivityFilter
9
9
  * @endpoint GET /v1/search/link
10
+ * @endpoint GET /v1/directory/shared/slug/{slug}
10
11
  * @endpoint GET /v1/search/link/jobs/{jobId}
11
12
  * @endpoint GET /v1/search/shared/{id}
12
13
  * @endpoint GET /v1/search/shared/slug/{slug}
14
+ * @endpoint POST /v1/directory/shared
13
15
  * @endpoint POST /v1/entities/filters/refine
14
16
  * @endpoint POST /v1/entities/filters/search
15
17
  * @endpoint POST /v1/entities/search
@@ -224,6 +224,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
224
224
  modulePath: "redirect/current-slug-owner",
225
225
  schemaName: "CurrentSlugOwnerSchema",
226
226
  },
227
+ CursorSliceSharedDirectoryList: {
228
+ modulePath: "cursor/slice-shared-directory-list",
229
+ schemaName: "CursorSliceSharedDirectoryListSchema",
230
+ },
227
231
  CursorSliceSharedSearchList: {
228
232
  modulePath: "cursor/slice-shared-search-list",
229
233
  schemaName: "CursorSliceSharedSearchListSchema",
@@ -773,6 +777,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
773
777
  schemaName: "PersonDetailIncludeSchema",
774
778
  },
775
779
  PersonEnrichment: { modulePath: "person/enrichment", schemaName: "PersonEnrichmentSchema" },
780
+ PersonEnrichmentPrompt: {
781
+ modulePath: "person/enrichment-prompt",
782
+ schemaName: "PersonEnrichmentPromptSchema",
783
+ },
776
784
  PersonFilter: { modulePath: "person/filter", schemaName: "PersonFilterSchema" },
777
785
  PersonGraph: { modulePath: "person/graph", schemaName: "PersonGraphSchema" },
778
786
  PersonGraphCareerContext: {
@@ -849,6 +857,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
849
857
  modulePath: "relationship/direction",
850
858
  schemaName: "RelationshipDirectionSchema",
851
859
  },
860
+ ResearchAccessType: {
861
+ modulePath: "research/access-type",
862
+ schemaName: "ResearchAccessTypeSchema",
863
+ },
852
864
  ResearchAllowance: { modulePath: "research/allowance", schemaName: "ResearchAllowanceSchema" },
853
865
  ResearchAllowanceUsage: {
854
866
  modulePath: "research/allowance-usage",
@@ -965,6 +977,19 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
965
977
  modulePath: "sec/listing-prospectus",
966
978
  schemaName: "SecListingProspectusSchema",
967
979
  },
980
+ SharedDirectory: { modulePath: "shared/directory", schemaName: "SharedDirectorySchema" },
981
+ SharedDirectoryList: {
982
+ modulePath: "shared/directory-list",
983
+ schemaName: "SharedDirectoryListSchema",
984
+ },
985
+ SharedDirectoryMutation: {
986
+ modulePath: "shared/directory-mutation",
987
+ schemaName: "SharedDirectoryMutationSchema",
988
+ },
989
+ SharedDirectoryType: {
990
+ modulePath: "shared/directory-type",
991
+ schemaName: "SharedDirectoryTypeSchema",
992
+ },
968
993
  SharedSearch: { modulePath: "shared/search", schemaName: "SharedSearchSchema" },
969
994
  SharedSearchList: { modulePath: "shared/search-list", schemaName: "SharedSearchListSchema" },
970
995
  SharedSearchMutation: {
@@ -19,7 +19,7 @@ const PersonDetailSchemaDefinition = z.object({
19
19
  enrichment: PersonEnrichmentSchema,
20
20
  /** Precomputed person graph; present only when include names graph */
21
21
  graph: PersonGraphSchema.nullish(),
22
- /** Investments associated with this person. When include names investment, this is the investments endpoint's newest-first page 0 at its maximum page size, 200: fewer than 200 rows is the whole list, otherwise continue at page=1&size=200. */
22
+ /** Investments associated with this person. When include names investment, these are newest first, the same rows as GET /v1/people/{personId}/investments?sort=date,desc&size=200 page 0: fewer than 200 rows is the whole list, otherwise continue at page=1 with the same sort and size. */
23
23
  investment: z.array(PersonInvestmentSchema),
24
24
  /** Investor activity rollup; present only when include names investorActivity */
25
25
  investorActivity: EntityFundraiseInvestorActivitySchema.nullish(),
@@ -0,0 +1,19 @@
1
+ import { z } from "zod/v4";
2
+ declare const PersonEnrichmentPromptSchemaDefinition: z.ZodObject<{
3
+ userPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
+ }, z.core.$strip>;
5
+ type PersonEnrichmentPromptDefinition = z.infer<typeof PersonEnrichmentPromptSchemaDefinition>;
6
+ export interface PersonEnrichmentPromptSchemaInput extends z.input<typeof PersonEnrichmentPromptSchemaDefinition> {
7
+ }
8
+ /**
9
+ * Optional steering prompt for one person enrichment run
10
+ *
11
+ * @openapiSchema PersonEnrichmentPrompt
12
+ * @endpoint POST /v1/people/{personId}/enrichments
13
+ * @contractShape person.enrichment-prompt
14
+ * @contractRole canonical
15
+ */
16
+ export declare const PersonEnrichmentPromptSchema: z.ZodType<PersonEnrichmentPromptDefinition, PersonEnrichmentPromptSchemaInput>;
17
+ export type PersonEnrichmentPrompt = z.infer<typeof PersonEnrichmentPromptSchema>;
18
+ export {};
19
+ //# sourceMappingURL=enrichment-prompt.d.ts.map
@@ -0,0 +1,16 @@
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 PersonEnrichmentPromptSchemaDefinition = z.object({
4
+ /** 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
+ userPrompt: z.string().max(2000).nullish(),
6
+ });
7
+ /**
8
+ * Optional steering prompt for one person enrichment run
9
+ *
10
+ * @openapiSchema PersonEnrichmentPrompt
11
+ * @endpoint POST /v1/people/{personId}/enrichments
12
+ * @contractShape person.enrichment-prompt
13
+ * @contractRole canonical
14
+ */
15
+ export const PersonEnrichmentPromptSchema = PersonEnrichmentPromptSchemaDefinition;
16
+ //# sourceMappingURL=enrichment-prompt.js.map
@@ -4,15 +4,19 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema PersonFilter
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/people/search
11
13
  * @endpoint POST /v1/search
12
14
  * @endpoint POST /v1/search/natural/people
13
15
  * @endpoint POST /v1/search/shared
14
16
  * @usedBySchema PersonNaturalSearchSchema
15
17
  * @usedBySchema PersonSearchInterpretationSchema
18
+ * @usedBySchema SharedDirectoryMutationSchema
19
+ * @usedBySchema SharedDirectorySchema
16
20
  * @contractShape person.filter
17
21
  * @contractRole canonical
18
22
  */
@@ -8,15 +8,19 @@ import { PersonListArrayFilterSchema } from "./list-array-filter.js";
8
8
  *
9
9
  * @openapiSchema PersonFilter
10
10
  * @endpoint GET /v1/search/link
11
+ * @endpoint GET /v1/directory/shared/slug/{slug}
11
12
  * @endpoint GET /v1/search/link/jobs/{jobId}
12
13
  * @endpoint GET /v1/search/shared/{id}
13
14
  * @endpoint GET /v1/search/shared/slug/{slug}
15
+ * @endpoint POST /v1/directory/shared
14
16
  * @endpoint POST /v1/people/search
15
17
  * @endpoint POST /v1/search
16
18
  * @endpoint POST /v1/search/natural/people
17
19
  * @endpoint POST /v1/search/shared
18
20
  * @usedBySchema PersonNaturalSearchSchema
19
21
  * @usedBySchema PersonSearchInterpretationSchema
22
+ * @usedBySchema SharedDirectoryMutationSchema
23
+ * @usedBySchema SharedDirectorySchema
20
24
  * @contractShape person.filter
21
25
  * @contractRole canonical
22
26
  */
@@ -4,9 +4,11 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema PersonListArrayFilter
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/people/search
11
13
  * @endpoint POST /v1/search
12
14
  * @endpoint POST /v1/search/natural/people
@@ -8,9 +8,11 @@ import { IntRangeSchema } from "../int/range.js";
8
8
  *
9
9
  * @openapiSchema PersonListArrayFilter
10
10
  * @endpoint GET /v1/search/link
11
+ * @endpoint GET /v1/directory/shared/slug/{slug}
11
12
  * @endpoint GET /v1/search/link/jobs/{jobId}
12
13
  * @endpoint GET /v1/search/shared/{id}
13
14
  * @endpoint GET /v1/search/shared/slug/{slug}
15
+ * @endpoint POST /v1/directory/shared
14
16
  * @endpoint POST /v1/people/search
15
17
  * @endpoint POST /v1/search
16
18
  * @endpoint POST /v1/search/natural/people
@@ -0,0 +1,28 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * What filing one more research run does now. `INCLUDED`: the plan's monthly allowance covers it. `ADDITIONAL_USAGE`: the allowance is spent or withheld, and the run is billed as additional usage (prepaid credit or invoice). `EXHAUSTED`: the plan's allowance is spent and no additional usage can pay for it (off, spend cap reached, or prepaid credit below the unit price); filing answers 429. `PLAN_REQUIRED`: the plan includes no research and no additional usage can pay for it; filing answers 402 or 429. `BILLING_BLOCKED`: a paid plan is past due, unpaid, incomplete, or paused, or an additional-usage invoice is unpaid; filing answers 402.
4
+ *
5
+ * @openapiSchema ResearchAccessType
6
+ * @endpoint GET /v1/billing/ai-credits
7
+ * @endpoint GET /v1/billing/subscription
8
+ * @usedBySchema ResearchAllowanceSchema
9
+ * @contractShape research.access-type
10
+ * @contractRole canonical
11
+ */
12
+ export declare const ResearchAccessTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
13
+ ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
14
+ BILLING_BLOCKED: "BILLING_BLOCKED";
15
+ EXHAUSTED: "EXHAUSTED";
16
+ INCLUDED: "INCLUDED";
17
+ PLAN_REQUIRED: "PLAN_REQUIRED";
18
+ }>, z.ZodString]> & {
19
+ enum: {
20
+ ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
21
+ BILLING_BLOCKED: "BILLING_BLOCKED";
22
+ EXHAUSTED: "EXHAUSTED";
23
+ INCLUDED: "INCLUDED";
24
+ PLAN_REQUIRED: "PLAN_REQUIRED";
25
+ };
26
+ };
27
+ export type ResearchAccessType = z.infer<typeof ResearchAccessTypeSchema>;
28
+ //# sourceMappingURL=access-type.d.ts.map
@@ -0,0 +1,21 @@
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 ResearchAccessTypeSchemaKnownMembers = z.enum([
4
+ "INCLUDED",
5
+ "ADDITIONAL_USAGE",
6
+ "EXHAUSTED",
7
+ "PLAN_REQUIRED",
8
+ "BILLING_BLOCKED",
9
+ ]);
10
+ /**
11
+ * What filing one more research run does now. `INCLUDED`: the plan's monthly allowance covers it. `ADDITIONAL_USAGE`: the allowance is spent or withheld, and the run is billed as additional usage (prepaid credit or invoice). `EXHAUSTED`: the plan's allowance is spent and no additional usage can pay for it (off, spend cap reached, or prepaid credit below the unit price); filing answers 429. `PLAN_REQUIRED`: the plan includes no research and no additional usage can pay for it; filing answers 402 or 429. `BILLING_BLOCKED`: a paid plan is past due, unpaid, incomplete, or paused, or an additional-usage invoice is unpaid; filing answers 402.
12
+ *
13
+ * @openapiSchema ResearchAccessType
14
+ * @endpoint GET /v1/billing/ai-credits
15
+ * @endpoint GET /v1/billing/subscription
16
+ * @usedBySchema ResearchAllowanceSchema
17
+ * @contractShape research.access-type
18
+ * @contractRole canonical
19
+ */
20
+ export const ResearchAccessTypeSchema = Object.assign(z.union([ResearchAccessTypeSchemaKnownMembers, z.string()]), { enum: ResearchAccessTypeSchemaKnownMembers.enum });
21
+ //# sourceMappingURL=access-type.js.map
@@ -1,110 +1,130 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const ResearchAllowanceUsageSchemaDefinition: z.ZodObject<{
3
3
  company: z.ZodType<{
4
+ access?: string | null | undefined;
4
5
  limit?: number | null | undefined;
5
6
  remaining?: number | null | undefined;
6
7
  resetAt: string;
7
8
  used: number;
8
9
  }, import("./allowance.ts").ResearchAllowanceSchemaInput, z.core.$ZodTypeInternals<{
10
+ access?: string | null | undefined;
9
11
  limit?: number | null | undefined;
10
12
  remaining?: number | null | undefined;
11
13
  resetAt: string;
12
14
  used: number;
13
15
  }, import("./allowance.ts").ResearchAllowanceSchemaInput>>;
14
16
  entityBrand: z.ZodType<{
17
+ access?: string | null | undefined;
15
18
  limit?: number | null | undefined;
16
19
  remaining?: number | null | undefined;
17
20
  resetAt: string;
18
21
  used: number;
19
22
  }, import("./allowance.ts").ResearchAllowanceSchemaInput, z.core.$ZodTypeInternals<{
23
+ access?: string | null | undefined;
20
24
  limit?: number | null | undefined;
21
25
  remaining?: number | null | undefined;
22
26
  resetAt: string;
23
27
  used: number;
24
28
  }, import("./allowance.ts").ResearchAllowanceSchemaInput>>;
25
29
  entityView: z.ZodType<{
30
+ access?: string | null | undefined;
26
31
  limit?: number | null | undefined;
27
32
  remaining?: number | null | undefined;
28
33
  resetAt: string;
29
34
  used: number;
30
35
  }, import("./allowance.ts").ResearchAllowanceSchemaInput, z.core.$ZodTypeInternals<{
36
+ access?: string | null | undefined;
31
37
  limit?: number | null | undefined;
32
38
  remaining?: number | null | undefined;
33
39
  resetAt: string;
34
40
  used: number;
35
41
  }, import("./allowance.ts").ResearchAllowanceSchemaInput>>;
36
42
  newCompany: z.ZodType<{
43
+ access?: string | null | undefined;
37
44
  limit?: number | null | undefined;
38
45
  remaining?: number | null | undefined;
39
46
  resetAt: string;
40
47
  used: number;
41
48
  }, import("./allowance.ts").ResearchAllowanceSchemaInput, z.core.$ZodTypeInternals<{
49
+ access?: string | null | undefined;
42
50
  limit?: number | null | undefined;
43
51
  remaining?: number | null | undefined;
44
52
  resetAt: string;
45
53
  used: number;
46
54
  }, import("./allowance.ts").ResearchAllowanceSchemaInput>>;
47
55
  newPerson: z.ZodType<{
56
+ access?: string | null | undefined;
48
57
  limit?: number | null | undefined;
49
58
  remaining?: number | null | undefined;
50
59
  resetAt: string;
51
60
  used: number;
52
61
  }, import("./allowance.ts").ResearchAllowanceSchemaInput, z.core.$ZodTypeInternals<{
62
+ access?: string | null | undefined;
53
63
  limit?: number | null | undefined;
54
64
  remaining?: number | null | undefined;
55
65
  resetAt: string;
56
66
  used: number;
57
67
  }, import("./allowance.ts").ResearchAllowanceSchemaInput>>;
58
68
  person: z.ZodType<{
69
+ access?: string | null | undefined;
59
70
  limit?: number | null | undefined;
60
71
  remaining?: number | null | undefined;
61
72
  resetAt: string;
62
73
  used: number;
63
74
  }, import("./allowance.ts").ResearchAllowanceSchemaInput, z.core.$ZodTypeInternals<{
75
+ access?: string | null | undefined;
64
76
  limit?: number | null | undefined;
65
77
  remaining?: number | null | undefined;
66
78
  resetAt: string;
67
79
  used: number;
68
80
  }, import("./allowance.ts").ResearchAllowanceSchemaInput>>;
69
81
  personView: z.ZodType<{
82
+ access?: string | null | undefined;
70
83
  limit?: number | null | undefined;
71
84
  remaining?: number | null | undefined;
72
85
  resetAt: string;
73
86
  used: number;
74
87
  }, import("./allowance.ts").ResearchAllowanceSchemaInput, z.core.$ZodTypeInternals<{
88
+ access?: string | null | undefined;
75
89
  limit?: number | null | undefined;
76
90
  remaining?: number | null | undefined;
77
91
  resetAt: string;
78
92
  used: number;
79
93
  }, import("./allowance.ts").ResearchAllowanceSchemaInput>>;
80
94
  update: z.ZodType<{
95
+ access?: string | null | undefined;
81
96
  limit?: number | null | undefined;
82
97
  remaining?: number | null | undefined;
83
98
  resetAt: string;
84
99
  used: number;
85
100
  }, import("./allowance.ts").ResearchAllowanceSchemaInput, z.core.$ZodTypeInternals<{
101
+ access?: string | null | undefined;
86
102
  limit?: number | null | undefined;
87
103
  remaining?: number | null | undefined;
88
104
  resetAt: string;
89
105
  used: number;
90
106
  }, import("./allowance.ts").ResearchAllowanceSchemaInput>>;
91
107
  updatePerson: z.ZodType<{
108
+ access?: string | null | undefined;
92
109
  limit?: number | null | undefined;
93
110
  remaining?: number | null | undefined;
94
111
  resetAt: string;
95
112
  used: number;
96
113
  }, import("./allowance.ts").ResearchAllowanceSchemaInput, z.core.$ZodTypeInternals<{
114
+ access?: string | null | undefined;
97
115
  limit?: number | null | undefined;
98
116
  remaining?: number | null | undefined;
99
117
  resetAt: string;
100
118
  used: number;
101
119
  }, import("./allowance.ts").ResearchAllowanceSchemaInput>>;
102
120
  webSearch: z.ZodType<{
121
+ access?: string | null | undefined;
103
122
  limit?: number | null | undefined;
104
123
  remaining?: number | null | undefined;
105
124
  resetAt: string;
106
125
  used: number;
107
126
  }, import("./allowance.ts").ResearchAllowanceSchemaInput, z.core.$ZodTypeInternals<{
127
+ access?: string | null | undefined;
108
128
  limit?: number | null | undefined;
109
129
  remaining?: number | null | undefined;
110
130
  resetAt: string;
@@ -1,5 +1,20 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const ResearchAllowanceSchemaDefinition: z.ZodObject<{
3
+ access: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
4
+ ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
5
+ BILLING_BLOCKED: "BILLING_BLOCKED";
6
+ EXHAUSTED: "EXHAUSTED";
7
+ INCLUDED: "INCLUDED";
8
+ PLAN_REQUIRED: "PLAN_REQUIRED";
9
+ }>, z.ZodString]> & {
10
+ enum: {
11
+ ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
12
+ BILLING_BLOCKED: "BILLING_BLOCKED";
13
+ EXHAUSTED: "EXHAUSTED";
14
+ INCLUDED: "INCLUDED";
15
+ PLAN_REQUIRED: "PLAN_REQUIRED";
16
+ };
17
+ }>>;
3
18
  limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4
19
  remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
5
20
  resetAt: z.ZodISODateTime;
@@ -1,6 +1,9 @@
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 { ResearchAccessTypeSchema } from "./access-type.js";
3
4
  const ResearchAllowanceSchemaDefinition = z.object({
5
+ /** What filing one more research run on this meter does now, decided exactly as filing decides it; present only on the company and person research meters */
6
+ access: ResearchAccessTypeSchema.nullish(),
4
7
  /** Cap for the period; absent when the tier meters without a cap */
5
8
  limit: z.int().nullish(),
6
9
  /** Cap minus used, never negative; absent when there is no cap */
@@ -12,7 +12,9 @@ export interface ResearchFindingSchemaInput extends z.input<typeof ResearchFindi
12
12
  * One fact you researched, with the page and exact text that support it. The run checks the quote against the page before it writes the fact.
13
13
  *
14
14
  * @openapiSchema ResearchFinding
15
+ * @endpoint POST /v1/entities/{entityId}/enrichments
15
16
  * @endpoint POST /v1/research-runs
17
+ * @usedBySchema EnrichmentPromptSchema
16
18
  * @usedBySchema HarnessRunCreateSchema
17
19
  * @contractShape research.finding
18
20
  * @contractRole canonical
@@ -14,7 +14,9 @@ const ResearchFindingSchemaDefinition = z.object({
14
14
  * One fact you researched, with the page and exact text that support it. The run checks the quote against the page before it writes the fact.
15
15
  *
16
16
  * @openapiSchema ResearchFinding
17
+ * @endpoint POST /v1/entities/{entityId}/enrichments
17
18
  * @endpoint POST /v1/research-runs
19
+ * @usedBySchema EnrichmentPromptSchema
18
20
  * @usedBySchema HarnessRunCreateSchema
19
21
  * @contractShape research.finding
20
22
  * @contractRole canonical