@aventurevc/api-schemas 0.8.24 → 0.8.29

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.
Files changed (53) hide show
  1. package/dist/entity/accelerator-participation.d.ts +2 -2
  2. package/dist/entity/acquisition.d.ts +10 -5
  3. package/dist/entity/acquisition.js +3 -1
  4. package/dist/entity/detail.d.ts +46 -12
  5. package/dist/entity/entity.d.ts +2 -2
  6. package/dist/entity/entity.js +1 -1
  7. package/dist/entity/fundraise-transaction-entity.d.ts +2 -2
  8. package/dist/entity/fundraise-transaction.d.ts +2 -2
  9. package/dist/entity/investor-participation.d.ts +46 -12
  10. package/dist/entity/list-research.d.ts +14 -2
  11. package/dist/entity/list.d.ts +18 -6
  12. package/dist/entity/relationship.d.ts +8 -3
  13. package/dist/entity/relationship.js +3 -2
  14. package/dist/entity/research-detail.d.ts +6 -0
  15. package/dist/entity/research-detail.js +3 -0
  16. package/dist/entity/research-public-source.d.ts +44 -0
  17. package/dist/entity/research-public-source.js +48 -0
  18. package/dist/entity/research-snippet.d.ts +6 -0
  19. package/dist/entity/research-snippet.js +3 -0
  20. package/dist/entity/research.d.ts +20 -2
  21. package/dist/entity/resolution.d.ts +46 -12
  22. package/dist/entity/similarity-result.d.ts +18 -6
  23. package/dist/entity/similarity-summary.d.ts +2 -2
  24. package/dist/entity/text.d.ts +0 -1
  25. package/dist/entity/text.js +0 -1
  26. package/dist/federated/search.d.ts +18 -6
  27. package/dist/harness/run-detail.d.ts +4 -4
  28. package/dist/identification/candidate.d.ts +1 -0
  29. package/dist/identification/candidate.js +1 -0
  30. package/dist/identification/identification.d.ts +1 -0
  31. package/dist/identification/identification.js +1 -0
  32. package/dist/link/search.d.ts +18 -6
  33. package/dist/logo/accuracy.d.ts +0 -9
  34. package/dist/logo/accuracy.js +0 -3
  35. package/dist/lookup/job-mention.d.ts +18 -6
  36. package/dist/lookup/job.d.ts +18 -6
  37. package/dist/media/upload.d.ts +0 -18
  38. package/dist/media/upload.js +0 -3
  39. package/dist/mention/lookup.d.ts +18 -6
  40. package/dist/natural/search-result.d.ts +18 -6
  41. package/dist/openapi-component-manifest.js +4 -4
  42. package/dist/pagination/schemas.d.ts +206 -66
  43. package/dist/person/detail.d.ts +2 -2
  44. package/dist/person/graph-career-context.d.ts +4 -4
  45. package/dist/person/graph-co-investor.d.ts +2 -2
  46. package/dist/person/graph-similar-entity.d.ts +2 -2
  47. package/dist/person/graph.d.ts +6 -6
  48. package/dist/person/invested-company.d.ts +2 -2
  49. package/dist/person/investment.d.ts +2 -2
  50. package/dist/person/investor-participation.d.ts +2 -2
  51. package/package.json +1 -1
  52. package/dist/datasource/source-metadata.d.ts +0 -24
  53. package/dist/datasource/source-metadata.js +0 -24
@@ -3,6 +3,7 @@ import { z } from "zod/v4";
3
3
  * One existing record considered as the subject.
4
4
  *
5
5
  * @openapiSchema IdentificationCandidate
6
+ * @endpoint GET /v1/lookup
6
7
  * @endpoint GET /v1/lookup-jobs/{jobId}
7
8
  * @endpoint POST /v1/entities/lookup
8
9
  * @endpoint POST /v1/lookup
