@aventurevc/api-schemas 0.8.445 → 0.8.446

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.
@@ -62,11 +62,13 @@ declare const AgentHelpSchemaDefinition: z.ZodObject<{
62
62
  noWriteOutcome: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
63
63
  ALREADY_PRESENT: "ALREADY_PRESENT";
64
64
  NO_LEADS: "NO_LEADS";
65
+ STILL_OPERATING: "STILL_OPERATING";
65
66
  UNRESOLVED: "UNRESOLVED";
66
67
  }>, z.ZodString]> & {
67
68
  enum: {
68
69
  ALREADY_PRESENT: "ALREADY_PRESENT";
69
70
  NO_LEADS: "NO_LEADS";
71
+ STILL_OPERATING: "STILL_OPERATING";
70
72
  UNRESOLVED: "UNRESOLVED";
71
73
  };
72
74
  }>>;
@@ -126,6 +126,19 @@ declare const EnrichmentSchemaDefinition: z.ZodObject<{
126
126
  finishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
127
127
  iteration: z.ZodInt;
128
128
  lockedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
129
+ noWriteOutcome: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
130
+ ALREADY_PRESENT: "ALREADY_PRESENT";
131
+ NO_LEADS: "NO_LEADS";
132
+ STILL_OPERATING: "STILL_OPERATING";
133
+ UNRESOLVED: "UNRESOLVED";
134
+ }>, z.ZodString]> & {
135
+ enum: {
136
+ ALREADY_PRESENT: "ALREADY_PRESENT";
137
+ NO_LEADS: "NO_LEADS";
138
+ STILL_OPERATING: "STILL_OPERATING";
139
+ UNRESOLVED: "UNRESOLVED";
140
+ };
141
+ }>>;
129
142
  requesterRemoved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
130
143
  sequence: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
131
144
  status: z.ZodEnum<{
@@ -301,6 +301,19 @@ declare const HarnessRunDetailSchemaDefinition: z.ZodObject<{
301
301
  finishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
302
302
  iteration: z.ZodInt;
303
303
  lockedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
304
+ noWriteOutcome: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
305
+ ALREADY_PRESENT: "ALREADY_PRESENT";
306
+ NO_LEADS: "NO_LEADS";
307
+ STILL_OPERATING: "STILL_OPERATING";
308
+ UNRESOLVED: "UNRESOLVED";
309
+ }>, z.ZodString]> & {
310
+ enum: {
311
+ ALREADY_PRESENT: "ALREADY_PRESENT";
312
+ NO_LEADS: "NO_LEADS";
313
+ STILL_OPERATING: "STILL_OPERATING";
314
+ UNRESOLVED: "UNRESOLVED";
315
+ };
316
+ }>>;
304
317
  requesterRemoved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
305
318
  sequence: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
306
319
  status: z.ZodEnum<{
@@ -18,6 +18,19 @@ export declare const HarnessRunTerminalDecisionSchema: z.ZodObject<{
18
18
  finishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
19
19
  iteration: z.ZodInt;
20
20
  lockedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
21
+ noWriteOutcome: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
22
+ ALREADY_PRESENT: "ALREADY_PRESENT";
23
+ NO_LEADS: "NO_LEADS";
24
+ STILL_OPERATING: "STILL_OPERATING";
25
+ UNRESOLVED: "UNRESOLVED";
26
+ }>, z.ZodString]> & {
27
+ enum: {
28
+ ALREADY_PRESENT: "ALREADY_PRESENT";
29
+ NO_LEADS: "NO_LEADS";
30
+ STILL_OPERATING: "STILL_OPERATING";
31
+ UNRESOLVED: "UNRESOLVED";
32
+ };
33
+ }>>;
21
34
  requesterRemoved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
35
  sequence: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
