@aventurevc/api-schemas 0.8.305 → 0.8.307
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/classification/classification.d.ts +7 -0
- package/dist/classification/classification.js +7 -0
- package/dist/classification/join-registry.d.ts +7 -0
- package/dist/classification/join-registry.js +7 -0
- package/dist/entity/alias-type.d.ts +2 -0
- package/dist/entity/alias-type.js +2 -0
- package/dist/entity/detail.d.ts +316 -2
- package/dist/entity/detail.js +2 -1
- package/dist/entity/entity.d.ts +3 -0
- package/dist/entity/entity.js +3 -0
- package/dist/entity/funding-detail.d.ts +3 -0
- package/dist/entity/funding-detail.js +3 -0
- package/dist/entity/fundraise-investor-activity.d.ts +317 -0
- package/dist/entity/fundraise-investor-activity.js +4 -0
- package/dist/entity/image.d.ts +2 -0
- package/dist/entity/image.js +2 -0
- package/dist/entity/investor-activity-param.d.ts +19 -1
- package/dist/entity/investor-activity-param.js +9 -1
- package/dist/entity/investor-participation.d.ts +318 -4
- package/dist/entity/investor-participation.js +2 -1
- package/dist/entity/name-alias-entity-alias-type.d.ts +2 -0
- package/dist/entity/name-alias-entity-alias-type.js +2 -0
- package/dist/entity/resolution.d.ts +316 -2
- package/dist/entity/sitemap.d.ts +2 -0
- package/dist/entity/sitemap.js +2 -0
- package/dist/entity/tag.d.ts +8 -0
- package/dist/entity/tag.js +8 -0
- package/dist/entity/valuation-source.d.ts +2 -0
- package/dist/entity/valuation-source.js +2 -0
- package/dist/entity/valuation.d.ts +2 -0
- package/dist/entity/valuation.js +2 -0
- package/dist/federated/search.d.ts +630 -2
- package/dist/funding/applicability.d.ts +2 -0
- package/dist/funding/applicability.js +2 -0
- package/dist/funding/stage.d.ts +2 -0
- package/dist/funding/stage.js +2 -0
- package/dist/http/problem-detail.d.ts +1 -0
- package/dist/http/problem-detail.js +4 -2
- package/dist/image/variant.d.ts +2 -0
- package/dist/image/variant.js +2 -0
- package/dist/investor/portfolio-outcome.d.ts +45 -0
- package/dist/investor/portfolio-outcome.js +38 -0
- package/dist/investor/portfolio-recipient.d.ts +229 -0
- package/dist/investor/portfolio-recipient.js +37 -0
- package/dist/investor/portfolio-sector.d.ts +60 -0
- package/dist/investor/portfolio-sector.js +36 -0
- package/dist/investor/portfolio.d.ts +347 -0
- package/dist/investor/portfolio.js +51 -0
- package/dist/link/search.d.ts +628 -0
- package/dist/openapi-component-manifest.js +21 -0
- package/dist/pageable/object.d.ts +15 -0
- package/dist/pageable/object.js +15 -0
- package/dist/pagination/schemas.d.ts +1692 -134
- package/dist/pagination/schemas.js +87 -4
- package/dist/person/detail.d.ts +319 -2
- package/dist/person/detail.js +2 -1
- package/dist/person/investor-participation.d.ts +316 -2
- package/dist/person/investor-participation.js +2 -1
- package/dist/shared/search.d.ts +628 -0
- package/dist/sort/object.d.ts +15 -0
- package/dist/sort/object.js +15 -0
- package/dist/valuation/type.d.ts +2 -0
- package/dist/valuation/type.js +2 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
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
|
+
// oxlint-disable import/no-cycle -- Generated recursive module references are deferred with z.lazy.
|
|
2
3
|
import { z } from "zod/v4";
|
|
3
4
|
import { BlogPostSchema } from "../blog/post.js";
|
|
4
5
|
import { EmployeeCountSchema } from "../employee/count.js";
|
|
@@ -21,6 +22,8 @@ import { EntityUrlLinkSchema } from "../entity/url-link.js";
|
|
|
21
22
|
import { EntityValuationTimeSeriesPointSchema } from "../entity/valuation-time-series-point.js";
|
|
22
23
|
import { GithubRepoSchema } from "../github/repo.js";
|
|
23
24
|
import { HarnessRunSchema } from "../harness/run.js";
|
|
25
|
+
import { InvestorPortfolioRecipientSchema } from "../investor/portfolio-recipient.js";
|
|
26
|
+
import { InvestorPortfolioSectorSchema } from "../investor/portfolio-sector.js";
|
|
24
27
|
import { NewsSchema } from "../news/news.js";
|
|
25
28
|
import { PageableObjectSchema } from "../pageable/object.js";
|
|
26
29
|
import { PersonDetailSchema } from "../person/detail.js";
|
|
@@ -139,7 +142,7 @@ const PageEntityAcquisitionSchemaDefinition = z.object({
|
|
|
139
142
|
*/
|
|
140
143
|
export const PageEntityAcquisitionSchema = PageEntityAcquisitionSchemaDefinition;
|
|
141
144
|
const PageEntityDetailSchemaDefinition = z.object({
|
|
142
|
-
content: z.array(EntityDetailSchema).optional(),
|
|
145
|
+
content: z.array(z.lazy(() => EntityDetailSchema)).optional(),
|
|
143
146
|
empty: z.boolean().optional(),
|
|
144
147
|
first: z.boolean().optional(),
|
|
145
148
|
last: z.boolean().optional(),
|
|
@@ -204,7 +207,7 @@ const PageEntityFundraiseTransactionSchemaDefinition = z.object({
|
|
|
204
207
|
*/
|
|
205
208
|
export const PageEntityFundraiseTransactionSchema = PageEntityFundraiseTransactionSchemaDefinition;
|
|
206
209
|
const PageEntityInvestorParticipationSchemaDefinition = z.object({
|
|
207
|
-
content: z.array(EntityInvestorParticipationSchema).optional(),
|
|
210
|
+
content: z.array(z.lazy(() => EntityInvestorParticipationSchema)).optional(),
|
|
208
211
|
empty: z.boolean().optional(),
|
|
209
212
|
first: z.boolean().optional(),
|
|
210
213
|
last: z.boolean().optional(),
|
|
@@ -483,6 +486,86 @@ const PageHarnessRunSchemaDefinition = z.object({
|
|
|
483
486
|
* @ownerModule pagination/schemas.ts
|
|
484
487
|
*/
|
|
485
488
|
export const PageHarnessRunSchema = PageHarnessRunSchemaDefinition;
|
|
489
|
+
const PageInvestorPortfolioRecipientSchemaDefinition = z.object({
|
|
490
|
+
content: z.array(InvestorPortfolioRecipientSchema).optional(),
|
|
491
|
+
empty: z.boolean().optional(),
|
|
492
|
+
first: z.boolean().optional(),
|
|
493
|
+
last: z.boolean().optional(),
|
|
494
|
+
number: z.int().optional(),
|
|
495
|
+
numberOfElements: z.int().optional(),
|
|
496
|
+
pageable: PageableObjectSchema.optional(),
|
|
497
|
+
size: z.int().optional(),
|
|
498
|
+
sort: SortObjectSchema.optional(),
|
|
499
|
+
totalElements: z.number().int().optional(),
|
|
500
|
+
totalPages: z.int().optional(),
|
|
501
|
+
});
|
|
502
|
+
/**
|
|
503
|
+
* @openapiSchema PageInvestorPortfolioRecipient
|
|
504
|
+
* @endpoint GET /v1/entities/lookup-exact
|
|
505
|
+
* @endpoint GET /v1/people/lookup-exact
|
|
506
|
+
* @endpoint GET /v1/search/link
|
|
507
|
+
* @endpoint GET /v1/entities/{entityId}
|
|
508
|
+
* @endpoint GET /v1/entities/{entityId}/investor-activity
|
|
509
|
+
* @endpoint GET /v1/entities/{entityId}/investors
|
|
510
|
+
* @endpoint GET /v1/entities/{entityId}/investors/people
|
|
511
|
+
* @endpoint GET /v1/entities/{entityId}/person-investors
|
|
512
|
+
* @endpoint GET /v1/people/{personId}
|
|
513
|
+
* @endpoint GET /v1/people/{personId}/investor-activity
|
|
514
|
+
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
515
|
+
* @endpoint GET /v1/search/shared/{id}
|
|
516
|
+
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
517
|
+
* @endpoint POST /v1/entities/lookup-batch
|
|
518
|
+
* @endpoint POST /v1/entities/lookup-matches
|
|
519
|
+
* @endpoint POST /v1/entities/search
|
|
520
|
+
* @endpoint POST /v1/people/lookup-batch
|
|
521
|
+
* @endpoint POST /v1/search
|
|
522
|
+
* @endpoint POST /v1/search/shared
|
|
523
|
+
* @usedBySchema InvestorPortfolioSchema
|
|
524
|
+
* @contractShape pagination.page-investor-portfolio-recipient
|
|
525
|
+
* @contractRole canonical
|
|
526
|
+
* @ownerModule pagination/schemas.ts
|
|
527
|
+
*/
|
|
528
|
+
export const PageInvestorPortfolioRecipientSchema = PageInvestorPortfolioRecipientSchemaDefinition;
|
|
529
|
+
const PageInvestorPortfolioSectorSchemaDefinition = z.object({
|
|
530
|
+
content: z.array(InvestorPortfolioSectorSchema).optional(),
|
|
531
|
+
empty: z.boolean().optional(),
|
|
532
|
+
first: z.boolean().optional(),
|
|
533
|
+
last: z.boolean().optional(),
|
|
534
|
+
number: z.int().optional(),
|
|
535
|
+
numberOfElements: z.int().optional(),
|
|
536
|
+
pageable: PageableObjectSchema.optional(),
|
|
537
|
+
size: z.int().optional(),
|
|
538
|
+
sort: SortObjectSchema.optional(),
|
|
539
|
+
totalElements: z.number().int().optional(),
|
|
540
|
+
totalPages: z.int().optional(),
|
|
541
|
+
});
|
|
542
|
+
/**
|
|
543
|
+
* @openapiSchema PageInvestorPortfolioSector
|
|
544
|
+
* @endpoint GET /v1/entities/lookup-exact
|
|
545
|
+
* @endpoint GET /v1/people/lookup-exact
|
|
546
|
+
* @endpoint GET /v1/search/link
|
|
547
|
+
* @endpoint GET /v1/entities/{entityId}
|
|
548
|
+
* @endpoint GET /v1/entities/{entityId}/investor-activity
|
|
549
|
+
* @endpoint GET /v1/entities/{entityId}/investors
|
|
550
|
+
* @endpoint GET /v1/entities/{entityId}/investors/people
|
|
551
|
+
* @endpoint GET /v1/entities/{entityId}/person-investors
|
|
552
|
+
* @endpoint GET /v1/people/{personId}
|
|
553
|
+
* @endpoint GET /v1/people/{personId}/investor-activity
|
|
554
|
+
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
555
|
+
* @endpoint GET /v1/search/shared/{id}
|
|
556
|
+
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
557
|
+
* @endpoint POST /v1/entities/lookup-batch
|
|
558
|
+
* @endpoint POST /v1/entities/lookup-matches
|
|
559
|
+
* @endpoint POST /v1/entities/search
|
|
560
|
+
* @endpoint POST /v1/people/lookup-batch
|
|
561
|
+
* @endpoint POST /v1/search
|
|
562
|
+
* @endpoint POST /v1/search/shared
|
|
563
|
+
* @usedBySchema InvestorPortfolioSchema
|
|
564
|
+
* @contractShape pagination.page-investor-portfolio-sector
|
|
565
|
+
* @contractRole canonical
|
|
566
|
+
* @ownerModule pagination/schemas.ts
|
|
567
|
+
*/
|
|
568
|
+
export const PageInvestorPortfolioSectorSchema = PageInvestorPortfolioSectorSchemaDefinition;
|
|
486
569
|
const PageNewsSchemaDefinition = z.object({
|
|
487
570
|
content: z.array(NewsSchema).optional(),
|
|
488
571
|
empty: z.boolean().optional(),
|
|
@@ -528,7 +611,7 @@ const PagePersonSchemaDefinition = z.object({
|
|
|
528
611
|
*/
|
|
529
612
|
export const PagePersonSchema = PagePersonSchemaDefinition;
|
|
530
613
|
const PagePersonDetailSchemaDefinition = z.object({
|
|
531
|
-
content: z.array(PersonDetailSchema).optional(),
|
|
614
|
+
content: z.array(z.lazy(() => PersonDetailSchema)).optional(),
|
|
532
615
|
empty: z.boolean().optional(),
|
|
533
616
|
first: z.boolean().optional(),
|
|
534
617
|
last: z.boolean().optional(),
|
|
@@ -570,7 +653,7 @@ const PagePersonInvestmentSchemaDefinition = z.object({
|
|
|
570
653
|
*/
|
|
571
654
|
export const PagePersonInvestmentSchema = PagePersonInvestmentSchemaDefinition;
|
|
572
655
|
const PagePersonInvestorParticipationSchemaDefinition = z.object({
|
|
573
|
-
content: z.array(PersonInvestorParticipationSchema).optional(),
|
|
656
|
+
content: z.array(z.lazy(() => PersonInvestorParticipationSchema)).optional(),
|
|
574
657
|
empty: z.boolean().optional(),
|
|
575
658
|
first: z.boolean().optional(),
|
|
576
659
|
last: z.boolean().optional(),
|
package/dist/person/detail.d.ts
CHANGED
|
@@ -1424,7 +1424,7 @@ declare const PersonDetailSchemaDefinition: z.ZodObject<{
|
|
|
1424
1424
|
} | null | undefined;
|
|
1425
1425
|
round?: string | null | undefined;
|
|
1426
1426
|
}, import("./investment.ts").PersonInvestmentSchemaInput>>>;
|
|
1427
|
-
investorActivity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1427
|
+
investorActivity: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
1428
1428
|
acquiredRecipientCount: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1429
1429
|
attributedInvestmentCount: z.ZodInt;
|
|
1430
1430
|
averageAmountInvestedUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1432,6 +1432,323 @@ declare const PersonDetailSchemaDefinition: z.ZodObject<{
|
|
|
1432
1432
|
currentPortfolioCount: z.ZodInt;
|
|
1433
1433
|
largestAmountInvestedUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1434
1434
|
operatingRecipientCount: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1435
|
+
portfolio: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
1436
|
+
ambiguousSectorCount: z.ZodInt;
|
|
1437
|
+
classifiedRecipientCount: z.ZodInt;
|
|
1438
|
+
observedAt: z.ZodISODateTime;
|
|
1439
|
+
outcome: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1440
|
+
ACQUIRED: "ACQUIRED";
|
|
1441
|
+
CLOSED: "CLOSED";
|
|
1442
|
+
OPERATING: "OPERATING";
|
|
1443
|
+
PUBLIC: "PUBLIC";
|
|
1444
|
+
UNKNOWN: "UNKNOWN";
|
|
1445
|
+
}>, z.ZodString]> & {
|
|
1446
|
+
enum: {
|
|
1447
|
+
ACQUIRED: "ACQUIRED";
|
|
1448
|
+
CLOSED: "CLOSED";
|
|
1449
|
+
OPERATING: "OPERATING";
|
|
1450
|
+
PUBLIC: "PUBLIC";
|
|
1451
|
+
UNKNOWN: "UNKNOWN";
|
|
1452
|
+
};
|
|
1453
|
+
};
|
|
1454
|
+
rankableRecipientCount: z.ZodInt;
|
|
1455
|
+
recipient: z.ZodLazy<z.ZodType<{
|
|
1456
|
+
content?: {
|
|
1457
|
+
entity: {
|
|
1458
|
+
defaultCurrency?: string | null | undefined;
|
|
1459
|
+
foundedYear?: number | null | undefined;
|
|
1460
|
+
id: string;
|
|
1461
|
+
image: {
|
|
1462
|
+
isMonogram: boolean;
|
|
1463
|
+
logo?: string | null | undefined;
|
|
1464
|
+
logoSquare?: string | null | undefined;
|
|
1465
|
+
logoSquareVariant?: {
|
|
1466
|
+
contentType: string;
|
|
1467
|
+
height: number;
|
|
1468
|
+
path: string;
|
|
1469
|
+
width: number;
|
|
1470
|
+
}[] | null | undefined;
|
|
1471
|
+
logoVariant?: {
|
|
1472
|
+
contentType: string;
|
|
1473
|
+
height: number;
|
|
1474
|
+
path: string;
|
|
1475
|
+
width: number;
|
|
1476
|
+
}[] | null | undefined;
|
|
1477
|
+
};
|
|
1478
|
+
lastModifiedAt?: string | null | undefined;
|
|
1479
|
+
nameAlias: {
|
|
1480
|
+
displayable?: boolean | null | undefined;
|
|
1481
|
+
name: string;
|
|
1482
|
+
type?: "alternativeDba" | "relatedLegal" | null | undefined;
|
|
1483
|
+
}[];
|
|
1484
|
+
nameBrand: string;
|
|
1485
|
+
nameLegal?: string | null | undefined;
|
|
1486
|
+
operatingStatus?: string | null | undefined;
|
|
1487
|
+
publicId?: string | null | undefined;
|
|
1488
|
+
publicUrl?: string | null | undefined;
|
|
1489
|
+
sitemap?: {
|
|
1490
|
+
hasAcquisitions?: boolean | undefined;
|
|
1491
|
+
hasAnalysis: boolean;
|
|
1492
|
+
hasEmployees: boolean;
|
|
1493
|
+
hasFundraising: boolean;
|
|
1494
|
+
hasNews: boolean;
|
|
1495
|
+
productServiceSlug: string[];
|
|
1496
|
+
} | null | undefined;
|
|
1497
|
+
slug: string;
|
|
1498
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1499
|
+
updatedAt?: string | null | undefined;
|
|
1500
|
+
};
|
|
1501
|
+
funding: {
|
|
1502
|
+
applicability?: "NOT_APPLICABLE" | "RECORDED" | "UNKNOWN" | null | undefined;
|
|
1503
|
+
currency?: string | null | undefined;
|
|
1504
|
+
currentValuation?: {
|
|
1505
|
+
amount: string;
|
|
1506
|
+
asOfDate?: string | null | undefined;
|
|
1507
|
+
basis?: "postMoney" | "preMoney" | "reported" | null | undefined;
|
|
1508
|
+
currency?: string | null | undefined;
|
|
1509
|
+
postMoneyUsd?: string | null | undefined;
|
|
1510
|
+
referenceValue?: string | null | undefined;
|
|
1511
|
+
source: "fundraiseRound" | "researchDetail";
|
|
1512
|
+
sourceRef: string;
|
|
1513
|
+
} | null | undefined;
|
|
1514
|
+
disclosedStage?: string | null | undefined;
|
|
1515
|
+
disclosedStageTransactionId?: string | null | undefined;
|
|
1516
|
+
fundingRoundCount: number;
|
|
1517
|
+
investorCount: number;
|
|
1518
|
+
latestValuation?: number | null | undefined;
|
|
1519
|
+
mostRecentAmount?: number | null | undefined;
|
|
1520
|
+
mostRecentDate?: string | null | undefined;
|
|
1521
|
+
stage?: string | null | undefined;
|
|
1522
|
+
totalRaised: number;
|
|
1523
|
+
totalRaisedAmountRoundCount?: number | null | undefined;
|
|
1524
|
+
totalRaisedRoundCount?: number | null | undefined;
|
|
1525
|
+
totalRaisedUsd?: number | null | undefined;
|
|
1526
|
+
totalRaisedUsdRoundCount?: number | null | undefined;
|
|
1527
|
+
unconvertedRoundCount: number;
|
|
1528
|
+
};
|
|
1529
|
+
}[] | undefined;
|
|
1530
|
+
empty?: boolean | undefined;
|
|
1531
|
+
first?: boolean | undefined;
|
|
1532
|
+
last?: boolean | undefined;
|
|
1533
|
+
number?: number | undefined;
|
|
1534
|
+
numberOfElements?: number | undefined;
|
|
1535
|
+
pageable?: {
|
|
1536
|
+
offset?: number | undefined;
|
|
1537
|
+
paged?: boolean | undefined;
|
|
1538
|
+
pageNumber?: number | undefined;
|
|
1539
|
+
pageSize?: number | undefined;
|
|
1540
|
+
sort?: {
|
|
1541
|
+
empty?: boolean | undefined;
|
|
1542
|
+
sorted?: boolean | undefined;
|
|
1543
|
+
unsorted?: boolean | undefined;
|
|
1544
|
+
} | undefined;
|
|
1545
|
+
unpaged?: boolean | undefined;
|
|
1546
|
+
} | undefined;
|
|
1547
|
+
size?: number | undefined;
|
|
1548
|
+
sort?: {
|
|
1549
|
+
empty?: boolean | undefined;
|
|
1550
|
+
sorted?: boolean | undefined;
|
|
1551
|
+
unsorted?: boolean | undefined;
|
|
1552
|
+
} | undefined;
|
|
1553
|
+
totalElements?: number | undefined;
|
|
1554
|
+
totalPages?: number | undefined;
|
|
1555
|
+
}, import("../pagination/schemas.ts").PageInvestorPortfolioRecipientSchemaInput, z.core.$ZodTypeInternals<{
|
|
1556
|
+
content?: {
|
|
1557
|
+
entity: {
|
|
1558
|
+
defaultCurrency?: string | null | undefined;
|
|
1559
|
+
foundedYear?: number | null | undefined;
|
|
1560
|
+
id: string;
|
|
1561
|
+
image: {
|
|
1562
|
+
isMonogram: boolean;
|
|
1563
|
+
logo?: string | null | undefined;
|
|
1564
|
+
logoSquare?: string | null | undefined;
|
|
1565
|
+
logoSquareVariant?: {
|
|
1566
|
+
contentType: string;
|
|
1567
|
+
height: number;
|
|
1568
|
+
path: string;
|
|
1569
|
+
width: number;
|
|
1570
|
+
}[] | null | undefined;
|
|
1571
|
+
logoVariant?: {
|
|
1572
|
+
contentType: string;
|
|
1573
|
+
height: number;
|
|
1574
|
+
path: string;
|
|
1575
|
+
width: number;
|
|
1576
|
+
}[] | null | undefined;
|
|
1577
|
+
};
|
|
1578
|
+
lastModifiedAt?: string | null | undefined;
|
|
1579
|
+
nameAlias: {
|
|
1580
|
+
displayable?: boolean | null | undefined;
|
|
1581
|
+
name: string;
|
|
1582
|
+
type?: "alternativeDba" | "relatedLegal" | null | undefined;
|
|
1583
|
+
}[];
|
|
1584
|
+
nameBrand: string;
|
|
1585
|
+
nameLegal?: string | null | undefined;
|
|
1586
|
+
operatingStatus?: string | null | undefined;
|
|
1587
|
+
publicId?: string | null | undefined;
|
|
1588
|
+
publicUrl?: string | null | undefined;
|
|
1589
|
+
sitemap?: {
|
|
1590
|
+
hasAcquisitions?: boolean | undefined;
|
|
1591
|
+
hasAnalysis: boolean;
|
|
1592
|
+
hasEmployees: boolean;
|
|
1593
|
+
hasFundraising: boolean;
|
|
1594
|
+
hasNews: boolean;
|
|
1595
|
+
productServiceSlug: string[];
|
|
1596
|
+
} | null | undefined;
|
|
1597
|
+
slug: string;
|
|
1598
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1599
|
+
updatedAt?: string | null | undefined;
|
|
1600
|
+
};
|
|
1601
|
+
funding: {
|
|
1602
|
+
applicability?: "NOT_APPLICABLE" | "RECORDED" | "UNKNOWN" | null | undefined;
|
|
1603
|
+
currency?: string | null | undefined;
|
|
1604
|
+
currentValuation?: {
|
|
1605
|
+
amount: string;
|
|
1606
|
+
asOfDate?: string | null | undefined;
|
|
1607
|
+
basis?: "postMoney" | "preMoney" | "reported" | null | undefined;
|
|
1608
|
+
currency?: string | null | undefined;
|
|
1609
|
+
postMoneyUsd?: string | null | undefined;
|
|
1610
|
+
referenceValue?: string | null | undefined;
|
|
1611
|
+
source: "fundraiseRound" | "researchDetail";
|
|
1612
|
+
sourceRef: string;
|
|
1613
|
+
} | null | undefined;
|
|
1614
|
+
disclosedStage?: string | null | undefined;
|
|
1615
|
+
disclosedStageTransactionId?: string | null | undefined;
|
|
1616
|
+
fundingRoundCount: number;
|
|
1617
|
+
investorCount: number;
|
|
1618
|
+
latestValuation?: number | null | undefined;
|
|
1619
|
+
mostRecentAmount?: number | null | undefined;
|
|
1620
|
+
mostRecentDate?: string | null | undefined;
|
|
1621
|
+
stage?: string | null | undefined;
|
|
1622
|
+
totalRaised: number;
|
|
1623
|
+
totalRaisedAmountRoundCount?: number | null | undefined;
|
|
1624
|
+
totalRaisedRoundCount?: number | null | undefined;
|
|
1625
|
+
totalRaisedUsd?: number | null | undefined;
|
|
1626
|
+
totalRaisedUsdRoundCount?: number | null | undefined;
|
|
1627
|
+
unconvertedRoundCount: number;
|
|
1628
|
+
};
|
|
1629
|
+
}[] | undefined;
|
|
1630
|
+
empty?: boolean | undefined;
|
|
1631
|
+
first?: boolean | undefined;
|
|
1632
|
+
last?: boolean | undefined;
|
|
1633
|
+
number?: number | undefined;
|
|
1634
|
+
numberOfElements?: number | undefined;
|
|
1635
|
+
pageable?: {
|
|
1636
|
+
offset?: number | undefined;
|
|
1637
|
+
paged?: boolean | undefined;
|
|
1638
|
+
pageNumber?: number | undefined;
|
|
1639
|
+
pageSize?: number | undefined;
|
|
1640
|
+
sort?: {
|
|
1641
|
+
empty?: boolean | undefined;
|
|
1642
|
+
sorted?: boolean | undefined;
|
|
1643
|
+
unsorted?: boolean | undefined;
|
|
1644
|
+
} | undefined;
|
|
1645
|
+
unpaged?: boolean | undefined;
|
|
1646
|
+
} | undefined;
|
|
1647
|
+
size?: number | undefined;
|
|
1648
|
+
sort?: {
|
|
1649
|
+
empty?: boolean | undefined;
|
|
1650
|
+
sorted?: boolean | undefined;
|
|
1651
|
+
unsorted?: boolean | undefined;
|
|
1652
|
+
} | undefined;
|
|
1653
|
+
totalElements?: number | undefined;
|
|
1654
|
+
totalPages?: number | undefined;
|
|
1655
|
+
}, import("../pagination/schemas.ts").PageInvestorPortfolioRecipientSchemaInput>>>;
|
|
1656
|
+
recipientCount: z.ZodInt;
|
|
1657
|
+
sector: z.ZodLazy<z.ZodType<{
|
|
1658
|
+
content?: {
|
|
1659
|
+
industry: {
|
|
1660
|
+
isCurrent?: boolean | null | undefined;
|
|
1661
|
+
isPrimary?: boolean | null | undefined;
|
|
1662
|
+
name: string;
|
|
1663
|
+
registry: string;
|
|
1664
|
+
} & {
|
|
1665
|
+
bucket?: string | null | undefined;
|
|
1666
|
+
classificationId?: number | null | undefined;
|
|
1667
|
+
createdAt?: string | null | undefined;
|
|
1668
|
+
id: number;
|
|
1669
|
+
isCurrent?: boolean | null | undefined;
|
|
1670
|
+
isPrimary?: boolean | null | undefined;
|
|
1671
|
+
name: string;
|
|
1672
|
+
slug?: string | null | undefined;
|
|
1673
|
+
type: string;
|
|
1674
|
+
updatedAt?: string | null | undefined;
|
|
1675
|
+
};
|
|
1676
|
+
recipientCount: number;
|
|
1677
|
+
}[] | undefined;
|
|
1678
|
+
empty?: boolean | undefined;
|
|
1679
|
+
first?: boolean | undefined;
|
|
1680
|
+
last?: boolean | undefined;
|
|
1681
|
+
number?: number | undefined;
|
|
1682
|
+
numberOfElements?: number | undefined;
|
|
1683
|
+
pageable?: {
|
|
1684
|
+
offset?: number | undefined;
|
|
1685
|
+
paged?: boolean | undefined;
|
|
1686
|
+
pageNumber?: number | undefined;
|
|
1687
|
+
pageSize?: number | undefined;
|
|
1688
|
+
sort?: {
|
|
1689
|
+
empty?: boolean | undefined;
|
|
1690
|
+
sorted?: boolean | undefined;
|
|
1691
|
+
unsorted?: boolean | undefined;
|
|
1692
|
+
} | undefined;
|
|
1693
|
+
unpaged?: boolean | undefined;
|
|
1694
|
+
} | undefined;
|
|
1695
|
+
size?: number | undefined;
|
|
1696
|
+
sort?: {
|
|
1697
|
+
empty?: boolean | undefined;
|
|
1698
|
+
sorted?: boolean | undefined;
|
|
1699
|
+
unsorted?: boolean | undefined;
|
|
1700
|
+
} | undefined;
|
|
1701
|
+
totalElements?: number | undefined;
|
|
1702
|
+
totalPages?: number | undefined;
|
|
1703
|
+
}, import("../pagination/schemas.ts").PageInvestorPortfolioSectorSchemaInput, z.core.$ZodTypeInternals<{
|
|
1704
|
+
content?: {
|
|
1705
|
+
industry: {
|
|
1706
|
+
isCurrent?: boolean | null | undefined;
|
|
1707
|
+
isPrimary?: boolean | null | undefined;
|
|
1708
|
+
name: string;
|
|
1709
|
+
registry: string;
|
|
1710
|
+
} & {
|
|
1711
|
+
bucket?: string | null | undefined;
|
|
1712
|
+
classificationId?: number | null | undefined;
|
|
1713
|
+
createdAt?: string | null | undefined;
|
|
1714
|
+
id: number;
|
|
1715
|
+
isCurrent?: boolean | null | undefined;
|
|
1716
|
+
isPrimary?: boolean | null | undefined;
|
|
1717
|
+
name: string;
|
|
1718
|
+
slug?: string | null | undefined;
|
|
1719
|
+
type: string;
|
|
1720
|
+
updatedAt?: string | null | undefined;
|
|
1721
|
+
};
|
|
1722
|
+
recipientCount: number;
|
|
1723
|
+
}[] | undefined;
|
|
1724
|
+
empty?: boolean | undefined;
|
|
1725
|
+
first?: boolean | undefined;
|
|
1726
|
+
last?: boolean | undefined;
|
|
1727
|
+
number?: number | undefined;
|
|
1728
|
+
numberOfElements?: number | undefined;
|
|
1729
|
+
pageable?: {
|
|
1730
|
+
offset?: number | undefined;
|
|
1731
|
+
paged?: boolean | undefined;
|
|
1732
|
+
pageNumber?: number | undefined;
|
|
1733
|
+
pageSize?: number | undefined;
|
|
1734
|
+
sort?: {
|
|
1735
|
+
empty?: boolean | undefined;
|
|
1736
|
+
sorted?: boolean | undefined;
|
|
1737
|
+
unsorted?: boolean | undefined;
|
|
1738
|
+
} | undefined;
|
|
1739
|
+
unpaged?: boolean | undefined;
|
|
1740
|
+
} | undefined;
|
|
1741
|
+
size?: number | undefined;
|
|
1742
|
+
sort?: {
|
|
1743
|
+
empty?: boolean | undefined;
|
|
1744
|
+
sorted?: boolean | undefined;
|
|
1745
|
+
unsorted?: boolean | undefined;
|
|
1746
|
+
} | undefined;
|
|
1747
|
+
totalElements?: number | undefined;
|
|
1748
|
+
totalPages?: number | undefined;
|
|
1749
|
+
}, import("../pagination/schemas.ts").PageInvestorPortfolioSectorSchemaInput>>>;
|
|
1750
|
+
unknownSectorCount: z.ZodInt;
|
|
1751
|
+
}, z.core.$strip>>>>;
|
|
1435
1752
|
portfolioCompanyCount: z.ZodInt;
|
|
1436
1753
|
publicRecipientCount: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1437
1754
|
smallestAmountInvestedUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1446,7 +1763,7 @@ declare const PersonDetailSchemaDefinition: z.ZodObject<{
|
|
|
1446
1763
|
totalInvestment: z.ZodInt;
|
|
1447
1764
|
totalPortfolioExit: z.ZodInt;
|
|
1448
1765
|
totalWriteOff: z.ZodInt;
|
|
1449
|
-
}, z.core.$strip
|
|
1766
|
+
}, z.core.$strip>>>>;
|
|
1450
1767
|
nameAlias: z.ZodArray<z.ZodType<{
|
|
1451
1768
|
displayable?: boolean | null | undefined;
|
|
1452
1769
|
name: string;
|
package/dist/person/detail.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
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
|
+
// oxlint-disable import/no-cycle -- Generated recursive module references are deferred with z.lazy.
|
|
2
3
|
import { z } from "zod/v4";
|
|
3
4
|
import { BlogPostSchema } from "../blog/post.js";
|
|
4
5
|
import { EntityFundraiseInvestorActivitySchema } from "../entity/fundraise-investor-activity.js";
|
|
@@ -24,7 +25,7 @@ const PersonDetailSchemaDefinition = z.object({
|
|
|
24
25
|
/** Investments associated with this person. When include names investment, these are newest first, the same rows as GET /v1/people/{personId}/investments?sort=date,desc&size=200 page 0: fewer than 200 rows is the whole list, otherwise continue at page=1 with the same sort and size. */
|
|
25
26
|
investment: z.array(PersonInvestmentSchema),
|
|
26
27
|
/** Investor activity rollup; present only when include names investorActivity */
|
|
27
|
-
investorActivity: EntityFundraiseInvestorActivitySchema.nullish(),
|
|
28
|
+
investorActivity: z.lazy(() => EntityFundraiseInvestorActivitySchema).nullish(),
|
|
28
29
|
/** Display and search aliases for this person */
|
|
29
30
|
nameAlias: z.array(EntityNameAliasPersonAliasTypeSchema),
|
|
30
31
|
/** Most similar people, highest score first; present only when include names similar */
|