@aventurevc/api-schemas 0.8.407 → 0.8.408

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.
@@ -89,6 +89,15 @@ declare const HarnessRunDetailSchemaDefinition: z.ZodObject<{
89
89
  entitySlug: z.ZodNullable<z.ZodString>;
90
90
  gateRemaining: z.ZodArray<z.ZodString>;
91
91
  note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
92
+ requestOutcome: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
93
+ reason?: string | null | undefined;
94
+ request: string;
95
+ status: string;
96
+ }, import("./run-request-outcome.ts").HarnessRunRequestOutcomeSchemaInput, z.core.$ZodTypeInternals<{
97
+ reason?: string | null | undefined;
98
+ request: string;
99
+ status: string;
100
+ }, import("./run-request-outcome.ts").HarnessRunRequestOutcomeSchemaInput>>>>>;
92
101
  whatElseRemaining: z.ZodArray<z.ZodString>;
93
102
  writeThisIteration: z.ZodArray<z.ZodString>;
94
103
  }, z.core.$strip>>>;
@@ -13,6 +13,15 @@ export declare const HarnessRunProgressSchema: z.ZodObject<{
13
13
  entitySlug: z.ZodNullable<z.ZodString>;
14
14
  gateRemaining: z.ZodArray<z.ZodString>;
15
15
  note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ requestOutcome: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
17
+ reason?: string | null | undefined;
18
+ request: string;
19
+ status: string;
20
+ }, import("./run-request-outcome.ts").HarnessRunRequestOutcomeSchemaInput, z.core.$ZodTypeInternals<{
21
+ reason?: string | null | undefined;
22
+ request: string;
23
+ status: string;
24
+ }, import("./run-request-outcome.ts").HarnessRunRequestOutcomeSchemaInput>>>>>;
16
25
  whatElseRemaining: z.ZodArray<z.ZodString>;
17
26
  writeThisIteration: z.ZodArray<z.ZodString>;
18
27
  }, z.core.$strip>;
@@ -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
+ import { HarnessRunRequestOutcomeSchema } from "./run-request-outcome.js";
3
4
  /**
4
5
  * Current public progress of a harness run
5
6
  *
@@ -22,6 +23,8 @@ export const HarnessRunProgressSchema = z.object({
22
23
  gateRemaining: z.array(z.string()),
23
24
  /** Optional progress note from the loop */
24
25
  note: z.string().nullish(),
26
+ /** The requester's typed request, one entry per distinct change it asks for, which the run.requestOutcome completion gate grades; null when the run reports none */
27
+ requestOutcome: z.array(HarnessRunRequestOutcomeSchema).nullish(),
25
28
  /** Additional work the loop reports as remaining */
26
29
  whatElseRemaining: z.array(z.string()),
27
30
  /** Writes completed during the current loop iteration */
