@aventurevc/api-schemas 0.8.177 → 0.8.178

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 (92) hide show
  1. package/dist/agent/help-question.js +1 -1
  2. package/dist/billing/catalog-plan.d.ts +10 -1
  3. package/dist/billing/checkout-mutation.d.ts +10 -1
  4. package/dist/billing/checkout.d.ts +10 -1
  5. package/dist/billing/plan-change-mutation.d.ts +10 -1
  6. package/dist/billing/plan-change.d.ts +10 -1
  7. package/dist/billing/plan-type.d.ts +10 -1
  8. package/dist/billing/plan-type.js +9 -11
  9. package/dist/billing/subscription.d.ts +20 -2
  10. package/dist/classification/classification.d.ts +6 -1
  11. package/dist/classification/inactive-tag-details.d.ts +9 -1
  12. package/dist/classification/join-registry.d.ts +6 -1
  13. package/dist/classification/join-registry.js +2 -4
  14. package/dist/content/embedding-match.d.ts +16 -1
  15. package/dist/content/source-type.d.ts +16 -1
  16. package/dist/content/source-type.js +15 -17
  17. package/dist/domain/conflict-type.d.ts +9 -1
  18. package/dist/domain/conflict-type.js +8 -10
  19. package/dist/duplicate/create-review.d.ts +9 -1
  20. package/dist/enrichment/enrichment.d.ts +8 -1
  21. package/dist/enrichment/refusal-type.d.ts +8 -1
  22. package/dist/enrichment/refusal-type.js +7 -4
  23. package/dist/entity/comparison-signals.d.ts +41 -1
  24. package/dist/entity/detail.d.ts +2 -2
  25. package/dist/entity/enrichment.d.ts +41 -1
  26. package/dist/entity/filter-sortable.d.ts +23 -1
  27. package/dist/entity/filter-sortable.js +22 -24
  28. package/dist/entity/funding-detail.d.ts +43 -1
  29. package/dist/entity/funding-detail.js +2 -0
  30. package/dist/entity/fundraise-transaction-entity.d.ts +41 -1
  31. package/dist/entity/fundraise-transaction.d.ts +41 -1
  32. package/dist/entity/investor-participation.d.ts +2 -2
  33. package/dist/entity/list-filter.d.ts +1 -1
  34. package/dist/entity/list-filter.js +2 -2
  35. package/dist/entity/list.d.ts +16 -1
  36. package/dist/entity/natural-search.d.ts +4 -0
  37. package/dist/entity/people-param.js +2 -2
  38. package/dist/entity/relationship.d.ts +41 -1
  39. package/dist/entity/resolution.d.ts +2 -2
  40. package/dist/entity/similarity-summary.d.ts +91 -1
  41. package/dist/entity/similarity-summary.js +4 -1
  42. package/dist/federated/natural-search.d.ts +22 -2
  43. package/dist/federated/natural-search.js +5 -1
  44. package/dist/federated/search.d.ts +2 -2
  45. package/dist/funding/stage.d.ts +42 -1
  46. package/dist/funding/stage.js +41 -42
  47. package/dist/harness/task-input-type.d.ts +6 -1
  48. package/dist/harness/task-input-type.js +2 -1
  49. package/dist/harness/task.d.ts +6 -1
  50. package/dist/help/citation.d.ts +11 -1
  51. package/dist/help/source-type.d.ts +11 -1
  52. package/dist/help/source-type.js +10 -12
  53. package/dist/identification/subject.js +1 -1
  54. package/dist/link/search.d.ts +2 -2
  55. package/dist/natural/search.d.ts +22 -2
  56. package/dist/natural/search.js +5 -1
  57. package/dist/news/source-url-conflict.d.ts +9 -1
  58. package/dist/pagination/schemas.d.ts +30 -6
  59. package/dist/person/graph-career-context.d.ts +41 -1
  60. package/dist/person/graph-similar-entity.d.ts +41 -1
  61. package/dist/person/natural-search.d.ts +4 -0
  62. package/dist/person/person.d.ts +16 -1
  63. package/dist/problem/type.d.ts +62 -2
  64. package/dist/problem/type.js +11 -10
  65. package/dist/prose/problem.d.ts +15 -1
  66. package/dist/prose/problem.js +14 -16
  67. package/dist/prose/violation.d.ts +15 -1
  68. package/dist/reasoning/effort.d.ts +10 -1
  69. package/dist/reasoning/effort.js +9 -4
  70. package/dist/search/answer-citation.d.ts +9 -1
  71. package/dist/search/evidence-source.d.ts +9 -1
  72. package/dist/search/evidence-source.js +8 -10
  73. package/dist/search/investment.d.ts +16 -1
  74. package/dist/search/knowledge-graph-attribute.d.ts +7 -1
  75. package/dist/search/knowledge-graph-fact.d.ts +7 -1
  76. package/dist/search/knowledge-graph-fact.js +2 -4
  77. package/dist/search/mode-execution.d.ts +20 -2
  78. package/dist/search/mode.d.ts +10 -1
  79. package/dist/search/mode.js +11 -4
  80. package/dist/search/passage.d.ts +9 -1
  81. package/dist/search/search.d.ts +7 -1
  82. package/dist/shared/search.d.ts +2 -2
  83. package/dist/sort/order-entity-filter-sortable.d.ts +23 -1
  84. package/dist/standardized/classification.d.ts +6 -1
  85. package/dist/strict/url-lookup-conflict.d.ts +9 -1
  86. package/dist/unique/id-type.d.ts +14 -2
  87. package/dist/unique/id-type.js +12 -11
  88. package/dist/unique/id.d.ts +14 -2
  89. package/dist/url/duplicate-conflict.d.ts +9 -1
  90. package/dist/web/search-provider.d.ts +7 -1
  91. package/dist/web/search-provider.js +2 -4
  92. package/package.json +1 -1
