@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
@@ -5,7 +5,7 @@ const AgentHelpQuestionSchemaDefinition = z.object({
5
5
  /** Optional supported model for the answer. Omit it to use the default; an unsupported model answers 422. */
6
6
  model: z.string().nullish(),
7
7
  /** The question to answer, in natural language. */
8
- question: z.string().max(2000),
8
+ question: z.string().min(1),
9
9
  /** True recommends the operation or workflow that does what the question asks, or asks a clarifying question, instead of writing an answer. It ignores model and has its own per-account limit. */
10
10
  resolve: z.boolean().optional(),
11
11
  /** Optional scope restricting which operations the answer may recommend; null means all. */
@@ -12,7 +12,16 @@ declare const BillingCatalogPlanSchemaDefinition: z.ZodObject<{
12
12
  PRO_YEARLY: "PRO_YEARLY";
13
13
  PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
14
14
  UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
15
- }>, z.ZodString]>;
15
+ }>, z.ZodString]> & {
16
+ enum: {
17
+ PLUS_MONTHLY: "PLUS_MONTHLY";
18
+ PLUS_YEARLY: "PLUS_YEARLY";
19
+ PRO_MONTHLY: "PRO_MONTHLY";
20
+ PRO_YEARLY: "PRO_YEARLY";
21
+ PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
22
+ UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
23
+ };
24
+ };
16
25
  tier: z.ZodEnum<{
17
26
  ESSENTIAL: "ESSENTIAL";
18
27
  PLUS: "PLUS";
@@ -7,7 +7,16 @@ declare const BillingCheckoutMutationSchemaDefinition: z.ZodObject<{
7
7
  PRO_YEARLY: "PRO_YEARLY";
8
8
  PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
9
9
  UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
10
- }>, z.ZodString]>;
10
+ }>, z.ZodString]> & {
11
+ enum: {
12
+ PLUS_MONTHLY: "PLUS_MONTHLY";
13
+ PLUS_YEARLY: "PLUS_YEARLY";
14
+ PRO_MONTHLY: "PRO_MONTHLY";
15
+ PRO_YEARLY: "PRO_YEARLY";
16
+ PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
17
+ UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
18
+ };
19
+ };
11
20
  uiMode: z.ZodOptional<z.ZodEnum<{
12
21
  ELEMENTS: "ELEMENTS";
13
22
  HOSTED_PAGE: "HOSTED_PAGE";
@@ -9,7 +9,16 @@ declare const BillingCheckoutSchemaDefinition: z.ZodObject<{
9
9
  PRO_YEARLY: "PRO_YEARLY";
10
10
  PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
11
11
  UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
12
- }>, z.ZodString]>;
12
+ }>, z.ZodString]> & {
13
+ enum: {
14
+ PLUS_MONTHLY: "PLUS_MONTHLY";
15
+ PLUS_YEARLY: "PLUS_YEARLY";
16
+ PRO_MONTHLY: "PRO_MONTHLY";
17
+ PRO_YEARLY: "PRO_YEARLY";
18
+ PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
19
+ UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
20
+ };
21
+ };
13
22
  publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
23
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
24
  }, z.core.$strip>;
@@ -7,7 +7,16 @@ declare const BillingPlanChangeMutationSchemaDefinition: z.ZodObject<{
7
7
  PRO_YEARLY: "PRO_YEARLY";
8
8
  PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
9
9
  UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
10
- }>, z.ZodString]>;
10
+ }>, z.ZodString]> & {
11
+ enum: {
12
+ PLUS_MONTHLY: "PLUS_MONTHLY";
13
+ PLUS_YEARLY: "PLUS_YEARLY";
14
+ PRO_MONTHLY: "PRO_MONTHLY";
15
+ PRO_YEARLY: "PRO_YEARLY";
16
+ PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
17
+ UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
18
+ };
19
+ };
11
20
  prorationDate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
21
  }, z.core.$strip>;
13
22
  type BillingPlanChangeMutationDefinition = z.infer<typeof BillingPlanChangeMutationSchemaDefinition>;
