@aventurevc/api-schemas 0.8.1 → 0.8.5

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 (235) hide show
  1. package/dist/address/address.d.ts +1 -2
  2. package/dist/address/address.js +1 -2
  3. package/dist/address/association-role.d.ts +1 -2
  4. package/dist/address/association-role.js +1 -2
  5. package/dist/address/association.d.ts +1 -2
  6. package/dist/address/association.js +1 -2
  7. package/dist/address/city.d.ts +1 -2
  8. package/dist/address/city.js +1 -2
  9. package/dist/address/country.d.ts +1 -2
  10. package/dist/address/country.js +1 -2
  11. package/dist/address/state.d.ts +1 -2
  12. package/dist/address/state.js +1 -2
  13. package/dist/billing/additional-usage-meter.d.ts +3 -4
  14. package/dist/billing/additional-usage-type.d.ts +3 -4
  15. package/dist/billing/additional-usage-type.js +3 -4
  16. package/dist/billing/additional-usage.d.ts +2 -2
  17. package/dist/billing/catalog-additional-usage.d.ts +3 -4
  18. package/dist/billing/catalog-allowance.d.ts +3 -4
  19. package/dist/billing/catalog-allowance.js +1 -8
  20. package/dist/billing/catalog-plan.d.ts +1 -0
  21. package/dist/billing/catalog-plan.js +2 -0
  22. package/dist/billing/catalog-tier.d.ts +2 -2
  23. package/dist/billing/catalog.d.ts +6 -4
  24. package/dist/billing/recurring-price.d.ts +15 -0
  25. package/dist/billing/recurring-price.js +18 -0
  26. package/dist/billing/subscription.d.ts +55 -14
  27. package/dist/billing/subscription.js +3 -0
  28. package/dist/classification/catalog-bucket.d.ts +1 -1
  29. package/dist/classification/catalog-bucket.js +1 -1
  30. package/dist/classification/catalog-category.d.ts +1 -1
  31. package/dist/classification/catalog-category.js +1 -1
  32. package/dist/classification/catalog.d.ts +1 -1
  33. package/dist/classification/catalog.js +1 -1
  34. package/dist/classification/classification.d.ts +3 -4
  35. package/dist/classification/classification.js +3 -4
  36. package/dist/content/embedding-match.d.ts +2 -2
  37. package/dist/content/embedding-match.js +2 -2
  38. package/dist/content/source-type.d.ts +2 -2
  39. package/dist/content/source-type.js +2 -2
  40. package/dist/decimal/range.d.ts +2 -1
  41. package/dist/decimal/range.js +2 -1
  42. package/dist/enrichment/batch.d.ts +25 -0
  43. package/dist/enrichment/batch.js +27 -0
  44. package/dist/enrichment/enrichment.d.ts +82 -0
  45. package/dist/enrichment/enrichment.js +23 -0
  46. package/dist/enrichment/mode.d.ts +3 -0
  47. package/dist/enrichment/mode.js +3 -0
  48. package/dist/enrichment/refusal-type.d.ts +16 -0
  49. package/dist/enrichment/refusal-type.js +13 -0
  50. package/dist/entity/accelerator-participation.d.ts +1 -2
  51. package/dist/entity/accelerator-participation.js +1 -2
  52. package/dist/entity/alias-type.d.ts +2 -4
  53. package/dist/entity/alias-type.js +2 -4
  54. package/dist/entity/classification.d.ts +1 -2
  55. package/dist/entity/classification.js +1 -2
  56. package/dist/entity/enrichment.d.ts +1 -2
  57. package/dist/entity/enrichment.js +1 -2
  58. package/dist/entity/entity.d.ts +3 -4
  59. package/dist/entity/entity.js +3 -4
  60. package/dist/entity/funding-detail.d.ts +1 -3
  61. package/dist/entity/funding-detail.js +1 -3
  62. package/dist/entity/fundraise-transaction-entity.d.ts +1 -4
  63. package/dist/entity/fundraise-transaction-entity.js +1 -4
  64. package/dist/entity/fundraise-transaction.d.ts +1 -4
  65. package/dist/entity/fundraise-transaction.js +1 -4
  66. package/dist/entity/image.d.ts +2 -4
  67. package/dist/entity/image.js +2 -4
  68. package/dist/entity/list-quality-gate.d.ts +1 -1
  69. package/dist/entity/list-quality-gate.js +1 -1
  70. package/dist/entity/list-research.d.ts +1 -2
  71. package/dist/entity/list-research.js +1 -2
  72. package/dist/entity/list.d.ts +1 -3
  73. package/dist/entity/list.js +1 -3
  74. package/dist/entity/name-alias-entity-alias-type.d.ts +2 -4
  75. package/dist/entity/name-alias-entity-alias-type.js +2 -4
  76. package/dist/entity/name-alias-person-alias-type.d.ts +1 -0
  77. package/dist/entity/name-alias-person-alias-type.js +1 -0
  78. package/dist/entity/operating-status.d.ts +1 -1
  79. package/dist/entity/operating-status.js +1 -1
  80. package/dist/entity/person-owner.d.ts +2 -0
  81. package/dist/entity/person-owner.js +2 -0
  82. package/dist/entity/research-detail.d.ts +1 -2
  83. package/dist/entity/research-detail.js +1 -2
  84. package/dist/entity/research-value-type.d.ts +1 -2
  85. package/dist/entity/research-value-type.js +1 -2
  86. package/dist/entity/similarity-origin.d.ts +0 -3
  87. package/dist/entity/similarity-origin.js +0 -3
  88. package/dist/entity/sitemap.d.ts +2 -4
  89. package/dist/entity/sitemap.js +2 -4
  90. package/dist/entity/tag.d.ts +3 -4
  91. package/dist/entity/tag.js +3 -4
  92. package/dist/entity/text-bundle.d.ts +2 -2
  93. package/dist/entity/text-bundle.js +2 -2
  94. package/dist/entity/type.d.ts +0 -1
  95. package/dist/entity/type.js +0 -1
  96. package/dist/entity/url-crawl-cdn-provider.d.ts +1 -2
  97. package/dist/entity/url-crawl-cdn-provider.js +1 -2
  98. package/dist/entity/url-crawl-render-mode.d.ts +1 -2
  99. package/dist/entity/url-crawl-render-mode.js +1 -2
  100. package/dist/entity/url-link.d.ts +1 -2
  101. package/dist/entity/url-link.js +1 -2
  102. package/dist/entity/url-type.d.ts +1 -3
  103. package/dist/entity/url-type.js +1 -3
  104. package/dist/funding/stage.d.ts +1 -3
  105. package/dist/funding/stage.js +1 -3
  106. package/dist/fundraise/data-confidence.d.ts +1 -3
  107. package/dist/fundraise/data-confidence.js +1 -3
  108. package/dist/fundraise/investment-attribution-type.d.ts +1 -3
  109. package/dist/fundraise/investment-attribution-type.js +1 -3
  110. package/dist/fundraise/investment-attribution.d.ts +1 -3
  111. package/dist/fundraise/investment-attribution.js +1 -3
  112. package/dist/harness/chassis.d.ts +2 -0
  113. package/dist/harness/chassis.js +2 -0
  114. package/dist/harness/llm-api.d.ts +2 -0
  115. package/dist/harness/llm-api.js +2 -0
  116. package/dist/harness/run-detail.d.ts +183 -0
  117. package/dist/harness/run-detail.js +27 -0
  118. package/dist/harness/run-environment.d.ts +2 -0
  119. package/dist/harness/run-environment.js +2 -0
  120. package/dist/harness/run-lane.d.ts +2 -0
  121. package/dist/harness/run-lane.js +2 -0
  122. package/dist/harness/run-progress.d.ts +20 -0
  123. package/dist/harness/run-progress.js +30 -0
  124. package/dist/harness/run-status.d.ts +2 -0
  125. package/dist/harness/run-status.js +2 -0
  126. package/dist/harness/run-type.d.ts +2 -0
  127. package/dist/harness/run-type.js +2 -0
  128. package/dist/harness/run.d.ts +14 -13
  129. package/dist/harness/run.js +14 -11
  130. package/dist/http/problem-detail.d.ts +4 -4
  131. package/dist/http/problem-detail.js +4 -3
  132. package/dist/identification/candidate.d.ts +3 -0
  133. package/dist/identification/candidate.js +5 -0
  134. package/dist/identification/identification.d.ts +19 -14
  135. package/dist/identification/identification.js +13 -12
  136. package/dist/int/range.d.ts +2 -1
  137. package/dist/int/range.js +2 -1
  138. package/dist/job/enqueue.d.ts +19 -0
  139. package/dist/job/enqueue.js +18 -0
  140. package/dist/job/state.d.ts +20 -0
  141. package/dist/job/state.js +20 -0
  142. package/dist/lookup/job-mention.d.ts +152 -0
  143. package/dist/lookup/job-mention.js +29 -0
  144. package/dist/lookup/job-mutation.d.ts +20 -0
  145. package/dist/lookup/job-mutation.js +20 -0
  146. package/dist/lookup/job.d.ts +202 -0
  147. package/dist/lookup/job.js +31 -0
  148. package/dist/natural/search.d.ts +0 -1
  149. package/dist/natural/search.js +0 -1
  150. package/dist/openapi-component-manifest.js +27 -60
  151. package/dist/pageable/object.d.ts +3 -10
  152. package/dist/pageable/object.js +3 -10
  153. package/dist/pagination/schemas.d.ts +3 -421
  154. package/dist/pagination/schemas.js +3 -72
  155. package/dist/person/alias-type.d.ts +1 -0
  156. package/dist/person/alias-type.js +1 -0
  157. package/dist/person/image.d.ts +1 -0
  158. package/dist/person/image.js +1 -0
  159. package/dist/person/person.d.ts +1 -0
  160. package/dist/person/person.js +1 -0
  161. package/dist/publication/publication.d.ts +0 -2
  162. package/dist/publication/publication.js +0 -2
  163. package/dist/publication/relation.d.ts +0 -2
  164. package/dist/publication/relation.js +0 -2
  165. package/dist/publication/type.d.ts +0 -2
  166. package/dist/publication/type.js +0 -2
  167. package/dist/research/allowance-usage.d.ts +54 -66
  168. package/dist/research/allowance-usage.js +13 -4
  169. package/dist/research/allowance.d.ts +6 -9
  170. package/dist/research/allowance.js +9 -10
  171. package/dist/research/derived-bucket.d.ts +1 -2
  172. package/dist/research/derived-bucket.js +1 -2
  173. package/dist/research/derived-range.d.ts +1 -2
  174. package/dist/research/derived-range.js +1 -2
  175. package/dist/round/label.d.ts +1 -3
  176. package/dist/round/label.js +1 -3
  177. package/dist/search/hit.d.ts +21 -0
  178. package/dist/search/hit.js +19 -0
  179. package/dist/search/mode.d.ts +0 -1
  180. package/dist/search/mode.js +0 -1
  181. package/dist/search/search.d.ts +24 -0
  182. package/dist/search/search.js +29 -0
  183. package/dist/sec/company.d.ts +1 -1
  184. package/dist/sec/company.js +1 -1
  185. package/dist/sort/object.d.ts +3 -10
  186. package/dist/sort/object.js +3 -10
  187. package/dist/source/document-list.d.ts +31 -0
  188. package/dist/source/document-list.js +31 -0
  189. package/dist/standardized/classification.d.ts +3 -4
  190. package/dist/standardized/classification.js +3 -4
  191. package/dist/system/status.d.ts +3 -1
  192. package/dist/system/status.js +5 -1
  193. package/dist/url/match-mode.d.ts +1 -1
  194. package/dist/url/match-mode.js +1 -1
  195. package/dist/web/search.d.ts +75 -0
  196. package/dist/web/search.js +23 -0
  197. package/package.json +1 -1
  198. package/dist/completion/gate-coverage.d.ts +0 -18
  199. package/dist/completion/gate-coverage.js +0 -14
  200. package/dist/entity/detail-coverage-slot.d.ts +0 -32
  201. package/dist/entity/detail-coverage-slot.js +0 -37
  202. package/dist/entity/filter-count-meta.d.ts +0 -16
  203. package/dist/entity/filter-count-meta.js +0 -14
  204. package/dist/entity/filter-count-result.d.ts +0 -26
  205. package/dist/entity/filter-count-result.js +0 -16
  206. package/dist/entity/filters-counts-param.d.ts +0 -19
  207. package/dist/entity/filters-counts-param.js +0 -23
  208. package/dist/entity/list-summary.d.ts +0 -285
  209. package/dist/entity/list-summary.js +0 -21
  210. package/dist/entity/suggestion-result.d.ts +0 -991
  211. package/dist/entity/suggestion-result.js +0 -25
  212. package/dist/entity/suggestion.d.ts +0 -965
  213. package/dist/entity/suggestion.js +0 -28
  214. package/dist/entity/tag-count.d.ts +0 -19
  215. package/dist/entity/tag-count.js +0 -17
  216. package/dist/entity/type-count.d.ts +0 -28
  217. package/dist/entity/type-count.js +0 -19
  218. package/dist/location/directory-entry.d.ts +0 -43
  219. package/dist/location/directory-entry.js +0 -25
  220. package/dist/location/identifier.d.ts +0 -31
  221. package/dist/location/identifier.js +0 -26
  222. package/dist/location/resolution-outcome.d.ts +0 -16
  223. package/dist/location/resolution-outcome.js +0 -13
  224. package/dist/location/scope.d.ts +0 -18
  225. package/dist/location/scope.js +0 -14
  226. package/dist/location/sitemap-batch.d.ts +0 -33
  227. package/dist/location/sitemap-batch.js +0 -33
  228. package/dist/location/sitemap.d.ts +0 -194
  229. package/dist/location/sitemap.js +0 -30
  230. package/dist/location/slug-resolution.d.ts +0 -21
  231. package/dist/location/slug-resolution.js +0 -20
  232. package/dist/sitemap/family.d.ts +0 -28
  233. package/dist/sitemap/family.js +0 -28
  234. package/dist/sitemap/url-slot.d.ts +0 -38
  235. package/dist/sitemap/url-slot.js +0 -26
