@rundit-sdk/client 0.1.2 → 0.2.0
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/index.d.ts +282 -14
- package/openapi.json +1510 -31
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -25,25 +25,117 @@ export interface CreateClientOptions {
|
|
|
25
25
|
export interface SdkCompanyDto {
|
|
26
26
|
id: number
|
|
27
27
|
name: string
|
|
28
|
-
type?: string
|
|
28
|
+
type?: string
|
|
29
|
+
website?: string | null
|
|
30
|
+
currency: string
|
|
31
|
+
logoImageFileUuid?: string | null
|
|
29
32
|
legalName?: string | null
|
|
30
33
|
status?: string | null
|
|
31
|
-
|
|
34
|
+
description?: string | null
|
|
35
|
+
vision?: string | null
|
|
36
|
+
address?: string | null
|
|
37
|
+
city?: string | null
|
|
38
|
+
state?: string | null
|
|
39
|
+
country?: string | null
|
|
40
|
+
operatingCountries?: string[]
|
|
41
|
+
vatNumber?: string | null
|
|
42
|
+
foundingYear?: number | null
|
|
43
|
+
established?: string | null
|
|
44
|
+
fundingTotal?: number | null
|
|
32
45
|
companyGroupIds?: number[]
|
|
33
46
|
}
|
|
34
47
|
|
|
48
|
+
export interface SdkCompactCompanyDto {
|
|
49
|
+
id: number
|
|
50
|
+
name: string
|
|
51
|
+
type?: string
|
|
52
|
+
website?: string | null
|
|
53
|
+
currency: string
|
|
54
|
+
logoImageFileUuid?: string | null
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export interface SdkCompactCompanyGroupDto {
|
|
58
|
+
id: number
|
|
59
|
+
name: string
|
|
60
|
+
isDemo: boolean
|
|
61
|
+
colorId?: number | null
|
|
62
|
+
companyIds?: number[]
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface SdkCompanyGroupBasicInformationDto {
|
|
66
|
+
fullName?: string | null
|
|
67
|
+
domicile?: string | null
|
|
68
|
+
managementCompany?: string | null
|
|
69
|
+
generalPartner?: string | null
|
|
70
|
+
vintageYear?: number | null
|
|
71
|
+
fundCurrency?: string | null
|
|
72
|
+
closingDates?: string[]
|
|
73
|
+
legalForm?: string | null
|
|
74
|
+
term?: string | null
|
|
75
|
+
endedness?: string | null
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export interface SdkCompanyGroupInvestmentFocusDto {
|
|
79
|
+
investmentFocusAndPlan?: string | null
|
|
80
|
+
investmentFocusStage?: string | null
|
|
81
|
+
investmentFocusGeography?: string | null
|
|
82
|
+
investmentFocusIndustry?: string | null
|
|
83
|
+
maximumInvestment?: string | null
|
|
84
|
+
maximumLeverage?: string | null
|
|
85
|
+
investmentPeriod?: string | null
|
|
86
|
+
valuationPolicyGuidelines?: string | null
|
|
87
|
+
reInvestmentPolicy?: string | null
|
|
88
|
+
otherInvestmentRestrictions?: string | null
|
|
89
|
+
accountingPrinciples?: string | null
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export interface SdkCompanyGroupKeyEconomicTermsDto {
|
|
93
|
+
hurdleRateAndCarry?: string | null
|
|
94
|
+
managementFees?: string | null
|
|
95
|
+
carriedInterest?: string | null
|
|
96
|
+
feeOffsets?: string | null
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export interface SdkCompanyGroupAifmdDto {
|
|
100
|
+
financialConductAuthority?: string | null
|
|
101
|
+
depositary?: string | null
|
|
102
|
+
countryOfRegulation?: string | null
|
|
103
|
+
independentRiskManager?: string | null
|
|
104
|
+
independentValuer?: string | null
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export interface SdkCompanyGroupServiceProvidersDto {
|
|
108
|
+
auditors?: string | null
|
|
109
|
+
administrator?: string | null
|
|
110
|
+
lawyer?: string | null
|
|
111
|
+
bankingFacilities?: string | null
|
|
112
|
+
taxAndRegulatory?: string | null
|
|
113
|
+
lpAdvisoryCommittee?: string | null
|
|
114
|
+
membersOfLpAdvisoryCommittee?: string | null
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export interface SdkCompanyGroupDetailsDto {
|
|
118
|
+
basicInformation?: SdkCompanyGroupBasicInformationDto
|
|
119
|
+
investmentFocus?: SdkCompanyGroupInvestmentFocusDto
|
|
120
|
+
keyEconomicTerms?: SdkCompanyGroupKeyEconomicTermsDto
|
|
121
|
+
aifmd?: SdkCompanyGroupAifmdDto
|
|
122
|
+
serviceProviders?: SdkCompanyGroupServiceProvidersDto
|
|
123
|
+
}
|
|
124
|
+
|
|
35
125
|
export interface SdkCompanyGroupDto {
|
|
36
126
|
id: number
|
|
37
127
|
name: string
|
|
38
|
-
|
|
128
|
+
isDemo: boolean
|
|
129
|
+
colorId?: number | null
|
|
39
130
|
companyIds?: number[]
|
|
40
|
-
companies?:
|
|
131
|
+
companies?: SdkCompactCompanyDto[]
|
|
132
|
+
details?: SdkCompanyGroupDetailsDto
|
|
41
133
|
}
|
|
42
134
|
|
|
43
135
|
export interface SdkCompanyReferenceDto {
|
|
44
136
|
id: number
|
|
45
137
|
name: string
|
|
46
|
-
type?: string
|
|
138
|
+
type?: string
|
|
47
139
|
}
|
|
48
140
|
|
|
49
141
|
export interface SdkCompanyGroupReferenceDto {
|
|
@@ -144,26 +236,202 @@ export interface SdkPortfolioPositionDto {
|
|
|
144
236
|
averageInvestmentAmount?: number | null
|
|
145
237
|
}
|
|
146
238
|
|
|
147
|
-
export interface
|
|
239
|
+
export interface SdkTransactionAdditionalInfoDto {
|
|
240
|
+
personResponsible?: string | null
|
|
241
|
+
rationale?: string | null
|
|
242
|
+
info?: string | null
|
|
243
|
+
warrant?: string | null
|
|
244
|
+
earnOut?: string | null
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export interface SdkTransactionBaseDto {
|
|
248
|
+
id: number
|
|
249
|
+
type: "Auction" | "ConvertibleNote" | "ConvertToEquity" | "Dividend" | "EquityInvestment" | "EquityReceived" | "Extend" | "FutureEquityAgreement" | "Insolvency" | "IPO" | "LimitedAuction" | "OptionsReceived" | "OtherExit" | "OtherInvestment" | "OtherRealization" | "Payback" | "Proprietary" | "TradeSale" | "ValuationChange" | "WriteOff"
|
|
250
|
+
date: string
|
|
251
|
+
companyId: number
|
|
252
|
+
companyGroupId?: number | null
|
|
253
|
+
company?: SdkCompanyReferenceDto
|
|
254
|
+
companyGroup?: SdkCompanyGroupReferenceDto
|
|
255
|
+
currency?: string | null
|
|
256
|
+
additionalInfo?: SdkTransactionAdditionalInfoDto
|
|
257
|
+
children?: SdkTransactionBaseDto[]
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export interface SdkEquityTransactionDto {
|
|
148
261
|
id: number
|
|
262
|
+
type: "EquityInvestment" | "EquityReceived" | "OptionsReceived"
|
|
263
|
+
date: string
|
|
149
264
|
companyId: number
|
|
150
265
|
companyGroupId?: number | null
|
|
151
266
|
company?: SdkCompanyReferenceDto
|
|
152
267
|
companyGroup?: SdkCompanyGroupReferenceDto
|
|
153
|
-
|
|
268
|
+
currency?: string | null
|
|
269
|
+
additionalInfo?: SdkTransactionAdditionalInfoDto
|
|
270
|
+
children?: SdkTransactionBaseDto[]
|
|
271
|
+
invested?: number | null
|
|
272
|
+
pricePerShare?: number | null
|
|
273
|
+
sharesAcquired?: number | null
|
|
274
|
+
sharesIssuedTotalDiluted?: number | null
|
|
275
|
+
sharesIssuedTotalCurrent?: number | null
|
|
276
|
+
companyPostMoneyValuation?: number | null
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export interface SdkTransactionPaymentDto {
|
|
280
|
+
amount: number
|
|
281
|
+
dueDate: string
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export interface SdkConvertibleNoteTransactionDto {
|
|
285
|
+
id: number
|
|
286
|
+
type: "ConvertibleNote"
|
|
287
|
+
date: string
|
|
288
|
+
companyId: number
|
|
289
|
+
companyGroupId?: number | null
|
|
290
|
+
company?: SdkCompanyReferenceDto
|
|
291
|
+
companyGroup?: SdkCompanyGroupReferenceDto
|
|
292
|
+
currency?: string | null
|
|
293
|
+
additionalInfo?: SdkTransactionAdditionalInfoDto
|
|
294
|
+
children?: SdkTransactionBaseDto[]
|
|
295
|
+
invested: number
|
|
296
|
+
valuationCap?: number | null
|
|
297
|
+
discountRate?: number | null
|
|
298
|
+
interestRate?: number | null
|
|
299
|
+
interestType?: string | null
|
|
300
|
+
compounded?: string | null
|
|
301
|
+
dayCountConvention?: string | null
|
|
302
|
+
maturityDate?: string | null
|
|
303
|
+
warrantedOwnership?: number | null
|
|
304
|
+
payments?: SdkTransactionPaymentDto[]
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export interface SdkFutureEquityAgreementTransactionDto {
|
|
308
|
+
id: number
|
|
309
|
+
type: "FutureEquityAgreement"
|
|
310
|
+
date: string
|
|
311
|
+
companyId: number
|
|
312
|
+
companyGroupId?: number | null
|
|
313
|
+
company?: SdkCompanyReferenceDto
|
|
314
|
+
companyGroup?: SdkCompanyGroupReferenceDto
|
|
315
|
+
currency?: string | null
|
|
316
|
+
additionalInfo?: SdkTransactionAdditionalInfoDto
|
|
317
|
+
children?: SdkTransactionBaseDto[]
|
|
318
|
+
invested: number
|
|
319
|
+
valuationCap?: number | null
|
|
320
|
+
discountRate?: number | null
|
|
321
|
+
valuationTiming?: string | null
|
|
322
|
+
companyPostMoneyValuation?: number | null
|
|
323
|
+
warrantedOwnership?: number | null
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
export interface SdkExtendTransactionDto {
|
|
327
|
+
id: number
|
|
328
|
+
type: "Extend"
|
|
329
|
+
date: string
|
|
330
|
+
companyId: number
|
|
331
|
+
companyGroupId?: number | null
|
|
332
|
+
company?: SdkCompanyReferenceDto
|
|
333
|
+
companyGroup?: SdkCompanyGroupReferenceDto
|
|
334
|
+
currency?: string | null
|
|
335
|
+
additionalInfo?: SdkTransactionAdditionalInfoDto
|
|
336
|
+
children?: SdkTransactionBaseDto[]
|
|
337
|
+
parentId: number
|
|
338
|
+
maturityDate?: string | null
|
|
339
|
+
transactionFairValue?: number | null
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export interface SdkConversionTransactionDto {
|
|
343
|
+
id: number
|
|
344
|
+
type: "ConvertToEquity" | "Payback" | "WriteOff"
|
|
345
|
+
date: string
|
|
346
|
+
companyId: number
|
|
347
|
+
companyGroupId?: number | null
|
|
348
|
+
company?: SdkCompanyReferenceDto
|
|
349
|
+
companyGroup?: SdkCompanyGroupReferenceDto
|
|
350
|
+
currency?: string | null
|
|
351
|
+
additionalInfo?: SdkTransactionAdditionalInfoDto
|
|
352
|
+
children?: SdkTransactionBaseDto[]
|
|
353
|
+
parentId: number
|
|
354
|
+
convertedTransactionType?: "Auction" | "ConvertibleNote" | "ConvertToEquity" | "Dividend" | "EquityInvestment" | "EquityReceived" | "Extend" | "FutureEquityAgreement" | "Insolvency" | "IPO" | "LimitedAuction" | "OptionsReceived" | "OtherExit" | "OtherInvestment" | "OtherRealization" | "Payback" | "Proprietary" | "TradeSale" | "ValuationChange" | "WriteOff"
|
|
355
|
+
amountConverted?: number | null
|
|
356
|
+
writeOffAmount?: number | null
|
|
357
|
+
pricePerShare?: number | null
|
|
358
|
+
sharesAcquired?: number | null
|
|
359
|
+
payments?: SdkTransactionPaymentDto[]
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
export interface SdkExitTransactionDto {
|
|
363
|
+
id: number
|
|
364
|
+
type: "TradeSale" | "IPO" | "Auction" | "LimitedAuction" | "Proprietary" | "OtherExit" | "Dividend" | "OtherRealization"
|
|
365
|
+
date: string
|
|
366
|
+
companyId: number
|
|
367
|
+
companyGroupId?: number | null
|
|
368
|
+
company?: SdkCompanyReferenceDto
|
|
369
|
+
companyGroup?: SdkCompanyGroupReferenceDto
|
|
370
|
+
currency?: string | null
|
|
371
|
+
additionalInfo?: SdkTransactionAdditionalInfoDto
|
|
372
|
+
children?: SdkTransactionBaseDto[]
|
|
373
|
+
profit?: number | null
|
|
374
|
+
pricePerShare?: number | null
|
|
375
|
+
sharesAcquired?: number | null
|
|
376
|
+
companyPostMoneyValuation?: number | null
|
|
377
|
+
ticker?: string | null
|
|
154
378
|
name?: string | null
|
|
379
|
+
payments?: SdkTransactionPaymentDto[]
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
export interface SdkValuationChangeTransactionDto {
|
|
383
|
+
id: number
|
|
384
|
+
type: "ValuationChange"
|
|
155
385
|
date: string
|
|
156
|
-
|
|
157
|
-
|
|
386
|
+
companyId: number
|
|
387
|
+
companyGroupId?: number | null
|
|
388
|
+
company?: SdkCompanyReferenceDto
|
|
389
|
+
companyGroup?: SdkCompanyGroupReferenceDto
|
|
390
|
+
currency?: string | null
|
|
391
|
+
additionalInfo?: SdkTransactionAdditionalInfoDto
|
|
392
|
+
children?: SdkTransactionBaseDto[]
|
|
393
|
+
companyPostMoneyValuation?: number | null
|
|
394
|
+
pricePerShare?: number | null
|
|
395
|
+
sharesIssuedTotalDiluted?: number | null
|
|
396
|
+
sharesIssuedTotalCurrent?: number | null
|
|
397
|
+
valuationMethod?: "Historical" | "NewFinancingRound" | "PubliclyListedSecurity" | "Realization" | "RecentTransactionMultiples" | "RecentMarketMultiples" | "RecentMarketAndTransactionMultiples" | "DiscountToPrimaryRound" | "ThirdPartyOpinion" | "Dcf" | "Other"
|
|
398
|
+
customSummaryFairValue?: number | null
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export interface SdkInsolvencyTransactionDto {
|
|
402
|
+
id: number
|
|
403
|
+
type: "Insolvency"
|
|
404
|
+
date: string
|
|
405
|
+
companyId: number
|
|
406
|
+
companyGroupId?: number | null
|
|
407
|
+
company?: SdkCompanyReferenceDto
|
|
408
|
+
companyGroup?: SdkCompanyGroupReferenceDto
|
|
158
409
|
currency?: string | null
|
|
159
|
-
|
|
410
|
+
additionalInfo?: SdkTransactionAdditionalInfoDto
|
|
411
|
+
children?: SdkTransactionBaseDto[]
|
|
412
|
+
customSummaryFairValue?: number | null
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export interface SdkOtherInvestmentTransactionDto {
|
|
416
|
+
id: number
|
|
417
|
+
type: "OtherInvestment"
|
|
418
|
+
date: string
|
|
419
|
+
companyId: number
|
|
420
|
+
companyGroupId?: number | null
|
|
421
|
+
company?: SdkCompanyReferenceDto
|
|
422
|
+
companyGroup?: SdkCompanyGroupReferenceDto
|
|
423
|
+
currency?: string | null
|
|
424
|
+
additionalInfo?: SdkTransactionAdditionalInfoDto
|
|
425
|
+
children?: SdkTransactionBaseDto[]
|
|
426
|
+
invested: number
|
|
427
|
+
name?: string | null
|
|
160
428
|
}
|
|
161
429
|
|
|
162
430
|
export type CompaniesGetOneResponse = SdkCompanyDto
|
|
163
431
|
|
|
164
|
-
export type CompaniesGetAllResponse =
|
|
432
|
+
export type CompaniesGetAllResponse = SdkCompactCompanyDto[]
|
|
165
433
|
|
|
166
|
-
export type CompanyGroupsGetAllResponse =
|
|
434
|
+
export type CompanyGroupsGetAllResponse = SdkCompactCompanyGroupDto[]
|
|
167
435
|
|
|
168
436
|
export type CompanyGroupsGetOneResponse = SdkCompanyGroupDto
|
|
169
437
|
|
|
@@ -171,9 +439,9 @@ export type PositionsGetCompanyPositionsResponse = SdkCompanyPositionDto[]
|
|
|
171
439
|
|
|
172
440
|
export type PositionsGetPortfolioPositionsResponse = SdkPortfolioPositionDto
|
|
173
441
|
|
|
174
|
-
export type TransactionsGetCompanyTransactionsResponse =
|
|
442
|
+
export type TransactionsGetCompanyTransactionsResponse = (SdkEquityTransactionDto | SdkConvertibleNoteTransactionDto | SdkFutureEquityAgreementTransactionDto | SdkExtendTransactionDto | SdkConversionTransactionDto | SdkExitTransactionDto | SdkValuationChangeTransactionDto | SdkInsolvencyTransactionDto | SdkOtherInvestmentTransactionDto)[]
|
|
175
443
|
|
|
176
|
-
export type TransactionsGetTransactionsResponse =
|
|
444
|
+
export type TransactionsGetTransactionsResponse = (SdkEquityTransactionDto | SdkConvertibleNoteTransactionDto | SdkFutureEquityAgreementTransactionDto | SdkExtendTransactionDto | SdkConversionTransactionDto | SdkExitTransactionDto | SdkValuationChangeTransactionDto | SdkInsolvencyTransactionDto | SdkOtherInvestmentTransactionDto)[]
|
|
177
445
|
|
|
178
446
|
export interface PositionsGetCompanyPositionsQuery {
|
|
179
447
|
/**
|