@@ -10,7 +10,16 @@ declare const BillingPlanChangeSchemaDefinition: z.ZodObject<{
10
10
  PRO_YEARLY: "PRO_YEARLY";
11
11
  PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
12
12
  UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
13
- }>, z.ZodString]>;
13
+ }>, z.ZodString]> & {
14
+ enum: {
15
+ PLUS_MONTHLY: "PLUS_MONTHLY";
16
+ PLUS_YEARLY: "PLUS_YEARLY";
17
+ PRO_MONTHLY: "PRO_MONTHLY";
18
+ PRO_YEARLY: "PRO_YEARLY";
19
+ PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
20
+ UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
21
+ };
22
+ };
14
23
  publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
24
  }, z.core.$strip>;
16
25
  type BillingPlanChangeDefinition = z.infer<typeof BillingPlanChangeSchemaDefinition>;
@@ -24,6 +24,15 @@ export declare const BillingPlanTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
24
24
  PRO_YEARLY: "PRO_YEARLY";
25
25
  PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
26
26
  UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
27
- }>, z.ZodString]>;
27
+ }>, z.ZodString]> & {
28
+ enum: {
29
+ PLUS_MONTHLY: "PLUS_MONTHLY";
30
+ PLUS_YEARLY: "PLUS_YEARLY";
31
+ PRO_MONTHLY: "PRO_MONTHLY";
32
+ PRO_YEARLY: "PRO_YEARLY";
33
+ PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
34
+ UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
35
+ };
36
+ };
28
37
  export type BillingPlanType = z.infer<typeof BillingPlanTypeSchema>;
29
38
  //# sourceMappingURL=plan-type.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 BillingPlanTypeSchemaKnownMembers = z.enum([
4
+ "PLUS_MONTHLY",
5
+ "PLUS_YEARLY",
6
+ "PRO_MONTHLY",
7
+ "PRO_YEARLY",
8
+ "PRO_YEARLY_PROMOTION",
9
+ "UNLIMITED_MONTHLY",
10
+ ]);
3
11
  /**
4
12
  * Canonical paid billing plan offered by aVenture.
5
13
  *
@@ -18,15 +26,5 @@ import { z } from "zod/v4";
18
26
  * @contractShape billing.plan-type
19
27
  * @contractRole canonical
20
28
  */
21
- export const BillingPlanTypeSchema = z.union([
22
- z.enum([
23
- "PLUS_MONTHLY",
24
- "PLUS_YEARLY",
25
- "PRO_MONTHLY",
26
- "PRO_YEARLY",
27
- "PRO_YEARLY_PROMOTION",
28
- "UNLIMITED_MONTHLY",
29
- ]),
30
- z.string(),
31
- ]);
29
+ export const BillingPlanTypeSchema = Object.assign(z.union([BillingPlanTypeSchemaKnownMembers, z.string()]), { enum: BillingPlanTypeSchemaKnownMembers.enum });
32
30
  //# sourceMappingURL=plan-type.js.map
@@ -165,7 +165,16 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
165
165
  PRO_YEARLY: "PRO_YEARLY";
166
166
  PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
167
167
  UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
168
- }>, z.ZodString]>>>;
168
+ }>, z.ZodString]> & {
169
+ enum: {
170
+ PLUS_MONTHLY: "PLUS_MONTHLY";
171
+ PLUS_YEARLY: "PLUS_YEARLY";
172
+ PRO_MONTHLY: "PRO_MONTHLY";
173
+ PRO_YEARLY: "PRO_YEARLY";
174
+ PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
175
+ UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
176
+ };
177
+ }>>;
169
178
  pendingPlanAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
170
179
  periodEnd: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
171
180
  periodStart: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
@@ -176,7 +185,16 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
176
185
  PRO_YEARLY: "PRO_YEARLY";
177
186
  PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
178
187
  UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
179
- }>, z.ZodString]>>>;
188
+ }>, z.ZodString]> & {
189
+ enum: {
190
+ PLUS_MONTHLY: "PLUS_MONTHLY";
191
+ PLUS_YEARLY: "PLUS_YEARLY";
192
+ PRO_MONTHLY: "PRO_MONTHLY";
193
+ PRO_YEARLY: "PRO_YEARLY";
194
+ PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
195
+ UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
196
+ };
197
+ }>>;
180
198
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
181
199
  APP_STORE: "APP_STORE";
