@aventurevc/api-schemas 0.8.22 → 0.8.28

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 +8 -5
  3. package/dist/entity/acquisition.js +3 -1
  4. package/dist/entity/detail.d.ts +34 -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 +34 -12
  10. package/dist/entity/list-research.d.ts +10 -2
  11. package/dist/entity/list.d.ts +14 -6
  12. package/dist/entity/relationship.d.ts +6 -3
  13. package/dist/entity/relationship.js +4 -3
  14. package/dist/entity/research-detail.d.ts +4 -0
  15. package/dist/entity/research-detail.js +3 -0
  16. package/dist/entity/research-public-source.d.ts +42 -0
  17. package/dist/entity/research-public-source.js +44 -0
  18. package/dist/entity/research-snippet.d.ts +4 -0
  19. package/dist/entity/research-snippet.js +3 -0
  20. package/dist/entity/research.d.ts +14 -2
  21. package/dist/entity/resolution.d.ts +34 -12
  22. package/dist/entity/similarity-result.d.ts +14 -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 +14 -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 +14 -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 +14 -6
  36. package/dist/lookup/job.d.ts +14 -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 +14 -6
  40. package/dist/natural/search-result.d.ts +14 -6
  41. package/dist/openapi-component-manifest.js +4 -4
  42. package/dist/pagination/schemas.d.ts +156 -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
@@ -448,7 +448,7 @@ declare const PersonDetailSchemaDefinition: z.ZodObject<{
448
448
  productServiceSlug: string[];
449
449
  } | null | undefined;
450
450
  slug: string;
451
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
451
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
452
452
  updatedAt?: string | null | undefined;
453
453
  };
454
454
  };
@@ -517,7 +517,7 @@ declare const PersonDetailSchemaDefinition: z.ZodObject<{
517
517
  productServiceSlug: string[];
518
518
  } | null | undefined;
519
519
  slug: string;
520
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
520
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
521
521
  updatedAt?: string | null | undefined;
522
522
  };
523
523
  };
@@ -84,7 +84,7 @@ declare const PersonGraphCareerContextSchemaDefinition: z.ZodObject<{
84
84
  productServiceSlug: z.ZodArray<z.ZodString>;
85
85
  }, z.core.$strip>>>;
86
86
  slug: z.ZodString;
87
- typeRecord: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
87
+ typeRecord: z.ZodEnum<{
88
88
  "Business Line": "Business Line";
89
89
  Company: "Company";
90
90
  Fund: "Fund";
@@ -94,7 +94,7 @@ declare const PersonGraphCareerContextSchemaDefinition: z.ZodObject<{
94
94
  Organization: "Organization";
95
95
  Product: "Product";
96
96
  Service: "Service";
97
- }>>>;
97
+ }>;
98
98
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
99
99
  }, z.core.$strip>;
100
100
  fundingDetail: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -253,7 +253,7 @@ declare const PersonGraphCareerContextSchemaDefinition: z.ZodObject<{
253
253
  productServiceSlug: string[];
254
254
  } | null | undefined;
255
255
  slug: string;
256
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
256
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
257
257
  updatedAt?: string | null | undefined;
258
258
  };
259
259
  fundingDetail?: {
@@ -309,7 +309,7 @@ declare const PersonGraphCareerContextSchemaDefinition: z.ZodObject<{
309
309
  productServiceSlug: string[];
310
310
  } | null | undefined;
311
311
  slug: string;
312
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
312
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
313
313
  updatedAt?: string | null | undefined;
314
314
  };
315
315
  fundingDetail?: {
@@ -60,7 +60,7 @@ declare const PersonGraphCoInvestorSchemaDefinition: z.ZodObject<{
60
60
  productServiceSlug: z.ZodArray<z.ZodString>;
61
61
  }, z.core.$strip>>>;
62
62
  slug: z.ZodString;
63
- typeRecord: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
63
+ typeRecord: z.ZodEnum<{
64
64
  "Business Line": "Business Line";
65
65
  Company: "Company";
66
66
  Fund: "Fund";
@@ -70,7 +70,7 @@ declare const PersonGraphCoInvestorSchemaDefinition: z.ZodObject<{
70
70
  Organization: "Organization";
71
71
  Product: "Product";
72
72
  Service: "Service";
73
- }>>>;
73
+ }>;
74
74
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
75
75
  }, z.core.$strip>>>;
76
76
  transactionId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -38,7 +38,7 @@ declare const PersonGraphSimilarEntitySchemaDefinition: z.ZodObject<{
38
38
  productServiceSlug: z.ZodArray<z.ZodString>;
39
39
  }, z.core.$strip>>>;
40
40
  slug: z.ZodString;
41
- typeRecord: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
41
+ typeRecord: z.ZodEnum<{
42
42
  "Business Line": "Business Line";
43
43
  Company: "Company";
44
44
  Fund: "Fund";
@@ -48,7 +48,7 @@ declare const PersonGraphSimilarEntitySchemaDefinition: z.ZodObject<{
48
48
  Organization: "Organization";
49
49
  Product: "Product";
50
50
  Service: "Service";
51
- }>>>;
51
+ }>;
52
52
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
53
53
  }, z.core.$strip>;
54
54
  fundingDetail: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -57,7 +57,7 @@ declare const PersonGraphSchemaDefinition: z.ZodObject<{
57
57
  productServiceSlug: string[];
58
58
  } | null | undefined;
59
59
  slug: string;
60
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
60
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
61
61
  updatedAt?: string | null | undefined;
62
62
  };
63
63
  fundingDetail?: {
@@ -159,7 +159,7 @@ declare const PersonGraphSchemaDefinition: z.ZodObject<{
159
159
  productServiceSlug: string[];
160
160
  } | null | undefined;
161
161
  slug: string;
162
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
162
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
163
163
  updatedAt?: string | null | undefined;
164
164
  };
