@aventurevc/api-schemas 0.8.176 → 0.8.177
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 +0 -2
- 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/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 +6 -2
- package/dist/classification/classification.js +7 -2
- package/dist/classification/inactive-tag-details.d.ts +2 -2
- package/dist/classification/inactive-tag-details.js +1 -1
- package/dist/classification/join-registry.d.ts +38 -0
- package/dist/classification/join-registry.js +38 -0
- package/dist/domain/conflict-details.d.ts +12 -12
- package/dist/duplicate/create-review.d.ts +4 -4
- package/dist/duplicate/create-review.js +1 -1
- 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/detail.d.ts +100 -80
- package/dist/entity/detail.js +2 -2
- package/dist/entity/enrichment.d.ts +99 -79
- package/dist/entity/enrichment.js +2 -1
- package/dist/entity/investor-participation.d.ts +100 -80
- package/dist/entity/list.d.ts +100 -80
- package/dist/entity/resolution.d.ts +100 -80
- package/dist/entity/search-param.js +1 -1
- package/dist/entity/similarity-result.d.ts +100 -80
- package/dist/entity/tag.d.ts +8 -6
- package/dist/entity/tag.js +2 -2
- package/dist/federated/search.d.ts +400 -320
- package/dist/harness/run-create.d.ts +1 -1
- package/dist/harness/run-create.js +5 -5
- 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/help/resolution.d.ts +5 -5
- 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/link/search.d.ts +400 -320
- 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/news/source-url-conflict.d.ts +2 -2
- package/dist/news/source-url-conflict.js +1 -1
- package/dist/openapi-component-manifest.js +13 -1
- package/dist/pagination/schemas.d.ts +516 -412
- package/dist/research/finding.js +1 -1
- package/dist/search/duplicate-candidate-score.d.ts +1 -1
- package/dist/search/duplicate-candidate-score.js +1 -1
- package/dist/shared/search.d.ts +400 -320
- package/dist/standardized/classification.d.ts +7 -3
- package/dist/standardized/classification.js +8 -5
- package/dist/strict/url-lookup-conflict.d.ts +2 -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/url/duplicate-conflict.d.ts +2 -2
- package/dist/url/duplicate-conflict.js +1 -1
- package/package.json +1 -1
- package/dist/uptime/uptime.d.ts +0 -23
- package/dist/uptime/uptime.js +0 -23
|
@@ -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
|
|
@@ -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.
|
|
@@ -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>;
|
|
@@ -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>>;
|
|
@@ -42,7 +42,7 @@ export declare const IdentificationSchema: z.ZodObject<{
|
|
|
42
42
|
operatingStatus?: string | null | undefined;
|
|
43
43
|
publicPath?: string | null | undefined;
|
|
44
44
|
reason: string[];
|
|
45
|
-
score
|
|
45
|
+
score?: number | undefined;
|
|
46
46
|
slug?: string | null | undefined;
|
|
47
47
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
48
48
|
}, import("../search/duplicate-candidate-score.ts").SearchDuplicateCandidateScoreSchemaInput, z.core.$ZodTypeInternals<{
|
|
@@ -52,7 +52,7 @@ export declare const IdentificationSchema: z.ZodObject<{
|
|
|
52
52
|
operatingStatus?: string | null | undefined;
|
|
53
53
|
publicPath?: string | null | undefined;
|
|
54
54
|
reason: string[];
|
|
55
|
-
score
|
|
55
|
+
score?: number | undefined;
|
|
56
56
|
slug?: string | null | undefined;
|
|
57
57
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
58
58
|
}, import("../search/duplicate-candidate-score.ts").SearchDuplicateCandidateScoreSchemaInput>>;
|
|
@@ -86,7 +86,7 @@ export declare const IdentificationSchema: z.ZodObject<{
|
|
|
86
86
|
operatingStatus?: string | null | undefined;
|
|
87
87
|
publicPath?: string | null | undefined;
|
|
88
88
|
reason: string[];
|
|
89
|
-
score
|
|
89
|
+
score?: number | undefined;
|
|
90
90
|
slug?: string | null | undefined;
|
|
91
91
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
92
92
|
}, import("../search/duplicate-candidate-score.ts").SearchDuplicateCandidateScoreSchemaInput, z.core.$ZodTypeInternals<{
|
|
@@ -96,7 +96,7 @@ export declare const IdentificationSchema: z.ZodObject<{
|
|
|
96
96
|
operatingStatus?: string | null | undefined;
|
|
97
97
|
publicPath?: string | null | undefined;
|
|
98
98
|
reason: string[];
|
|
99
|
-
score
|
|
99
|
+
score?: number | undefined;
|
|
100
100
|
slug?: string | null | undefined;
|
|
101
101
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
102
102
|
}, import("../search/duplicate-candidate-score.ts").SearchDuplicateCandidateScoreSchemaInput>>;
|
|
@@ -131,7 +131,7 @@ export declare const IdentificationSchema: z.ZodObject<{
|
|
|
131
131
|
operatingStatus?: string | null | undefined;
|
|
132
132
|
publicPath?: string | null | undefined;
|
|
133
133
|
reason: string[];
|
|
134
|
-
score
|
|
134
|
+
score?: number | undefined;
|
|
135
135
|
slug?: string | null | undefined;
|
|
136
136
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
137
137
|
}, import("../search/duplicate-candidate-score.ts").SearchDuplicateCandidateScoreSchemaInput, z.core.$ZodTypeInternals<{
|
|
@@ -141,7 +141,7 @@ export declare const IdentificationSchema: z.ZodObject<{
|
|
|
141
141
|
operatingStatus?: string | null | undefined;
|
|
142
142
|
publicPath?: string | null | undefined;
|
|
143
143
|
reason: string[];
|
|
144
|
-
score
|
|
144
|
+
score?: number | undefined;
|
|
145
145
|
slug?: string | null | undefined;
|
|
146
146
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
147
147
|
}, import("../search/duplicate-candidate-score.ts").SearchDuplicateCandidateScoreSchemaInput>>;
|
|
@@ -177,7 +177,7 @@ export declare const IdentificationSchema: z.ZodObject<{
|
|
|
177
177
|
operatingStatus?: string | null | undefined;
|
|
178
178
|
publicPath?: string | null | undefined;
|
|
179
179
|
reason: string[];
|
|
180
|
-
score
|
|
180
|
+
score?: number | undefined;
|
|
181
181
|
slug?: string | null | undefined;
|
|
182
182
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
183
183
|
}, import("../search/duplicate-candidate-score.ts").SearchDuplicateCandidateScoreSchemaInput, z.core.$ZodTypeInternals<{
|
|
@@ -187,7 +187,7 @@ export declare const IdentificationSchema: z.ZodObject<{
|
|
|
187
187
|
operatingStatus?: string | null | undefined;
|
|
188
188
|
publicPath?: string | null | undefined;
|
|
189
189
|
reason: string[];
|
|
190
|
-
score
|
|
190
|
+
score?: number | undefined;
|
|
191
191
|
slug?: string | null | undefined;
|
|
192
192
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
193
193
|
}, import("../search/duplicate-candidate-score.ts").SearchDuplicateCandidateScoreSchemaInput>>;
|
|
@@ -195,11 +195,6 @@ export declare const IdentificationSchema: z.ZodObject<{
|
|
|
195
195
|
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
196
196
|
}, z.core.$strip>>>;
|
|
197
197
|
officialUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
198
|
-
stage: z.ZodOptional<z.ZodEnum<{
|
|
199
|
-
DETERMINISTIC: "DETERMINISTIC";
|
|
200
|
-
JUDGMENT: "JUDGMENT";
|
|
201
|
-
WEB_EVIDENCE: "WEB_EVIDENCE";
|
|
202
|
-
}>>;
|
|
203
198
|
status: z.ZodEnum<{
|
|
204
199
|
MATCHED: "MATCHED";
|
|
205
200
|
NEEDS_REVIEW: "NEEDS_REVIEW";
|
|
@@ -33,8 +33,6 @@ export const IdentificationSchema = z.object({
|
|
|
33
33
|
match: IdentificationCandidateSchema.nullish(),
|
|
34
34
|
/** The subject's own website or profile page found in web search; it may be a profile page on another site rather than the subject's own domain. */
|
|
35
35
|
officialUrl: z.string().nullish(),
|
|
36
|
-
/** How the answer was settled; informational, so act on status instead. */
|
|
37
|
-
stage: z.enum(["DETERMINISTIC", "JUDGMENT", "WEB_EVIDENCE"]).optional(),
|
|
38
36
|
/** Use the scoped match, record scoped absence, or refine an ambiguous identity with evidence. */
|
|
39
37
|
status: z.enum(["MATCHED", "NO_MATCH", "NEEDS_REVIEW"]),
|
|
40
38
|
});
|