@aventurevc/api-schemas 0.8.199 → 0.8.201

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.
@@ -2378,6 +2378,110 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
2378
2378
  };
2379
2379
  }[] | null | undefined;
2380
2380
  }, import("../person/detail.ts").PersonDetailSchemaInput>>>;
2381
+ provider: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2382
+ entity: z.ZodObject<{
2383
+ defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2384
+ foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2385
+ id: z.ZodUUID;
2386
+ image: z.ZodType<{
2387
+ isMonogram: boolean;
2388
+ logo?: string | null | undefined;
2389
+ logoSquare?: string | null | undefined;
2390
+ }, import("./image.ts").EntityImageSchemaInput, z.core.$ZodTypeInternals<{
2391
+ isMonogram: boolean;
2392
+ logo?: string | null | undefined;
2393
+ logoSquare?: string | null | undefined;
2394
+ }, import("./image.ts").EntityImageSchemaInput>>;
2395
+ lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
2396
+ nameAlias: z.ZodArray<z.ZodType<{
2397
+ displayable?: boolean | null | undefined;
2398
+ name: string;
2399
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
2400
+ }, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput, z.core.$ZodTypeInternals<{
2401
+ displayable?: boolean | null | undefined;
2402
+ name: string;
2403
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
2404
+ }, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput>>>;
2405
+ nameBrand: z.ZodString;
2406
+ nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2407
+ operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2408
+ publicId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2409
+ publicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2410
+ sitemap: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2411
+ hasAcquisitions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2412
+ hasAnalysis: z.ZodBoolean;
2413
+ hasEmployees: z.ZodBoolean;
2414
+ hasFundraising: z.ZodBoolean;
2415
+ hasNews: z.ZodBoolean;
2416
+ productServiceSlug: z.ZodArray<z.ZodString>;
2417
+ }, z.core.$strip>>>;
2418
+ slug: z.ZodString;
2419
+ typeRecord: z.ZodEnum<{
2420
+ "Business Line": "Business Line";
2421
+ Company: "Company";
2422
+ Fund: "Fund";
2423
+ Government: "Government";
2424
+ "Investment Firm": "Investment Firm";
2425
+ Nonprofit: "Nonprofit";
2426
+ Organization: "Organization";
2427
+ Product: "Product";
2428
+ Service: "Service";
2429
+ }>;
2430
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
2431
+ }, z.core.$strip>;
2432
+ headquarters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2433
+ address: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2434
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2435
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2436
+ association: z.ZodOptional<z.ZodArray<z.ZodType<{
2437
+ endDate?: string | null | undefined;
2438
+ id: number;
2439
+ isCurrent: boolean;
2440
+ role?: "domicile" | "dominant" | "origin" | null | undefined;
2441
+ startDate?: string | null | undefined;
2442
+ }, import("../address/association.ts").AddressAssociationSchemaInput, z.core.$ZodTypeInternals<{
2443
+ endDate?: string | null | undefined;
2444
+ id: number;
2445
+ isCurrent: boolean;
2446
+ role?: "domicile" | "dominant" | "origin" | null | undefined;
2447
+ startDate?: string | null | undefined;
2448
+ }, import("../address/association.ts").AddressAssociationSchemaInput>>>>;
2449
+ city: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2450
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2451
+ name: z.ZodString;
2452
+ }, z.core.$strip>>>;
2453
+ country: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2454
+ countryCodeChar2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2455
+ countryCodeChar3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2456
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2457
+ name: z.ZodString;
2458
+ unRegion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2459
+ unSubregion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2460
+ }, z.core.$strip>>>;
2461
+ countryAbbrev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2462
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
2463
+ fullAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2464
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2465
+ isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2466
+ isHq: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2467
+ isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2468
+ latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2469
+ longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2470
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2471
+ state: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2472
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2473
+ name: z.ZodString;
2474
+ stateAbbrev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2475
+ }, z.core.$strip>>>;
2476
+ stateAbbrev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2477
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2478
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
2479
+ }, z.core.$strip>>>;
2480
+ relationshipType: z.ZodEnum<{
2481
+ fundManagerFirm: "fundManagerFirm";
2482
+ productService: "productService";
2483
+ }>;
2484
+ }, z.core.$strip>>>;
2381
2485
  publicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2382