@@ -8,7 +8,7 @@ import { z } from "zod/v4";
8
8
  * @contractShape problem.type
9
9
  * @contractRole canonical
10
10
  */
11
- export declare const ProblemTypeSchema: z.ZodEnum<{
11
+ export declare const ProblemTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
12
12
  readonly VALIDATION_FAILED: "https://api.aventure.vc/errors/validation-failed";
13
13
  readonly MISSING_PARAMETER: "https://api.aventure.vc/errors/missing-parameter";
14
14
  readonly INVALID_PARAMETER_TYPE: "https://api.aventure.vc/errors/invalid-parameter-type";
@@ -66,6 +66,66 @@ export declare const ProblemTypeSchema: z.ZodEnum<{
66
66
  readonly INVALID_IMAGE: "https://api.aventure.vc/errors/invalid-image";
67
67
  readonly UPSTREAM_EDGE_CHALLENGED: "https://api.aventure.vc/errors/upstream-edge-challenged";
68
68
  readonly ACCELERATOR_DETAIL_RESTATES_TARGET: "https://api.aventure.vc/errors/accelerator-detail-restates-target";
69
- }>;
69
+ }>, z.ZodString]> & {
70
+ enum: {
71
+ readonly VALIDATION_FAILED: "https://api.aventure.vc/errors/validation-failed";
72
+ readonly MISSING_PARAMETER: "https://api.aventure.vc/errors/missing-parameter";
73
+ readonly INVALID_PARAMETER_TYPE: "https://api.aventure.vc/errors/invalid-parameter-type";
74
+ readonly UNKNOWN_PARAMETER: "https://api.aventure.vc/errors/unknown-parameter";
75
+ readonly INVALID_ARGUMENT: "https://api.aventure.vc/errors/invalid-argument";
76
+ readonly INVALID_REQUEST: "https://api.aventure.vc/errors/invalid-request";
77
+ readonly INVALID_TOKEN: "https://api.aventure.vc/errors/invalid-token";
78
+ readonly TOKEN_EXPIRED: "https://api.aventure.vc/errors/token-expired";
79
+ readonly INVALID_AUTHENTICATION: "https://api.aventure.vc/errors/invalid-authentication";
80
+ readonly CLIENT_CLOSED_REQUEST: "https://api.aventure.vc/errors/client-closed-request";
81
+ readonly INVALID_JSON: "https://api.aventure.vc/errors/invalid-json";
82
+ readonly METHOD_NOT_ALLOWED: "https://api.aventure.vc/errors/method-not-allowed";
83
+ readonly NOT_ACCEPTABLE: "https://api.aventure.vc/errors/not-acceptable";
84
+ readonly UNSUPPORTED_MEDIA_TYPE: "https://api.aventure.vc/errors/unsupported-media-type";
85
+ readonly INTERNAL_ERROR: "https://api.aventure.vc/errors/internal-error";
86
+ readonly UNEXPECTED_ERROR: "https://api.aventure.vc/errors/unexpected-error";
87
+ readonly NOT_IMPLEMENTED: "https://api.aventure.vc/errors/not-implemented";
88
+ readonly AUTHENTICATION_REQUIRED: "https://api.aventure.vc/errors/authentication-required";
89
+ readonly AUTH_DOCS_REQUIRED: "https://api.aventure.vc/errors/auth.docs-required";
90
+ readonly AUTH_ADMIN_KEY_NOT_CONFIGURED: "https://api.aventure.vc/errors/auth.admin-key-not-configured";
91
+ readonly AUTH_EMPTY_ADMIN_KEY: "https://api.aventure.vc/errors/auth.empty-admin-key";
92
+ readonly AUTH_EMPTY_ADMIN_BEARER: "https://api.aventure.vc/errors/auth.empty-admin-bearer";
93
+ readonly AUTH_INVALID_ADMIN_KEY: "https://api.aventure.vc/errors/auth.invalid-admin-key";
94
+ readonly AUTH_MISSING_ADMIN_KEY: "https://api.aventure.vc/errors/auth.missing-admin-key";
95
+ readonly AUTH_METRICS_UNAUTHORIZED: "https://api.aventure.vc/errors/auth.metrics-unauthorized";
96
+ readonly ACCESS_DENIED: "https://api.aventure.vc/errors/access-denied";
97
+ readonly NOT_FOUND: "https://api.aventure.vc/errors/not-found";
98
+ readonly GONE: "https://api.aventure.vc/errors/gone";
99
+ readonly RATE_LIMITED: "https://api.aventure.vc/errors/rate-limited";
100
+ readonly PRECONDITION_FAILED: "https://api.aventure.vc/errors/precondition-failed";
101
+ readonly PRECONDITION_REQUIRED: "https://api.aventure.vc/errors/precondition-required";
102
+ readonly BILLING_ALLOWANCE_EXHAUSTED: "https://api.aventure.vc/errors/billing-allowance-exhausted";
103
+ readonly BILLING_ADDITIONAL_USAGE_CAP_REACHED: "https://api.aventure.vc/errors/billing-additional-usage-cap-reached";
104
+ readonly SUBSCRIPTION_REQUIRED: "https://api.aventure.vc/errors/subscription-required";
105
+ readonly SERVICE_UNAVAILABLE: "https://api.aventure.vc/errors/service-unavailable";
106
+ readonly MALFORMED_FORM_BODY: "https://api.aventure.vc/errors/malformed-form-body";
107
+ readonly STATE_CONFLICT: "https://api.aventure.vc/errors/state-conflict";
108
+ readonly SLUG_HELD_BY_RECORD: "https://api.aventure.vc/errors/slug-held-by-record";
109
+ readonly SLUG_HELD_BY_REDIRECT: "https://api.aventure.vc/errors/slug-held-by-redirect";
110
+ readonly SLUG_AMBIGUOUS: "https://api.aventure.vc/errors/slug-ambiguous";
111
+ readonly TARGET_AMBIGUOUS: "https://api.aventure.vc/errors/target-ambiguous";
112
+ readonly DUPLICATE: "https://api.aventure.vc/errors/duplicate";
113
+ readonly DUPLICATE_KEY: "https://api.aventure.vc/errors/duplicate-key";
114
+ readonly INTEGRITY_VIOLATION: "https://api.aventure.vc/errors/integrity-violation";
115
+ readonly CIRCUIT_BREAKER_OPEN: "https://api.aventure.vc/errors/circuit-breaker-open";
116
+ readonly BULKHEAD_FULL: "https://api.aventure.vc/errors/bulkhead-full";
117
+ readonly WRITE_LANE_BUSY: "https://api.aventure.vc/errors/write-lane-busy";
118
+ readonly DATABASE_UNAVAILABLE: "https://api.aventure.vc/errors/database-unavailable";
119
+ readonly DATABASE_ERROR: "https://api.aventure.vc/errors/database-error";
120
+ readonly FILE_TOO_LARGE: "https://api.aventure.vc/errors/file-too-large";
121
+ readonly MISSING_FILE_PART: "https://api.aventure.vc/errors/missing-file-part";
122
+ readonly INVALID_MULTIPART_BOUNDARY: "https://api.aventure.vc/errors/invalid-multipart-boundary";
123
+ readonly MULTIPART_PARSE_ERROR: "https://api.aventure.vc/errors/multipart-parse-error";
124
+ readonly NON_ENGLISH_ARTICLE: "https://api.aventure.vc/errors/non-english-article";
125
+ readonly INVALID_IMAGE: "https://api.aventure.vc/errors/invalid-image";
126
+ readonly UPSTREAM_EDGE_CHALLENGED: "https://api.aventure.vc/errors/upstream-edge-challenged";
127
+ readonly ACCELERATOR_DETAIL_RESTATES_TARGET: "https://api.aventure.vc/errors/accelerator-detail-restates-target";
128
+ };
129
+ };
70
130
  export type ProblemType = z.infer<typeof ProblemTypeSchema>;
