@aventurevc/api-schemas 0.8.176 → 0.8.177

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 (76) hide show
  1. package/dist/agent/help-question.d.ts +0 -1
  2. package/dist/agent/help-question.js +0 -2
  3. package/dist/agent/help.d.ts +5 -5
  4. package/dist/agent/task-preset-catalog.d.ts +29 -0
  5. package/dist/agent/task-preset-catalog.js +17 -0
  6. package/dist/agent/task-preset-phase.d.ts +16 -0
  7. package/dist/agent/task-preset-phase.js +13 -0
  8. package/dist/agent/task-preset.d.ts +29 -0
  9. package/dist/agent/task-preset.js +24 -0
  10. package/dist/classification/catalog-bucket.d.ts +10 -8
  11. package/dist/classification/catalog-bucket.js +2 -2
  12. package/dist/classification/catalog-category.d.ts +10 -8
  13. package/dist/classification/catalog-category.js +2 -2
  14. package/dist/classification/catalog.d.ts +26 -22
  15. package/dist/classification/classification.d.ts +6 -2
  16. package/dist/classification/classification.js +7 -2
  17. package/dist/classification/inactive-tag-details.d.ts +2 -2
  18. package/dist/classification/inactive-tag-details.js +1 -1
  19. package/dist/classification/join-registry.d.ts +38 -0
  20. package/dist/classification/join-registry.js +38 -0
  21. package/dist/domain/conflict-details.d.ts +12 -12
  22. package/dist/duplicate/create-review.d.ts +4 -4
  23. package/dist/duplicate/create-review.js +1 -1
  24. package/dist/entity/brand.d.ts +98 -78
  25. package/dist/entity/classification-suggestion.d.ts +18 -14
  26. package/dist/entity/classification-suggestion.js +2 -2
  27. package/dist/entity/classification.d.ts +80 -60
  28. package/dist/entity/detail.d.ts +100 -80
  29. package/dist/entity/detail.js +2 -2
  30. package/dist/entity/enrichment.d.ts +99 -79
  31. package/dist/entity/enrichment.js +2 -1
  32. package/dist/entity/investor-participation.d.ts +100 -80
  33. package/dist/entity/list.d.ts +100 -80
  34. package/dist/entity/resolution.d.ts +100 -80
  35. package/dist/entity/search-param.js +1 -1
  36. package/dist/entity/similarity-result.d.ts +100 -80
  37. package/dist/entity/tag.d.ts +8 -6
  38. package/dist/entity/tag.js +2 -2
  39. package/dist/federated/search.d.ts +400 -320
  40. package/dist/harness/run-create.d.ts +1 -1
  41. package/dist/harness/run-create.js +5 -5
  42. package/dist/harness/task-plan-step.d.ts +2 -2
  43. package/dist/harness/task-plan.d.ts +5 -5
  44. package/dist/harness/task-plan.js +3 -3
  45. package/dist/harness/task-step.d.ts +1 -1
  46. package/dist/harness/task-step.js +1 -1
  47. package/dist/help/resolution.d.ts +5 -5
  48. package/dist/http/problem-detail.d.ts +14 -14
  49. package/dist/http/problem-detail.js +34 -31
  50. package/dist/identification/candidate.d.ts +2 -2
  51. package/dist/identification/identification.d.ts +8 -13
  52. package/dist/identification/identification.js +0 -2
  53. package/dist/link/search.d.ts +400 -320
  54. package/dist/lookup/job-mention.d.ts +108 -93
  55. package/dist/lookup/job.d.ts +116 -103
  56. package/dist/mention/lookup.d.ts +108 -90
  57. package/dist/natural/search-result.d.ts +300 -240
  58. package/dist/news/source-url-conflict.d.ts +2 -2
  59. package/dist/news/source-url-conflict.js +1 -1
  60. package/dist/openapi-component-manifest.js +13 -1
  61. package/dist/pagination/schemas.d.ts +516 -412
  62. package/dist/research/finding.js +1 -1
  63. package/dist/search/duplicate-candidate-score.d.ts +1 -1
  64. package/dist/search/duplicate-candidate-score.js +1 -1
  65. package/dist/shared/search.d.ts +400 -320
  66. package/dist/standardized/classification.d.ts +7 -3
  67. package/dist/standardized/classification.js +8 -5
  68. package/dist/strict/url-lookup-conflict.d.ts +2 -2
  69. package/dist/strict/url-lookup-conflict.js +1 -1
  70. package/dist/system/status.d.ts +1 -20
  71. package/dist/system/status.js +1 -20
  72. package/dist/url/duplicate-conflict.d.ts +2 -2
  73. package/dist/url/duplicate-conflict.js +1 -1
  74. package/package.json +1 -1
  75. package/dist/uptime/uptime.d.ts +0 -23
  76. package/dist/uptime/uptime.js +0 -23