@@ -0,0 +1,31 @@
1
+ import { z } from "zod/v4";
2
+ declare const SourceDocumentListSchemaDefinition: z.ZodObject<{
3
+ cacheHitCount: z.ZodInt;
4
+ createdAt: z.ZodISODateTime;
5
+ documentType: z.ZodString;
6
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
7
+ httpStatus: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
8
+ id: z.ZodUUID;
9
+ lastAccessedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
10
+ provider: z.ZodString;
11
+ providerRequestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ rawByteCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ rawCharset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ rawMediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ sourceKey: z.ZodString;
16
+ upstreamContentEncoding: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$strip>;
18
+ type SourceDocumentListDefinition = z.infer<typeof SourceDocumentListSchemaDefinition>;
19
+ /**
20
+ * Metadata-only ledger row for source-document lists
21
+ *
22
+ * @openapiSchema SourceDocumentList
23
+ * @endpoint POST /v1/web/search
24
+ * @usedBySchema WebSearchSchema
25
+ * @contractShape source.document-list
26
+ * @contractRole canonical
27
+ */
28
+ export declare const SourceDocumentListSchema: z.ZodType<SourceDocumentListDefinition>;
29
+ export type SourceDocumentList = z.infer<typeof SourceDocumentListSchema>;
30
+ export {};
31
+ //# sourceMappingURL=document-list.d.ts.map
@@ -0,0 +1,31 @@
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 SourceDocumentListSchemaDefinition = z.object({
4
+ cacheHitCount: z.int(),
5
+ createdAt: z.iso.datetime({ offset: true }),
6
+ documentType: z.string(),
7
+ expiresAt: z.iso.datetime({ offset: true }).nullish(),
8
+ httpStatus: z.int().nullish(),
9
+ /** Document id */
10
+ id: z.uuid(),
11
+ lastAccessedAt: z.iso.datetime({ offset: true }).nullish(),
12
+ provider: z.string(),
13
+ providerRequestId: z.string().nullish(),
14
+ rawByteCount: z.number().int().nullish(),
15
+ rawCharset: z.string().nullish(),
16
+ rawMediaType: z.string().nullish(),
17
+ /** Canonical fetch identity: canonical URL, query hash, or dataset + external id */
18
+ sourceKey: z.string(),
19
+ upstreamContentEncoding: z.string().nullish(),
20
+ });
21
+ /**
22
+ * Metadata-only ledger row for source-document lists
23
+ *
24
+ * @openapiSchema SourceDocumentList
25
+ * @endpoint POST /v1/web/search
26
+ * @usedBySchema WebSearchSchema
27
+ * @contractShape source.document-list
28
+ * @contractRole canonical
29
+ */
30
+ export const SourceDocumentListSchema = SourceDocumentListSchemaDefinition;
31
+ //# sourceMappingURL=document-list.js.map
@@ -30,16 +30,15 @@ type StandardizedClassificationDefinition = z.infer<typeof StandardizedClassific
30
30
  * Canonical standardized classification projection backed by res_classification_ref. Rows are join-existing-only; creatable is false until a taxonomy writer exists.
31
31
  *
32
32
  * @openapiSchema StandardizedClassification
33
- * @endpoint GET /v1/classifications
34
- * @endpoint GET /v1/classifications/catalog
33
+ * @endpoint GET /v1/entities
34
+ * @endpoint GET /v1/entities/classifications/catalog
35
+ * @endpoint GET /v1/entities/classifications/tags
35
36
  * @endpoint GET /v1/entities/lookup-exact
36
37
  * @endpoint GET /v1/search/link
37
38
  * @endpoint GET /v1/entities/{entityId}
38
39
  * @endpoint GET /v1/entities/{entityId}/classifications
39
40
  * @endpoint GET /v1/entities/{entityId}/classifications/suggestions
40
41
  * @endpoint GET /v1/entities/{entityId}/investors
41
- * @endpoint GET /v1/entities/{entityId}/products/suggestions
42
- * @endpoint GET /v1/entities/{entityId}/relationships/suggestions
43
42
  * @endpoint GET /v1/entities/{entityId}/similar
44
43
  * @endpoint POST /v1/entities/lookup-batch
45
44
  * @endpoint POST /v1/entities/lookup-matches
@@ -31,16 +31,15 @@ const StandardizedClassificationSchemaDefinition = z.intersection(Classification
31
31
  * Canonical standardized classification projection backed by res_classification_ref. Rows are join-existing-only; creatable is false until a taxonomy writer exists.
32
32
  *
33
33
  * @openapiSchema StandardizedClassification
34
- * @endpoint GET /v1/classifications
35
- * @endpoint GET /v1/classifications/catalog
34
+ * @endpoint GET /v1/entities
35
+ * @endpoint GET /v1/entities/classifications/catalog
36
+ * @endpoint GET /v1/entities/classifications/tags
36
37
  * @endpoint GET /v1/entities/lookup-exact
37
38
  * @endpoint GET /v1/search/link
38
39
  * @endpoint GET /v1/entities/{entityId}
39
40
  * @endpoint GET /v1/entities/{entityId}/classifications
40
41
  * @endpoint GET /v1/entities/{entityId}/classifications/suggestions
41
42
  * @endpoint GET /v1/entities/{entityId}/investors
42
- * @endpoint GET /v1/entities/{entityId}/products/suggestions
43
- * @endpoint GET /v1/entities/{entityId}/relationships/suggestions
44
43
  * @endpoint GET /v1/entities/{entityId}/similar
45
44
  * @endpoint POST /v1/entities/lookup-batch
46
45
  * @endpoint POST /v1/entities/lookup-matches
@@ -1,5 +1,7 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const SystemStatusSchemaDefinition: z.ZodObject<{
3
+ minimumIosBuild: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4
+ minimumIosVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3
5
  operationFingerprint: z.ZodString;
4
6
  uptime: z.ZodType<{
5
7
  availability?: number | null | undefined;
@@ -15,7 +17,7 @@ declare const SystemStatusSchemaDefinition: z.ZodObject<{
15
17
  }, z.core.$strip>;
16
18
  type SystemStatusDefinition = z.infer<typeof SystemStatusSchemaDefinition>;
17
19
  /**
18
- * Uptime SLA and the identity of the served operation set
20
+ * Uptime SLA, served-operation identity, and minimum supported iOS build
19
21
  *
20
22
  * @openapiSchema SystemStatus
21
23
  * @endpoint GET /v1/status
@@ -2,13 +2,17 @@
2
2
  import { z } from "zod/v4";
3
3
  import { UptimeSchema } from "../uptime/uptime.js";
4
4
  const SystemStatusSchemaDefinition = z.object({
5
+ /** Minimum supported App Store iOS build number within the minimum version */
6
+ minimumIosBuild: z.int().nullish(),
7
+ /** Minimum supported App Store iOS marketing version; empty disables update enforcement */
8
+ minimumIosVersion: z.string().nullish(),
5
9
  /** 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. `vc.aventure.application.usecase.system.status.OperationInventory` owns how it is computed. */
6
10
  operationFingerprint: z.string(),
7
11
  /** Uptime SLA data from external uptime monitoring */
8
12
  uptime: UptimeSchema,
9
13
  });
10
14
  /**
11
- * Uptime SLA and the identity of the served operation set
15
+ * Uptime SLA, served-operation identity, and minimum supported iOS build
12
16
  *
13
17
  * @openapiSchema SystemStatus
14
18
  * @endpoint GET /v1/status
@@ -3,7 +3,7 @@ import { z } from "zod/v4";
3
3
  * URL matching mode for URL-backed filters and duplicate checks.
4
4
  *
5
5
  * @openapiSchema UrlMatchMode
6
- * @endpoint GET /v1/entities/summary
6
+ * @endpoint GET /v1/entities
7
7
  * @endpoint GET /v1/search/link
8
8
  * @endpoint POST /v1/entities/filters/refine
9
9
  * @endpoint POST /v1/entities/filters/search
@@ -4,7 +4,7 @@ import { z } from "zod/v4";
4
4
  * URL matching mode for URL-backed filters and duplicate checks.
5
5
  *
6
6
  * @openapiSchema UrlMatchMode
7
- * @endpoint GET /v1/entities/summary
7
+ * @endpoint GET /v1/entities
8
8
  * @endpoint GET /v1/search/link
9
9
  * @endpoint POST /v1/entities/filters/refine
10
10
  * @endpoint POST /v1/entities/filters/search
@@ -0,0 +1,75 @@
1
+ import { z } from "zod/v4";
2
+ declare const WebSearchSchemaDefinition: z.ZodObject<{
3
+ document: z.ZodType<{
4
+ cacheHitCount: number;
5
+ createdAt: string;
6
+ documentType: string;
7
+ expiresAt?: string | null | undefined;
8
+ httpStatus?: number | null | undefined;
9
+ id: string;
10
+ lastAccessedAt?: string | null | undefined;
11
+ provider: string;
12
+ providerRequestId?: string | null | undefined;
13
+ rawByteCount?: number | null | undefined;
14
+ rawCharset?: string | null | undefined;
15
+ rawMediaType?: string | null | undefined;
16
+ sourceKey: string;
17
+ upstreamContentEncoding?: string | null | undefined;
18
+ }, unknown, z.core.$ZodTypeInternals<{
19
+ cacheHitCount: number;
20
+ createdAt: string;
21
+ documentType: string;
22
+ expiresAt?: string | null | undefined;
23
+ httpStatus?: number | null | undefined;
24
+ id: string;
25
+ lastAccessedAt?: string | null | undefined;
26
+ provider: string;
27
+ providerRequestId?: string | null | undefined;
28
+ rawByteCount?: number | null | undefined;
29
+ rawCharset?: string | null | undefined;
30
+ rawMediaType?: string | null | undefined;
31
+ sourceKey: string;
32
+ upstreamContentEncoding?: string | null | undefined;
33
+ }, unknown>>;
34
+ result: z.ZodArray<z.ZodType<{
35
+ relevanceScore: number;
36
+ snippet: string;
37
+ title: string;
38
+ url: string;
39
+ }, unknown, z.core.$ZodTypeInternals<{
40
+ relevanceScore: number;
41
+ snippet: string;
42
+ title: string;
43
+ url: string;
44
+ }, unknown>>>;
45
+ search: z.ZodType<{
46
+ bypassCache?: boolean | undefined;
47
+ cacheKey?: string | null | undefined;
48
+ language?: string | null | undefined;
49
+ region?: string | null | undefined;
50
+ resultLimit?: number | null | undefined;
51
+ search: string;
52
+ source?: string | null | undefined;
53
+ }, unknown, z.core.$ZodTypeInternals<{
54
+ bypassCache?: boolean | undefined;
55
+ cacheKey?: string | null | undefined;
56
+ language?: string | null | undefined;
57
+ region?: string | null | undefined;
58
+ resultLimit?: number | null | undefined;
59
+ search: string;
60
+ source?: string | null | undefined;
61
+ }, unknown>>;
62
+ }, z.core.$strip>;
63
+ type WebSearchDefinition = z.infer<typeof WebSearchSchemaDefinition>;
64
+ /**
65
+ * Live web search result with its backing source-document row and normalized items
66
+ *
67
+ * @openapiSchema WebSearch
68
+ * @endpoint POST /v1/web/search
69
+ * @contractShape web.search
70
+ * @contractRole canonical
71
+ */
72
+ export declare const WebSearchSchema: z.ZodType<WebSearchDefinition>;
73
+ export type WebSearch = z.infer<typeof WebSearchSchema>;
74
+ export {};
75
+ //# sourceMappingURL=search.d.ts.map
@@ -0,0 +1,23 @@
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 { SearchHitSchema } from "../search/hit.js";
4
+ import { SearchSchema } from "../search/search.js";
5
+ import { SourceDocumentListSchema } from "../source/document-list.js";
6
+ const WebSearchSchemaDefinition = z.object({
7
+ /** Source-document ledger row backing this result */
8
+ document: SourceDocumentListSchema,
9
+ /** Normalized result items in provider rank order */
10
+ result: z.array(SearchHitSchema),
11
+ /** Web search request represented by this result */
12
+ search: SearchSchema,
13
+ });
14
+ /**
15
+ * Live web search result with its backing source-document row and normalized items
16
+ *
17
+ * @openapiSchema WebSearch
18
+ * @endpoint POST /v1/web/search
19
+ * @contractShape web.search
20
+ * @contractRole canonical
21
+ */
22
+ export const WebSearchSchema = WebSearchSchemaDefinition;
23
+ //# sourceMappingURL=search.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.1",
3
+ "version": "0.8.5",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas for the public aVenture API.",
6
6
  "license": "Apache-2.0",
@@ -1,18 +0,0 @@
1
- import { z } from "zod/v4";
2
- /**
3
- * Coverage verdict for one completion gate on the assembled entity detail. NOT_EVALUABLE is not a failure and is not closed by evidence: the detail does not carry this gate at all, so only the gate's owningRead can grade it.
4
- *
5
- * @openapiSchema CompletionGateCoverage
6
- * @endpoint GET /v1/entities/{entityId}/products/suggestions
7
- * @endpoint GET /v1/entities/{entityId}/relationships/suggestions
8
- * @usedBySchema EntityDetailCoverageSlotSchema
9
- * @contractShape completion.gate-coverage
10
- * @contractRole canonical
11
- */
12
- export declare const CompletionGateCoverageSchema: z.ZodEnum<{
13
- ABSENT: "ABSENT";
14
- NOT_EVALUABLE: "NOT_EVALUABLE";
15
- PRESENT: "PRESENT";
16
- }>;
17
- export type CompletionGateCoverage = z.infer<typeof CompletionGateCoverageSchema>;
18
- //# sourceMappingURL=gate-coverage.d.ts.map
@@ -1,14 +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
- /**
4
- * Coverage verdict for one completion gate on the assembled entity detail. NOT_EVALUABLE is not a failure and is not closed by evidence: the detail does not carry this gate at all, so only the gate's owningRead can grade it.
5
- *
6
- * @openapiSchema CompletionGateCoverage
7
- * @endpoint GET /v1/entities/{entityId}/products/suggestions
8
- * @endpoint GET /v1/entities/{entityId}/relationships/suggestions
9
- * @usedBySchema EntityDetailCoverageSlotSchema
10
- * @contractShape completion.gate-coverage
11
- * @contractRole canonical
12
- */
13
- export const CompletionGateCoverageSchema = z.enum(["PRESENT", "ABSENT", "NOT_EVALUABLE"]);
14
- //# sourceMappingURL=gate-coverage.js.map
@@ -1,32 +0,0 @@
1
- import { z } from "zod/v4";
2
- declare const EntityDetailCoverageSlotSchemaDefinition: z.ZodObject<{
3
- count: z.ZodInt;
4
- coverage: z.ZodEnum<{
5
- ABSENT: "ABSENT";
6
- NOT_EVALUABLE: "NOT_EVALUABLE";
7
- PRESENT: "PRESENT";
8
- }>;
9
- gateId: z.ZodString;
10
- howToObtain: z.ZodString;
11
- label: z.ZodString;
12
- owningRead: z.ZodString;
13
- parentPersonId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
14
- parentProductServiceId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
15
- required: z.ZodBoolean;
16
- unobtainableAllowed: z.ZodBoolean;
17
- }, z.core.$strip>;
18
- type EntityDetailCoverageSlotDefinition = z.infer<typeof EntityDetailCoverageSlotSchemaDefinition>;
19
- /**
20
- * One completion gate evaluated against the assembled entity detail.
21
- *
22
- * @openapiSchema EntityDetailCoverageSlot
23
- * @endpoint GET /v1/entities/{entityId}/products/suggestions
24
- * @endpoint GET /v1/entities/{entityId}/relationships/suggestions
25
- * @usedBySchema EntitySuggestionResultSchema
26
- * @contractShape entity.detail-coverage-slot
27
- * @contractRole canonical
28
- */
29
- export declare const EntityDetailCoverageSlotSchema: z.ZodType<EntityDetailCoverageSlotDefinition>;
30
- export type EntityDetailCoverageSlot = z.infer<typeof EntityDetailCoverageSlotSchema>;
31
- export {};
32
- //# sourceMappingURL=detail-coverage-slot.d.ts.map
@@ -1,37 +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
- import { CompletionGateCoverageSchema } from "../completion/gate-coverage.js";
4
- const EntityDetailCoverageSlotSchemaDefinition = z.object({
5
- /** Resolved row/value count backing this gate. */
6
- count: z.int(),
7
- /** Coverage verdict for this gate on the assembled detail. NOT_EVALUABLE means the detail does not carry the gate, so it is neither satisfied nor unsatisfied here — grade it from owningRead instead of treating it as an unmet gate. */
8
- coverage: CompletionGateCoverageSchema,
9
- /** Canonical dotted completion gate id. */
10
- gateId: z.string(),
11
- /** What to do to obtain this gate when it is not present. */
12
- howToObtain: z.string(),
13
- /** Human-readable gate name. */
14
- label: z.string(),
15
- /** OpenAPI operationId of the canonical read that proves the gate. */
16
- owningRead: z.string(),
17
- /** Parent person this slot was instantiated for when indexed per person. Null on flat and Product/Service-indexed gates. Two per-person slots sharing a gateId are distinguished by this id; per-person slots remain advisory rather than required. */
18
- parentPersonId: z.uuid().nullish(),
19
- /** Parent Product/Service this slot was instantiated for when indexed per offering. Null on flat and per-person gates. Required Product/Service slots sharing a gateId are addressed independently by this id. */
20
- parentProductServiceId: z.uuid().nullish(),
21
- /** Whether this read can decide and demand the gate. True for mandatory flat-floor gates and for server-decidable indexed Product/Service gates. False for indexed per-person slots: their source-backed unobtainable relief lives only in the run completion ledger, so the server cannot terminally decide them. */
22
- required: z.boolean(),
23
- /** Whether the governed completion contract permits source-backed unobtainable evidence to relieve this exact absent slot. */
24
- unobtainableAllowed: z.boolean(),
25
- });
26
- /**
27
- * One completion gate evaluated against the assembled entity detail.
28
- *
29
- * @openapiSchema EntityDetailCoverageSlot
30
- * @endpoint GET /v1/entities/{entityId}/products/suggestions
31
- * @endpoint GET /v1/entities/{entityId}/relationships/suggestions
32
- * @usedBySchema EntitySuggestionResultSchema
33
- * @contractShape entity.detail-coverage-slot
34
- * @contractRole canonical
35
- */
36
- export const EntityDetailCoverageSlotSchema = EntityDetailCoverageSlotSchemaDefinition;
37
- //# sourceMappingURL=detail-coverage-slot.js.map
@@ -1,16 +0,0 @@
1
- import { z } from "zod/v4";
2
- declare const EntityFilterCountMetaSchemaDefinition: z.ZodObject<{
3
- total: z.ZodInt;
4
- }, z.core.$strip>;
5
- type EntityFilterCountMetaDefinition = z.infer<typeof EntityFilterCountMetaSchemaDefinition>;
6
- /**
7
- * @openapiSchema EntityFilterCountMeta
8
- * @endpoint GET /v1/entities/filters/counts
9
- * @usedBySchema EntityFilterCountResultSchema
10
- * @contractShape entity.filter-count-meta
11
- * @contractRole canonical
12
- */
13
- export declare const EntityFilterCountMetaSchema: z.ZodType<EntityFilterCountMetaDefinition>;
14
- export type EntityFilterCountMeta = z.infer<typeof EntityFilterCountMetaSchema>;
15
- export {};
16
- //# sourceMappingURL=filter-count-meta.d.ts.map
@@ -1,14 +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 EntityFilterCountMetaSchemaDefinition = z.object({
4
- total: z.int(),
5
- });
6
- /**
7
- * @openapiSchema EntityFilterCountMeta
8
- * @endpoint GET /v1/entities/filters/counts
9
- * @usedBySchema EntityFilterCountResultSchema
10
- * @contractShape entity.filter-count-meta
11
- * @contractRole canonical
12
- */
13
- export const EntityFilterCountMetaSchema = EntityFilterCountMetaSchemaDefinition;
14
- //# sourceMappingURL=filter-count-meta.js.map
@@ -1,26 +0,0 @@
1
- import { z } from "zod/v4";
2
- declare const EntityFilterCountResultSchemaDefinition: z.ZodObject<{
3
- count: z.ZodArray<z.ZodType<{
4
- count: number;
5
- name: string;
6
- }, unknown, z.core.$ZodTypeInternals<{
7
- count: number;
8
- name: string;
9
- }, unknown>>>;
10
- meta: z.ZodType<{
11
- total: number;
12
- }, unknown, z.core.$ZodTypeInternals<{
13
- total: number;
14
- }, unknown>>;
15
- }, z.core.$strip>;
16
- type EntityFilterCountResultDefinition = z.infer<typeof EntityFilterCountResultSchemaDefinition>;
17
- /**
18
- * @openapiSchema EntityFilterCountResult
19
- * @endpoint GET /v1/entities/filters/counts
20
- * @contractShape entity.filter-count-result
21
- * @contractRole canonical
22
- */
23
- export declare const EntityFilterCountResultSchema: z.ZodType<EntityFilterCountResultDefinition>;
24
- export type EntityFilterCountResult = z.infer<typeof EntityFilterCountResultSchema>;
25
- export {};
26
- //# sourceMappingURL=filter-count-result.d.ts.map
@@ -1,16 +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
- import { EntityFilterCountMetaSchema } from "./filter-count-meta.js";
4
- import { EntityTagCountSchema } from "./tag-count.js";
5
- const EntityFilterCountResultSchemaDefinition = z.object({
6
- count: z.array(EntityTagCountSchema),
7
- meta: EntityFilterCountMetaSchema,
8
- });
9
- /**
10
- * @openapiSchema EntityFilterCountResult
11
- * @endpoint GET /v1/entities/filters/counts
12
- * @contractShape entity.filter-count-result
13
- * @contractRole canonical
14
- */
15
- export const EntityFilterCountResultSchema = EntityFilterCountResultSchemaDefinition;
16
- //# sourceMappingURL=filter-count-result.js.map
@@ -1,19 +0,0 @@
1
- import { z } from "zod/v4";
2
- export declare const ENTITY_FILTERS_COUNTS_ENDPOINT: "/v1/entities/filters/counts";
3
- /**
4
- * Request-side query params for `GET /v1/entities/filters/counts`.
5
- *
6
- * Generated from inline OpenAPI query parameters published by the backend controller.
7
- *
8
- * @endpoint GET /v1/entities/filters/counts
9
- * @contractShape entity.filters-counts-param
10
- * @contractRole canonical
11
- */
12
- export declare const EntityFiltersCountsParamSchema: z.ZodObject<{
13
- minCount: z.ZodOptional<z.ZodInt>;
14
- name: z.ZodOptional<z.ZodArray<z.ZodString>>;
15
- size: z.ZodOptional<z.ZodInt>;
16
- typeRecord: z.ZodOptional<z.ZodString>;
17
- }, z.core.$strip>;
18
- export type EntityFiltersCountsParam = z.infer<typeof EntityFiltersCountsParamSchema>;
19
- //# sourceMappingURL=filters-counts-param.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
- export const ENTITY_FILTERS_COUNTS_ENDPOINT = "/v1/entities/filters/counts";
4
- /**
5
- * Request-side query params for `GET /v1/entities/filters/counts`.
6
- *
7
- * Generated from inline OpenAPI query parameters published by the backend controller.
8
- *
9
- * @endpoint GET /v1/entities/filters/counts
10
- * @contractShape entity.filters-counts-param
11
- * @contractRole canonical
12
- */
13
- export const EntityFiltersCountsParamSchema = z.object({
14
- /** Minimum count threshold */
15
- minCount: z.int().min(0).optional(),
16
- /** Tag name values to filter counts */
17
- name: z.array(z.string()).max(100).optional(),
18
- /** Maximum number of results */
19
- size: z.int().min(1).max(200).optional(),
20
- /** Entity type (Company, Investment Firm, etc.) */
21
- typeRecord: z.string().optional(),
22
- });
23
- //# sourceMappingURL=filters-counts-param.js.map