@@ -6,6 +6,7 @@ import { SearchDuplicateCandidateScoreSchema } from "../search/duplicate-candida
6
6
  * One existing record considered as the subject.
7
7
  *
8
8
  * @openapiSchema IdentificationCandidate
9
+ * @endpoint GET /v1/lookup
9
10
  * @endpoint GET /v1/lookup-jobs/{jobId}
10
11
  * @endpoint POST /v1/entities/lookup
11
12
  * @endpoint POST /v1/lookup
@@ -3,6 +3,7 @@ import { z } from "zod/v4";
3
3
  * Which existing company or person record a subject is, how that was settled, and the candidates considered, most probable first.
4
4
  *
5
5
  * @openapiSchema Identification
6
+ * @endpoint GET /v1/lookup
6
7
  * @endpoint GET /v1/lookup-jobs/{jobId}
7
8
  * @endpoint POST /v1/entities/lookup
8
9
  * @endpoint POST /v1/lookup
@@ -5,6 +5,7 @@ import { IdentificationCandidateSchema } from "./candidate.js";
5
5
  * Which existing company or person record a subject is, how that was settled, and the candidates considered, most probable first.
6
6
  *
7
7
  * @openapiSchema Identification
8
+ * @endpoint GET /v1/lookup
8
9
  * @endpoint GET /v1/lookup-jobs/{jobId}
9
10
  * @endpoint POST /v1/entities/lookup
10
11
  * @endpoint POST /v1/lookup
@@ -149,7 +149,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
149
149
  productServiceSlug: string[];
150
150
  } | null | undefined;
151
151
  slug: string;
152
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
152
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
153
153
  updatedAt?: string | null | undefined;
154
154
  };
155
155
  enrichment: {
@@ -469,7 +469,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
469
469
  productServiceSlug: string[];
470
470
  } | null | undefined;
471
471
  slug: string;
472
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
472
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
473
473
  updatedAt?: string | null | undefined;
474
474
  };
475
475
  fundingDetail?: {
@@ -547,7 +547,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
547
547
  productServiceSlug: string[];
548
548
  } | null | undefined;
549
549
  slug: string;
550
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
550
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
551
551
  updatedAt?: string | null | undefined;
552
552
  };
553
553
  acceleratorName: string;
@@ -568,6 +568,12 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
568
568
  discreteValue?: number | null | undefined;
569
569
  entityId: string;
570
570
  id: number;
571
+ publicSource?: {
572
+ lastFetchedAt?: string | null | undefined;
573
+ publishedAt?: string | null | undefined;
574
+ recordedAt: string;
575
+ sourceDetail: string;
576
+ } | null | undefined;
571
577
  textValue?: string | null | undefined;
572
578
  typeResearchDetail: string;
573
579
  updatedAt?: string | null | undefined;
@@ -900,7 +906,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
900
906
  productServiceSlug: string[];
901
907
  } | null | undefined;
902
908
  slug: string;
903
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
909
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
904
910
  updatedAt?: string | null | undefined;
905
911
  };
906
912
  enrichment: {
@@ -1220,7 +1226,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
1220
1226
  productServiceSlug: string[];
1221
1227
  } | null | undefined;
1222
1228
  slug: string;
1223
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
1229
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
1224
1230
  updatedAt?: string | null | undefined;
1225
1231
  };
1226
1232
  fundingDetail?: {
@@ -1298,7 +1304,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
1298
1304
  productServiceSlug: string[];
1299
1305
  } | null | undefined;
1300
1306
  slug: string;
1301
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
1307
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
1302
1308
  updatedAt?: string | null | undefined;
1303
1309
  };
1304
1310
  acceleratorName: string;
@@ -1319,6 +1325,12 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
1319
1325
  discreteValue?: number | null | undefined;
1320
1326
  entityId: string;
1321
1327
  id: number;
1328
+ publicSource?: {
1329
+ lastFetchedAt?: string | null | undefined;
1330
+ publishedAt?: string | null | undefined;
1331
+ recordedAt: string;
1332
+ sourceDetail: string;
1333
+ } | null | undefined;
1322
1334
  textValue?: string | null | undefined;
