@clear-street/clearstreet 0.95.0 → 0.97.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.
Files changed (106) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/package.json +1 -1
  3. package/resources/v1/index.d.mts +3 -3
  4. package/resources/v1/index.d.mts.map +1 -1
  5. package/resources/v1/index.d.ts +3 -3
  6. package/resources/v1/index.d.ts.map +1 -1
  7. package/resources/v1/index.js.map +1 -1
  8. package/resources/v1/index.mjs +1 -1
  9. package/resources/v1/index.mjs.map +1 -1
  10. package/resources/v1/instrument-data/market-data.d.mts +2 -1
  11. package/resources/v1/instrument-data/market-data.d.mts.map +1 -1
  12. package/resources/v1/instrument-data/market-data.d.ts +2 -1
  13. package/resources/v1/instrument-data/market-data.d.ts.map +1 -1
  14. package/resources/v1/omni-ai/omni-ai.d.mts +5 -0
  15. package/resources/v1/omni-ai/omni-ai.d.mts.map +1 -1
  16. package/resources/v1/omni-ai/omni-ai.d.ts +5 -0
  17. package/resources/v1/omni-ai/omni-ai.d.ts.map +1 -1
  18. package/resources/v1/omni-ai/omni-ai.js.map +1 -1
  19. package/resources/v1/omni-ai/omni-ai.mjs.map +1 -1
  20. package/resources/v1/orders.d.mts +23 -13
  21. package/resources/v1/orders.d.mts.map +1 -1
  22. package/resources/v1/orders.d.ts +23 -13
  23. package/resources/v1/orders.d.ts.map +1 -1
  24. package/resources/v1/positions.d.mts +18 -7
  25. package/resources/v1/positions.d.mts.map +1 -1
  26. package/resources/v1/positions.d.ts +18 -7
  27. package/resources/v1/positions.d.ts.map +1 -1
  28. package/resources/v1/positions.js +2 -2
  29. package/resources/v1/positions.mjs +2 -2
  30. package/resources/v1/private-markets/companies.d.mts +368 -0
  31. package/resources/v1/private-markets/companies.d.mts.map +1 -0
  32. package/resources/v1/private-markets/companies.d.ts +368 -0
  33. package/resources/v1/private-markets/companies.d.ts.map +1 -0
  34. package/resources/v1/private-markets/companies.js +9 -0
  35. package/resources/v1/private-markets/companies.js.map +1 -0
  36. package/resources/v1/private-markets/companies.mjs +5 -0
  37. package/resources/v1/private-markets/companies.mjs.map +1 -0
  38. package/resources/v1/private-markets/index.d.mts +5 -2
  39. package/resources/v1/private-markets/index.d.mts.map +1 -1
  40. package/resources/v1/private-markets/index.d.ts +5 -2
  41. package/resources/v1/private-markets/index.d.ts.map +1 -1
  42. package/resources/v1/private-markets/index.js +7 -1
  43. package/resources/v1/private-markets/index.js.map +1 -1
  44. package/resources/v1/private-markets/index.mjs +4 -1
  45. package/resources/v1/private-markets/index.mjs.map +1 -1
  46. package/resources/v1/private-markets/iois.d.mts +64 -0
  47. package/resources/v1/private-markets/iois.d.mts.map +1 -0
  48. package/resources/v1/private-markets/iois.d.ts +64 -0
  49. package/resources/v1/private-markets/iois.d.ts.map +1 -0
  50. package/resources/v1/private-markets/iois.js +9 -0
  51. package/resources/v1/private-markets/iois.js.map +1 -0
  52. package/resources/v1/private-markets/iois.mjs +5 -0
  53. package/resources/v1/private-markets/iois.mjs.map +1 -0
  54. package/resources/v1/private-markets/offerings.d.mts +38 -1
  55. package/resources/v1/private-markets/offerings.d.mts.map +1 -1
  56. package/resources/v1/private-markets/offerings.d.ts +38 -1
  57. package/resources/v1/private-markets/offerings.d.ts.map +1 -1
  58. package/resources/v1/private-markets/private-markets.d.mts +217 -2
  59. package/resources/v1/private-markets/private-markets.d.mts.map +1 -1
  60. package/resources/v1/private-markets/private-markets.d.ts +217 -2
  61. package/resources/v1/private-markets/private-markets.d.ts.map +1 -1
  62. package/resources/v1/private-markets/private-markets.js +117 -0
  63. package/resources/v1/private-markets/private-markets.js.map +1 -1
  64. package/resources/v1/private-markets/private-markets.mjs +117 -0
  65. package/resources/v1/private-markets/private-markets.mjs.map +1 -1
  66. package/resources/v1/private-markets/spvs.d.mts +158 -0
  67. package/resources/v1/private-markets/spvs.d.mts.map +1 -0
  68. package/resources/v1/private-markets/spvs.d.ts +158 -0
  69. package/resources/v1/private-markets/spvs.d.ts.map +1 -0
  70. package/resources/v1/private-markets/spvs.js +9 -0
  71. package/resources/v1/private-markets/spvs.js.map +1 -0
  72. package/resources/v1/private-markets/spvs.mjs +5 -0
  73. package/resources/v1/private-markets/spvs.mjs.map +1 -0
  74. package/resources/v1/screener.d.mts +305 -6
  75. package/resources/v1/screener.d.mts.map +1 -1
  76. package/resources/v1/screener.d.ts +305 -6
  77. package/resources/v1/screener.d.ts.map +1 -1
  78. package/resources/v1/screener.js +29 -5
  79. package/resources/v1/screener.js.map +1 -1
  80. package/resources/v1/screener.mjs +29 -5
  81. package/resources/v1/screener.mjs.map +1 -1
  82. package/resources/v1/v1.d.mts +6 -6
  83. package/resources/v1/v1.d.mts.map +1 -1
  84. package/resources/v1/v1.d.ts +6 -6
  85. package/resources/v1/v1.d.ts.map +1 -1
  86. package/resources/v1/v1.js.map +1 -1
  87. package/resources/v1/v1.mjs +1 -1
  88. package/resources/v1/v1.mjs.map +1 -1
  89. package/src/resources/v1/index.ts +25 -1
  90. package/src/resources/v1/instrument-data/market-data.ts +2 -1
  91. package/src/resources/v1/omni-ai/omni-ai.ts +6 -0
  92. package/src/resources/v1/orders.ts +29 -12
  93. package/src/resources/v1/positions.ts +20 -7
  94. package/src/resources/v1/private-markets/companies.ts +483 -0
  95. package/src/resources/v1/private-markets/index.ts +55 -1
  96. package/src/resources/v1/private-markets/iois.ts +91 -0
  97. package/src/resources/v1/private-markets/offerings.ts +46 -0
  98. package/src/resources/v1/private-markets/private-markets.ts +374 -0
  99. package/src/resources/v1/private-markets/spvs.ts +201 -0
  100. package/src/resources/v1/screener.ts +364 -5
  101. package/src/resources/v1/v1.ts +50 -2
  102. package/src/version.ts +1 -1
  103. package/version.d.mts +1 -1
  104. package/version.d.ts +1 -1
  105. package/version.js +1 -1
  106. package/version.mjs +1 -1
