@aventurevc/api-schemas 0.8.29 → 0.8.30
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.
|
@@ -26,7 +26,7 @@ import { z } from "zod/v4";
|
|
|
26
26
|
*/
|
|
27
27
|
export declare const EntityPersonAssociationSchema: z.ZodObject<{
|
|
28
28
|
associationId: z.ZodInt;
|
|
29
|
-
endDate: z.ZodOptional<z.ZodNullable<z.
|
|
29
|
+
endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
entityAddress: z.ZodArray<z.ZodObject<{
|
|
31
31
|
address: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
32
32
|
addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -229,7 +229,7 @@ export declare const EntityPersonAssociationSchema: z.ZodObject<{
|
|
|
229
229
|
urlType: "alternativeto" | "angellist" | "appstore" | "awsmarketplace" | "bloomberg" | "capterra" | "changelog" | "chromewebstore" | "crates" | "crunchbase" | "discord" | "dockerhub" | "documentation" | "facebook" | "forum" | "g2" | "gartnerpeerinsights" | "getapp" | "github" | "glassdoor" | "googleplay" | "homebrew" | "hubspotmarketplace" | "huggingface" | "instagram" | "linkedin" | "maven" | "morningstar" | "nasdaq" | "npm" | "nyse" | "pitchbook" | "producthunt" | "pypi" | "roadmap" | "salesforceappexchange" | "slackappdirectory" | "sourceforge" | "statuspage" | "subreddit" | "support" | "theorg" | "tiktok" | "trustpilot" | "trustradius" | "twitter" | "vscodemarketplace" | "website" | "wellfound" | "wikipedia" | "ycombinator" | "youtube";
|
|
230
230
|
}, unknown>>>;
|
|
231
231
|
score: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
232
|
-
startDate: z.ZodOptional<z.ZodNullable<z.
|
|
232
|
+
startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
233
233
|
titleFunction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
234
234
|
titleId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
235
235
|
titleLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -33,8 +33,11 @@ import { PersonImageSchema } from "../person/image.js";
|
|
|
33
33
|
export const EntityPersonAssociationSchema = z.object({
|
|
34
34
|
/** Integer person-entity association join row id, not a person or entity UUID */
|
|
35
35
|
associationId: z.int(),
|
|
36
|
-
/** Association period end
|
|
37
|
-
endDate: z
|
|
36
|
+
/** Association period end, preserving source precision */
|
|
37
|
+
endDate: z
|
|
38
|
+
.string()
|
|
39
|
+
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-][0-9]{2}:[0-5][0-9]))?)?)?$/)
|
|
40
|
+
.nullish(),
|
|
38
41
|
/** Entity addresses carried on the association projection */
|
|
39
42
|
entityAddress: z.array(AddressSchema),
|
|
40
43
|
/** Associated entity id */
|
|
@@ -68,8 +71,11 @@ export const EntityPersonAssociationSchema = z.object({
|
|
|
68
71
|
/** Person URL links carried on the association projection */
|
|
69
72
|
personUrlLink: z.array(EntityUrlLinkSchema),
|
|
70
73
|
score: z.int().nullish(),
|
|
71
|
-
/** Association period start
|
|
72
|
-
startDate: z
|
|
74
|
+
/** Association period start, preserving source precision */
|
|
75
|
+
startDate: z
|
|
76
|
+
.string()
|
|
77
|
+
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-][0-9]{2}:[0-5][0-9]))?)?)?$/)
|
|
78
|
+
.nullish(),
|
|
73
79
|
/** Read-side corporate title function for the association row */
|
|
74
80
|
titleFunction: z.string().nullish(),
|
|
75
81
|
/** Corporate title id for the association row */
|
|
@@ -5524,7 +5524,7 @@ export type PageEntityList = z.infer<typeof PageEntityListSchema>;
|
|
|
5524
5524
|
declare const PageEntityPersonAssociationSchemaDefinition: z.ZodObject<{
|
|
5525
5525
|
content: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5526
5526
|
associationId: z.ZodInt;
|
|
5527
|
-
endDate: z.ZodOptional<z.ZodNullable<z.
|
|
5527
|
+
endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5528
5528
|
entityAddress: z.ZodArray<z.ZodObject<{
|
|
5529
5529
|
address: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
5530
5530
|
addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5727,7 +5727,7 @@ declare const PageEntityPersonAssociationSchemaDefinition: z.ZodObject<{
|
|
|
5727
5727
|
urlType: "alternativeto" | "angellist" | "appstore" | "awsmarketplace" | "bloomberg" | "capterra" | "changelog" | "chromewebstore" | "crates" | "crunchbase" | "discord" | "dockerhub" | "documentation" | "facebook" | "forum" | "g2" | "gartnerpeerinsights" | "getapp" | "github" | "glassdoor" | "googleplay" | "homebrew" | "hubspotmarketplace" | "huggingface" | "instagram" | "linkedin" | "maven" | "morningstar" | "nasdaq" | "npm" | "nyse" | "pitchbook" | "producthunt" | "pypi" | "roadmap" | "salesforceappexchange" | "slackappdirectory" | "sourceforge" | "statuspage" | "subreddit" | "support" | "theorg" | "tiktok" | "trustpilot" | "trustradius" | "twitter" | "vscodemarketplace" | "website" | "wellfound" | "wikipedia" | "ycombinator" | "youtube";
|
|
5728
5728
|
}, unknown>>>;
|
|
5729
5729
|
score: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
5730
|
-
startDate: z.ZodOptional<z.ZodNullable<z.
|
|
5730
|
+
startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5731
5731
|
titleFunction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5732
5732
|
titleId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
5733
5733
|
titleLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
package/dist/person/detail.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ declare const PersonDetailSchemaDefinition: z.ZodObject<{
|
|
|
3
3
|
articleCount: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4
4
|
association: z.ZodArray<z.ZodObject<{
|
|
5
5
|
associationId: z.ZodInt;
|
|
6
|
-
endDate: z.ZodOptional<z.ZodNullable<z.
|
|
6
|
+
endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
7
|
entityAddress: z.ZodArray<z.ZodObject<{
|
|
8
8
|
address: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9
9
|
addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -206,7 +206,7 @@ declare const PersonDetailSchemaDefinition: z.ZodObject<{
|
|
|
206
206
|
urlType: "alternativeto" | "angellist" | "appstore" | "awsmarketplace" | "bloomberg" | "capterra" | "changelog" | "chromewebstore" | "crates" | "crunchbase" | "discord" | "dockerhub" | "documentation" | "facebook" | "forum" | "g2" | "gartnerpeerinsights" | "getapp" | "github" | "glassdoor" | "googleplay" | "homebrew" | "hubspotmarketplace" | "huggingface" | "instagram" | "linkedin" | "maven" | "morningstar" | "nasdaq" | "npm" | "nyse" | "pitchbook" | "producthunt" | "pypi" | "roadmap" | "salesforceappexchange" | "slackappdirectory" | "sourceforge" | "statuspage" | "subreddit" | "support" | "theorg" | "tiktok" | "trustpilot" | "trustradius" | "twitter" | "vscodemarketplace" | "website" | "wellfound" | "wikipedia" | "ycombinator" | "youtube";
|
|
207
207
|
}, unknown>>>;
|
|
208
208
|
score: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
209
|
-
startDate: z.ZodOptional<z.ZodNullable<z.
|
|
209
|
+
startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
210
210
|
titleFunction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
211
211
|
titleId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
212
212
|
titleLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2,7 +2,7 @@ import { z } from "zod/v4";
|
|
|
2
2
|
declare const PersonSimilarityResultSchemaDefinition: z.ZodObject<{
|
|
3
3
|
currentRole: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4
4
|
associationId: z.ZodInt;
|
|
5
|
-
endDate: z.ZodOptional<z.ZodNullable<z.
|
|
5
|
+
endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
entityAddress: z.ZodArray<z.ZodObject<{
|
|
7
7
|
address: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
8
8
|
addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -205,7 +205,7 @@ declare const PersonSimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
205
205
|
urlType: "alternativeto" | "angellist" | "appstore" | "awsmarketplace" | "bloomberg" | "capterra" | "changelog" | "chromewebstore" | "crates" | "crunchbase" | "discord" | "dockerhub" | "documentation" | "facebook" | "forum" | "g2" | "gartnerpeerinsights" | "getapp" | "github" | "glassdoor" | "googleplay" | "homebrew" | "hubspotmarketplace" | "huggingface" | "instagram" | "linkedin" | "maven" | "morningstar" | "nasdaq" | "npm" | "nyse" | "pitchbook" | "producthunt" | "pypi" | "roadmap" | "salesforceappexchange" | "slackappdirectory" | "sourceforge" | "statuspage" | "subreddit" | "support" | "theorg" | "tiktok" | "trustpilot" | "trustradius" | "twitter" | "vscodemarketplace" | "website" | "wellfound" | "wikipedia" | "ycombinator" | "youtube";
|
|
206
206
|
}, unknown>>>;
|
|
207
207
|
score: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
208
|
-
startDate: z.ZodOptional<z.ZodNullable<z.
|
|
208
|
+
startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
209
209
|
titleFunction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
210
210
|
titleId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
211
211
|
titleLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|