@aventurevc/api-schemas 0.8.177 → 0.8.179

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 (111) 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/catalog-bucket.d.ts +0 -8
  11. package/dist/classification/catalog-bucket.js +0 -4
  12. package/dist/classification/catalog-category.d.ts +0 -6
  13. package/dist/classification/catalog-category.js +0 -4
  14. package/dist/classification/catalog.d.ts +0 -20
  15. package/dist/classification/classification.d.ts +6 -3
  16. package/dist/classification/classification.js +0 -4
  17. package/dist/classification/inactive-tag-details.d.ts +9 -1
  18. package/dist/classification/join-registry.d.ts +6 -1
  19. package/dist/classification/join-registry.js +2 -4
  20. package/dist/content/embedding-match.d.ts +16 -1
  21. package/dist/content/source-type.d.ts +16 -1
  22. package/dist/content/source-type.js +15 -17
  23. package/dist/domain/conflict-type.d.ts +9 -1
  24. package/dist/domain/conflict-type.js +8 -10
  25. package/dist/duplicate/create-review.d.ts +9 -1
  26. package/dist/enrichment/enrichment.d.ts +8 -1
  27. package/dist/enrichment/refusal-type.d.ts +8 -1
  28. package/dist/enrichment/refusal-type.js +7 -4
  29. package/dist/entity/brand.d.ts +0 -76
  30. package/dist/entity/classification-suggestion.d.ts +0 -12
  31. package/dist/entity/classification-suggestion.js +0 -4
  32. package/dist/entity/classification.d.ts +0 -58
  33. package/dist/entity/comparison-signals.d.ts +41 -1
  34. package/dist/entity/detail.d.ts +2 -80
  35. package/dist/entity/enrichment.d.ts +41 -78
  36. package/dist/entity/enrichment.js +0 -2
  37. package/dist/entity/filter-sortable.d.ts +23 -1
  38. package/dist/entity/filter-sortable.js +22 -24
  39. package/dist/entity/funding-detail.d.ts +43 -1
  40. package/dist/entity/funding-detail.js +2 -0
  41. package/dist/entity/fundraise-transaction-entity.d.ts +41 -1
  42. package/dist/entity/fundraise-transaction.d.ts +41 -1
  43. package/dist/entity/investor-participation.d.ts +2 -80
  44. package/dist/entity/list-filter.d.ts +1 -1
  45. package/dist/entity/list-filter.js +2 -2
  46. package/dist/entity/list.d.ts +16 -79
  47. package/dist/entity/natural-search.d.ts +4 -0
  48. package/dist/entity/people-param.js +2 -2
  49. package/dist/entity/relationship.d.ts +41 -1
  50. package/dist/entity/resolution.d.ts +2 -80
  51. package/dist/entity/similarity-result.d.ts +0 -78
  52. package/dist/entity/similarity-summary.d.ts +91 -1
  53. package/dist/entity/similarity-summary.js +4 -1
  54. package/dist/entity/tag.d.ts +0 -6
  55. package/dist/entity/tag.js +0 -4
  56. package/dist/federated/natural-search.d.ts +22 -2
  57. package/dist/federated/natural-search.js +5 -1
  58. package/dist/federated/search.d.ts +2 -314
  59. package/dist/funding/stage.d.ts +42 -1
  60. package/dist/funding/stage.js +41 -42
  61. package/dist/harness/task-input-type.d.ts +6 -1
  62. package/dist/harness/task-input-type.js +2 -1
  63. package/dist/harness/task.d.ts +6 -1
  64. package/dist/help/citation.d.ts +11 -1
  65. package/dist/help/source-type.d.ts +11 -1
  66. package/dist/help/source-type.js +10 -12
  67. package/dist/identification/subject.js +1 -1
  68. package/dist/link/search.d.ts +2 -314
  69. package/dist/lookup/job-mention.d.ts +0 -78
  70. package/dist/lookup/job.d.ts +0 -78
  71. package/dist/mention/lookup.d.ts +0 -78
  72. package/dist/natural/search-result.d.ts +0 -234
  73. package/dist/natural/search.d.ts +22 -2
  74. package/dist/natural/search.js +5 -1
  75. package/dist/news/source-url-conflict.d.ts +9 -1
  76. package/dist/pagination/schemas.d.ts +30 -406
  77. package/dist/person/graph-career-context.d.ts +41 -1
  78. package/dist/person/graph-similar-entity.d.ts +41 -1
  79. package/dist/person/natural-search.d.ts +4 -0
  80. package/dist/person/person.d.ts +16 -1
  81. package/dist/problem/type.d.ts +62 -2
  82. package/dist/problem/type.js +11 -10
  83. package/dist/prose/problem.d.ts +15 -1
  84. package/dist/prose/problem.js +14 -16
  85. package/dist/prose/violation.d.ts +15 -1
  86. package/dist/reasoning/effort.d.ts +10 -1
  87. package/dist/reasoning/effort.js +9 -4
  88. package/dist/search/answer-citation.d.ts +9 -1
  89. package/dist/search/evidence-source.d.ts +9 -1
  90. package/dist/search/evidence-source.js +8 -10
  91. package/dist/search/investment.d.ts +16 -1
  92. package/dist/search/knowledge-graph-attribute.d.ts +7 -1
  93. package/dist/search/knowledge-graph-fact.d.ts +7 -1
  94. package/dist/search/knowledge-graph-fact.js +2 -4
  95. package/dist/search/mode-execution.d.ts +20 -2
  96. package/dist/search/mode.d.ts +10 -1
  97. package/dist/search/mode.js +11 -4
  98. package/dist/search/passage.d.ts +9 -1
  99. package/dist/search/search.d.ts +7 -1
  100. package/dist/shared/search.d.ts +2 -314
  101. package/dist/sort/order-entity-filter-sortable.d.ts +23 -1
  102. package/dist/standardized/classification.d.ts +6 -3
  103. package/dist/standardized/classification.js +0 -4
  104. package/dist/strict/url-lookup-conflict.d.ts +9 -1
  105. package/dist/unique/id-type.d.ts +14 -2
  106. package/dist/unique/id-type.js +12 -11
  107. package/dist/unique/id.d.ts +14 -2
  108. package/dist/url/duplicate-conflict.d.ts +9 -1
  109. package/dist/web/search-provider.d.ts +7 -1
  110. package/dist/web/search-provider.js +2 -4
  111. 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";