1323
1335
  typeResearchDetail: string;
1324
1336
  updatedAt?: string | null | undefined;
@@ -11,15 +11,6 @@ import { z } from "zod/v4";
11
11
  * @contractRole canonical
12
12
  */
13
13
  export declare const LogoAccuracySchema: z.ZodObject<{
14
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
- changedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
16
- dataSourceUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
17
- detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- pendingApproval: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
20
- sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>>>;
23
14
  candidateObserved: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
15
  confidence: z.ZodEnum<{
25
16
  HIGH: "HIGH";
@@ -1,7 +1,6 @@
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
3
  import { ConfidenceSchema } from "../confidence/confidence.js";
4
- import { DatasourceSourceMetadataSchema } from "../datasource/source-metadata.js";
5
4
  import { LogoAccuracyReferenceSchema } from "./accuracy-reference.js";
6
5
  /**
7
6
  * Read-only assessment of whether a stored logo/photo depicts the target's own brand, decided from visible features of the stored mark versus the target's own reference marks
@@ -15,8 +14,6 @@ import { LogoAccuracyReferenceSchema } from "./accuracy-reference.js";
15
14
  * @contractRole canonical
16
15
  */
17
16
  export const LogoAccuracySchema = z.object({
18
- /** Confirmed media-slot provenance that made this a match without a model/reference comparison; null for deterministic hash, vision, and insufficient outcomes */
19
- approval: DatasourceSourceMetadataSchema.nullish(),
20
17
  /** Literal visible description of the candidate mark, when assessed by vision */
21
18
  candidateObserved: z.string().nullish(),
22
19
  /** Confidence in the outcome */
@@ -30,7 +30,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
30
30
  productServiceSlug: string[];
31
31
  } | null | undefined;
32
32
  slug: string;
33
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
33
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
34
34
  updatedAt?: string | null | undefined;
35
35
  };
36
36
  enrichment: {
@@ -350,7 +350,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
350
350
  productServiceSlug: string[];
351
351
  } | null | undefined;
352
352
  slug: string;
353
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
353
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
354
354
  updatedAt?: string | null | undefined;
355
355
  };
356
356
  fundingDetail?: {
@@ -428,7 +428,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
428
428
  productServiceSlug: string[];
429
429
  } | null | undefined;
430
430
  slug: string;
431
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
431
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
432
432
  updatedAt?: string | null | undefined;
433
433
  };
434
434
  acceleratorName: string;
@@ -449,6 +449,12 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
449
449
  discreteValue?: number | null | undefined;
450
450
  entityId: string;
451
451
  id: number;
452
+ publicSource?: {
453
+ lastFetchedAt?: string | null | undefined;
454
+ publishedAt?: string | null | undefined;
455
+ recordedAt: string;
456
+ sourceDetail: string;
457
+ } | null | undefined;
452
458
  textValue?: string | null | undefined;
453
459
  typeResearchDetail: string;
454
460
  updatedAt?: string | null | undefined;
@@ -498,7 +504,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
498
504
  productServiceSlug: string[];
499
505
  } | null | undefined;
500
506
  slug: string;
501
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
507
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
502
508
  updatedAt?: string | null | undefined;
503
509
  };
504
510
  enrichment: {
@@ -818,7 +824,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
818
824
  productServiceSlug: string[];
819
825
  } | null | undefined;
820
826
  slug: string;
821
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
827
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
822
828
  updatedAt?: string | null | undefined;
823
829
  };
824
830
  fundingDetail?: {
@@ -896,7 +902,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
896
902
  productServiceSlug: string[];
897
903
  } | null | undefined;
898
904
  slug: string;
899
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
905
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
900
906
  updatedAt?: string | null | undefined;
901
907
  };
902
908
  acceleratorName: string;
