@aventurevc/api-schemas 0.8.176 → 0.8.178
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.
- package/dist/agent/help-question.d.ts +0 -1
- package/dist/agent/help-question.js +1 -3
- package/dist/agent/help.d.ts +5 -5
- package/dist/agent/task-preset-catalog.d.ts +29 -0
- package/dist/agent/task-preset-catalog.js +17 -0
- package/dist/agent/task-preset-phase.d.ts +16 -0
- package/dist/agent/task-preset-phase.js +13 -0
- package/dist/agent/task-preset.d.ts +29 -0
- package/dist/agent/task-preset.js +24 -0
- package/dist/billing/catalog-plan.d.ts +10 -1
- package/dist/billing/checkout-mutation.d.ts +10 -1
- package/dist/billing/checkout.d.ts +10 -1
- package/dist/billing/plan-change-mutation.d.ts +10 -1
- package/dist/billing/plan-change.d.ts +10 -1
- package/dist/billing/plan-type.d.ts +10 -1
- package/dist/billing/plan-type.js +9 -11
- package/dist/billing/subscription.d.ts +20 -2
- package/dist/classification/catalog-bucket.d.ts +10 -8
- package/dist/classification/catalog-bucket.js +2 -2
- package/dist/classification/catalog-category.d.ts +10 -8
- package/dist/classification/catalog-category.js +2 -2
- package/dist/classification/catalog.d.ts +26 -22
- package/dist/classification/classification.d.ts +11 -2
- package/dist/classification/classification.js +7 -2
- package/dist/classification/inactive-tag-details.d.ts +10 -2
- package/dist/classification/inactive-tag-details.js +1 -1
- package/dist/classification/join-registry.d.ts +43 -0
- package/dist/classification/join-registry.js +36 -0
- package/dist/content/embedding-match.d.ts +16 -1
- package/dist/content/source-type.d.ts +16 -1
- package/dist/content/source-type.js +15 -17
- package/dist/domain/conflict-details.d.ts +12 -12
- package/dist/domain/conflict-type.d.ts +9 -1
- package/dist/domain/conflict-type.js +8 -10
- package/dist/duplicate/create-review.d.ts +12 -4
- package/dist/duplicate/create-review.js +1 -1
- package/dist/enrichment/enrichment.d.ts +8 -1
- package/dist/enrichment/refusal-type.d.ts +8 -1
- package/dist/enrichment/refusal-type.js +7 -4
- package/dist/entity/brand.d.ts +98 -78
- package/dist/entity/classification-suggestion.d.ts +18 -14
- package/dist/entity/classification-suggestion.js +2 -2
- package/dist/entity/classification.d.ts +80 -60
- package/dist/entity/comparison-signals.d.ts +41 -1
- package/dist/entity/detail.d.ts +102 -82
- package/dist/entity/detail.js +2 -2
- package/dist/entity/enrichment.d.ts +140 -80
- package/dist/entity/enrichment.js +2 -1
- package/dist/entity/filter-sortable.d.ts +23 -1
- package/dist/entity/filter-sortable.js +22 -24
- package/dist/entity/funding-detail.d.ts +43 -1
- package/dist/entity/funding-detail.js +2 -0
- package/dist/entity/fundraise-transaction-entity.d.ts +41 -1
- package/dist/entity/fundraise-transaction.d.ts +41 -1
- package/dist/entity/investor-participation.d.ts +102 -82
- package/dist/entity/list-filter.d.ts +1 -1
- package/dist/entity/list-filter.js +2 -2
- package/dist/entity/list.d.ts +116 -81
- package/dist/entity/natural-search.d.ts +4 -0
- package/dist/entity/people-param.js +2 -2
- package/dist/entity/relationship.d.ts +41 -1
- package/dist/entity/resolution.d.ts +102 -82
- package/dist/entity/search-param.js +1 -1
- package/dist/entity/similarity-result.d.ts +100 -80
- package/dist/entity/similarity-summary.d.ts +91 -1
- package/dist/entity/similarity-summary.js +4 -1
- package/dist/entity/tag.d.ts +8 -6
- package/dist/entity/tag.js +2 -2
- package/dist/federated/natural-search.d.ts +22 -2
- package/dist/federated/natural-search.js +5 -1
- package/dist/federated/search.d.ts +402 -322
- package/dist/funding/stage.d.ts +42 -1
- package/dist/funding/stage.js +41 -42
- package/dist/harness/run-create.d.ts +1 -1
- package/dist/harness/run-create.js +5 -5
- package/dist/harness/task-input-type.d.ts +6 -1
- package/dist/harness/task-input-type.js +2 -1
- package/dist/harness/task-plan-step.d.ts +2 -2
- package/dist/harness/task-plan.d.ts +5 -5
- package/dist/harness/task-plan.js +3 -3
- package/dist/harness/task-step.d.ts +1 -1
- package/dist/harness/task-step.js +1 -1
- package/dist/harness/task.d.ts +6 -1
- package/dist/help/citation.d.ts +11 -1
- package/dist/help/resolution.d.ts +5 -5
- package/dist/help/source-type.d.ts +11 -1
- package/dist/help/source-type.js +10 -12
- package/dist/http/problem-detail.d.ts +14 -14
- package/dist/http/problem-detail.js +34 -31
- package/dist/identification/candidate.d.ts +2 -2
- package/dist/identification/identification.d.ts +8 -13
- package/dist/identification/identification.js +0 -2
- package/dist/identification/subject.js +1 -1
- package/dist/link/search.d.ts +402 -322
- package/dist/lookup/job-mention.d.ts +108 -93
- package/dist/lookup/job.d.ts +116 -103
- package/dist/mention/lookup.d.ts +108 -90
- package/dist/natural/search-result.d.ts +300 -240
- package/dist/natural/search.d.ts +22 -2
- package/dist/natural/search.js +5 -1
- package/dist/news/source-url-conflict.d.ts +10 -2
- package/dist/news/source-url-conflict.js +1 -1
- package/dist/openapi-component-manifest.js +13 -1
- package/dist/pagination/schemas.d.ts +546 -418
- package/dist/person/graph-career-context.d.ts +41 -1
- package/dist/person/graph-similar-entity.d.ts +41 -1
- package/dist/person/natural-search.d.ts +4 -0
- package/dist/person/person.d.ts +16 -1
- package/dist/problem/type.d.ts +62 -2
- package/dist/problem/type.js +11 -10
- package/dist/prose/problem.d.ts +15 -1
- package/dist/prose/problem.js +14 -16
- package/dist/prose/violation.d.ts +15 -1
- package/dist/reasoning/effort.d.ts +10 -1
- package/dist/reasoning/effort.js +9 -4
- package/dist/research/finding.js +1 -1
- package/dist/search/answer-citation.d.ts +9 -1
- package/dist/search/duplicate-candidate-score.d.ts +1 -1
- package/dist/search/duplicate-candidate-score.js +1 -1
- package/dist/search/evidence-source.d.ts +9 -1
- package/dist/search/evidence-source.js +8 -10
- package/dist/search/investment.d.ts +16 -1
- package/dist/search/knowledge-graph-attribute.d.ts +7 -1
- package/dist/search/knowledge-graph-fact.d.ts +7 -1
- package/dist/search/knowledge-graph-fact.js +2 -4
- package/dist/search/mode-execution.d.ts +20 -2
- package/dist/search/mode.d.ts +10 -1
- package/dist/search/mode.js +11 -4
- package/dist/search/passage.d.ts +9 -1
- package/dist/search/search.d.ts +7 -1
- package/dist/shared/search.d.ts +402 -322
- package/dist/sort/order-entity-filter-sortable.d.ts +23 -1
- package/dist/standardized/classification.d.ts +12 -3
- package/dist/standardized/classification.js +8 -5
- package/dist/strict/url-lookup-conflict.d.ts +10 -2
- package/dist/strict/url-lookup-conflict.js +1 -1
- package/dist/system/status.d.ts +1 -20
- package/dist/system/status.js +1 -20
- package/dist/unique/id-type.d.ts +14 -2
- package/dist/unique/id-type.js +12 -11
- package/dist/unique/id.d.ts +14 -2
- package/dist/url/duplicate-conflict.d.ts +10 -2
- package/dist/url/duplicate-conflict.js +1 -1
- package/dist/web/search-provider.d.ts +7 -1
- package/dist/web/search-provider.js +2 -4
- package/package.json +1 -1
- package/dist/uptime/uptime.d.ts +0 -23
- package/dist/uptime/uptime.js +0 -23
package/dist/funding/stage.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import { z } from "zod/v4";
|
|
|
13
13
|
* @endpoint GET /v1/entities/{entityId}/investors
|
|
14
14
|
* @endpoint GET /v1/entities/{entityId}/relationships
|
|
15
15
|
* @endpoint GET /v1/entities/{entityId}/similar
|
|
16
|
+
* @endpoint GET /v1/entities/{entityId}/similar/summary
|
|
16
17
|
* @endpoint GET /v1/entities/relationships/{relationshipId}
|
|
17
18
|
* @endpoint GET /v1/lookup-jobs/{jobId}
|
|
18
19
|
* @endpoint GET /v1/people/{personId}/graph
|
|
@@ -70,6 +71,46 @@ export declare const FundingStageSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
70
71
|
"Series X": "Series X";
|
|
71
72
|
"Series Y": "Series Y";
|
|
72
73
|
"Series Z": "Series Z";
|
|
73
|
-
}>, z.ZodString]
|
|
74
|
+
}>, z.ZodString]> & {
|
|
75
|
+
enum: {
|
|
76
|
+
Acquired: "Acquired";
|
|
77
|
+
"Acquired Subsidiary": "Acquired Subsidiary";
|
|
78
|
+
Angel: "Angel";
|
|
79
|
+
Fund: "Fund";
|
|
80
|
+
Government: "Government";
|
|
81
|
+
"Investment Firm": "Investment Firm";
|
|
82
|
+
"Late Stage Private": "Late Stage Private";
|
|
83
|
+
Nonprofit: "Nonprofit";
|
|
84
|
+
"Pre-Seed": "Pre-Seed";
|
|
85
|
+
Public: "Public";
|
|
86
|
+
Seed: "Seed";
|
|
87
|
+
"Series A": "Series A";
|
|
88
|
+
"Series B": "Series B";
|
|
89
|
+
"Series C": "Series C";
|
|
90
|
+
"Series D": "Series D";
|
|
91
|
+
"Series E": "Series E";
|
|
92
|
+
"Series F": "Series F";
|
|
93
|
+
"Series G": "Series G";
|
|
94
|
+
"Series H": "Series H";
|
|
95
|
+
"Series I": "Series I";
|
|
96
|
+
"Series J": "Series J";
|
|
97
|
+
"Series K": "Series K";
|
|
98
|
+
"Series L": "Series L";
|
|
99
|
+
"Series M": "Series M";
|
|
100
|
+
"Series N": "Series N";
|
|
101
|
+
"Series O": "Series O";
|
|
102
|
+
"Series P": "Series P";
|
|
103
|
+
"Series Q": "Series Q";
|
|
104
|
+
"Series R": "Series R";
|
|
105
|
+
"Series S": "Series S";
|
|
106
|
+
"Series T": "Series T";
|
|
107
|
+
"Series U": "Series U";
|
|
108
|
+
"Series V": "Series V";
|
|
109
|
+
"Series W": "Series W";
|
|
110
|
+
"Series X": "Series X";
|
|
111
|
+
"Series Y": "Series Y";
|
|
112
|
+
"Series Z": "Series Z";
|
|
113
|
+
};
|
|
114
|
+
};
|
|
74
115
|
export type FundingStage = z.infer<typeof FundingStageSchema>;
|
|
75
116
|
//# sourceMappingURL=stage.d.ts.map
|
package/dist/funding/stage.js
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
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
|
+
const FundingStageSchemaKnownMembers = z.enum([
|
|
4
|
+
"Angel",
|
|
5
|
+
"Pre-Seed",
|
|
6
|
+
"Seed",
|
|
7
|
+
"Series A",
|
|
8
|
+
"Series B",
|
|
9
|
+
"Series C",
|
|
10
|
+
"Series D",
|
|
11
|
+
"Series E",
|
|
12
|
+
"Series F",
|
|
13
|
+
"Series G",
|
|
14
|
+
"Series H",
|
|
15
|
+
"Series I",
|
|
16
|
+
"Series J",
|
|
17
|
+
"Series K",
|
|
18
|
+
"Series L",
|
|
19
|
+
"Series M",
|
|
20
|
+
"Series N",
|
|
21
|
+
"Series O",
|
|
22
|
+
"Series P",
|
|
23
|
+
"Series Q",
|
|
24
|
+
"Series R",
|
|
25
|
+
"Series S",
|
|
26
|
+
"Series T",
|
|
27
|
+
"Series U",
|
|
28
|
+
"Series V",
|
|
29
|
+
"Series W",
|
|
30
|
+
"Series X",
|
|
31
|
+
"Series Y",
|
|
32
|
+
"Series Z",
|
|
33
|
+
"Late Stage Private",
|
|
34
|
+
"Investment Firm",
|
|
35
|
+
"Fund",
|
|
36
|
+
"Nonprofit",
|
|
37
|
+
"Government",
|
|
38
|
+
"Public",
|
|
39
|
+
"Acquired",
|
|
40
|
+
"Acquired Subsidiary",
|
|
41
|
+
]);
|
|
3
42
|
/**
|
|
4
43
|
* Canonical inferred equity, entity-type, or Company operating-status stage emitted by the entity fundraise rollup. Transaction classifications such as Debt, IPO, and Acquisition are not entity stages.
|
|
5
44
|
*
|
|
@@ -14,6 +53,7 @@ import { z } from "zod/v4";
|
|
|
14
53
|
* @endpoint GET /v1/entities/{entityId}/investors
|
|
15
54
|
* @endpoint GET /v1/entities/{entityId}/relationships
|
|
16
55
|
* @endpoint GET /v1/entities/{entityId}/similar
|
|
56
|
+
* @endpoint GET /v1/entities/{entityId}/similar/summary
|
|
17
57
|
* @endpoint GET /v1/entities/relationships/{relationshipId}
|
|
18
58
|
* @endpoint GET /v1/lookup-jobs/{jobId}
|
|
19
59
|
* @endpoint GET /v1/people/{personId}/graph
|
|
@@ -33,46 +73,5 @@ import { z } from "zod/v4";
|
|
|
33
73
|
* @contractShape funding.stage
|
|
34
74
|
* @contractRole canonical
|
|
35
75
|
*/
|
|
36
|
-
export const FundingStageSchema = z.union([
|
|
37
|
-
z.enum([
|
|
38
|
-
"Angel",
|
|
39
|
-
"Pre-Seed",
|
|
40
|
-
"Seed",
|
|
41
|
-
"Series A",
|
|
42
|
-
"Series B",
|
|
43
|
-
"Series C",
|
|
44
|
-
"Series D",
|
|
45
|
-
"Series E",
|
|
46
|
-
"Series F",
|
|
47
|
-
"Series G",
|
|
48
|
-
"Series H",
|
|
49
|
-
"Series I",
|
|
50
|
-
"Series J",
|
|
51
|
-
"Series K",
|
|
52
|
-
"Series L",
|
|
53
|
-
"Series M",
|
|
54
|
-
"Series N",
|
|
55
|
-
"Series O",
|
|
56
|
-
"Series P",
|
|
57
|
-
"Series Q",
|
|
58
|
-
"Series R",
|
|
59
|
-
"Series S",
|
|
60
|
-
"Series T",
|
|
61
|
-
"Series U",
|
|
62
|
-
"Series V",
|
|
63
|
-
"Series W",
|
|
64
|
-
"Series X",
|
|
65
|
-
"Series Y",
|
|
66
|
-
"Series Z",
|
|
67
|
-
"Late Stage Private",
|
|
68
|
-
"Investment Firm",
|
|
69
|
-
"Fund",
|
|
70
|
-
"Nonprofit",
|
|
71
|
-
"Government",
|
|
72
|
-
"Public",
|
|
73
|
-
"Acquired",
|
|
74
|
-
"Acquired Subsidiary",
|
|
75
|
-
]),
|
|
76
|
-
z.string(),
|
|
77
|
-
]);
|
|
76
|
+
export const FundingStageSchema = Object.assign(z.union([FundingStageSchemaKnownMembers, z.string()]), { enum: FundingStageSchemaKnownMembers.enum });
|
|
78
77
|
//# sourceMappingURL=stage.js.map
|
|
@@ -25,7 +25,7 @@ type HarnessRunCreateDefinition = z.infer<typeof HarnessRunCreateSchemaDefinitio
|
|
|
25
25
|
export interface HarnessRunCreateSchemaInput extends z.input<typeof HarnessRunCreateSchemaDefinition> {
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Request one research run
|
|
29
29
|
*
|
|
30
30
|
* @openapiSchema HarnessRunCreate
|
|
31
31
|
* @endpoint POST /v1/research-runs
|
|
@@ -3,15 +3,15 @@ import { z } from "zod/v4";
|
|
|
3
3
|
import { EnrichmentModeSchema } from "../enrichment/mode.js";
|
|
4
4
|
import { ResearchFindingSchema } from "../research/finding.js";
|
|
5
5
|
const HarnessRunCreateSchemaDefinition = z.object({
|
|
6
|
-
/** Facts you already researched, each citing the page and exact text that support it. Send them with a taskPresetKey
|
|
6
|
+
/** Facts you already researched, each citing the page and exact text that support it. Send them with a taskPresetKey that accepts findings; the run checks each quote against its page and writes only the facts it confirms. Any other run refuses findings with 400. */
|
|
7
7
|
finding: z.array(ResearchFindingSchema).nullish(),
|
|
8
|
-
/**
|
|
8
|
+
/** How broadly the run researches the subject; omit it for COMPREHENSIVE */
|
|
9
9
|
mode: EnrichmentModeSchema.optional(),
|
|
10
|
-
/**
|
|
10
|
+
/** Model id the run uses; omit it to use the default model */
|
|
11
11
|
model: z.string().nullish(),
|
|
12
12
|
/** Name of the subject at url, such as Clarity Health; the run verifies it and uses it to pick the right subject when the site names several */
|
|
13
13
|
name: z.string().max(200).nullish(),
|
|
14
|
-
/**
|
|
14
|
+
/** Research presets that focus the run, listed by GET /v1/research-runs/presets; omit them for a full run */
|
|
15
15
|
taskPresetKey: z.array(z.string()).nullish(),
|
|
16
16
|
/** Official website or profile URL of the company, Product, Service, or person to research; a URL no current record owns researches a new one */
|
|
17
17
|
url: z.string(),
|
|
@@ -19,7 +19,7 @@ const HarnessRunCreateSchemaDefinition = z.object({
|
|
|
19
19
|
userPrompt: z.string().nullish(),
|
|
20
20
|
});
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Request one research run
|
|
23
23
|
*
|
|
24
24
|
* @openapiSchema HarnessRunCreate
|
|
25
25
|
* @endpoint POST /v1/research-runs
|
|
@@ -12,6 +12,11 @@ import { z } from "zod/v4";
|
|
|
12
12
|
export declare const HarnessTaskInputTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
13
13
|
ENTITY: "ENTITY";
|
|
14
14
|
TEXT: "TEXT";
|
|
15
|
-
}>, z.ZodString]
|
|
15
|
+
}>, z.ZodString]> & {
|
|
16
|
+
enum: {
|
|
17
|
+
ENTITY: "ENTITY";
|
|
18
|
+
TEXT: "TEXT";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
16
21
|
export type HarnessTaskInputType = z.infer<typeof HarnessTaskInputTypeSchema>;
|
|
17
22
|
//# sourceMappingURL=task-input-type.d.ts.map
|
|
@@ -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
|
+
const HarnessTaskInputTypeSchemaKnownMembers = z.enum(["ENTITY", "TEXT"]);
|
|
3
4
|
/**
|
|
4
5
|
* ENTITY binds a target entity to its canonical id through entity identification; TEXT is a literal value the request states.
|
|
5
6
|
*
|
|
@@ -10,5 +11,5 @@ import { z } from "zod/v4";
|
|
|
10
11
|
* @contractShape harness.task-input-type
|
|
11
12
|
* @contractRole canonical
|
|
12
13
|
*/
|
|
13
|
-
export const HarnessTaskInputTypeSchema =
|
|
14
|
+
export const HarnessTaskInputTypeSchema = Object.assign(z.union([HarnessTaskInputTypeSchemaKnownMembers, z.string()]), { enum: HarnessTaskInputTypeSchemaKnownMembers.enum });
|
|
14
15
|
//# sourceMappingURL=task-input-type.js.map
|
|
@@ -5,11 +5,11 @@ declare const HarnessTaskPlanStepSchemaDefinition: z.ZodObject<{
|
|
|
5
5
|
step: z.ZodType<{
|
|
6
6
|
instruction: string;
|
|
7
7
|
operationId: string;
|
|
8
|
-
stepKey
|
|
8
|
+
stepKey?: string | undefined;
|
|
9
9
|
}, import("./task-step.ts").HarnessTaskStepSchemaInput, z.core.$ZodTypeInternals<{
|
|
10
10
|
instruction: string;
|
|
11
11
|
operationId: string;
|
|
12
|
-
stepKey
|
|
12
|
+
stepKey?: string | undefined;
|
|
13
13
|
}, import("./task-step.ts").HarnessTaskStepSchemaInput>>;
|
|
14
14
|
writeGuidance: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15
15
|
body: z.ZodString;
|
|
@@ -10,8 +10,8 @@ import { z } from "zod/v4";
|
|
|
10
10
|
* @contractRole canonical
|
|
11
11
|
*/
|
|
12
12
|
export declare const HarnessTaskPlanSchema: z.ZodObject<{
|
|
13
|
-
catalogRevision: z.ZodInt
|
|
14
|
-
gateId: z.ZodArray<z.ZodString
|
|
13
|
+
catalogRevision: z.ZodOptional<z.ZodInt>;
|
|
14
|
+
gateId: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15
15
|
input: z.ZodArray<z.ZodType<{
|
|
16
16
|
description: string;
|
|
17
17
|
key: string;
|
|
@@ -27,7 +27,7 @@ export declare const HarnessTaskPlanSchema: z.ZodObject<{
|
|
|
27
27
|
step: {
|
|
28
28
|
instruction: string;
|
|
29
29
|
operationId: string;
|
|
30
|
-
stepKey
|
|
30
|
+
stepKey?: string | undefined;
|
|
31
31
|
};
|
|
32
32
|
writeGuidance?: {
|
|
33
33
|
body: string;
|
|
@@ -43,7 +43,7 @@ export declare const HarnessTaskPlanSchema: z.ZodObject<{
|
|
|
43
43
|
step: {
|
|
44
44
|
instruction: string;
|
|
45
45
|
operationId: string;
|
|
46
|
-
stepKey
|
|
46
|
+
stepKey?: string | undefined;
|
|
47
47
|
};
|
|
48
48
|
writeGuidance?: {
|
|
49
49
|
body: string;
|
|
@@ -54,7 +54,7 @@ export declare const HarnessTaskPlanSchema: z.ZodObject<{
|
|
|
54
54
|
typeCatalog: string;
|
|
55
55
|
} | null | undefined;
|
|
56
56
|
}, import("./task-plan-step.ts").HarnessTaskPlanStepSchemaInput>>>;
|
|
57
|
-
taskKey: z.ZodString
|
|
57
|
+
taskKey: z.ZodOptional<z.ZodString>;
|
|
58
58
|
}, z.core.$strip>;
|
|
59
59
|
export type HarnessTaskPlan = z.infer<typeof HarnessTaskPlanSchema>;
|
|
60
60
|
//# sourceMappingURL=task-plan.d.ts.map
|
|
@@ -14,14 +14,14 @@ import { HarnessTaskSchema } from "./task.js";
|
|
|
14
14
|
*/
|
|
15
15
|
export const HarnessTaskPlanSchema = z.object({
|
|
16
16
|
/** Stored catalog revision this plan was read from. */
|
|
17
|
-
catalogRevision: z.int(),
|
|
17
|
+
catalogRevision: z.int().optional(),
|
|
18
18
|
/** Canonical completion gate ids this task is responsible for; the ids resolve through the completion contract catalog. */
|
|
19
|
-
gateId: z.array(z.string()),
|
|
19
|
+
gateId: z.array(z.string()).optional(),
|
|
20
20
|
/** Typed inputs the task needs before it runs. */
|
|
21
21
|
input: z.array(HarnessTaskSchema),
|
|
22
22
|
/** Steps in run order; an empty list means this catalog task is unplanned. */
|
|
23
23
|
step: z.array(HarnessTaskPlanStepSchema),
|
|
24
24
|
/** Agent-task catalog key. */
|
|
25
|
-
taskKey: z.string(),
|
|
25
|
+
taskKey: z.string().optional(),
|
|
26
26
|
});
|
|
27
27
|
//# sourceMappingURL=task-plan.js.map
|
|
@@ -2,7 +2,7 @@ import { z } from "zod/v4";
|
|
|
2
2
|
declare const HarnessTaskStepSchemaDefinition: z.ZodObject<{
|
|
3
3
|
instruction: z.ZodString;
|
|
4
4
|
operationId: z.ZodString;
|
|
5
|
-
stepKey: z.ZodString
|
|
5
|
+
stepKey: z.ZodOptional<z.ZodString>;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
type HarnessTaskStepDefinition = z.infer<typeof HarnessTaskStepSchemaDefinition>;
|
|
8
8
|
export interface HarnessTaskStepSchemaInput extends z.input<typeof HarnessTaskStepSchemaDefinition> {
|
|
@@ -6,7 +6,7 @@ const HarnessTaskStepSchemaDefinition = z.object({
|
|
|
6
6
|
/** OpenAPI operationId this step calls; it must be in the task's operation list. */
|
|
7
7
|
operationId: z.string(),
|
|
8
8
|
/** Step key, unique within its task. */
|
|
9
|
-
stepKey: z.string(),
|
|
9
|
+
stepKey: z.string().optional(),
|
|
10
10
|
});
|
|
11
11
|
/**
|
|
12
12
|
* One ordered task step: its key, instruction, and the operation that runs it.
|
package/dist/harness/task.d.ts
CHANGED
|
@@ -5,7 +5,12 @@ declare const HarnessTaskSchemaDefinition: z.ZodObject<{
|
|
|
5
5
|
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6
6
|
ENTITY: "ENTITY";
|
|
7
7
|
TEXT: "TEXT";
|
|
8
|
-
}>, z.ZodString]
|
|
8
|
+
}>, z.ZodString]> & {
|
|
9
|
+
enum: {
|
|
10
|
+
ENTITY: "ENTITY";
|
|
11
|
+
TEXT: "TEXT";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
9
14
|
}, z.core.$strip>;
|
|
10
15
|
type HarnessTaskDefinition = z.infer<typeof HarnessTaskSchemaDefinition>;
|
|
11
16
|
export interface HarnessTaskSchemaInput extends z.input<typeof HarnessTaskSchemaDefinition> {
|
package/dist/help/citation.d.ts
CHANGED
|
@@ -10,7 +10,17 @@ declare const HelpCitationSchemaDefinition: z.ZodObject<{
|
|
|
10
10
|
RESEARCH_SNIPPET_TYPE: "RESEARCH_SNIPPET_TYPE";
|
|
11
11
|
SKILL: "SKILL";
|
|
12
12
|
TEXT_TYPE: "TEXT_TYPE";
|
|
13
|
-
}>, z.ZodString]
|
|
13
|
+
}>, z.ZodString]> & {
|
|
14
|
+
enum: {
|
|
15
|
+
COMPLETION_GATE: "COMPLETION_GATE";
|
|
16
|
+
OPERATION: "OPERATION";
|
|
17
|
+
PROMPT: "PROMPT";
|
|
18
|
+
RESEARCH_DETAIL_TYPE: "RESEARCH_DETAIL_TYPE";
|
|
19
|
+
RESEARCH_SNIPPET_TYPE: "RESEARCH_SNIPPET_TYPE";
|
|
20
|
+
SKILL: "SKILL";
|
|
21
|
+
TEXT_TYPE: "TEXT_TYPE";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
14
24
|
sourceVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
25
|
}, z.core.$strip>;
|
|
16
26
|
type HelpCitationDefinition = z.infer<typeof HelpCitationSchemaDefinition>;
|
|
@@ -31,8 +31,8 @@ export declare const HelpResolutionSchema: z.ZodObject<{
|
|
|
31
31
|
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
32
|
taskKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
taskPlan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34
|
-
catalogRevision: z.ZodInt
|
|
35
|
-
gateId: z.ZodArray<z.ZodString
|
|
34
|
+
catalogRevision: z.ZodOptional<z.ZodInt>;
|
|
35
|
+
gateId: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36
36
|
input: z.ZodArray<z.ZodType<{
|
|
37
37
|
description: string;
|
|
38
38
|
key: string;
|
|
@@ -48,7 +48,7 @@ export declare const HelpResolutionSchema: z.ZodObject<{
|
|
|
48
48
|
step: {
|
|
49
49
|
instruction: string;
|
|
50
50
|
operationId: string;
|
|
51
|
-
stepKey
|
|
51
|
+
stepKey?: string | undefined;
|
|
52
52
|
};
|
|
53
53
|
writeGuidance?: {
|
|
54
54
|
body: string;
|
|
@@ -64,7 +64,7 @@ export declare const HelpResolutionSchema: z.ZodObject<{
|
|
|
64
64
|
step: {
|
|
65
65
|
instruction: string;
|
|
66
66
|
operationId: string;
|
|
67
|
-
stepKey
|
|
67
|
+
stepKey?: string | undefined;
|
|
68
68
|
};
|
|
69
69
|
writeGuidance?: {
|
|
70
70
|
body: string;
|
|
@@ -75,7 +75,7 @@ export declare const HelpResolutionSchema: z.ZodObject<{
|
|
|
75
75
|
typeCatalog: string;
|
|
76
76
|
} | null | undefined;
|
|
77
77
|
}, import("../harness/task-plan-step.ts").HarnessTaskPlanStepSchemaInput>>>;
|
|
78
|
-
taskKey: z.ZodString
|
|
78
|
+
taskKey: z.ZodOptional<z.ZodString>;
|
|
79
79
|
}, z.core.$strip>>>;
|
|
80
80
|
}, z.core.$strip>;
|
|
81
81
|
export type HelpResolution = z.infer<typeof HelpResolutionSchema>;
|
|
@@ -17,6 +17,16 @@ export declare const HelpSourceTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
17
17
|
RESEARCH_SNIPPET_TYPE: "RESEARCH_SNIPPET_TYPE";
|
|
18
18
|
SKILL: "SKILL";
|
|
19
19
|
TEXT_TYPE: "TEXT_TYPE";
|
|
20
|
-
}>, z.ZodString]
|
|
20
|
+
}>, z.ZodString]> & {
|
|
21
|
+
enum: {
|
|
22
|
+
COMPLETION_GATE: "COMPLETION_GATE";
|
|
23
|
+
OPERATION: "OPERATION";
|
|
24
|
+
PROMPT: "PROMPT";
|
|
25
|
+
RESEARCH_DETAIL_TYPE: "RESEARCH_DETAIL_TYPE";
|
|
26
|
+
RESEARCH_SNIPPET_TYPE: "RESEARCH_SNIPPET_TYPE";
|
|
27
|
+
SKILL: "SKILL";
|
|
28
|
+
TEXT_TYPE: "TEXT_TYPE";
|
|
29
|
+
};
|
|
30
|
+
};
|
|
21
31
|
export type HelpSourceType = z.infer<typeof HelpSourceTypeSchema>;
|
|
22
32
|
//# sourceMappingURL=source-type.d.ts.map
|
package/dist/help/source-type.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
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
|
+
const HelpSourceTypeSchemaKnownMembers = z.enum([
|
|
4
|
+
"OPERATION",
|
|
5
|
+
"SKILL",
|
|
6
|
+
"PROMPT",
|
|
7
|
+
"COMPLETION_GATE",
|
|
8
|
+
"RESEARCH_DETAIL_TYPE",
|
|
9
|
+
"RESEARCH_SNIPPET_TYPE",
|
|
10
|
+
"TEXT_TYPE",
|
|
11
|
+
]);
|
|
3
12
|
/**
|
|
4
13
|
* Corpus partition a help citation is drawn from.
|
|
5
14
|
*
|
|
@@ -10,16 +19,5 @@ import { z } from "zod/v4";
|
|
|
10
19
|
* @contractShape help.source-type
|
|
11
20
|
* @contractRole canonical
|
|
12
21
|
*/
|
|
13
|
-
export const HelpSourceTypeSchema = z.union([
|
|
14
|
-
z.enum([
|
|
15
|
-
"OPERATION",
|
|
16
|
-
"SKILL",
|
|
17
|
-
"PROMPT",
|
|
18
|
-
"COMPLETION_GATE",
|
|
19
|
-
"RESEARCH_DETAIL_TYPE",
|
|
20
|
-
"RESEARCH_SNIPPET_TYPE",
|
|
21
|
-
"TEXT_TYPE",
|
|
22
|
-
]),
|
|
23
|
-
z.string(),
|
|
24
|
-
]);
|
|
22
|
+
export const HelpSourceTypeSchema = Object.assign(z.union([HelpSourceTypeSchemaKnownMembers, z.string()]), { enum: HelpSourceTypeSchemaKnownMembers.enum });
|
|
25
23
|
//# sourceMappingURL=source-type.js.map
|
|
@@ -98,7 +98,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
|
98
98
|
}, z.core.$strip>>>;
|
|
99
99
|
detail: z.ZodOptional<z.ZodString>;
|
|
100
100
|
details: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodType<{
|
|
101
|
-
conflictType
|
|
101
|
+
conflictType: string;
|
|
102
102
|
existingJoin: {
|
|
103
103
|
owner: {
|
|
104
104
|
entityId?: string | null | undefined;
|
|
@@ -116,7 +116,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
|
116
116
|
url: string;
|
|
117
117
|
urlType: string;
|
|
118
118
|
}, import("../url/duplicate-conflict.ts").UrlDuplicateConflictSchemaInput, z.core.$ZodTypeInternals<{
|
|
119
|
-
conflictType
|
|
119
|
+
conflictType: string;
|
|
120
120
|
existingJoin: {
|
|
121
121
|
owner: {
|
|
122
122
|
entityId?: string | null | undefined;
|
|
@@ -136,7 +136,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
|
136
136
|
}, import("../url/duplicate-conflict.ts").UrlDuplicateConflictSchemaInput>>, z.ZodType<{
|
|
137
137
|
candidateEntityId: string[];
|
|
138
138
|
candidatePersonId: string[];
|
|
139
|
-
conflictType
|
|
139
|
+
conflictType: string;
|
|
140
140
|
hint: string;
|
|
141
141
|
normalizedUrl?: string | null | undefined;
|
|
142
142
|
url: string;
|
|
@@ -144,7 +144,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
|
144
144
|
}, import("../strict/url-lookup-conflict.ts").StrictUrlLookupConflictSchemaInput, z.core.$ZodTypeInternals<{
|
|
145
145
|
candidateEntityId: string[];
|
|
146
146
|
candidatePersonId: string[];
|
|
147
|
-
conflictType
|
|
147
|
+
conflictType: string;
|
|
148
148
|
hint: string;
|
|
149
149
|
normalizedUrl?: string | null | undefined;
|
|
150
150
|
url: string;
|
|
@@ -157,11 +157,11 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
|
157
157
|
operatingStatus?: string | null | undefined;
|
|
158
158
|
publicPath?: string | null | undefined;
|
|
159
159
|
reason: string[];
|
|
160
|
-
score
|
|
160
|
+
score?: number | undefined;
|
|
161
161
|
slug?: string | null | undefined;
|
|
162
162
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
163
163
|
}[] | null | undefined;
|
|
164
|
-
conflictType
|
|
164
|
+
conflictType: string;
|
|
165
165
|
newsCandidate?: {
|
|
166
166
|
externalId?: string | null | undefined;
|
|
167
167
|
id: number;
|
|
@@ -179,11 +179,11 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
|
179
179
|
operatingStatus?: string | null | undefined;
|
|
180
180
|
publicPath?: string | null | undefined;
|
|
181
181
|
reason: string[];
|
|
182
|
-
score
|
|
182
|
+
score?: number | undefined;
|
|
183
183
|
slug?: string | null | undefined;
|
|
184
184
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
185
185
|
}[] | null | undefined;
|
|
186
|
-
conflictType
|
|
186
|
+
conflictType: string;
|
|
187
187
|
newsCandidate?: {
|
|
188
188
|
externalId?: string | null | undefined;
|
|
189
189
|
id: number;
|
|
@@ -195,24 +195,24 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
|
195
195
|
threshold: number;
|
|
196
196
|
}, import("../duplicate/create-review.ts").DuplicateCreateReviewSchemaInput>>, z.ZodType<{
|
|
197
197
|
availableOverrides: ("ATTACH_INACTIVE" | "REACTIVATE")[];
|
|
198
|
-
conflictType
|
|
198
|
+
conflictType: string;
|
|
199
199
|
slug: string;
|
|
200
200
|
tagId: number;
|
|
201
201
|
}, import("../classification/inactive-tag-details.ts").ClassificationInactiveTagDetailsSchemaInput, z.core.$ZodTypeInternals<{
|
|
202
202
|
availableOverrides: ("ATTACH_INACTIVE" | "REACTIVATE")[];
|
|
203
|
-
conflictType
|
|
203
|
+
conflictType: string;
|
|
204
204
|
slug: string;
|
|
205
205
|
tagId: number;
|
|
206
206
|
}, import("../classification/inactive-tag-details.ts").ClassificationInactiveTagDetailsSchemaInput>>, z.ZodType<{
|
|
207
207
|
conflictingArticleId: number;
|
|
208
208
|
conflictingArticleSlug: string;
|
|
209
209
|
conflictingArticleTitle: string;
|
|
210
|
-
conflictType
|
|
210
|
+
conflictType: string;
|
|
211
211
|
}, import("../news/source-url-conflict.ts").NewsSourceUrlConflictSchemaInput, z.core.$ZodTypeInternals<{
|
|
212
212
|
conflictingArticleId: number;
|
|
213
213
|
conflictingArticleSlug: string;
|
|
214
214
|
conflictingArticleTitle: string;
|
|
215
|
-
conflictType
|
|
215
|
+
conflictType: string;
|
|
216
216
|
}, import("../news/source-url-conflict.ts").NewsSourceUrlConflictSchemaInput>>]>>>;
|
|
217
217
|
error: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
218
218
|
existingRecordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -236,7 +236,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
|
236
236
|
hint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
237
237
|
instance: z.ZodOptional<z.ZodString>;
|
|
238
238
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
239
|
-
limitType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
239
|
+
limitType: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
240
240
|
AGENT_HELP: "AGENT_HELP";
|
|
241
241
|
BILLING_ADDITIONAL_USAGE: "BILLING_ADDITIONAL_USAGE";
|
|
242
242
|
BILLING_ALLOWANCE: "BILLING_ALLOWANCE";
|
|
@@ -252,7 +252,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
|
252
252
|
SUBNET: "SUBNET";
|
|
253
253
|
UNKNOWN: "UNKNOWN";
|
|
254
254
|
WEB_SEARCH: "WEB_SEARCH";
|
|
255
|
-
}>>>;
|
|
255
|
+
}>, z.ZodString]>>>;
|
|
256
256
|
matchedBlocklistKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
257
257
|
mediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
258
258
|
moderationReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -179,37 +179,40 @@ const ProblemDetailSchemaDefinition = z.object({
|
|
|
179
179
|
limit: z.number().int().nullish(),
|
|
180
180
|
/** Which meter refused the request; names what limit/used/remaining count. */
|
|
181
181
|
limitType: z
|
|
182
|
-
.
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
182
|
+
.union([
|
|
183
|
+
z.enum([
|
|
184
|
+
/** Too many form submissions from this client; retry after retryAfterSeconds. */
|
|
185
|
+
"FORM",
|
|
186
|
+
/** The service-wide request rate is exhausted; retry after retryAfterSeconds. */
|
|
187
|
+
"GLOBAL",
|
|
188
|
+
/** Too many requests from this client's network; retry after retryAfterSeconds. */
|
|
189
|
+
"SUBNET",
|
|
190
|
+
/** Too many requests from this client's address; retry after retryAfterSeconds. */
|
|
191
|
+
"IP",
|
|
192
|
+
/** A request-rate limit refused the request; retry after retryAfterSeconds. */
|
|
193
|
+
"UNKNOWN",
|
|
194
|
+
/** The service is handling too many requests at once; retry after a short backoff. */
|
|
195
|
+
"RESILIENCE4J",
|
|
196
|
+
/** Too many live web searches; retry after retryAfterSeconds. */
|
|
197
|
+
"WEB_SEARCH",
|
|
198
|
+
/** Too many help questions; retry after retryAfterSeconds. */
|
|
199
|
+
"AGENT_HELP",
|
|
200
|
+
/** Too many natural-language searches; retry after retryAfterSeconds. */
|
|
201
|
+
"NATURAL_SEARCH",
|
|
202
|
+
/** The plan's monthly research allowance is used up. It refills at resetAt, often weeks away: stop rather than retry. */
|
|
203
|
+
"BILLING_ALLOWANCE",
|
|
204
|
+
/** The additional-usage spend cap or prepaid credit is used up, counted in cents: stop rather than retry until the cap is raised or credit is added. */
|
|
205
|
+
"BILLING_ADDITIONAL_USAGE",
|
|
206
|
+
/** Too many command-line sign-in requests; retry after retryAfterSeconds. */
|
|
207
|
+
"CLERK_PUBLIC_ADMISSION",
|
|
208
|
+
/** Too many sign-in page load reports; retry after retryAfterSeconds. */
|
|
209
|
+
"CLERK_SCRIPT_LOAD",
|
|
210
|
+
/** Not currently sent. If seen, retry after retryAfterSeconds. */
|
|
211
|
+
"ORIGIN_DETAIL",
|
|
212
|
+
/** A model service this request depends on is at capacity; retry after retryAfterSeconds. */
|
|
213
|
+
"INFERENCE_PROVIDER",
|
|
214
|
+
]),
|
|
215
|
+
z.string(),
|
|
213
216
|
])
|
|
214
217
|
.nullish(),
|
|
215
218
|
matchedBlocklistKey: z.string().nullish(),
|
|
@@ -40,7 +40,7 @@ export declare const IdentificationCandidateSchema: z.ZodObject<{
|
|
|
40
40
|
operatingStatus?: string | null | undefined;
|
|
41
41
|
publicPath?: string | null | undefined;
|
|
42
42
|
reason: string[];
|
|
43
|
-
score
|
|
43
|
+
score?: number | undefined;
|
|
44
44
|
slug?: string | null | undefined;
|
|
45
45
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
46
46
|
}, import("../search/duplicate-candidate-score.ts").SearchDuplicateCandidateScoreSchemaInput, z.core.$ZodTypeInternals<{
|
|
@@ -50,7 +50,7 @@ export declare const IdentificationCandidateSchema: z.ZodObject<{
|
|
|
50
50
|
operatingStatus?: string | null | undefined;
|
|
51
51
|
publicPath?: string | null | undefined;
|
|
52
52
|
reason: string[];
|
|
53
|
-
score
|
|
53
|
+
score?: number | undefined;
|
|
54
54
|
slug?: string | null | undefined;
|
|
55
55
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
56
56
|
}, import("../search/duplicate-candidate-score.ts").SearchDuplicateCandidateScoreSchemaInput>>;
|