@aventurevc/api-schemas 0.8.304 → 0.8.306

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 (62) hide show
  1. package/dist/classification/classification.d.ts +7 -0
  2. package/dist/classification/classification.js +7 -0
  3. package/dist/classification/join-registry.d.ts +7 -0
  4. package/dist/classification/join-registry.js +7 -0
  5. package/dist/entity/alias-type.d.ts +2 -0
  6. package/dist/entity/alias-type.js +2 -0
  7. package/dist/entity/detail.d.ts +316 -2
  8. package/dist/entity/detail.js +2 -1
  9. package/dist/entity/entity.d.ts +3 -0
  10. package/dist/entity/entity.js +3 -0
  11. package/dist/entity/funding-detail.d.ts +3 -0
  12. package/dist/entity/funding-detail.js +3 -0
  13. package/dist/entity/fundraise-investor-activity.d.ts +317 -0
  14. package/dist/entity/fundraise-investor-activity.js +4 -0
  15. package/dist/entity/image.d.ts +2 -0
  16. package/dist/entity/image.js +2 -0
  17. package/dist/entity/investor-activity-param.d.ts +19 -1
  18. package/dist/entity/investor-activity-param.js +9 -1
  19. package/dist/entity/investor-participation.d.ts +318 -4
  20. package/dist/entity/investor-participation.js +2 -1
  21. package/dist/entity/name-alias-entity-alias-type.d.ts +2 -0
  22. package/dist/entity/name-alias-entity-alias-type.js +2 -0
  23. package/dist/entity/resolution.d.ts +316 -2
  24. package/dist/entity/sitemap.d.ts +2 -0
  25. package/dist/entity/sitemap.js +2 -0
  26. package/dist/entity/tag.d.ts +8 -0
  27. package/dist/entity/tag.js +8 -0
  28. package/dist/entity/valuation-source.d.ts +2 -0
  29. package/dist/entity/valuation-source.js +2 -0
  30. package/dist/entity/valuation.d.ts +2 -0
  31. package/dist/entity/valuation.js +2 -0
  32. package/dist/federated/search.d.ts +630 -2
  33. package/dist/funding/applicability.d.ts +2 -0
  34. package/dist/funding/applicability.js +2 -0
  35. package/dist/funding/stage.d.ts +2 -0
  36. package/dist/funding/stage.js +2 -0
  37. package/dist/image/variant.d.ts +2 -0
  38. package/dist/image/variant.js +2 -0
  39. package/dist/investor/portfolio-outcome.d.ts +45 -0
  40. package/dist/investor/portfolio-outcome.js +38 -0
  41. package/dist/investor/portfolio-recipient.d.ts +229 -0
  42. package/dist/investor/portfolio-recipient.js +37 -0
  43. package/dist/investor/portfolio-sector.d.ts +60 -0
  44. package/dist/investor/portfolio-sector.js +36 -0
  45. package/dist/investor/portfolio.d.ts +347 -0
  46. package/dist/investor/portfolio.js +51 -0
  47. package/dist/link/search.d.ts +628 -0
  48. package/dist/openapi-component-manifest.js +21 -0
  49. package/dist/pageable/object.d.ts +15 -0
  50. package/dist/pageable/object.js +15 -0
  51. package/dist/pagination/schemas.d.ts +1692 -134
  52. package/dist/pagination/schemas.js +87 -4
  53. package/dist/person/detail.d.ts +319 -2
  54. package/dist/person/detail.js +2 -1
  55. package/dist/person/investor-participation.d.ts +316 -2
  56. package/dist/person/investor-participation.js +2 -1
  57. package/dist/shared/search.d.ts +628 -0
  58. package/dist/sort/object.d.ts +15 -0
  59. package/dist/sort/object.js +15 -0
  60. package/dist/valuation/type.d.ts +2 -0
  61. package/dist/valuation/type.js +2 -0
  62. package/package.json +1 -1