182
200
  STRIPE: "STRIPE";
@@ -7,7 +7,12 @@ declare const ClassificationSchemaDefinition: z.ZodObject<{
7
7
  registry: z.ZodUnion<readonly [z.ZodEnum<{
8
8
  editorial: "editorial";
9
9
  standardized: "standardized";
10
- }>, z.ZodString]>;
10
+ }>, z.ZodString]> & {
11
+ enum: {
12
+ editorial: "editorial";
13
+ standardized: "standardized";
14
+ };
15
+ };
11
16
  writable: z.ZodOptional<z.ZodBoolean>;
12
17
  }, z.core.$strip>;
13
18
  type ClassificationDefinition = z.infer<typeof ClassificationSchemaDefinition>;
@@ -10,7 +10,15 @@ declare const ClassificationInactiveTagDetailsSchemaDefinition: z.ZodObject<{
10
10
  NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
11
11
  STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
12
12
  URL_DUPLICATE: "URL_DUPLICATE";
13
- }>, z.ZodString]>;
13
+ }>, z.ZodString]> & {
14
+ enum: {
15
+ CLASSIFICATION_INACTIVE_TAG: "CLASSIFICATION_INACTIVE_TAG";
16
+ DUPLICATE_CREATE_REVIEW: "DUPLICATE_CREATE_REVIEW";
17
+ NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
18
+ STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
19
+ URL_DUPLICATE: "URL_DUPLICATE";
20
+ };
21
+ };
14
22
  slug: z.ZodString;
15
23
  tagId: z.ZodInt;
16
24
  }, z.core.$strip>;
@@ -33,6 +33,11 @@ import { z } from "zod/v4";
33
33
  export declare const ClassificationJoinRegistrySchema: z.ZodUnion<readonly [z.ZodEnum<{
34
34
  editorial: "editorial";
35
35
  standardized: "standardized";
36
- }>, z.ZodString]>;
36
+ }>, z.ZodString]> & {
37
+ enum: {
38
+ editorial: "editorial";
39
+ standardized: "standardized";
40
+ };
41
+ };
37
42
  export type ClassificationJoinRegistry = z.infer<typeof ClassificationJoinRegistrySchema>;
38
43
  //# sourceMappingURL=join-registry.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 ClassificationJoinRegistrySchemaKnownMembers = z.enum(["editorial", "standardized"]);
3
4
  /**
4
5
  * Entity classification join registry discriminator for paths where editorial and standardized join row ids may collide.
5
6
  *
@@ -31,8 +32,5 @@ import { z } from "zod/v4";
31
32
  * @contractShape classification.join-registry
32
33
  * @contractRole canonical
33
34
  */
34
- export const ClassificationJoinRegistrySchema = z.union([
35
- z.enum(["editorial", "standardized"]),
36
- z.string(),
37
- ]);
35
+ export const ClassificationJoinRegistrySchema = Object.assign(z.union([ClassificationJoinRegistrySchemaKnownMembers, z.string()]), { enum: ClassificationJoinRegistrySchemaKnownMembers.enum });
38
36
  //# sourceMappingURL=join-registry.js.map
@@ -55,7 +55,22 @@ export declare const ContentEmbeddingMatchSchema: z.ZodObject<{
55
55
  service: "service";
56
56
  sourceDocument: "sourceDocument";
57
57
  text: "text";
58
- }>, z.ZodString]>;
58
+ }>, z.ZodString]> & {
59
+ enum: {
60
+ agentHelpDoc: "agentHelpDoc";
61
+ blogPost: "blogPost";
62
+ classificationCode: "classificationCode";
63
+ classificationTag: "classificationTag";
64
+ entity: "entity";
65
+ newsArticle: "newsArticle";
66
+ person: "person";
67
+ product: "product";
68
+ researchSnippet: "researchSnippet";
69
+ service: "service";
70
+ sourceDocument: "sourceDocument";
71
+ text: "text";
72
+ };
73
+ };
59
74
  }, z.core.$strip>;