71
131
  //# sourceMappingURL=type.d.ts.map
@@ -1,15 +1,6 @@
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
- /**
4
- * Known RFC 9457 error type URIs.
5
- *
6
- * @openapiSchema ProblemType
7
- * @standardProblemResponse
8
- * @usedBySchema ProblemDetailSchema
9
- * @contractShape problem.type
10
- * @contractRole canonical
11
- */
12
- export const ProblemTypeSchema = z.enum({
3
+ const ProblemTypeSchemaKnownMembers = z.enum({
13
4
  VALIDATION_FAILED: "https://api.aventure.vc/errors/validation-failed",
14
5
  MISSING_PARAMETER: "https://api.aventure.vc/errors/missing-parameter",
15
6
  INVALID_PARAMETER_TYPE: "https://api.aventure.vc/errors/invalid-parameter-type",
@@ -68,4 +59,14 @@ export const ProblemTypeSchema = z.enum({
68
59
  UPSTREAM_EDGE_CHALLENGED: "https://api.aventure.vc/errors/upstream-edge-challenged",
69
60
  ACCELERATOR_DETAIL_RESTATES_TARGET: "https://api.aventure.vc/errors/accelerator-detail-restates-target",
70
61
  });
62
+ /**
63
+ * Known RFC 9457 error type URIs.
64
+ *
65
+ * @openapiSchema ProblemType
66
+ * @standardProblemResponse
67
+ * @usedBySchema ProblemDetailSchema
68
+ * @contractShape problem.type
69
+ * @contractRole canonical
70
+ */
71
+ export const ProblemTypeSchema = Object.assign(z.union([ProblemTypeSchemaKnownMembers, z.string()]), { enum: ProblemTypeSchemaKnownMembers.enum });
71
72
  //# sourceMappingURL=type.js.map
@@ -20,6 +20,20 @@ export declare const ProseProblemSchema: z.ZodUnion<readonly [z.ZodEnum<{
20
20
  textContract: "textContract";
21
21
  unsupported: "unsupported";
22
22
  voice: "voice";
23
- }>, z.ZodString]>;
23
+ }>, z.ZodString]> & {
24
+ enum: {
25
+ disclaimer: "disclaimer";
26
+ factList: "factList";
27
+ legalSource: "legalSource";
28
+ mojibake: "mojibake";
29
+ record: "record";
30
+ source: "source";
31
+ structured: "structured";
32
+ temporal: "temporal";
33
+ textContract: "textContract";
34
+ unsupported: "unsupported";
35
+ voice: "voice";
36
+ };
37
+ };
24
38
  export type ProseProblem = z.infer<typeof ProseProblemSchema>;
25
39
  //# sourceMappingURL=problem.d.ts.map
@@ -1,5 +1,18 @@
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 ProseProblemSchemaKnownMembers = z.enum([
4
+ "source",
5
+ "record",
6
+ "disclaimer",
7
+ "voice",
8
+ "structured",
9
+ "temporal",
10
+ "factList",
11
+ "mojibake",
12
+ "unsupported",
13
+ "legalSource",
14
+ "textContract",
15
+ ]);
3
16
  /**
4
17
  * Why a sentence or paragraph of entity text or a research snippet was rejected.
5
18
  *
@@ -9,20 +22,5 @@ import { z } from "zod/v4";
9
22
  * @contractShape prose.problem
10
23
  * @contractRole canonical
11
24
  */
12
- export const ProseProblemSchema = z.union([
13
- z.enum([
14
- "source",
15
- "record",
16
- "disclaimer",
17
- "voice",
18
- "structured",
19
- "temporal",
20
- "factList",
21
- "mojibake",
22
- "unsupported",
23
- "legalSource",
24
- "textContract",
25
- ]),
26
- z.string(),
27
- ]);
25
+ export const ProseProblemSchema = Object.assign(z.union([ProseProblemSchemaKnownMembers, z.string()]), { enum: ProseProblemSchemaKnownMembers.enum });
28
26
  //# sourceMappingURL=problem.js.map
@@ -14,7 +14,21 @@ declare const ProseViolationSchemaDefinition: z.ZodObject<{
14
14
  textContract: "textContract";
15
15
  unsupported: "unsupported";
16
16
  voice: "voice";
17
- }>, z.ZodString]>;
17
+ }>, z.ZodString]> & {
18
+ enum: {
19
+ disclaimer: "disclaimer";
20
+ factList: "factList";
21
+ legalSource: "legalSource";
22
+ mojibake: "mojibake";
23
+ record: "record";
24
+ source: "source";
25
+ structured: "structured";
26
+ temporal: "temporal";
27
+ textContract: "textContract";
28
+ unsupported: "unsupported";
29
+ voice: "voice";
30
+ };
31
+ };
18
32
  reason: z.ZodString;