@@ -2,27 +2,21 @@ import { z } from "zod/v4";
2
2
  declare const ClassificationCatalogBucketSchemaDefinition: z.ZodObject<{
3
3
  alias: z.ZodArray<z.ZodString>;
4
4
  bucket: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
- creatable: z.ZodOptional<z.ZodBoolean>;
6
5
  hierarchical: z.ZodBoolean;
7
6
  label: z.ZodString;
8
7
  tag: z.ZodArray<z.ZodIntersection<z.ZodType<{
9
- creatable?: boolean | undefined;
10
8
  isCurrent?: boolean | null | undefined;
11
9
  isPrimary?: boolean | null | undefined;
12
10
  name: string;
13
11
  registry: string;
14
- writable?: boolean | undefined;
15
12
  }, import("./classification.ts").ClassificationSchemaInput, z.core.$ZodTypeInternals<{
16
- creatable?: boolean | undefined;
17
13
  isCurrent?: boolean | null | undefined;
18
14
  isPrimary?: boolean | null | undefined;
19
15
  name: string;
20
16
  registry: string;
21
- writable?: boolean | undefined;
22
17
  }, import("./classification.ts").ClassificationSchemaInput>>, z.ZodObject<{
23
18
  bucket: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
19
  classificationId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
25
- creatable: z.ZodOptional<z.ZodBoolean>;
26
20
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
27
21
  id: z.ZodInt;
28
22
  isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -31,11 +25,9 @@ declare const ClassificationCatalogBucketSchemaDefinition: z.ZodObject<{
31
25
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
26
  type: z.ZodString;
33
27
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
34
- writable: z.ZodOptional<z.ZodBoolean>;
35
28
  }, z.core.$strip>>>;
36
29
  tagCount: z.ZodInt;
37
30
  type: z.ZodString;
38
- writable: z.ZodOptional<z.ZodBoolean>;
39
31
  }, z.core.$strip>;
40
32
  type ClassificationCatalogBucketDefinition = z.infer<typeof ClassificationCatalogBucketSchemaDefinition>;
41
33
  export interface ClassificationCatalogBucketSchemaInput extends z.input<typeof ClassificationCatalogBucketSchemaDefinition> {
@@ -6,8 +6,6 @@ const ClassificationCatalogBucketSchemaDefinition = z.object({
6
6
  alias: z.array(z.string()),
7
7
  /** Canonical classification bucket key. */
8
8
  bucket: z.string().nullish(),
9
- /** Whether missing values in this bucket can be created by name. */
10
- creatable: z.boolean().optional(),
11
9
  /** Whether the bucket has hierarchy semantics. */
12
10
  hierarchical: z.boolean(),
13
11
  /** Human-readable bucket label (e.g. 'Revenue Model'). */
@@ -18,8 +16,6 @@ const ClassificationCatalogBucketSchemaDefinition = z.object({
18
16
  tagCount: z.int(),
19
17
  /** Canonical wire value — use as ?type= for /tags, as ?bucketType= for /catalog, and as Tag.type when round-tripping. Matches Tag.type returned in this bucket's tag[]. */
20
18
  type: z.string(),
21
- /** Whether existing rows in this bucket can be joined. */
22
- writable: z.boolean().optional(),
23
19
  });
24
20
  /**
25
21
  * Classification bucket with active registry tags and accepted-spelling aliases.
@@ -6,7 +6,6 @@ declare const ClassificationCatalogCategorySchemaDefinition: z.ZodObject<{
6
6
  category: string;
7
7
  classificationId?: number | null | undefined;
8
8
  code?: number | null | undefined;
9
- creatable?: boolean | undefined;
10
9
  createdAt?: string | null | undefined;
11
10
  id: number;
12
11
  isCurrent?: boolean | null | undefined;
@@ -15,12 +14,10 @@ declare const ClassificationCatalogCategorySchemaDefinition: z.ZodObject<{
15
14
  name: string;
16
15
  registry: string;
17
16
  updatedAt?: string | null | undefined;
18
- writable?: boolean | undefined;
19
17
  }, import("../standardized/classification.ts").StandardizedClassificationSchemaInput, z.core.$ZodTypeInternals<{
20
18
  category: string;
21
19
  classificationId?: number | null | undefined;
22
20
  code?: number | null | undefined;
23
- creatable?: boolean | undefined;
24
21
  createdAt?: string | null | undefined;
25
22
  id: number;
26
23
  isCurrent?: boolean | null | undefined;
@@ -29,13 +26,10 @@ declare const ClassificationCatalogCategorySchemaDefinition: z.ZodObject<{
29
26
  name: string;
30
27
  registry: string;
31
28
  updatedAt?: string | null | undefined;
32
- writable?: boolean | undefined;
33
29
  }, import("../standardized/classification.ts").StandardizedClassificationSchemaInput>>>;
34
30
  classificationCount: z.ZodInt;
35
- creatable: z.ZodOptional<z.ZodBoolean>;
36
31
  hierarchical: z.ZodBoolean;
37
32
  label: z.ZodString;
38
- writable: z.ZodOptional<z.ZodBoolean>;
39
33
  }, z.core.$strip>;
40
34
  type ClassificationCatalogCategoryDefinition = z.infer<typeof ClassificationCatalogCategorySchemaDefinition>;
41
35
  export interface ClassificationCatalogCategorySchemaInput extends z.input<typeof ClassificationCatalogCategorySchemaDefinition> {
@@ -10,14 +10,10 @@ const ClassificationCatalogCategorySchemaDefinition = z.object({
10
10
  classification: z.array(StandardizedClassificationSchema),
11
11
  /** Total standardized classifications in this category. */
12
12
  classificationCount: z.int(),
13
- /** Whether missing values in this category can be created by name. */
14
- creatable: z.boolean().optional(),
15
13
  /** Whether the category has hierarchy semantics. */
16
14
  hierarchical: z.boolean(),
17
15
  /** Human-readable category label. */
18
16
  label: z.string(),
19
- /** Whether existing rows in this category can be joined. */
20
- writable: z.boolean().optional(),
21
17
  });
22
18
  /**
23
19
  * Standardized classification category with accepted spellings and registry rows.
@@ -3,20 +3,16 @@ declare const ClassificationCatalogSchemaDefinition: z.ZodObject<{
3
3
  bucket: z.ZodArray<z.ZodType<{
4
4
  alias: string[];
5
5
  bucket?: string | null | undefined;
6
- creatable?: boolean | undefined;
7
6
  hierarchical: boolean;
8
7
  label: string;
9
8
  tag: ({
10
- creatable?: boolean | undefined;
11
9
  isCurrent?: boolean | null | undefined;
12
10
  isPrimary?: boolean | null | undefined;
13
11
  name: string;
14
12
  registry: string;
15
- writable?: boolean | undefined;
16
13
  } & {
17
14
  bucket?: string | null | undefined;
18
15
  classificationId?: number | null | undefined;
19
- creatable?: boolean | undefined;
20
16
  createdAt?: string | null | undefined;
21
17
  id: number;
22
18
  isCurrent?: boolean | null | undefined;
@@ -25,28 +21,22 @@ declare const ClassificationCatalogSchemaDefinition: z.ZodObject<{
25
21
  slug?: string | null | undefined;
26
22
  type: string;
27
23
  updatedAt?: string | null | undefined;
28
- writable?: boolean | undefined;
29
24
  })[];
30
25
  tagCount: number;
31
26
  type: string;
32
- writable?: boolean | undefined;
33
27
  }, import("./catalog-bucket.ts").ClassificationCatalogBucketSchemaInput, z.core.$ZodTypeInternals<{
34
28
  alias: string[];
35
29
  bucket?: string | null | undefined;
36
- creatable?: boolean | undefined;
37
30
  hierarchical: boolean;
38
31
  label: string;
39
32
  tag: ({
40
- creatable?: boolean | undefined;
41
33
  isCurrent?: boolean | null | undefined;
42
34
  isPrimary?: boolean | null | undefined;
43
35
  name: string;
44
36
  registry: string;
45
- writable?: boolean | undefined;
46
37
  } & {
47
38
  bucket?: string | null | undefined;
48
39
  classificationId?: number | null | undefined;
49
- creatable?: boolean | undefined;
50
40
  createdAt?: string | null | undefined;
51
41
  id: number;
52
42
  isCurrent?: boolean | null | undefined;
@@ -55,11 +45,9 @@ declare const ClassificationCatalogSchemaDefinition: z.ZodObject<{
55
45
  slug?: string | null | undefined;
56
46
  type: string;
57
47
  updatedAt?: string | null | undefined;
58
- writable?: boolean | undefined;
59
48
  })[];
60
49
  tagCount: number;
61
50
  type: string;
62
- writable?: boolean | undefined;
63
51
  }, import("./catalog-bucket.ts").ClassificationCatalogBucketSchemaInput>>>;
64
52
  category: z.ZodArray<z.ZodType<{
65
53
  alias: string[];
@@ -68,7 +56,6 @@ declare const ClassificationCatalogSchemaDefinition: z.ZodObject<{
68
56
  category: string;
69
57
  classificationId?: number | null | undefined;
70
58
  code?: number | null | undefined;
71
- creatable?: boolean | undefined;
72
59
  createdAt?: string | null | undefined;
73
60
  id: number;
74
61
  isCurrent?: boolean | null | undefined;
@@ -77,13 +64,10 @@ declare const ClassificationCatalogSchemaDefinition: z.ZodObject<{
77
64
  name: string;
78
65
  registry: string;
79
66
  updatedAt?: string | null | undefined;
80
- writable?: boolean | undefined;
81
67
  }[];
82
68
  classificationCount: number;
83
- creatable?: boolean | undefined;
84
69
  hierarchical: boolean;
85
70
  label: string;
86
- writable?: boolean | undefined;
87
71
  }, import("./catalog-category.ts").ClassificationCatalogCategorySchemaInput, z.core.$ZodTypeInternals<{
88
72
  alias: string[];
89
73
  category: string;
@@ -91,7 +75,6 @@ declare const ClassificationCatalogSchemaDefinition: z.ZodObject<{
91
75
  category: string;
92
76
  classificationId?: number | null | undefined;
93
77
  code?: number | null | undefined;
94
- creatable?: boolean | undefined;
95
78
  createdAt?: string | null | undefined;
96
79
  id: number;
97
80
  isCurrent?: boolean | null | undefined;
@@ -100,13 +83,10 @@ declare const ClassificationCatalogSchemaDefinition: z.ZodObject<{
100
83
  name: string;
101
84
  registry: string;
102
85
  updatedAt?: string | null | undefined;
103
- writable?: boolean | undefined;
104
86
  }[];
105
87
  classificationCount: number;
106
- creatable?: boolean | undefined;
107
88
  hierarchical: boolean;
108
89
  label: string;
109
- writable?: boolean | undefined;
110
90
  }, import("./catalog-category.ts").ClassificationCatalogCategorySchemaInput>>>;
111
91
  generatedAt: z.ZodISODateTime;
112
92
  totalBucket: z.ZodInt;
@@ -1,14 +1,17 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const ClassificationSchemaDefinition: z.ZodObject<{
3
- creatable: z.ZodOptional<z.ZodBoolean>;
4
3
  isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
5
4
  isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
6
5
  name: z.ZodString;
7
6
  registry: z.ZodUnion<readonly [z.ZodEnum<{
8
7
  editorial: "editorial";
9
8
  standardized: "standardized";
10
- }>, z.ZodString]>;
11
- writable: z.ZodOptional<z.ZodBoolean>;
9
+ }>, z.ZodString]> & {
10
+ enum: {
11
+ editorial: "editorial";
12
+ standardized: "standardized";
13
+ };
14
+ };
12
15
  }, z.core.$strip>;
13
16
  type ClassificationDefinition = z.infer<typeof ClassificationSchemaDefinition>;
14
17
  export interface ClassificationSchemaInput extends z.input<typeof ClassificationSchemaDefinition> {
@@ -2,16 +2,12 @@
2
2
  import { z } from "zod/v4";
3
3
  import { ClassificationJoinRegistrySchema } from "./join-registry.js";
4
4
  const ClassificationSchemaDefinition = z.object({
5
- /** Whether a missing value can be created by name. */
6
- creatable: z.boolean().optional(),
7
5
  isCurrent: z.boolean().nullish(),
8
6
  isPrimary: z.boolean().nullish(),
9
7
  /** Display name. Capped to the standardized taxonomy storage limit because this shared read contract covers NAICS/SIC/ISIC-style classification labels as well as editorial tags. */
10
8
  name: z.string().max(255),
11
9
  /** Join registry this classification belongs to; pass it as registry when reading or changing the join by classificationId. */
12
10
  registry: ClassificationJoinRegistrySchema,
13
- /** Whether this existing classification can be joined. */
14
- writable: z.boolean().optional(),
15
11
  });
16
12
  /**
17
13
  * @openapiSchema Classification
@@ -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;