60
75
  export type ContentEmbeddingMatch = z.infer<typeof ContentEmbeddingMatchSchema>;
61
76
  //# sourceMappingURL=embedding-match.d.ts.map
@@ -45,6 +45,21 @@ export declare const ContentSourceTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
45
45
  service: "service";
46
46
  sourceDocument: "sourceDocument";
47
47
  text: "text";
48
- }>, z.ZodString]>;
48
+ }>, z.ZodString]> & {
49
+ enum: {
50
+ agentHelpDoc: "agentHelpDoc";
51
+ blogPost: "blogPost";
52
+ classificationCode: "classificationCode";
53
+ classificationTag: "classificationTag";
54
+ entity: "entity";
55
+ newsArticle: "newsArticle";
56
+ person: "person";
57
+ product: "product";
58
+ researchSnippet: "researchSnippet";
59
+ service: "service";
60
+ sourceDocument: "sourceDocument";
61
+ text: "text";
62
+ };
63
+ };
49
64
  export type ContentSourceType = z.infer<typeof ContentSourceTypeSchema>;
50
65
  //# sourceMappingURL=source-type.d.ts.map
@@ -1,5 +1,19 @@
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 ContentSourceTypeSchemaKnownMembers = z.enum([
4
+ "entity",
5
+ "person",
6
+ "newsArticle",
7
+ "blogPost",
8
+ "text",
9
+ "classificationTag",
10
+ "classificationCode",
11
+ "product",
12
+ "service",
13
+ "agentHelpDoc",
14
+ "researchSnippet",
15
+ "sourceDocument",
16
+ ]);
3
17
  /**
4
18
  * Discriminator for unified content embedding source partitions
5
19
  *
@@ -33,21 +47,5 @@ import { z } from "zod/v4";
33
47
  * @contractShape content.source-type
34
48
  * @contractRole canonical
35
49
  */
36
- export const ContentSourceTypeSchema = z.union([
37
- z.enum([
38
- "entity",
39
- "person",
40
- "newsArticle",
41
- "blogPost",
42
- "text",
43
- "classificationTag",
44
- "classificationCode",
45
- "product",
46
- "service",
47
- "agentHelpDoc",
48
- "researchSnippet",
49
- "sourceDocument",
50
- ]),
51
- z.string(),
52
- ]);
50
+ export const ContentSourceTypeSchema = Object.assign(z.union([ContentSourceTypeSchemaKnownMembers, z.string()]), { enum: ContentSourceTypeSchemaKnownMembers.enum });
53
51
  //# sourceMappingURL=source-type.js.map
@@ -19,6 +19,14 @@ export declare const DomainConflictTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
19
19
  NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
20
20
  STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
21
21
  URL_DUPLICATE: "URL_DUPLICATE";
22
- }>, z.ZodString]>;
22
+ }>, z.ZodString]> & {
23
+ enum: {
24
+ CLASSIFICATION_INACTIVE_TAG: "CLASSIFICATION_INACTIVE_TAG";
25
+ DUPLICATE_CREATE_REVIEW: "DUPLICATE_CREATE_REVIEW";
26
+ NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
27
+ STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
28
+ URL_DUPLICATE: "URL_DUPLICATE";
29
+ };
30
+ };
23
31
  export type DomainConflictType = z.infer<typeof DomainConflictTypeSchema>;
24
32
  //# sourceMappingURL=conflict-type.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 DomainConflictTypeSchemaKnownMembers = z.enum([
4
+ "URL_DUPLICATE",
5
+ "STRICT_URL_LOOKUP",
6
+ "DUPLICATE_CREATE_REVIEW",
7
+ "CLASSIFICATION_INACTIVE_TAG",
8
+ "NEWS_SOURCE_URL",
9
+ ]);
3
10
  /**
4
11
  * Conflict kind that identifies which details shape a 409 response carries.
5
12
  *
@@ -14,14 +21,5 @@ import { z } from "zod/v4";
14
21
  * @contractShape domain.conflict-type
15
22
  * @contractRole canonical
16
23
  */
