@aventurevc/api-schemas 0.8.61 → 0.8.63
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/confidence/confidence.d.ts +1 -0
- package/dist/confidence/confidence.js +1 -0
- package/dist/content/embedding-match.d.ts +4 -2
- package/dist/content/source-type.d.ts +4 -2
- package/dist/content/source-type.js +16 -11
- package/dist/entity/accelerator-participation.d.ts +9 -5
- package/dist/entity/acquisition.d.ts +18 -10
- package/dist/entity/brand.d.ts +9 -5
- package/dist/entity/detail.d.ts +11 -7
- package/dist/entity/entity.d.ts +9 -5
- package/dist/entity/fundraise-transaction-entity.d.ts +9 -5
- package/dist/entity/fundraise-transaction.d.ts +9 -5
- package/dist/entity/fundraise.d.ts +9 -5
- package/dist/entity/image.d.ts +8 -5
- package/dist/entity/image.js +7 -6
- package/dist/entity/investor-participation.d.ts +11 -7
- package/dist/entity/list.d.ts +14 -7
- package/dist/entity/list.js +1 -0
- package/dist/entity/person-association.d.ts +16 -9
- package/dist/entity/relationship.d.ts +9 -5
- package/dist/entity/resolution.d.ts +11 -7
- package/dist/entity/similarity-context.d.ts +4 -0
- package/dist/entity/similarity-context.js +4 -0
- package/dist/entity/similarity-origin.d.ts +4 -0
- package/dist/entity/similarity-origin.js +4 -0
- package/dist/entity/similarity-result.d.ts +7 -2
- package/dist/entity/similarity-result.js +5 -0
- package/dist/entity/similarity-summary.d.ts +9 -5
- package/dist/federated/search.d.ts +2097 -127
- package/dist/harness/run-detail.d.ts +18 -10
- package/dist/link/search.d.ts +2186 -216
- package/dist/lookup/job-mention.d.ts +4 -4
- package/dist/lookup/job.d.ts +4 -4
- package/dist/media/upload.d.ts +14 -11
- package/dist/media/upload.js +12 -11
- package/dist/mention/lookup.d.ts +4 -4
- package/dist/natural/search-result.d.ts +1982 -16
- package/dist/natural/search-result.js +12 -0
- package/dist/news/detail.d.ts +13 -10
- package/dist/news/detail.js +11 -10
- package/dist/openapi-component-manifest.js +12 -0
- package/dist/pagination/schemas.d.ts +54 -39
- package/dist/person/detail.d.ts +18 -11
- package/dist/person/graph-career-context.d.ts +9 -5
- package/dist/person/graph-co-investor.d.ts +9 -5
- package/dist/person/graph-member.d.ts +7 -4
- package/dist/person/graph-similar-entity.d.ts +9 -5
- package/dist/person/image.d.ts +7 -4
- package/dist/person/image.js +6 -5
- package/dist/person/invested-company.d.ts +9 -5
- package/dist/person/investment.d.ts +9 -5
- package/dist/person/investor-participation.d.ts +2 -2
- package/dist/person/natural-search-result.d.ts +2 -2
- package/dist/person/person.d.ts +11 -6
- package/dist/person/similarity-result.d.ts +18 -11
- package/dist/search/answer-citation.d.ts +27 -0
- package/dist/search/answer-citation.js +25 -0
- package/dist/search/answer.d.ts +32 -0
- package/dist/search/answer.js +25 -0
- package/dist/search/evidence-source.d.ts +21 -0
- package/dist/search/evidence-source.js +21 -0
- package/dist/search/intent.d.ts +21 -0
- package/dist/search/intent.js +16 -0
- package/dist/search/interpretation.d.ts +7 -0
- package/dist/search/interpretation.js +5 -0
- package/dist/search/layer.d.ts +15 -0
- package/dist/search/layer.js +12 -0
- package/dist/search/mode.d.ts +1 -1
- package/dist/search/mode.js +1 -1
- package/dist/search/passage.d.ts +32 -0
- package/dist/search/passage.js +35 -0
- package/package.json +1 -1
|
@@ -16,6 +16,7 @@ import { z } from "zod/v4";
|
|
|
16
16
|
* @usedBySchema AgentHelpSchema
|
|
17
17
|
* @usedBySchema LogoAccuracySchema
|
|
18
18
|
* @usedBySchema PersonSearchInterpretationSchema
|
|
19
|
+
* @usedBySchema SearchAnswerSchema
|
|
19
20
|
* @usedBySchema SearchInterpretationSchema
|
|
20
21
|
* @contractShape confidence.confidence
|
|
21
22
|
* @contractRole canonical
|
|
@@ -17,6 +17,7 @@ import { z } from "zod/v4";
|
|
|
17
17
|
* @usedBySchema AgentHelpSchema
|
|
18
18
|
* @usedBySchema LogoAccuracySchema
|
|
19
19
|
* @usedBySchema PersonSearchInterpretationSchema
|
|
20
|
+
* @usedBySchema SearchAnswerSchema
|
|
20
21
|
* @usedBySchema SearchInterpretationSchema
|
|
21
22
|
* @contractShape confidence.confidence
|
|
22
23
|
* @contractRole canonical
|
|
@@ -40,7 +40,7 @@ export declare const ContentEmbeddingMatchSchema: z.ZodObject<{
|
|
|
40
40
|
sourceId: z.ZodString;
|
|
41
41
|
sourceJson: z.ZodString;
|
|
42
42
|
sourceText: z.ZodString;
|
|
43
|
-
sourceType: z.ZodEnum<{
|
|
43
|
+
sourceType: z.ZodUnion<readonly [z.ZodEnum<{
|
|
44
44
|
agentHelpDoc: "agentHelpDoc";
|
|
45
45
|
blogPost: "blogPost";
|
|
46
46
|
classificationCode: "classificationCode";
|
|
@@ -49,9 +49,11 @@ export declare const ContentEmbeddingMatchSchema: z.ZodObject<{
|
|
|
49
49
|
newsArticle: "newsArticle";
|
|
50
50
|
person: "person";
|
|
51
51
|
product: "product";
|
|
52
|
+
researchSnippet: "researchSnippet";
|
|
52
53
|
service: "service";
|
|
54
|
+
sourceDocument: "sourceDocument";
|
|
53
55
|
text: "text";
|
|
54
|
-
}>;
|
|
56
|
+
}>, z.ZodString]>;
|
|
55
57
|
}, z.core.$strip>;
|
|
56
58
|
export type ContentEmbeddingMatch = z.infer<typeof ContentEmbeddingMatchSchema>;
|
|
57
59
|
//# sourceMappingURL=embedding-match.d.ts.map
|
|
@@ -29,7 +29,7 @@ import { z } from "zod/v4";
|
|
|
29
29
|
* @contractShape content.source-type
|
|
30
30
|
* @contractRole canonical
|
|
31
31
|
*/
|
|
32
|
-
export declare const ContentSourceTypeSchema: z.ZodEnum<{
|
|
32
|
+
export declare const ContentSourceTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
33
33
|
agentHelpDoc: "agentHelpDoc";
|
|
34
34
|
blogPost: "blogPost";
|
|
35
35
|
classificationCode: "classificationCode";
|
|
@@ -38,8 +38,10 @@ export declare const ContentSourceTypeSchema: z.ZodEnum<{
|
|
|
38
38
|
newsArticle: "newsArticle";
|
|
39
39
|
person: "person";
|
|
40
40
|
product: "product";
|
|
41
|
+
researchSnippet: "researchSnippet";
|
|
41
42
|
service: "service";
|
|
43
|
+
sourceDocument: "sourceDocument";
|
|
42
44
|
text: "text";
|
|
43
|
-
}>;
|
|
45
|
+
}>, z.ZodString]>;
|
|
44
46
|
export type ContentSourceType = z.infer<typeof ContentSourceTypeSchema>;
|
|
45
47
|
//# sourceMappingURL=source-type.d.ts.map
|
|
@@ -30,16 +30,21 @@ import { z } from "zod/v4";
|
|
|
30
30
|
* @contractShape content.source-type
|
|
31
31
|
* @contractRole canonical
|
|
32
32
|
*/
|
|
33
|
-
export const ContentSourceTypeSchema = z.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
33
|
+
export const ContentSourceTypeSchema = z.union([
|
|
34
|
+
z.enum([
|
|
35
|
+
"entity",
|
|
36
|
+
"person",
|
|
37
|
+
"newsArticle",
|
|
38
|
+
"blogPost",
|
|
39
|
+
"text",
|
|
40
|
+
"classificationTag",
|
|
41
|
+
"classificationCode",
|
|
42
|
+
"product",
|
|
43
|
+
"service",
|
|
44
|
+
"agentHelpDoc",
|
|
45
|
+
"researchSnippet",
|
|
46
|
+
"sourceDocument",
|
|
47
|
+
]),
|
|
48
|
+
z.string(),
|
|
44
49
|
]);
|
|
45
50
|
//# sourceMappingURL=source-type.js.map
|
|
@@ -4,11 +4,15 @@ declare const EntityAcceleratorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
4
4
|
defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
5
|
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6
6
|
id: z.ZodUUID;
|
|
7
|
-
image: z.
|
|
8
|
-
isMonogram:
|
|
9
|
-
logo
|
|
10
|
-
logoSquare
|
|
11
|
-
}, z.core.$
|
|
7
|
+
image: z.ZodType<{
|
|
8
|
+
isMonogram: boolean;
|
|
9
|
+
logo?: string | null | undefined;
|
|
10
|
+
logoSquare?: string | null | undefined;
|
|
11
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
12
|
+
isMonogram: boolean;
|
|
13
|
+
logo?: string | null | undefined;
|
|
14
|
+
logoSquare?: string | null | undefined;
|
|
15
|
+
}, unknown>>;
|
|
12
16
|
lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
13
17
|
nameAlias: z.ZodArray<z.ZodType<{
|
|
14
18
|
displayable?: boolean | null | undefined;
|
|
@@ -4,11 +4,15 @@ declare const EntityAcquisitionSchemaDefinition: z.ZodObject<{
|
|
|
4
4
|
defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
5
|
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6
6
|
id: z.ZodUUID;
|
|
7
|
-
image: z.
|
|
8
|
-
isMonogram:
|
|
9
|
-
logo
|
|
10
|
-
logoSquare
|
|
11
|
-
}, z.core.$
|
|
7
|
+
image: z.ZodType<{
|
|
8
|
+
isMonogram: boolean;
|
|
9
|
+
logo?: string | null | undefined;
|
|
10
|
+
logoSquare?: string | null | undefined;
|
|
11
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
12
|
+
isMonogram: boolean;
|
|
13
|
+
logo?: string | null | undefined;
|
|
14
|
+
logoSquare?: string | null | undefined;
|
|
15
|
+
}, unknown>>;
|
|
12
16
|
lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
13
17
|
nameAlias: z.ZodArray<z.ZodType<{
|
|
14
18
|
displayable?: boolean | null | undefined;
|
|
@@ -50,11 +54,15 @@ declare const EntityAcquisitionSchemaDefinition: z.ZodObject<{
|
|
|
50
54
|
defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
55
|
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
52
56
|
id: z.ZodUUID;
|
|
53
|
-
image: z.
|
|
54
|
-
isMonogram:
|
|
55
|
-
logo
|
|
56
|
-
logoSquare
|
|
57
|
-
}, z.core.$
|
|
57
|
+
image: z.ZodType<{
|
|
58
|
+
isMonogram: boolean;
|
|
59
|
+
logo?: string | null | undefined;
|
|
60
|
+
logoSquare?: string | null | undefined;
|
|
61
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
62
|
+
isMonogram: boolean;
|
|
63
|
+
logo?: string | null | undefined;
|
|
64
|
+
logoSquare?: string | null | undefined;
|
|
65
|
+
}, unknown>>;
|
|
58
66
|
lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
59
67
|
nameAlias: z.ZodArray<z.ZodType<{
|
|
60
68
|
displayable?: boolean | null | undefined;
|
package/dist/entity/brand.d.ts
CHANGED
|
@@ -407,11 +407,15 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
407
407
|
defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
408
408
|
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
409
409
|
id: z.ZodUUID;
|
|
410
|
-
image: z.
|
|
411
|
-
isMonogram:
|
|
412
|
-
logo
|
|
413
|
-
logoSquare
|
|
414
|
-
}, z.core.$
|
|
410
|
+
image: z.ZodType<{
|
|
411
|
+
isMonogram: boolean;
|
|
412
|
+
logo?: string | null | undefined;
|
|
413
|
+
logoSquare?: string | null | undefined;
|
|
414
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
415
|
+
isMonogram: boolean;
|
|
416
|
+
logo?: string | null | undefined;
|
|
417
|
+
logoSquare?: string | null | undefined;
|
|
418
|
+
}, unknown>>;
|
|
415
419
|
lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
416
420
|
nameAlias: z.ZodArray<z.ZodType<{
|
|
417
421
|
displayable?: boolean | null | undefined;
|
package/dist/entity/detail.d.ts
CHANGED
|
@@ -20,11 +20,15 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
20
20
|
defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
22
22
|
id: z.ZodUUID;
|
|
23
|
-
image: z.
|
|
24
|
-
isMonogram:
|
|
25
|
-
logo
|
|
26
|
-
logoSquare
|
|
27
|
-
}, z.core.$
|
|
23
|
+
image: z.ZodType<{
|
|
24
|
+
isMonogram: boolean;
|
|
25
|
+
logo?: string | null | undefined;
|
|
26
|
+
logoSquare?: string | null | undefined;
|
|
27
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
28
|
+
isMonogram: boolean;
|
|
29
|
+
logo?: string | null | undefined;
|
|
30
|
+
logoSquare?: string | null | undefined;
|
|
31
|
+
}, unknown>>;
|
|
28
32
|
lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
29
33
|
nameAlias: z.ZodArray<z.ZodType<{
|
|
30
34
|
displayable?: boolean | null | undefined;
|
|
@@ -997,7 +1001,7 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
997
1001
|
sourceId: string;
|
|
998
1002
|
sourceJson: string;
|
|
999
1003
|
sourceText: string;
|
|
1000
|
-
sourceType:
|
|
1004
|
+
sourceType: string;
|
|
1001
1005
|
} | null | undefined;
|
|
1002
1006
|
slug: string;
|
|
1003
1007
|
suffix?: string | null | undefined;
|
|
@@ -1329,7 +1333,7 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
1329
1333
|
sourceId: string;
|
|
1330
1334
|
sourceJson: string;
|
|
1331
1335
|
sourceText: string;
|
|
1332
|
-
sourceType:
|
|
1336
|
+
sourceType: string;
|
|
1333
1337
|
} | null | undefined;
|
|
1334
1338
|
slug: string;
|
|
1335
1339
|
suffix?: string | null | undefined;
|
package/dist/entity/entity.d.ts
CHANGED
|
@@ -54,11 +54,15 @@ export declare const EntitySchema: z.ZodObject<{
|
|
|
54
54
|
defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
55
|
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
56
56
|
id: z.ZodUUID;
|
|
57
|
-
image: z.
|
|
58
|
-
isMonogram:
|
|
59
|
-
logo
|
|
60
|
-
logoSquare
|
|
61
|
-
}, z.core.$
|
|
57
|
+
image: z.ZodType<{
|
|
58
|
+
isMonogram: boolean;
|
|
59
|
+
logo?: string | null | undefined;
|
|
60
|
+
logoSquare?: string | null | undefined;
|
|
61
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
62
|
+
isMonogram: boolean;
|
|
63
|
+
logo?: string | null | undefined;
|
|
64
|
+
logoSquare?: string | null | undefined;
|
|
65
|
+
}, unknown>>;
|
|
62
66
|
lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
63
67
|
nameAlias: z.ZodArray<z.ZodType<{
|
|
64
68
|
displayable?: boolean | null | undefined;
|
|
@@ -32,11 +32,15 @@ export declare const EntityFundraiseTransactionEntitySchema: z.ZodObject<{
|
|
|
32
32
|
defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
34
34
|
id: z.ZodUUID;
|
|
35
|
-
image: z.
|
|
36
|
-
isMonogram:
|
|
37
|
-
logo
|
|
38
|
-
logoSquare
|
|
39
|
-
}, z.core.$
|
|
35
|
+
image: z.ZodType<{
|
|
36
|
+
isMonogram: boolean;
|
|
37
|
+
logo?: string | null | undefined;
|
|
38
|
+
logoSquare?: string | null | undefined;
|
|
39
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
40
|
+
isMonogram: boolean;
|
|
41
|
+
logo?: string | null | undefined;
|
|
42
|
+
logoSquare?: string | null | undefined;
|
|
43
|
+
}, unknown>>;
|
|
40
44
|
lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
41
45
|
nameAlias: z.ZodArray<z.ZodType<{
|
|
42
46
|
displayable?: boolean | null | undefined;
|
|
@@ -17,11 +17,15 @@ declare const EntityFundraiseTransactionSchemaDefinition: z.ZodObject<{
|
|
|
17
17
|
defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
19
19
|
id: z.ZodUUID;
|
|
20
|
-
image: z.
|
|
21
|
-
isMonogram:
|
|
22
|
-
logo
|
|
23
|
-
logoSquare
|
|
24
|
-
}, z.core.$
|
|
20
|
+
image: z.ZodType<{
|
|
21
|
+
isMonogram: boolean;
|
|
22
|
+
logo?: string | null | undefined;
|
|
23
|
+
logoSquare?: string | null | undefined;
|
|
24
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
25
|
+
isMonogram: boolean;
|
|
26
|
+
logo?: string | null | undefined;
|
|
27
|
+
logoSquare?: string | null | undefined;
|
|
28
|
+
}, unknown>>;
|
|
25
29
|
lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
26
30
|
nameAlias: z.ZodArray<z.ZodType<{
|
|
27
31
|
displayable?: boolean | null | undefined;
|
|
@@ -22,11 +22,15 @@ export declare const EntityFundraiseSchema: z.ZodObject<{
|
|
|
22
22
|
amountRaised: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
dateAnnounced: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
24
24
|
id: z.ZodUUID;
|
|
25
|
-
image: z.
|
|
26
|
-
isMonogram:
|
|
27
|
-
logo
|
|
28
|
-
logoSquare
|
|
29
|
-
}, z.core.$
|
|
25
|
+
image: z.ZodType<{
|
|
26
|
+
isMonogram: boolean;
|
|
27
|
+
logo?: string | null | undefined;
|
|
28
|
+
logoSquare?: string | null | undefined;
|
|
29
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
30
|
+
isMonogram: boolean;
|
|
31
|
+
logo?: string | null | undefined;
|
|
32
|
+
logoSquare?: string | null | undefined;
|
|
33
|
+
}, unknown>>;
|
|
30
34
|
investorCount: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
31
35
|
nameBrand: z.ZodString;
|
|
32
36
|
round: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
package/dist/entity/image.d.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
+
declare const EntityImageSchemaDefinition: z.ZodObject<{
|
|
3
|
+
isMonogram: z.ZodBoolean;
|
|
4
|
+
logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
|
+
logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
type EntityImageDefinition = z.infer<typeof EntityImageSchemaDefinition>;
|
|
2
8
|
/**
|
|
3
9
|
* Grouped entity image fields for square, standard, and monogram logo state
|
|
4
10
|
*
|
|
@@ -46,10 +52,7 @@ import { z } from "zod/v4";
|
|
|
46
52
|
* @contractShape entity.image
|
|
47
53
|
* @contractRole canonical
|
|
48
54
|
*/
|
|
49
|
-
export declare const EntityImageSchema: z.
|
|
50
|
-
isMonogram: z.ZodBoolean;
|
|
51
|
-
logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
-
logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
-
}, z.core.$strip>;
|
|
55
|
+
export declare const EntityImageSchema: z.ZodType<EntityImageDefinition>;
|
|
54
56
|
export type EntityImage = z.infer<typeof EntityImageSchema>;
|
|
57
|
+
export {};
|
|
55
58
|
//# sourceMappingURL=image.d.ts.map
|
package/dist/entity/image.js
CHANGED
|
@@ -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 EntityImageSchemaDefinition = z.object({
|
|
4
|
+
/** Whether entity image monogram */
|
|
5
|
+
isMonogram: z.boolean(),
|
|
6
|
+
logo: z.string().nullish(),
|
|
7
|
+
logoSquare: z.string().nullish(),
|
|
8
|
+
});
|
|
3
9
|
/**
|
|
4
10
|
* Grouped entity image fields for square, standard, and monogram logo state
|
|
5
11
|
*
|
|
@@ -47,10 +53,5 @@ import { z } from "zod/v4";
|
|
|
47
53
|
* @contractShape entity.image
|
|
48
54
|
* @contractRole canonical
|
|
49
55
|
*/
|
|
50
|
-
export const EntityImageSchema =
|
|
51
|
-
/** Whether entity image monogram */
|
|
52
|
-
isMonogram: z.boolean(),
|
|
53
|
-
logo: z.string().nullish(),
|
|
54
|
-
logoSquare: z.string().nullish(),
|
|
55
|
-
});
|
|
56
|
+
export const EntityImageSchema = EntityImageSchemaDefinition;
|
|
56
57
|
//# sourceMappingURL=image.js.map
|
|
@@ -5,11 +5,15 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
5
5
|
defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
7
7
|
id: z.ZodUUID;
|
|
8
|
-
image: z.
|
|
9
|
-
isMonogram:
|
|
10
|
-
logo
|
|
11
|
-
logoSquare
|
|
12
|
-
}, z.core.$
|
|
8
|
+
image: z.ZodType<{
|
|
9
|
+
isMonogram: boolean;
|
|
10
|
+
logo?: string | null | undefined;
|
|
11
|
+
logoSquare?: string | null | undefined;
|
|
12
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
13
|
+
isMonogram: boolean;
|
|
14
|
+
logo?: string | null | undefined;
|
|
15
|
+
logoSquare?: string | null | undefined;
|
|
16
|
+
}, unknown>>;
|
|
13
17
|
lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
14
18
|
nameAlias: z.ZodArray<z.ZodType<{
|
|
15
19
|
displayable?: boolean | null | undefined;
|
|
@@ -982,7 +986,7 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
982
986
|
sourceId: string;
|
|
983
987
|
sourceJson: string;
|
|
984
988
|
sourceText: string;
|
|
985
|
-
sourceType:
|
|
989
|
+
sourceType: string;
|
|
986
990
|
} | null | undefined;
|
|
987
991
|
slug: string;
|
|
988
992
|
suffix?: string | null | undefined;
|
|
@@ -1314,7 +1318,7 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
1314
1318
|
sourceId: string;
|
|
1315
1319
|
sourceJson: string;
|
|
1316
1320
|
sourceText: string;
|
|
1317
|
-
sourceType:
|
|
1321
|
+
sourceType: string;
|
|
1318
1322
|
} | null | undefined;
|
|
1319
1323
|
slug: string;
|
|
1320
1324
|
suffix?: string | null | undefined;
|
package/dist/entity/list.d.ts
CHANGED
|
@@ -4,11 +4,15 @@ declare const EntityListSchemaDefinition: z.ZodObject<{
|
|
|
4
4
|
defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
5
|
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6
6
|
id: z.ZodUUID;
|
|
7
|
-
image: z.
|
|
8
|
-
isMonogram:
|
|
9
|
-
logo
|
|
10
|
-
logoSquare
|
|
11
|
-
}, z.core.$
|
|
7
|
+
image: z.ZodType<{
|
|
8
|
+
isMonogram: boolean;
|
|
9
|
+
logo?: string | null | undefined;
|
|
10
|
+
logoSquare?: string | null | undefined;
|
|
11
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
12
|
+
isMonogram: boolean;
|
|
13
|
+
logo?: string | null | undefined;
|
|
14
|
+
logoSquare?: string | null | undefined;
|
|
15
|
+
}, unknown>>;
|
|
12
16
|
lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
13
17
|
nameAlias: z.ZodArray<z.ZodType<{
|
|
14
18
|
displayable?: boolean | null | undefined;
|
|
@@ -911,7 +915,7 @@ declare const EntityListSchemaDefinition: z.ZodObject<{
|
|
|
911
915
|
sourceId: z.ZodString;
|
|
912
916
|
sourceJson: z.ZodString;
|
|
913
917
|
sourceText: z.ZodString;
|
|
914
|
-
sourceType: z.ZodEnum<{
|
|
918
|
+
sourceType: z.ZodUnion<readonly [z.ZodEnum<{
|
|
915
919
|
agentHelpDoc: "agentHelpDoc";
|
|
916
920
|
blogPost: "blogPost";
|
|
917
921
|
classificationCode: "classificationCode";
|
|
@@ -920,9 +924,11 @@ declare const EntityListSchemaDefinition: z.ZodObject<{
|
|
|
920
924
|
newsArticle: "newsArticle";
|
|
921
925
|
person: "person";
|
|
922
926
|
product: "product";
|
|
927
|
+
researchSnippet: "researchSnippet";
|
|
923
928
|
service: "service";
|
|
929
|
+
sourceDocument: "sourceDocument";
|
|
924
930
|
text: "text";
|
|
925
|
-
}>;
|
|
931
|
+
}>, z.ZodString]>;
|
|
926
932
|
}, z.core.$strip>>>;
|
|
927
933
|
}, z.core.$strip>;
|
|
928
934
|
type EntityListDefinition = z.infer<typeof EntityListSchemaDefinition>;
|
|
@@ -941,6 +947,7 @@ type EntityListDefinition = z.infer<typeof EntityListSchemaDefinition>;
|
|
|
941
947
|
* @endpoint POST /v1/search/natural/entities
|
|
942
948
|
* @usedBySchema EntitySimilarityResultSchema
|
|
943
949
|
* @usedBySchema LookupJobMentionSchema
|
|
950
|
+
* @usedBySchema NaturalSearchResultSchema
|
|
944
951
|
* @usedBySchema PageEntityListSchema
|
|
945
952
|
* @usedBySchema PageResultEntityListSchema
|
|
946
953
|
* @contractShape entity.list
|
package/dist/entity/list.js
CHANGED
|
@@ -32,6 +32,7 @@ const EntityListSchemaDefinition = z.object({
|
|
|
32
32
|
* @endpoint POST /v1/search/natural/entities
|
|
33
33
|
* @usedBySchema EntitySimilarityResultSchema
|
|
34
34
|
* @usedBySchema LookupJobMentionSchema
|
|
35
|
+
* @usedBySchema NaturalSearchResultSchema
|
|
35
36
|
* @usedBySchema PageEntityListSchema
|
|
36
37
|
* @usedBySchema PageResultEntityListSchema
|
|
37
38
|
* @contractShape entity.list
|
|
@@ -76,11 +76,15 @@ export declare const EntityPersonAssociationSchema: z.ZodObject<{
|
|
|
76
76
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
77
77
|
}, z.core.$strip>>;
|
|
78
78
|
entityId: z.ZodUUID;
|
|
79
|
-
entityLogo: z.
|
|
80
|
-
isMonogram:
|
|
81
|
-
logo
|
|
82
|
-
logoSquare
|
|
83
|
-
}, z.core.$
|
|
79
|
+
entityLogo: z.ZodType<{
|
|
80
|
+
isMonogram: boolean;
|
|
81
|
+
logo?: string | null | undefined;
|
|
82
|
+
logoSquare?: string | null | undefined;
|
|
83
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
84
|
+
isMonogram: boolean;
|
|
85
|
+
logo?: string | null | undefined;
|
|
86
|
+
logoSquare?: string | null | undefined;
|
|
87
|
+
}, unknown>>;
|
|
84
88
|
entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
85
89
|
entityOperatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
86
90
|
entitySlug: z.ZodString;
|
|
@@ -180,10 +184,13 @@ export declare const EntityPersonAssociationSchema: z.ZodObject<{
|
|
|
180
184
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
181
185
|
}, z.core.$strip>>;
|
|
182
186
|
personId: z.ZodUUID;
|
|
183
|
-
personImage: z.
|
|
184
|
-
isMonogram:
|
|
185
|
-
picture
|
|
186
|
-
}, z.core.$
|
|
187
|
+
personImage: z.ZodType<{
|
|
188
|
+
isMonogram: boolean;
|
|
189
|
+
picture?: string | null | undefined;
|
|
190
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
191
|
+
isMonogram: boolean;
|
|
192
|
+
picture?: string | null | undefined;
|
|
193
|
+
}, unknown>>;
|
|
187
194
|
personName: z.ZodString;
|
|
188
195
|
personSlug: z.ZodString;
|
|
189
196
|
personUrlLink: z.ZodArray<z.ZodType<{
|
|
@@ -52,11 +52,15 @@ declare const EntityRelationshipSchemaDefinition: z.ZodObject<{
|
|
|
52
52
|
defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
53
|
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
54
54
|
id: z.ZodUUID;
|
|
55
|
-
image: z.
|
|
56
|
-
isMonogram:
|
|
57
|
-
logo
|
|
58
|
-
logoSquare
|
|
59
|
-
}, z.core.$
|
|
55
|
+
image: z.ZodType<{
|
|
56
|
+
isMonogram: boolean;
|
|
57
|
+
logo?: string | null | undefined;
|
|
58
|
+
logoSquare?: string | null | undefined;
|
|
59
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
60
|
+
isMonogram: boolean;
|
|
61
|
+
logo?: string | null | undefined;
|
|
62
|
+
logoSquare?: string | null | undefined;
|
|
63
|
+
}, unknown>>;
|
|
60
64
|
lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
61
65
|
nameAlias: z.ZodArray<z.ZodType<{
|
|
62
66
|
displayable?: boolean | null | undefined;
|
|
@@ -6,11 +6,15 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
6
6
|
defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
7
|
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
8
8
|
id: z.ZodUUID;
|
|
9
|
-
image: z.
|
|
10
|
-
isMonogram:
|
|
11
|
-
logo
|
|
12
|
-
logoSquare
|
|
13
|
-
}, z.core.$
|
|
9
|
+
image: z.ZodType<{
|
|
10
|
+
isMonogram: boolean;
|
|
11
|
+
logo?: string | null | undefined;
|
|
12
|
+
logoSquare?: string | null | undefined;
|
|
13
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
14
|
+
isMonogram: boolean;
|
|
15
|
+
logo?: string | null | undefined;
|
|
16
|
+
logoSquare?: string | null | undefined;
|
|
17
|
+
}, unknown>>;
|
|
14
18
|
lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
15
19
|
nameAlias: z.ZodArray<z.ZodType<{
|
|
16
20
|
displayable?: boolean | null | undefined;
|
|
@@ -983,7 +987,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
983
987
|
sourceId: string;
|
|
984
988
|
sourceJson: string;
|
|
985
989
|
sourceText: string;
|
|
986
|
-
sourceType:
|
|
990
|
+
sourceType: string;
|
|
987
991
|
} | null | undefined;
|
|
988
992
|
slug: string;
|
|
989
993
|
suffix?: string | null | undefined;
|
|
@@ -1315,7 +1319,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1315
1319
|
sourceId: string;
|
|
1316
1320
|
sourceJson: string;
|
|
1317
1321
|
sourceText: string;
|
|
1318
|
-
sourceType:
|
|
1322
|
+
sourceType: string;
|
|
1319
1323
|
} | null | undefined;
|
|
1320
1324
|
slug: string;
|
|
1321
1325
|
suffix?: string | null | undefined;
|
|
@@ -22,8 +22,12 @@ type EntitySimilarityContextDefinition = z.infer<typeof EntitySimilarityContextS
|
|
|
22
22
|
* Per-row provenance for a similar-entity result
|
|
23
23
|
*
|
|
24
24
|
* @openapiSchema EntitySimilarityContext
|
|
25
|
+
* @endpoint GET /v1/search/link
|
|
25
26
|
* @endpoint GET /v1/entities/{entityId}/similar
|
|
26
27
|
* @endpoint GET /v1/entities/{entityId}/similar/summary
|
|
28
|
+
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
29
|
+
* @endpoint POST /v1/search
|
|
30
|
+
* @endpoint POST /v1/search/natural/entities
|
|
27
31
|
* @usedBySchema EntitySimilarityResultSchema
|
|
28
32
|
* @usedBySchema EntitySimilaritySummarySchema
|
|
29
33
|
* @contractShape entity.similarity-context
|
|
@@ -26,8 +26,12 @@ const EntitySimilarityContextSchemaDefinition = z.object({
|
|
|
26
26
|
* Per-row provenance for a similar-entity result
|
|
27
27
|
*
|
|
28
28
|
* @openapiSchema EntitySimilarityContext
|
|
29
|
+
* @endpoint GET /v1/search/link
|
|
29
30
|
* @endpoint GET /v1/entities/{entityId}/similar
|
|
30
31
|
* @endpoint GET /v1/entities/{entityId}/similar/summary
|
|
32
|
+
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
33
|
+
* @endpoint POST /v1/search
|
|
34
|
+
* @endpoint POST /v1/search/natural/entities
|
|
31
35
|
* @usedBySchema EntitySimilarityResultSchema
|
|
32
36
|
* @usedBySchema EntitySimilaritySummarySchema
|
|
33
37
|
* @contractShape entity.similarity-context
|
|
@@ -3,8 +3,12 @@ import { z } from "zod/v4";
|
|
|
3
3
|
* Provenance origin for a similar-entity result row.
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema EntitySimilarityOrigin
|
|
6
|
+
* @endpoint GET /v1/search/link
|
|
6
7
|
* @endpoint GET /v1/entities/{entityId}/similar
|
|
7
8
|
* @endpoint GET /v1/entities/{entityId}/similar/summary
|
|
9
|
+
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
10
|
+
* @endpoint POST /v1/search
|
|
11
|
+
* @endpoint POST /v1/search/natural/entities
|
|
8
12
|
* @usedBySchema EntitySimilarityContextSchema
|
|
9
13
|
* @contractShape entity.similarity-origin
|
|
10
14
|
* @contractRole canonical
|
|
@@ -4,8 +4,12 @@ import { z } from "zod/v4";
|
|
|
4
4
|
* Provenance origin for a similar-entity result row.
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema EntitySimilarityOrigin
|
|
7
|
+
* @endpoint GET /v1/search/link
|
|
7
8
|
* @endpoint GET /v1/entities/{entityId}/similar
|
|
8
9
|
* @endpoint GET /v1/entities/{entityId}/similar/summary
|
|
10
|
+
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
11
|
+
* @endpoint POST /v1/search
|
|
12
|
+
* @endpoint POST /v1/search/natural/entities
|
|
9
13
|
* @usedBySchema EntitySimilarityContextSchema
|
|
10
14
|
* @contractShape entity.similarity-origin
|
|
11
15
|
* @contractRole canonical
|