2486
  relationship: z.ZodArray<z.ZodType<{
2383
2487
  asOf?: string | null | undefined;
@@ -375,6 +375,83 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
375
375
  valuationPostMoney?: number | null | undefined;
376
376
  valuationPreMoney?: number | null | undefined;
377
377
  }[];
378
+ provider?: {
379
+ entity: {
380
+ defaultCurrency?: string | null | undefined;
381
+ foundedYear?: number | null | undefined;
382
+ id: string;
383
+ image: {
384
+ isMonogram: boolean;
385
+ logo?: string | null | undefined;
386
+ logoSquare?: string | null | undefined;
387
+ };
388
+ lastModifiedAt?: string | null | undefined;
389
+ nameAlias: {
390
+ displayable?: boolean | null | undefined;
391
+ name: string;
392
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
393
+ }[];
394
+ nameBrand: string;
395
+ nameLegal?: string | null | undefined;
396
+ operatingStatus?: string | null | undefined;
397
+ publicId?: string | null | undefined;
398
+ publicUrl?: string | null | undefined;
399
+ sitemap?: {
400
+ hasAcquisitions?: boolean | undefined;
401
+ hasAnalysis: boolean;
402
+ hasEmployees: boolean;
403
+ hasFundraising: boolean;
404
+ hasNews: boolean;
405
+ productServiceSlug: string[];
406
+ } | null | undefined;
407
+ slug: string;
408
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
409
+ updatedAt?: string | null | undefined;
410
+ };
411
+ headquarters?: {
412
+ address?: number | null | undefined;
413
+ addressLine1?: string | null | undefined;
414
+ addressLine2?: string | null | undefined;
415
+ association?: {
416
+ endDate?: string | null | undefined;
417
+ id: number;
418
+ isCurrent: boolean;
419
+ role?: "domicile" | "dominant" | "origin" | null | undefined;
420
+ startDate?: string | null | undefined;
421
+ }[] | undefined;
422
+ city?: {
423
+ id?: number | null | undefined;
424
+ name: string;
425
+ } | null | undefined;
426
+ country?: {
427
+ countryCodeChar2?: string | null | undefined;
428
+ countryCodeChar3?: string | null | undefined;
429
+ id?: number | null | undefined;
430
+ name: string;
431
+ unRegion?: string | null | undefined;
432
+ unSubregion?: string | null | undefined;
433
+ } | null | undefined;
434
+ countryAbbrev?: string | null | undefined;
435
+ createdAt?: string | null | undefined;
436
+ fullAddress?: string | null | undefined;
437
+ id?: number | null | undefined;
438
+ isCurrent?: boolean | null | undefined;
439
+ isHq?: boolean | null | undefined;
440
+ isPrimary?: boolean | null | undefined;
441
+ latitude?: number | null | undefined;
442
+ longitude?: number | null | undefined;
443
+ postalCode?: string | null | undefined;
444
+ state?: {
445
+ id?: number | null | undefined;
446
+ name: string;
447
+ stateAbbrev?: string | null | undefined;
448
+ } | null | undefined;
449
+ stateAbbrev?: string | null | undefined;
450
+ street?: string | null | undefined;
451
+ updatedAt?: string | null | undefined;
452
+ } | null | undefined;
453
+ relationshipType: "fundManagerFirm" | "productService";
454
+ } | null | undefined;
378
455
  research: {
379
456
  acceleratorParticipation: {
380
457
  accelerator: {
@@ -826,6 +903,83 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
826
903
  valuationPostMoney?: number | null | undefined;
827
904
  valuationPreMoney?: number | null | undefined;
828
905
  }[];
906
+ provider?: {
907
+ entity: {
908
+ defaultCurrency?: string | null | undefined;
909
+ foundedYear?: number | null | undefined;
910
+ id: string;
911
+ image: {
912
+ isMonogram: boolean;
913
+ logo?: string | null | undefined;
914
+ logoSquare?: string | null | undefined;
915
+ };
916
+ lastModifiedAt?: string | null | undefined;
917
+ nameAlias: {
918
+ displayable?: boolean | null | undefined;
919
+ name: string;
920
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
921
+ }[];
922
+ nameBrand: string;
923
+ nameLegal?: string | null | undefined;
924
+ operatingStatus?: string | null | undefined;
925
+ publicId?: string | null | undefined;
926
+ publicUrl?: string | null | undefined;
927
+ sitemap?: {
928
+ hasAcquisitions?: boolean | undefined;
929
+ hasAnalysis: boolean;
930
+ hasEmployees: boolean;
931
+ hasFundraising: boolean;
932
+ hasNews: boolean;
933
+ productServiceSlug: string[];
934
+ } | null | undefined;
935
+ slug: string;
936
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
937
+ updatedAt?: string | null | undefined;
938
+ };
939
+ headquarters?: {
940
+ address?: number | null | undefined;
941
+ addressLine1?: string | null | undefined;
942
+ addressLine2?: string | null | undefined;
943
+ association?: {
944
+ endDate?: string | null | undefined;
945
+ id: number;
946
+ isCurrent: boolean;
947
+ role?: "domicile" | "dominant" | "origin" | null | undefined;
948
+ startDate?: string | null | undefined;
949
+ }[] | undefined;
950
+ city?: {
951
+ id?: number | null | undefined;
952
+ name: string;
953
+ } | null | undefined;
954
+ country?: {
955
+ countryCodeChar2?: string | null | undefined;
956
+ countryCodeChar3?: string | null | undefined;
957
+ id?: number | null | undefined;
958
+ name: string;
959
+ unRegion?: string | null | undefined;
960
+ unSubregion?: string | null | undefined;
961
+ } | null | undefined;
962
+ countryAbbrev?: string | null | undefined;
963
+ createdAt?: string | null | undefined;
964
+ fullAddress?: string | null | undefined;
965
+ id?: number | null | undefined;
966
+ isCurrent?: boolean | null | undefined;
967
+ isHq?: boolean | null | undefined;
968
+ isPrimary?: boolean | null | undefined;
969
+ latitude?: number | null | undefined;
970
+ longitude?: number | null | undefined;
971
+ postalCode?: string | null | undefined;
972
+ state?: {
973
+ id?: number | null | undefined;
974
+ name: string;
975
+ stateAbbrev?: string | null | undefined;
976
+ } | null | undefined;
977
+ stateAbbrev?: string | null | undefined;
978
+ street?: string | null | undefined;
979
+ updatedAt?: string | null | undefined;
980
+ } | null | undefined;
981
+ relationshipType: "fundManagerFirm" | "productService";
982
+ } | null | undefined;
829
983
  research: {
830
984
  acceleratorParticipation: {
831
985
  accelerator: {
@@ -5,7 +5,9 @@ import { EntityUrlCrawlCdnProviderSchema } from "./url-crawl-cdn-provider.js";
5
5
  import { EntityUrlCrawlRenderModeSchema } from "./url-crawl-render-mode.js";
6
6
  import { EntityUrlTypeSchema } from "./url-type.js";
7
7
  const EntityUrlLinkSchemaDefinition = z.object({
8
+ /** CDN provider from the latest URL probe. */
8
9
  crawlCdnProvider: EntityUrlCrawlCdnProviderSchema.nullish(),
10
+ /** Render mode from the latest URL probe. */
9
11
  crawlRenderMode: EntityUrlCrawlRenderModeSchema.nullish(),
10
12
  createdAt: z.iso.datetime({ offset: true }).nullish(),
11
13
  id: z.int().nullish(),
@@ -16,7 +18,9 @@ const EntityUrlLinkSchemaDefinition = z.object({
16
18
  /** Owning record, nested ids only: owner.entityId or owner.personId — exactly one is set, and no name fields. Writes are scoped by the owning entity/person route; owner is never a write field. */
17
19
  owner: EntityPersonOwnerSchema.nullish(),
18
20
  sourceId: z.string().nullish(),
21
+ /** Latest URL status observation; a later probe may replace the submitted status. */
19
22
  status: z.string().nullish(),
23
+ /** Time of the latest URL status observation. */
20
24
  statusChecked: z.iso.datetime({ offset: true }).nullish(),
21
25
  updatedAt: z.iso.datetime({ offset: true }).nullish(),
22
26
  /** Canonical absolute HTTP URL value - validates scheme + host at construction */