@aventurevc/api-schemas 0.8.198 → 0.8.200

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.
@@ -37,6 +37,7 @@ import { z } from "zod/v4";
37
37
  * @endpoint POST /v1/search/shared
38
38
  * @usedBySchema EntityEnrichmentSchema
39
39
  * @usedBySchema EntityPersonAssociationSchema
40
+ * @usedBySchema EntityProviderSchema
40
41
  * @usedBySchema PersonEnrichmentSchema
41
42
  * @usedBySchema PersonGraphCareerContextSchema
42
43
  * @contractShape address.address
@@ -42,6 +42,7 @@ import { AddressStateSchema } from "./state.js";
42
42
  * @endpoint POST /v1/search/shared
43
43
  * @usedBySchema EntityEnrichmentSchema
44
44
  * @usedBySchema EntityPersonAssociationSchema
45
+ * @usedBySchema EntityProviderSchema
45
46
  * @usedBySchema PersonEnrichmentSchema
46
47
  * @usedBySchema PersonGraphCareerContextSchema
47
48
  * @contractShape address.address
@@ -2399,6 +2399,110 @@ export declare const EntityDetailSchema: z.ZodObject<{
2399
2399
  };
2400
2400
  }[] | null | undefined;
2401
2401
  }, import("../person/detail.ts").PersonDetailSchemaInput>>>;
2402
+ provider: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2403
+ entity: z.ZodObject<{
2404
+ defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2405
+ foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2406
+ id: z.ZodUUID;
2407
+ image: z.ZodType<{
2408
+ isMonogram: boolean;
2409
+ logo?: string | null | undefined;
2410
+ logoSquare?: string | null | undefined;
2411
+ }, import("./image.ts").EntityImageSchemaInput, z.core.$ZodTypeInternals<{
2412
+ isMonogram: boolean;
2413
+ logo?: string | null | undefined;
2414
+ logoSquare?: string | null | undefined;
2415
+ }, import("./image.ts").EntityImageSchemaInput>>;
2416
+ lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
2417
+ nameAlias: z.ZodArray<z.ZodType<{
2418
+ displayable?: boolean | null | undefined;
2419
+ name: string;
2420
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
2421
+ }, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput, z.core.$ZodTypeInternals<{
2422
+ displayable?: boolean | null | undefined;
2423
+ name: string;
2424
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
2425
+ }, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput>>>;
2426
+ nameBrand: z.ZodString;
2427
+ nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2428
+ operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2429
+ publicId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2430
+ publicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2431
+ sitemap: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2432
+ hasAcquisitions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2433
+ hasAnalysis: z.ZodBoolean;
2434
+ hasEmployees: z.ZodBoolean;
2435
+ hasFundraising: z.ZodBoolean;
2436
+ hasNews: z.ZodBoolean;
2437
+ productServiceSlug: z.ZodArray<z.ZodString>;
2438
+ }, z.core.$strip>>>;
2439
+ slug: z.ZodString;
2440
+ typeRecord: z.ZodEnum<{
2441
+ "Business Line": "Business Line";
2442
+ Company: "Company";
2443
+ Fund: "Fund";
2444
+ Government: "Government";
2445
+ "Investment Firm": "Investment Firm";
2446
+ Nonprofit: "Nonprofit";
2447
+ Organization: "Organization";
2448
+ Product: "Product";
2449
+ Service: "Service";
2450
+ }>;
2451
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
2452
+ }, z.core.$strip>;
2453
+ headquarters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2454
+ address: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2455
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2456
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2457
+ association: z.ZodOptional<z.ZodArray<z.ZodType<{
2458
+ endDate?: string | null | undefined;
2459
+ id: number;
2460
+ isCurrent: boolean;
2461
+ role?: "domicile" | "dominant" | "origin" | null | undefined;
2462
+ startDate?: string | null | undefined;
2463
+ }, import("../address/association.ts").AddressAssociationSchemaInput, z.core.$ZodTypeInternals<{
2464
+ endDate?: string | null | undefined;
2465
+ id: number;
2466
+ isCurrent: boolean;
2467
+ role?: "domicile" | "dominant" | "origin" | null | undefined;
2468
+ startDate?: string | null | undefined;
2469
+ }, import("../address/association.ts").AddressAssociationSchemaInput>>>>;
2470
+ city: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2471
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2472
+ name: z.ZodString;
2473
+ }, z.core.$strip>>>;
2474
+ country: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2475
+ countryCodeChar2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2476
+ countryCodeChar3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2477
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2478
+ name: z.ZodString;
2479
+ unRegion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2480
+ unSubregion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2481
+ }, z.core.$strip>>>;
2482
+ countryAbbrev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2483
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
2484
+ fullAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2485
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2486
+ isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2487
+ isHq: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2488
+ isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2489
+ latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2490
+ longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2491
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2492
+ state: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2493
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2494
+ name: z.ZodString;
2495
+ stateAbbrev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2496
+ }, z.core.$strip>>>;
2497
+ stateAbbrev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2498
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2499
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
2500
+ }, z.core.$strip>>>;
2501
+ relationshipType: z.ZodEnum<{
2502
+ fundManagerFirm: "fundManagerFirm";
2503
+ productService: "productService";
2504
+ }>;
2505
+ }, z.core.$strip>>>;
2402
2506
  publicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2403