19
33
  }, z.core.$strip>;
20
34
  type ProseViolationDefinition = z.infer<typeof ProseViolationSchemaDefinition>;
@@ -20,6 +20,15 @@ export declare const ReasoningEffortSchema: z.ZodUnion<readonly [z.ZodEnum<{
20
20
  medium: "medium";
21
21
  minimal: "minimal";
22
22
  xhigh: "xhigh";
23
- }>, z.ZodString]>;
23
+ }>, z.ZodString]> & {
24
+ enum: {
25
+ high: "high";
26
+ low: "low";
27
+ max: "max";
28
+ medium: "medium";
29
+ minimal: "minimal";
30
+ xhigh: "xhigh";
31
+ };
32
+ };
24
33
  export type ReasoningEffort = z.infer<typeof ReasoningEffortSchema>;
25
34
  //# sourceMappingURL=effort.d.ts.map
@@ -1,5 +1,13 @@
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 ReasoningEffortSchemaKnownMembers = z.enum([
4
+ "minimal",
5
+ "low",
6
+ "medium",
7
+ "high",
8
+ "xhigh",
9
+ "max",
10
+ ]);
3
11
  /**
4
12
  * Reasoning effort level, lowest to highest: `minimal`, `low`, `medium`, `high`, `xhigh`, `max`. A model receives the nearest level it supports.
5
13
  *
@@ -14,8 +22,5 @@ import { z } from "zod/v4";
14
22
  * @contractShape reasoning.effort
15
23
  * @contractRole canonical
16
24
  */