@@ -0,0 +1,27 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * written, alreadyPresent, refuted (a cited page contradicts it), removed (the run deleted its target record), or notWritten (fails the request gate)
4
+ *
5
+ * @openapiSchema HarnessRunRequestOutcomeStatus
6
+ * @endpoint GET /v1/research/runs/{runId}
7
+ * @usedBySchema HarnessRunRequestOutcomeSchema
8
+ * @contractShape harness.run-request-outcome-status
9
+ * @contractRole canonical
10
+ */
11
+ export declare const HarnessRunRequestOutcomeStatusSchema: z.ZodUnion<readonly [z.ZodEnum<{
12
+ alreadyPresent: "alreadyPresent";
13
+ notWritten: "notWritten";
14
+ refuted: "refuted";
15
+ removed: "removed";
16
+ written: "written";
17
+ }>, z.ZodString]> & {
18
+ enum: {
19
+ alreadyPresent: "alreadyPresent";
20
+ notWritten: "notWritten";
21
+ refuted: "refuted";
22
+ removed: "removed";
23
+ written: "written";
24
+ };
25
+ };
26
+ export type HarnessRunRequestOutcomeStatus = z.infer<typeof HarnessRunRequestOutcomeStatusSchema>;
27
+ //# sourceMappingURL=run-request-outcome-status.d.ts.map
@@ -0,0 +1,20 @@
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 HarnessRunRequestOutcomeStatusSchemaKnownMembers = z.enum([
4
+ "written",
5
+ "alreadyPresent",
6
+ "refuted",
7
+ "removed",
8
+ "notWritten",
9
+ ]);
10
+ /**
11
+ * written, alreadyPresent, refuted (a cited page contradicts it), removed (the run deleted its target record), or notWritten (fails the request gate)
12
+ *
13
+ * @openapiSchema HarnessRunRequestOutcomeStatus
14
+ * @endpoint GET /v1/research/runs/{runId}
15
+ * @usedBySchema HarnessRunRequestOutcomeSchema
16
+ * @contractShape harness.run-request-outcome-status
17
+ * @contractRole canonical
18
+ */
19
+ export const HarnessRunRequestOutcomeStatusSchema = Object.assign(z.union([HarnessRunRequestOutcomeStatusSchemaKnownMembers, z.string()]), { enum: HarnessRunRequestOutcomeStatusSchemaKnownMembers.enum });
20
+ //# sourceMappingURL=run-request-outcome-status.js.map
@@ -0,0 +1,36 @@
1
+ import { z } from "zod/v4";
2
+ declare const HarnessRunRequestOutcomeSchemaDefinition: z.ZodObject<{
3
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
+ request: z.ZodString;
5
+ status: z.ZodUnion<readonly [z.ZodEnum<{
6
+ alreadyPresent: "alreadyPresent";
7
+ notWritten: "notWritten";
8
+ refuted: "refuted";
9
+ removed: "removed";
10
+ written: "written";
11
+ }>, z.ZodString]> & {
12
+ enum: {
13
+ alreadyPresent: "alreadyPresent";
14
+ notWritten: "notWritten";
15
+ refuted: "refuted";
16
+ removed: "removed";
17
+ written: "written";
18
+ };
19
+ };
20
+ }, z.core.$strip>;
21
+ type HarnessRunRequestOutcomeDefinition = z.infer<typeof HarnessRunRequestOutcomeSchemaDefinition>;
22
+ export interface HarnessRunRequestOutcomeSchemaInput extends z.input<typeof HarnessRunRequestOutcomeSchemaDefinition> {
23
+ }
24
+ /**
25
+ * One distinct change the requester asked for and what the run did about it
26
+ *
27
+ * @openapiSchema HarnessRunRequestOutcome
28
+ * @endpoint GET /v1/research/runs/{runId}
29
+ * @usedBySchema HarnessRunProgressSchema
30
+ * @contractShape harness.run-request-outcome
31
+ * @contractRole canonical
32
+ */
33
+ export declare const HarnessRunRequestOutcomeSchema: z.ZodType<HarnessRunRequestOutcomeDefinition, HarnessRunRequestOutcomeSchemaInput>;
34
+ export type HarnessRunRequestOutcome = z.infer<typeof HarnessRunRequestOutcomeSchema>;
35
+ export {};
36
+ //# sourceMappingURL=run-request-outcome.d.ts.map
@@ -0,0 +1,22 @@
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 { HarnessRunRequestOutcomeStatusSchema } from "./run-request-outcome-status.js";
4
+ const HarnessRunRequestOutcomeSchemaDefinition = z.object({
5
+ /** Why the change was not written; a refuted entry names the URL of the page that contradicts the request */
6
+ reason: z.string().nullish(),
7
+ /** The change the request asks for, in the requester's terms */
8
+ request: z.string(),
9
+ /** What the run did about the change */
10
+ status: HarnessRunRequestOutcomeStatusSchema,
11
+ });
12
+ /**
13
+ * One distinct change the requester asked for and what the run did about it
14
+ *
15
+ * @openapiSchema HarnessRunRequestOutcome
16
+ * @endpoint GET /v1/research/runs/{runId}
17
+ * @usedBySchema HarnessRunProgressSchema
18
+ * @contractShape harness.run-request-outcome
19
+ * @contractRole canonical
20
+ */
21
+ export const HarnessRunRequestOutcomeSchema = HarnessRunRequestOutcomeSchemaDefinition;
22
+ //# sourceMappingURL=run-request-outcome.js.map
@@ -733,6 +733,14 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
733
733
  modulePath: "harness/run-progress",
734
734
  schemaName: "HarnessRunProgressSchema",
735
735
  },
736
+ HarnessRunRequestOutcome: {
737
+ modulePath: "harness/run-request-outcome",
738
+ schemaName: "HarnessRunRequestOutcomeSchema",
739
+ },
740
+ HarnessRunRequestOutcomeStatus: {
741
+ modulePath: "harness/run-request-outcome-status",
742
+ schemaName: "HarnessRunRequestOutcomeStatusSchema",
743
+ },
736
744
  HarnessRunStatus: { modulePath: "harness/run-status", schemaName: "HarnessRunStatusSchema" },
737
745
  HarnessRunTurn: { modulePath: "harness/run-turn", schemaName: "HarnessRunTurnSchema" },
738
746
  HarnessRunType: { modulePath: "harness/run-type", schemaName: "HarnessRunTypeSchema" },
@@ -41,6 +41,7 @@ export declare const ProblemTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
41
41
  readonly GONE: "https://api.aventure.vc/errors/gone";
42
42
  readonly RATE_LIMITED: "https://api.aventure.vc/errors/rate-limited";
43
43
  readonly HARNESS_RUN_ALREADY_REQUESTED: "https://api.aventure.vc/errors/harness-run-already-requested";
44
+ readonly HARNESS_TASK_TARGET_MISSING: "https://api.aventure.vc/errors/harness-task-target-missing";
44
45
  readonly PRECONDITION_FAILED: "https://api.aventure.vc/errors/precondition-failed";
45
46
  readonly PRECONDITION_REQUIRED: "https://api.aventure.vc/errors/precondition-required";
46
47
  readonly BILLING_ALLOWANCE_EXHAUSTED: "https://api.aventure.vc/errors/billing-allowance-exhausted";
