@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
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const ClassificationSchemaDefinition: z.ZodObject<{
|
|
3
|
-
creatable: z.ZodBoolean
|
|
3
|
+
creatable: z.ZodOptional<z.ZodBoolean>;
|
|
4
4
|
isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5
5
|
isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6
6
|
name: z.ZodString;
|
|
7
|
-
|
|
7
|
+
registry: z.ZodUnion<readonly [z.ZodEnum<{
|
|
8
|
+
editorial: "editorial";
|
|
9
|
+
standardized: "standardized";
|
|
10
|
+
}>, z.ZodString]> & {
|
|
11
|
+
enum: {
|
|
12
|
+
editorial: "editorial";
|
|
13
|
+
standardized: "standardized";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
writable: z.ZodOptional<z.ZodBoolean>;
|
|
8
17
|
}, z.core.$strip>;
|
|
9
18
|
type ClassificationDefinition = z.infer<typeof ClassificationSchemaDefinition>;
|
|
10
19
|
export interface ClassificationSchemaInput extends z.input<typeof ClassificationSchemaDefinition> {
|
|
@@ -1,12 +1,17 @@
|
|
|
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 { ClassificationJoinRegistrySchema } from "./join-registry.js";
|
|
3
4
|
const ClassificationSchemaDefinition = z.object({
|
|
4
|
-
|
|
5
|
+
/** Whether a missing value can be created by name. */
|
|
6
|
+
creatable: z.boolean().optional(),
|
|
5
7
|
isCurrent: z.boolean().nullish(),
|
|
6
8
|
isPrimary: z.boolean().nullish(),
|
|
7
9
|
/** Display name. Capped to the standardized taxonomy storage limit because this shared read contract covers NAICS/SIC/ISIC-style classification labels as well as editorial tags. */
|
|
8
10
|
name: z.string().max(255),
|
|
9
|
-
|
|
11
|
+
/** Join registry this classification belongs to; pass it as registry when reading or changing the join by classificationId. */
|
|
12
|
+
registry: ClassificationJoinRegistrySchema,
|
|
13
|
+
/** Whether this existing classification can be joined. */
|
|
14
|
+
writable: z.boolean().optional(),
|
|
10
15
|
});
|
|
11
16
|
/**
|
|
12
17
|
* @openapiSchema Classification
|
|
@@ -4,13 +4,21 @@ declare const ClassificationInactiveTagDetailsSchemaDefinition: z.ZodObject<{
|
|
|
4
4
|
ATTACH_INACTIVE: "ATTACH_INACTIVE";
|
|
5
5
|
REACTIVATE: "REACTIVATE";
|
|
6
6
|
}>>;
|
|
7
|
-
conflictType: z.
|
|
7
|
+
conflictType: z.ZodUnion<readonly [z.ZodEnum<{
|
|
8
8
|
CLASSIFICATION_INACTIVE_TAG: "CLASSIFICATION_INACTIVE_TAG";
|
|
9
9
|
DUPLICATE_CREATE_REVIEW: "DUPLICATE_CREATE_REVIEW";
|
|
10
10
|
NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
|
|
11
11
|
STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
|
|
12
12
|
URL_DUPLICATE: "URL_DUPLICATE";
|
|
13
|
-
}>, z.ZodString]
|
|
13
|
+
}>, z.ZodString]> & {
|
|
14
|
+
enum: {
|
|
15
|
+
CLASSIFICATION_INACTIVE_TAG: "CLASSIFICATION_INACTIVE_TAG";
|
|
16
|
+
DUPLICATE_CREATE_REVIEW: "DUPLICATE_CREATE_REVIEW";
|
|
17
|
+
NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
|
|
18
|
+
STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
|
|
19
|
+
URL_DUPLICATE: "URL_DUPLICATE";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
14
22
|
slug: z.ZodString;
|
|
15
23
|
tagId: z.ZodInt;
|
|
16
24
|
}, z.core.$strip>;
|
|
@@ -6,7 +6,7 @@ const ClassificationInactiveTagDetailsSchemaDefinition = z.object({
|
|
|
6
6
|
/** Allowed inactiveTagOverride values for this conflict */
|
|
7
7
|
availableOverrides: z.array(EntityClassificationInactiveTagOverrideSchema),
|
|
8
8
|
/** Conflict kind that identifies this details shape. */
|
|
9
|
-
conflictType: DomainConflictTypeSchema
|
|
9
|
+
conflictType: DomainConflictTypeSchema,
|
|
10
10
|
/** Existing dormant value slug or lookup key */
|
|
11
11
|
slug: z.string(),
|
|
12
12
|
/** Existing tag id */
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Entity classification join registry discriminator for paths where editorial and standardized join row ids may collide.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema ClassificationJoinRegistry
|
|
6
|
+
* @endpoint GET /v1/entities
|
|
7
|
+
* @endpoint GET /v1/entities/brand
|
|
8
|
+
* @endpoint GET /v1/entities/classifications/catalog
|
|
9
|
+
* @endpoint GET /v1/entities/classifications/tags
|
|
10
|
+
* @endpoint GET /v1/entities/lookup-exact
|
|
11
|
+
* @endpoint GET /v1/search/link
|
|
12
|
+
* @endpoint GET /v1/entities/{entityId}
|
|
13
|
+
* @endpoint GET /v1/entities/{entityId}/classifications
|
|
14
|
+
* @endpoint GET /v1/entities/{entityId}/classifications/suggestions
|
|
15
|
+
* @endpoint GET /v1/entities/{entityId}/investors
|
|
16
|
+
* @endpoint GET /v1/entities/{entityId}/similar
|
|
17
|
+
* @endpoint GET /v1/lookup-jobs/{jobId}
|
|
18
|
+
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
19
|
+
* @endpoint GET /v1/search/shared/{id}
|
|
20
|
+
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
21
|
+
* @endpoint POST /v1/entities/lookup-batch
|
|
22
|
+
* @endpoint POST /v1/entities/lookup-matches
|
|
23
|
+
* @endpoint POST /v1/entities/search
|
|
24
|
+
* @endpoint POST /v1/lookup-mentions
|
|
25
|
+
* @endpoint POST /v1/search
|
|
26
|
+
* @endpoint POST /v1/search/natural/entities
|
|
27
|
+
* @endpoint POST /v1/search/shared
|
|
28
|
+
* @usedBySchema ClassificationSchema
|
|
29
|
+
* @usedBySchema StandardizedClassificationSchema
|
|
30
|
+
* @contractShape classification.join-registry
|
|
31
|
+
* @contractRole canonical
|
|
32
|
+
*/
|
|
33
|
+
export declare const ClassificationJoinRegistrySchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
34
|
+
editorial: "editorial";
|
|
35
|
+
standardized: "standardized";
|
|
36
|
+
}>, z.ZodString]> & {
|
|
37
|
+
enum: {
|
|
38
|
+
editorial: "editorial";
|
|
39
|
+
standardized: "standardized";
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export type ClassificationJoinRegistry = z.infer<typeof ClassificationJoinRegistrySchema>;
|
|
43
|
+
//# sourceMappingURL=join-registry.d.ts.map
|
|
@@ -0,0 +1,36 @@
|
|
|
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 ClassificationJoinRegistrySchemaKnownMembers = z.enum(["editorial", "standardized"]);
|
|
4
|
+
/**
|
|
5
|
+
* Entity classification join registry discriminator for paths where editorial and standardized join row ids may collide.
|
|
6
|
+
*
|
|
7
|
+
* @openapiSchema ClassificationJoinRegistry
|
|
8
|
+
* @endpoint GET /v1/entities
|
|
9
|
+
* @endpoint GET /v1/entities/brand
|
|
10
|
+
* @endpoint GET /v1/entities/classifications/catalog
|
|
11
|
+
* @endpoint GET /v1/entities/classifications/tags
|
|
12
|
+
* @endpoint GET /v1/entities/lookup-exact
|
|
13
|
+
* @endpoint GET /v1/search/link
|
|
14
|
+
* @endpoint GET /v1/entities/{entityId}
|
|
15
|
+
* @endpoint GET /v1/entities/{entityId}/classifications
|
|
16
|
+
* @endpoint GET /v1/entities/{entityId}/classifications/suggestions
|
|
17
|
+
* @endpoint GET /v1/entities/{entityId}/investors
|
|
18
|
+
* @endpoint GET /v1/entities/{entityId}/similar
|
|
19
|
+
* @endpoint GET /v1/lookup-jobs/{jobId}
|
|
20
|
+
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
21
|
+
* @endpoint GET /v1/search/shared/{id}
|
|
22
|
+
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
23
|
+
* @endpoint POST /v1/entities/lookup-batch
|
|
24
|
+
* @endpoint POST /v1/entities/lookup-matches
|
|
25
|
+
* @endpoint POST /v1/entities/search
|
|
26
|
+
* @endpoint POST /v1/lookup-mentions
|
|
27
|
+
* @endpoint POST /v1/search
|
|
28
|
+
* @endpoint POST /v1/search/natural/entities
|
|
29
|
+
* @endpoint POST /v1/search/shared
|
|
30
|
+
* @usedBySchema ClassificationSchema
|
|
31
|
+
* @usedBySchema StandardizedClassificationSchema
|
|
32
|
+
* @contractShape classification.join-registry
|
|
33
|
+
* @contractRole canonical
|
|
34
|
+
*/
|
|
35
|
+
export const ClassificationJoinRegistrySchema = Object.assign(z.union([ClassificationJoinRegistrySchemaKnownMembers, z.string()]), { enum: ClassificationJoinRegistrySchemaKnownMembers.enum });
|
|
36
|
+
//# sourceMappingURL=join-registry.js.map
|
|
@@ -55,7 +55,22 @@ export declare const ContentEmbeddingMatchSchema: z.ZodObject<{
|
|
|
55
55
|
service: "service";
|
|
56
56
|
sourceDocument: "sourceDocument";
|
|
57
57
|
text: "text";
|
|
58
|
-
}>, z.ZodString]
|
|
58
|
+
}>, z.ZodString]> & {
|
|
59
|
+
enum: {
|
|
60
|
+
agentHelpDoc: "agentHelpDoc";
|
|
61
|
+
blogPost: "blogPost";
|
|
62
|
+
classificationCode: "classificationCode";
|
|
63
|
+
classificationTag: "classificationTag";
|
|
64
|
+
entity: "entity";
|
|
65
|
+
newsArticle: "newsArticle";
|
|
66
|
+
person: "person";
|
|
67
|
+
product: "product";
|
|
68
|
+
researchSnippet: "researchSnippet";
|
|
69
|
+
service: "service";
|
|
70
|
+
sourceDocument: "sourceDocument";
|
|
71
|
+
text: "text";
|
|
72
|
+
};
|
|
73
|
+
};
|
|
59
74
|
}, z.core.$strip>;
|
|
60
75
|
export type ContentEmbeddingMatch = z.infer<typeof ContentEmbeddingMatchSchema>;
|
|
61
76
|
//# sourceMappingURL=embedding-match.d.ts.map
|
|
@@ -45,6 +45,21 @@ export declare const ContentSourceTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
45
45
|
service: "service";
|
|
46
46
|
sourceDocument: "sourceDocument";
|
|
47
47
|
text: "text";
|
|
48
|
-
}>, z.ZodString]
|
|
48
|
+
}>, z.ZodString]> & {
|
|
49
|
+
enum: {
|
|
50
|
+
agentHelpDoc: "agentHelpDoc";
|
|
51
|
+
blogPost: "blogPost";
|
|
52
|
+
classificationCode: "classificationCode";
|
|
53
|
+
classificationTag: "classificationTag";
|
|
54
|
+
entity: "entity";
|
|
55
|
+
newsArticle: "newsArticle";
|
|
56
|
+
person: "person";
|
|
57
|
+
product: "product";
|
|
58
|
+
researchSnippet: "researchSnippet";
|
|
59
|
+
service: "service";
|
|
60
|
+
sourceDocument: "sourceDocument";
|
|
61
|
+
text: "text";
|
|
62
|
+
};
|
|
63
|
+
};
|
|
49
64
|
export type ContentSourceType = z.infer<typeof ContentSourceTypeSchema>;
|
|
50
65
|
//# sourceMappingURL=source-type.d.ts.map
|
|
@@ -1,5 +1,19 @@
|
|
|
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 ContentSourceTypeSchemaKnownMembers = z.enum([
|
|
4
|
+
"entity",
|
|
5
|
+
"person",
|
|
6
|
+
"newsArticle",
|
|
7
|
+
"blogPost",
|
|
8
|
+
"text",
|
|
9
|
+
"classificationTag",
|
|
10
|
+
"classificationCode",
|
|
11
|
+
"product",
|
|
12
|
+
"service",
|
|
13
|
+
"agentHelpDoc",
|
|
14
|
+
"researchSnippet",
|
|
15
|
+
"sourceDocument",
|
|
16
|
+
]);
|
|
3
17
|
/**
|
|
4
18
|
* Discriminator for unified content embedding source partitions
|
|
5
19
|
*
|
|
@@ -33,21 +47,5 @@ import { z } from "zod/v4";
|
|
|
33
47
|
* @contractShape content.source-type
|
|
34
48
|
* @contractRole canonical
|
|
35
49
|
*/
|
|
36
|
-
export const ContentSourceTypeSchema = z.union([
|
|
37
|
-
z.enum([
|
|
38
|
-
"entity",
|
|
39
|
-
"person",
|
|
40
|
-
"newsArticle",
|
|
41
|
-
"blogPost",
|
|
42
|
-
"text",
|
|
43
|
-
"classificationTag",
|
|
44
|
-
"classificationCode",
|
|
45
|
-
"product",
|
|
46
|
-
"service",
|
|
47
|
-
"agentHelpDoc",
|
|
48
|
-
"researchSnippet",
|
|
49
|
-
"sourceDocument",
|
|
50
|
-
]),
|
|
51
|
-
z.string(),
|
|
52
|
-
]);
|
|
50
|
+
export const ContentSourceTypeSchema = Object.assign(z.union([ContentSourceTypeSchemaKnownMembers, z.string()]), { enum: ContentSourceTypeSchemaKnownMembers.enum });
|
|
53
51
|
//# sourceMappingURL=source-type.js.map
|
|
@@ -9,7 +9,7 @@ import { z } from "zod/v4";
|
|
|
9
9
|
* @contractRole canonical
|
|
10
10
|
*/
|
|
11
11
|
export declare const DomainConflictDetailsSchema: z.ZodUnion<readonly [z.ZodType<{
|
|
12
|
-
conflictType
|
|
12
|
+
conflictType: string;
|
|
13
13
|
existingJoin: {
|
|
14
14
|
owner: {
|
|
15
15
|
entityId?: string | null | undefined;
|
|
@@ -27,7 +27,7 @@ export declare const DomainConflictDetailsSchema: z.ZodUnion<readonly [z.ZodType
|
|
|
27
27
|
url: string;
|
|
28
28
|
urlType: string;
|
|
29
29
|
}, import("../url/duplicate-conflict.ts").UrlDuplicateConflictSchemaInput, z.core.$ZodTypeInternals<{
|
|
30
|
-
conflictType
|
|
30
|
+
conflictType: string;
|
|
31
31
|
existingJoin: {
|
|
32
32
|
owner: {
|
|
33
33
|
entityId?: string | null | undefined;
|
|
@@ -47,7 +47,7 @@ export declare const DomainConflictDetailsSchema: z.ZodUnion<readonly [z.ZodType
|
|
|
47
47
|
}, import("../url/duplicate-conflict.ts").UrlDuplicateConflictSchemaInput>>, z.ZodType<{
|
|
48
48
|
candidateEntityId: string[];
|
|
49
49
|
candidatePersonId: string[];
|
|
50
|
-
conflictType
|
|
50
|
+
conflictType: string;
|
|
51
51
|
hint: string;
|
|
52
52
|
normalizedUrl?: string | null | undefined;
|
|
53
53
|
url: string;
|
|
@@ -55,7 +55,7 @@ export declare const DomainConflictDetailsSchema: z.ZodUnion<readonly [z.ZodType
|
|
|
55
55
|
}, import("../strict/url-lookup-conflict.ts").StrictUrlLookupConflictSchemaInput, z.core.$ZodTypeInternals<{
|
|
56
56
|
candidateEntityId: string[];
|
|
57
57
|
candidatePersonId: string[];
|
|
58
|
-
conflictType
|
|
58
|
+
conflictType: string;
|
|
59
59
|
hint: string;
|
|
60
60
|
normalizedUrl?: string | null | undefined;
|
|
61
61
|
url: string;
|
|
@@ -68,11 +68,11 @@ export declare const DomainConflictDetailsSchema: z.ZodUnion<readonly [z.ZodType
|
|
|
68
68
|
operatingStatus?: string | null | undefined;
|
|
69
69
|
publicPath?: string | null | undefined;
|
|
70
70
|
reason: string[];
|
|
71
|
-
score
|
|
71
|
+
score?: number | undefined;
|
|
72
72
|
slug?: string | null | undefined;
|
|
73
73
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
74
74
|
}[] | null | undefined;
|
|
75
|
-
conflictType
|
|
75
|
+
conflictType: string;
|
|
76
76
|
newsCandidate?: {
|
|
77
77
|
externalId?: string | null | undefined;
|
|
78
78
|
id: number;
|
|
@@ -90,11 +90,11 @@ export declare const DomainConflictDetailsSchema: z.ZodUnion<readonly [z.ZodType
|
|
|
90
90
|
operatingStatus?: string | null | undefined;
|
|
91
91
|
publicPath?: string | null | undefined;
|
|
92
92
|
reason: string[];
|
|
93
|
-
score
|
|
93
|
+
score?: number | undefined;
|
|
94
94
|
slug?: string | null | undefined;
|
|
95
95
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
96
96
|
}[] | null | undefined;
|
|
97
|
-
conflictType
|
|
97
|
+
conflictType: string;
|
|
98
98
|
newsCandidate?: {
|
|
99
99
|
externalId?: string | null | undefined;
|
|
100
100
|
id: number;
|
|
@@ -106,24 +106,24 @@ export declare const DomainConflictDetailsSchema: z.ZodUnion<readonly [z.ZodType
|
|
|
106
106
|
threshold: number;
|
|
107
107
|
}, import("../duplicate/create-review.ts").DuplicateCreateReviewSchemaInput>>, z.ZodType<{
|
|
108
108
|
availableOverrides: ("ATTACH_INACTIVE" | "REACTIVATE")[];
|
|
109
|
-
conflictType
|
|
109
|
+
conflictType: string;
|
|
110
110
|
slug: string;
|
|
111
111
|
tagId: number;
|
|
112
112
|
}, import("../classification/inactive-tag-details.ts").ClassificationInactiveTagDetailsSchemaInput, z.core.$ZodTypeInternals<{
|
|
113
113
|
availableOverrides: ("ATTACH_INACTIVE" | "REACTIVATE")[];
|
|
114
|
-
conflictType
|
|
114
|
+
conflictType: string;
|
|
115
115
|
slug: string;
|
|
116
116
|
tagId: number;
|
|
117
117
|
}, import("../classification/inactive-tag-details.ts").ClassificationInactiveTagDetailsSchemaInput>>, z.ZodType<{
|
|
118
118
|
conflictingArticleId: number;
|
|
119
119
|
conflictingArticleSlug: string;
|
|
120
120
|
conflictingArticleTitle: string;
|
|
121
|
-
conflictType
|
|
121
|
+
conflictType: string;
|
|
122
122
|
}, import("../news/source-url-conflict.ts").NewsSourceUrlConflictSchemaInput, z.core.$ZodTypeInternals<{
|
|
123
123
|
conflictingArticleId: number;
|
|
124
124
|
conflictingArticleSlug: string;
|
|
125
125
|
conflictingArticleTitle: string;
|
|
126
|
-
conflictType
|
|
126
|
+
conflictType: string;
|
|
127
127
|
}, import("../news/source-url-conflict.ts").NewsSourceUrlConflictSchemaInput>>]>;
|
|
128
128
|
export type DomainConflictDetails = z.infer<typeof DomainConflictDetailsSchema>;
|
|
129
129
|
//# sourceMappingURL=conflict-details.d.ts.map
|
|
@@ -19,6 +19,14 @@ export declare const DomainConflictTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
19
19
|
NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
|
|
20
20
|
STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
|
|
21
21
|
URL_DUPLICATE: "URL_DUPLICATE";
|
|
22
|
-
}>, z.ZodString]
|
|
22
|
+
}>, z.ZodString]> & {
|
|
23
|
+
enum: {
|
|
24
|
+
CLASSIFICATION_INACTIVE_TAG: "CLASSIFICATION_INACTIVE_TAG";
|
|
25
|
+
DUPLICATE_CREATE_REVIEW: "DUPLICATE_CREATE_REVIEW";
|
|
26
|
+
NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
|
|
27
|
+
STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
|
|
28
|
+
URL_DUPLICATE: "URL_DUPLICATE";
|
|
29
|
+
};
|
|
30
|
+
};
|
|
23
31
|
export type DomainConflictType = z.infer<typeof DomainConflictTypeSchema>;
|
|
24
32
|
//# sourceMappingURL=conflict-type.d.ts.map
|
|
@@ -1,5 +1,12 @@
|
|
|
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 DomainConflictTypeSchemaKnownMembers = z.enum([
|
|
4
|
+
"URL_DUPLICATE",
|
|
5
|
+
"STRICT_URL_LOOKUP",
|
|
6
|
+
"DUPLICATE_CREATE_REVIEW",
|
|
7
|
+
"CLASSIFICATION_INACTIVE_TAG",
|
|
8
|
+
"NEWS_SOURCE_URL",
|
|
9
|
+
]);
|
|
3
10
|
/**
|
|
4
11
|
* Conflict kind that identifies which details shape a 409 response carries.
|
|
5
12
|
*
|
|
@@ -14,14 +21,5 @@ import { z } from "zod/v4";
|
|
|
14
21
|
* @contractShape domain.conflict-type
|
|
15
22
|
* @contractRole canonical
|
|
16
23
|
*/
|
|
17
|
-
export const DomainConflictTypeSchema = z.union([
|
|
18
|
-
z.enum([
|
|
19
|
-
"URL_DUPLICATE",
|
|
20
|
-
"STRICT_URL_LOOKUP",
|
|
21
|
-
"DUPLICATE_CREATE_REVIEW",
|
|
22
|
-
"CLASSIFICATION_INACTIVE_TAG",
|
|
23
|
-
"NEWS_SOURCE_URL",
|
|
24
|
-
]),
|
|
25
|
-
z.string(),
|
|
26
|
-
]);
|
|
24
|
+
export const DomainConflictTypeSchema = Object.assign(z.union([DomainConflictTypeSchemaKnownMembers, z.string()]), { enum: DomainConflictTypeSchemaKnownMembers.enum });
|
|
27
25
|
//# sourceMappingURL=conflict-type.js.map
|
|
@@ -7,7 +7,7 @@ declare const DuplicateCreateReviewSchemaDefinition: z.ZodObject<{
|
|
|
7
7
|
operatingStatus?: string | null | undefined;
|
|
8
8
|
publicPath?: string | null | undefined;
|
|
9
9
|
reason: string[];
|
|
10
|
-
score
|
|
10
|
+
score?: number | undefined;
|
|
11
11
|
slug?: string | null | undefined;
|
|
12
12
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
13
13
|
}, import("../search/duplicate-candidate-score.ts").SearchDuplicateCandidateScoreSchemaInput, z.core.$ZodTypeInternals<{
|
|
@@ -17,17 +17,25 @@ declare const DuplicateCreateReviewSchemaDefinition: z.ZodObject<{
|
|
|
17
17
|
operatingStatus?: string | null | undefined;
|
|
18
18
|
publicPath?: string | null | undefined;
|
|
19
19
|
reason: string[];
|
|
20
|
-
score
|
|
20
|
+
score?: number | undefined;
|
|
21
21
|
slug?: string | null | undefined;
|
|
22
22
|
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
23
23
|
}, import("../search/duplicate-candidate-score.ts").SearchDuplicateCandidateScoreSchemaInput>>>>>;
|
|
24
|
-
conflictType: z.
|
|
24
|
+
conflictType: z.ZodUnion<readonly [z.ZodEnum<{
|
|
25
25
|
CLASSIFICATION_INACTIVE_TAG: "CLASSIFICATION_INACTIVE_TAG";
|
|
26
26
|
DUPLICATE_CREATE_REVIEW: "DUPLICATE_CREATE_REVIEW";
|
|
27
27
|
NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
|
|
28
28
|
STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
|
|
29
29
|
URL_DUPLICATE: "URL_DUPLICATE";
|
|
30
|
-
}>, z.ZodString]
|
|
30
|
+
}>, z.ZodString]> & {
|
|
31
|
+
enum: {
|
|
32
|
+
CLASSIFICATION_INACTIVE_TAG: "CLASSIFICATION_INACTIVE_TAG";
|
|
33
|
+
DUPLICATE_CREATE_REVIEW: "DUPLICATE_CREATE_REVIEW";
|
|
34
|
+
NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
|
|
35
|
+
STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
|
|
36
|
+
URL_DUPLICATE: "URL_DUPLICATE";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
31
39
|
newsCandidate: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
32
40
|
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
41
|
id: z.ZodInt;
|
|
@@ -7,7 +7,7 @@ const DuplicateCreateReviewSchemaDefinition = z.object({
|
|
|
7
7
|
/** Entity/person candidates returned by lookup or create duplicate review. If a candidate is the requested record, read/update that candidate by id. Create with duplicate override only after every candidate is reviewed as distinct. */
|
|
8
8
|
candidate: z.array(SearchDuplicateCandidateScoreSchema).nullish(),
|
|
9
9
|
/** Conflict kind that identifies this details shape. */
|
|
10
|
-
conflictType: DomainConflictTypeSchema
|
|
10
|
+
conflictType: DomainConflictTypeSchema,
|
|
11
11
|
/** News candidates returned by lookup or create duplicate review. If a candidate is the requested article, read/update that article by id. Otherwise block until source evidence proves a distinct article. */
|
|
12
12
|
newsCandidate: z.array(NewsCandidateScoreSchema).nullish(),
|
|
13
13
|
/** Create endpoint to retry only after reviewing the returned candidates and supplying overrideGate=duplicate and overrideReason as query parameters. Null for detail lookup ambiguity, where the next action is review/update/block. */
|
|
@@ -9,7 +9,14 @@ declare const EnrichmentSchemaDefinition: z.ZodObject<{
|
|
|
9
9
|
AMBIGUOUS: "AMBIGUOUS";
|
|
10
10
|
NOT_FOUND: "NOT_FOUND";
|
|
11
11
|
SUBSCRIPTION_REQUIRED: "SUBSCRIPTION_REQUIRED";
|
|
12
|
-
}>, z.ZodString]
|
|
12
|
+
}>, z.ZodString]> & {
|
|
13
|
+
enum: {
|
|
14
|
+
ALLOWANCE_EXHAUSTED: "ALLOWANCE_EXHAUSTED";
|
|
15
|
+
AMBIGUOUS: "AMBIGUOUS";
|
|
16
|
+
NOT_FOUND: "NOT_FOUND";
|
|
17
|
+
SUBSCRIPTION_REQUIRED: "SUBSCRIPTION_REQUIRED";
|
|
18
|
+
};
|
|
19
|
+
}>>;
|
|
13
20
|
run: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
21
|
attempt: z.ZodInt;
|
|
15
22
|
chassis: z.ZodEnum<{
|
|
@@ -13,6 +13,13 @@ export declare const EnrichmentRefusalTypeSchema: z.ZodUnion<readonly [z.ZodEnum
|
|
|
13
13
|
AMBIGUOUS: "AMBIGUOUS";
|
|
14
14
|
NOT_FOUND: "NOT_FOUND";
|
|
15
15
|
SUBSCRIPTION_REQUIRED: "SUBSCRIPTION_REQUIRED";
|
|
16
|
-
}>, z.ZodString]
|
|
16
|
+
}>, z.ZodString]> & {
|
|
17
|
+
enum: {
|
|
18
|
+
ALLOWANCE_EXHAUSTED: "ALLOWANCE_EXHAUSTED";
|
|
19
|
+
AMBIGUOUS: "AMBIGUOUS";
|
|
20
|
+
NOT_FOUND: "NOT_FOUND";
|
|
21
|
+
SUBSCRIPTION_REQUIRED: "SUBSCRIPTION_REQUIRED";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
17
24
|
export type EnrichmentRefusalType = z.infer<typeof EnrichmentRefusalTypeSchema>;
|
|
18
25
|
//# sourceMappingURL=refusal-type.d.ts.map
|
|
@@ -1,5 +1,11 @@
|
|
|
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 EnrichmentRefusalTypeSchemaKnownMembers = z.enum([
|
|
4
|
+
"NOT_FOUND",
|
|
5
|
+
"ALLOWANCE_EXHAUSTED",
|
|
6
|
+
"AMBIGUOUS",
|
|
7
|
+
"SUBSCRIPTION_REQUIRED",
|
|
8
|
+
]);
|
|
3
9
|
/**
|
|
4
10
|
* Why a batch enrichment filed no run: NOT_FOUND for an unknown record; ALLOWANCE_EXHAUSTED when the record's company or person research allowance is spent and additional usage is off or at its spend cap or prepaid credit; AMBIGUOUS when the record's profile matches more than one current record; SUBSCRIPTION_REQUIRED when the subscription stopped covering research mid-batch, such as additional usage while past due. Readers accept members they do not yet know
|
|
5
11
|
*
|
|
@@ -9,8 +15,5 @@ import { z } from "zod/v4";
|
|
|
9
15
|
* @contractShape enrichment.refusal-type
|
|
10
16
|
* @contractRole canonical
|
|
11
17
|
*/
|
|
12
|
-
export const EnrichmentRefusalTypeSchema = z.union([
|
|
13
|
-
z.enum(["NOT_FOUND", "ALLOWANCE_EXHAUSTED", "AMBIGUOUS", "SUBSCRIPTION_REQUIRED"]),
|
|
14
|
-
z.string(),
|
|
15
|
-
]);
|
|
18
|
+
export const EnrichmentRefusalTypeSchema = Object.assign(z.union([EnrichmentRefusalTypeSchemaKnownMembers, z.string()]), { enum: EnrichmentRefusalTypeSchemaKnownMembers.enum });
|
|
16
19
|
//# sourceMappingURL=refusal-type.js.map
|