@@ -0,0 +1,347 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Current public-detail-visible recipients of this investor's direct and current primary managed-fund participations, excluding bankruptcy proceedings and funds without public-detail visibility. Counts are distinct recipients in the selected current-status cohort, not investor holdings, dated exits, realized returns or losses. Both pages use the requested page and size independently; their totals and coverage describe the complete cohort.
4
+ *
5
+ * @openapiSchema InvestorPortfolio
6
+ * @endpoint GET /v1/entities/lookup-exact
7
+ * @endpoint GET /v1/people/lookup-exact
8
+ * @endpoint GET /v1/search/link
9
+ * @endpoint GET /v1/entities/{entityId}
10
+ * @endpoint GET /v1/entities/{entityId}/investor-activity
11
+ * @endpoint GET /v1/entities/{entityId}/investors
12
+ * @endpoint GET /v1/entities/{entityId}/investors/people
13
+ * @endpoint GET /v1/entities/{entityId}/person-investors
14
+ * @endpoint GET /v1/people/{personId}
15
+ * @endpoint GET /v1/people/{personId}/investor-activity
16
+ * @endpoint GET /v1/search/link/jobs/{jobId}
17
+ * @endpoint GET /v1/search/shared/{id}
18
+ * @endpoint GET /v1/search/shared/slug/{slug}
19
+ * @endpoint POST /v1/entities/lookup-batch
20
+ * @endpoint POST /v1/entities/lookup-matches
21
+ * @endpoint POST /v1/entities/search
22
+ * @endpoint POST /v1/people/lookup-batch
23
+ * @endpoint POST /v1/search
24
+ * @endpoint POST /v1/search/shared
25
+ * @usedBySchema EntityFundraiseInvestorActivitySchema
26
+ * @contractShape investor.portfolio
27
+ * @contractRole canonical
28
+ */
29
+ export declare const InvestorPortfolioSchema: z.ZodObject<{
30
+ ambiguousSectorCount: z.ZodInt;
31
+ classifiedRecipientCount: z.ZodInt;
32
+ observedAt: z.ZodISODateTime;
33
+ outcome: z.ZodUnion<readonly [z.ZodEnum<{
34
+ ACQUIRED: "ACQUIRED";
35
+ CLOSED: "CLOSED";
36
+ OPERATING: "OPERATING";
37
+ PUBLIC: "PUBLIC";
38
+ UNKNOWN: "UNKNOWN";
39
+ }>, z.ZodString]> & {
40
+ enum: {
41
+ ACQUIRED: "ACQUIRED";
42
+ CLOSED: "CLOSED";
43
+ OPERATING: "OPERATING";
44
+ PUBLIC: "PUBLIC";
45
+ UNKNOWN: "UNKNOWN";
46
+ };
47
+ };
48
+ rankableRecipientCount: z.ZodInt;
49
+ recipient: z.ZodLazy<z.ZodType<{
50
+ content?: {
51
+ entity: {
52
+ defaultCurrency?: string | null | undefined;
53
+ foundedYear?: number | null | undefined;
54
+ id: string;
55
+ image: {
56
+ isMonogram: boolean;
57
+ logo?: string | null | undefined;
58
+ logoSquare?: string | null | undefined;
59
+ logoSquareVariant?: {
60
+ contentType: string;
61
+ height: number;
62
+ path: string;
63
+ width: number;
64
+ }[] | null | undefined;
65
+ logoVariant?: {
66
+ contentType: string;
67
+ height: number;
68
+ path: string;
69
+ width: number;
70
+ }[] | null | undefined;
71
+ };
72
+ lastModifiedAt?: string | null | undefined;
73
+ nameAlias: {
74
+ displayable?: boolean | null | undefined;
75
+ name: string;
76
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
77
+ }[];
78
+ nameBrand: string;
79
+ nameLegal?: string | null | undefined;
80
+ operatingStatus?: string | null | undefined;
81
+ publicId?: string | null | undefined;
82
+ publicUrl?: string | null | undefined;
83
+ sitemap?: {
84
+ hasAcquisitions?: boolean | undefined;
85
+ hasAnalysis: boolean;
86
+ hasEmployees: boolean;
87
+ hasFundraising: boolean;
88
+ hasNews: boolean;
89
+ productServiceSlug: string[];
90
+ } | null | undefined;
91
+ slug: string;
92
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
93
+ updatedAt?: string | null | undefined;
94
+ };
95
+ funding: {
96
+ applicability?: "NOT_APPLICABLE" | "RECORDED" | "UNKNOWN" | null | undefined;
97
+ currency?: string | null | undefined;
98
+ currentValuation?: {
99
+ amount: string;
100
+ asOfDate?: string | null | undefined;
101
+ basis?: "postMoney" | "preMoney" | "reported" | null | undefined;
102
+ currency?: string | null | undefined;
103
+ postMoneyUsd?: string | null | undefined;
104
+ referenceValue?: string | null | undefined;
105
+ source: "fundraiseRound" | "researchDetail";
106
+ sourceRef: string;
107
+ } | null | undefined;
108
+ disclosedStage?: string | null | undefined;
109
+ disclosedStageTransactionId?: string | null | undefined;
110
+ fundingRoundCount: number;
111
+ investorCount: number;
112
+ latestValuation?: number | null | undefined;
113
+ mostRecentAmount?: number | null | undefined;
114
+ mostRecentDate?: string | null | undefined;
115
+ stage?: string | null | undefined;
116
+ totalRaised: number;
117
+ totalRaisedAmountRoundCount?: number | null | undefined;
118
+ totalRaisedRoundCount?: number | null | undefined;
119
+ totalRaisedUsd?: number | null | undefined;
120
+ totalRaisedUsdRoundCount?: number | null | undefined;
121
+ unconvertedRoundCount: number;
122
+ };
123
+ }[] | undefined;
124
+ empty?: boolean | undefined;
125
+ first?: boolean | undefined;
126
+ last?: boolean | undefined;
127
+ number?: number | undefined;
128
+ numberOfElements?: number | undefined;
129
+ pageable?: {
130
+ offset?: number | undefined;
131
+ paged?: boolean | undefined;
132
+ pageNumber?: number | undefined;
133
+ pageSize?: number | undefined;
134
+ sort?: {
135
+ empty?: boolean | undefined;
136
+ sorted?: boolean | undefined;
137
+ unsorted?: boolean | undefined;
138
+ } | undefined;
139
+ unpaged?: boolean | undefined;
140
+ } | undefined;
141
+ size?: number | undefined;
142
+ sort?: {
143
+ empty?: boolean | undefined;
144
+ sorted?: boolean | undefined;
145
+ unsorted?: boolean | undefined;
146
+ } | undefined;
147
+ totalElements?: number | undefined;
148
+ totalPages?: number | undefined;
149
+ }, import("../pagination/schemas.ts").PageInvestorPortfolioRecipientSchemaInput, z.core.$ZodTypeInternals<{
150
+ content?: {
151
+ entity: {
152
+ defaultCurrency?: string | null | undefined;
153
+ foundedYear?: number | null | undefined;
154
+ id: string;
155
+ image: {
156
+ isMonogram: boolean;
157
+ logo?: string | null | undefined;
158
+ logoSquare?: string | null | undefined;
159
+ logoSquareVariant?: {
160
+ contentType: string;
161
+ height: number;
162
+ path: string;
163
+ width: number;
164
+ }[] | null | undefined;
165
+ logoVariant?: {
166
+ contentType: string;
167
+ height: number;
168
+ path: string;
169
+ width: number;
170
+ }[] | null | undefined;
171
+ };
172
+ lastModifiedAt?: string | null | undefined;
173
+ nameAlias: {
174
+ displayable?: boolean | null | undefined;
175
+ name: string;
176
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
177
+ }[];
178
+ nameBrand: string;
179
+ nameLegal?: string | null | undefined;
180
+ operatingStatus?: string | null | undefined;
181
+ publicId?: string | null | undefined;
182
+ publicUrl?: string | null | undefined;
183
+ sitemap?: {
184
+ hasAcquisitions?: boolean | undefined;
185
+ hasAnalysis: boolean;
186
+ hasEmployees: boolean;
187
+ hasFundraising: boolean;
188
+ hasNews: boolean;
189
+ productServiceSlug: string[];
190
+ } | null | undefined;
191
+ slug: string;
192
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
193
+ updatedAt?: string | null | undefined;
194
+ };
195
+ funding: {
196
+ applicability?: "NOT_APPLICABLE" | "RECORDED" | "UNKNOWN" | null | undefined;
197
+ currency?: string | null | undefined;
198
+ currentValuation?: {
199
+ amount: string;
200
+ asOfDate?: string | null | undefined;
201
+ basis?: "postMoney" | "preMoney" | "reported" | null | undefined;
202
+ currency?: string | null | undefined;
203
+ postMoneyUsd?: string | null | undefined;
204
+ referenceValue?: string | null | undefined;
205
+ source: "fundraiseRound" | "researchDetail";
206
+ sourceRef: string;
207
+ } | null | undefined;
208
+ disclosedStage?: string | null | undefined;
209
+ disclosedStageTransactionId?: string | null | undefined;
210
+ fundingRoundCount: number;
211
+ investorCount: number;
212
+ latestValuation?: number | null | undefined;
213
+ mostRecentAmount?: number | null | undefined;
214
+ mostRecentDate?: string | null | undefined;
215
+ stage?: string | null | undefined;
216
+ totalRaised: number;
217
+ totalRaisedAmountRoundCount?: number | null | undefined;
218
+ totalRaisedRoundCount?: number | null | undefined;
219
+ totalRaisedUsd?: number | null | undefined;
220
+ totalRaisedUsdRoundCount?: number | null | undefined;
221
+ unconvertedRoundCount: number;
222
+ };
223
+ }[] | undefined;
224
+ empty?: boolean | undefined;
225
+ first?: boolean | undefined;
226
+ last?: boolean | undefined;
227
+ number?: number | undefined;
228
+ numberOfElements?: number | undefined;
229
+ pageable?: {
230
+ offset?: number | undefined;
231
+ paged?: boolean | undefined;
232
+ pageNumber?: number | undefined;
233
+ pageSize?: number | undefined;
234
+ sort?: {
235
+ empty?: boolean | undefined;
236
+ sorted?: boolean | undefined;
237
+ unsorted?: boolean | undefined;
238
+ } | undefined;
239
+ unpaged?: boolean | undefined;
240
+ } | undefined;
241
+ size?: number | undefined;
242
+ sort?: {
243
+ empty?: boolean | undefined;
244
+ sorted?: boolean | undefined;
245
+ unsorted?: boolean | undefined;
246
+ } | undefined;
247
+ totalElements?: number | undefined;
248
+ totalPages?: number | undefined;
249
+ }, import("../pagination/schemas.ts").PageInvestorPortfolioRecipientSchemaInput>>>;
250
+ recipientCount: z.ZodInt;
251
+ sector: z.ZodLazy<z.ZodType<{
252
+ content?: {
253
+ industry: {
254
+ isCurrent?: boolean | null | undefined;
255
+ isPrimary?: boolean | null | undefined;
256
+ name: string;
257
+ registry: string;
258
+ } & {
259
+ bucket?: string | null | undefined;
260
+ classificationId?: number | null | undefined;
261
+ createdAt?: string | null | undefined;
262
+ id: number;
263
+ isCurrent?: boolean | null | undefined;
264
+ isPrimary?: boolean | null | undefined;
265
+ name: string;
266
+ slug?: string | null | undefined;
267
+ type: string;
268
+ updatedAt?: string | null | undefined;
269
+ };
270
+ recipientCount: number;
271
+ }[] | undefined;
272
+ empty?: boolean | undefined;
273
+ first?: boolean | undefined;
274
+ last?: boolean | undefined;
275
+ number?: number | undefined;
276
+ numberOfElements?: number | undefined;
277
+ pageable?: {
278
+ offset?: number | undefined;
279
+ paged?: boolean | undefined;
280
+ pageNumber?: number | undefined;
281
+ pageSize?: number | undefined;
282
+ sort?: {
283
+ empty?: boolean | undefined;
284
+ sorted?: boolean | undefined;
285
+ unsorted?: boolean | undefined;
286
+ } | undefined;
287
+ unpaged?: boolean | undefined;
288
+ } | undefined;
289
+ size?: number | undefined;
290
+ sort?: {
291
+ empty?: boolean | undefined;
292
+ sorted?: boolean | undefined;
293
+ unsorted?: boolean | undefined;
294
+ } | undefined;
295
+ totalElements?: number | undefined;
296
+ totalPages?: number | undefined;
297
+ }, import("../pagination/schemas.ts").PageInvestorPortfolioSectorSchemaInput, z.core.$ZodTypeInternals<{
298
+ content?: {
299
+ industry: {
300
+ isCurrent?: boolean | null | undefined;
301
+ isPrimary?: boolean | null | undefined;
302
+ name: string;
303
+ registry: string;
304
+ } & {
305
+ bucket?: string | null | undefined;
306
+ classificationId?: number | null | undefined;
307
+ createdAt?: string | null | undefined;
308
+ id: number;
309
+ isCurrent?: boolean | null | undefined;
310
+ isPrimary?: boolean | null | undefined;
311
+ name: string;
312
+ slug?: string | null | undefined;
313
+ type: string;
314
+ updatedAt?: string | null | undefined;
315
+ };
316
+ recipientCount: number;
317
+ }[] | undefined;
318
+ empty?: boolean | undefined;
319
+ first?: boolean | undefined;
320
+ last?: boolean | undefined;
321
+ number?: number | undefined;
322
+ numberOfElements?: number | undefined;
323
+ pageable?: {
324
+ offset?: number | undefined;
325
+ paged?: boolean | undefined;
326
+ pageNumber?: number | undefined;
327
+ pageSize?: number | undefined;
328
+ sort?: {
329
+ empty?: boolean | undefined;
330
+ sorted?: boolean | undefined;
331
+ unsorted?: boolean | undefined;
332
+ } | undefined;
333
+ unpaged?: boolean | undefined;
334
+ } | undefined;
335
+ size?: number | undefined;
336
+ sort?: {
337
+ empty?: boolean | undefined;
338
+ sorted?: boolean | undefined;
339
+ unsorted?: boolean | undefined;
340
+ } | undefined;
341
+ totalElements?: number | undefined;
342
+ totalPages?: number | undefined;
343
+ }, import("../pagination/schemas.ts").PageInvestorPortfolioSectorSchemaInput>>>;
344
+ unknownSectorCount: z.ZodInt;
345
+ }, z.core.$strip>;
346
+ export type InvestorPortfolio = z.infer<typeof InvestorPortfolioSchema>;
347
+ //# sourceMappingURL=portfolio.d.ts.map
@@ -0,0 +1,51 @@
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
+ // oxlint-disable import/no-cycle -- Generated recursive module references are deferred with z.lazy.
3
+ import { z } from "zod/v4";
4
+ import { InvestorPortfolioOutcomeSchema } from "./portfolio-outcome.js";
5
+ import { PageInvestorPortfolioRecipientSchema, PageInvestorPortfolioSectorSchema, } from "../pagination/schemas.js";
6
+ /**
7
+ * Current public-detail-visible recipients of this investor's direct and current primary managed-fund participations, excluding bankruptcy proceedings and funds without public-detail visibility. Counts are distinct recipients in the selected current-status cohort, not investor holdings, dated exits, realized returns or losses. Both pages use the requested page and size independently; their totals and coverage describe the complete cohort.
8
+ *
9
+ * @openapiSchema InvestorPortfolio
10
+ * @endpoint GET /v1/entities/lookup-exact
11
+ * @endpoint GET /v1/people/lookup-exact
12
+ * @endpoint GET /v1/search/link
13
+ * @endpoint GET /v1/entities/{entityId}
14
+ * @endpoint GET /v1/entities/{entityId}/investor-activity
15
+ * @endpoint GET /v1/entities/{entityId}/investors
16
+ * @endpoint GET /v1/entities/{entityId}/investors/people
17
+ * @endpoint GET /v1/entities/{entityId}/person-investors
18
+ * @endpoint GET /v1/people/{personId}
19
+ * @endpoint GET /v1/people/{personId}/investor-activity
20
+ * @endpoint GET /v1/search/link/jobs/{jobId}
21
+ * @endpoint GET /v1/search/shared/{id}
22
+ * @endpoint GET /v1/search/shared/slug/{slug}
23
+ * @endpoint POST /v1/entities/lookup-batch
24
+ * @endpoint POST /v1/entities/lookup-matches
25
+ * @endpoint POST /v1/entities/search
26
+ * @endpoint POST /v1/people/lookup-batch
27
+ * @endpoint POST /v1/search
28
+ * @endpoint POST /v1/search/shared
29
+ * @usedBySchema EntityFundraiseInvestorActivitySchema
30
+ * @contractShape investor.portfolio
31
+ * @contractRole canonical
32
+ */
33
+ export const InvestorPortfolioSchema = z.object({
34
+ /** Recipients with more than one distinct current primary industry. */
35
+ ambiguousSectorCount: z.int(),
36
+ /** Recipients with exactly one current primary editorial industry. */
37
+ classifiedRecipientCount: z.int(),
38
+ /** Database snapshot read time; not the date of an exit, closure or investment. */
39
+ observedAt: z.iso.datetime({ offset: true }),
40
+ outcome: InvestorPortfolioOutcomeSchema,
41
+ /** Recipients with a recorded USD capital-raised aggregate. Its round/amount/FX coverage remains on each recipient's funding object. Not a count of known returns. */
42
+ rankableRecipientCount: z.int(),
43
+ /** Complete selected recipient population, paged in descending recorded funding.totalRaisedUsd order (unknown last), then entity id. Capital raised is only a declared ordering proxy, not exit consideration or investor success. Funding coverage and missing values must remain visible. Closed/inactive recipients do not establish a realized loss, cause of failure or historical rate. */
44
+ recipient: z.lazy(() => PageInvestorPortfolioRecipientSchema),
45
+ recipientCount: z.int(),
46
+ /** Exclusive single-primary editorial industry groups, ordered by recipient count descending then canonical industry id. Missing and ambiguous industries are counted separately, never assigned the first tag. Page totalElements counts groups. */
47
+ sector: z.lazy(() => PageInvestorPortfolioSectorSchema),
48
+ /** Recipients with no current primary editorial industry. */
49
+ unknownSectorCount: z.int(),
50
+ });
51
+ //# sourceMappingURL=portfolio.js.map