2507
  relationship: z.ZodArray<z.ZodType<{
2404
2508
  asOf?: string | null | undefined;
@@ -3,6 +3,7 @@ import { z } from "zod/v4";
3
3
  import { EntityEnrichmentSchema } from "./enrichment.js";
4
4
  import { EntitySchema } from "./entity.js";
5
5
  import { EntityFundraiseTransactionSchema } from "./fundraise-transaction.js";
6
+ import { EntityProviderSchema } from "./provider.js";
6
7
  import { EntityRelationshipSchema } from "./relationship.js";
7
8
  import { EntityResearchSchema } from "./research.js";
8
9
  import { EntitySitemapSchema } from "./sitemap.js";
@@ -43,6 +44,8 @@ export const EntityDetailSchema = z.object({
43
44
  newsArticle: z.array(NewsSchema),
44
45
  /** People associated with this entity; full-detail search carries the first few, and GET /v1/entities/{entityId}/people lists them all. */
45
46
  person: z.array(PersonDetailSchema),
47
+ /** Fund manager firm or product/service provider; null otherwise. */
48
+ provider: EntityProviderSchema.nullish(),
46
49
  /** Absolute canonical public URL when this detail has a renderable public route. */
47
50
  publicUrl: z.string().nullish(),
48
51
  /** Entity relationships. */
@@ -46,6 +46,7 @@ import { z } from "zod/v4";
46
46
  * @usedBySchema EntityDetailSchema
47
47
  * @usedBySchema EntityFundraiseTransactionEntitySchema
48
48
  * @usedBySchema EntityListSchema
49
+ * @usedBySchema EntityProviderSchema
49
50
  * @usedBySchema EntityRelationshipSchema
50
51
  * @usedBySchema EntitySimilaritySummarySchema
51
52
  * @usedBySchema HarnessRunDetailSchema
@@ -51,6 +51,7 @@ import { EntityTypeSchema } from "./type.js";
51
51
  * @usedBySchema EntityDetailSchema
52
52
  * @usedBySchema EntityFundraiseTransactionEntitySchema
53
53
  * @usedBySchema EntityListSchema
54
+ * @usedBySchema EntityProviderSchema
54
55
  * @usedBySchema EntityRelationshipSchema
55
56
  * @usedBySchema EntitySimilaritySummarySchema
56
57
  * @usedBySchema HarnessRunDetailSchema
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const EntityFilterSearchSchemaDefinition: z.ZodObject<{
3
3
  filterKey: z.ZodString;
4
- limit: z.ZodInt;
4
+ limit: z.ZodOptional<z.ZodDefault<z.ZodInt>>;
5
5
  query: z.ZodString;
6
6
  scopeFilter: z.ZodOptional<z.ZodObject<{
7
7
  acceleratorBrand: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -4,8 +4,8 @@ import { EntityFilterSchema } from "./filter.js";
4
4
  const EntityFilterSearchSchemaDefinition = z.strictObject({
5
5
  /** Filter key */
6
6
  filterKey: z.string().min(1),
7
- /** Maximum number of search results */
8
- limit: z.int(),
7
+ /** Maximum number of search results; omit for 20, or the filter's own limit when that is smaller. A larger value returns the filter's limit. */
8
+ limit: z.int().min(1).default(20).optional(),
9
9
  /** Query */
10
10
  query: z.string().min(1),
11
11
  /** Entity filter scope applied to the option search. Omit to search every eligible entity. */
@@ -11,7 +11,7 @@ const EntityFundraiseInvestorJoinSchemaDefinition = z.object({
11
11
  financialInstrumentType: FundraiseFinancialInstrumentTypeSchema.nullish(),
12
12
  /** Fundraise investor join identifier */
13
13
  id: z.uuid(),
14
- /** Investor identity, nested: investor.entityId for a firm/fund investor or investor.personId for an angel — exactly one is set. Read responses carry ids only, never flat investor* fields or names; resolve display names with GET /v1/entities/detail or GET /v1/people/{personId}. */
14
+ /** Investor identity, nested: investor.entityId for a firm/fund investor or investor.personId for an angel — exactly one is set. Read responses carry ids only, never flat investor* fields or names. To name every investor in a round, read GET /v1/entities/{entityId}/investors?compact=true (firms) and GET /v1/entities/{entityId}/person-investors (angels) once each and match investorAttribution[].transactionId; never read each id separately. */
15
15
  investor: EntityPersonOwnerSchema,
16
16
  /** Whether this investor is the lead investor for the round — the lead/anchor investor that set the round terms or made the primary commitment. */
17
17
  leadInvestor: z.boolean(),
@@ -2377,6 +2377,110 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
2377
2377
  };
2378
2378
  }[] | null | undefined;
2379
2379
  }, import("../person/detail.ts").PersonDetailSchemaInput>>>;
2380
+ provider: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2381
+ entity: z.ZodObject<{
2382
+ defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2383
+ foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2384
+ id: z.ZodUUID;
2385
+ image: z.ZodType<{
2386
+ isMonogram: boolean;
2387
+ logo?: string | null | undefined;
2388
+ logoSquare?: string | null | undefined;
2389
+ }, import("./image.ts").EntityImageSchemaInput, z.core.$ZodTypeInternals<{
2390
+ isMonogram: boolean;
2391
+ logo?: string | null | undefined;
2392
+ logoSquare?: string | null | undefined;
2393
+ }, import("./image.ts").EntityImageSchemaInput>>;
2394
+ lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
2395
+ nameAlias: z.ZodArray<z.ZodType<{
2396
+ displayable?: boolean | null | undefined;
2397
+ name: string;
2398
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
2399
+ }, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput, z.core.$ZodTypeInternals<{
2400
+ displayable?: boolean | null | undefined;
2401
+ name: string;
2402
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
2403
+ }, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput>>>;
2404
+ nameBrand: z.ZodString;
2405
+ nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2406
+ operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2407
+ publicId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2408
+ publicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2409
+ sitemap: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2410
+ hasAcquisitions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2411
+ hasAnalysis: z.ZodBoolean;
2412
+ hasEmployees: z.ZodBoolean;
2413
+ hasFundraising: z.ZodBoolean;
2414
+ hasNews: z.ZodBoolean;
2415
+ productServiceSlug: z.ZodArray<z.ZodString>;
2416
+ }, z.core.$strip>>>;
2417
+ slug: z.ZodString;
2418
+ typeRecord: z.ZodEnum<{
2419
+ "Business Line": "Business Line";
2420
+ Company: "Company";
2421
+ Fund: "Fund";
2422
+ Government: "Government";
2423
+ "Investment Firm": "Investment Firm";
2424
+ Nonprofit: "Nonprofit";
2425
+ Organization: "Organization";
2426
+ Product: "Product";
2427
+ Service: "Service";
2428
+ }>;
2429
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
2430
+ }, z.core.$strip>;
2431
+ headquarters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2432
+ address: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2433
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2434
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2435
+ association: z.ZodOptional<z.ZodArray<z.ZodType<{
2436
+ endDate?: string | null | undefined;
2437
+ id: number;
2438
+ isCurrent: boolean;
2439
+ role?: "domicile" | "dominant" | "origin" | null | undefined;
2440
+ startDate?: string | null | undefined;
2441
+ }, import("../address/association.ts").AddressAssociationSchemaInput, z.core.$ZodTypeInternals<{
2442
+ endDate?: string | null | undefined;
2443
+ id: number;
2444
+ isCurrent: boolean;
2445
+ role?: "domicile" | "dominant" | "origin" | null | undefined;
2446
+ startDate?: string | null | undefined;
2447
+ }, import("../address/association.ts").AddressAssociationSchemaInput>>>>;
2448
+ city: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2449
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2450
+ name: z.ZodString;
2451
+ }, z.core.$strip>>>;
2452
+ country: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2453
+ countryCodeChar2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2454
+ countryCodeChar3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2455
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2456
+ name: z.ZodString;
2457
+ unRegion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2458
+ unSubregion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2459
+ }, z.core.$strip>>>;
2460
+ countryAbbrev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2461
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
2462
+ fullAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2463
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2464
+ isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2465
+ isHq: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2466
+ isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2467
+ latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2468
+ longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2469
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2470
+ state: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2471
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2472
+ name: z.ZodString;
2473
+ stateAbbrev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2474
+ }, z.core.$strip>>>;
2475
+ stateAbbrev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2476
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2477
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
2478
+ }, z.core.$strip>>>;
2479
+ relationshipType: z.ZodEnum<{
2480
+ fundManagerFirm: "fundManagerFirm";
2481
+ productService: "productService";
2482
+ }>;
2483
+ }, z.core.$strip>>>;
2380
2484
  publicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2381