23
36
  status: z.ZodEnum<{
@@ -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 { HarnessRunStatusSchema } from "./run-status.js";
4
+ import { HarnessTaskNoWriteOutcomeSchema } from "./task-no-write-outcome.js";
4
5
  /**
5
6
  * Server admission for one terminal transition
6
7
  *
@@ -24,6 +25,8 @@ export const HarnessRunTerminalDecisionSchema = z.object({
24
25
  iteration: z.int(),
25
26
  /** Lease generation at the terminal transition */
26
27
  lockedAt: z.iso.datetime({ offset: true }).nullish(),
28
+ /** Server-admitted typed no-write outcome */
29
+ noWriteOutcome: HarnessTaskNoWriteOutcomeSchema.nullish(),
27
30
  /** Requester deletion verified for this terminal completion */
28
31
  requesterRemoved: z.boolean().nullish(),
29
32
  /** Server event sequence on run reads; the event stream supplies it separately */
@@ -124,6 +124,19 @@ export declare const HarnessRunSchema: z.ZodObject<{
124
124
  finishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
125
125
  iteration: z.ZodInt;
126
126
  lockedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
127
+ noWriteOutcome: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
128
+ ALREADY_PRESENT: "ALREADY_PRESENT";
129
+ NO_LEADS: "NO_LEADS";
130
+ STILL_OPERATING: "STILL_OPERATING";
131
+ UNRESOLVED: "UNRESOLVED";
132
+ }>, z.ZodString]> & {
133
+ enum: {
134
+ ALREADY_PRESENT: "ALREADY_PRESENT";
135
+ NO_LEADS: "NO_LEADS";
136
+ STILL_OPERATING: "STILL_OPERATING";
137
+ UNRESOLVED: "UNRESOLVED";
138
+ };
139
+ }>>;
127
140
  requesterRemoved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
128
141
  sequence: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
