@aventurevc/api-schemas 0.8.492 → 0.8.494
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.
- package/dist/entity/headcount-estimate.d.ts +62 -0
- package/dist/entity/headcount-estimate.js +57 -0
- package/dist/entity/revenue-estimate.d.ts +89 -0
- package/dist/entity/revenue-estimate.js +65 -0
- package/dist/entity/valuation-data-confidence.d.ts +4 -0
- package/dist/entity/valuation-data-confidence.js +4 -0
- package/dist/openapi-component-manifest.js +25 -0
- package/dist/revenue/driver-contribution.d.ts +37 -0
- package/dist/revenue/driver-contribution.js +27 -0
- package/dist/revenue/driver-direction.d.ts +16 -0
- package/dist/revenue/driver-direction.js +13 -0
- package/dist/revenue/estimate-regime.d.ts +25 -0
- package/dist/revenue/estimate-regime.js +19 -0
- package/dist/signal/evidence-class.d.ts +27 -0
- package/dist/signal/evidence-class.js +18 -0
- package/dist/signal/family-score.d.ts +35 -0
- package/dist/signal/family-score.js +26 -0
- package/package.json +1 -1
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const EntityHeadcountEstimateSchemaDefinition: z.ZodObject<{
|
|
3
|
+
concordanceScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4
|
+
coverageTier: z.ZodInt;
|
|
5
|
+
dataConfidence: z.ZodEnum<{
|
|
6
|
+
high: "high";
|
|
7
|
+
low: "low";
|
|
8
|
+
medium: "medium";
|
|
9
|
+
}>;
|
|
10
|
+
directSignalCount: z.ZodInt;
|
|
11
|
+
effectiveSignalMass: z.ZodNumber;
|
|
12
|
+
entityId: z.ZodUUID;
|
|
13
|
+
estimatedAt: z.ZodISODateTime;
|
|
14
|
+
evidenceClass: z.ZodUnion<readonly [z.ZodEnum<{
|
|
15
|
+
direct: "direct";
|
|
16
|
+
indirect: "indirect";
|
|
17
|
+
inferred: "inferred";
|
|
18
|
+
}>, z.ZodString]> & {
|
|
19
|
+
enum: {
|
|
20
|
+
direct: "direct";
|
|
21
|
+
indirect: "indirect";
|
|
22
|
+
inferred: "inferred";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
growth12mPct: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
growth6mPct: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
+
indirectSignalCount: z.ZodInt;
|
|
28
|
+
inferredSignalCount: z.ZodInt;
|
|
29
|
+
modelVersion: z.ZodString;
|
|
30
|
+
p10: z.ZodInt;
|
|
31
|
+
p25: z.ZodInt;
|
|
32
|
+
p50: z.ZodInt;
|
|
33
|
+
p75: z.ZodInt;
|
|
34
|
+
p90: z.ZodInt;
|
|
35
|
+
pointEstimate: z.ZodInt;
|
|
36
|
+
signalBreakdown: z.ZodArray<z.ZodType<{
|
|
37
|
+
decayedWeight: number;
|
|
38
|
+
evidenceClass: string;
|
|
39
|
+
observationCount: number;
|
|
40
|
+
signalFamily: string;
|
|
41
|
+
}, import("../signal/family-score.ts").SignalFamilyScoreSchemaInput, z.core.$ZodTypeInternals<{
|
|
42
|
+
decayedWeight: number;
|
|
43
|
+
evidenceClass: string;
|
|
44
|
+
observationCount: number;
|
|
45
|
+
signalFamily: string;
|
|
46
|
+
}, import("../signal/family-score.ts").SignalFamilyScoreSchemaInput>>>;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
type EntityHeadcountEstimateDefinition = z.infer<typeof EntityHeadcountEstimateSchemaDefinition>;
|
|
49
|
+
export interface EntityHeadcountEstimateSchemaInput extends z.input<typeof EntityHeadcountEstimateSchemaDefinition> {
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* An entity's current headcount estimate: point estimate and percentiles, growth, and the evidence class, confidence, and per-family signals behind it.
|
|
53
|
+
*
|
|
54
|
+
* @openapiSchema EntityHeadcountEstimate
|
|
55
|
+
* @endpoint GET /v1/entities/{entityId}/headcount-estimate
|
|
56
|
+
* @contractShape entity.headcount-estimate
|
|
57
|
+
* @contractRole canonical
|
|
58
|
+
*/
|
|
59
|
+
export declare const EntityHeadcountEstimateSchema: z.ZodType<EntityHeadcountEstimateDefinition, EntityHeadcountEstimateSchemaInput>;
|
|
60
|
+
export type EntityHeadcountEstimate = z.infer<typeof EntityHeadcountEstimateSchema>;
|
|
61
|
+
export {};
|
|
62
|
+
//# sourceMappingURL=headcount-estimate.d.ts.map
|
|
@@ -0,0 +1,57 @@
|
|
|
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 { EntityValuationDataConfidenceSchema } from "./valuation-data-confidence.js";
|
|
4
|
+
import { SignalEvidenceClassSchema } from "../signal/evidence-class.js";
|
|
5
|
+
import { SignalFamilyScoreSchema } from "../signal/family-score.js";
|
|
6
|
+
const EntityHeadcountEstimateSchemaDefinition = z.object({
|
|
7
|
+
/** Agreement of the families' point estimates from 0 to 1; 1 is full agreement. */
|
|
8
|
+
concordanceScore: z.number().min(0).max(1).nullish(),
|
|
9
|
+
/** 1 when a direct or indirect signal is active, 2 when only statistical priors are, 0 when no signal is. */
|
|
10
|
+
coverageTier: z.int(),
|
|
11
|
+
/** Confidence tier the evidence supports. */
|
|
12
|
+
dataConfidence: EntityValuationDataConfidenceSchema,
|
|
13
|
+
/** Signal families whose strongest active evidence is direct. */
|
|
14
|
+
directSignalCount: z.int(),
|
|
15
|
+
/** Sum over signal families of ln(1 + family weight); independent families add, redundant snapshots saturate. */
|
|
16
|
+
effectiveSignalMass: z.number(),
|
|
17
|
+
/** Entity id (UUID). */
|
|
18
|
+
entityId: z.uuid(),
|
|
19
|
+
/** When this estimate was computed. */
|
|
20
|
+
estimatedAt: z.iso.datetime({ offset: true }),
|
|
21
|
+
/** Strongest evidence class among the active signal families. */
|
|
22
|
+
evidenceClass: SignalEvidenceClassSchema,
|
|
23
|
+
/** Headcount change over the last 12 months, in percent. */
|
|
24
|
+
growth12mPct: z.number().nullish(),
|
|
25
|
+
/** Headcount change over the last 6 months, in percent. */
|
|
26
|
+
growth6mPct: z.number().nullish(),
|
|
27
|
+
/** Signal families whose strongest active evidence is indirect. */
|
|
28
|
+
indirectSignalCount: z.int(),
|
|
29
|
+
/** Signal families whose strongest active evidence is inferred. */
|
|
30
|
+
inferredSignalCount: z.int(),
|
|
31
|
+
/** Estimation model version that produced this estimate. */
|
|
32
|
+
modelVersion: z.string(),
|
|
33
|
+
/** 10th-percentile headcount. */
|
|
34
|
+
p10: z.int().min(0),
|
|
35
|
+
/** 25th-percentile headcount. */
|
|
36
|
+
p25: z.int().min(0),
|
|
37
|
+
/** Median headcount. */
|
|
38
|
+
p50: z.int().min(0),
|
|
39
|
+
/** 75th-percentile headcount. */
|
|
40
|
+
p75: z.int().min(0),
|
|
41
|
+
/** 90th-percentile headcount. */
|
|
42
|
+
p90: z.int().min(0),
|
|
43
|
+
/** Most likely current headcount. */
|
|
44
|
+
pointEstimate: z.int().min(0),
|
|
45
|
+
/** Each signal family's combined weight in this estimate. */
|
|
46
|
+
signalBreakdown: z.array(SignalFamilyScoreSchema),
|
|
47
|
+
});
|
|
48
|
+
/**
|
|
49
|
+
* An entity's current headcount estimate: point estimate and percentiles, growth, and the evidence class, confidence, and per-family signals behind it.
|
|
50
|
+
*
|
|
51
|
+
* @openapiSchema EntityHeadcountEstimate
|
|
52
|
+
* @endpoint GET /v1/entities/{entityId}/headcount-estimate
|
|
53
|
+
* @contractShape entity.headcount-estimate
|
|
54
|
+
* @contractRole canonical
|
|
55
|
+
*/
|
|
56
|
+
export const EntityHeadcountEstimateSchema = EntityHeadcountEstimateSchemaDefinition;
|
|
57
|
+
//# sourceMappingURL=headcount-estimate.js.map
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const EntityRevenueEstimateSchemaDefinition: z.ZodObject<{
|
|
3
|
+
concordanceScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4
|
+
coverageTier: z.ZodInt;
|
|
5
|
+
currency: z.ZodString;
|
|
6
|
+
dataConfidence: z.ZodEnum<{
|
|
7
|
+
high: "high";
|
|
8
|
+
low: "low";
|
|
9
|
+
medium: "medium";
|
|
10
|
+
}>;
|
|
11
|
+
directSignalCount: z.ZodInt;
|
|
12
|
+
driver: z.ZodArray<z.ZodType<{
|
|
13
|
+
direction: "down" | "up";
|
|
14
|
+
evidenceClass?: string | null | undefined;
|
|
15
|
+
impactMultiplier: number;
|
|
16
|
+
label: string;
|
|
17
|
+
signalFamily?: string | null | undefined;
|
|
18
|
+
}, import("../revenue/driver-contribution.ts").RevenueDriverContributionSchemaInput, z.core.$ZodTypeInternals<{
|
|
19
|
+
direction: "down" | "up";
|
|
20
|
+
evidenceClass?: string | null | undefined;
|
|
21
|
+
impactMultiplier: number;
|
|
22
|
+
label: string;
|
|
23
|
+
signalFamily?: string | null | undefined;
|
|
24
|
+
}, import("../revenue/driver-contribution.ts").RevenueDriverContributionSchemaInput>>>;
|
|
25
|
+
effectiveSignalMass: z.ZodNumber;
|
|
26
|
+
entityId: z.ZodUUID;
|
|
27
|
+
estimatedAt: z.ZodISODateTime;
|
|
28
|
+
evidenceClass: z.ZodUnion<readonly [z.ZodEnum<{
|
|
29
|
+
direct: "direct";
|
|
30
|
+
indirect: "indirect";
|
|
31
|
+
inferred: "inferred";
|
|
32
|
+
}>, z.ZodString]> & {
|
|
33
|
+
enum: {
|
|
34
|
+
direct: "direct";
|
|
35
|
+
indirect: "indirect";
|
|
36
|
+
inferred: "inferred";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
indirectSignalCount: z.ZodInt;
|
|
40
|
+
inferredSignalCount: z.ZodInt;
|
|
41
|
+
modelVersion: z.ZodString;
|
|
42
|
+
p10Usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
|
+
p25Usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
|
+
p50Usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
|
+
p75Usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
|
+
p90Usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
|
+
pointEstimateUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
+
preRevenue: z.ZodBoolean;
|
|
49
|
+
preRevenueProbability: z.ZodNumber;
|
|
50
|
+
regime: z.ZodUnion<readonly [z.ZodEnum<{
|
|
51
|
+
financialAum: "financialAum";
|
|
52
|
+
reportedRegulatory: "reportedRegulatory";
|
|
53
|
+
traditionalOperating: "traditionalOperating";
|
|
54
|
+
vcTechSaas: "vcTechSaas";
|
|
55
|
+
}>, z.ZodString]> & {
|
|
56
|
+
enum: {
|
|
57
|
+
financialAum: "financialAum";
|
|
58
|
+
reportedRegulatory: "reportedRegulatory";
|
|
59
|
+
traditionalOperating: "traditionalOperating";
|
|
60
|
+
vcTechSaas: "vcTechSaas";
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
signalBreakdown: z.ZodArray<z.ZodType<{
|
|
64
|
+
decayedWeight: number;
|
|
65
|
+
evidenceClass: string;
|
|
66
|
+
observationCount: number;
|
|
67
|
+
signalFamily: string;
|
|
68
|
+
}, import("../signal/family-score.ts").SignalFamilyScoreSchemaInput, z.core.$ZodTypeInternals<{
|
|
69
|
+
decayedWeight: number;
|
|
70
|
+
evidenceClass: string;
|
|
71
|
+
observationCount: number;
|
|
72
|
+
signalFamily: string;
|
|
73
|
+
}, import("../signal/family-score.ts").SignalFamilyScoreSchemaInput>>>;
|
|
74
|
+
}, z.core.$strip>;
|
|
75
|
+
type EntityRevenueEstimateDefinition = z.infer<typeof EntityRevenueEstimateSchemaDefinition>;
|
|
76
|
+
export interface EntityRevenueEstimateSchemaInput extends z.input<typeof EntityRevenueEstimateSchemaDefinition> {
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* An entity's current annual revenue estimate: revenue model, pre-revenue probability, percentiles, drivers, and the evidence class, confidence, and per-family signals behind it.
|
|
80
|
+
*
|
|
81
|
+
* @openapiSchema EntityRevenueEstimate
|
|
82
|
+
* @endpoint GET /v1/entities/{entityId}/revenue-estimate
|
|
83
|
+
* @contractShape entity.revenue-estimate
|
|
84
|
+
* @contractRole canonical
|
|
85
|
+
*/
|
|
86
|
+
export declare const EntityRevenueEstimateSchema: z.ZodType<EntityRevenueEstimateDefinition, EntityRevenueEstimateSchemaInput>;
|
|
87
|
+
export type EntityRevenueEstimate = z.infer<typeof EntityRevenueEstimateSchema>;
|
|
88
|
+
export {};
|
|
89
|
+
//# sourceMappingURL=revenue-estimate.d.ts.map
|
|
@@ -0,0 +1,65 @@
|
|
|
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 { EntityValuationDataConfidenceSchema } from "./valuation-data-confidence.js";
|
|
4
|
+
import { RevenueDriverContributionSchema } from "../revenue/driver-contribution.js";
|
|
5
|
+
import { RevenueEstimateRegimeSchema } from "../revenue/estimate-regime.js";
|
|
6
|
+
import { SignalEvidenceClassSchema } from "../signal/evidence-class.js";
|
|
7
|
+
import { SignalFamilyScoreSchema } from "../signal/family-score.js";
|
|
8
|
+
const EntityRevenueEstimateSchemaDefinition = z.object({
|
|
9
|
+
/** Agreement of the families' point estimates from 0 to 1; 1 is full agreement. */
|
|
10
|
+
concordanceScore: z.number().min(0).max(1).nullish(),
|
|
11
|
+
/** 1 when a direct or indirect signal is active, 2 when only statistical priors are, 0 when no signal is. */
|
|
12
|
+
coverageTier: z.int(),
|
|
13
|
+
/** ISO 4217 currency of the amounts; always USD. */
|
|
14
|
+
currency: z.string(),
|
|
15
|
+
/** Confidence tier the evidence supports. */
|
|
16
|
+
dataConfidence: EntityValuationDataConfidenceSchema,
|
|
17
|
+
/** Signal families whose strongest active evidence is direct. */
|
|
18
|
+
directSignalCount: z.int(),
|
|
19
|
+
/** Each estimation method's share of the blended estimate. */
|
|
20
|
+
driver: z.array(RevenueDriverContributionSchema),
|
|
21
|
+
/** Sum over signal families of ln(1 + family weight); independent families add, redundant snapshots saturate. */
|
|
22
|
+
effectiveSignalMass: z.number(),
|
|
23
|
+
/** Entity id (UUID). */
|
|
24
|
+
entityId: z.uuid(),
|
|
25
|
+
/** When this estimate was computed. */
|
|
26
|
+
estimatedAt: z.iso.datetime({ offset: true }),
|
|
27
|
+
/** Strongest evidence class among the active signal families. */
|
|
28
|
+
evidenceClass: SignalEvidenceClassSchema,
|
|
29
|
+
/** Signal families whose strongest active evidence is indirect. */
|
|
30
|
+
indirectSignalCount: z.int(),
|
|
31
|
+
/** Signal families whose strongest active evidence is inferred. */
|
|
32
|
+
inferredSignalCount: z.int(),
|
|
33
|
+
/** Estimation model version that produced this estimate. */
|
|
34
|
+
modelVersion: z.string(),
|
|
35
|
+
/** 10th-percentile annual revenue in USD. */
|
|
36
|
+
p10Usd: z.number().int().nullish(),
|
|
37
|
+
/** 25th-percentile annual revenue in USD. */
|
|
38
|
+
p25Usd: z.number().int().nullish(),
|
|
39
|
+
/** Median annual revenue in USD. */
|
|
40
|
+
p50Usd: z.number().int().nullish(),
|
|
41
|
+
/** 75th-percentile annual revenue in USD. */
|
|
42
|
+
p75Usd: z.number().int().nullish(),
|
|
43
|
+
/** 90th-percentile annual revenue in USD. */
|
|
44
|
+
p90Usd: z.number().int().nullish(),
|
|
45
|
+
/** Most likely annual revenue in USD. */
|
|
46
|
+
pointEstimateUsd: z.number().int().nullish(),
|
|
47
|
+
/** Whether the entity is judged to have no revenue yet. */
|
|
48
|
+
preRevenue: z.boolean(),
|
|
49
|
+
/** Probability from 0 to 1 that the entity has no revenue yet. */
|
|
50
|
+
preRevenueProbability: z.number().min(0).max(1),
|
|
51
|
+
/** Revenue model the estimate follows. */
|
|
52
|
+
regime: RevenueEstimateRegimeSchema,
|
|
53
|
+
/** Each signal family's combined weight in this estimate. */
|
|
54
|
+
signalBreakdown: z.array(SignalFamilyScoreSchema),
|
|
55
|
+
});
|
|
56
|
+
/**
|
|
57
|
+
* An entity's current annual revenue estimate: revenue model, pre-revenue probability, percentiles, drivers, and the evidence class, confidence, and per-family signals behind it.
|
|
58
|
+
*
|
|
59
|
+
* @openapiSchema EntityRevenueEstimate
|
|
60
|
+
* @endpoint GET /v1/entities/{entityId}/revenue-estimate
|
|
61
|
+
* @contractShape entity.revenue-estimate
|
|
62
|
+
* @contractRole canonical
|
|
63
|
+
*/
|
|
64
|
+
export const EntityRevenueEstimateSchema = EntityRevenueEstimateSchemaDefinition;
|
|
65
|
+
//# sourceMappingURL=revenue-estimate.js.map
|
|
@@ -8,8 +8,10 @@ import { z } from "zod/v4";
|
|
|
8
8
|
* @endpoint GET /v1/search/link
|
|
9
9
|
* @endpoint GET /v1/entities/{entityId}
|
|
10
10
|
* @endpoint GET /v1/entities/{entityId}/employee-counts
|
|
11
|
+
* @endpoint GET /v1/entities/{entityId}/headcount-estimate
|
|
11
12
|
* @endpoint GET /v1/entities/{entityId}/investors
|
|
12
13
|
* @endpoint GET /v1/entities/{entityId}/investors/people
|
|
14
|
+
* @endpoint GET /v1/entities/{entityId}/revenue-estimate
|
|
13
15
|
* @endpoint GET /v1/entities/{entityId}/valuations
|
|
14
16
|
* @endpoint GET /v1/people/{personId}
|
|
15
17
|
* @endpoint GET /v1/people/{personId}/graph
|
|
@@ -22,7 +24,9 @@ import { z } from "zod/v4";
|
|
|
22
24
|
* @endpoint POST /v1/people/lookup-batch
|
|
23
25
|
* @endpoint POST /v1/search
|
|
24
26
|
* @endpoint POST /v1/search/shared
|
|
27
|
+
* @usedBySchema EntityHeadcountEstimateSchema
|
|
25
28
|
* @usedBySchema EntityResearchFactValueSchema
|
|
29
|
+
* @usedBySchema EntityRevenueEstimateSchema
|
|
26
30
|
* @usedBySchema EntityValuationTimeSeriesPointSchema
|
|
27
31
|
* @contractShape entity.valuation-data-confidence
|
|
28
32
|
* @contractRole canonical
|
|
@@ -9,8 +9,10 @@ import { z } from "zod/v4";
|
|
|
9
9
|
* @endpoint GET /v1/search/link
|
|
10
10
|
* @endpoint GET /v1/entities/{entityId}
|
|
11
11
|
* @endpoint GET /v1/entities/{entityId}/employee-counts
|
|
12
|
+
* @endpoint GET /v1/entities/{entityId}/headcount-estimate
|
|
12
13
|
* @endpoint GET /v1/entities/{entityId}/investors
|
|
13
14
|
* @endpoint GET /v1/entities/{entityId}/investors/people
|
|
15
|
+
* @endpoint GET /v1/entities/{entityId}/revenue-estimate
|
|
14
16
|
* @endpoint GET /v1/entities/{entityId}/valuations
|
|
15
17
|
* @endpoint GET /v1/people/{personId}
|
|
16
18
|
* @endpoint GET /v1/people/{personId}/graph
|
|
@@ -23,7 +25,9 @@ import { z } from "zod/v4";
|
|
|
23
25
|
* @endpoint POST /v1/people/lookup-batch
|
|
24
26
|
* @endpoint POST /v1/search
|
|
25
27
|
* @endpoint POST /v1/search/shared
|
|
28
|
+
* @usedBySchema EntityHeadcountEstimateSchema
|
|
26
29
|
* @usedBySchema EntityResearchFactValueSchema
|
|
30
|
+
* @usedBySchema EntityRevenueEstimateSchema
|
|
27
31
|
* @usedBySchema EntityValuationTimeSeriesPointSchema
|
|
28
32
|
* @contractShape entity.valuation-data-confidence
|
|
29
33
|
* @contractRole canonical
|
|
@@ -527,6 +527,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
527
527
|
modulePath: "entity/fundraise-transaction-entity",
|
|
528
528
|
schemaName: "EntityFundraiseTransactionEntitySchema",
|
|
529
529
|
},
|
|
530
|
+
EntityHeadcountEstimate: {
|
|
531
|
+
modulePath: "entity/headcount-estimate",
|
|
532
|
+
schemaName: "EntityHeadcountEstimateSchema",
|
|
533
|
+
},
|
|
530
534
|
EntityImage: { modulePath: "entity/image", schemaName: "EntityImageSchema" },
|
|
531
535
|
EntityInvestorParticipation: {
|
|
532
536
|
modulePath: "entity/investor-participation",
|
|
@@ -623,6 +627,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
623
627
|
schemaName: "EntityResearchValueTypeSchema",
|
|
624
628
|
},
|
|
625
629
|
EntityResolution: { modulePath: "entity/resolution", schemaName: "EntityResolutionSchema" },
|
|
630
|
+
EntityRevenueEstimate: {
|
|
631
|
+
modulePath: "entity/revenue-estimate",
|
|
632
|
+
schemaName: "EntityRevenueEstimateSchema",
|
|
633
|
+
},
|
|
626
634
|
EntitySimilarityContext: {
|
|
627
635
|
modulePath: "entity/similarity-context",
|
|
628
636
|
schemaName: "EntitySimilarityContextSchema",
|
|
@@ -1227,6 +1235,18 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
1227
1235
|
modulePath: "research/value-shape-type",
|
|
1228
1236
|
schemaName: "ResearchValueShapeTypeSchema",
|
|
1229
1237
|
},
|
|
1238
|
+
RevenueDriverContribution: {
|
|
1239
|
+
modulePath: "revenue/driver-contribution",
|
|
1240
|
+
schemaName: "RevenueDriverContributionSchema",
|
|
1241
|
+
},
|
|
1242
|
+
RevenueDriverDirection: {
|
|
1243
|
+
modulePath: "revenue/driver-direction",
|
|
1244
|
+
schemaName: "RevenueDriverDirectionSchema",
|
|
1245
|
+
},
|
|
1246
|
+
RevenueEstimateRegime: {
|
|
1247
|
+
modulePath: "revenue/estimate-regime",
|
|
1248
|
+
schemaName: "RevenueEstimateRegimeSchema",
|
|
1249
|
+
},
|
|
1230
1250
|
RoundLabel: { modulePath: "round/label", schemaName: "RoundLabelSchema" },
|
|
1231
1251
|
Search: { modulePath: "search/search", schemaName: "SearchSchema" },
|
|
1232
1252
|
SearchAccountingReceipt: {
|
|
@@ -1344,6 +1364,11 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
1344
1364
|
modulePath: "shared/search-mutation",
|
|
1345
1365
|
schemaName: "SharedSearchMutationSchema",
|
|
1346
1366
|
},
|
|
1367
|
+
SignalEvidenceClass: {
|
|
1368
|
+
modulePath: "signal/evidence-class",
|
|
1369
|
+
schemaName: "SignalEvidenceClassSchema",
|
|
1370
|
+
},
|
|
1371
|
+
SignalFamilyScore: { modulePath: "signal/family-score", schemaName: "SignalFamilyScoreSchema" },
|
|
1347
1372
|
SlugLocation: { modulePath: "slug/location", schemaName: "SlugLocationSchema" },
|
|
1348
1373
|
SlugResource: { modulePath: "redirect/slug-resource", schemaName: "SlugResourceSchema" },
|
|
1349
1374
|
SortObject: { modulePath: "sort/object", schemaName: "SortObjectSchema" },
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const RevenueDriverContributionSchemaDefinition: z.ZodObject<{
|
|
3
|
+
direction: z.ZodEnum<{
|
|
4
|
+
down: "down";
|
|
5
|
+
up: "up";
|
|
6
|
+
}>;
|
|
7
|
+
evidenceClass: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
8
|
+
direct: "direct";
|
|
9
|
+
indirect: "indirect";
|
|
10
|
+
inferred: "inferred";
|
|
11
|
+
}>, z.ZodString]> & {
|
|
12
|
+
enum: {
|
|
13
|
+
direct: "direct";
|
|
14
|
+
indirect: "indirect";
|
|
15
|
+
inferred: "inferred";
|
|
16
|
+
};
|
|
17
|
+
}>>;
|
|
18
|
+
impactMultiplier: z.ZodNumber;
|
|
19
|
+
label: z.ZodString;
|
|
20
|
+
signalFamily: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
type RevenueDriverContributionDefinition = z.infer<typeof RevenueDriverContributionSchemaDefinition>;
|
|
23
|
+
export interface RevenueDriverContributionSchemaInput extends z.input<typeof RevenueDriverContributionSchemaDefinition> {
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* One plain-language feature or signal driver's multiplicative shift on estimated revenue.
|
|
27
|
+
*
|
|
28
|
+
* @openapiSchema RevenueDriverContribution
|
|
29
|
+
* @endpoint GET /v1/entities/{entityId}/revenue-estimate
|
|
30
|
+
* @usedBySchema EntityRevenueEstimateSchema
|
|
31
|
+
* @contractShape revenue.driver-contribution
|
|
32
|
+
* @contractRole canonical
|
|
33
|
+
*/
|
|
34
|
+
export declare const RevenueDriverContributionSchema: z.ZodType<RevenueDriverContributionDefinition, RevenueDriverContributionSchemaInput>;
|
|
35
|
+
export type RevenueDriverContribution = z.infer<typeof RevenueDriverContributionSchema>;
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=driver-contribution.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 { RevenueDriverDirectionSchema } from "./driver-direction.js";
|
|
4
|
+
import { SignalEvidenceClassSchema } from "../signal/evidence-class.js";
|
|
5
|
+
const RevenueDriverContributionSchemaDefinition = z.object({
|
|
6
|
+
/** Direction this driver moves the estimate (up or down). */
|
|
7
|
+
direction: RevenueDriverDirectionSchema,
|
|
8
|
+
/** Optional evidence class of the underlying signal family. */
|
|
9
|
+
evidenceClass: SignalEvidenceClassSchema.nullish(),
|
|
10
|
+
/** Multiplicative impact on estimated median revenue relative to prior. */
|
|
11
|
+
impactMultiplier: z.number().min(0),
|
|
12
|
+
/** Plain-language explanation of the feature or signal driver. */
|
|
13
|
+
label: z.string(),
|
|
14
|
+
/** Optional underlying signal family key, such as statutoryFiling. */
|
|
15
|
+
signalFamily: z.string().nullish(),
|
|
16
|
+
});
|
|
17
|
+
/**
|
|
18
|
+
* One plain-language feature or signal driver's multiplicative shift on estimated revenue.
|
|
19
|
+
*
|
|
20
|
+
* @openapiSchema RevenueDriverContribution
|
|
21
|
+
* @endpoint GET /v1/entities/{entityId}/revenue-estimate
|
|
22
|
+
* @usedBySchema EntityRevenueEstimateSchema
|
|
23
|
+
* @contractShape revenue.driver-contribution
|
|
24
|
+
* @contractRole canonical
|
|
25
|
+
*/
|
|
26
|
+
export const RevenueDriverContributionSchema = RevenueDriverContributionSchemaDefinition;
|
|
27
|
+
//# sourceMappingURL=driver-contribution.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Whether a driver pushes estimated revenue up or down relative to the prior.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema RevenueDriverDirection
|
|
6
|
+
* @endpoint GET /v1/entities/{entityId}/revenue-estimate
|
|
7
|
+
* @usedBySchema RevenueDriverContributionSchema
|
|
8
|
+
* @contractShape revenue.driver-direction
|
|
9
|
+
* @contractRole canonical
|
|
10
|
+
*/
|
|
11
|
+
export declare const RevenueDriverDirectionSchema: z.ZodEnum<{
|
|
12
|
+
down: "down";
|
|
13
|
+
up: "up";
|
|
14
|
+
}>;
|
|
15
|
+
export type RevenueDriverDirection = z.infer<typeof RevenueDriverDirectionSchema>;
|
|
16
|
+
//# sourceMappingURL=driver-direction.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
* Whether a driver pushes estimated revenue up or down relative to the prior.
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema RevenueDriverDirection
|
|
7
|
+
* @endpoint GET /v1/entities/{entityId}/revenue-estimate
|
|
8
|
+
* @usedBySchema RevenueDriverContributionSchema
|
|
9
|
+
* @contractShape revenue.driver-direction
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export const RevenueDriverDirectionSchema = z.enum(["up", "down"]);
|
|
13
|
+
//# sourceMappingURL=driver-direction.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Revenue model behind an estimate: reportedRegulatory = revenue a regulator publishes; financialAum = fees on assets under management; vcTechSaas = venture-backed software scaled by headcount and funding; traditionalOperating = industry revenue per employee.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema RevenueEstimateRegime
|
|
6
|
+
* @endpoint GET /v1/entities/{entityId}/revenue-estimate
|
|
7
|
+
* @usedBySchema EntityRevenueEstimateSchema
|
|
8
|
+
* @contractShape revenue.estimate-regime
|
|
9
|
+
* @contractRole canonical
|
|
10
|
+
*/
|
|
11
|
+
export declare const RevenueEstimateRegimeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
12
|
+
financialAum: "financialAum";
|
|
13
|
+
reportedRegulatory: "reportedRegulatory";
|
|
14
|
+
traditionalOperating: "traditionalOperating";
|
|
15
|
+
vcTechSaas: "vcTechSaas";
|
|
16
|
+
}>, z.ZodString]> & {
|
|
17
|
+
enum: {
|
|
18
|
+
financialAum: "financialAum";
|
|
19
|
+
reportedRegulatory: "reportedRegulatory";
|
|
20
|
+
traditionalOperating: "traditionalOperating";
|
|
21
|
+
vcTechSaas: "vcTechSaas";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export type RevenueEstimateRegime = z.infer<typeof RevenueEstimateRegimeSchema>;
|
|
25
|
+
//# sourceMappingURL=estimate-regime.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
const RevenueEstimateRegimeSchemaKnownMembers = z.enum([
|
|
4
|
+
"reportedRegulatory",
|
|
5
|
+
"financialAum",
|
|
6
|
+
"vcTechSaas",
|
|
7
|
+
"traditionalOperating",
|
|
8
|
+
]);
|
|
9
|
+
/**
|
|
10
|
+
* Revenue model behind an estimate: reportedRegulatory = revenue a regulator publishes; financialAum = fees on assets under management; vcTechSaas = venture-backed software scaled by headcount and funding; traditionalOperating = industry revenue per employee.
|
|
11
|
+
*
|
|
12
|
+
* @openapiSchema RevenueEstimateRegime
|
|
13
|
+
* @endpoint GET /v1/entities/{entityId}/revenue-estimate
|
|
14
|
+
* @usedBySchema EntityRevenueEstimateSchema
|
|
15
|
+
* @contractShape revenue.estimate-regime
|
|
16
|
+
* @contractRole canonical
|
|
17
|
+
*/
|
|
18
|
+
export const RevenueEstimateRegimeSchema = Object.assign(z.union([RevenueEstimateRegimeSchemaKnownMembers, z.string()]), { enum: RevenueEstimateRegimeSchemaKnownMembers.enum });
|
|
19
|
+
//# sourceMappingURL=estimate-regime.js.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Three-tier evidence hierarchy: direct statutory/verified filings, indirect operational signals, or inferred statistical priors.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema SignalEvidenceClass
|
|
6
|
+
* @endpoint GET /v1/entities/{entityId}/headcount-estimate
|
|
7
|
+
* @endpoint GET /v1/entities/{entityId}/revenue-estimate
|
|
8
|
+
* @usedBySchema EntityHeadcountEstimateSchema
|
|
9
|
+
* @usedBySchema EntityRevenueEstimateSchema
|
|
10
|
+
* @usedBySchema RevenueDriverContributionSchema
|
|
11
|
+
* @usedBySchema SignalFamilyScoreSchema
|
|
12
|
+
* @contractShape signal.evidence-class
|
|
13
|
+
* @contractRole canonical
|
|
14
|
+
*/
|
|
15
|
+
export declare const SignalEvidenceClassSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
16
|
+
direct: "direct";
|
|
17
|
+
indirect: "indirect";
|
|
18
|
+
inferred: "inferred";
|
|
19
|
+
}>, z.ZodString]> & {
|
|
20
|
+
enum: {
|
|
21
|
+
direct: "direct";
|
|
22
|
+
indirect: "indirect";
|
|
23
|
+
inferred: "inferred";
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export type SignalEvidenceClass = z.infer<typeof SignalEvidenceClassSchema>;
|
|
27
|
+
//# sourceMappingURL=evidence-class.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
const SignalEvidenceClassSchemaKnownMembers = z.enum(["direct", "indirect", "inferred"]);
|
|
4
|
+
/**
|
|
5
|
+
* Three-tier evidence hierarchy: direct statutory/verified filings, indirect operational signals, or inferred statistical priors.
|
|
6
|
+
*
|
|
7
|
+
* @openapiSchema SignalEvidenceClass
|
|
8
|
+
* @endpoint GET /v1/entities/{entityId}/headcount-estimate
|
|
9
|
+
* @endpoint GET /v1/entities/{entityId}/revenue-estimate
|
|
10
|
+
* @usedBySchema EntityHeadcountEstimateSchema
|
|
11
|
+
* @usedBySchema EntityRevenueEstimateSchema
|
|
12
|
+
* @usedBySchema RevenueDriverContributionSchema
|
|
13
|
+
* @usedBySchema SignalFamilyScoreSchema
|
|
14
|
+
* @contractShape signal.evidence-class
|
|
15
|
+
* @contractRole canonical
|
|
16
|
+
*/
|
|
17
|
+
export const SignalEvidenceClassSchema = Object.assign(z.union([SignalEvidenceClassSchemaKnownMembers, z.string()]), { enum: SignalEvidenceClassSchemaKnownMembers.enum });
|
|
18
|
+
//# sourceMappingURL=evidence-class.js.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const SignalFamilyScoreSchemaDefinition: z.ZodObject<{
|
|
3
|
+
decayedWeight: z.ZodNumber;
|
|
4
|
+
evidenceClass: z.ZodUnion<readonly [z.ZodEnum<{
|
|
5
|
+
direct: "direct";
|
|
6
|
+
indirect: "indirect";
|
|
7
|
+
inferred: "inferred";
|
|
8
|
+
}>, z.ZodString]> & {
|
|
9
|
+
enum: {
|
|
10
|
+
direct: "direct";
|
|
11
|
+
indirect: "indirect";
|
|
12
|
+
inferred: "inferred";
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
observationCount: z.ZodInt;
|
|
16
|
+
signalFamily: z.ZodString;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
type SignalFamilyScoreDefinition = z.infer<typeof SignalFamilyScoreSchemaDefinition>;
|
|
19
|
+
export interface SignalFamilyScoreSchemaInput extends z.input<typeof SignalFamilyScoreSchemaDefinition> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* One signal family's combined, time-decayed weight in an estimate, with its strongest evidence class and how many observations it combined.
|
|
23
|
+
*
|
|
24
|
+
* @openapiSchema SignalFamilyScore
|
|
25
|
+
* @endpoint GET /v1/entities/{entityId}/headcount-estimate
|
|
26
|
+
* @endpoint GET /v1/entities/{entityId}/revenue-estimate
|
|
27
|
+
* @usedBySchema EntityHeadcountEstimateSchema
|
|
28
|
+
* @usedBySchema EntityRevenueEstimateSchema
|
|
29
|
+
* @contractShape signal.family-score
|
|
30
|
+
* @contractRole canonical
|
|
31
|
+
*/
|
|
32
|
+
export declare const SignalFamilyScoreSchema: z.ZodType<SignalFamilyScoreDefinition, SignalFamilyScoreSchemaInput>;
|
|
33
|
+
export type SignalFamilyScore = z.infer<typeof SignalFamilyScoreSchema>;
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=family-score.d.ts.map
|
|
@@ -0,0 +1,26 @@
|
|
|
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 { SignalEvidenceClassSchema } from "./evidence-class.js";
|
|
4
|
+
const SignalFamilyScoreSchemaDefinition = z.object({
|
|
5
|
+
/** Time-decayed family weight: each further snapshot adds half the previous share, capped at the evidence class's family ceiling. */
|
|
6
|
+
decayedWeight: z.number(),
|
|
7
|
+
/** Strongest evidence class among the family's observations. */
|
|
8
|
+
evidenceClass: SignalEvidenceClassSchema,
|
|
9
|
+
/** Observations combined into this family's weight. */
|
|
10
|
+
observationCount: z.int(),
|
|
11
|
+
/** Signal family, such as jobPosting or statutoryFiling. */
|
|
12
|
+
signalFamily: z.string(),
|
|
13
|
+
});
|
|
14
|
+
/**
|
|
15
|
+
* One signal family's combined, time-decayed weight in an estimate, with its strongest evidence class and how many observations it combined.
|
|
16
|
+
*
|
|
17
|
+
* @openapiSchema SignalFamilyScore
|
|
18
|
+
* @endpoint GET /v1/entities/{entityId}/headcount-estimate
|
|
19
|
+
* @endpoint GET /v1/entities/{entityId}/revenue-estimate
|
|
20
|
+
* @usedBySchema EntityHeadcountEstimateSchema
|
|
21
|
+
* @usedBySchema EntityRevenueEstimateSchema
|
|
22
|
+
* @contractShape signal.family-score
|
|
23
|
+
* @contractRole canonical
|
|
24
|
+
*/
|
|
25
|
+
export const SignalFamilyScoreSchema = SignalFamilyScoreSchemaDefinition;
|
|
26
|
+
//# sourceMappingURL=family-score.js.map
|