17
- export const ReasoningEffortSchema = z.union([
18
- z.enum(["minimal", "low", "medium", "high", "xhigh", "max"]),
19
- z.string(),
20
- ]);
25
+ export const ReasoningEffortSchema = Object.assign(z.union([ReasoningEffortSchemaKnownMembers, z.string()]), { enum: ReasoningEffortSchemaKnownMembers.enum });
21
26
  //# sourceMappingURL=effort.js.map
@@ -7,7 +7,15 @@ declare const SearchAnswerCitationSchemaDefinition: z.ZodObject<{
7
7
  newsArticle: "newsArticle";
8
8
  personRecord: "personRecord";
9
9
  researchSnippet: "researchSnippet";
10
- }>, z.ZodString]>;
10
+ }>, z.ZodString]> & {
11
+ enum: {
12
+ entityRecord: "entityRecord";
13
+ fundraiseTransaction: "fundraiseTransaction";
14
+ newsArticle: "newsArticle";
15
+ personRecord: "personRecord";
16
+ researchSnippet: "researchSnippet";
17
+ };
18
+ };
11
19
  sourceId: z.ZodString;
12
20
  }, z.core.$strip>;
13
21
  type SearchAnswerCitationDefinition = z.infer<typeof SearchAnswerCitationSchemaDefinition>;
@@ -21,6 +21,14 @@ export declare const SearchEvidenceSourceSchema: z.ZodUnion<readonly [z.ZodEnum<
21
21
  newsArticle: "newsArticle";
22
22
  personRecord: "personRecord";
23
23
  researchSnippet: "researchSnippet";
24
- }>, z.ZodString]>;
24
+ }>, z.ZodString]> & {
25
+ enum: {
26
+ entityRecord: "entityRecord";
27
+ fundraiseTransaction: "fundraiseTransaction";
28
+ newsArticle: "newsArticle";
29
+ personRecord: "personRecord";
30
+ researchSnippet: "researchSnippet";
31
+ };
32
+ };
25
33
  export type SearchEvidenceSource = z.infer<typeof SearchEvidenceSourceSchema>;
26
34
  //# sourceMappingURL=evidence-source.d.ts.map
@@ -1,5 +1,12 @@
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 SearchEvidenceSourceSchemaKnownMembers = z.enum([
4
+ "entityRecord",
5
+ "researchSnippet",
6
+ "newsArticle",
7
+ "personRecord",
8
+ "fundraiseTransaction",
9
+ ]);
3
10
  /**
4
11
  * Owner of search evidence: `entityRecord` is the entity's structured record, `researchSnippet` an entity research snippet, `newsArticle` a news article linked to the entity; `personRecord` a person linked to the entity; `fundraiseTransaction` a recorded investment round with investor attribution.
5
12
  *
@@ -16,14 +23,5 @@ import { z } from "zod/v4";
16
23
  * @contractShape search.evidence-source
17
24
  * @contractRole canonical
18
25
  */
19
- export const SearchEvidenceSourceSchema = z.union([
20
- z.enum([
21
- "entityRecord",
22
- "researchSnippet",
23
- "newsArticle",
24
- "personRecord",
25
- "fundraiseTransaction",
26
- ]),
27
- z.string(),
28
- ]);
26
+ export const SearchEvidenceSourceSchema = Object.assign(z.union([SearchEvidenceSourceSchemaKnownMembers, z.string()]), { enum: SearchEvidenceSourceSchemaKnownMembers.enum });
29
27
  //# sourceMappingURL=evidence-source.js.map
@@ -256,7 +256,22 @@ declare const SearchInvestmentSchemaDefinition: z.ZodObject<{
256
256
  service: "service";
257
257
  sourceDocument: "sourceDocument";
258
258
  text: "text";
259
- }>, z.ZodString]>;
259
+ }>, z.ZodString]> & {
260
+ enum: {
261
+ agentHelpDoc: "agentHelpDoc";
262
+ blogPost: "blogPost";
263
+ classificationCode: "classificationCode";
264
+ classificationTag: "classificationTag";
265
+ entity: "entity";
266
+ newsArticle: "newsArticle";
267
+ person: "person";
268
+ product: "product";
269
+ researchSnippet: "researchSnippet";
270
+ service: "service";
271
+ sourceDocument: "sourceDocument";
272
+ text: "text";
273
+ };
274
+ };
260
275
  }, z.core.$strip>>>;
261
276
  }, z.core.$strip>;