165
165
  fundingDetail?: {
@@ -242,7 +242,7 @@ declare const PersonGraphSchemaDefinition: z.ZodObject<{
242
242
  productServiceSlug: string[];
243
243
  } | null | undefined;
244
244
  slug: string;
245
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
245
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
246
246
  updatedAt?: string | null | undefined;
247
247
  };
248
248
  fundingDetail?: {
@@ -344,7 +344,7 @@ declare const PersonGraphSchemaDefinition: z.ZodObject<{
344
344
  productServiceSlug: string[];
345
345
  } | null | undefined;
346
346
  slug: string;
347
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
347
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
348
348
  updatedAt?: string | null | undefined;
349
349
  };
350
350
  fundingDetail?: {
@@ -414,7 +414,7 @@ declare const PersonGraphSchemaDefinition: z.ZodObject<{
414
414
  productServiceSlug: string[];
415
415
  } | null | undefined;
416
416
  slug: string;
417
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
417
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
418
418
  updatedAt?: string | null | undefined;
419
419
  } | null | undefined;
420
420
  transactionId?: string | null | undefined;
@@ -461,7 +461,7 @@ declare const PersonGraphSchemaDefinition: z.ZodObject<{
461
461
  productServiceSlug: string[];
462
462
  } | null | undefined;
463
463
  slug: string;
464
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
464
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
465
465
  updatedAt?: string | null | undefined;
466
466
  } | null | undefined;
467
467
  transactionId?: string | null | undefined;
@@ -37,7 +37,7 @@ declare const PersonInvestedCompanySchemaDefinition: z.ZodObject<{
37
37
  productServiceSlug: z.ZodArray<z.ZodString>;
38
38
  }, z.core.$strip>>>;
39
39
  slug: z.ZodString;
40
- typeRecord: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
40
+ typeRecord: z.ZodEnum<{
41
41
  "Business Line": "Business Line";
42
42
  Company: "Company";
43
43
  Fund: "Fund";
@@ -47,7 +47,7 @@ declare const PersonInvestedCompanySchemaDefinition: z.ZodObject<{
47
47
  Organization: "Organization";
48
48
  Product: "Product";
49
49
  Service: "Service";
50
- }>>>;
50
+ }>;
51
51
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
52
52
  }, z.core.$strip>;
53
53
  }, z.core.$strip>;
@@ -31,7 +31,7 @@ declare const PersonInvestmentSchemaDefinition: 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
  }, unknown, z.core.$ZodTypeInternals<{
@@ -64,7 +64,7 @@ declare const PersonInvestmentSchemaDefinition: z.ZodObject<{
64
64
  productServiceSlug: string[];
65
65
  } | null | undefined;
66
66
  slug: string;
67
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
67
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
68
68
  updatedAt?: string | null | undefined;
69
69
  };
70
70
  }, unknown>>;
@@ -301,7 +301,7 @@ declare const PersonInvestorParticipationSchemaDefinition: z.ZodObject<{
301
301
  productServiceSlug: string[];
302
302
  } | null | undefined;
303
303
  slug: string;
304
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
304
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
305
305
  updatedAt?: string | null | undefined;
306
306
  };
307
307
  };
@@ -629,7 +629,7 @@ declare const PersonInvestorParticipationSchemaDefinition: z.ZodObject<{
629
629
  productServiceSlug: string[];
630
630
  } | null | undefined;
631
631
  slug: string;
632
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
632
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
633
633
  updatedAt?: string | null | undefined;
634
634
  };
635
635
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.22",
3
+ "version": "0.8.28",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",
@@ -1,24 +0,0 @@
1
- import { z } from "zod/v4";
2
- /**
3
- * Grouped source/provenance metadata for private v1 response fields
4
- *
5
- * @openapiSchema DatasourceSourceMetadata
6
- * @endpoint GET /v1/entities/{entityId}/logo
7
- * @endpoint GET /v1/news/{newsId}/thumbnail
8
- * @endpoint GET /v1/people/{personId}/photo
9
- * @usedBySchema LogoAccuracySchema
10
- * @usedBySchema MediaUploadSchema
11
- * @contractShape datasource.source-metadata
12
- * @contractRole canonical
13
- */
14
- export declare const DatasourceSourceMetadataSchema: 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
- export type DatasourceSourceMetadata = z.infer<typeof DatasourceSourceMetadataSchema>;
24
- //# sourceMappingURL=source-metadata.d.ts.map
@@ -1,24 +0,0 @@
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
- /**
4
- * Grouped source/provenance metadata for private v1 response fields
5
- *
6
- * @openapiSchema DatasourceSourceMetadata
7
- * @endpoint GET /v1/entities/{entityId}/logo
8
- * @endpoint GET /v1/news/{newsId}/thumbnail
9
- * @endpoint GET /v1/people/{personId}/photo
10
- * @usedBySchema LogoAccuracySchema
11
- * @usedBySchema MediaUploadSchema
12
- * @contractShape datasource.source-metadata
13
- * @contractRole canonical
14
- */
15
- export const DatasourceSourceMetadataSchema = z.object({
16
- changedAt: z.iso.datetime({ offset: true }).nullish(),
17
- dataSourceUpdatedAt: z.iso.datetime({ offset: true }).nullish(),
18
- detail: z.string().nullish(),
19
- kind: z.string().nullish(),
20
- pendingApproval: z.int().nullish(),
21
- sourceId: z.string().nullish(),
22
- status: z.string().nullish(),
23
- });
24
- //# sourceMappingURL=source-metadata.js.map