@aventurevc/api-schemas 0.8.176 → 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 (148) hide show
  1. package/dist/agent/help-question.d.ts +0 -1
  2. package/dist/agent/help-question.js +1 -3
  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/billing/catalog-plan.d.ts +10 -1
  11. package/dist/billing/checkout-mutation.d.ts +10 -1
  12. package/dist/billing/checkout.d.ts +10 -1
  13. package/dist/billing/plan-change-mutation.d.ts +10 -1
  14. package/dist/billing/plan-change.d.ts +10 -1
  15. package/dist/billing/plan-type.d.ts +10 -1
  16. package/dist/billing/plan-type.js +9 -11
  17. package/dist/billing/subscription.d.ts +20 -2
  18. package/dist/classification/catalog-bucket.d.ts +10 -8
  19. package/dist/classification/catalog-bucket.js +2 -2
  20. package/dist/classification/catalog-category.d.ts +10 -8
  21. package/dist/classification/catalog-category.js +2 -2
  22. package/dist/classification/catalog.d.ts +26 -22
  23. package/dist/classification/classification.d.ts +11 -2
  24. package/dist/classification/classification.js +7 -2
  25. package/dist/classification/inactive-tag-details.d.ts +10 -2
  26. package/dist/classification/inactive-tag-details.js +1 -1
  27. package/dist/classification/join-registry.d.ts +43 -0
  28. package/dist/classification/join-registry.js +36 -0
  29. package/dist/content/embedding-match.d.ts +16 -1
  30. package/dist/content/source-type.d.ts +16 -1
  31. package/dist/content/source-type.js +15 -17
  32. package/dist/domain/conflict-details.d.ts +12 -12
  33. package/dist/domain/conflict-type.d.ts +9 -1
  34. package/dist/domain/conflict-type.js +8 -10
  35. package/dist/duplicate/create-review.d.ts +12 -4
  36. package/dist/duplicate/create-review.js +1 -1
  37. package/dist/enrichment/enrichment.d.ts +8 -1
  38. package/dist/enrichment/refusal-type.d.ts +8 -1
  39. package/dist/enrichment/refusal-type.js +7 -4
  40. package/dist/entity/brand.d.ts +98 -78
  41. package/dist/entity/classification-suggestion.d.ts +18 -14
  42. package/dist/entity/classification-suggestion.js +2 -2
  43. package/dist/entity/classification.d.ts +80 -60
  44. package/dist/entity/comparison-signals.d.ts +41 -1
  45. package/dist/entity/detail.d.ts +102 -82
  46. package/dist/entity/detail.js +2 -2
  47. package/dist/entity/enrichment.d.ts +140 -80
  48. package/dist/entity/enrichment.js +2 -1
  49. package/dist/entity/filter-sortable.d.ts +23 -1
  50. package/dist/entity/filter-sortable.js +22 -24
  51. package/dist/entity/funding-detail.d.ts +43 -1
  52. package/dist/entity/funding-detail.js +2 -0
  53. package/dist/entity/fundraise-transaction-entity.d.ts +41 -1
  54. package/dist/entity/fundraise-transaction.d.ts +41 -1
  55. package/dist/entity/investor-participation.d.ts +102 -82
  56. package/dist/entity/list-filter.d.ts +1 -1
  57. package/dist/entity/list-filter.js +2 -2
  58. package/dist/entity/list.d.ts +116 -81
  59. package/dist/entity/natural-search.d.ts +4 -0
  60. package/dist/entity/people-param.js +2 -2
  61. package/dist/entity/relationship.d.ts +41 -1
  62. package/dist/entity/resolution.d.ts +102 -82
  63. package/dist/entity/search-param.js +1 -1
  64. package/dist/entity/similarity-result.d.ts +100 -80
  65. package/dist/entity/similarity-summary.d.ts +91 -1
  66. package/dist/entity/similarity-summary.js +4 -1
  67. package/dist/entity/tag.d.ts +8 -6
  68. package/dist/entity/tag.js +2 -2
  69. package/dist/federated/natural-search.d.ts +22 -2
  70. package/dist/federated/natural-search.js +5 -1
  71. package/dist/federated/search.d.ts +402 -322
  72. package/dist/funding/stage.d.ts +42 -1
  73. package/dist/funding/stage.js +41 -42
  74. package/dist/harness/run-create.d.ts +1 -1
  75. package/dist/harness/run-create.js +5 -5
  76. package/dist/harness/task-input-type.d.ts +6 -1
  77. package/dist/harness/task-input-type.js +2 -1
  78. package/dist/harness/task-plan-step.d.ts +2 -2
  79. package/dist/harness/task-plan.d.ts +5 -5
  80. package/dist/harness/task-plan.js +3 -3
  81. package/dist/harness/task-step.d.ts +1 -1
  82. package/dist/harness/task-step.js +1 -1
  83. package/dist/harness/task.d.ts +6 -1
  84. package/dist/help/citation.d.ts +11 -1
  85. package/dist/help/resolution.d.ts +5 -5
  86. package/dist/help/source-type.d.ts +11 -1
  87. package/dist/help/source-type.js +10 -12
  88. package/dist/http/problem-detail.d.ts +14 -14
  89. package/dist/http/problem-detail.js +34 -31
  90. package/dist/identification/candidate.d.ts +2 -2
  91. package/dist/identification/identification.d.ts +8 -13
  92. package/dist/identification/identification.js +0 -2
  93. package/dist/identification/subject.js +1 -1
  94. package/dist/link/search.d.ts +402 -322
  95. package/dist/lookup/job-mention.d.ts +108 -93
  96. package/dist/lookup/job.d.ts +116 -103
  97. package/dist/mention/lookup.d.ts +108 -90
  98. package/dist/natural/search-result.d.ts +300 -240
  99. package/dist/natural/search.d.ts +22 -2
  100. package/dist/natural/search.js +5 -1
  101. package/dist/news/source-url-conflict.d.ts +10 -2
  102. package/dist/news/source-url-conflict.js +1 -1
  103. package/dist/openapi-component-manifest.js +13 -1
  104. package/dist/pagination/schemas.d.ts +546 -418
  105. package/dist/person/graph-career-context.d.ts +41 -1
  106. package/dist/person/graph-similar-entity.d.ts +41 -1
  107. package/dist/person/natural-search.d.ts +4 -0
  108. package/dist/person/person.d.ts +16 -1
  109. package/dist/problem/type.d.ts +62 -2
  110. package/dist/problem/type.js +11 -10
  111. package/dist/prose/problem.d.ts +15 -1
  112. package/dist/prose/problem.js +14 -16
  113. package/dist/prose/violation.d.ts +15 -1
  114. package/dist/reasoning/effort.d.ts +10 -1
  115. package/dist/reasoning/effort.js +9 -4
  116. package/dist/research/finding.js +1 -1
  117. package/dist/search/answer-citation.d.ts +9 -1
  118. package/dist/search/duplicate-candidate-score.d.ts +1 -1
  119. package/dist/search/duplicate-candidate-score.js +1 -1
  120. package/dist/search/evidence-source.d.ts +9 -1
  121. package/dist/search/evidence-source.js +8 -10
  122. package/dist/search/investment.d.ts +16 -1
  123. package/dist/search/knowledge-graph-attribute.d.ts +7 -1
  124. package/dist/search/knowledge-graph-fact.d.ts +7 -1
  125. package/dist/search/knowledge-graph-fact.js +2 -4
  126. package/dist/search/mode-execution.d.ts +20 -2
  127. package/dist/search/mode.d.ts +10 -1
  128. package/dist/search/mode.js +11 -4
  129. package/dist/search/passage.d.ts +9 -1
  130. package/dist/search/search.d.ts +7 -1
  131. package/dist/shared/search.d.ts +402 -322
  132. package/dist/sort/order-entity-filter-sortable.d.ts +23 -1
  133. package/dist/standardized/classification.d.ts +12 -3
  134. package/dist/standardized/classification.js +8 -5
  135. package/dist/strict/url-lookup-conflict.d.ts +10 -2
  136. package/dist/strict/url-lookup-conflict.js +1 -1
  137. package/dist/system/status.d.ts +1 -20
  138. package/dist/system/status.js +1 -20
  139. package/dist/unique/id-type.d.ts +14 -2
  140. package/dist/unique/id-type.js +12 -11
  141. package/dist/unique/id.d.ts +14 -2
  142. package/dist/url/duplicate-conflict.d.ts +10 -2
  143. package/dist/url/duplicate-conflict.js +1 -1
  144. package/dist/web/search-provider.d.ts +7 -1
  145. package/dist/web/search-provider.js +2 -4
  146. package/package.json +1 -1
  147. package/dist/uptime/uptime.d.ts +0 -23
  148. package/dist/uptime/uptime.js +0 -23