@@ -1,11 +1,47 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../../../core/resource';
4
+ import * as Shared from '../../shared';
5
+ import * as CompaniesAPI from './companies';
6
+ import {
7
+ Companies,
8
+ CompanyCategory,
9
+ CompanyCitation,
10
+ CompanyCustomer,
11
+ CompanyDetail,
12
+ CompanyDocumentPreview,
13
+ CompanyDocumentRelation,
14
+ CompanyDocumentResource,
15
+ CompanyDocumentType,
16
+ CompanyHeadquarters,
17
+ CompanyLegalEntity,
18
+ CompanyMetricPoint,
19
+ CompanyMetricSeries,
20
+ CompanyNarrativeSection,
21
+ CompanyPerson,
22
+ CompanyPersonRole,
23
+ CompanyProfileResource,
24
+ CompanySocialLink,
25
+ CompanySocialType,
26
+ MetricFrequency,
27
+ MetricKey,
28
+ } from './companies';
29
+ import * as IoisAPI from './iois';
30
+ import {
31
+ IoiCompanyResource,
32
+ IoiListingResource,
33
+ IoiListingResourceList,
34
+ IoiOfferingResource,
35
+ IoiResource,
36
+ Iois,
37
+ NdaAcceptanceResource,
38
+ } from './iois';
4
39
  import * as OfferingsAPI from './offerings';
