@aventurevc/api-schemas 0.8.3 → 0.8.6

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 (95) hide show
  1. package/dist/billing/additional-usage-meter.d.ts +2 -4
  2. package/dist/billing/additional-usage-type.d.ts +2 -4
  3. package/dist/billing/additional-usage-type.js +2 -4
  4. package/dist/billing/additional-usage.d.ts +2 -2
  5. package/dist/billing/catalog-additional-usage.d.ts +2 -4
  6. package/dist/billing/catalog-allowance.d.ts +2 -4
  7. package/dist/billing/catalog-allowance.js +1 -9
  8. package/dist/billing/catalog-plan.d.ts +1 -0
  9. package/dist/billing/catalog-plan.js +2 -0
  10. package/dist/billing/catalog-tier.d.ts +2 -2
  11. package/dist/billing/catalog.d.ts +6 -4
  12. package/dist/billing/recurring-price.d.ts +15 -0
  13. package/dist/billing/recurring-price.js +18 -0
  14. package/dist/billing/subscription.d.ts +31 -2
  15. package/dist/billing/subscription.js +3 -0
  16. package/dist/enrichment/batch.d.ts +25 -0
  17. package/dist/enrichment/batch.js +27 -0
  18. package/dist/enrichment/enrichment.d.ts +84 -0
  19. package/dist/enrichment/enrichment.js +23 -0
  20. package/dist/enrichment/mode.d.ts +3 -0
  21. package/dist/enrichment/mode.js +3 -0
  22. package/dist/enrichment/refusal-type.d.ts +18 -0
  23. package/dist/enrichment/refusal-type.js +18 -0
  24. package/dist/entity/alias-type.d.ts +2 -0
  25. package/dist/entity/alias-type.js +2 -0
  26. package/dist/entity/entity.d.ts +4 -0
  27. package/dist/entity/entity.js +4 -0
  28. package/dist/entity/image.d.ts +2 -0
  29. package/dist/entity/image.js +2 -0
  30. package/dist/entity/name-alias-entity-alias-type.d.ts +2 -0
  31. package/dist/entity/name-alias-entity-alias-type.js +2 -0
  32. package/dist/entity/person-owner.d.ts +2 -0
  33. package/dist/entity/person-owner.js +2 -0
  34. package/dist/entity/similarity-context.d.ts +2 -0
  35. package/dist/entity/similarity-context.js +2 -0
  36. package/dist/entity/similarity-origin.d.ts +1 -0
  37. package/dist/entity/similarity-origin.js +1 -0
  38. package/dist/entity/similarity-summary.d.ts +125 -0
  39. package/dist/entity/similarity-summary.js +22 -0
  40. package/dist/entity/sitemap.d.ts +2 -0
  41. package/dist/entity/sitemap.js +2 -0
  42. package/dist/entity/url-crawl-cdn-provider.d.ts +1 -0
  43. package/dist/entity/url-crawl-cdn-provider.js +1 -0
  44. package/dist/entity/url-crawl-render-mode.d.ts +1 -0
  45. package/dist/entity/url-crawl-render-mode.js +1 -0
  46. package/dist/entity/url-link.d.ts +2 -0
  47. package/dist/entity/url-link.js +2 -0
  48. package/dist/entity/url-type.d.ts +1 -0
  49. package/dist/entity/url-type.js +1 -0
  50. package/dist/harness/chassis.d.ts +2 -0
  51. package/dist/harness/chassis.js +2 -0
  52. package/dist/harness/llm-api.d.ts +2 -0
  53. package/dist/harness/llm-api.js +2 -0
  54. package/dist/harness/run-detail.d.ts +183 -0
  55. package/dist/harness/run-detail.js +27 -0
  56. package/dist/harness/run-environment.d.ts +2 -0
  57. package/dist/harness/run-environment.js +2 -0
  58. package/dist/harness/run-lane.d.ts +2 -0
  59. package/dist/harness/run-lane.js +2 -0
  60. package/dist/harness/run-progress.d.ts +20 -0
  61. package/dist/harness/run-progress.js +30 -0
  62. package/dist/harness/run-status.d.ts +2 -0
  63. package/dist/harness/run-status.js +2 -0
  64. package/dist/harness/run-type.d.ts +2 -0
  65. package/dist/harness/run-type.js +2 -0
  66. package/dist/harness/run.d.ts +14 -13
  67. package/dist/harness/run.js +14 -11
  68. package/dist/http/problem-detail.d.ts +2 -4
  69. package/dist/http/problem-detail.js +1 -9
  70. package/dist/identification/candidate.d.ts +3 -0
  71. package/dist/identification/candidate.js +5 -0
  72. package/dist/identification/identification.d.ts +19 -14
  73. package/dist/identification/identification.js +13 -12
  74. package/dist/job/enqueue.d.ts +19 -0
  75. package/dist/job/enqueue.js +18 -0
  76. package/dist/job/state.d.ts +20 -0
  77. package/dist/job/state.js +20 -0
  78. package/dist/lookup/job-mention.d.ts +152 -0
  79. package/dist/lookup/job-mention.js +29 -0
  80. package/dist/lookup/job-mutation.d.ts +20 -0
  81. package/dist/lookup/job-mutation.js +20 -0
  82. package/dist/lookup/job.d.ts +202 -0
  83. package/dist/lookup/job.js +31 -0
  84. package/dist/openapi-component-manifest.js +28 -0
  85. package/dist/pageable/object.d.ts +2 -0
  86. package/dist/pageable/object.js +2 -0
  87. package/dist/pagination/schemas.d.ts +164 -0
  88. package/dist/pagination/schemas.js +22 -0
  89. package/dist/problem/type.d.ts +1 -0
  90. package/dist/problem/type.js +1 -0
  91. package/dist/research/allowance-usage.d.ts +22 -0
  92. package/dist/research/allowance-usage.js +8 -0
  93. package/dist/sort/object.d.ts +2 -0
  94. package/dist/sort/object.js +2 -0
  95. package/package.json +1 -1