@@ -21,7 +21,29 @@ declare const SortOrderEntityFilterSortableSchemaDefinition: z.ZodObject<{
21
21
  TOTAL_RAISED: "TOTAL_RAISED";
22
22
  UPDATED_AT: "UPDATED_AT";
23
23
  YEAR_FOUNDED: "YEAR_FOUNDED";
24
- }>, z.ZodString]>;
24
+ }>, z.ZodString]> & {
25
+ enum: {
26
+ ACCELERATOR_BRAND: "ACCELERATOR_BRAND";
27
+ ACCELERATOR_COHORT: "ACCELERATOR_COHORT";
28
+ AMOUNT_INVESTED: "AMOUNT_INVESTED";
29
+ CREATED_AT: "CREATED_AT";
30
+ DATA_COMPLETION_COVERAGE: "DATA_COMPLETION_COVERAGE";
31
+ EMPLOYEE_COUNT: "EMPLOYEE_COUNT";
32
+ HEADQUARTERS_COUNTRY: "HEADQUARTERS_COUNTRY";
33
+ ID: "ID";
34
+ LATEST_VALUATION: "LATEST_VALUATION";
35
+ MOST_RECENT_AMOUNT: "MOST_RECENT_AMOUNT";
36
+ MOST_RECENT_DATE: "MOST_RECENT_DATE";
37
+ NAME_BRAND: "NAME_BRAND";
38
+ NEXT_DUE_AT: "NEXT_DUE_AT";
39
+ RECENT_INVESTMENT_AT: "RECENT_INVESTMENT_AT";
40
+ STAGE: "STAGE";
41
+ STATUS_OPERATING: "STATUS_OPERATING";
42
+ TOTAL_RAISED: "TOTAL_RAISED";
43
+ UPDATED_AT: "UPDATED_AT";
44
+ YEAR_FOUNDED: "YEAR_FOUNDED";
45
+ };
46
+ };
25
47
  sortKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
