@aventurevc/api-schemas 0.8.490 → 0.8.492

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.
@@ -0,0 +1,36 @@
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
+ * Peer-group distribution summary across valued peers (and subject when it holds a daily quote).
5
+ *
6
+ * @openapiSchema EntityPeerMetricSummary
7
+ * @endpoint GET /v1/entities/lookup-exact
8
+ * @endpoint GET /v1/search/link
9
+ * @endpoint GET /v1/entities/{entityId}
10
+ * @endpoint GET /v1/entities/{entityId}/investors
11
+ * @endpoint GET /v1/entities/{entityId}/research
12
+ * @endpoint GET /v1/search/link/jobs/{jobId}
13
+ * @endpoint GET /v1/search/shared/{id}
14
+ * @endpoint GET /v1/search/shared/slug/{slug}
15
+ * @endpoint POST /v1/entities/lookup-batch
16
+ * @endpoint POST /v1/entities/lookup-matches
17
+ * @endpoint POST /v1/entities/search
18
+ * @endpoint POST /v1/search
19
+ * @endpoint POST /v1/search/shared
20
+ * @usedBySchema EntityPeerMultipleSummarySchema
21
+ * @contractShape entity.peer-metric-summary
22
+ * @contractRole canonical
23
+ */
24
+ export const EntityPeerMetricSummarySchema = z.object({
25
+ /** Maximum value among peer-group members with a valid metric value. */
26
+ max: z.number().nullish(),
27
+ /** Arithmetic mean across peer-group members with a valid metric value. */
28
+ mean: z.number().nullish(),
29
+ /** Median (50th percentile) across peer-group members with a valid metric value. */
30
+ median: z.number().nullish(),
31
+ /** Minimum value among peer-group members with a valid metric value. */
32
+ min: z.number().nullish(),
33
+ /** Count of peer-group members contributing a non-null observation. */
34
+ sampleCount: z.int(),
35
+ });
36
+ //# sourceMappingURL=peer-metric-summary.js.map
@@ -0,0 +1,115 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Precomputed peer-group averages, medians, ranges, and sample counts combining the subject (when publicly valued) and its active outgoing comparablePeer targets.
4
+ *
5
+ * @openapiSchema EntityPeerMultipleSummary
6
+ * @endpoint GET /v1/entities/lookup-exact
7
+ * @endpoint GET /v1/search/link
8
+ * @endpoint GET /v1/entities/{entityId}
9
+ * @endpoint GET /v1/entities/{entityId}/investors
10
+ * @endpoint GET /v1/entities/{entityId}/research
11
+ * @endpoint GET /v1/search/link/jobs/{jobId}
12
+ * @endpoint GET /v1/search/shared/{id}
13
+ * @endpoint GET /v1/search/shared/slug/{slug}
14
+ * @endpoint POST /v1/entities/lookup-batch
15
+ * @endpoint POST /v1/entities/lookup-matches
16
+ * @endpoint POST /v1/entities/search
17
+ * @endpoint POST /v1/search
18
+ * @endpoint POST /v1/search/shared
19
+ * @usedBySchema EntityMarketMultipleSchema
20
+ * @contractShape entity.peer-multiple-summary
21
+ * @contractRole canonical
22
+ */
23
+ export declare const EntityPeerMultipleSummarySchema: z.ZodObject<{
24
+ asOfDate: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
25
+ computedAt: z.ZodISODateTime;
26
+ ebitdaMargin: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
+ sampleCount: z.ZodInt;
32
+ }, z.core.$strip>>>;
33
+ evToEbit: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
+ sampleCount: z.ZodInt;
39
+ }, z.core.$strip>>>;
40
+ evToEbitda: z.ZodOptional<z.ZodNullable<z.ZodObject<{
41
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
42
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ sampleCount: z.ZodInt;
46
+ }, z.core.$strip>>>;
47
+ evToFreeCashFlow: z.ZodOptional<z.ZodNullable<z.ZodObject<{
48
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
49
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
50
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
51
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
52
+ sampleCount: z.ZodInt;
53
+ }, z.core.$strip>>>;
54
+ evToGrossProfit: z.ZodOptional<z.ZodNullable<z.ZodObject<{
55
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
56
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
57
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
58
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
59
+ sampleCount: z.ZodInt;
60
+ }, z.core.$strip>>>;
61
+ evToRevenue: z.ZodOptional<z.ZodNullable<z.ZodObject<{
62
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
63
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
64
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
65
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
66
+ sampleCount: z.ZodInt;
67
+ }, z.core.$strip>>>;
68
+ freeCashFlowMargin: z.ZodOptional<z.ZodNullable<z.ZodObject<{
69
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
70
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
71
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
72
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
73
+ sampleCount: z.ZodInt;
74
+ }, z.core.$strip>>>;
75
+ grossMargin: z.ZodOptional<z.ZodNullable<z.ZodObject<{
76
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
77
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
78
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
79
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
80
+ sampleCount: z.ZodInt;
81
+ }, z.core.$strip>>>;
82
+ netMargin: z.ZodOptional<z.ZodNullable<z.ZodObject<{
83
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
84
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
85
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
86
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
87
+ sampleCount: z.ZodInt;
88
+ }, z.core.$strip>>>;
89
+ operatingMargin: z.ZodOptional<z.ZodNullable<z.ZodObject<{
90
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
91
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
92
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
93
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94
+ sampleCount: z.ZodInt;
95
+ }, z.core.$strip>>>;
96
+ peerCount: z.ZodInt;
97
+ priceToEarnings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
98
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
99
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
100
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
101
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
102
+ sampleCount: z.ZodInt;
103
+ }, z.core.$strip>>>;
104
+ revenueGrowthYoy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
105
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
106
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
107
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
108
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
109
+ sampleCount: z.ZodInt;
110
+ }, z.core.$strip>>>;
111
+ selfIncluded: z.ZodBoolean;
112
+ valuedPeerCount: z.ZodInt;
113
+ }, z.core.$strip>;
114
+ export type EntityPeerMultipleSummary = z.infer<typeof EntityPeerMultipleSummarySchema>;
115
+ //# sourceMappingURL=peer-multiple-summary.d.ts.map
@@ -0,0 +1,61 @@
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 { EntityPeerMetricSummarySchema } from "./peer-metric-summary.js";
4
+ /**
5
+ * Precomputed peer-group averages, medians, ranges, and sample counts combining the subject (when publicly valued) and its active outgoing comparablePeer targets.
6
+ *
7
+ * @openapiSchema EntityPeerMultipleSummary
8
+ * @endpoint GET /v1/entities/lookup-exact
9
+ * @endpoint GET /v1/search/link
10
+ * @endpoint GET /v1/entities/{entityId}
11
+ * @endpoint GET /v1/entities/{entityId}/investors
12
+ * @endpoint GET /v1/entities/{entityId}/research
13
+ * @endpoint GET /v1/search/link/jobs/{jobId}
14
+ * @endpoint GET /v1/search/shared/{id}
15
+ * @endpoint GET /v1/search/shared/slug/{slug}
16
+ * @endpoint POST /v1/entities/lookup-batch
17
+ * @endpoint POST /v1/entities/lookup-matches
18
+ * @endpoint POST /v1/entities/search
19
+ * @endpoint POST /v1/search
20
+ * @endpoint POST /v1/search/shared
21
+ * @usedBySchema EntityMarketMultipleSchema
22
+ * @contractShape entity.peer-multiple-summary
23
+ * @contractRole canonical
24
+ */
25
+ export const EntityPeerMultipleSummarySchema = z.object({
26
+ /** Latest market quote date represented in the peer-group aggregation. */
27
+ asOfDate: z.iso.date().nullish(),
28
+ /** UTC timestamp when the peer summary was computed. */
29
+ computedAt: z.iso.datetime({ offset: true }),
30
+ /** Peer-group EBITDA margin summary in percentage points. */
31
+ ebitdaMargin: EntityPeerMetricSummarySchema.nullish(),
32
+ /** Peer-group enterprise value to LTM EBIT multiple summary in times. */
33
+ evToEbit: EntityPeerMetricSummarySchema.nullish(),
34
+ /** Peer-group enterprise value to LTM EBITDA multiple summary in times. */
35
+ evToEbitda: EntityPeerMetricSummarySchema.nullish(),
36
+ /** Peer-group enterprise value to LTM free cash flow multiple summary in times. */
37
+ evToFreeCashFlow: EntityPeerMetricSummarySchema.nullish(),
38
+ /** Peer-group enterprise value to LTM gross profit multiple summary in times. */
39
+ evToGrossProfit: EntityPeerMetricSummarySchema.nullish(),
40
+ /** Peer-group enterprise value to LTM revenue multiple summary in times. */
41
+ evToRevenue: EntityPeerMetricSummarySchema.nullish(),
42
+ /** Peer-group free cash flow margin summary in percentage points. */
43
+ freeCashFlowMargin: EntityPeerMetricSummarySchema.nullish(),
44
+ /** Peer-group gross profit margin summary in percentage points. */
45
+ grossMargin: EntityPeerMetricSummarySchema.nullish(),
46
+ /** Peer-group net income margin summary in percentage points. */
47
+ netMargin: EntityPeerMetricSummarySchema.nullish(),
48
+ /** Peer-group operating (EBIT) margin summary in percentage points. */
49
+ operatingMargin: EntityPeerMetricSummarySchema.nullish(),
50
+ /** Count of active outgoing comparablePeer edges for the subject. */
51
+ peerCount: z.int(),
52
+ /** Peer-group market capitalization to LTM net income multiple summary in times. */
53
+ priceToEarnings: EntityPeerMetricSummarySchema.nullish(),
54
+ /** Peer-group year-over-year revenue growth summary in percentage points. */
55
+ revenueGrowthYoy: EntityPeerMetricSummarySchema.nullish(),
56
+ /** Whether the subject entity itself held a public market valuation included in the peer summary. */
57
+ selfIncluded: z.boolean(),
58
+ /** Count of comparablePeer targets holding a derived market valuation. */
59
+ valuedPeerCount: z.int(),
60
+ });
61
+ //# sourceMappingURL=peer-multiple-summary.js.map
@@ -0,0 +1,62 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Precomputed public equity valuation snapshot in USD; multiples are expressed in times (16.5 = 16.5x) and margins/growth in percentage points (71.0 = 71%).
4
+ *
5
+ * @openapiSchema EntityPeerValuationSnapshot
6
+ * @endpoint GET /v1/entities/lookup-exact
7
+ * @endpoint GET /v1/search/link
8
+ * @endpoint GET /v1/entities/{entityId}
9
+ * @endpoint GET /v1/entities/{entityId}/investors
10
+ * @endpoint GET /v1/entities/{entityId}/relationships
11
+ * @endpoint GET /v1/entities/{entityId}/research
12
+ * @endpoint GET /v1/entities/relationships/{relationshipId}
13
+ * @endpoint GET /v1/search/link/jobs/{jobId}
14
+ * @endpoint GET /v1/search/shared/{id}
15
+ * @endpoint GET /v1/search/shared/slug/{slug}
16
+ * @endpoint POST /v1/entities/lookup-batch
17
+ * @endpoint POST /v1/entities/lookup-matches
18
+ * @endpoint POST /v1/entities/search
19
+ * @endpoint POST /v1/search
20
+ * @endpoint POST /v1/search/shared
21
+ * @usedBySchema EntityComparisonSignalsSchema
22
+ * @usedBySchema EntityMarketMultipleSchema
23
+ * @usedBySchema EntityRelationshipSchema
24
+ * @contractShape entity.peer-valuation-snapshot
25
+ * @contractRole canonical
26
+ */
27
+ export declare const EntityPeerValuationSnapshotSchema: z.ZodObject<{
28
+ cashAndShortTermInvestmentsUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ closePriceUsd: z.ZodNumber;
30
+ computedAt: z.ZodISODateTime;
31
+ ebitdaMargin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ enterpriseValueUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ evToEbit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
+ evToEbitda: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
+ evToFreeCashFlow: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
+ evToGrossProfit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
+ evToRevenue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
+ exchange: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ freeCashFlowMargin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
+ grossMargin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41
+ ltmEbitdaUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
42
+ ltmEbitUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
+ ltmFreeCashFlowUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
+ ltmGrossProfitUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ ltmNetIncomeUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
+ ltmOperatingCashFlowUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
47
+ ltmRevenueUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
48
+ marketCapUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
49
+ netDebtUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
50
+ netMargin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
51
+ operatingMargin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
52
+ priceDate: z.ZodISODate;
53
+ priceSource: z.ZodString;
54
+ priceStatus: z.ZodString;
55
+ priceToEarnings: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
56
+ revenueGrowthYoy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
57
+ sharesOutstanding: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
58
+ ticker: z.ZodString;
59
+ totalDebtUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
60
+ }, z.core.$strip>;
61
+ export type EntityPeerValuationSnapshot = z.infer<typeof EntityPeerValuationSnapshotSchema>;
62
+ //# sourceMappingURL=peer-valuation-snapshot.d.ts.map
@@ -0,0 +1,94 @@
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
+ * Precomputed public equity valuation snapshot in USD; multiples are expressed in times (16.5 = 16.5x) and margins/growth in percentage points (71.0 = 71%).
5
+ *
6
+ * @openapiSchema EntityPeerValuationSnapshot
7
+ * @endpoint GET /v1/entities/lookup-exact
8
+ * @endpoint GET /v1/search/link
9
+ * @endpoint GET /v1/entities/{entityId}
10
+ * @endpoint GET /v1/entities/{entityId}/investors
11
+ * @endpoint GET /v1/entities/{entityId}/relationships
12
+ * @endpoint GET /v1/entities/{entityId}/research
13
+ * @endpoint GET /v1/entities/relationships/{relationshipId}
14
+ * @endpoint GET /v1/search/link/jobs/{jobId}
15
+ * @endpoint GET /v1/search/shared/{id}
16
+ * @endpoint GET /v1/search/shared/slug/{slug}
17
+ * @endpoint POST /v1/entities/lookup-batch
18
+ * @endpoint POST /v1/entities/lookup-matches
19
+ * @endpoint POST /v1/entities/search
20
+ * @endpoint POST /v1/search
21
+ * @endpoint POST /v1/search/shared
22
+ * @usedBySchema EntityComparisonSignalsSchema
23
+ * @usedBySchema EntityMarketMultipleSchema
24
+ * @usedBySchema EntityRelationshipSchema
25
+ * @contractShape entity.peer-valuation-snapshot
26
+ * @contractRole canonical
27
+ */
28
+ export const EntityPeerValuationSnapshotSchema = z.object({
29
+ /** Cash, cash equivalents, and short-term marketable investments in USD. */
30
+ cashAndShortTermInvestmentsUsd: z.number().nullish(),
31
+ /** Closing or last regular-session price in USD. */
32
+ closePriceUsd: z.number(),
33
+ /** UTC timestamp when this derived valuation snapshot was computed. */
34
+ computedAt: z.iso.datetime({ offset: true }),
35
+ /** EBITDA margin in percentage points (`71.0 = 71%`). */
36
+ ebitdaMargin: z.number().nullish(),
37
+ /** Enterprise value in USD (`marketCapUsd + netDebtUsd`). */
38
+ enterpriseValueUsd: z.number().nullish(),
39
+ /** Enterprise value to LTM EBIT multiple in times. */
40
+ evToEbit: z.number().nullish(),
41
+ /** Enterprise value to LTM EBITDA multiple in times. */
42
+ evToEbitda: z.number().nullish(),
43
+ /** Enterprise value to LTM free cash flow multiple in times. */
44
+ evToFreeCashFlow: z.number().nullish(),
45
+ /** Enterprise value to LTM gross profit multiple in times. */
46
+ evToGrossProfit: z.number().nullish(),
47
+ /** Enterprise value to LTM revenue multiple in times. */
48
+ evToRevenue: z.number().nullish(),
49
+ /** Primary US listing exchange from Nasdaq Trader directory. */
50
+ exchange: z.string().nullish(),
51
+ /** Free cash flow margin in percentage points (`71.0 = 71%`). */
52
+ freeCashFlowMargin: z.number().nullish(),
53
+ /** Gross profit margin in percentage points (`71.0 = 71%`). */
54
+ grossMargin: z.number().nullish(),
55
+ /** Annual/LTM EBITDA in USD. */
56
+ ltmEbitdaUsd: z.number().nullish(),
57
+ /** Annual/LTM operating income (EBIT) in USD. */
58
+ ltmEbitUsd: z.number().nullish(),
59
+ /** Annual/LTM free cash flow in USD. */
60
+ ltmFreeCashFlowUsd: z.number().nullish(),
61
+ /** Annual/LTM gross profit in USD. */
62
+ ltmGrossProfitUsd: z.number().nullish(),
63
+ /** Annual/LTM net income in USD. */
64
+ ltmNetIncomeUsd: z.number().nullish(),
65
+ /** Annual/LTM operating cash flow in USD. */
66
+ ltmOperatingCashFlowUsd: z.number().nullish(),
67
+ /** Annual/LTM revenue in USD. */
68
+ ltmRevenueUsd: z.number().nullish(),
69
+ /** Equity market capitalization in USD (`closePriceUsd * sharesOutstanding`). */
70
+ marketCapUsd: z.number().nullish(),
71
+ /** Net debt in USD (`totalDebtUsd - cashAndShortTermInvestmentsUsd`). */
72
+ netDebtUsd: z.number().nullish(),
73
+ /** Net income margin in percentage points (`71.0 = 71%`). */
74
+ netMargin: z.number().nullish(),
75
+ /** Operating (EBIT) margin in percentage points (`71.0 = 71%`). */
76
+ operatingMargin: z.number().nullish(),
77
+ /** Trading date of the quote used for valuation. */
78
+ priceDate: z.iso.date(),
79
+ /** Market feed identifier supplying the quote (e.g. iex_tops_1_6). */
80
+ priceSource: z.string(),
81
+ /** Quote freshness or split anomaly classification (`fresh`, `carried_forward`, or `split_pending`). */
82
+ priceStatus: z.string(),
83
+ /** Market capitalization to LTM net income multiple in times. */
84
+ priceToEarnings: z.number().nullish(),
85
+ /** Year-over-year annual revenue growth in percentage points (`25.0 = 25%`). */
86
+ revenueGrowthYoy: z.number().nullish(),
87
+ /** Latest current common shares outstanding used for market cap. */
88
+ sharesOutstanding: z.number().nullish(),
89
+ /** Normalized exchange ticker symbol. */
90
+ ticker: z.string(),
91
+ /** Total debt in USD. */
92
+ totalDebtUsd: z.number().nullish(),
93
+ });
94
+ //# sourceMappingURL=peer-valuation-snapshot.js.map
@@ -158,6 +158,40 @@ declare const EntityRelationshipSchemaDefinition: z.ZodObject<{
158
158
  "Series Z": "Series Z";
159
159
  };