@@ -917,6 +923,12 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
917
923
  discreteValue?: number | null | undefined;
918
924
  entityId: string;
919
925
  id: number;
926
+ publicSource?: {
927
+ lastFetchedAt?: string | null | undefined;
928
+ publishedAt?: string | null | undefined;
929
+ recordedAt: string;
930
+ sourceDetail: string;
931
+ } | null | undefined;
920
932
  textValue?: string | null | undefined;
921
933
  typeResearchDetail: string;
922
934
  updatedAt?: string | null | undefined;
@@ -34,7 +34,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
34
34
  productServiceSlug: string[];
35
35
  } | null | undefined;
36
36
  slug: string;
37
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
37
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
38
38
  updatedAt?: string | null | undefined;
39
39
  };
40
40
  enrichment: {
@@ -354,7 +354,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
354
354
  productServiceSlug: string[];
355
355
  } | null | undefined;
356
356
  slug: string;
357
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
357
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
358
358
  updatedAt?: string | null | undefined;
359
359
  };
360
360
  fundingDetail?: {
@@ -432,7 +432,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
432
432
  productServiceSlug: string[];
433
433
  } | null | undefined;
434
434
  slug: string;
435
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
435
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
436
436
  updatedAt?: string | null | undefined;
437
437
  };
438
438
  acceleratorName: string;
@@ -453,6 +453,12 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
453
453
  discreteValue?: number | null | undefined;
454
454
  entityId: string;
455
455
  id: number;
456
+ publicSource?: {
457
+ lastFetchedAt?: string | null | undefined;
458
+ publishedAt?: string | null | undefined;
459
+ recordedAt: string;
460
+ sourceDetail: string;
461
+ } | null | undefined;
456
462
  textValue?: string | null | undefined;
457
463
  typeResearchDetail: string;
458
464
  updatedAt?: string | null | undefined;
@@ -627,7 +633,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
627
633
  productServiceSlug: string[];
628
634
  } | null | undefined;
629
635
  slug: string;
630
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
636
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
631
637
  updatedAt?: string | null | undefined;
632
638
  };
633
639
  enrichment: {
@@ -947,7 +953,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
947
953
  productServiceSlug: string[];
948
954
  } | null | undefined;
949
955
  slug: string;
950
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
956
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
951
957
  updatedAt?: string | null | undefined;
952
958
  };
953
959
  fundingDetail?: {
@@ -1025,7 +1031,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1025
1031
  productServiceSlug: string[];
1026
1032
  } | null | undefined;
1027
1033
  slug: string;
1028
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
1034
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
1029
1035
  updatedAt?: string | null | undefined;
1030
1036
  };
1031
1037
  acceleratorName: string;
@@ -1046,6 +1052,12 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1046
1052
  discreteValue?: number | null | undefined;
1047
1053
  entityId: string;
1048
1054
  id: number;
1055
+ publicSource?: {
1056
+ lastFetchedAt?: string | null | undefined;
1057
+ publishedAt?: string | null | undefined;
1058
+ recordedAt: string;
1059
+ sourceDetail: string;
1060
+ } | null | undefined;
1049
1061
  textValue?: string | null | undefined;
1050
1062
  typeResearchDetail: string;
1051
1063
  updatedAt?: string | null | undefined;
@@ -11,15 +11,6 @@ import { z } from "zod/v4";
11
11
  */