129
142
  status: z.ZodEnum<{
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod/v4";
2
2
  /**
3
- * NO_LEADS: the source held no accepted lead and the run attempted no write. ALREADY_PRESENT: each accepted lead is already present, proved by its owning read or a required create answering 409; the run committed no mutation. UNRESOLVED: a lead's identity stayed unresolved after a committed lookup read, with a stated reason.
3
+ * NO_LEADS: the source held no accepted lead and the run attempted no write. ALREADY_PRESENT: each accepted lead is already present, proved by its owning read or a required create answering 409; the run committed no mutation. UNRESOLVED: a lead's identity stayed unresolved after a committed lookup read, with a stated reason. STILL_OPERATING: a source-backed investigation disproved suspected closure without committing research-data mutations.
4
4
  *
5
5
  * @openapiSchema HarnessTaskNoWriteOutcome
6
+ * @endpoint GET /v1/research/runs
7
+ * @endpoint GET /v1/research/runs/{runId}
8
+ * @endpoint POST /v1/enrichments
9
+ * @endpoint POST /v1/entities/{entityId}/enrichments
6
10
  * @endpoint POST /v1/help
11
+ * @endpoint POST /v1/people/{personId}/enrichments
12
+ * @endpoint POST /v1/research/runs
13
+ * @usedBySchema HarnessRunTerminalDecisionSchema
7
14
  * @usedBySchema HarnessTaskPlanSchema
8
15
  * @contractShape harness.task-no-write-outcome
9
16
  * @contractRole canonical
@@ -11,11 +18,13 @@ import { z } from "zod/v4";
11
18
  export declare const HarnessTaskNoWriteOutcomeSchema: z.ZodUnion<readonly [z.ZodEnum<{
12
19
  ALREADY_PRESENT: "ALREADY_PRESENT";
13
20
  NO_LEADS: "NO_LEADS";
21
+ STILL_OPERATING: "STILL_OPERATING";
14
22
  UNRESOLVED: "UNRESOLVED";
15
23
  }>, z.ZodString]> & {
16
24
  enum: {
17
25
  ALREADY_PRESENT: "ALREADY_PRESENT";
18
26
  NO_LEADS: "NO_LEADS";
27
+ STILL_OPERATING: "STILL_OPERATING";
19
28
  UNRESOLVED: "UNRESOLVED";
20
29
  };
21
30
  };
@@ -4,12 +4,20 @@ const HarnessTaskNoWriteOutcomeSchemaKnownMembers = z.enum([
4
4
  "NO_LEADS",
5
5
  "ALREADY_PRESENT",
6
6
  "UNRESOLVED",
7
+ "STILL_OPERATING",
7
8
  ]);
8
9
  /**
9
- * NO_LEADS: the source held no accepted lead and the run attempted no write. ALREADY_PRESENT: each accepted lead is already present, proved by its owning read or a required create answering 409; the run committed no mutation. UNRESOLVED: a lead's identity stayed unresolved after a committed lookup read, with a stated reason.
10
+ * NO_LEADS: the source held no accepted lead and the run attempted no write. ALREADY_PRESENT: each accepted lead is already present, proved by its owning read or a required create answering 409; the run committed no mutation. UNRESOLVED: a lead's identity stayed unresolved after a committed lookup read, with a stated reason. STILL_OPERATING: a source-backed investigation disproved suspected closure without committing research-data mutations.
10
11
  *
11
12
  * @openapiSchema HarnessTaskNoWriteOutcome
13
+ * @endpoint GET /v1/research/runs
14
+ * @endpoint GET /v1/research/runs/{runId}
15
+ * @endpoint POST /v1/enrichments
16
+ * @endpoint POST /v1/entities/{entityId}/enrichments
12
17
  * @endpoint POST /v1/help
18
+ * @endpoint POST /v1/people/{personId}/enrichments
19
+ * @endpoint POST /v1/research/runs
20
+ * @usedBySchema HarnessRunTerminalDecisionSchema
13
21
  * @usedBySchema HarnessTaskPlanSchema
14
22
  * @contractShape harness.task-no-write-outcome
15
23
  * @contractRole canonical
@@ -28,11 +28,13 @@ export declare const HarnessTaskPlanSchema: z.ZodObject<{
28
28
  noWriteOutcome: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
29
29
  ALREADY_PRESENT: "ALREADY_PRESENT";
30
30
  NO_LEADS: "NO_LEADS";
31
+ STILL_OPERATING: "STILL_OPERATING";
31
32
  UNRESOLVED: "UNRESOLVED";
32
33
  }>, z.ZodString]> & {
33
34
  enum: {
34
35
  ALREADY_PRESENT: "ALREADY_PRESENT";
35
36
  NO_LEADS: "NO_LEADS";
37
+ STILL_OPERATING: "STILL_OPERATING";
36
38
  UNRESOLVED: "UNRESOLVED";
37
39
  };
38
40
  }>>;
@@ -51,11 +51,13 @@ export declare const HelpResolutionSchema: z.ZodObject<{
51
51
  noWriteOutcome: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
52
52
  ALREADY_PRESENT: "ALREADY_PRESENT";
53
53
  NO_LEADS: "NO_LEADS";
54
+ STILL_OPERATING: "STILL_OPERATING";
54
55
  UNRESOLVED: "UNRESOLVED";
55
56
  }>, z.ZodString]> & {
56
57
  enum: {
57
58
  ALREADY_PRESENT: "ALREADY_PRESENT";
58
59
  NO_LEADS: "NO_LEADS";
60
+ STILL_OPERATING: "STILL_OPERATING";
59
61
  UNRESOLVED: "UNRESOLVED";
60
62
  };
61
63
  }>>;
@@ -14971,6 +14971,19 @@ declare const PageHarnessRunSchemaDefinition: z.ZodObject<{
14971
14971
  finishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
14972
14972
  iteration: z.ZodInt;
14973
14973
  lockedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
14974
+ noWriteOutcome: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
14975
+ ALREADY_PRESENT: "ALREADY_PRESENT";
14976
+ NO_LEADS: "NO_LEADS";
14977
+ STILL_OPERATING: "STILL_OPERATING";
14978
+ UNRESOLVED: "UNRESOLVED";
14979
+ }>, z.ZodString]> & {
14980
+ enum: {
14981
+ ALREADY_PRESENT: "ALREADY_PRESENT";
14982
+ NO_LEADS: "NO_LEADS";
14983
+ STILL_OPERATING: "STILL_OPERATING";
14984
+ UNRESOLVED: "UNRESOLVED";
14985
+ };
14986
+ }>>;
14974
14987
  requesterRemoved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14975
14988
  sequence: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
14976
14989
  status: z.ZodEnum<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.445",
3
+ "version": "0.8.446",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",