160
160
  }>>;
161
+ marketValuation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
162
+ cashAndShortTermInvestmentsUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
163
+ closePriceUsd: z.ZodNumber;
164
+ computedAt: z.ZodISODateTime;
165
+ ebitdaMargin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
166
+ enterpriseValueUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
167
+ evToEbit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
168
+ evToEbitda: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
169
+ evToFreeCashFlow: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
170
+ evToGrossProfit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
171
+ evToRevenue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
172
+ exchange: z.ZodOptional<z.ZodNullable<z.ZodString>>;
173
+ freeCashFlowMargin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
174
+ grossMargin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
175
+ ltmEbitdaUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
176
+ ltmEbitUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
177
+ ltmFreeCashFlowUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
178
+ ltmGrossProfitUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
179
+ ltmNetIncomeUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
180
+ ltmOperatingCashFlowUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
181
+ ltmRevenueUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
182
+ marketCapUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
183
+ netDebtUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
184
+ netMargin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
185
+ operatingMargin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
186
+ priceDate: z.ZodISODate;
187
+ priceSource: z.ZodString;
188
+ priceStatus: z.ZodString;
189
+ priceToEarnings: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
190
+ revenueGrowthYoy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
191
+ sharesOutstanding: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
192
+ ticker: z.ZodString;
193
+ totalDebtUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
194
+ }, z.core.$strip>>>;
161
195
  ownership: z.ZodArray<z.ZodString>;