12
12
  export declare const MediaUploadSchema: z.ZodObject<{
13
13
  accuracy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
- changedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
16
- dataSourceUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
17
- detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- pendingApproval: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
20
- sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>>>;
23
14
  candidateObserved: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
15
  confidence: z.ZodEnum<{
25
16
  HIGH: "HIGH";
@@ -56,15 +47,6 @@ export declare const MediaUploadSchema: z.ZodObject<{
56
47
  PERSON: "PERSON";
57
48
  }>;
58
49
  path: z.ZodString;
59
- provenance: z.ZodOptional<z.ZodNullable<z.ZodObject<{
60
- changedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
61
- dataSourceUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
62
- detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
- kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
- pendingApproval: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
65
- sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
- status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
- }, z.core.$strip>>>;
68
50
  targetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
51
  }, z.core.$strip>;
70
52
  export type MediaUpload = z.infer<typeof MediaUploadSchema>;
@@ -1,6 +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
2
  import { z } from "zod/v4";
3
- import { DatasourceSourceMetadataSchema } from "../datasource/source-metadata.js";
4
3
  import { LogoAccuracySchema } from "../logo/accuracy.js";
5
4
  import { MediaObjectTypeSchema } from "./object-type.js";
6
5
  /**
@@ -24,8 +23,6 @@ export const MediaUploadSchema = z.object({
24
23
  mediaType: MediaObjectTypeSchema,
25
24
  /** Attached managed storage path; never an external image URL */
26
25
  path: z.string(),
27
- /** Latest write source for this media asset slot from res_provenance_event. `changedAt` is the last-modified timestamp of the current attached file. */
28
- provenance: DatasourceSourceMetadataSchema.nullish(),
29
26
  /** Attached entity/person/news target id, when known */
30
27
  targetId: z.string().nullish(),
31
28
  });
@@ -31,7 +31,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
31
31
  productServiceSlug: string[];
32
32
  } | null | undefined;
33
33
  slug: string;
34
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
34
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
35
35
  updatedAt?: string | null | undefined;
36
36
  };
37
37
  enrichment: {
@@ -351,7 +351,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
351
351
  productServiceSlug: string[];
352
352
  } | null | undefined;
353
353
  slug: string;
354
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
354
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
355
355
  updatedAt?: string | null | undefined;
356
356
  };
357
357
  fundingDetail?: {
@@ -429,7 +429,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
429
429
  productServiceSlug: string[];
430
430
  } | null | undefined;
431
431
  slug: string;
432
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
432
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
433
433
  updatedAt?: string | null | undefined;
434
434
  };
435
435
  acceleratorName: string;
@@ -450,6 +450,12 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
450
450
  discreteValue?: number | null | undefined;
451
451
  entityId: string;
452
452
  id: number;
453
+ publicSource?: {
454
+ lastFetchedAt?: string | null | undefined;
455
+ publishedAt?: string | null | undefined;
456
+ recordedAt: string;
457
+ sourceDetail: string;
458
+ } | null | undefined;
453
459
  textValue?: string | null | undefined;
454
460
  typeResearchDetail: string;
455
461
  updatedAt?: string | null | undefined;
@@ -624,7 +630,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
624
630
  productServiceSlug: string[];
625
631
  } | null | undefined;
626
632
  slug: string;
627
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
633
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
628
634
  updatedAt?: string | null | undefined;
629
635
  };
630
636
  enrichment: {
@@ -944,7 +950,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
944
950
  productServiceSlug: string[];
945
951
  } | null | undefined;
946
952
  slug: string;
947
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
953
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
948
954
  updatedAt?: string | null | undefined;
949
955
  };
950
956
  fundingDetail?: {
@@ -1022,7 +1028,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
1022
1028
  productServiceSlug: string[];
1023
1029
  } | null | undefined;
1024
1030
  slug: string;
1025
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
1031
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
1026
1032
  updatedAt?: string | null | undefined;
1027
1033
  };
1028
1034
  acceleratorName: string;
@@ -1043,6 +1049,12 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
1043
1049
  discreteValue?: number | null | undefined;
1044
1050
  entityId: string;
1045
1051
  id: number;
1052
+ publicSource?: {
1053
+ lastFetchedAt?: string | null | undefined;
1054
+ publishedAt?: string | null | undefined;
1055
+ recordedAt: string;
1056
+ sourceDetail: string;
1057
+ } | null | undefined;
1046
1058
  textValue?: string | null | undefined;
1047
1059
  typeResearchDetail: string;