17
- export const DomainConflictTypeSchema = z.union([
18
- z.enum([
19
- "URL_DUPLICATE",
20
- "STRICT_URL_LOOKUP",
21
- "DUPLICATE_CREATE_REVIEW",
22
- "CLASSIFICATION_INACTIVE_TAG",
23
- "NEWS_SOURCE_URL",
24
- ]),
25
- z.string(),
26
- ]);
24
+ export const DomainConflictTypeSchema = Object.assign(z.union([DomainConflictTypeSchemaKnownMembers, z.string()]), { enum: DomainConflictTypeSchemaKnownMembers.enum });
27
25
  //# sourceMappingURL=conflict-type.js.map
@@ -27,7 +27,15 @@ declare const DuplicateCreateReviewSchemaDefinition: z.ZodObject<{
27
27
  NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
28
28
  STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
29
29
  URL_DUPLICATE: "URL_DUPLICATE";
30
- }>, z.ZodString]>;
30
+ }>, z.ZodString]> & {
31
+ enum: {
32
+ CLASSIFICATION_INACTIVE_TAG: "CLASSIFICATION_INACTIVE_TAG";
33
+ DUPLICATE_CREATE_REVIEW: "DUPLICATE_CREATE_REVIEW";
34
+ NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
35
+ STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
36
+ URL_DUPLICATE: "URL_DUPLICATE";
37
+ };
38
+ };
31
39
  newsCandidate: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
32
40
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
41
  id: z.ZodInt;
@@ -9,7 +9,14 @@ declare const EnrichmentSchemaDefinition: z.ZodObject<{
9
9
  AMBIGUOUS: "AMBIGUOUS";
10
10
  NOT_FOUND: "NOT_FOUND";
11
11
  SUBSCRIPTION_REQUIRED: "SUBSCRIPTION_REQUIRED";
12
- }>, z.ZodString]>>>;
12
+ }>, z.ZodString]> & {
13
+ enum: {
14
+ ALLOWANCE_EXHAUSTED: "ALLOWANCE_EXHAUSTED";
15
+ AMBIGUOUS: "AMBIGUOUS";
16
+ NOT_FOUND: "NOT_FOUND";
17
+ SUBSCRIPTION_REQUIRED: "SUBSCRIPTION_REQUIRED";
18
+ };
19
+ }>>;
13
20
  run: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
21
  attempt: z.ZodInt;
15
22
  chassis: z.ZodEnum<{
@@ -13,6 +13,13 @@ export declare const EnrichmentRefusalTypeSchema: z.ZodUnion<readonly [z.ZodEnum
13
13
  AMBIGUOUS: "AMBIGUOUS";
14
14
  NOT_FOUND: "NOT_FOUND";
15
15
  SUBSCRIPTION_REQUIRED: "SUBSCRIPTION_REQUIRED";
16
- }>, z.ZodString]>;
16
+ }>, z.ZodString]> & {
17
+ enum: {
18
+ ALLOWANCE_EXHAUSTED: "ALLOWANCE_EXHAUSTED";
19
+ AMBIGUOUS: "AMBIGUOUS";
20
+ NOT_FOUND: "NOT_FOUND";
21
+ SUBSCRIPTION_REQUIRED: "SUBSCRIPTION_REQUIRED";
22
+ };
23
+ };
17
24
  export type EnrichmentRefusalType = z.infer<typeof EnrichmentRefusalTypeSchema>;
18
25
  //# sourceMappingURL=refusal-type.d.ts.map
@@ -1,5 +1,11 @@
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 EnrichmentRefusalTypeSchemaKnownMembers = z.enum([
4
+ "NOT_FOUND",
5
+ "ALLOWANCE_EXHAUSTED",
6
+ "AMBIGUOUS",
7
+ "SUBSCRIPTION_REQUIRED",
8
+ ]);
3
9
  /**
4
10
  * Why a batch enrichment filed no run: NOT_FOUND for an unknown record; ALLOWANCE_EXHAUSTED when the record's company or person research allowance is spent and additional usage is off or at its spend cap or prepaid credit; AMBIGUOUS when the record's profile matches more than one current record; SUBSCRIPTION_REQUIRED when the subscription stopped covering research mid-batch, such as additional usage while past due. Readers accept members they do not yet know
5
11
  *
@@ -9,8 +15,5 @@ import { z } from "zod/v4";
9
15
  * @contractShape enrichment.refusal-type
10
16
  * @contractRole canonical
11
17
  */
