@aventurevc/api-schemas 0.8.211 → 0.8.213
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/domain/conflict-details.d.ts +2 -0
- package/dist/duplicate/create-review.d.ts +1 -0
- package/dist/entity/filter.js +1 -1
- package/dist/entity/list-filter.js +1 -1
- package/dist/http/problem-detail.d.ts +2 -0
- package/dist/news/candidate-score.d.ts +1 -0
- package/dist/news/candidate-score.js +2 -0
- package/package.json +1 -1
|
@@ -76,6 +76,7 @@ export declare const DomainConflictDetailsSchema: z.ZodUnion<readonly [z.ZodType
|
|
|
76
76
|
newsCandidate?: {
|
|
77
77
|
externalId?: string | null | undefined;
|
|
78
78
|
id: number;
|
|
79
|
+
publicationScore: number;
|
|
79
80
|
reason: string[];
|
|
80
81
|
score: number;
|
|
81
82
|
slug?: string | null | undefined;
|
|
@@ -98,6 +99,7 @@ export declare const DomainConflictDetailsSchema: z.ZodUnion<readonly [z.ZodType
|
|
|
98
99
|
newsCandidate?: {
|
|
99
100
|
externalId?: string | null | undefined;
|
|
100
101
|
id: number;
|
|
102
|
+
publicationScore: number;
|
|
101
103
|
reason: string[];
|
|
102
104
|
score: number;
|
|
103
105
|
slug?: string | null | undefined;
|
|
@@ -39,6 +39,7 @@ declare const DuplicateCreateReviewSchemaDefinition: z.ZodObject<{
|
|
|
39
39
|
newsCandidate: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
40
40
|
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
id: z.ZodInt;
|
|
42
|
+
publicationScore: z.ZodInt;
|
|
42
43
|
reason: z.ZodArray<z.ZodString>;
|
|
43
44
|
score: z.ZodInt;
|
|
44
45
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
package/dist/entity/filter.js
CHANGED
|
@@ -114,7 +114,7 @@ export const EntityFilterSchema = z.strictObject({
|
|
|
114
114
|
typeModel: z.array(z.string()).optional(),
|
|
115
115
|
/** Ownership-model classification values. */
|
|
116
116
|
typeOwnership: z.array(z.string()).optional(),
|
|
117
|
-
/** Entity type filter. Organization expands to Company, Investment Firm, Nonprofit, and
|
|
117
|
+
/** Entity type filter. Organization expands to Company, Investment Firm, Nonprofit, Government, and Business Line; omit to include every entity type. */
|
|
118
118
|
typeRecord: z.array(EntityTypeSchema).optional(),
|
|
119
119
|
/** Revenue-model classification values. */
|
|
120
120
|
typeRevenue: z.array(z.string()).optional(),
|
|
@@ -112,7 +112,7 @@ export const EntityListFilterSchema = z.strictObject({
|
|
|
112
112
|
typeModel: z.array(z.string()).optional(),
|
|
113
113
|
/** Ownership-model classification values. */
|
|
114
114
|
typeOwnership: z.array(z.string()).optional(),
|
|
115
|
-
/** Entity type filter. Organization expands to Company, Investment Firm, Nonprofit, and
|
|
115
|
+
/** Entity type filter. Organization expands to Company, Investment Firm, Nonprofit, Government, and Business Line; omit to include every entity type. */
|
|
116
116
|
typeRecord: z.array(EntityTypeSchema).optional(),
|
|
117
117
|
/** Revenue-model classification values. */
|
|
118
118
|
typeRevenue: z.array(z.string()).optional(),
|
|
@@ -176,6 +176,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
|
176
176
|
newsCandidate?: {
|
|
177
177
|
externalId?: string | null | undefined;
|
|
178
178
|
id: number;
|
|
179
|
+
publicationScore: number;
|
|
179
180
|
reason: string[];
|
|
180
181
|
score: number;
|
|
181
182
|
slug?: string | null | undefined;
|
|
@@ -198,6 +199,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
|
198
199
|
newsCandidate?: {
|
|
199
200
|
externalId?: string | null | undefined;
|
|
200
201
|
id: number;
|
|
202
|
+
publicationScore: number;
|
|
201
203
|
reason: string[];
|
|
202
204
|
score: number;
|
|
203
205
|
slug?: string | null | undefined;
|
|
@@ -11,6 +11,7 @@ import { z } from "zod/v4";
|
|
|
11
11
|
export declare const NewsCandidateScoreSchema: z.ZodObject<{
|
|
12
12
|
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
id: z.ZodInt;
|
|
14
|
+
publicationScore: z.ZodInt;
|
|
14
15
|
reason: z.ZodArray<z.ZodString>;
|
|
15
16
|
score: z.ZodInt;
|
|
16
17
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -14,6 +14,8 @@ export const NewsCandidateScoreSchema = z.object({
|
|
|
14
14
|
externalId: z.string().nullish(),
|
|
15
15
|
/** News article id to read or update when this candidate is the requested article. */
|
|
16
16
|
id: z.int(),
|
|
17
|
+
/** Portion of score contributed by the publication match alone; 0 when the publication did not match. A candidate whose score minus publicationScore falls below the review threshold matched only on its outlet, not its story. */
|
|
18
|
+
publicationScore: z.int(),
|
|
17
19
|
/** Match reasons for reviewing the candidate. Exact reasons are decision signals regardless of whether score crosses the review threshold. */
|
|
18
20
|
reason: z.array(z.string()),
|
|
19
21
|
/** Ranking score for duplicate review. It is not an absence proof; a low score can still be the intended article when reason/slug/externalId match. */
|