@@ -1,6 +1,5 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const AgentHelpQuestionSchemaDefinition: z.ZodObject<{
3
- includePrivate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
4
3
  model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
4
  question: z.ZodString;
6
5
  resolve: z.ZodOptional<z.ZodBoolean>;
@@ -2,8 +2,6 @@
2
2
  import { z } from "zod/v4";
3
3
  import { HelpScopeSchema } from "../help/scope.js";
4
4
  const AgentHelpQuestionSchemaDefinition = z.object({
5
- /** False limits answers to operations every account can run; omit it to match your account's access. */
6
- includePrivate: z.boolean().nullish(),
7
5
  /** Optional supported model for the answer. Omit it to use the default; an unsupported model answers 422. */
8
6
  model: z.string().nullish(),
9
7
  /** The question to answer, in natural language. */
@@ -39,8 +39,8 @@ declare const AgentHelpSchemaDefinition: z.ZodObject<{
39
39
  probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
40
  taskKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  taskPlan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
42
- catalogRevision: z.ZodInt;
43
- gateId: z.ZodArray<z.ZodString>;
42
+ catalogRevision: z.ZodOptional<z.ZodInt>;
43
+ gateId: z.ZodOptional<z.ZodArray<z.ZodString>>;
44
44
  input: z.ZodArray<z.ZodType<{
45
45
  description: string;
46
46
  key: string;
@@ -56,7 +56,7 @@ declare const AgentHelpSchemaDefinition: z.ZodObject<{
56
56
  step: {
57
57
  instruction: string;
58
58
  operationId: string;
59
- stepKey: string;
59
+ stepKey?: string | undefined;
60
60
  };
61
61
  writeGuidance?: {
62
62
  body: string;
@@ -72,7 +72,7 @@ declare const AgentHelpSchemaDefinition: z.ZodObject<{
72
72
  step: {
73
73
  instruction: string;
74
74
  operationId: string;
75
- stepKey: string;
75
+ stepKey?: string | undefined;
76
76
  };
77
77
  writeGuidance?: {
78
78
  body: string;
@@ -83,7 +83,7 @@ declare const AgentHelpSchemaDefinition: z.ZodObject<{
83
83
  typeCatalog: string;
84
84
  } | null | undefined;
85
85
  }, import("../harness/task-plan-step.ts").HarnessTaskPlanStepSchemaInput>>>;
86
- taskKey: z.ZodString;
86
+ taskKey: z.ZodOptional<z.ZodString>;
87
87
  }, z.core.$strip>>>;
88
88
  }, z.core.$strip>>>;
89
89
  }, z.core.$strip>;
@@ -0,0 +1,29 @@
1
+ import { z } from "zod/v4";
2
+ declare const AgentTaskPresetCatalogSchemaDefinition: z.ZodObject<{
3
+ taskPreset: z.ZodArray<z.ZodType<{
4
+ execution: "FULL" | "MICRO";
5
+ key: string;
6
+ name: string;
7
+ phase: "FINAL" | "PRIMARY";
8
+ }, import("./task-preset.ts").AgentTaskPresetSchemaInput, z.core.$ZodTypeInternals<{
9
+ execution: "FULL" | "MICRO";
10
+ key: string;
11
+ name: string;
12
+ phase: "FINAL" | "PRIMARY";
13
+ }, import("./task-preset.ts").AgentTaskPresetSchemaInput>>>;
14
+ }, z.core.$strip>;
15
+ type AgentTaskPresetCatalogDefinition = z.infer<typeof AgentTaskPresetCatalogSchemaDefinition>;
16
+ export interface AgentTaskPresetCatalogSchemaInput extends z.input<typeof AgentTaskPresetCatalogSchemaDefinition> {
17
+ }
18
+ /**
19
+ * Research presets available to the caller.
20
+ *
21
+ * @openapiSchema AgentTaskPresetCatalog
22
+ * @endpoint GET /v1/research-runs/presets
23
+ * @contractShape agent.task-preset-catalog
24
+ * @contractRole canonical
25
+ */
26
+ export declare const AgentTaskPresetCatalogSchema: z.ZodType<AgentTaskPresetCatalogDefinition, AgentTaskPresetCatalogSchemaInput>;
27
+ export type AgentTaskPresetCatalog = z.infer<typeof AgentTaskPresetCatalogSchema>;
28
+ export {};
29
+ //# sourceMappingURL=task-preset-catalog.d.ts.map
@@ -0,0 +1,17 @@
1
+ // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
+ import { z } from "zod/v4";
3
+ import { AgentTaskPresetSchema } from "./task-preset.js";
4
+ const AgentTaskPresetCatalogSchemaDefinition = z.object({
5
+ /** Available task presets. Field name is singular by repository convention even though the value is a collection. */
6
+ taskPreset: z.array(AgentTaskPresetSchema),
7
+ });
8
+ /**
9
+ * Research presets available to the caller.
10
+ *
11
+ * @openapiSchema AgentTaskPresetCatalog
12
+ * @endpoint GET /v1/research-runs/presets
13
+ * @contractShape agent.task-preset-catalog
14
+ * @contractRole canonical
15
+ */
16
+ export const AgentTaskPresetCatalogSchema = AgentTaskPresetCatalogSchemaDefinition;
17
+ //# sourceMappingURL=task-preset-catalog.js.map
@@ -0,0 +1,16 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Dispatch phase governing intra-job ordering when presets are multi-selected.
4
+ *
5
+ * @openapiSchema AgentTaskPresetPhase
6
+ * @endpoint GET /v1/research-runs/presets
7
+ * @usedBySchema AgentTaskPresetSchema
8
+ * @contractShape agent.task-preset-phase
9
+ * @contractRole canonical
10
+ */
11
+ export declare const AgentTaskPresetPhaseSchema: z.ZodEnum<{
12
+ FINAL: "FINAL";
13
+ PRIMARY: "PRIMARY";
14
+ }>;
15
+ export type AgentTaskPresetPhase = z.infer<typeof AgentTaskPresetPhaseSchema>;
16
+ //# sourceMappingURL=task-preset-phase.d.ts.map
@@ -0,0 +1,13 @@
1
+ // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
+ import { z } from "zod/v4";
3
+ /**
4
+ * Dispatch phase governing intra-job ordering when presets are multi-selected.
5
+ *
6
+ * @openapiSchema AgentTaskPresetPhase
7
+ * @endpoint GET /v1/research-runs/presets
8
+ * @usedBySchema AgentTaskPresetSchema
9
+ * @contractShape agent.task-preset-phase
10
+ * @contractRole canonical
11
+ */
12
+ export const AgentTaskPresetPhaseSchema = z.enum(["PRIMARY", "FINAL"]);
13
+ //# sourceMappingURL=task-preset-phase.js.map
@@ -0,0 +1,29 @@
1
+ import { z } from "zod/v4";
2
+ declare const AgentTaskPresetSchemaDefinition: z.ZodObject<{
3
+ execution: z.ZodEnum<{
4
+ FULL: "FULL";
5
+ MICRO: "MICRO";
6
+ }>;
7
+ key: z.ZodString;
8
+ name: z.ZodString;
9
+ phase: z.ZodEnum<{
10
+ FINAL: "FINAL";
11
+ PRIMARY: "PRIMARY";
12
+ }>;
13
+ }, z.core.$strip>;
14
+ type AgentTaskPresetDefinition = z.infer<typeof AgentTaskPresetSchemaDefinition>;
15
+ export interface AgentTaskPresetSchemaInput extends z.input<typeof AgentTaskPresetSchemaDefinition> {
16
+ }
17
+ /**
18
+ * A research preset: one named topic a research run can focus on.
19
+ *
20
+ * @openapiSchema AgentTaskPreset
21
+ * @endpoint GET /v1/research-runs/presets
22
+ * @usedBySchema AgentTaskPresetCatalogSchema
23
+ * @contractShape agent.task-preset
24
+ * @contractRole canonical
25
+ */
26
+ export declare const AgentTaskPresetSchema: z.ZodType<AgentTaskPresetDefinition, AgentTaskPresetSchemaInput>;
27
+ export type AgentTaskPreset = z.infer<typeof AgentTaskPresetSchema>;
28
+ export {};
29
+ //# sourceMappingURL=task-preset.d.ts.map
@@ -0,0 +1,24 @@
1
+ // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
+ import { z } from "zod/v4";
3
+ import { AgentTaskPresetPhaseSchema } from "./task-preset-phase.js";
4
+ const AgentTaskPresetSchemaDefinition = z.object({
5
+ /** How the preset runs: FULL focuses a full research run on its topic; MICRO runs it as one bounded research task. */
6
+ execution: z.enum(["FULL", "MICRO"]),
7
+ /** Stable key to send in taskPresetKey. */
8
+ key: z.string(),
9
+ /** Display name of the topic the preset researches. */
10
+ name: z.string(),
11
+ /** Dispatch phase for intra-job ordering: PRIMARY presets run first; FINAL presets defer until the primary wave completes so they read the freshly-updated entity dossier. */
12
+ phase: AgentTaskPresetPhaseSchema,
13
+ });
14
+ /**
15
+ * A research preset: one named topic a research run can focus on.
16
+ *
17
+ * @openapiSchema AgentTaskPreset
18
+ * @endpoint GET /v1/research-runs/presets
19
+ * @usedBySchema AgentTaskPresetCatalogSchema
20
+ * @contractShape agent.task-preset
21
+ * @contractRole canonical
22
+ */
23
+ export const AgentTaskPresetSchema = AgentTaskPresetSchemaDefinition;
24
+ //# sourceMappingURL=task-preset.js.map
@@ -2,25 +2,27 @@ 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.ZodBoolean;
5
+ creatable: z.ZodOptional<z.ZodBoolean>;
6
6
  hierarchical: z.ZodBoolean;
7
7
  label: z.ZodString;
8
8
  tag: z.ZodArray<z.ZodIntersection<z.ZodType<{
9
- creatable: boolean;
9
+ creatable?: boolean | undefined;
10
10
  isCurrent?: boolean | null | undefined;
11
11
  isPrimary?: boolean | null | undefined;
12
12
  name: string;
13
- writable: boolean;
13
+ registry: string;
14
+ writable?: boolean | undefined;
14
15
  }, import("./classification.ts").ClassificationSchemaInput, z.core.$ZodTypeInternals<{
15
- creatable: boolean;
16
+ creatable?: boolean | undefined;
16
17
  isCurrent?: boolean | null | undefined;
17
18
  isPrimary?: boolean | null | undefined;
18
19
  name: string;
19
- writable: boolean;
20
+ registry: string;
21
+ writable?: boolean | undefined;
20
22
  }, import("./classification.ts").ClassificationSchemaInput>>, z.ZodObject<{
21
23
  bucket: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  classificationId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
23
- creatable: z.ZodBoolean;
25
+ creatable: z.ZodOptional<z.ZodBoolean>;
24
26
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
25
27
  id: z.ZodInt;
26
28
  isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -29,11 +31,11 @@ declare const ClassificationCatalogBucketSchemaDefinition: z.ZodObject<{
29
31
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
32
  type: z.ZodString;
31
33
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
32
- writable: z.ZodBoolean;
34
+ writable: z.ZodOptional<z.ZodBoolean>;
33
35
  }, z.core.$strip>>>;
34
36
  tagCount: z.ZodInt;
35
37
  type: z.ZodString;
36
- writable: z.ZodBoolean;
38
+ writable: z.ZodOptional<z.ZodBoolean>;
37
39
  }, z.core.$strip>;
38
40
  type ClassificationCatalogBucketDefinition = z.infer<typeof ClassificationCatalogBucketSchemaDefinition>;
39
41
  export interface ClassificationCatalogBucketSchemaInput extends z.input<typeof ClassificationCatalogBucketSchemaDefinition> {
@@ -7,7 +7,7 @@ const ClassificationCatalogBucketSchemaDefinition = z.object({
7
7
  /** Canonical classification bucket key. */
8
8
  bucket: z.string().nullish(),
9
9
  /** Whether missing values in this bucket can be created by name. */
10
- creatable: z.boolean(),
10
+ creatable: z.boolean().optional(),
11
11
  /** Whether the bucket has hierarchy semantics. */
12
12
  hierarchical: z.boolean(),
13
13
  /** Human-readable bucket label (e.g. 'Revenue Model'). */
@@ -19,7 +19,7 @@ const ClassificationCatalogBucketSchemaDefinition = z.object({
19
19
  /** 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
20
  type: z.string(),
21
21
  /** Whether existing rows in this bucket can be joined. */
22
- writable: z.boolean(),
22
+ writable: z.boolean().optional(),
23
23
  });
24
24
  /**
25
25
  * Classification bucket with active registry tags and accepted-spelling aliases.
@@ -4,36 +4,38 @@ declare const ClassificationCatalogCategorySchemaDefinition: z.ZodObject<{
4
4
  category: z.ZodString;
5
5
  classification: z.ZodArray<z.ZodType<{
6
6
  category: string;
7
+ classificationId?: number | null | undefined;
7
8
  code?: number | null | undefined;
8
- creatable: boolean;
9
+ creatable?: boolean | undefined;
9
10
  createdAt?: string | null | undefined;
10
- entityClassificationId?: number | null | undefined;
11
11
  id: number;
12
12
  isCurrent?: boolean | null | undefined;
13
13
  isPrimary?: boolean | null | undefined;
14
14
  level?: number | null | undefined;
15
15
  name: string;
16
+ registry: string;
16
17
  updatedAt?: string | null | undefined;
17
- writable: boolean;
18
+ writable?: boolean | undefined;
18
19
  }, import("../standardized/classification.ts").StandardizedClassificationSchemaInput, z.core.$ZodTypeInternals<{
19
20
  category: string;
21
+ classificationId?: number | null | undefined;
20
22
  code?: number | null | undefined;
21
- creatable: boolean;
23
+ creatable?: boolean | undefined;
22
24
  createdAt?: string | null | undefined;
23
- entityClassificationId?: number | null | undefined;
24
25
  id: number;
25
26
  isCurrent?: boolean | null | undefined;
26
27
  isPrimary?: boolean | null | undefined;
27
28
  level?: number | null | undefined;
28
29
  name: string;
30
+ registry: string;
29
31
  updatedAt?: string | null | undefined;
30
- writable: boolean;
32
+ writable?: boolean | undefined;
31
33
  }, import("../standardized/classification.ts").StandardizedClassificationSchemaInput>>>;
32
34
  classificationCount: z.ZodInt;
33
- creatable: z.ZodBoolean;
35
+ creatable: z.ZodOptional<z.ZodBoolean>;
34
36
  hierarchical: z.ZodBoolean;
35
37
  label: z.ZodString;
36
- writable: z.ZodBoolean;
38
+ writable: z.ZodOptional<z.ZodBoolean>;
37
39
  }, z.core.$strip>;
38
40
  type ClassificationCatalogCategoryDefinition = z.infer<typeof ClassificationCatalogCategorySchemaDefinition>;
39
41
  export interface ClassificationCatalogCategorySchemaInput extends z.input<typeof ClassificationCatalogCategorySchemaDefinition> {
@@ -11,13 +11,13 @@ const ClassificationCatalogCategorySchemaDefinition = z.object({
11
11
  /** Total standardized classifications in this category. */
12
12
  classificationCount: z.int(),
13
13
  /** Whether missing values in this category can be created by name. */
14
- creatable: z.boolean(),
14
+ creatable: z.boolean().optional(),
15
15
  /** Whether the category has hierarchy semantics. */
16
16
  hierarchical: z.boolean(),
17
17
  /** Human-readable category label. */
18
18
  label: z.string(),
19
19
  /** Whether existing rows in this category can be joined. */
20
- writable: z.boolean(),
20
+ writable: z.boolean().optional(),
21
21
  });
22
22
  /**
23
23
  * Standardized classification category with accepted spellings and registry rows.
@@ -3,19 +3,20 @@ 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;
6
+ creatable?: boolean | undefined;
7
7
  hierarchical: boolean;
8
8
  label: string;
9
9
  tag: ({
10
- creatable: boolean;
10
+ creatable?: boolean | undefined;
11
11
  isCurrent?: boolean | null | undefined;
12
12
  isPrimary?: boolean | null | undefined;
13
13
  name: string;
14
- writable: boolean;
14
+ registry: string;
15
+ writable?: boolean | undefined;
15
16
  } & {
16
17
  bucket?: string | null | undefined;
17
18
  classificationId?: number | null | undefined;
18
- creatable: boolean;
19
+ creatable?: boolean | undefined;
19
20
  createdAt?: string | null | undefined;
20
21
  id: number;
21
22
  isCurrent?: boolean | null | undefined;
@@ -24,27 +25,28 @@ declare const ClassificationCatalogSchemaDefinition: z.ZodObject<{
24
25
  slug?: string | null | undefined;
25
26
  type: string;
26
27
  updatedAt?: string | null | undefined;
27
- writable: boolean;
28
+ writable?: boolean | undefined;
28
29
  })[];
29
30
  tagCount: number;
30
31
  type: string;
31
- writable: boolean;
32
+ writable?: boolean | undefined;
32
33
  }, import("./catalog-bucket.ts").ClassificationCatalogBucketSchemaInput, z.core.$ZodTypeInternals<{
33
34
  alias: string[];
34
35
  bucket?: string | null | undefined;
35
- creatable: boolean;
36
+ creatable?: boolean | undefined;
36
37
  hierarchical: boolean;
37
38
  label: string;
38
39
  tag: ({
39
- creatable: boolean;
40
+ creatable?: boolean | undefined;
40
41
  isCurrent?: boolean | null | undefined;
41
42
  isPrimary?: boolean | null | undefined;
42
43
  name: string;
43
- writable: boolean;
44
+ registry: string;
45
+ writable?: boolean | undefined;
44
46
  } & {
45
47
  bucket?: string | null | undefined;
46
48
  classificationId?: number | null | undefined;
47
- creatable: boolean;
49
+ creatable?: boolean | undefined;
48
50
  createdAt?: string | null | undefined;
49
51
  id: number;
50
52
  isCurrent?: boolean | null | undefined;
@@ -53,56 +55,58 @@ declare const ClassificationCatalogSchemaDefinition: z.ZodObject<{
53
55
  slug?: string | null | undefined;
54
56
  type: string;
55
57
  updatedAt?: string | null | undefined;
56
- writable: boolean;
58
+ writable?: boolean | undefined;
57
59
  })[];
58
60
  tagCount: number;
59
61
  type: string;
60
- writable: boolean;
62
+ writable?: boolean | undefined;
61
63
  }, import("./catalog-bucket.ts").ClassificationCatalogBucketSchemaInput>>>;
62
64
  category: z.ZodArray<z.ZodType<{
63
65
  alias: string[];
64
66
  category: string;
65
67
  classification: {
66
68
  category: string;
69
+ classificationId?: number | null | undefined;
67
70
  code?: number | null | undefined;
68
- creatable: boolean;
71
+ creatable?: boolean | undefined;
69
72
  createdAt?: string | null | undefined;
70
- entityClassificationId?: number | null | undefined;
71
73
  id: number;
72
74
  isCurrent?: boolean | null | undefined;
73
75
  isPrimary?: boolean | null | undefined;
74
76
  level?: number | null | undefined;
75
77
  name: string;
78
+ registry: string;
76
79
  updatedAt?: string | null | undefined;
77
- writable: boolean;
80
+ writable?: boolean | undefined;
78
81
  }[];
79
82
  classificationCount: number;
80
- creatable: boolean;
83
+ creatable?: boolean | undefined;
81
84
  hierarchical: boolean;
82
85
  label: string;
83
- writable: boolean;
86
+ writable?: boolean | undefined;
84
87
  }, import("./catalog-category.ts").ClassificationCatalogCategorySchemaInput, z.core.$ZodTypeInternals<{
85
88
  alias: string[];
86
89
  category: string;
87
90
  classification: {
88
91
  category: string;
92
+ classificationId?: number | null | undefined;
89
93
  code?: number | null | undefined;
90
- creatable: boolean;
94
+ creatable?: boolean | undefined;
91
95
  createdAt?: string | null | undefined;
92
- entityClassificationId?: number | null | undefined;
93
96
  id: number;
94
97
  isCurrent?: boolean | null | undefined;
95
98
  isPrimary?: boolean | null | undefined;
96
99
  level?: number | null | undefined;
97
100
  name: string;
101
+ registry: string;
98
102
  updatedAt?: string | null | undefined;
99
- writable: boolean;
103
+ writable?: boolean | undefined;
100
104
  }[];
101
105
  classificationCount: number;
102
- creatable: boolean;
106
+ creatable?: boolean | undefined;
103
107
  hierarchical: boolean;
104
108
  label: string;
105
- writable: boolean;
109
+ writable?: boolean | undefined;
106
110
  }, import("./catalog-category.ts").ClassificationCatalogCategorySchemaInput>>>;
107
111
  generatedAt: z.ZodISODateTime;
108
112
  totalBucket: z.ZodInt;
@@ -1,10 +1,14 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const ClassificationSchemaDefinition: z.ZodObject<{
3
- creatable: z.ZodBoolean;
3
+ creatable: z.ZodOptional<z.ZodBoolean>;
4
4
  isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
5
5
  isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
6
6
  name: z.ZodString;
7
- writable: z.ZodBoolean;
7
+ registry: z.ZodUnion<readonly [z.ZodEnum<{
8
+ editorial: "editorial";
9
+ standardized: "standardized";
10
+ }>, z.ZodString]>;
11
+ writable: z.ZodOptional<z.ZodBoolean>;
8
12
  }, z.core.$strip>;
9
13
  type ClassificationDefinition = z.infer<typeof ClassificationSchemaDefinition>;
10
14
  export interface ClassificationSchemaInput extends z.input<typeof ClassificationSchemaDefinition> {
@@ -1,12 +1,17 @@
1
1
  // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
2
  import { z } from "zod/v4";
3
+ import { ClassificationJoinRegistrySchema } from "./join-registry.js";
3
4
  const ClassificationSchemaDefinition = z.object({
4
- creatable: z.boolean(),
5
+ /** Whether a missing value can be created by name. */
6
+ creatable: z.boolean().optional(),
5
7
  isCurrent: z.boolean().nullish(),
6
8
  isPrimary: z.boolean().nullish(),
7
9
  /** 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. */
8
10
  name: z.string().max(255),
9
- writable: z.boolean(),
11
+ /** Join registry this classification belongs to; pass it as registry when reading or changing the join by classificationId. */
12
+ registry: ClassificationJoinRegistrySchema,
13
+ /** Whether this existing classification can be joined. */
14
+ writable: z.boolean().optional(),
10
15
  });
11
16
  /**
12
17
  * @openapiSchema Classification
@@ -4,13 +4,13 @@ declare const ClassificationInactiveTagDetailsSchemaDefinition: z.ZodObject<{
4
4
  ATTACH_INACTIVE: "ATTACH_INACTIVE";
5
5
  REACTIVATE: "REACTIVATE";
6
6
  }>>;
7
- conflictType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
7
+ conflictType: z.ZodUnion<readonly [z.ZodEnum<{
8
8
  CLASSIFICATION_INACTIVE_TAG: "CLASSIFICATION_INACTIVE_TAG";
9
9
  DUPLICATE_CREATE_REVIEW: "DUPLICATE_CREATE_REVIEW";
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
14
  slug: z.ZodString;
15
15
  tagId: z.ZodInt;
16
16
  }, z.core.$strip>;
@@ -6,7 +6,7 @@ const ClassificationInactiveTagDetailsSchemaDefinition = z.object({
6
6
  /** Allowed inactiveTagOverride values for this conflict */
7
7
  availableOverrides: z.array(EntityClassificationInactiveTagOverrideSchema),
8
8
  /** Conflict kind that identifies this details shape. */
9
- conflictType: DomainConflictTypeSchema.optional(),
9
+ conflictType: DomainConflictTypeSchema,
10
10
  /** Existing dormant value slug or lookup key */
11
11
  slug: z.string(),
12
12
  /** Existing tag id */
@@ -0,0 +1,38 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Entity classification join registry discriminator for paths where editorial and standardized join row ids may collide.
4
+ *
5
+ * @openapiSchema ClassificationJoinRegistry
6
+ * @endpoint GET /v1/entities
7
+ * @endpoint GET /v1/entities/brand
8
+ * @endpoint GET /v1/entities/classifications/catalog
9
+ * @endpoint GET /v1/entities/classifications/tags
10
+ * @endpoint GET /v1/entities/lookup-exact
11
+ * @endpoint GET /v1/search/link
12
+ * @endpoint GET /v1/entities/{entityId}
13
+ * @endpoint GET /v1/entities/{entityId}/classifications
14
+ * @endpoint GET /v1/entities/{entityId}/classifications/suggestions
15
+ * @endpoint GET /v1/entities/{entityId}/investors
16
+ * @endpoint GET /v1/entities/{entityId}/similar
17
+ * @endpoint GET /v1/lookup-jobs/{jobId}
18
+ * @endpoint GET /v1/search/link/jobs/{jobId}
19
+ * @endpoint GET /v1/search/shared/{id}
20
+ * @endpoint GET /v1/search/shared/slug/{slug}
21
+ * @endpoint POST /v1/entities/lookup-batch
22
+ * @endpoint POST /v1/entities/lookup-matches
23
+ * @endpoint POST /v1/entities/search
24
+ * @endpoint POST /v1/lookup-mentions
25
+ * @endpoint POST /v1/search
26
+ * @endpoint POST /v1/search/natural/entities
27
+ * @endpoint POST /v1/search/shared
28
+ * @usedBySchema ClassificationSchema
29
+ * @usedBySchema StandardizedClassificationSchema
30
+ * @contractShape classification.join-registry
31
+ * @contractRole canonical
32
+ */
33
+ export declare const ClassificationJoinRegistrySchema: z.ZodUnion<readonly [z.ZodEnum<{
34
+ editorial: "editorial";
35
+ standardized: "standardized";
36
+ }>, z.ZodString]>;
37
+ export type ClassificationJoinRegistry = z.infer<typeof ClassificationJoinRegistrySchema>;
38
+ //# sourceMappingURL=join-registry.d.ts.map
@@ -0,0 +1,38 @@
1
+ // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
+ import { z } from "zod/v4";
3
+ /**
4
+ * Entity classification join registry discriminator for paths where editorial and standardized join row ids may collide.
5
+ *
6
+ * @openapiSchema ClassificationJoinRegistry
7
+ * @endpoint GET /v1/entities
8
+ * @endpoint GET /v1/entities/brand
9
+ * @endpoint GET /v1/entities/classifications/catalog
10
+ * @endpoint GET /v1/entities/classifications/tags
11
+ * @endpoint GET /v1/entities/lookup-exact
12
+ * @endpoint GET /v1/search/link
13
+ * @endpoint GET /v1/entities/{entityId}
14
+ * @endpoint GET /v1/entities/{entityId}/classifications
15
+ * @endpoint GET /v1/entities/{entityId}/classifications/suggestions
16
+ * @endpoint GET /v1/entities/{entityId}/investors
17
+ * @endpoint GET /v1/entities/{entityId}/similar
18
+ * @endpoint GET /v1/lookup-jobs/{jobId}
19
+ * @endpoint GET /v1/search/link/jobs/{jobId}
20
+ * @endpoint GET /v1/search/shared/{id}
21
+ * @endpoint GET /v1/search/shared/slug/{slug}
22
+ * @endpoint POST /v1/entities/lookup-batch
23
+ * @endpoint POST /v1/entities/lookup-matches
24
+ * @endpoint POST /v1/entities/search
25
+ * @endpoint POST /v1/lookup-mentions
26
+ * @endpoint POST /v1/search
27
+ * @endpoint POST /v1/search/natural/entities
28
+ * @endpoint POST /v1/search/shared
29
+ * @usedBySchema ClassificationSchema
30
+ * @usedBySchema StandardizedClassificationSchema
31
+ * @contractShape classification.join-registry
32
+ * @contractRole canonical
33
+ */
34
+ export const ClassificationJoinRegistrySchema = z.union([
35
+ z.enum(["editorial", "standardized"]),
36
+ z.string(),
37
+ ]);
38
+ //# sourceMappingURL=join-registry.js.map