@aventurevc/api-schemas 0.8.255 → 0.8.256
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.
|
@@ -29,7 +29,7 @@ const EntityFundraiseTransactionSchemaDefinition = z.object({
|
|
|
29
29
|
/** Canonical fundraise transaction UUID */
|
|
30
30
|
id: z.uuid(),
|
|
31
31
|
investor: z.array(EntityFundraiseInvestorJoinSchema).nullish(),
|
|
32
|
-
/** Investor-specific attribution when returned from investor-perspective investment views. amountInvested is not added to amountRaised; it is the selected investor's
|
|
32
|
+
/** Investor-specific attribution when returned from investor-perspective investment views. amountInvested is not added to amountRaised; it is the selected investor's whole investment in this round: its joins here (one per vehicle, such as a CEA and a SAFE) summed. joinId names one of those joins. */
|
|
33
33
|
investorAttribution: FundraiseInvestmentAttributionSchema.nullish(),
|
|
34
34
|
/** Source-reported number of investors in the round. This can exceed the identified investor joins when a source reports a total without naming every investor. */
|
|
35
35
|
investorCount: z.int().nullish(),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
/**
|
|
3
|
-
* Published page behind a research value, read from the provenance event that wrote the value. Absent for internal sources
|
|
3
|
+
* Published page behind a research value, read from the provenance event that wrote the value. Absent for internal sources, privacy, terms, or other legal pages, and, in public views, suppressed secondary sources such as data aggregators.
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema EntityResearchPublicSource
|
|
6
6
|
* @endpoint GET /v1/entities
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
/**
|
|
4
|
-
* Published page behind a research value, read from the provenance event that wrote the value. Absent for internal sources
|
|
4
|
+
* Published page behind a research value, read from the provenance event that wrote the value. Absent for internal sources, privacy, terms, or other legal pages, and, in public views, suppressed secondary sources such as data aggregators.
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema EntityResearchPublicSource
|
|
7
7
|
* @endpoint GET /v1/entities
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
/**
|
|
3
|
-
* Investor-specific attribution
|
|
3
|
+
* Investor-specific attribution: an investor's investment in one round (its joins there, one per vehicle, summed) or, in source attribution, one investor join
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema FundraiseInvestmentAttribution
|
|
6
6
|
* @endpoint GET /v1/entities
|
|
@@ -3,7 +3,7 @@ import { z } from "zod/v4";
|
|
|
3
3
|
import { FundraiseInvestmentAttributionTypeSchema } from "./investment-attribution-type.js";
|
|
4
4
|
import { RoundLabelSchema } from "../round/label.js";
|
|
5
5
|
/**
|
|
6
|
-
* Investor-specific attribution
|
|
6
|
+
* Investor-specific attribution: an investor's investment in one round (its joins there, one per vehicle, summed) or, in source attribution, one investor join
|
|
7
7
|
*
|
|
8
8
|
* @openapiSchema FundraiseInvestmentAttribution
|
|
9
9
|
* @endpoint GET /v1/entities
|
|
@@ -41,7 +41,7 @@ import { RoundLabelSchema } from "../round/label.js";
|
|
|
41
41
|
* @contractRole canonical
|
|
42
42
|
*/
|
|
43
43
|
export const FundraiseInvestmentAttributionSchema = z.object({
|
|
44
|
-
/** Investor-level attributed amount invested in the fundraise transaction currency. Serialized as a plain JSON number such as 220000 or 123456.78; no currency sign, currency code, comma grouping, or abbreviated amount text is valid. */
|
|
44
|
+
/** Investor-level attributed amount invested in the fundraise transaction currency: the investor's joins on the round summed for an investment, or one join's amount in source attribution. Serialized as a plain JSON number such as 220000 or 123456.78; no currency sign, currency code, comma grouping, or abbreviated amount text is valid. */
|
|
45
45
|
amountInvested: z.number().nullish(),
|
|
46
46
|
/** How this attribution row participates in the investor view. */
|
|
47
47
|
attributionType: FundraiseInvestmentAttributionTypeSchema,
|
|
@@ -49,7 +49,7 @@ export const FundraiseInvestmentAttributionSchema = z.object({
|
|
|
49
49
|
beneficialEntityId: z.uuid().nullish(),
|
|
50
50
|
/** Fund-manager relationship id when the attribution rolls up through a managed fund. */
|
|
51
51
|
fundManagerRelationshipId: z.int().nullish(),
|
|
52
|
-
/** Fundraise investor join identifier */
|
|
52
|
+
/** Fundraise investor join identifier; for a summed investment, one of the joins it sums */
|
|
53
53
|
joinId: z.uuid(),
|
|
54
54
|
/** Whether this investor is the lead investor for the round — the lead/anchor investor that set the round terms or made the primary commitment. */
|
|
55
55
|
leadInvestor: z.boolean(),
|