@@ -105,6 +106,7 @@ export declare const ProblemTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
105
106
  readonly GONE: "https://api.aventure.vc/errors/gone";
106
107
  readonly RATE_LIMITED: "https://api.aventure.vc/errors/rate-limited";
107
108
  readonly HARNESS_RUN_ALREADY_REQUESTED: "https://api.aventure.vc/errors/harness-run-already-requested";
109
+ readonly HARNESS_TASK_TARGET_MISSING: "https://api.aventure.vc/errors/harness-task-target-missing";
108
110
  readonly PRECONDITION_FAILED: "https://api.aventure.vc/errors/precondition-failed";
109
111
  readonly PRECONDITION_REQUIRED: "https://api.aventure.vc/errors/precondition-required";
110
112
  readonly BILLING_ALLOWANCE_EXHAUSTED: "https://api.aventure.vc/errors/billing-allowance-exhausted";
@@ -33,6 +33,7 @@ const ProblemTypeSchemaKnownMembers = z.enum({
33
33
  GONE: "https://api.aventure.vc/errors/gone",
34
34
  RATE_LIMITED: "https://api.aventure.vc/errors/rate-limited",
35
35
  HARNESS_RUN_ALREADY_REQUESTED: "https://api.aventure.vc/errors/harness-run-already-requested",
36
+ HARNESS_TASK_TARGET_MISSING: "https://api.aventure.vc/errors/harness-task-target-missing",
36
37
  PRECONDITION_FAILED: "https://api.aventure.vc/errors/precondition-failed",
37
38
  PRECONDITION_REQUIRED: "https://api.aventure.vc/errors/precondition-required",
38
39
  BILLING_ALLOWANCE_EXHAUSTED: "https://api.aventure.vc/errors/billing-allowance-exhausted",
@@ -40,8 +40,10 @@ export declare const UniqueIdTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
40
40
  holdingCompanyRssd: "holdingCompanyRssd";
41
41
  indiaCin: "indiaCin";
42
42
  ipedsUnitId: "ipedsUnitId";
43
+ irelandCompanyNumber: "irelandCompanyNumber";
43
44
  isin: "isin";
44
45
  israelCompanyNumber: "israelCompanyNumber";
46
+ japanCryptoAssetExchangeRegistration: "japanCryptoAssetExchangeRegistration";
45
47
  lei: "lei";
46
48
  naicCompanyCode: "naicCompanyCode";
47
49
  ncesLeaId: "ncesLeaId";
@@ -79,8 +81,10 @@ export declare const UniqueIdTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
79
81
  holdingCompanyRssd: "holdingCompanyRssd";
80
82
  indiaCin: "indiaCin";
81
83
  ipedsUnitId: "ipedsUnitId";
84
+ irelandCompanyNumber: "irelandCompanyNumber";
82
85
  isin: "isin";
83
86
  israelCompanyNumber: "israelCompanyNumber";
87
+ japanCryptoAssetExchangeRegistration: "japanCryptoAssetExchangeRegistration";
84
88
  lei: "lei";
85
89
  naicCompanyCode: "naicCompanyCode";
86
90
  ncesLeaId: "ncesLeaId";
@@ -5,6 +5,8 @@ const UniqueIdTypeSchemaKnownMembers = z.enum([
5
5
  "secCik",
6
6
  "israelCompanyNumber",
7
7
  "ukCompanyNumber",
8
+ "irelandCompanyNumber",
9
+ "japanCryptoAssetExchangeRegistration",
8
10
  "ukraineEdrpou",
9
11
  "franceSiren",
10
12
  "belgiumEnterpriseNumber",
@@ -21,8 +21,10 @@ declare const UniqueIdSchemaDefinition: z.ZodObject<{
21
21
  holdingCompanyRssd: "holdingCompanyRssd";
22
22
  indiaCin: "indiaCin";
23
23
  ipedsUnitId: "ipedsUnitId";
24
+ irelandCompanyNumber: "irelandCompanyNumber";
24
25
  isin: "isin";
25
26
  israelCompanyNumber: "israelCompanyNumber";
27
+ japanCryptoAssetExchangeRegistration: "japanCryptoAssetExchangeRegistration";
26
28
  lei: "lei";
27
29
  naicCompanyCode: "naicCompanyCode";
28
30
  ncesLeaId: "ncesLeaId";
@@ -60,8 +62,10 @@ declare const UniqueIdSchemaDefinition: z.ZodObject<{
60
62
  holdingCompanyRssd: "holdingCompanyRssd";
61
63
  indiaCin: "indiaCin";
62
64
  ipedsUnitId: "ipedsUnitId";
65
+ irelandCompanyNumber: "irelandCompanyNumber";
63
66
  isin: "isin";
64
67
  israelCompanyNumber: "israelCompanyNumber";
68
+ japanCryptoAssetExchangeRegistration: "japanCryptoAssetExchangeRegistration";
65
69
  lei: "lei";
66
70
  naicCompanyCode: "naicCompanyCode";
67
71
  ncesLeaId: "ncesLeaId";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.407",
3
+ "version": "0.8.408",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",