5
40
  import {
6
41
  Currency,
7
42
  MetricUnit,
8
43
  MetricValueType,
44
+ NdaAgreementResource,
9
45
  OfferingCard,
10
46
  OfferingCardList,
11
47
  OfferingClass,
@@ -26,19 +62,348 @@ import {
26
62
  SpvStatus,
27
63
  ValuationBasis,
28
64
  } from './offerings';
65
+ import * as SpvsAPI from './spvs';
66
+ import { ChargedBy, FeeFrequency, FeeType, SpvDetail, SpvFeeTermResource, Spvs } from './spvs';
67
+ import { APIPromise } from '../../../core/api-promise';
68
+ import { buildHeaders } from '../../../internal/headers';
69
+ import { RequestOptions } from '../../../internal/request-options';
70
+ import { path } from '../../../internal/utils/path';
29
71
 
72
+ /**
73
+ * Browse private-market offerings and their indicative terms. Access requires the account holder to hold an accreditation attestation.
74
+ */
30
75
  export class PrivateMarkets extends APIResource {
76
+ companies: CompaniesAPI.Companies = new CompaniesAPI.Companies(this._client);
77
+ iois: IoisAPI.Iois = new IoisAPI.Iois(this._client);
31
78
  offerings: OfferingsAPI.Offerings = new OfferingsAPI.Offerings(this._client);
79
+ spvs: SpvsAPI.Spvs = new SpvsAPI.Spvs(this._client);
80
+
81
+ /**
82
+ * Create an IOI for a visible upcoming offering.
83
+ *
84
+ * @example
85
+ * ```ts
86
+ * const response = await client.v1.privateMarkets.createIoi({
87
+ * account_id: 0,
88
+ * notional_amount: '100000.00',
89
+ * offering_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
90
+ * });
91
+ * ```
92
+ */
93
+ createIoi(
94
+ params: PrivateMarketCreateIoiParams,
95
+ options?: RequestOptions,
96
+ ): APIPromise<PrivateMarketCreateIoiResponse> {
97
+ const { account_id, ...body } = params;
98
+ return this._client.post('/v1/private-markets/iois', { query: { account_id }, body, ...options });
99
+ }
100
+
101
+ /**
102
+ * Withdraw a live IOI. Repeating a withdrawal returns 404.
103
+ *
104
+ * @example
105
+ * ```ts
106
+ * await client.v1.privateMarkets.deleteIoi(
107
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
108
+ * { account_id: 0 },
109
+ * );
110
+ * ```
111
+ */
112
+ deleteIoi(ioiID: string, params: PrivateMarketDeleteIoiParams, options?: RequestOptions): APIPromise<void> {
113
+ const { account_id } = params;
114
+ return this._client.delete(path`/v1/private-markets/iois/${ioiID}`, {
115
+ query: { account_id },
116
+ ...options,
117
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
118
+ });
119
+ }
120
+
121
+ /**
122
+ * Fetch one published private-market company with its complete versioned profile.
123
+ * Requires the account holder to have attested. Returns `404` when the company
124
+ * does not exist or is not yet published.
125
+ *
126
+ * @example
127
+ * ```ts
128
+ * const response =
129
+ * await client.v1.privateMarkets.getCompanyByID(
130
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
131
+ * { account_id: 0 },
132
+ * );
133
+ * ```
134
+ */
135
+ getCompanyByID(
136
+ companyID: string,
137
+ query: PrivateMarketGetCompanyByIDParams,
138
+ options?: RequestOptions,
139
+ ): APIPromise<PrivateMarketGetCompanyByIDResponse> {
140
+ return this._client.get(path`/v1/private-markets/companies/${companyID}`, { query, ...options });
141
+ }
142
+
143
+ /**
144
+ * List every live IOI for the caller's account-holder entity.
145
+ *
146
+ * @example
147
+ * ```ts
148
+ * const response = await client.v1.privateMarkets.getIois({
149
+ * account_id: 0,
150
+ * });
151
+ * ```
152
+ */
153
+ getIois(
154
+ query: PrivateMarketGetIoisParams,
155
+ options?: RequestOptions,
156
+ ): APIPromise<PrivateMarketGetIoisResponse> {
157
+ return this._client.get('/v1/private-markets/iois', { query, ...options });
158
+ }
159
+
160
+ /**
161
+ * Fetch one private-market SPV's complete economics and fee schedule. Requires the
162
+ * account holder to have attested. Returns `404` unless the SPV is `OPEN` and
163
+ * attached to a currently visible `ACTIVE` offering.
164
+ *
165
+ * @example
166
+ * ```ts
167
+ * const response = await client.v1.privateMarkets.getSpvByID(
168
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
169
+ * { account_id: 0 },
170
+ * );
171
+ * ```
172
+ */
173
+ getSpvByID(
174
+ spvID: string,
175
+ query: PrivateMarketGetSpvByIDParams,
176
+ options?: RequestOptions,
177
+ ): APIPromise<PrivateMarketGetSpvByIDResponse> {
178
+ return this._client.get(path`/v1/private-markets/spvs/${spvID}`, { query, ...options });
179
+ }
180
+
181
+ /**
182
+ * Update an IOI's notional, accepting the current NDA revision when required.
183
+ *
184
+ * @example
185
+ * ```ts
186
+ * const response = await client.v1.privateMarkets.updateIoi(
187
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
188
+ * { account_id: 0, notional_amount: '125000.00' },
189
+ * );
190
+ * ```
191
+ */
192
+ updateIoi(
193
+ ioiID: string,
194
+ params: PrivateMarketUpdateIoiParams,
195
+ options?: RequestOptions,
196
+ ): APIPromise<PrivateMarketUpdateIoiResponse> {
197
+ const { account_id, ...body } = params;
198
+ return this._client.patch(path`/v1/private-markets/iois/${ioiID}`, {
199
+ query: { account_id },
200
+ body,
201
+ ...options,
202
+ });
203
+ }
204
+ }
205
+
206
+ export interface PrivateMarketCreateIoiResponse extends Shared.BaseResponse {
207
+ /**
208
+ * IOI list item with the campaign identity needed to render it.
209
+ */
210
+ data: IoisAPI.IoiListingResource;
211
+ }
212
+
213
+ export interface PrivateMarketGetCompanyByIDResponse extends Shared.BaseResponse {
214
+ /**
215
+ * A company's identity and its complete published profile.
216
+ */
217
+ data: CompaniesAPI.CompanyDetail;
218
+ }
219
+
220
+ export interface PrivateMarketGetIoisResponse extends Shared.BaseResponse {
221
+ data: IoisAPI.IoiListingResourceList;
32
222
  }
33
223
 
224
+ export interface PrivateMarketGetSpvByIDResponse extends Shared.BaseResponse {
225
+ /**
226
+ * An OPEN SPV's identity, exact economics, and typed fee schedule.
227
+ */
228
+ data: SpvsAPI.SpvDetail;
229
+ }
230
+
231
+ export interface PrivateMarketUpdateIoiResponse extends Shared.BaseResponse {
232
+ /**
233
+ * IOI list item with the campaign identity needed to render it.
234
+ */
235
+ data: IoisAPI.IoiListingResource;
236
+ }
237
+
238
+ export interface PrivateMarketCreateIoiParams {
239
+ /**
240
+ * Query param
241
+ */
242
+ account_id: number;
243
+
244
+ /**
245
+ * Body param
246
+ */
247
+ notional_amount: string;
248
+
249
+ /**
250
+ * Body param
251
+ */
252
+ offering_id: string;
253
+
254
+ /**
255
+ * Body param: Required only when the offering's attached SPV has an NDA agreement.
256
+ */
257
+ nda_acceptance?: PrivateMarketCreateIoiParams.NdaAcceptance | null;
258
+ }
259
+
260
+ export namespace PrivateMarketCreateIoiParams {
261
+ /**
262
+ * Required only when the offering's attached SPV has an NDA agreement.
263
+ */
264
+ export interface NdaAcceptance {
265
+ /**
266
+ * Must be true; confirms affirmative assent.
267
+ */
268
+ accepted: boolean;
269
+
270
+ /**
271
+ * Exact agreement id returned by offering detail.
272
+ */
273
+ agreement_id: string;
274
+
275
+ /**
276
+ * Must be true; confirms the signer may bind the account-holder entity.
277
+ */
278
+ authority_confirmed: boolean;
279
+ }
280
+ }
281
+
282
+ export interface PrivateMarketDeleteIoiParams {
283
+ account_id: number;
284
+ }
285
+
286
+ export interface PrivateMarketGetCompanyByIDParams {
287
+ /**
288
+ * Account whose account-holder entity must hold an accreditation attestation to
289
+ * browse private-market offerings.
290
+ */
291
+ account_id: number;
292
+ }
293
+
294
+ export interface PrivateMarketGetIoisParams {
295
+ account_id: number;
296
+ }
297
+
298
+ export interface PrivateMarketGetSpvByIDParams {
299
+ /**
300
+ * Account whose account-holder entity must hold an accreditation attestation to
301
+ * browse private-market offerings.
302
+ */
303
+ account_id: number;
304
+ }
305
+
306
+ export interface PrivateMarketUpdateIoiParams {
307
+ /**
308
+ * Query param
309
+ */
310
+ account_id: number;
311
+
312
+ /**
313
+ * Body param
314
+ */
315
+ notional_amount: string;
316
+
317
+ /**
318
+ * Body param: Required when the SPV's current NDA version is newer than the IOI's
319
+ * latest acceptance. Irrelevant acceptances are rejected.
320
+ */
321
+ nda_acceptance?: PrivateMarketUpdateIoiParams.NdaAcceptance | null;
322
+ }
323
+
324
+ export namespace PrivateMarketUpdateIoiParams {
325
+ /**
326
+ * Required when the SPV's current NDA version is newer than the IOI's latest
327
+ * acceptance. Irrelevant acceptances are rejected.
328
+ */
329
+ export interface NdaAcceptance {
330
+ /**
331
+ * Must be true; confirms affirmative assent.
332
+ */
333
+ accepted: boolean;
334
+
335
+ /**
336
+ * Exact agreement id returned by offering detail.
337
+ */
338
+ agreement_id: string;
339
+
340
+ /**
341
+ * Must be true; confirms the signer may bind the account-holder entity.
342
+ */
343
+ authority_confirmed: boolean;
344
+ }
345
+ }
346
+
347
+ PrivateMarkets.Companies = Companies;
348
+ PrivateMarkets.Iois = Iois;
34
349
  PrivateMarkets.Offerings = Offerings;
350
+ PrivateMarkets.Spvs = Spvs;
35
351
 
36
352
  export declare namespace PrivateMarkets {
353
+ export {
354
+ type PrivateMarketCreateIoiResponse as PrivateMarketCreateIoiResponse,
355
+ type PrivateMarketGetCompanyByIDResponse as PrivateMarketGetCompanyByIDResponse,
356
+ type PrivateMarketGetIoisResponse as PrivateMarketGetIoisResponse,
357
+ type PrivateMarketGetSpvByIDResponse as PrivateMarketGetSpvByIDResponse,
358
+ type PrivateMarketUpdateIoiResponse as PrivateMarketUpdateIoiResponse,
359
+ type PrivateMarketCreateIoiParams as PrivateMarketCreateIoiParams,
360
+ type PrivateMarketDeleteIoiParams as PrivateMarketDeleteIoiParams,
361
+ type PrivateMarketGetCompanyByIDParams as PrivateMarketGetCompanyByIDParams,
362
+ type PrivateMarketGetIoisParams as PrivateMarketGetIoisParams,
363
+ type PrivateMarketGetSpvByIDParams as PrivateMarketGetSpvByIDParams,
364
+ type PrivateMarketUpdateIoiParams as PrivateMarketUpdateIoiParams,
365
+ };
366
+
367
+ export {
368
+ Companies as Companies,
369
+ type CompanyCategory as CompanyCategory,
370
+ type CompanyCitation as CompanyCitation,
371
+ type CompanyCustomer as CompanyCustomer,
372
+ type CompanyDetail as CompanyDetail,
373
+ type CompanyDocumentPreview as CompanyDocumentPreview,
374
+ type CompanyDocumentRelation as CompanyDocumentRelation,
375
+ type CompanyDocumentResource as CompanyDocumentResource,
376
+ type CompanyDocumentType as CompanyDocumentType,
377
+ type CompanyHeadquarters as CompanyHeadquarters,
378
+ type CompanyLegalEntity as CompanyLegalEntity,
379
+ type CompanyMetricPoint as CompanyMetricPoint,
380
+ type CompanyMetricSeries as CompanyMetricSeries,
381
+ type CompanyNarrativeSection as CompanyNarrativeSection,
382
+ type CompanyPerson as CompanyPerson,
383
+ type CompanyPersonRole as CompanyPersonRole,
384
+ type CompanyProfileResource as CompanyProfileResource,
385
+ type CompanySocialLink as CompanySocialLink,
386
+ type CompanySocialType as CompanySocialType,
387
+ type MetricFrequency as MetricFrequency,
388
+ type MetricKey as MetricKey,
389
+ };
390
+
391
+ export {
392
+ Iois as Iois,
393
+ type IoiCompanyResource as IoiCompanyResource,
394
+ type IoiListingResource as IoiListingResource,
395
+ type IoiListingResourceList as IoiListingResourceList,
396
+ type IoiOfferingResource as IoiOfferingResource,
397
+ type IoiResource as IoiResource,
398
+ type NdaAcceptanceResource as NdaAcceptanceResource,
399
+ };
400
+
37
401
  export {
38
402
  Offerings as Offerings,
39
403
  type Currency as Currency,
40
404
  type MetricUnit as MetricUnit,
41
405
  type MetricValueType as MetricValueType,
406
+ type NdaAgreementResource as NdaAgreementResource,
42
407
  type OfferingCard as OfferingCard,
43
408
  type OfferingCardList as OfferingCardList,
44
409
  type OfferingClass as OfferingClass,
@@ -58,4 +423,13 @@ export declare namespace PrivateMarkets {
58
423
  type OfferingGetOfferingByIDParams as OfferingGetOfferingByIDParams,
59
424
  type OfferingGetOfferingsParams as OfferingGetOfferingsParams,
60
425
  };
426
+
427
+ export {
428
+ Spvs as Spvs,
429
+ type ChargedBy as ChargedBy,
430
+ type FeeFrequency as FeeFrequency,
431
+ type FeeType as FeeType,
432
+ type SpvDetail as SpvDetail,
433
+ type SpvFeeTermResource as SpvFeeTermResource,
434
+ };
61
435
  }
@@ -0,0 +1,201 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../../core/resource';
4
+ import * as OfferingsAPI from './offerings';
5
+
6
+ export class Spvs extends APIResource {}
7
+
8
+ /**
9
+ * Party charging a fee.
10
+ */
11
+ export type ChargedBy = 'FUND_MANAGER' | 'CLEAR_STREET' | 'THIRD_PARTY';
12
+
13
+ /**
14
+ * Fee timing/cadence.
15
+ */
16
+ export type FeeFrequency = 'ONE_TIME' | 'ANNUAL' | 'AT_EXIT' | 'PASS_THROUGH';
17
+
18
+ /**
19
+ * Kind of SPV fee.
20
+ */
21
+ export type FeeType = 'MANAGEMENT' | 'CARRY' | 'PLACEMENT' | 'ADMINISTRATIVE' | 'OTHER';
22
+
23
+ /**
24
+ * An OPEN SPV's identity, exact economics, and typed fee schedule.
25
+ */
26
+ export interface SpvDetail {
27
+ /**
28
+ * Stable SPV identifier.
29
+ */
30
+ id: string;
31
+
32
+ /**
33
+ * Company whose shares the vehicle holds.
34
+ */
35
+ company_id: string;
36
+
37
+ /**
38
+ * Terms currency.
39
+ */
40
+ currency: OfferingsAPI.Currency;
41
+
42
+ /**
43
+ * Legal/display name.
44
+ */
45
+ name: string;
46
+
47
+ /**
48
+ * Lifecycle state.
49
+ */
50
+ status: OfferingsAPI.SpvStatus;
51
+
52
+ /**
53
+ * Price per share including fees.
54
+ */
55
+ all_in_price_per_share?: string | null;
56
+
57
+ /**
58
+ * Custodian.
59
+ */
60
+ custodian_name?: string | null;
61
+
62
+ /**
63
+ * Per-share fee.
64
+ */
65
+ fee_per_share?: string | null;
66
+
67
+ /**
68
+ * Typed fee schedule.
69
+ */
70
+ fee_terms?: Array<SpvFeeTermResource>;
71
+
72
+ /**
73
+ * Percentage of dollar allocation funded, derived from the allocation pair.
74
+ */
75
+ funded_percent?: string | null;
76
+
77
+ /**
78
+ * Funding deadline.
79
+ */
80
+ funding_deadline?: string | null;
81
+
82
+ /**
83
+ * SPV manager.
84
+ */
85
+ manager_name?: string | null;
86
+
87
+ /**
88
+ * Minimum investment amount.
89
+ */
90
+ minimum_investment_amount?: string | null;
91
+
92
+ /**
93
+ * Time the vehicle opened.
94
+ */
95
+ opened_at?: string | null;
96
+
97
+ /**
98
+ * Price per share excluding fees.
99
+ */
100
+ price_per_share?: string | null;
101
+
102
+ /**
103
+ * Remaining dollar allocation.
104
+ */
105
+ remaining_allocation_amount?: string | null;
106
+
107
+ /**
108
+ * Remaining share allocation.
109
+ */
110
+ remaining_share_allocation?: string | null;
111
+
112
+ /**
113
+ * Underlying share class, when specified.
114
+ */
115
+ share_class?: string | null;
116
+
117
+ /**
118
+ * Plain-text vehicle structure.
119
+ */
120
+ structure_description?: string | null;
121
+
122
+ /**
123
+ * Total dollar allocation.
124
+ */
125
+ total_allocation_amount?: string | null;
126
+
127
+ /**
128
+ * Total share allocation.
129
+ */
130
+ total_share_allocation?: string | null;
131
+
132
+ /**
133
+ * Exact company valuation.
134
+ */
135
+ valuation?: string | null;
136
+
137
+ /**
138
+ * Meaning of `valuation`.
139
+ */
140
+ valuation_basis?: OfferingsAPI.ValuationBasis | null;
141
+ }
142
+
143
+ /**
144
+ * One typed SPV fee term.
145
+ */
146
+ export interface SpvFeeTermResource {
147
+ /**
148
+ * Charging party.
149
+ */
150
+ charged_by: ChargedBy;
151
+
152
+ /**
153
+ * Terms currency.
154
+ */
155
+ currency: OfferingsAPI.Currency;
156
+
157
+ /**
158
+ * Plain-text fee disclosure.
159
+ */
160
+ description: string;
161
+
162
+ /**
163
+ * Fee kind.
164
+ */
165
+ fee_type: FeeType;
166
+
167
+ /**
168
+ * Timing/cadence.
169
+ */
170
+ frequency: FeeFrequency;
171
+
172
+ /**
173
+ * Exact fixed amount, when amount-based.
174
+ */
175
+ amount?: string | null;
176
+
177
+ /**
178
+ * Charge duration in years, when specified.
179
+ */
180
+ duration_years?: string | null;
181
+
182
+ /**
183
+ * Carry hurdle as a decimal fraction, when specified.
184
+ */
185
+ hurdle_rate?: string | null;
186
+
187
+ /**
188
+ * Decimal fraction between zero and one, when percentage-based.
189
+ */
190
+ rate?: string | null;
191
+ }
192
+
193
+ export declare namespace Spvs {
194
+ export {
195
+ type ChargedBy as ChargedBy,
196
+ type FeeFrequency as FeeFrequency,
197
+ type FeeType as FeeType,
198
+ type SpvDetail as SpvDetail,
199
+ type SpvFeeTermResource as SpvFeeTermResource,
200
+ };
201
+ }