@aventurevc/api-schemas 0.8.175 → 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 (82) 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/investors-param.d.ts +1 -0
  34. package/dist/entity/investors-param.js +2 -0
  35. package/dist/entity/list.d.ts +100 -80
  36. package/dist/entity/resolution.d.ts +100 -80
  37. package/dist/entity/search-param.js +1 -1
  38. package/dist/entity/similarity-result.d.ts +100 -80
  39. package/dist/entity/tag.d.ts +8 -6
  40. package/dist/entity/tag.js +2 -2
  41. package/dist/federated/search.d.ts +400 -320
  42. package/dist/harness/run-create.d.ts +1 -1
  43. package/dist/harness/run-create.js +5 -5
  44. package/dist/harness/task-plan-step.d.ts +2 -2
  45. package/dist/harness/task-plan.d.ts +5 -5
  46. package/dist/harness/task-plan.js +3 -3
  47. package/dist/harness/task-step.d.ts +1 -1
  48. package/dist/harness/task-step.js +1 -1
  49. package/dist/help/resolution.d.ts +5 -5
  50. package/dist/help/resolution.js +1 -1
  51. package/dist/http/problem-detail.d.ts +14 -14
  52. package/dist/http/problem-detail.js +34 -31
  53. package/dist/identification/candidate.d.ts +2 -2
  54. package/dist/identification/candidate.js +1 -1
  55. package/dist/identification/identification.d.ts +8 -13
  56. package/dist/identification/identification.js +0 -2
  57. package/dist/identification/subject.js +1 -1
  58. package/dist/link/search.d.ts +400 -320
  59. package/dist/lookup/job-mention.d.ts +108 -93
  60. package/dist/lookup/job-mention.js +1 -1
  61. package/dist/lookup/job.d.ts +116 -103
  62. package/dist/mention/lookup.d.ts +108 -90
  63. package/dist/natural/search-result.d.ts +300 -240
  64. package/dist/news/source-url-conflict.d.ts +2 -2
  65. package/dist/news/source-url-conflict.js +1 -1
  66. package/dist/openapi-component-manifest.js +13 -1
  67. package/dist/pagination/schemas.d.ts +516 -412
  68. package/dist/research/finding.js +1 -1
  69. package/dist/search/duplicate-candidate-score.d.ts +1 -1
  70. package/dist/search/duplicate-candidate-score.js +1 -1
  71. package/dist/shared/search.d.ts +400 -320
  72. package/dist/standardized/classification.d.ts +7 -3
  73. package/dist/standardized/classification.js +8 -5
  74. package/dist/strict/url-lookup-conflict.d.ts +2 -2
  75. package/dist/strict/url-lookup-conflict.js +1 -1
  76. package/dist/system/status.d.ts +1 -20
  77. package/dist/system/status.js +1 -20
  78. package/dist/url/duplicate-conflict.d.ts +2 -2
  79. package/dist/url/duplicate-conflict.js +1 -1
  80. package/package.json +1 -1
  81. package/dist/uptime/uptime.d.ts +0 -23
  82. package/dist/uptime/uptime.js +0 -23
@@ -1,17 +1,21 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const StandardizedClassificationSchemaDefinition: z.ZodObject<{
3
3
  category: z.ZodString;
4
+ classificationId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4
5
  code: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
5
- creatable: z.ZodBoolean;
6
+ creatable: z.ZodOptional<z.ZodBoolean>;
6
7
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
7
- entityClassificationId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
8
8
  id: z.ZodInt;
9
9
  isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
10
  isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
11
11
  level: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
12
12
  name: z.ZodString;
13
+ registry: z.ZodUnion<readonly [z.ZodEnum<{
14
+ editorial: "editorial";
15
+ standardized: "standardized";
16
+ }>, z.ZodString]>;
13
17
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
14
- writable: z.ZodBoolean;
18
+ writable: z.ZodOptional<z.ZodBoolean>;
15
19
  }, z.core.$strip>;
16
20
  type StandardizedClassificationDefinition = z.infer<typeof StandardizedClassificationSchemaDefinition>;