48
  }, z.core.$strip>;
27
49
  type SortOrderEntityFilterSortableDefinition = z.infer<typeof SortOrderEntityFilterSortableSchemaDefinition>;
@@ -1,17 +1,26 @@
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]> & {
17
+ enum: {
18
+ editorial: "editorial";
19
+ standardized: "standardized";
20
+ };
21
+ };
13
22
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
14
- writable: z.ZodBoolean;
23
+ writable: z.ZodOptional<z.ZodBoolean>;
15
24
  }, z.core.$strip>;
16
25
  type StandardizedClassificationDefinition = z.infer<typeof StandardizedClassificationSchemaDefinition>;
17
26
  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,21 @@ 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
+ enum: {
13
+ CLASSIFICATION_INACTIVE_TAG: "CLASSIFICATION_INACTIVE_TAG";
14
+ DUPLICATE_CREATE_REVIEW: "DUPLICATE_CREATE_REVIEW";
15
+ NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
16
+ STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
17
+ URL_DUPLICATE: "URL_DUPLICATE";
18
+ };
19
+ };
12
20
  hint: z.ZodString;
13
21
  normalizedUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
22
  url: z.ZodString;
@@ -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
@@ -24,7 +24,7 @@ import { z } from "zod/v4";
24
24
  * @contractShape unique.id-type
25
25
  * @contractRole canonical
26
26
  */
27
- export declare const UniqueIdTypeSchema: z.ZodEnum<{
27
+ export declare const UniqueIdTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
28
28
  crd: "crd";
29
29
  cusip: "cusip";
30
30
  duns: "duns";
@@ -34,6 +34,18 @@ export declare const UniqueIdTypeSchema: z.ZodEnum<{
34
34
  orcid: "orcid";
35
35
  secCik: "secCik";
36
36
  ticker: "ticker";
37
- }>;
37
+ }>, z.ZodString]> & {
38
+ enum: {
39
+ crd: "crd";
40
+ cusip: "cusip";
41
+ duns: "duns";
42
+ ein: "ein";
43
+ isin: "isin";
44
+ lei: "lei";
45
+ orcid: "orcid";
46
+ secCik: "secCik";
47
+ ticker: "ticker";
48
+ };
49
+ };
38
50
  export type UniqueIdType = z.infer<typeof UniqueIdTypeSchema>;
39
51
  //# sourceMappingURL=id-type.d.ts.map
@@ -1,5 +1,16 @@
1
1
  // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
2
  import { z } from "zod/v4";