162
196
  pricingModel: z.ZodArray<z.ZodString>;
163
197
  profileStatus: z.ZodOptional<z.ZodObject<{
@@ -284,6 +318,40 @@ declare const EntityRelationshipSchemaDefinition: z.ZodObject<{
284
318
  id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
285
319
  isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
286
320
  isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
321
+ marketValuation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
322
+ cashAndShortTermInvestmentsUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
323
+ closePriceUsd: z.ZodNumber;
324
+ computedAt: z.ZodISODateTime;
325
+ ebitdaMargin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
326
+ enterpriseValueUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
327
+ evToEbit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
328
+ evToEbitda: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
329
+ evToFreeCashFlow: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
330
+ evToGrossProfit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
331
+ evToRevenue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
332
+ exchange: z.ZodOptional<z.ZodNullable<z.ZodString>>;
333
+ freeCashFlowMargin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
334
+ grossMargin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
335
+ ltmEbitdaUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
336
+ ltmEbitUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
337
+ ltmFreeCashFlowUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
338
+ ltmGrossProfitUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
339
+ ltmNetIncomeUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
340
+ ltmOperatingCashFlowUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
341
+ ltmRevenueUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
342
+ marketCapUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
343
+ netDebtUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
344
+ netMargin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
345
+ operatingMargin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
346
+ priceDate: z.ZodISODate;
347
+ priceSource: z.ZodString;
348
+ priceStatus: z.ZodString;
349
+ priceToEarnings: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
350
+ revenueGrowthYoy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
351
+ sharesOutstanding: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
352
+ ticker: z.ZodString;
353
+ totalDebtUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
354
+ }, z.core.$strip>>>;
287
355
  profileStatus: z.ZodOptional<z.ZodNullable<z.ZodObject<{
288
356
  headline: z.ZodUnion<readonly [z.ZodEnum<{
289
357
  Acquired: "Acquired";
@@ -2,6 +2,7 @@
2
2
  import { z } from "zod/v4";
3
3
  import { EntityComparisonSignalsSchema } from "./comparison-signals.js";
4
4
  import { EntitySchema } from "./entity.js";
5
+ import { EntityPeerValuationSnapshotSchema } from "./peer-valuation-snapshot.js";
5
6
  import { EntityProfileStatusSchema } from "./profile-status.js";
6
7
  import { EntityResearchPublicSourceSchema } from "./research-public-source.js";
7
8
  const EntityRelationshipSchemaDefinition = z.object({
@@ -28,6 +29,8 @@ const EntityRelationshipSchemaDefinition = z.object({
28
29
  isCurrent: z.boolean().nullish(),
29
30
  /** Whether this relationship is the primary one shown. isCurrent=false or isPrimary=false hides the row from default relationship reads. */
30
31
  isPrimary: z.boolean().nullish(),
32
+ /** Precomputed daily public market valuation snapshot for the joined entity when publicly quoted; absent on write responses and identity-only reads. */
33
+ marketValuation: EntityPeerValuationSnapshotSchema.nullish(),
31
34
  /** Derived profile status of the joined entity, as its list and detail reads report it; absent on write responses, nested rows, and identity-only reads. */
32
35
  profileStatus: EntityProfileStatusSchema.nullish(),
33
36
  /** Published page behind this relationship, read from the provenance event that wrote it; absent for internal sources. */
@@ -175,6 +175,133 @@ declare const EntityResearchSchemaDefinition: z.ZodObject<{
175
175
  revenue: string | null;
176
176
  year: number;
177
177
  }, import("./financial.ts").EntityFinancialSchemaInput>>>>>;
178
+ marketMultiple: z.ZodOptional<z.ZodNullable<z.ZodObject<{
179
+ peerGroup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
180
+ asOfDate: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
181
+ computedAt: z.ZodISODateTime;
182
+ ebitdaMargin: z.ZodOptional<z.ZodNullable<z.ZodObject<{
183
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
184
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
185
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
186
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
187
+ sampleCount: z.ZodInt;
188
+ }, z.core.$strip>>>;
189
+ evToEbit: z.ZodOptional<z.ZodNullable<z.ZodObject<{
190
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
191
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
192
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
193
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
194
+ sampleCount: z.ZodInt;
195
+ }, z.core.$strip>>>;
196
+ evToEbitda: z.ZodOptional<z.ZodNullable<z.ZodObject<{
197
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
198
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
199
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
200
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
201
+ sampleCount: z.ZodInt;
202
+ }, z.core.$strip>>>;
203
+ evToFreeCashFlow: z.ZodOptional<z.ZodNullable<z.ZodObject<{
204
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
205
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
206
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
207
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
208
+ sampleCount: z.ZodInt;
209
+ }, z.core.$strip>>>;
210
+ evToGrossProfit: z.ZodOptional<z.ZodNullable<z.ZodObject<{
211
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
212
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
213
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
214
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
215
+ sampleCount: z.ZodInt;
216
+ }, z.core.$strip>>>;
217
+ evToRevenue: z.ZodOptional<z.ZodNullable<z.ZodObject<{
218
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
219
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
220
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
221
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
222
+ sampleCount: z.ZodInt;
223
+ }, z.core.$strip>>>;
224
+ freeCashFlowMargin: z.ZodOptional<z.ZodNullable<z.ZodObject<{
225
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
226
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
227
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
228
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
229
+ sampleCount: z.ZodInt;
230
+ }, z.core.$strip>>>;
231
+ grossMargin: z.ZodOptional<z.ZodNullable<z.ZodObject<{
232
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
233
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
234
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
235
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
236
+ sampleCount: z.ZodInt;
237
+ }, z.core.$strip>>>;
238
+ netMargin: z.ZodOptional<z.ZodNullable<z.ZodObject<{
239
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
240
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
241
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
242
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
243
+ sampleCount: z.ZodInt;
244
+ }, z.core.$strip>>>;
245
+ operatingMargin: z.ZodOptional<z.ZodNullable<z.ZodObject<{
246
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
247
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
248
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
249
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
250
+ sampleCount: z.ZodInt;
251
+ }, z.core.$strip>>>;
252
+ peerCount: z.ZodInt;
253
+ priceToEarnings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
254
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
255
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
256
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
257
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
258
+ sampleCount: z.ZodInt;
259
+ }, z.core.$strip>>>;
260
+ revenueGrowthYoy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
261
+ max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
262
+ mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
263
+ median: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
264
+ min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
265
+ sampleCount: z.ZodInt;
266
+ }, z.core.$strip>>>;
267
+ selfIncluded: z.ZodBoolean;
268
+ valuedPeerCount: z.ZodInt;
269
+ }, z.core.$strip>>>;
270
+ valuation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
271
+ cashAndShortTermInvestmentsUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
272
+ closePriceUsd: z.ZodNumber;
273
+ computedAt: z.ZodISODateTime;
274
+ ebitdaMargin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
275
+ enterpriseValueUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
276
+ evToEbit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
277
+ evToEbitda: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
278
+ evToFreeCashFlow: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
279
+ evToGrossProfit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
280
+ evToRevenue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
281
+ exchange: z.ZodOptional<z.ZodNullable<z.ZodString>>;
282
+ freeCashFlowMargin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
283
+ grossMargin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
284
+ ltmEbitdaUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
285
+ ltmEbitUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
286
+ ltmFreeCashFlowUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
287
+ ltmGrossProfitUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
288
+ ltmNetIncomeUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
289
+ ltmOperatingCashFlowUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
290
+ ltmRevenueUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
291
+ marketCapUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
292
+ netDebtUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
293
+ netMargin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
294
+ operatingMargin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
295
+ priceDate: z.ZodISODate;
296
+ priceSource: z.ZodString;
297
+ priceStatus: z.ZodString;
298
+ priceToEarnings: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
299
+ revenueGrowthYoy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
300
+ sharesOutstanding: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
301
+ ticker: z.ZodString;
302
+ totalDebtUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
303
+ }, z.core.$strip>>>;
304
+ }, z.core.$strip>>>;
178
305
  snippet: z.ZodArray<z.ZodObject<{
179
306
  compliance: z.ZodOptional<z.ZodNullable<z.ZodObject<{
180
307
  characterCount: z.ZodInt;
@@ -2,6 +2,7 @@
2
2
  import { z } from "zod/v4";
3
3
  import { EntityAcceleratorParticipationSchema } from "./accelerator-participation.js";
4
4
  import { EntityFinancialSchema } from "./financial.js";
5
+ import { EntityMarketMultipleSchema } from "./market-multiple.js";
5
6
  import { EntityResearchDetailSchema } from "./research-detail.js";
6
7
  import { EntityResearchSnippetSchema } from "./research-snippet.js";
7
8
  const EntityResearchSchemaDefinition = z.object({
@@ -11,6 +12,8 @@ const EntityResearchSchemaDefinition = z.object({
11
12
  detail: z.array(EntityResearchDetailSchema),
12
13
  /** Stored financial facts selected by financialYear and financialPeriod; omitted when not selected, empty when no matching row exists. Includes no private provenance. */
13
14
  financial: z.array(EntityFinancialSchema).nullish(),
15
+ /** Precomputed daily public market valuation and comparable-peer multiple benchmarks; omitted when neither exists. */
16
+ marketMultiple: EntityMarketMultipleSchema.nullish(),
14
17
  /** Research text snippets for this entity */
15
18
  snippet: z.array(EntityResearchSnippetSchema),
16
19
  });