17
21
  export interface StandardizedClassificationSchemaInput extends z.input<typeof StandardizedClassificationSchemaDefinition> {
@@ -1,16 +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 "../classification/join-registry.js";
3
4
  const StandardizedClassificationSchemaDefinition = z.object({
4
5
  /** Standardized category token. */
5
6
  category: z.string(),
7
+ /** Id of this classification on the entity; null in catalog and search results. */
8
+ classificationId: z.int().nullish(),
6
9
  /** Standardized classification code when present. */
7
10
  code: z.int().nullish(),
8
11
  /** Standardized taxonomy rows are join-existing-only. */
9
- creatable: z.boolean(),
12
+ creatable: z.boolean().optional(),
10
13
  /** Registry row creation timestamp. */
11
14
  createdAt: z.iso.datetime({ offset: true }).nullish(),
12
- /** Id of this classification on the entity; null in catalog and search results. */
13
- entityClassificationId: z.int().nullish(),
14
15
  /** Standardized classification id. */
15
16
  id: z.int(),
16
17
  /** Standardized reference rows are current by definition. */
@@ -21,10 +22,12 @@ const StandardizedClassificationSchemaDefinition = z.object({
21
22
  level: z.int().nullish(),
22
23
  /** Name */
23
24
  name: z.string().max(255),
25
+ /** Join registry this classification belongs to; pass it as registry when reading or changing the join by classificationId. */
26
+ registry: ClassificationJoinRegistrySchema,
24
27
  /** Registry row update timestamp. */
25
28
  updatedAt: z.iso.datetime({ offset: true }).nullish(),
26
- /** Existing standardized rows can be joined through classificationId. */
27
- writable: z.boolean(),
29
+ /** Existing standardized rows can be joined through standardizedClassificationId. */
30
+ writable: z.boolean().optional(),
28
31
  });
29
32
  /**
30
33
  * Industry or ownership classification from a standard taxonomy such as NAICS, SIC, or ISIC, with its category, code, and hierarchy level.
@@ -2,13 +2,13 @@ import { z } from "zod/v4";
2
2
  declare const StrictUrlLookupConflictSchemaDefinition: z.ZodObject<{
3
3
  candidateEntityId: z.ZodArray<z.ZodUUID>;
4
4
  candidatePersonId: z.ZodArray<z.ZodUUID>;
5
- conflictType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
5
+ conflictType: z.ZodUnion<readonly [z.ZodEnum<{
6
6
  CLASSIFICATION_INACTIVE_TAG: "CLASSIFICATION_INACTIVE_TAG";
7
7
  DUPLICATE_CREATE_REVIEW: "DUPLICATE_CREATE_REVIEW";
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
12
  hint: z.ZodString;
13
13
  normalizedUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  url: z.ZodString;
@@ -7,7 +7,7 @@ const StrictUrlLookupConflictSchemaDefinition = z.object({
7
7
  /** Every person id that currently owns the normalized URL. May be empty when the conflict is between entities; combined with candidateEntityId always > 1. */
8
8
  candidatePersonId: z.array(z.uuid()),
9
9
  /** Conflict kind that identifies this details shape. */
10
- conflictType: DomainConflictTypeSchema.optional(),
10
+ conflictType: DomainConflictTypeSchema,
11
11
  /** Human-readable hint describing which disambiguating query parameters to add. */
12
12
  hint: z.string(),
13
13
  /** Normalized URL match key the lookup resolved against. Null when normalization could not produce a stable key. */
@@ -1,31 +1,12 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const SystemStatusSchemaDefinition: z.ZodObject<{
3
- latestIosBuild: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4
- latestIosVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
- latestMacosBuild: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6
- latestMacosVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
- minimumIosBuild: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
8
- minimumIosVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
- minimumMacosBuild: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
10
- minimumMacosVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
3
  operationFingerprint: z.ZodString;
12
- uptime: z.ZodType<{
13
- availability?: number | null | undefined;
14
- downtimeSeconds?: number | null | undefined;
15
- error?: string | null | undefined;
16
- incidents?: number | null | undefined;
17
- }, import("../uptime/uptime.ts").UptimeSchemaInput, z.core.$ZodTypeInternals<{
18
- availability?: number | null | undefined;
19
- downtimeSeconds?: number | null | undefined;
20
- error?: string | null | undefined;
21
- incidents?: number | null | undefined;
22
- }, import("../uptime/uptime.ts").UptimeSchemaInput>>;
23
4
  }, z.core.$strip>;
24
5
  type SystemStatusDefinition = z.infer<typeof SystemStatusSchemaDefinition>;
25
6
  export interface SystemStatusSchemaInput extends z.input<typeof SystemStatusSchemaDefinition> {
26
7
  }
27
8
  /**
28
- * Uptime SLA, served-operation identity, and Apple app update policy
9
+ * System status reported by the API
29
10
  *
30
11
  * @openapiSchema SystemStatus
31
12
  * @endpoint GET /v1/status
@@ -1,30 +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
- import { UptimeSchema } from "../uptime/uptime.js";
4
3
  const SystemStatusSchemaDefinition = z.object({
5
- /** Latest available App Store iOS build number within that version */
6
- latestIosBuild: z.int().nullish(),
7
- /** Latest available App Store iOS marketing version; empty disables the optional update prompt */
8
- latestIosVersion: z.string().nullish(),
9
- /** Latest available App Store macOS build number within that version */
10
- latestMacosBuild: z.int().nullish(),
11
- /** Latest available App Store macOS marketing version; empty disables the optional update prompt */
12
- latestMacosVersion: z.string().nullish(),
13
- /** Minimum supported App Store iOS build number within the minimum version */
14
- minimumIosBuild: z.int().nullish(),
15
- /** Minimum supported App Store iOS marketing version; empty disables update enforcement */
16
- minimumIosVersion: z.string().nullish(),
17
- /** Minimum supported App Store macOS build number within that version */
18
- minimumMacosBuild: z.int().nullish(),
19
- /** Minimum supported App Store macOS marketing version; empty disables update enforcement */
20
- minimumMacosVersion: z.string().nullish(),
21
4
  /** Short hash identifying the exact set of operations this deployment serves. A generated client stamps the same value from the OpenAPI document it was built from; an unequal value means the client catalog is stale. */
22
5
  operationFingerprint: z.string(),
23
- /** Uptime SLA data from external uptime monitoring */
24
- uptime: UptimeSchema,
25
6
  });
26
7
  /**
27
- * Uptime SLA, served-operation identity, and Apple app update policy
8
+ * System status reported by the API
28
9
  *
29
10
  * @openapiSchema SystemStatus
30
11
  * @endpoint GET /v1/status
@@ -1,12 +1,12 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const UrlDuplicateConflictSchemaDefinition: z.ZodObject<{
3
- conflictType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3
+ conflictType: z.ZodUnion<readonly [z.ZodEnum<{
4
4
  CLASSIFICATION_INACTIVE_TAG: "CLASSIFICATION_INACTIVE_TAG";
5
5
  DUPLICATE_CREATE_REVIEW: "DUPLICATE_CREATE_REVIEW";
6
6
  NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
7
7
  STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
8
8
  URL_DUPLICATE: "URL_DUPLICATE";
9
- }>, z.ZodString]>>;
9
+ }>, z.ZodString]>;
10
10
  existingJoin: z.ZodArray<z.ZodType<{
11
11
  owner: {
12
12
  entityId?: string | null | undefined;
@@ -5,7 +5,7 @@ import { EntityPersonOwnerSchema } from "../entity/person-owner.js";
5
5
  import { UrlDuplicateJoinSchema } from "./duplicate-join.js";
6
6
  const UrlDuplicateConflictSchemaDefinition = z.object({
7
7
  /** Conflict kind that identifies this details shape. */
8
- conflictType: DomainConflictTypeSchema.optional(),
8
+ conflictType: DomainConflictTypeSchema,
9
9
  /** Every current owner that already holds the normalized URL with this urlType. Non-empty when this conflict is emitted. */
10
10
  existingJoin: z.array(UrlDuplicateJoinSchema),
11
11
  /** True when URL fragment differences were ignored during duplicate matching (i.e., the conflict ignores everything after '#'). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.175",
3
+ "version": "0.8.177",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",
@@ -1,23 +0,0 @@
1
- import { z } from "zod/v4";
2
- declare const UptimeSchemaDefinition: z.ZodObject<{
3
- availability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4
- downtimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
5
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
- incidents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
7
- }, z.core.$strip>;
8
- type UptimeDefinition = z.infer<typeof UptimeSchemaDefinition>;
9
- export interface UptimeSchemaInput extends z.input<typeof UptimeSchemaDefinition> {
10
- }
11
- /**
12
- * Uptime SLA data from external uptime monitoring
13
- *
14
- * @openapiSchema Uptime
15
- * @endpoint GET /v1/status
16
- * @usedBySchema SystemStatusSchema
17
- * @contractShape uptime.uptime
18
- * @contractRole canonical
19
- */
20
- export declare const UptimeSchema: z.ZodType<UptimeDefinition, UptimeSchemaInput>;
21
- export type Uptime = z.infer<typeof UptimeSchema>;
22
- export {};
23
- //# sourceMappingURL=uptime.d.ts.map
@@ -1,23 +0,0 @@
1
- // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
- import { z } from "zod/v4";
3
- const UptimeSchemaDefinition = z.object({
4
- /** Uptime percentage */
5
- availability: z.number().nullish(),
6
- /** Total downtime in seconds */
7
- downtimeSeconds: z.int().nullish(),
8
- /** Error message if unavailable */
9
- error: z.string().nullish(),
10
- /** Number of incidents */
11
- incidents: z.int().nullish(),
12
- });
13
- /**
14
- * Uptime SLA data from external uptime monitoring
15
- *
16
- * @openapiSchema Uptime
17
- * @endpoint GET /v1/status
18
- * @usedBySchema SystemStatusSchema
19
- * @contractShape uptime.uptime
20
- * @contractRole canonical
21
- */
22
- export const UptimeSchema = UptimeSchemaDefinition;
23
- //# sourceMappingURL=uptime.js.map