2485
  relationship: z.ZodArray<z.ZodType<{
2382
2486
  asOf?: string | null | undefined;
@@ -732,6 +732,110 @@ declare const EntityListSchemaDefinition: z.ZodObject<{
732
732
  valuationPostMoney?: number | null | undefined;
733
733
  valuationPreMoney?: number | null | undefined;
734
734
  }, import("./fundraise-transaction.ts").EntityFundraiseTransactionSchemaInput>>>;
735
+ provider: z.ZodOptional<z.ZodNullable<z.ZodObject<{
736
+ entity: z.ZodObject<{
737
+ defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
738
+ foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
739
+ id: z.ZodUUID;
740
+ image: z.ZodType<{
741
+ isMonogram: boolean;
742
+ logo?: string | null | undefined;
743
+ logoSquare?: string | null | undefined;
744
+ }, import("./image.ts").EntityImageSchemaInput, z.core.$ZodTypeInternals<{
745
+ isMonogram: boolean;
746
+ logo?: string | null | undefined;
747
+ logoSquare?: string | null | undefined;
748
+ }, import("./image.ts").EntityImageSchemaInput>>;
749
+ lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
750
+ nameAlias: z.ZodArray<z.ZodType<{
751
+ displayable?: boolean | null | undefined;
752
+ name: string;
753
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
754
+ }, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput, z.core.$ZodTypeInternals<{
755
+ displayable?: boolean | null | undefined;
756
+ name: string;
757
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
758
+ }, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput>>>;
759
+ nameBrand: z.ZodString;
760
+ nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
761
+ operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
762
+ publicId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
763
+ publicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
764
+ sitemap: z.ZodOptional<z.ZodNullable<z.ZodObject<{
765
+ hasAcquisitions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
766
+ hasAnalysis: z.ZodBoolean;
767
+ hasEmployees: z.ZodBoolean;
768
+ hasFundraising: z.ZodBoolean;
769
+ hasNews: z.ZodBoolean;
770
+ productServiceSlug: z.ZodArray<z.ZodString>;
771
+ }, z.core.$strip>>>;
772
+ slug: z.ZodString;
773
+ typeRecord: z.ZodEnum<{
774
+ "Business Line": "Business Line";
775
+ Company: "Company";
776
+ Fund: "Fund";
777
+ Government: "Government";
778
+ "Investment Firm": "Investment Firm";
779
+ Nonprofit: "Nonprofit";
780
+ Organization: "Organization";
781
+ Product: "Product";
782
+ Service: "Service";
783
+ }>;
784
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
785
+ }, z.core.$strip>;
786
+ headquarters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
787
+ address: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
788
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
789
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
790
+ association: z.ZodOptional<z.ZodArray<z.ZodType<{
791
+ endDate?: string | null | undefined;
792
+ id: number;
793
+ isCurrent: boolean;
794
+ role?: "domicile" | "dominant" | "origin" | null | undefined;
795
+ startDate?: string | null | undefined;
796
+ }, import("../address/association.ts").AddressAssociationSchemaInput, z.core.$ZodTypeInternals<{
797
+ endDate?: string | null | undefined;
798
+ id: number;
799
+ isCurrent: boolean;
800
+ role?: "domicile" | "dominant" | "origin" | null | undefined;
801
+ startDate?: string | null | undefined;
802
+ }, import("../address/association.ts").AddressAssociationSchemaInput>>>>;
803
+ city: z.ZodOptional<z.ZodNullable<z.ZodObject<{
804
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
805
+ name: z.ZodString;
806
+ }, z.core.$strip>>>;
807
+ country: z.ZodOptional<z.ZodNullable<z.ZodObject<{
808
+ countryCodeChar2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
809
+ countryCodeChar3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
810
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
811
+ name: z.ZodString;
812
+ unRegion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
813
+ unSubregion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
814
+ }, z.core.$strip>>>;
815
+ countryAbbrev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
816
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
817
+ fullAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
818
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
819
+ isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
820
+ isHq: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
821
+ isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
822
+ latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
823
+ longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
824
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
825
+ state: z.ZodOptional<z.ZodNullable<z.ZodObject<{
826
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
827
+ name: z.ZodString;
828
+ stateAbbrev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
829
+ }, z.core.$strip>>>;
830
+ stateAbbrev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
831
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
832
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
833
+ }, z.core.$strip>>>;
834
+ relationshipType: z.ZodEnum<{
835
+ fundManagerFirm: "fundManagerFirm";
836
+ productService: "productService";
837
+ }>;
838
+ }, z.core.$strip>>>;
735
839
  research: z.ZodType<{
736
840
  acceleratorParticipation: {
737
841
  accelerator: {
@@ -5,6 +5,7 @@ import { EntityEnrichmentSchema } from "./enrichment.js";
5
5
  import { EntitySchema } from "./entity.js";
6
6
  import { EntityFundraiseTransactionSchema } from "./fundraise-transaction.js";
7
7
  import { EntityListResearchSchema } from "./list-research.js";
8
+ import { EntityProviderSchema } from "./provider.js";
8
9
  const EntityListSchemaDefinition = z.object({
9
10
  /** Flat entity core — identity, naming, status, image, and source metadata */
10
11
  core: EntitySchema,
@@ -12,6 +13,8 @@ const EntityListSchemaDefinition = z.object({
12
13
  enrichment: EntityEnrichmentSchema,
13
14
  /** Fundraise rounds associated with this entity */
14
15
  fundraiseRound: z.array(EntityFundraiseTransactionSchema),
16
+ /** Fund manager firm or product/service provider; null otherwise. */
17
+ provider: EntityProviderSchema.nullish(),
15
18
  /** List-safe research disclosure without text snippets */
16
19
  research: EntityListResearchSchema,
17
20
  /** Semantic embedding match evidence populated only for semantic list reads. */
@@ -0,0 +1,134 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * The current entity a fund or product/service is offered by: a fund's manager firm, a product/service's provider, through its current primary edge to a live, listed provider. Null on every other entity type.
4
+ *
5
+ * @openapiSchema EntityProvider
6
+ * @endpoint GET /v1/entities
7
+ * @endpoint GET /v1/entities/lookup-exact
8
+ * @endpoint GET /v1/search/link
9
+ * @endpoint GET /v1/entities/{entityId}
10
+ * @endpoint GET /v1/entities/{entityId}/investors
11
+ * @endpoint GET /v1/entities/{entityId}/similar
12
+ * @endpoint GET /v1/entities/search/jobs/{jobId}
13
+ * @endpoint GET /v1/lookup-jobs/{jobId}
14
+ * @endpoint GET /v1/search/link/jobs/{jobId}
15
+ * @endpoint GET /v1/search/shared/{id}
16
+ * @endpoint GET /v1/search/shared/slug/{slug}
17
+ * @endpoint POST /v1/entities/lookup-batch
18
+ * @endpoint POST /v1/entities/lookup-matches
19
+ * @endpoint POST /v1/entities/search
20
+ * @endpoint POST /v1/lookup-mentions
21
+ * @endpoint POST /v1/search
22
+ * @endpoint POST /v1/search/natural/entities
23
+ * @endpoint POST /v1/search/shared
24
+ * @usedBySchema EntityDetailSchema
25
+ * @usedBySchema EntityListSchema
26
+ * @contractShape entity.provider
27
+ * @contractRole canonical
28
+ */
29
+ export declare const EntityProviderSchema: z.ZodObject<{
30
+ entity: z.ZodObject<{
31
+ defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
33
+ id: z.ZodUUID;
34
+ image: z.ZodType<{
35
+ isMonogram: boolean;
36
+ logo?: string | null | undefined;
37
+ logoSquare?: string | null | undefined;
38
+ }, import("./image.ts").EntityImageSchemaInput, z.core.$ZodTypeInternals<{
39
+ isMonogram: boolean;
40
+ logo?: string | null | undefined;
41
+ logoSquare?: string | null | undefined;
42
+ }, import("./image.ts").EntityImageSchemaInput>>;
43
+ lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
44
+ nameAlias: z.ZodArray<z.ZodType<{
45
+ displayable?: boolean | null | undefined;
46
+ name: string;
47
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
48
+ }, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput, z.core.$ZodTypeInternals<{
49
+ displayable?: boolean | null | undefined;
50
+ name: string;
51
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
52
+ }, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput>>>;
53
+ nameBrand: z.ZodString;
54
+ nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ publicId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ publicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ sitemap: z.ZodOptional<z.ZodNullable<z.ZodObject<{
59
+ hasAcquisitions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
60
+ hasAnalysis: z.ZodBoolean;
61
+ hasEmployees: z.ZodBoolean;
62
+ hasFundraising: z.ZodBoolean;
63
+ hasNews: z.ZodBoolean;
64
+ productServiceSlug: z.ZodArray<z.ZodString>;
65
+ }, z.core.$strip>>>;
66
+ slug: z.ZodString;
67
+ typeRecord: z.ZodEnum<{
68
+ "Business Line": "Business Line";
69
+ Company: "Company";
70
+ Fund: "Fund";
71
+ Government: "Government";
72
+ "Investment Firm": "Investment Firm";
73
+ Nonprofit: "Nonprofit";
74
+ Organization: "Organization";
75
+ Product: "Product";
76
+ Service: "Service";
77
+ }>;
78
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
79
+ }, z.core.$strip>;
80
+ headquarters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
81
+ address: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
82
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
83
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
+ association: z.ZodOptional<z.ZodArray<z.ZodType<{
85
+ endDate?: string | null | undefined;
86
+ id: number;
87
+ isCurrent: boolean;
88
+ role?: "domicile" | "dominant" | "origin" | null | undefined;
89
+ startDate?: string | null | undefined;
90
+ }, import("../address/association.ts").AddressAssociationSchemaInput, z.core.$ZodTypeInternals<{
91
+ endDate?: string | null | undefined;
92
+ id: number;
93
+ isCurrent: boolean;
94
+ role?: "domicile" | "dominant" | "origin" | null | undefined;
95
+ startDate?: string | null | undefined;
96
+ }, import("../address/association.ts").AddressAssociationSchemaInput>>>>;
97
+ city: z.ZodOptional<z.ZodNullable<z.ZodObject<{
98
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
99
+ name: z.ZodString;
100
+ }, z.core.$strip>>>;
101
+ country: z.ZodOptional<z.ZodNullable<z.ZodObject<{
102
+ countryCodeChar2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
103
+ countryCodeChar3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
105
+ name: z.ZodString;
106
+ unRegion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
107
+ unSubregion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
108
+ }, z.core.$strip>>>;
109
+ countryAbbrev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
110
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
111
+ fullAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
112
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
113
+ isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
114
+ isHq: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
115
+ isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
116
+ latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
117
+ longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
118
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
119
+ state: z.ZodOptional<z.ZodNullable<z.ZodObject<{
120
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
121
+ name: z.ZodString;
122
+ stateAbbrev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
123
+ }, z.core.$strip>>>;
124
+ stateAbbrev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
127
+ }, z.core.$strip>>>;
128
+ relationshipType: z.ZodEnum<{
129
+ fundManagerFirm: "fundManagerFirm";
130
+ productService: "productService";
131
+ }>;
132
+ }, z.core.$strip>;
133
+ export type EntityProvider = z.infer<typeof EntityProviderSchema>;
134
+ //# sourceMappingURL=provider.d.ts.map
@@ -0,0 +1,40 @@
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
+ import { AddressSchema } from "../address/address.js";
4
+ import { EntitySchema } from "./entity.js";
5
+ /**
6
+ * The current entity a fund or product/service is offered by: a fund's manager firm, a product/service's provider, through its current primary edge to a live, listed provider. Null on every other entity type.
7
+ *
8
+ * @openapiSchema EntityProvider
9
+ * @endpoint GET /v1/entities
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}/investors
14
+ * @endpoint GET /v1/entities/{entityId}/similar
15
+ * @endpoint GET /v1/entities/search/jobs/{jobId}
16
+ * @endpoint GET /v1/lookup-jobs/{jobId}
17
+ * @endpoint GET /v1/search/link/jobs/{jobId}
18
+ * @endpoint GET /v1/search/shared/{id}
19
+ * @endpoint GET /v1/search/shared/slug/{slug}
20
+ * @endpoint POST /v1/entities/lookup-batch
21
+ * @endpoint POST /v1/entities/lookup-matches
22
+ * @endpoint POST /v1/entities/search
23
+ * @endpoint POST /v1/lookup-mentions
24
+ * @endpoint POST /v1/search
25
+ * @endpoint POST /v1/search/natural/entities
26
+ * @endpoint POST /v1/search/shared
27
+ * @usedBySchema EntityDetailSchema
28
+ * @usedBySchema EntityListSchema
29
+ * @contractShape entity.provider
30
+ * @contractRole canonical
31
+ */
32
+ export const EntityProviderSchema = z.object({
33
+ /** Provider core. Its image is the provider's own logo, else the logo of the provider's current parent entity. */
34
+ entity: EntitySchema,
35
+ /** The provider's current headquarters address. */
36
+ headquarters: AddressSchema.nullish(),
37
+ /** Relationship linking the subject to this provider. */
38
+ relationshipType: z.enum(["fundManagerFirm", "productService"]),
39
+ });
40
+ //# sourceMappingURL=provider.js.map