262
277
  type SearchInvestmentDefinition = z.infer<typeof SearchInvestmentSchemaDefinition>;
@@ -4,7 +4,13 @@ declare const SearchKnowledgeGraphAttributeSchemaDefinition: z.ZodObject<{
4
4
  ceo: "ceo";
5
5
  founded: "founded";
6
6
  headquarters: "headquarters";
7
- }>, z.ZodString]>;
7
+ }>, z.ZodString]> & {
8
+ enum: {
9
+ ceo: "ceo";
10
+ founded: "founded";
11
+ headquarters: "headquarters";
12
+ };
13
+ };
8
14
  value: z.ZodString;
9
15
  }, z.core.$strip>;
10
16
  type SearchKnowledgeGraphAttributeDefinition = z.infer<typeof SearchKnowledgeGraphAttributeSchemaDefinition>;
@@ -13,6 +13,12 @@ export declare const SearchKnowledgeGraphFactSchema: z.ZodUnion<readonly [z.ZodE
13
13
  ceo: "ceo";
14
14
  founded: "founded";
15
15
  headquarters: "headquarters";
16
- }>, z.ZodString]>;
16
+ }>, z.ZodString]> & {
17
+ enum: {
18
+ ceo: "ceo";
19
+ founded: "founded";
20
+ headquarters: "headquarters";
21
+ };
22
+ };
17
23
  export type SearchKnowledgeGraphFact = z.infer<typeof SearchKnowledgeGraphFactSchema>;
18
24
  //# sourceMappingURL=knowledge-graph-fact.d.ts.map
@@ -1,5 +1,6 @@
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 SearchKnowledgeGraphFactSchemaKnownMembers = z.enum(["founded", "ceo", "headquarters"]);
3
4
  /**
4
5
  * Knowledge panel fact name
5
6
  *
@@ -10,8 +11,5 @@ import { z } from "zod/v4";
10
11
  * @contractShape search.knowledge-graph-fact
11
12
  * @contractRole canonical
12
13
  */
13
- export const SearchKnowledgeGraphFactSchema = z.union([
14
- z.enum(["founded", "ceo", "headquarters"]),
15
- z.string(),
16
- ]);
14
+ export const SearchKnowledgeGraphFactSchema = Object.assign(z.union([SearchKnowledgeGraphFactSchemaKnownMembers, z.string()]), { enum: SearchKnowledgeGraphFactSchemaKnownMembers.enum });
17
15
  //# sourceMappingURL=knowledge-graph-fact.js.map
@@ -7,7 +7,16 @@ declare const SearchModeExecutionSchemaDefinition: z.ZodObject<{
7
7
  keyword: "keyword";
8
8
  natural: "natural";
9
9
  semantic: "semantic";
10
- }>, z.ZodString]>;
10
+ }>, z.ZodString]> & {
11
+ enum: {
12
+ auto: "auto";
13
+ exact: "exact";
14
+ hybrid: "hybrid";
15
+ keyword: "keyword";
16
+ natural: "natural";
17
+ semantic: "semantic";
18
+ };
19
+ };
11
20
  modeUsed: z.ZodUnion<readonly [z.ZodEnum<{
12
21
  auto: "auto";
13
22
  exact: "exact";
@@ -15,7 +24,16 @@ declare const SearchModeExecutionSchemaDefinition: z.ZodObject<{
15
24
  keyword: "keyword";
16
25
  natural: "natural";
17
26
  semantic: "semantic";
18
- }>, z.ZodString]>;
27
+ }>, z.ZodString]> & {
28
+ enum: {
29
+ auto: "auto";
30
+ exact: "exact";
31
+ hybrid: "hybrid";
32
+ keyword: "keyword";
33
+ natural: "natural";
34
+ semantic: "semantic";
35
+ };
36
+ };
19
37
  }, z.core.$strip>;
20
38
  type SearchModeExecutionDefinition = z.infer<typeof SearchModeExecutionSchemaDefinition>;
21
39
  export interface SearchModeExecutionSchemaInput extends z.input<typeof SearchModeExecutionSchemaDefinition> {
@@ -26,6 +26,15 @@ export declare const SearchModeSchema: z.ZodUnion<readonly [z.ZodEnum<{
26
26
  keyword: "keyword";
27
27
  natural: "natural";
28
28
  semantic: "semantic";
29
- }>, z.ZodString]>;
29
+ }>, z.ZodString]> & {
30
+ enum: {
31
+ auto: "auto";
32
+ exact: "exact";
33
+ hybrid: "hybrid";
34
+ keyword: "keyword";
35
+ natural: "natural";
36
+ semantic: "semantic";
37
+ };
38
+ };
30
39
  export type SearchMode = z.infer<typeof SearchModeSchema>;
31
40
  //# sourceMappingURL=mode.d.ts.map