@@ -27,7 +27,9 @@ type EntityNameAliasEntityAliasTypeDefinition = z.infer<typeof EntityNameAliasEn
27
27
  * @endpoint GET /v1/entities/{entityId}/relationships
28
28
  * @endpoint GET /v1/entities/{entityId}/research
29
29
  * @endpoint GET /v1/entities/{entityId}/similar
30
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
30
31
  * @endpoint GET /v1/entities/relationships/{relationshipId}
32
+ * @endpoint GET /v1/harness/runs/{runId}
31
33
  * @endpoint GET /v1/news/{newsId}/related-entities
32
34
  * @endpoint GET /v1/people/{personId}
33
35
  * @endpoint GET /v1/people/{personId}/graph
@@ -28,7 +28,9 @@ const EntityNameAliasEntityAliasTypeSchemaDefinition = z.object({
28
28
  * @endpoint GET /v1/entities/{entityId}/relationships
29
29
  * @endpoint GET /v1/entities/{entityId}/research
30
30
  * @endpoint GET /v1/entities/{entityId}/similar
31
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
31
32
  * @endpoint GET /v1/entities/relationships/{relationshipId}
33
+ * @endpoint GET /v1/harness/runs/{runId}
32
34
  * @endpoint GET /v1/news/{newsId}/related-entities
33
35
  * @endpoint GET /v1/people/{personId}
34
36
  * @endpoint GET /v1/people/{personId}/graph
@@ -5,10 +5,12 @@ import { z } from "zod/v4";
5
5
  * @openapiSchema EntityPersonOwner
6
6
  * @standardProblemResponse
7
7
  * @usedBySchema BlogPostSchema
8
+ * @usedBySchema EnrichmentSchema
8
9
  * @usedBySchema EntityFundraiseInvestorJoinSchema
9
10
  * @usedBySchema EntityTextSchema
10
11
  * @usedBySchema EntityUrlLinkSchema
11
12
  * @usedBySchema IdentificationCandidateSchema
13
+ * @usedBySchema LookupJobMentionSchema
12
14
  * @usedBySchema ResolvedHandleSchema
13
15
  * @usedBySchema UniqueIdSchema
14
16
  * @usedBySchema UrlDuplicateConflictSchema
@@ -6,10 +6,12 @@ import { z } from "zod/v4";
6
6
  * @openapiSchema EntityPersonOwner
7
7
  * @standardProblemResponse
8
8
  * @usedBySchema BlogPostSchema
9
+ * @usedBySchema EnrichmentSchema
9
10
  * @usedBySchema EntityFundraiseInvestorJoinSchema
10
11
  * @usedBySchema EntityTextSchema
11
12
  * @usedBySchema EntityUrlLinkSchema
12
13
  * @usedBySchema IdentificationCandidateSchema
14
+ * @usedBySchema LookupJobMentionSchema
13
15
  * @usedBySchema ResolvedHandleSchema
14
16
  * @usedBySchema UniqueIdSchema
15
17
  * @usedBySchema UrlDuplicateConflictSchema
@@ -23,7 +23,9 @@ type EntitySimilarityContextDefinition = z.infer<typeof EntitySimilarityContextS
23
23
  *
24
24
  * @openapiSchema EntitySimilarityContext
25
25
  * @endpoint GET /v1/entities/{entityId}/similar
26
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
26
27
  * @usedBySchema EntitySimilarityResultSchema
28
+ * @usedBySchema EntitySimilaritySummarySchema
27
29
  * @contractShape entity.similarity-context
28
30
  * @contractRole canonical
29
31
  */
@@ -27,7 +27,9 @@ const EntitySimilarityContextSchemaDefinition = z.object({
27
27
  *
28
28
  * @openapiSchema EntitySimilarityContext
29
29
  * @endpoint GET /v1/entities/{entityId}/similar
30
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
30
31
  * @usedBySchema EntitySimilarityResultSchema
32
+ * @usedBySchema EntitySimilaritySummarySchema
31
33
  * @contractShape entity.similarity-context
32
34
  * @contractRole canonical
33
35
  */
@@ -4,6 +4,7 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema EntitySimilarityOrigin
6
6
  * @endpoint GET /v1/entities/{entityId}/similar
7
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
7
8
  * @usedBySchema EntitySimilarityContextSchema
8
9
  * @contractShape entity.similarity-origin
9
10
  * @contractRole canonical
@@ -5,6 +5,7 @@ import { z } from "zod/v4";
5
5
  *
6
6
  * @openapiSchema EntitySimilarityOrigin
7
7
  * @endpoint GET /v1/entities/{entityId}/similar
8
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
8
9
  * @usedBySchema EntitySimilarityContextSchema
9
10
  * @contractShape entity.similarity-origin
10
11
  * @contractRole canonical
@@ -0,0 +1,125 @@
1
+ import { z } from "zod/v4";
2
+ declare const EntitySimilaritySummarySchemaDefinition: z.ZodObject<{
3
+ core: z.ZodObject<{
4
+ defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
+ foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6
+ id: z.ZodUUID;
7
+ image: z.ZodType<{
8
+ isMonogram: boolean;
9
+ logo?: string | null | undefined;
10
+ logoSquare?: string | null | undefined;
11
+ }, unknown, z.core.$ZodTypeInternals<{
12
+ isMonogram: boolean;
13
+ logo?: string | null | undefined;
14
+ logoSquare?: string | null | undefined;
15
+ }, unknown>>;
16
+ lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
17
+ nameAlias: z.ZodArray<z.ZodType<{
18
+ displayable?: boolean | null | undefined;
19
+ name: string;
20
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
21
+ }, unknown, z.core.$ZodTypeInternals<{
22
+ displayable?: boolean | null | undefined;
23
+ name: string;
24
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
25
+ }, unknown>>>;
26
+ nameBrand: z.ZodString;
27
+ nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ publicId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ publicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ sitemap: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32
+ hasAcquisitions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
33
+ hasAnalysis: z.ZodBoolean;
34
+ hasEmployees: z.ZodBoolean;
35
+ hasFundraising: z.ZodBoolean;
36
+ hasNews: z.ZodBoolean;
37
+ productServiceSlug: z.ZodArray<z.ZodString>;
38
+ }, z.core.$strip>>>;
39
+ slug: z.ZodString;
40
+ typeRecord: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
41
+ "Business Line": "Business Line";
42
+ Company: "Company";
43
+ Fund: "Fund";
44
+ Government: "Government";
45
+ "Investment Firm": "Investment Firm";
46
+ Nonprofit: "Nonprofit";
47
+ Organization: "Organization";
48
+ Product: "Product";
49
+ Service: "Service";
50
+ }>>>;
51
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
52
+ }, z.core.$strip>;
53
+ similarity: z.ZodType<{
54
+ compositeScore?: number | null | undefined;
55
+ cosineScore?: number | null | undefined;
56
+ curatedAsOf?: string | null | undefined;
57
+ curatedRelationshipType?: string | null | undefined;
58
+ curatedSource?: string | null | undefined;
59
+ derivedFromEntityId?: string | null | undefined;
60
+ matchedSectionWeight?: number | null | undefined;
61
+ origin: "computed" | "curated" | "derived" | "precomputed" | "semantic";
62
+ rank: number;
63
+ sharedSectionCount?: number | null | undefined;
64
+ }, unknown, z.core.$ZodTypeInternals<{
65
+ compositeScore?: number | null | undefined;
66
+ cosineScore?: number | null | undefined;
67
+ curatedAsOf?: string | null | undefined;
68
+ curatedRelationshipType?: string | null | undefined;
69
+ curatedSource?: string | null | undefined;
70
+ derivedFromEntityId?: string | null | undefined;
71
+ matchedSectionWeight?: number | null | undefined;
72
+ origin: "computed" | "curated" | "derived" | "precomputed" | "semantic";
73
+ rank: number;
74
+ sharedSectionCount?: number | null | undefined;
75
+ }, unknown>>;
76
+ urlLink: z.ZodArray<z.ZodType<{
77
+ crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
78
+ crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
79
+ createdAt?: string | null | undefined;
80
+ id?: number | null | undefined;
81
+ isCurrent?: boolean | null | undefined;
82
+ isPrimary?: boolean | null | undefined;
83
+ owner?: {
84
+ entityId?: string | null | undefined;
85
+ personId?: string | null | undefined;
86
+ } | null | undefined;
87
+ sourceId?: string | null | undefined;
88
+ status?: string | null | undefined;
89
+ statusChecked?: string | null | undefined;
90
+ updatedAt?: string | null | undefined;
91
+ url: string;
92
+ urlType: "alternativeto" | "angellist" | "appstore" | "awsmarketplace" | "bloomberg" | "capterra" | "changelog" | "chromewebstore" | "crates" | "crunchbase" | "discord" | "dockerhub" | "documentation" | "facebook" | "forum" | "g2" | "gartnerpeerinsights" | "getapp" | "github" | "glassdoor" | "googleplay" | "homebrew" | "hubspotmarketplace" | "huggingface" | "instagram" | "linkedin" | "maven" | "morningstar" | "nasdaq" | "npm" | "nyse" | "pitchbook" | "producthunt" | "pypi" | "roadmap" | "salesforceappexchange" | "slackappdirectory" | "sourceforge" | "statuspage" | "subreddit" | "support" | "theorg" | "tiktok" | "trustpilot" | "trustradius" | "twitter" | "vscodemarketplace" | "website" | "wellfound" | "wikipedia" | "ycombinator" | "youtube";
93
+ }, unknown, z.core.$ZodTypeInternals<{
94
+ crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
95
+ crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
96
+ createdAt?: string | null | undefined;
97
+ id?: number | null | undefined;
98
+ isCurrent?: boolean | null | undefined;
99
+ isPrimary?: boolean | null | undefined;
100
+ owner?: {
101
+ entityId?: string | null | undefined;
102
+ personId?: string | null | undefined;
103
+ } | null | undefined;
104
+ sourceId?: string | null | undefined;
105
+ status?: string | null | undefined;
106
+ statusChecked?: string | null | undefined;
107
+ updatedAt?: string | null | undefined;
108
+ url: string;
109
+ urlType: "alternativeto" | "angellist" | "appstore" | "awsmarketplace" | "bloomberg" | "capterra" | "changelog" | "chromewebstore" | "crates" | "crunchbase" | "discord" | "dockerhub" | "documentation" | "facebook" | "forum" | "g2" | "gartnerpeerinsights" | "getapp" | "github" | "glassdoor" | "googleplay" | "homebrew" | "hubspotmarketplace" | "huggingface" | "instagram" | "linkedin" | "maven" | "morningstar" | "nasdaq" | "npm" | "nyse" | "pitchbook" | "producthunt" | "pypi" | "roadmap" | "salesforceappexchange" | "slackappdirectory" | "sourceforge" | "statuspage" | "subreddit" | "support" | "theorg" | "tiktok" | "trustpilot" | "trustradius" | "twitter" | "vscodemarketplace" | "website" | "wellfound" | "wikipedia" | "ycombinator" | "youtube";
110
+ }, unknown>>>;
111
+ }, z.core.$strip>;
112
+ type EntitySimilaritySummaryDefinition = z.infer<typeof EntitySimilaritySummarySchemaDefinition>;
113
+ /**
114
+ * Lean similar-entity rail row: core identity, current URL links, and similarity provenance. Use EntitySimilarityResult for full EntityList rows.
115
+ *
116
+ * @openapiSchema EntitySimilaritySummary
117
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
118
+ * @usedBySchema PageEntitySimilaritySummarySchema
119
+ * @contractShape entity.similarity-summary
120
+ * @contractRole canonical
121
+ */
122
+ export declare const EntitySimilaritySummarySchema: z.ZodType<EntitySimilaritySummaryDefinition>;
123
+ export type EntitySimilaritySummary = z.infer<typeof EntitySimilaritySummarySchema>;
124
+ export {};
125
+ //# sourceMappingURL=similarity-summary.d.ts.map
@@ -0,0 +1,22 @@
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 { EntitySchema } from "./entity.js";
4
+ import { EntitySimilarityContextSchema } from "./similarity-context.js";
5
+ import { EntityUrlLinkSchema } from "./url-link.js";
6
+ const EntitySimilaritySummarySchemaDefinition = z.object({
7
+ core: EntitySchema,
8
+ similarity: EntitySimilarityContextSchema,
9
+ /** Current primary URL links, one per URL type */
10
+ urlLink: z.array(EntityUrlLinkSchema),
11
+ });
12
+ /**
13
+ * Lean similar-entity rail row: core identity, current URL links, and similarity provenance. Use EntitySimilarityResult for full EntityList rows.
14
+ *
15
+ * @openapiSchema EntitySimilaritySummary
16
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
17
+ * @usedBySchema PageEntitySimilaritySummarySchema
18
+ * @contractShape entity.similarity-summary
19
+ * @contractRole canonical
20
+ */
21
+ export const EntitySimilaritySummarySchema = EntitySimilaritySummarySchemaDefinition;
22
+ //# sourceMappingURL=similarity-summary.js.map
@@ -18,7 +18,9 @@ import { z } from "zod/v4";
18
18
  * @endpoint GET /v1/entities/{entityId}/relationships
19
19
  * @endpoint GET /v1/entities/{entityId}/research
20
20
  * @endpoint GET /v1/entities/{entityId}/similar
21
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
21
22
  * @endpoint GET /v1/entities/relationships/{relationshipId}
23
+ * @endpoint GET /v1/harness/runs/{runId}
22
24
  * @endpoint GET /v1/news/{newsId}/related-entities
23
25
  * @endpoint GET /v1/people/{personId}
24
26
  * @endpoint GET /v1/people/{personId}/graph
@@ -19,7 +19,9 @@ import { z } from "zod/v4";
19
19
  * @endpoint GET /v1/entities/{entityId}/relationships
20
20
  * @endpoint GET /v1/entities/{entityId}/research
21
21
  * @endpoint GET /v1/entities/{entityId}/similar
22
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
22
23
  * @endpoint GET /v1/entities/relationships/{relationshipId}
24
+ * @endpoint GET /v1/harness/runs/{runId}
23
25
  * @endpoint GET /v1/news/{newsId}/related-entities
24
26
  * @endpoint GET /v1/people/{personId}
25
27
  * @endpoint GET /v1/people/{personId}/graph
@@ -13,6 +13,7 @@ import { z } from "zod/v4";
13
13
  * @endpoint GET /v1/entities/{entityId}/people/{associationId}
14
14
  * @endpoint GET /v1/entities/{entityId}/person-investors
15
15
  * @endpoint GET /v1/entities/{entityId}/similar
16
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
16
17
  * @endpoint GET /v1/entities/{entityId}/urls
17
18
  * @endpoint GET /v1/entities/{entityId}/urls/{urlId}
18
19
  * @endpoint GET /v1/people/{personId}
@@ -14,6 +14,7 @@ import { z } from "zod/v4";
14
14
  * @endpoint GET /v1/entities/{entityId}/people/{associationId}
15
15
  * @endpoint GET /v1/entities/{entityId}/person-investors
16
16
  * @endpoint GET /v1/entities/{entityId}/similar
17
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
17
18
  * @endpoint GET /v1/entities/{entityId}/urls
18
19
  * @endpoint GET /v1/entities/{entityId}/urls/{urlId}
19
20
  * @endpoint GET /v1/people/{personId}
@@ -13,6 +13,7 @@ import { z } from "zod/v4";
13
13
  * @endpoint GET /v1/entities/{entityId}/people/{associationId}
14
14
  * @endpoint GET /v1/entities/{entityId}/person-investors
15
15
  * @endpoint GET /v1/entities/{entityId}/similar
16
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
16
17
  * @endpoint GET /v1/entities/{entityId}/urls
17
18
  * @endpoint GET /v1/entities/{entityId}/urls/{urlId}
18
19
  * @endpoint GET /v1/people/{personId}
@@ -14,6 +14,7 @@ import { z } from "zod/v4";
14
14
  * @endpoint GET /v1/entities/{entityId}/people/{associationId}
15
15
  * @endpoint GET /v1/entities/{entityId}/person-investors
16
16
  * @endpoint GET /v1/entities/{entityId}/similar
17
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
17
18
  * @endpoint GET /v1/entities/{entityId}/urls
18
19
  * @endpoint GET /v1/entities/{entityId}/urls/{urlId}
19
20
  * @endpoint GET /v1/people/{personId}
@@ -110,6 +110,7 @@ type EntityUrlLinkDefinition = z.infer<typeof EntityUrlLinkSchemaDefinition>;
110
110
  * @endpoint GET /v1/entities/{entityId}/people/{associationId}
111
111
  * @endpoint GET /v1/entities/{entityId}/person-investors
112
112
  * @endpoint GET /v1/entities/{entityId}/similar
113
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
113
114
  * @endpoint GET /v1/entities/{entityId}/urls
114
115
  * @endpoint GET /v1/entities/{entityId}/urls/{urlId}
115
116
  * @endpoint GET /v1/people/{personId}
@@ -128,6 +129,7 @@ type EntityUrlLinkDefinition = z.infer<typeof EntityUrlLinkSchemaDefinition>;
128
129
  * @endpoint POST /v1/search/natural/entities
129
130
  * @usedBySchema EntityEnrichmentSchema
130
131
  * @usedBySchema EntityPersonAssociationSchema
132
+ * @usedBySchema EntitySimilaritySummarySchema
131
133
  * @usedBySchema PageEntityUrlLinkSchema
132
134
  * @usedBySchema PersonEnrichmentSchema
133
135
  * @contractShape entity.url-link
@@ -37,6 +37,7 @@ const EntityUrlLinkSchemaDefinition = z.object({
37
37
  * @endpoint GET /v1/entities/{entityId}/people/{associationId}
38
38
  * @endpoint GET /v1/entities/{entityId}/person-investors
39
39
  * @endpoint GET /v1/entities/{entityId}/similar
40
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
40
41
  * @endpoint GET /v1/entities/{entityId}/urls
41
42
  * @endpoint GET /v1/entities/{entityId}/urls/{urlId}
42
43
  * @endpoint GET /v1/people/{personId}
@@ -55,6 +56,7 @@ const EntityUrlLinkSchemaDefinition = z.object({
55
56
  * @endpoint POST /v1/search/natural/entities
56
57
  * @usedBySchema EntityEnrichmentSchema
57
58
  * @usedBySchema EntityPersonAssociationSchema
59
+ * @usedBySchema EntitySimilaritySummarySchema
58
60
  * @usedBySchema PageEntityUrlLinkSchema
59
61
  * @usedBySchema PersonEnrichmentSchema
60
62
  * @contractShape entity.url-link
@@ -13,6 +13,7 @@ import { z } from "zod/v4";
13
13
  * @endpoint GET /v1/entities/{entityId}/people/{associationId}
14
14
  * @endpoint GET /v1/entities/{entityId}/person-investors
15
15
  * @endpoint GET /v1/entities/{entityId}/similar
16
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
16
17
  * @endpoint GET /v1/entities/{entityId}/urls
17
18
  * @endpoint GET /v1/entities/{entityId}/urls/{urlId}
18
19
  * @endpoint GET /v1/people/{personId}
@@ -14,6 +14,7 @@ import { z } from "zod/v4";
14
14
  * @endpoint GET /v1/entities/{entityId}/people/{associationId}
15
15
  * @endpoint GET /v1/entities/{entityId}/person-investors
16
16
  * @endpoint GET /v1/entities/{entityId}/similar
17
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
17
18
  * @endpoint GET /v1/entities/{entityId}/urls
18
19
  * @endpoint GET /v1/entities/{entityId}/urls/{urlId}
19
20
  * @endpoint GET /v1/people/{personId}
@@ -3,6 +3,8 @@ import { z } from "zod/v4";
3
3
  * Agent loop a harness run executes on: the Claude Agent SDK or the Pi agent SDK
4
4
  *
5
5
  * @openapiSchema HarnessChassis
6
+ * @endpoint GET /v1/harness/runs/{runId}
7
+ * @endpoint POST /v1/enrichments
6
8
  * @endpoint POST /v1/entities/{entityId}/enrichments
7
9
  * @endpoint POST /v1/people/{personId}/enrichments
8
10
  * @usedBySchema HarnessRunSchema
@@ -4,6 +4,8 @@ import { z } from "zod/v4";
4
4
  * Agent loop a harness run executes on: the Claude Agent SDK or the Pi agent SDK
5
5
  *
6
6
  * @openapiSchema HarnessChassis
7
+ * @endpoint GET /v1/harness/runs/{runId}
8
+ * @endpoint POST /v1/enrichments
7
9
  * @endpoint POST /v1/entities/{entityId}/enrichments
8
10
  * @endpoint POST /v1/people/{personId}/enrichments
9
11
  * @usedBySchema HarnessRunSchema
@@ -3,6 +3,8 @@ import { z } from "zod/v4";
3
3
  * Gateway wire API for a run's LLM calls: Anthropic Messages, OpenAI Chat Completions, or OpenAI Responses
4
4
  *
5
5
  * @openapiSchema HarnessLlmApi
6
+ * @endpoint GET /v1/harness/runs/{runId}
7
+ * @endpoint POST /v1/enrichments
6
8
  * @endpoint POST /v1/entities/{entityId}/enrichments
7
9
  * @endpoint POST /v1/people/{personId}/enrichments
8
10
  * @usedBySchema HarnessRunSchema
@@ -4,6 +4,8 @@ import { z } from "zod/v4";
4
4
  * Gateway wire API for a run's LLM calls: Anthropic Messages, OpenAI Chat Completions, or OpenAI Responses
5
5
  *
6
6
  * @openapiSchema HarnessLlmApi
7
+ * @endpoint GET /v1/harness/runs/{runId}
8
+ * @endpoint POST /v1/enrichments
7
9
  * @endpoint POST /v1/entities/{entityId}/enrichments
8
10
  * @endpoint POST /v1/people/{personId}/enrichments
9
11
  * @usedBySchema HarnessRunSchema
@@ -0,0 +1,183 @@
1
+ import { z } from "zod/v4";
2
+ declare const HarnessRunDetailSchemaDefinition: z.ZodObject<{
3
+ entity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4
+ defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
+ foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6
+ id: z.ZodUUID;
7
+ image: z.ZodType<{
8
+ isMonogram: boolean;
9
+ logo?: string | null | undefined;
10
+ logoSquare?: string | null | undefined;
11
+ }, unknown, z.core.$ZodTypeInternals<{
12
+ isMonogram: boolean;
13
+ logo?: string | null | undefined;
14
+ logoSquare?: string | null | undefined;
15
+ }, unknown>>;
16
+ lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
17
+ nameAlias: z.ZodArray<z.ZodType<{
18
+ displayable?: boolean | null | undefined;
19
+ name: string;
20
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
21
+ }, unknown, z.core.$ZodTypeInternals<{
22
+ displayable?: boolean | null | undefined;
23
+ name: string;
24
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
25
+ }, unknown>>>;
26
+ nameBrand: z.ZodString;
27
+ nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ publicId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ publicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ sitemap: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32
+ hasAcquisitions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
33
+ hasAnalysis: z.ZodBoolean;
34
+ hasEmployees: z.ZodBoolean;
35
+ hasFundraising: z.ZodBoolean;
36
+ hasNews: z.ZodBoolean;
37
+ productServiceSlug: z.ZodArray<z.ZodString>;
38
+ }, z.core.$strip>>>;
39
+ slug: z.ZodString;
40
+ typeRecord: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
41
+ "Business Line": "Business Line";
42
+ Company: "Company";
43
+ Fund: "Fund";
44
+ Government: "Government";
45
+ "Investment Firm": "Investment Firm";
46
+ Nonprofit: "Nonprofit";
47
+ Organization: "Organization";
48
+ Product: "Product";
49
+ Service: "Service";
50
+ }>>>;
51
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
52
+ }, z.core.$strip>>>;
53
+ latestStatus: z.ZodOptional<z.ZodNullable<z.ZodObject<{
54
+ complete: z.ZodBoolean;
55
+ entitySlug: z.ZodNullable<z.ZodString>;
56
+ gateRemaining: z.ZodArray<z.ZodString>;
57
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ whatElseRemaining: z.ZodArray<z.ZodString>;
59
+ writeThisIteration: z.ZodArray<z.ZodString>;
60
+ }, z.core.$strip>>>;
61
+ provider: z.ZodOptional<z.ZodNullable<z.ZodObject<{
62
+ defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
64
+ id: z.ZodUUID;
65
+ image: z.ZodType<{
66
+ isMonogram: boolean;
67
+ logo?: string | null | undefined;
68
+ logoSquare?: string | null | undefined;
69
+ }, unknown, z.core.$ZodTypeInternals<{
70
+ isMonogram: boolean;
71
+ logo?: string | null | undefined;
72
+ logoSquare?: string | null | undefined;
73
+ }, unknown>>;
74
+ lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
75
+ nameAlias: z.ZodArray<z.ZodType<{
76
+ displayable?: boolean | null | undefined;
77
+ name: string;
78
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
79
+ }, unknown, z.core.$ZodTypeInternals<{
80
+ displayable?: boolean | null | undefined;
81
+ name: string;
82
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
83
+ }, unknown>>>;
84
+ nameBrand: z.ZodString;
85
+ nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
86
+ operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
87
+ publicId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
88
+ publicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
89
+ sitemap: z.ZodOptional<z.ZodNullable<z.ZodObject<{
90
+ hasAcquisitions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
91
+ hasAnalysis: z.ZodBoolean;
92
+ hasEmployees: z.ZodBoolean;
93
+ hasFundraising: z.ZodBoolean;
94
+ hasNews: z.ZodBoolean;
95
+ productServiceSlug: z.ZodArray<z.ZodString>;
96
+ }, z.core.$strip>>>;
97
+ slug: z.ZodString;
98
+ typeRecord: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
99
+ "Business Line": "Business Line";
100
+ Company: "Company";
101
+ Fund: "Fund";
102
+ Government: "Government";
103
+ "Investment Firm": "Investment Firm";
104
+ Nonprofit: "Nonprofit";
105
+ Organization: "Organization";
106
+ Product: "Product";
107
+ Service: "Service";
108
+ }>>>;
109
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
110
+ }, z.core.$strip>>>;
111
+ publicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
112
+ run: z.ZodObject<{
113
+ attempt: z.ZodInt;
114
+ chassis: z.ZodEnum<{
115
+ "claude-agent-sdk": "claude-agent-sdk";
116
+ "pi-agent-sdk": "pi-agent-sdk";
117
+ }>;
118
+ chassisRouted: z.ZodBoolean;
119
+ createdAt: z.ZodISODateTime;
120
+ entitySlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
121
+ environment: z.ZodEnum<{
122
+ development: "development";
123
+ production: "production";
124
+ staging: "staging";
125
+ unassigned: "unassigned";
126
+ }>;
127
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
128
+ failureClass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
129
+ finishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
130
+ hasSourceDocument: z.ZodBoolean;
131
+ id: z.ZodUUID;
132
+ iteration: z.ZodInt;
133
+ lane: z.ZodEnum<{
134
+ background: "background";
135
+ interactive: "interactive";
136
+ }>;
137
+ latestStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
138
+ llmApi: z.ZodEnum<{
139
+ anthropic: "anthropic";
140
+ "openai-chat": "openai-chat";
141
+ "openai-responses": "openai-responses";
142
+ }>;
143
+ maxIteration: z.ZodInt;
144
+ maxScoutConcurrent: z.ZodInt;
145
+ mode: z.ZodEnum<{
146
+ COMPREHENSIVE: "COMPREHENSIVE";
147
+ INDIVIDUAL: "INDIVIDUAL";
148
+ }>;
149
+ model: z.ZodString;
150
+ nextAttemptAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
151
+ resumeSafeUntil: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
152
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
153
+ status: z.ZodEnum<{
154
+ completed: "completed";
155
+ failed: "failed";
156
+ queued: "queued";
157
+ running: "running";
158
+ stopped: "stopped";
159
+ }>;
160
+ subagentModel: z.ZodString;
161
+ taskPresetKey: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
162
+ type: z.ZodEnum<{
163
+ ENRICHMENT: "ENRICHMENT";
164
+ TASK: "TASK";
165
+ }>;
166
+ updatedAt: z.ZodISODateTime;
167
+ url: z.ZodString;
168
+ userPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
169
+ }, z.core.$strip>;
170
+ }, z.core.$strip>;
171
+ type HarnessRunDetailDefinition = z.infer<typeof HarnessRunDetailSchemaDefinition>;
172
+ /**
173
+ * Harness run with its resolved public entity
174
+ *
175
+ * @openapiSchema HarnessRunDetail
176
+ * @endpoint GET /v1/harness/runs/{runId}
177
+ * @contractShape harness.run-detail
178
+ * @contractRole canonical
179
+ */
180
+ export declare const HarnessRunDetailSchema: z.ZodType<HarnessRunDetailDefinition>;
181
+ export type HarnessRunDetail = z.infer<typeof HarnessRunDetailSchema>;
182
+ export {};
183
+ //# sourceMappingURL=run-detail.d.ts.map
@@ -0,0 +1,27 @@
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 { EntitySchema } from "../entity/entity.js";
4
+ import { HarnessRunProgressSchema } from "./run-progress.js";
5
+ import { HarnessRunSchema } from "./run.js";
6
+ const HarnessRunDetailSchemaDefinition = z.object({
7
+ /** Current public entity resolved from the run slug */
8
+ entity: EntitySchema.nullish(),
9
+ /** Parsed principal-facing loop progress; null when the raw run status is absent or invalid */
10
+ latestStatus: HarnessRunProgressSchema.nullish(),
11
+ /** Parent organization's core record when the resolved entity is a Product/Service; null for every other entity type */
12
+ provider: EntitySchema.nullish(),
13
+ /** Exact renderable public profile URL for the resolved entity */
14
+ publicUrl: z.string().nullish(),
15
+ /** Canonical harness run */
16
+ run: HarnessRunSchema,
17
+ });
18
+ /**
19
+ * Harness run with its resolved public entity
20
+ *
21
+ * @openapiSchema HarnessRunDetail
22
+ * @endpoint GET /v1/harness/runs/{runId}
23
+ * @contractShape harness.run-detail
24
+ * @contractRole canonical
25
+ */
26
+ export const HarnessRunDetailSchema = HarnessRunDetailSchemaDefinition;
27
+ //# sourceMappingURL=run-detail.js.map
@@ -3,6 +3,8 @@ import { z } from "zod/v4";
3
3
  * Owning API environment
4
4
  *
5
5
  * @openapiSchema HarnessRunEnvironment
6
+ * @endpoint GET /v1/harness/runs/{runId}
7
+ * @endpoint POST /v1/enrichments
6
8
  * @endpoint POST /v1/entities/{entityId}/enrichments
7
9
  * @endpoint POST /v1/people/{personId}/enrichments
8
10
  * @usedBySchema HarnessRunSchema
@@ -4,6 +4,8 @@ import { z } from "zod/v4";
4
4
  * Owning API environment
5
5
  *
6
6
  * @openapiSchema HarnessRunEnvironment
7
+ * @endpoint GET /v1/harness/runs/{runId}
8
+ * @endpoint POST /v1/enrichments
7
9
  * @endpoint POST /v1/entities/{entityId}/enrichments
8
10
  * @endpoint POST /v1/people/{personId}/enrichments
9
11
  * @usedBySchema HarnessRunSchema
@@ -3,6 +3,8 @@ import { z } from "zod/v4";
3
3
  * Queue lane for admission priority: interactive client work vs background backlog
4
4
  *
5
5
  * @openapiSchema HarnessRunLane
6
+ * @endpoint GET /v1/harness/runs/{runId}
7
+ * @endpoint POST /v1/enrichments
6
8
  * @endpoint POST /v1/entities/{entityId}/enrichments
7
9
  * @endpoint POST /v1/people/{personId}/enrichments
8
10
  * @usedBySchema HarnessRunSchema