@aventurevc/api-schemas 0.8.141 → 0.8.143

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.
@@ -125,6 +125,7 @@ declare const EntityAcquisitionSchemaDefinition: z.ZodObject<{
125
125
  }, import("./acquisition-evidence.ts").EntityAcquisitionEvidenceSchemaInput>>;
126
126
  fundraiseTransactionId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
127
127
  investorJoinId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
128
+ isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
128
129
  publicSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
129
130
  lastFetchedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
130
131
  publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
@@ -23,6 +23,8 @@ const EntityAcquisitionSchemaDefinition = z.object({
23
23
  fundraiseTransactionId: z.uuid().nullish(),
24
24
  /** Type-safe identifier for fundraise investor joins */
25
25
  investorJoinId: z.uuid().nullish(),
26
+ /** Whether this acquisition relationship still represents current ownership. */
27
+ isCurrent: z.boolean().nullish(),
26
28
  /** Published page behind this acquisition, read from the provenance event that wrote it; absent for internal sources. */
27
29
  publicSource: EntityResearchPublicSourceSchema.nullish(),
28
30
  relationshipId: z.int(),
@@ -4,11 +4,14 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema HarnessRunEnvironment
6
6
  * @endpoint GET /v1/harness/runs/{runId}
7
+ * @endpoint GET /v1/web/searches/jobs/{jobId}
7
8
  * @endpoint POST /v1/enrichments
8
9
  * @endpoint POST /v1/entities/{entityId}/enrichments
9
10
  * @endpoint POST /v1/harness/runs
10
11
  * @endpoint POST /v1/people/{personId}/enrichments
12
+ * @endpoint POST /v1/web/search
11
13
  * @usedBySchema HarnessRunSchema
14
+ * @usedBySchema SearchSchema
12
15
  * @contractShape harness.run-environment
13
16
  * @contractRole canonical
14
17
  */
@@ -5,11 +5,14 @@ import { z } from "zod/v4";
5
5
  *
6
6
  * @openapiSchema HarnessRunEnvironment
7
7
  * @endpoint GET /v1/harness/runs/{runId}
8
+ * @endpoint GET /v1/web/searches/jobs/{jobId}
8
9
  * @endpoint POST /v1/enrichments
9
10
  * @endpoint POST /v1/entities/{entityId}/enrichments
10
11
  * @endpoint POST /v1/harness/runs
11
12
  * @endpoint POST /v1/people/{personId}/enrichments
13
+ * @endpoint POST /v1/web/search
12
14
  * @usedBySchema HarnessRunSchema
15
+ * @usedBySchema SearchSchema
13
16
  * @contractShape harness.run-environment
14
17
  * @contractRole canonical
15
18
  */
@@ -445,6 +445,7 @@ declare const PageEntityAcquisitionSchemaDefinition: z.ZodObject<{
445
445
  };
446
446
  fundraiseTransactionId?: string | null | undefined;
447
447
  investorJoinId?: string | null | undefined;
448
+ isCurrent?: boolean | null | undefined;
448
449
  publicSource?: {
449
450
  lastFetchedAt?: string | null | undefined;
450
451
  publishedAt?: string | null | undefined;
@@ -535,6 +536,7 @@ declare const PageEntityAcquisitionSchemaDefinition: z.ZodObject<{
535
536
  };
536
537
  fundraiseTransactionId?: string | null | undefined;
537
538
  investorJoinId?: string | null | undefined;
539
+ isCurrent?: boolean | null | undefined;
538
540
  publicSource?: {
539
541
  lastFetchedAt?: string | null | undefined;
540
542
  publishedAt?: string | null | undefined;
@@ -3,6 +3,7 @@ declare const SearchSchemaDefinition: z.ZodObject<{
3
3
  allowSuspectedShellStrip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
4
4
  bypassCache: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5
5
  cacheKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
+ catalogRevision: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6
7
  deep: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7
8
  language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
9
  region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -13,6 +14,13 @@ declare const SearchSchemaDefinition: z.ZodObject<{
13
14
  }, z.core.$strip>>>;
14
15
  search: z.ZodString;
15
16
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ tenant: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
18
+ development: "development";
19
+ production: "production";
20
+ staging: "staging";
21
+ unassigned: "unassigned";
22
+ }>>>;
23
+ tenantPolicyRevision: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
16
24
  }, z.core.$strip>;
17
25
  type SearchDefinition = z.infer<typeof SearchSchemaDefinition>;
18
26
  export interface SearchSchemaInput extends z.input<typeof SearchSchemaDefinition> {
@@ -1,6 +1,7 @@
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
3
  import { EntityPersonOwnerSchema } from "../entity/person-owner.js";
4
+ import { HarnessRunEnvironmentSchema } from "../harness/run-environment.js";
4
5
  const SearchSchemaDefinition = z.object({
5
6
  /** Allow intentional money-like text without a currency marker; prefer --from-file. */
6
7
  allowSuspectedShellStrip: z.boolean().nullish(),
@@ -8,6 +9,8 @@ const SearchSchemaDefinition = z.object({
8
9
  bypassCache: z.boolean().default(false).optional(),
9
10
  /** Stable lookup text for cache keying when generated search text varies between runs */
10
11
  cacheKey: z.string().nullish(),
12
+ /** Server-selected search catalog revision. */
13
+ catalogRevision: z.int().nullish(),
11
14
  /** Run Exa's slower, broader deep search instead of the default provider: higher recall for market and provider questions, about 3-6 s per search, answered synchronously (`Prefer: respond-async` does not apply). Charged like any search. */
12
15
  deep: z.boolean().default(false).optional(),
13
16
  /** Search language code */
@@ -22,6 +25,10 @@ const SearchSchemaDefinition = z.object({
22
25
  search: z.string(),
23
26
  /** Optional caller identity, up to 64 characters, persisted for source-document attribution and abuse triage. Agent requests derive `<agentModel>-<agentChassis>` from the validated provenance actor instead of this field. */
24
27
  source: z.string().max(64).nullish(),
28
+ /** Server-selected deployment tenant. */
29
+ tenant: HarnessRunEnvironmentSchema.nullish(),
30
+ /** Server-selected tenant execution-policy revision. */
31
+ tenantPolicyRevision: z.int().nullish(),
25
32
  });
26
33
  /**
27
34
  * Live web search request with cache controls
@@ -46,6 +46,7 @@ declare const WebSearchSchemaDefinition: z.ZodObject<{
46
46
  allowSuspectedShellStrip?: boolean | null | undefined;
47
47
  bypassCache?: boolean | undefined;
48
48
  cacheKey?: string | null | undefined;
49
+ catalogRevision?: number | null | undefined;
49
50
  deep?: boolean | undefined;
50
51
  language?: string | null | undefined;
51
52
  region?: string | null | undefined;
@@ -56,10 +57,13 @@ declare const WebSearchSchemaDefinition: z.ZodObject<{
56
57
  } | null | undefined;
57
58
  search: string;
58
59
  source?: string | null | undefined;
60
+ tenant?: "development" | "production" | "staging" | "unassigned" | null | undefined;
61
+ tenantPolicyRevision?: number | null | undefined;
59
62
  }, import("../search/search.ts").SearchSchemaInput, z.core.$ZodTypeInternals<{
60
63
  allowSuspectedShellStrip?: boolean | null | undefined;
61
64
  bypassCache?: boolean | undefined;
62
65
  cacheKey?: string | null | undefined;
66
+ catalogRevision?: number | null | undefined;
63
67
  deep?: boolean | undefined;
64
68
  language?: string | null | undefined;
65
69
  region?: string | null | undefined;
@@ -70,6 +74,8 @@ declare const WebSearchSchemaDefinition: z.ZodObject<{
70
74
  } | null | undefined;
71
75
  search: string;
72
76
  source?: string | null | undefined;
77
+ tenant?: "development" | "production" | "staging" | "unassigned" | null | undefined;
78
+ tenantPolicyRevision?: number | null | undefined;
73
79
  }, import("../search/search.ts").SearchSchemaInput>>;
74
80
  }, z.core.$strip>;
75
81
  type WebSearchDefinition = z.infer<typeof WebSearchSchemaDefinition>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.141",
3
+ "version": "0.8.143",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",