12
- export const EnrichmentRefusalTypeSchema = z.union([
13
- z.enum(["NOT_FOUND", "ALLOWANCE_EXHAUSTED", "AMBIGUOUS", "SUBSCRIPTION_REQUIRED"]),
14
- z.string(),
15
- ]);
18
+ export const EnrichmentRefusalTypeSchema = Object.assign(z.union([EnrichmentRefusalTypeSchemaKnownMembers, z.string()]), { enum: EnrichmentRefusalTypeSchemaKnownMembers.enum });
16
19
  //# sourceMappingURL=refusal-type.js.map
@@ -60,7 +60,47 @@ export declare const EntityComparisonSignalsSchema: z.ZodObject<{
60
60
  "Series X": "Series X";
61
61
  "Series Y": "Series Y";
62
62
  "Series Z": "Series Z";
63
- }>, z.ZodString]>>>;
63
+ }>, z.ZodString]> & {
64
+ enum: {
65
+ Acquired: "Acquired";
66
+ "Acquired Subsidiary": "Acquired Subsidiary";
67
+ Angel: "Angel";
68
+ Fund: "Fund";
69
+ Government: "Government";
70
+ "Investment Firm": "Investment Firm";
71
+ "Late Stage Private": "Late Stage Private";
72
+ Nonprofit: "Nonprofit";
73
+ "Pre-Seed": "Pre-Seed";
74
+ Public: "Public";
75
+ Seed: "Seed";
76
+ "Series A": "Series A";
77
+ "Series B": "Series B";
78
+ "Series C": "Series C";
79
+ "Series D": "Series D";
80
+ "Series E": "Series E";
81
+ "Series F": "Series F";
82
+ "Series G": "Series G";
83
+ "Series H": "Series H";
84
+ "Series I": "Series I";
85
+ "Series J": "Series J";
86
+ "Series K": "Series K";
87
+ "Series L": "Series L";
88
+ "Series M": "Series M";
89
+ "Series N": "Series N";
90
+ "Series O": "Series O";
91
+ "Series P": "Series P";
92
+ "Series Q": "Series Q";
93
+ "Series R": "Series R";
94
+ "Series S": "Series S";
95
+ "Series T": "Series T";
96
+ "Series U": "Series U";
97
+ "Series V": "Series V";
98
+ "Series W": "Series W";
99
+ "Series X": "Series X";
100
+ "Series Y": "Series Y";
101
+ "Series Z": "Series Z";
102
+ };
103
+ }>>;
64
104
  ownership: z.ZodArray<z.ZodString>;
65
105
  pricingModel: z.ZodArray<z.ZodString>;
66
106
  sellsTo: z.ZodArray<z.ZodString>;