1048
1060
  updatedAt?: string | null | undefined;
@@ -260,7 +260,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
260
260
  productServiceSlug: string[];
261
261
  } | null | undefined;
262
262
  slug: string;
263
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
263
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
264
264
  updatedAt?: string | null | undefined;
265
265
  };
266
266
  enrichment: {
@@ -580,7 +580,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
580
580
  productServiceSlug: string[];
581
581
  } | null | undefined;
582
582
  slug: string;
583
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
583
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
584
584
  updatedAt?: string | null | undefined;
585
585
  };
586
586
  fundingDetail?: {
@@ -658,7 +658,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
658
658
  productServiceSlug: string[];
659
659
  } | null | undefined;
660
660
  slug: string;
661
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
661
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
662
662
  updatedAt?: string | null | undefined;
663
663
  };
664
664
  acceleratorName: string;
@@ -679,6 +679,12 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
679
679
  discreteValue?: number | null | undefined;
680
680
  entityId: string;
681
681
  id: number;
682
+ publicSource?: {
683
+ lastFetchedAt?: string | null | undefined;
684
+ publishedAt?: string | null | undefined;
685
+ recordedAt: string;
686
+ sourceDetail: string;
687
+ } | null | undefined;
682
688
  textValue?: string | null | undefined;
683
689
  typeResearchDetail: string;
684
690
  updatedAt?: string | null | undefined;
@@ -734,7 +740,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
734
740
  productServiceSlug: string[];
735
741
  } | null | undefined;
736
742
  slug: string;
737
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
743
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
738
744
  updatedAt?: string | null | undefined;
739
745
  };
740
746
  enrichment: {
@@ -1054,7 +1060,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
1054
1060
  productServiceSlug: string[];
1055
1061
  } | null | undefined;
1056
1062
  slug: string;
1057
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
1063
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
1058
1064
  updatedAt?: string | null | undefined;
1059
1065
  };
1060
1066
  fundingDetail?: {
@@ -1132,7 +1138,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
1132
1138
  productServiceSlug: string[];
1133
1139
  } | null | undefined;
1134
1140
  slug: string;
1135
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
1141
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
1136
1142
  updatedAt?: string | null | undefined;
1137
1143
  };
1138
1144
  acceleratorName: string;
@@ -1153,6 +1159,12 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
1153
1159
  discreteValue?: number | null | undefined;
1154
1160
  entityId: string;
1155
1161
  id: number;
1162
+ publicSource?: {
1163
+ lastFetchedAt?: string | null | undefined;
1164
+ publishedAt?: string | null | undefined;
1165
+ recordedAt: string;
1166
+ sourceDetail: string;
1167
+ } | null | undefined;
1156
1168
  textValue?: string | null | undefined;
1157
1169
  typeResearchDetail: string;
1158
1170
  updatedAt?: string | null | undefined;
@@ -185,10 +185,6 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
185
185
  modulePath: "datasource/provenance-actor-type",
186
186
  schemaName: "DatasourceProvenanceActorTypeSchema",
187
187
  },
188
- DatasourceSourceMetadata: {
189
- modulePath: "datasource/source-metadata",
190
- schemaName: "DatasourceSourceMetadataSchema",
191
- },
192
188
  DecimalRange: { modulePath: "decimal/range", schemaName: "DecimalRangeSchema" },
193
189
  DomainConflictDetails: {
194
190
  modulePath: "domain/conflict-details",
@@ -379,6 +375,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
379
375
  modulePath: "entity/research-fact-value",
380
376
  schemaName: "EntityResearchFactValueSchema",
381
377
  },
378
+ EntityResearchPublicSource: {
379
+ modulePath: "entity/research-public-source",
380
+ schemaName: "EntityResearchPublicSourceSchema",
381
+ },
382
382
  EntityResearchSnippet: {
383
383
  modulePath: "entity/research-snippet",
384
384
  schemaName: "EntityResearchSnippetSchema",