@@ -1,5 +1,13 @@
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 SearchModeSchemaKnownMembers = z.enum([
4
+ "auto",
5
+ "exact",
6
+ "keyword",
7
+ "semantic",
8
+ "natural",
9
+ "hybrid",
10
+ ]);
3
11
  /**
4
12
  * Search strategy for a natural-language search request. `auto` keeps the server pipeline (exact-name shortcut first, planner otherwise); `exact` matches entity or person names exactly with no planner and no embedding; `keyword` runs full-text search; `semantic` runs vector similarity; `natural` always runs the language-model planner; `hybrid` fuses keyword and semantic rankings by reciprocal rank. Entity and person natural-search support every mode but `hybrid`; news and federated search accept only `auto` and `keyword`; content search accepts `auto` (topic, type, relation, and year words become filters and any other words rank by full text), `keyword` (the full text of articles, posts, and fetched pages), `semantic` (one entity's or person's library pages by vector similarity of their fetched bodies), and `hybrid` (that owner's keyword and semantic rankings fused; each ranking is cut at the largest page size, so a hybrid search returns at most twice that many items, and it orders by fused rank only, ignoring `sort`).
5
13
  *
@@ -20,8 +28,7 @@ import { z } from "zod/v4";
20
28
  * @contractShape search.mode
21
29
  * @contractRole canonical
22
30
  */
23
- export const SearchModeSchema = z.union([
24
- z.enum(["auto", "exact", "keyword", "semantic", "natural", "hybrid"]),
25
- z.string(),
26
- ]);
31
+ export const SearchModeSchema = Object.assign(z.union([SearchModeSchemaKnownMembers, z.string()]), {
32
+ enum: SearchModeSchemaKnownMembers.enum,
33
+ });
27
34
  //# sourceMappingURL=mode.js.map
@@ -10,7 +10,15 @@ declare const SearchPassageSchemaDefinition: z.ZodObject<{
10
10
  newsArticle: "newsArticle";
11
11
  personRecord: "personRecord";
12
12
  researchSnippet: "researchSnippet";
13
- }>, z.ZodString]>;
13
+ }>, z.ZodString]> & {
14
+ enum: {
15
+ entityRecord: "entityRecord";
16
+ fundraiseTransaction: "fundraiseTransaction";
17
+ newsArticle: "newsArticle";
18
+ personRecord: "personRecord";
19
+ researchSnippet: "researchSnippet";
20
+ };
21
+ };
14
22
  sourceId: z.ZodString;
15
23
  text: z.ZodString;
16
24
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10,7 +10,13 @@ declare const SearchSchemaDefinition: z.ZodObject<{
10
10
  EXA: "EXA";
11
11
  EXA_DEEP: "EXA_DEEP";
12
12
  SERPAPI: "SERPAPI";
13
- }>, z.ZodString]>>>;
13
+ }>, z.ZodString]> & {
14
+ enum: {
15
+ EXA: "EXA";
16
+ EXA_DEEP: "EXA_DEEP";
17
+ SERPAPI: "SERPAPI";
18
+ };
19
+ }>>;
14
20
  region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
21
  resultLimit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
16
22
  retrievedFor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -2760,7 +2760,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
2760
2760
  createdAt: string;
2761
2761
  id: number;
2762
2762
  identifier: string;
2763
- idType: "crd" | "cusip" | "duns" | "ein" | "isin" | "lei" | "orcid" | "secCik" | "ticker";
2763
+ idType: string;
2764
2764
  owner: {
2765
2765
  entityId?: string | null | undefined;
2766
2766
  personId?: string | null | undefined;
@@ -6277,7 +6277,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
6277
6277
  createdAt: string;
6278
6278
  id: number;
6279
6279
  identifier: string;
6280
- idType: "crd" | "cusip" | "duns" | "ein" | "isin" | "lei" | "orcid" | "secCik" | "ticker";
6280
+ idType: string;
6281
6281
  owner: {
6282
6282
  entityId?: string | null | undefined;
6283
6283
  personId?: string | null | undefined;
@@ -21,7 +21,29 @@ declare const SortOrderEntityFilterSortableSchemaDefinition: z.ZodObject<{
21
21
  TOTAL_RAISED: "TOTAL_RAISED";
22
22
  UPDATED_AT: "UPDATED_AT";
23
23
  YEAR_FOUNDED: "YEAR_FOUNDED";
24
- }>, z.ZodString]>;
24
+ }>, z.ZodString]> & {
25
+ enum: {
26
+ ACCELERATOR_BRAND: "ACCELERATOR_BRAND";
27
+ ACCELERATOR_COHORT: "ACCELERATOR_COHORT";
28
+ AMOUNT_INVESTED: "AMOUNT_INVESTED";
29
+ CREATED_AT: "CREATED_AT";
30
+ DATA_COMPLETION_COVERAGE: "DATA_COMPLETION_COVERAGE";
31
+ EMPLOYEE_COUNT: "EMPLOYEE_COUNT";
32
+ HEADQUARTERS_COUNTRY: "HEADQUARTERS_COUNTRY";
33
+ ID: "ID";
34
+ LATEST_VALUATION: "LATEST_VALUATION";
35
+ MOST_RECENT_AMOUNT: "MOST_RECENT_AMOUNT";
36
+ MOST_RECENT_DATE: "MOST_RECENT_DATE";
37
+ NAME_BRAND: "NAME_BRAND";
38
+ NEXT_DUE_AT: "NEXT_DUE_AT";
39
+ RECENT_INVESTMENT_AT: "RECENT_INVESTMENT_AT";
40
+ STAGE: "STAGE";
41
+ STATUS_OPERATING: "STATUS_OPERATING";
42
+ TOTAL_RAISED: "TOTAL_RAISED";
43
+ UPDATED_AT: "UPDATED_AT";
44
+ YEAR_FOUNDED: "YEAR_FOUNDED";
45
+ };
46
+ };
25
47
  sortKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