@@ -1822,7 +1822,7 @@ export declare const EntityDetailSchema: z.ZodObject<{
1822
1822
  createdAt: string;
1823
1823
  id: number;
1824
1824
  identifier: string;
1825
- idType: "crd" | "cusip" | "duns" | "ein" | "isin" | "lei" | "orcid" | "secCik" | "ticker";
1825
+ idType: string;
1826
1826
  owner: {
1827
1827
  entityId?: string | null | undefined;
1828
1828
  personId?: string | null | undefined;
@@ -1833,7 +1833,7 @@ export declare const EntityDetailSchema: z.ZodObject<{
1833
1833
  createdAt: string;
1834
1834
  id: number;
1835
1835
  identifier: string;
1836
- idType: "crd" | "cusip" | "duns" | "ein" | "isin" | "lei" | "orcid" | "secCik" | "ticker";
1836
+ idType: string;
1837
1837
  owner: {
1838
1838
  entityId?: string | null | undefined;
1839
1839
  personId?: string | null | undefined;
@@ -504,7 +504,47 @@ declare const EntityEnrichmentSchemaDefinition: z.ZodObject<{
504
504
  "Series X": "Series X";
505
505
  "Series Y": "Series Y";
506
506
  "Series Z": "Series Z";
507
- }>, z.ZodString]>>>;
507
+ }>, z.ZodString]> & {
508
+ enum: {
509
+ Acquired: "Acquired";
510
+ "Acquired Subsidiary": "Acquired Subsidiary";
511
+ Angel: "Angel";
512
+ Fund: "Fund";
513
+ Government: "Government";
514
+ "Investment Firm": "Investment Firm";
515
+ "Late Stage Private": "Late Stage Private";
516
+ Nonprofit: "Nonprofit";
517
+ "Pre-Seed": "Pre-Seed";
518
+ Public: "Public";
519
+ Seed: "Seed";
520
+ "Series A": "Series A";
521
+ "Series B": "Series B";
522
+ "Series C": "Series C";
523
+ "Series D": "Series D";
524
+ "Series E": "Series E";
525
+ "Series F": "Series F";
526
+ "Series G": "Series G";
527
+ "Series H": "Series H";
528
+ "Series I": "Series I";
529
+ "Series J": "Series J";
530
+ "Series K": "Series K";
531
+ "Series L": "Series L";
532
+ "Series M": "Series M";
533
+ "Series N": "Series N";
534
+ "Series O": "Series O";
535
+ "Series P": "Series P";
536
+ "Series Q": "Series Q";
537
+ "Series R": "Series R";
538
+ "Series S": "Series S";
539
+ "Series T": "Series T";
540
+ "Series U": "Series U";
541
+ "Series V": "Series V";
542
+ "Series W": "Series W";
543
+ "Series X": "Series X";
544
+ "Series Y": "Series Y";
545
+ "Series Z": "Series Z";
546
+ };
547
+ }>>;
508
548
  totalRaised: z.ZodNumber;
509
549
  totalRaisedUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
510
550
  unconvertedRoundCount: z.ZodInt;
@@ -34,6 +34,28 @@ export declare const EntityFilterSortableSchema: z.ZodUnion<readonly [z.ZodEnum<
34
34
  TOTAL_RAISED: "TOTAL_RAISED";
35
35
  UPDATED_AT: "UPDATED_AT";
36
36
  YEAR_FOUNDED: "YEAR_FOUNDED";
37
- }>, z.ZodString]>;
37
+ }>, z.ZodString]> & {
38
+ enum: {
39
+ ACCELERATOR_BRAND: "ACCELERATOR_BRAND";
40
+ ACCELERATOR_COHORT: "ACCELERATOR_COHORT";
41
+ AMOUNT_INVESTED: "AMOUNT_INVESTED";
42
+ CREATED_AT: "CREATED_AT";
43
+ DATA_COMPLETION_COVERAGE: "DATA_COMPLETION_COVERAGE";
44
+ EMPLOYEE_COUNT: "EMPLOYEE_COUNT";
45
+ HEADQUARTERS_COUNTRY: "HEADQUARTERS_COUNTRY";
46
+ ID: "ID";
47
+ LATEST_VALUATION: "LATEST_VALUATION";
48
+ MOST_RECENT_AMOUNT: "MOST_RECENT_AMOUNT";
49
+ MOST_RECENT_DATE: "MOST_RECENT_DATE";
50
+ NAME_BRAND: "NAME_BRAND";
51
+ NEXT_DUE_AT: "NEXT_DUE_AT";
52
+ RECENT_INVESTMENT_AT: "RECENT_INVESTMENT_AT";
53
+ STAGE: "STAGE";
54
+ STATUS_OPERATING: "STATUS_OPERATING";
55
+ TOTAL_RAISED: "TOTAL_RAISED";
56
+ UPDATED_AT: "UPDATED_AT";
57
+ YEAR_FOUNDED: "YEAR_FOUNDED";
58
+ };
59
+ };
38
60
  export type EntityFilterSortable = z.infer<typeof EntityFilterSortableSchema>;
39
61
  //# sourceMappingURL=filter-sortable.d.ts.map