@aventurevc/api-schemas 0.8.34 → 0.8.36

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.
@@ -13,7 +13,7 @@ const EnrichmentBatchSchemaDefinition = z.object({
13
13
  /** Task preset keys that scope or emphasize every run; at least one is required when mode is INDIVIDUAL, and an unknown key is a 400 */
14
14
  taskPresetKey: z.array(z.string()).nullish(),
15
15
  /** Plain-language instruction for every run, such as which facts or sources to check first */
16
- userPrompt: z.string().nullish(),
16
+ userPrompt: z.string().max(2000).nullish(),
17
17
  });
18
18
  /**
19
19
  * Existing records to enrich in one call, with the run options every run shares
@@ -0,0 +1,18 @@
1
+ import { z } from "zod/v4";
2
+ declare const EnrichmentPromptSchemaDefinition: z.ZodObject<{
3
+ userPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
+ }, z.core.$strip>;
5
+ type EnrichmentPromptDefinition = z.infer<typeof EnrichmentPromptSchemaDefinition>;
6
+ /**
7
+ * Optional steering for one company or person enrichment run
8
+ *
9
+ * @openapiSchema EnrichmentPrompt
10
+ * @endpoint POST /v1/entities/{entityId}/enrichments
11
+ * @endpoint POST /v1/people/{personId}/enrichments
12
+ * @contractShape enrichment.prompt
13
+ * @contractRole canonical
14
+ */
15
+ export declare const EnrichmentPromptSchema: z.ZodType<EnrichmentPromptDefinition>;
16
+ export type EnrichmentPrompt = z.infer<typeof EnrichmentPromptSchema>;
17
+ export {};
18
+ //# sourceMappingURL=prompt.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
+ const EnrichmentPromptSchemaDefinition = z.object({
4
+ /** Plain-language instruction for this run, such as which facts or sources to check first */
5
+ userPrompt: z.string().max(2000).nullish(),
6
+ });
7
+ /**
8
+ * Optional steering for one company or person enrichment run
9
+ *
10
+ * @openapiSchema EnrichmentPrompt
11
+ * @endpoint POST /v1/entities/{entityId}/enrichments
12
+ * @endpoint POST /v1/people/{personId}/enrichments
13
+ * @contractShape enrichment.prompt
14
+ * @contractRole canonical
15
+ */
16
+ export const EnrichmentPromptSchema = EnrichmentPromptSchemaDefinition;
17
+ //# sourceMappingURL=prompt.js.map
@@ -14,7 +14,7 @@ const IdentificationSubjectSchemaDefinition = z.object({
14
14
  sourceNewsId: z.int().nullish(),
15
15
  /** URL of the article that mentions the subject; read from aVenture news when stored there, otherwise fetched. */
16
16
  sourceUrl: z.string().max(2000).nullish(),
17
- /** Entity type to identify. A Product or Service never matches its provider organization, but a record stored under a neighboring type of the same family (Product or Service; Fund, Investment Firm, or Company) still matches, and a Business Line lookup sees both families. */
17
+ /** Entity type to identify. A Product or Service never matches its provider organization, but a record stored under a neighboring type of the same family (Product or Service; Fund, Investment Firm, or Company) still matches, and a Business Line lookup sees both families. Invalid for a person lookup. */
18
18
  typeRecord: EntityTypeSchema.nullish(),
19
19
  /** URLs the subject owns: its website, its LinkedIn company or person profile, or a registry page. At most 10. Put articles in sourceUrl. */
20
20
  url: z.array(z.string()).max(10).optional(),
@@ -198,6 +198,7 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
198
198
  Enrichment: { modulePath: "enrichment/enrichment", schemaName: "EnrichmentSchema" },
199
199
  EnrichmentBatch: { modulePath: "enrichment/batch", schemaName: "EnrichmentBatchSchema" },
200
200
  EnrichmentMode: { modulePath: "enrichment/mode", schemaName: "EnrichmentModeSchema" },
201
+ EnrichmentPrompt: { modulePath: "enrichment/prompt", schemaName: "EnrichmentPromptSchema" },
201
202
  EnrichmentRefusalType: {
202
203
  modulePath: "enrichment/refusal-type",
203
204
  schemaName: "EnrichmentRefusalTypeSchema",
@@ -1,7 +1,13 @@
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>>;
3
7
  minimumIosBuild: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4
8
  minimumIosVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ minimumMacosBuild: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
10
+ minimumMacosVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
11
  operationFingerprint: z.ZodString;
6
12
  uptime: z.ZodType<{
7
13
  availability?: number | null | undefined;
@@ -17,7 +23,7 @@ declare const SystemStatusSchemaDefinition: z.ZodObject<{
17
23
  }, z.core.$strip>;
18
24
  type SystemStatusDefinition = z.infer<typeof SystemStatusSchemaDefinition>;
19
25
  /**
20
- * Uptime SLA, served-operation identity, and minimum supported iOS build
26
+ * Uptime SLA, served-operation identity, and Apple app update policy
21
27
  *
22
28
  * @openapiSchema SystemStatus
23
29
  * @endpoint GET /v1/status
@@ -2,17 +2,29 @@
2
2
  import { z } from "zod/v4";
3
3
  import { UptimeSchema } from "../uptime/uptime.js";
4
4
  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(),
5
13
  /** Minimum supported App Store iOS build number within the minimum version */
6
14
  minimumIosBuild: z.int().nullish(),
7
15
  /** Minimum supported App Store iOS marketing version; empty disables update enforcement */
8
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(),
9
21
  /** 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. */
10
22
  operationFingerprint: z.string(),
11
23
  /** Uptime SLA data from external uptime monitoring */
12
24
  uptime: UptimeSchema,
13
25
  });
14
26
  /**
15
- * Uptime SLA, served-operation identity, and minimum supported iOS build
27
+ * Uptime SLA, served-operation identity, and Apple app update policy
16
28
  *
17
29
  * @openapiSchema SystemStatus
18
30
  * @endpoint GET /v1/status
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.34",
3
+ "version": "0.8.36",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",