48
  }, z.core.$strip>;
27
49
  type SortOrderEntityFilterSortableDefinition = z.infer<typeof SortOrderEntityFilterSortableSchemaDefinition>;
@@ -13,7 +13,12 @@ declare const StandardizedClassificationSchemaDefinition: z.ZodObject<{
13
13
  registry: z.ZodUnion<readonly [z.ZodEnum<{
14
14
  editorial: "editorial";
15
15
  standardized: "standardized";
16
- }>, z.ZodString]>;
16
+ }>, z.ZodString]> & {
17
+ enum: {
18
+ editorial: "editorial";
19
+ standardized: "standardized";
20
+ };
21
+ };
17
22
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
18
23
  writable: z.ZodOptional<z.ZodBoolean>;
19
24
  }, z.core.$strip>;
@@ -8,7 +8,15 @@ declare const StrictUrlLookupConflictSchemaDefinition: z.ZodObject<{
8
8
  NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
9
9
  STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
10
10
  URL_DUPLICATE: "URL_DUPLICATE";
11
- }>, z.ZodString]>;
11
+ }>, z.ZodString]> & {
12
+ enum: {
13
+ CLASSIFICATION_INACTIVE_TAG: "CLASSIFICATION_INACTIVE_TAG";
14
+ DUPLICATE_CREATE_REVIEW: "DUPLICATE_CREATE_REVIEW";
15
+ NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
16
+ STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
17
+ URL_DUPLICATE: "URL_DUPLICATE";
18
+ };
19
+ };
12
20
  hint: z.ZodString;
13
21
  normalizedUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
22
  url: z.ZodString;
@@ -24,7 +24,7 @@ import { z } from "zod/v4";
24
24
  * @contractShape unique.id-type
25
25
  * @contractRole canonical
26
26
  */
27
- export declare const UniqueIdTypeSchema: z.ZodEnum<{
27
+ export declare const UniqueIdTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
28
28
  crd: "crd";
29
29
  cusip: "cusip";
30
30
  duns: "duns";
@@ -34,6 +34,18 @@ export declare const UniqueIdTypeSchema: z.ZodEnum<{
34
34
  orcid: "orcid";
35
35
  secCik: "secCik";
36
36
  ticker: "ticker";
37
- }>;
37
+ }>, z.ZodString]> & {
38
+ enum: {
39
+ crd: "crd";
40
+ cusip: "cusip";
41
+ duns: "duns";
42
+ ein: "ein";
43
+ isin: "isin";
44
+ lei: "lei";
45
+ orcid: "orcid";
46
+ secCik: "secCik";
47
+ ticker: "ticker";
48
+ };
49
+ };
38
50
  export type UniqueIdType = z.infer<typeof UniqueIdTypeSchema>;
39
51
  //# sourceMappingURL=id-type.d.ts.map
@@ -1,5 +1,16 @@
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 UniqueIdTypeSchemaKnownMembers = z.enum([
4
+ "ein",
5
+ "secCik",
6
+ "ticker",
7
+ "lei",
8
+ "duns",
9
+ "isin",
10
+ "cusip",
11
+ "crd",
12
+ "orcid",
13
+ ]);
3
14
  /**
4
15
  * External identifier type that maps an owner to a registry id: ein, secCik, ticker, lei, duns, isin, cusip, crd, or orcid.
5
16
  *
@@ -25,15 +36,5 @@ import { z } from "zod/v4";
25
36
  * @contractShape unique.id-type
26
37
  * @contractRole canonical
27
38
  */
28
- export const UniqueIdTypeSchema = z.enum([
29
- "ein",
30
- "secCik",
31
- "ticker",
32
- "lei",
33
- "duns",
34
- "isin",
35
- "cusip",
36
- "crd",
37
- "orcid",
38
- ]);
39
+ export const UniqueIdTypeSchema = Object.assign(z.union([UniqueIdTypeSchemaKnownMembers, z.string()]), { enum: UniqueIdTypeSchemaKnownMembers.enum });
39
40
  //# sourceMappingURL=id-type.js.map