3
+ const UniqueIdTypeSchemaKnownMembers = z.enum([
4
+ "ein",
5
+ "secCik",
6
+ "ticker",
7
+ "lei",
8
+ "duns",
9
+ "isin",
10
+ "cusip",
11
+ "crd",
12
+ "orcid",
13
+ ]);
3
14
  /**
4
15
  * External identifier type that maps an owner to a registry id: ein, secCik, ticker, lei, duns, isin, cusip, crd, or orcid.
5
16
  *
@@ -25,15 +36,5 @@ import { z } from "zod/v4";
25
36
  * @contractShape unique.id-type
26
37
  * @contractRole canonical
27
38
  */
28
- export const UniqueIdTypeSchema = z.enum([
29
- "ein",
30
- "secCik",
31
- "ticker",
32
- "lei",
33
- "duns",
34
- "isin",
35
- "cusip",
36
- "crd",
37
- "orcid",
38
- ]);
39
+ export const UniqueIdTypeSchema = Object.assign(z.union([UniqueIdTypeSchemaKnownMembers, z.string()]), { enum: UniqueIdTypeSchemaKnownMembers.enum });
39
40
  //# sourceMappingURL=id-type.js.map
@@ -3,7 +3,7 @@ declare const UniqueIdSchemaDefinition: z.ZodObject<{
3
3
  createdAt: z.ZodISODateTime;
4
4
  id: z.ZodInt;
5
5
  identifier: z.ZodString;
6
- idType: z.ZodEnum<{
6
+ idType: z.ZodUnion<readonly [z.ZodEnum<{
7
7
  crd: "crd";
8
8
  cusip: "cusip";
9
9
  duns: "duns";
@@ -13,7 +13,19 @@ declare const UniqueIdSchemaDefinition: z.ZodObject<{
13
13
  orcid: "orcid";
14
14
  secCik: "secCik";
15
15
  ticker: "ticker";
16
- }>;
16
+ }>, z.ZodString]> & {
17
+ enum: {
18
+ crd: "crd";
19
+ cusip: "cusip";
20
+ duns: "duns";
21
+ ein: "ein";
22
+ isin: "isin";
23
+ lei: "lei";
24
+ orcid: "orcid";
25
+ secCik: "secCik";
26
+ ticker: "ticker";
27
+ };
28
+ };
17
29
  owner: z.ZodObject<{
18
30
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
19
31
  personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -1,12 +1,20 @@
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
+ enum: {
11
+ CLASSIFICATION_INACTIVE_TAG: "CLASSIFICATION_INACTIVE_TAG";
12
+ DUPLICATE_CREATE_REVIEW: "DUPLICATE_CREATE_REVIEW";
13
+ NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
14
+ STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
15
+ URL_DUPLICATE: "URL_DUPLICATE";
16
+ };
17
+ };
10
18
  existingJoin: z.ZodArray<z.ZodType<{
11
19
  owner: {
12
20
  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 '#'). */
@@ -13,6 +13,12 @@ export declare const WebSearchProviderSchema: z.ZodUnion<readonly [z.ZodEnum<{
13
13
  EXA: "EXA";
14
14
  EXA_DEEP: "EXA_DEEP";
15
15
  SERPAPI: "SERPAPI";
16
- }>, z.ZodString]>;
16
+ }>, z.ZodString]> & {
17
+ enum: {
18
+ EXA: "EXA";
19
+ EXA_DEEP: "EXA_DEEP";
20
+ SERPAPI: "SERPAPI";
21
+ };
22
+ };
17
23
  export type WebSearchProvider = z.infer<typeof WebSearchProviderSchema>;
18
24
  //# sourceMappingURL=search-provider.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 WebSearchProviderSchemaKnownMembers = z.enum(["SERPAPI", "EXA", "EXA_DEEP"]);
3
4
  /**
4
5
  * Upstream web search provider: SERPAPI is Google results through SerpAPI, EXA is Exa's instant search with highlights, and EXA_DEEP is Exa's slower, broader deep search.
5
6
  *
@@ -10,8 +11,5 @@ import { z } from "zod/v4";
10
11
  * @contractShape web.search-provider
11
12
  * @contractRole canonical
12
13
  */
13
- export const WebSearchProviderSchema = z.union([
14
- z.enum(["SERPAPI", "EXA", "EXA_DEEP"]),
15
- z.string(),
16
- ]);
14
+ export const WebSearchProviderSchema = Object.assign(z.union([WebSearchProviderSchemaKnownMembers, z.string()]), { enum: WebSearchProviderSchemaKnownMembers.enum });
17
15
  //# sourceMappingURL=search-provider.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.176",
3
+ "version": "0.8.178",
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