@clear-street/clearstreet 0.93.1 → 0.95.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/CHANGELOG.md +25 -0
- package/package.json +1 -1
- package/resources/v1/accounts.d.mts +27 -44
- package/resources/v1/accounts.d.mts.map +1 -1
- package/resources/v1/accounts.d.ts +27 -44
- package/resources/v1/accounts.d.ts.map +1 -1
- package/resources/v1/index.d.mts +5 -4
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +5 -4
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js +3 -1
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs +1 -0
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/instrument-data/index.d.mts +1 -1
- package/resources/v1/instrument-data/index.d.mts.map +1 -1
- package/resources/v1/instrument-data/index.d.ts +1 -1
- package/resources/v1/instrument-data/index.d.ts.map +1 -1
- package/resources/v1/instrument-data/index.js.map +1 -1
- package/resources/v1/instrument-data/index.mjs.map +1 -1
- package/resources/v1/instrument-data/instrument-data.d.mts +70 -5
- package/resources/v1/instrument-data/instrument-data.d.mts.map +1 -1
- package/resources/v1/instrument-data/instrument-data.d.ts +70 -5
- package/resources/v1/instrument-data/instrument-data.d.ts.map +1 -1
- package/resources/v1/instrument-data/instrument-data.js +6 -4
- package/resources/v1/instrument-data/instrument-data.js.map +1 -1
- package/resources/v1/instrument-data/instrument-data.mjs +6 -4
- package/resources/v1/instrument-data/instrument-data.mjs.map +1 -1
- package/resources/v1/instrument-data/market-data.d.mts +48 -1
- package/resources/v1/instrument-data/market-data.d.mts.map +1 -1
- package/resources/v1/instrument-data/market-data.d.ts +48 -1
- package/resources/v1/instrument-data/market-data.d.ts.map +1 -1
- package/resources/v1/instruments.d.mts +66 -8
- package/resources/v1/instruments.d.mts.map +1 -1
- package/resources/v1/instruments.d.ts +66 -8
- package/resources/v1/instruments.d.ts.map +1 -1
- package/resources/v1/instruments.js +4 -2
- package/resources/v1/instruments.js.map +1 -1
- package/resources/v1/instruments.mjs +4 -2
- package/resources/v1/instruments.mjs.map +1 -1
- package/resources/v1/omni-ai/index.d.mts +1 -1
- package/resources/v1/omni-ai/index.d.mts.map +1 -1
- package/resources/v1/omni-ai/index.d.ts +1 -1
- package/resources/v1/omni-ai/index.d.ts.map +1 -1
- package/resources/v1/omni-ai/index.js.map +1 -1
- package/resources/v1/omni-ai/index.mjs.map +1 -1
- package/resources/v1/omni-ai/omni-ai.d.mts +169 -3
- package/resources/v1/omni-ai/omni-ai.d.mts.map +1 -1
- package/resources/v1/omni-ai/omni-ai.d.ts +169 -3
- package/resources/v1/omni-ai/omni-ai.d.ts.map +1 -1
- package/resources/v1/omni-ai/omni-ai.js.map +1 -1
- package/resources/v1/omni-ai/omni-ai.mjs.map +1 -1
- package/resources/v1/orders.d.mts +60 -22
- package/resources/v1/orders.d.mts.map +1 -1
- package/resources/v1/orders.d.ts +60 -22
- package/resources/v1/orders.d.ts.map +1 -1
- package/resources/v1/orders.js +5 -1
- package/resources/v1/orders.js.map +1 -1
- package/resources/v1/orders.mjs +5 -1
- package/resources/v1/orders.mjs.map +1 -1
- package/resources/v1/private-markets/index.d.mts +3 -0
- package/resources/v1/private-markets/index.d.mts.map +1 -0
- package/resources/v1/private-markets/index.d.ts +3 -0
- package/resources/v1/private-markets/index.d.ts.map +1 -0
- package/resources/v1/private-markets/index.js +9 -0
- package/resources/v1/private-markets/index.js.map +1 -0
- package/resources/v1/private-markets/index.mjs +4 -0
- package/resources/v1/private-markets/index.mjs.map +1 -0
- package/resources/v1/private-markets/offerings.d.mts +369 -0
- package/resources/v1/private-markets/offerings.d.mts.map +1 -0
- package/resources/v1/private-markets/offerings.d.ts +369 -0
- package/resources/v1/private-markets/offerings.d.ts.map +1 -0
- package/resources/v1/private-markets/offerings.js +46 -0
- package/resources/v1/private-markets/offerings.js.map +1 -0
- package/resources/v1/private-markets/offerings.mjs +42 -0
- package/resources/v1/private-markets/offerings.mjs.map +1 -0
- package/resources/v1/private-markets/private-markets.d.mts +10 -0
- package/resources/v1/private-markets/private-markets.d.mts.map +1 -0
- package/resources/v1/private-markets/private-markets.d.ts +10 -0
- package/resources/v1/private-markets/private-markets.d.ts.map +1 -0
- package/resources/v1/private-markets/private-markets.js +17 -0
- package/resources/v1/private-markets/private-markets.js.map +1 -0
- package/resources/v1/private-markets/private-markets.mjs +12 -0
- package/resources/v1/private-markets/private-markets.mjs.map +1 -0
- package/resources/v1/private-markets.d.mts +2 -0
- package/resources/v1/private-markets.d.mts.map +1 -0
- package/resources/v1/private-markets.d.ts +2 -0
- package/resources/v1/private-markets.d.ts.map +1 -0
- package/resources/v1/private-markets.js +6 -0
- package/resources/v1/private-markets.js.map +1 -0
- package/resources/v1/private-markets.mjs +3 -0
- package/resources/v1/private-markets.mjs.map +1 -0
- package/resources/v1/screener.d.mts +3 -0
- package/resources/v1/screener.d.mts.map +1 -1
- package/resources/v1/screener.d.ts +3 -0
- package/resources/v1/screener.d.ts.map +1 -1
- package/resources/v1/screener.js +3 -0
- package/resources/v1/screener.js.map +1 -1
- package/resources/v1/screener.mjs +3 -0
- package/resources/v1/screener.mjs.map +1 -1
- package/resources/v1/v1.d.mts +12 -8
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +12 -8
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js +4 -0
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs +4 -0
- package/resources/v1/v1.mjs.map +1 -1
- package/src/resources/v1/accounts.ts +27 -50
- package/src/resources/v1/index.ts +5 -1
- package/src/resources/v1/instrument-data/index.ts +1 -0
- package/src/resources/v1/instrument-data/instrument-data.ts +82 -4
- package/src/resources/v1/instrument-data/market-data.ts +55 -1
- package/src/resources/v1/instruments.ts +74 -7
- package/src/resources/v1/omni-ai/index.ts +2 -0
- package/src/resources/v1/omni-ai/omni-ai.ts +202 -2
- package/src/resources/v1/orders.ts +68 -29
- package/src/resources/v1/private-markets/index.ts +27 -0
- package/src/resources/v1/private-markets/offerings.ts +477 -0
- package/src/resources/v1/private-markets/private-markets.ts +61 -0
- package/src/resources/v1/private-markets.ts +3 -0
- package/src/resources/v1/screener.ts +3 -0
- package/src/resources/v1/v1.ts +14 -2
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,477 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import * as Shared from '../../shared';
|
|
5
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
6
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
7
|
+
import { path } from '../../../internal/utils/path';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Browse private-market offerings and their indicative terms. Access requires the account holder to hold an accreditation attestation.
|
|
11
|
+
*/
|
|
12
|
+
export class Offerings extends APIResource {
|
|
13
|
+
/**
|
|
14
|
+
* Fetch one visible private-market offering with its documents, participants, and
|
|
15
|
+
* any attached SPV. Requires the account holder to have attested. Returns `404`
|
|
16
|
+
* when the offering does not exist or is not currently visible.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* const response =
|
|
21
|
+
* await client.v1.privateMarkets.offerings.getOfferingByID(
|
|
22
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
23
|
+
* { account_id: 0 },
|
|
24
|
+
* );
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
getOfferingByID(
|
|
28
|
+
offeringID: string,
|
|
29
|
+
query: OfferingGetOfferingByIDParams,
|
|
30
|
+
options?: RequestOptions,
|
|
31
|
+
): APIPromise<OfferingGetOfferingByIDResponse> {
|
|
32
|
+
return this._client.get(path`/v1/private-markets/offerings/${offeringID}`, { query, ...options });
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* List every visible private-market offering as a card, with its derived class,
|
|
37
|
+
* company and SPV identity, and indicative terms. Requires the account holder to
|
|
38
|
+
* have attested.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const response =
|
|
43
|
+
* await client.v1.privateMarkets.offerings.getOfferings({
|
|
44
|
+
* account_id: 0,
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
getOfferings(
|
|
49
|
+
query: OfferingGetOfferingsParams,
|
|
50
|
+
options?: RequestOptions,
|
|
51
|
+
): APIPromise<OfferingGetOfferingsResponse> {
|
|
52
|
+
return this._client.get('/v1/private-markets/offerings', { query, ...options });
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Terms currency.
|
|
58
|
+
*/
|
|
59
|
+
export type Currency = 'USD';
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Unit for a resolved highlight metric.
|
|
63
|
+
*/
|
|
64
|
+
export type MetricUnit = 'USD' | 'PERCENT' | 'COUNT' | 'RANK';
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Whether a resolved highlight value is observed or estimated.
|
|
68
|
+
*/
|
|
69
|
+
export type MetricValueType = 'HISTORICAL' | 'ESTIMATED';
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* One offering as it appears in a list: its derived class, indicative terms, a
|
|
73
|
+
* company identity summary, and any attached SPV.
|
|
74
|
+
*/
|
|
75
|
+
export interface OfferingCard {
|
|
76
|
+
/**
|
|
77
|
+
* Stable public identifier; IOIs and history hang off it.
|
|
78
|
+
*/
|
|
79
|
+
id: string;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Derived classification.
|
|
83
|
+
*/
|
|
84
|
+
class: OfferingClass;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Owning company identity.
|
|
88
|
+
*/
|
|
89
|
+
company: OfferingCompany;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Terms currency.
|
|
93
|
+
*/
|
|
94
|
+
currency: Currency;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Card/detail headline.
|
|
98
|
+
*/
|
|
99
|
+
headline: string;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Top opportunity paragraph.
|
|
103
|
+
*/
|
|
104
|
+
summary: string;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Indicative price-per-share range, high endpoint.
|
|
108
|
+
*/
|
|
109
|
+
indicative_price_high?: string | null;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Indicative price-per-share range, low endpoint.
|
|
113
|
+
*/
|
|
114
|
+
indicative_price_low?: string | null;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Meaning of the indicative valuation range.
|
|
118
|
+
*/
|
|
119
|
+
indicative_valuation_basis?: ValuationBasis | null;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Indicative valuation range, high endpoint.
|
|
123
|
+
*/
|
|
124
|
+
indicative_valuation_high?: string | null;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Indicative valuation range, low endpoint.
|
|
128
|
+
*/
|
|
129
|
+
indicative_valuation_low?: string | null;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Deadline for indications of interest.
|
|
133
|
+
*/
|
|
134
|
+
ioi_deadline?: string | null;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Minimum indication-of-interest amount.
|
|
138
|
+
*/
|
|
139
|
+
minimum_ioi_amount?: string | null;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Attached SPV identity and lifecycle, once one exists.
|
|
143
|
+
*/
|
|
144
|
+
spv?: OfferingSpv | null;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export type OfferingCardList = Array<OfferingCard>;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Derived offering classification.
|
|
151
|
+
*/
|
|
152
|
+
export type OfferingClass = 'UPCOMING' | 'ACTIVE';
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Company identity carried on an offering card/detail.
|
|
156
|
+
*/
|
|
157
|
+
export interface OfferingCompany {
|
|
158
|
+
/**
|
|
159
|
+
* Stable company identifier.
|
|
160
|
+
*/
|
|
161
|
+
id: string;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Display name.
|
|
165
|
+
*/
|
|
166
|
+
name: string;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Short card/search description.
|
|
170
|
+
*/
|
|
171
|
+
short_description: string;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Lowercase URL slug.
|
|
175
|
+
*/
|
|
176
|
+
slug: string;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Company logo URL, when known.
|
|
180
|
+
*/
|
|
181
|
+
logo_url?: string | null;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Canonical lowercase domain, when known.
|
|
185
|
+
*/
|
|
186
|
+
primary_domain?: string | null;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* One offering with everything needed to render its detail payload.
|
|
191
|
+
*/
|
|
192
|
+
export interface OfferingDetail extends OfferingCard {
|
|
193
|
+
/**
|
|
194
|
+
* Important disclosures.
|
|
195
|
+
*/
|
|
196
|
+
disclosures?: string | null;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Campaign documents in display order.
|
|
200
|
+
*/
|
|
201
|
+
documents?: Array<OfferingDocumentResource>;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Ordered resolved highlights.
|
|
205
|
+
*/
|
|
206
|
+
highlights?: Array<OfferingHighlight>;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Campaign-specific investment framing.
|
|
210
|
+
*/
|
|
211
|
+
investment_thesis?: string | null;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Ordered key risks.
|
|
215
|
+
*/
|
|
216
|
+
key_risks?: Array<OfferingKeyRisk>;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Campaign participants in display order.
|
|
220
|
+
*/
|
|
221
|
+
participants?: Array<OfferingParticipantResource>;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Vehicle/structure framing shown before typed SPV terms exist.
|
|
225
|
+
*/
|
|
226
|
+
structure_description?: string | null;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Why-now framing.
|
|
230
|
+
*/
|
|
231
|
+
why_now?: string | null;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* A campaign document's display metadata. Exactly one of `url`/`object_key` is
|
|
236
|
+
* set; an object key is resolved and signed elsewhere.
|
|
237
|
+
*/
|
|
238
|
+
export interface OfferingDocumentResource {
|
|
239
|
+
/**
|
|
240
|
+
* Stable identifier.
|
|
241
|
+
*/
|
|
242
|
+
id: string;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Stable display position.
|
|
246
|
+
*/
|
|
247
|
+
display_order: number;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Document kind.
|
|
251
|
+
*/
|
|
252
|
+
document_type: OfferingDocumentType;
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Display title.
|
|
256
|
+
*/
|
|
257
|
+
title: string;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Object-store key, when the document is stored internally.
|
|
261
|
+
*/
|
|
262
|
+
object_key?: string | null;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Publication time, when known.
|
|
266
|
+
*/
|
|
267
|
+
published_at?: string | null;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Source publisher/provider.
|
|
271
|
+
*/
|
|
272
|
+
source?: string | null;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Source URL.
|
|
276
|
+
*/
|
|
277
|
+
source_url?: string | null;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Externally reachable URL, when the document lives at one.
|
|
281
|
+
*/
|
|
282
|
+
url?: string | null;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* Kind of campaign document.
|
|
287
|
+
*/
|
|
288
|
+
export type OfferingDocumentType = 'TEARSHEET' | 'KEY_TERMS' | 'RISK_FACTORS' | 'PPM' | 'OTHER';
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* A curated highlight, resolved against the company profile's metric series.
|
|
292
|
+
*/
|
|
293
|
+
export interface OfferingHighlight {
|
|
294
|
+
/**
|
|
295
|
+
* Display label (the highlight's override, else the series' own label).
|
|
296
|
+
*/
|
|
297
|
+
label: string;
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* Canonical metric key selected by the highlight (e.g. `REVENUE_GROWTH`).
|
|
301
|
+
*/
|
|
302
|
+
metric_key: string;
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Value unit.
|
|
306
|
+
*/
|
|
307
|
+
unit: MetricUnit;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Observation time of the latest value.
|
|
311
|
+
*/
|
|
312
|
+
observed_at?: string | null;
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Latest observed value, when the series carries any points.
|
|
316
|
+
*/
|
|
317
|
+
value?: string | null;
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Whether the latest value is historical or estimated.
|
|
321
|
+
*/
|
|
322
|
+
value_type?: MetricValueType | null;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* One ordered key-risk block.
|
|
327
|
+
*/
|
|
328
|
+
export interface OfferingKeyRisk {
|
|
329
|
+
/**
|
|
330
|
+
* Plain-text risk body.
|
|
331
|
+
*/
|
|
332
|
+
body: string;
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Risk heading.
|
|
336
|
+
*/
|
|
337
|
+
title: string;
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Profile-local citation ids supporting the risk.
|
|
341
|
+
*/
|
|
342
|
+
citation_ids?: Array<string>;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* An offering participant's display data.
|
|
347
|
+
*/
|
|
348
|
+
export interface OfferingParticipantResource {
|
|
349
|
+
/**
|
|
350
|
+
* Stable identifier.
|
|
351
|
+
*/
|
|
352
|
+
id: string;
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Stable display position.
|
|
356
|
+
*/
|
|
357
|
+
display_order: number;
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Display name.
|
|
361
|
+
*/
|
|
362
|
+
name: string;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Presentation role.
|
|
366
|
+
*/
|
|
367
|
+
role: ParticipantRole;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* The attached SPV's identity and lifecycle. Exact economics surface once the SPV
|
|
372
|
+
* opens; an upcoming offering's indicative ranges describe the terms until then.
|
|
373
|
+
*/
|
|
374
|
+
export interface OfferingSpv {
|
|
375
|
+
/**
|
|
376
|
+
* Stable SPV identifier.
|
|
377
|
+
*/
|
|
378
|
+
id: string;
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* Legal/display name.
|
|
382
|
+
*/
|
|
383
|
+
name: string;
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* Lifecycle state.
|
|
387
|
+
*/
|
|
388
|
+
status: SpvStatus;
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* Custodian.
|
|
392
|
+
*/
|
|
393
|
+
custodian_name?: string | null;
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* SPV manager.
|
|
397
|
+
*/
|
|
398
|
+
manager_name?: string | null;
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* Underlying share class, when specified.
|
|
402
|
+
*/
|
|
403
|
+
share_class?: string | null;
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* Plain-text vehicle structure.
|
|
407
|
+
*/
|
|
408
|
+
structure_description?: string | null;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Presentation role of an offering participant.
|
|
413
|
+
*/
|
|
414
|
+
export type ParticipantRole = 'LEAD_INVESTOR' | 'CO_LEAD' | 'FUND_MANAGER' | 'PLACEMENT_AGENT';
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* SPV lifecycle state.
|
|
418
|
+
*/
|
|
419
|
+
export type SpvStatus = 'DRAFT' | 'OPEN' | 'CLOSED' | 'LIQUIDATING' | 'DISSOLVED';
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Meaning of an indicative valuation range or an SPV valuation.
|
|
423
|
+
*/
|
|
424
|
+
export type ValuationBasis = 'PRE_MONEY' | 'POST_MONEY' | 'REFERENCE' | 'IMPLIED';
|
|
425
|
+
|
|
426
|
+
export interface OfferingGetOfferingByIDResponse extends Shared.BaseResponse {
|
|
427
|
+
/**
|
|
428
|
+
* One offering with everything needed to render its detail payload.
|
|
429
|
+
*/
|
|
430
|
+
data: OfferingDetail;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
export interface OfferingGetOfferingsResponse extends Shared.BaseResponse {
|
|
434
|
+
data: OfferingCardList;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export interface OfferingGetOfferingByIDParams {
|
|
438
|
+
/**
|
|
439
|
+
* Account whose account-holder entity must hold an accreditation attestation to
|
|
440
|
+
* browse private-market offerings.
|
|
441
|
+
*/
|
|
442
|
+
account_id: number;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
export interface OfferingGetOfferingsParams {
|
|
446
|
+
/**
|
|
447
|
+
* Account whose account-holder entity must hold an accreditation attestation to
|
|
448
|
+
* browse private-market offerings.
|
|
449
|
+
*/
|
|
450
|
+
account_id: number;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
export declare namespace Offerings {
|
|
454
|
+
export {
|
|
455
|
+
type Currency as Currency,
|
|
456
|
+
type MetricUnit as MetricUnit,
|
|
457
|
+
type MetricValueType as MetricValueType,
|
|
458
|
+
type OfferingCard as OfferingCard,
|
|
459
|
+
type OfferingCardList as OfferingCardList,
|
|
460
|
+
type OfferingClass as OfferingClass,
|
|
461
|
+
type OfferingCompany as OfferingCompany,
|
|
462
|
+
type OfferingDetail as OfferingDetail,
|
|
463
|
+
type OfferingDocumentResource as OfferingDocumentResource,
|
|
464
|
+
type OfferingDocumentType as OfferingDocumentType,
|
|
465
|
+
type OfferingHighlight as OfferingHighlight,
|
|
466
|
+
type OfferingKeyRisk as OfferingKeyRisk,
|
|
467
|
+
type OfferingParticipantResource as OfferingParticipantResource,
|
|
468
|
+
type OfferingSpv as OfferingSpv,
|
|
469
|
+
type ParticipantRole as ParticipantRole,
|
|
470
|
+
type SpvStatus as SpvStatus,
|
|
471
|
+
type ValuationBasis as ValuationBasis,
|
|
472
|
+
type OfferingGetOfferingByIDResponse as OfferingGetOfferingByIDResponse,
|
|
473
|
+
type OfferingGetOfferingsResponse as OfferingGetOfferingsResponse,
|
|
474
|
+
type OfferingGetOfferingByIDParams as OfferingGetOfferingByIDParams,
|
|
475
|
+
type OfferingGetOfferingsParams as OfferingGetOfferingsParams,
|
|
476
|
+
};
|
|
477
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
import {
|
|
6
|
+
Currency,
|
|
7
|
+
MetricUnit,
|
|
8
|
+
MetricValueType,
|
|
9
|
+
OfferingCard,
|
|
10
|
+
OfferingCardList,
|
|
11
|
+
OfferingClass,
|
|
12
|
+
OfferingCompany,
|
|
13
|
+
OfferingDetail,
|
|
14
|
+
OfferingDocumentResource,
|
|
15
|
+
OfferingDocumentType,
|
|
16
|
+
OfferingGetOfferingByIDParams,
|
|
17
|
+
OfferingGetOfferingByIDResponse,
|
|
18
|
+
OfferingGetOfferingsParams,
|
|
19
|
+
OfferingGetOfferingsResponse,
|
|
20
|
+
OfferingHighlight,
|
|
21
|
+
OfferingKeyRisk,
|
|
22
|
+
OfferingParticipantResource,
|
|
23
|
+
OfferingSpv,
|
|
24
|
+
Offerings,
|
|
25
|
+
ParticipantRole,
|
|
26
|
+
SpvStatus,
|
|
27
|
+
ValuationBasis,
|
|
28
|
+
} from './offerings';
|
|
29
|
+
|
|
30
|
+
export class PrivateMarkets extends APIResource {
|
|
31
|
+
offerings: OfferingsAPI.Offerings = new OfferingsAPI.Offerings(this._client);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
PrivateMarkets.Offerings = Offerings;
|
|
35
|
+
|
|
36
|
+
export declare namespace PrivateMarkets {
|
|
37
|
+
export {
|
|
38
|
+
Offerings as Offerings,
|
|
39
|
+
type Currency as Currency,
|
|
40
|
+
type MetricUnit as MetricUnit,
|
|
41
|
+
type MetricValueType as MetricValueType,
|
|
42
|
+
type OfferingCard as OfferingCard,
|
|
43
|
+
type OfferingCardList as OfferingCardList,
|
|
44
|
+
type OfferingClass as OfferingClass,
|
|
45
|
+
type OfferingCompany as OfferingCompany,
|
|
46
|
+
type OfferingDetail as OfferingDetail,
|
|
47
|
+
type OfferingDocumentResource as OfferingDocumentResource,
|
|
48
|
+
type OfferingDocumentType as OfferingDocumentType,
|
|
49
|
+
type OfferingHighlight as OfferingHighlight,
|
|
50
|
+
type OfferingKeyRisk as OfferingKeyRisk,
|
|
51
|
+
type OfferingParticipantResource as OfferingParticipantResource,
|
|
52
|
+
type OfferingSpv as OfferingSpv,
|
|
53
|
+
type ParticipantRole as ParticipantRole,
|
|
54
|
+
type SpvStatus as SpvStatus,
|
|
55
|
+
type ValuationBasis as ValuationBasis,
|
|
56
|
+
type OfferingGetOfferingByIDResponse as OfferingGetOfferingByIDResponse,
|
|
57
|
+
type OfferingGetOfferingsResponse as OfferingGetOfferingsResponse,
|
|
58
|
+
type OfferingGetOfferingByIDParams as OfferingGetOfferingByIDParams,
|
|
59
|
+
type OfferingGetOfferingsParams as OfferingGetOfferingsParams,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -109,6 +109,9 @@ export class Screener extends APIResource {
|
|
|
109
109
|
* Use `columns` to select which columns appear in each row. When omitted, the
|
|
110
110
|
* default field set is returned.
|
|
111
111
|
*
|
|
112
|
+
* Due to the volatility of screener responses we recommend reconciling page
|
|
113
|
+
* results since results can shuffle between calls.
|
|
114
|
+
*
|
|
112
115
|
* @example
|
|
113
116
|
* ```ts
|
|
114
117
|
* const response = await client.v1.screener.searchScreener();
|
package/src/resources/v1/v1.ts
CHANGED
|
@@ -67,12 +67,12 @@ import {
|
|
|
67
67
|
InstrumentSearchInstrumentsResponse,
|
|
68
68
|
Instruments,
|
|
69
69
|
ListingType,
|
|
70
|
+
OptionExpiryDate,
|
|
70
71
|
OptionsContract,
|
|
71
72
|
OptionsContractList,
|
|
72
73
|
} from './instruments';
|
|
73
74
|
import * as OrdersAPI from './orders';
|
|
74
75
|
import {
|
|
75
|
-
CancelOrderRequest,
|
|
76
76
|
Execution,
|
|
77
77
|
ExecutionList,
|
|
78
78
|
InstrumentIDOrSymbol,
|
|
@@ -212,6 +212,7 @@ import {
|
|
|
212
212
|
InstrumentFundamentals,
|
|
213
213
|
InstrumentIncomeStatement,
|
|
214
214
|
InstrumentIncomeStatementList,
|
|
215
|
+
InstrumentIpoEvent,
|
|
215
216
|
InstrumentSplitEvent,
|
|
216
217
|
PriceTarget,
|
|
217
218
|
ReportTime,
|
|
@@ -236,15 +237,19 @@ import {
|
|
|
236
237
|
OpenEntitlementConsentAction,
|
|
237
238
|
OpenScreenerAction,
|
|
238
239
|
PrefillCancelOrderAction,
|
|
240
|
+
PrefillCancelOrderRequest,
|
|
239
241
|
PrefillModifyOrderAction,
|
|
240
242
|
PrefillModifyOrderRequest,
|
|
241
243
|
PrefillNewOrderAction,
|
|
244
|
+
PrefillNewOrderRequest,
|
|
242
245
|
PrefillOrderAction,
|
|
243
246
|
PromptButtonAction,
|
|
244
247
|
StructuredAction,
|
|
245
248
|
StructuredActionButtonAction,
|
|
246
249
|
SuggestedActionsPayload,
|
|
247
250
|
} from './omni-ai/omni-ai';
|
|
251
|
+
import * as PrivateMarketsAPI from './private-markets/private-markets';
|
|
252
|
+
import { PrivateMarkets } from './private-markets/private-markets';
|
|
248
253
|
|
|
249
254
|
export class V1 extends APIResource {
|
|
250
255
|
accounts: AccountsAPI.Accounts = new AccountsAPI.Accounts(this._client);
|
|
@@ -255,6 +260,7 @@ export class V1 extends APIResource {
|
|
|
255
260
|
omniAI: OmniAIAPI.OmniAI = new OmniAIAPI.OmniAI(this._client);
|
|
256
261
|
orders: OrdersAPI.Orders = new OrdersAPI.Orders(this._client);
|
|
257
262
|
positions: PositionsAPI.Positions = new PositionsAPI.Positions(this._client);
|
|
263
|
+
privateMarkets: PrivateMarketsAPI.PrivateMarkets = new PrivateMarketsAPI.PrivateMarkets(this._client);
|
|
258
264
|
screener: ScreenerAPI.Screener = new ScreenerAPI.Screener(this._client);
|
|
259
265
|
watchlist: WatchlistAPI.Watchlist = new WatchlistAPI.Watchlist(this._client);
|
|
260
266
|
}
|
|
@@ -277,6 +283,7 @@ V1.Instruments = Instruments;
|
|
|
277
283
|
V1.OmniAI = OmniAI;
|
|
278
284
|
V1.Orders = Orders;
|
|
279
285
|
V1.Positions = Positions;
|
|
286
|
+
V1.PrivateMarkets = PrivateMarkets;
|
|
280
287
|
V1.Screener = Screener;
|
|
281
288
|
V1.Watchlist = Watchlist;
|
|
282
289
|
|
|
@@ -357,6 +364,7 @@ export declare namespace V1 {
|
|
|
357
364
|
type InstrumentFundamentals as InstrumentFundamentals,
|
|
358
365
|
type InstrumentIncomeStatement as InstrumentIncomeStatement,
|
|
359
366
|
type InstrumentIncomeStatementList as InstrumentIncomeStatementList,
|
|
367
|
+
type InstrumentIpoEvent as InstrumentIpoEvent,
|
|
360
368
|
type InstrumentSplitEvent as InstrumentSplitEvent,
|
|
361
369
|
type PriceTarget as PriceTarget,
|
|
362
370
|
type ReportTime as ReportTime,
|
|
@@ -383,6 +391,7 @@ export declare namespace V1 {
|
|
|
383
391
|
type InstrumentCore as InstrumentCore,
|
|
384
392
|
type InstrumentCoreList as InstrumentCoreList,
|
|
385
393
|
type ListingType as ListingType,
|
|
394
|
+
type OptionExpiryDate as OptionExpiryDate,
|
|
386
395
|
type OptionsContract as OptionsContract,
|
|
387
396
|
type OptionsContractList as OptionsContractList,
|
|
388
397
|
type InstrumentGetInstrumentByIDResponse as InstrumentGetInstrumentByIDResponse,
|
|
@@ -414,9 +423,11 @@ export declare namespace V1 {
|
|
|
414
423
|
type OpenEntitlementConsentAction as OpenEntitlementConsentAction,
|
|
415
424
|
type OpenScreenerAction as OpenScreenerAction,
|
|
416
425
|
type PrefillCancelOrderAction as PrefillCancelOrderAction,
|
|
426
|
+
type PrefillCancelOrderRequest as PrefillCancelOrderRequest,
|
|
417
427
|
type PrefillModifyOrderAction as PrefillModifyOrderAction,
|
|
418
428
|
type PrefillModifyOrderRequest as PrefillModifyOrderRequest,
|
|
419
429
|
type PrefillNewOrderAction as PrefillNewOrderAction,
|
|
430
|
+
type PrefillNewOrderRequest as PrefillNewOrderRequest,
|
|
420
431
|
type PrefillOrderAction as PrefillOrderAction,
|
|
421
432
|
type PromptButtonAction as PromptButtonAction,
|
|
422
433
|
type StructuredAction as StructuredAction,
|
|
@@ -426,7 +437,6 @@ export declare namespace V1 {
|
|
|
426
437
|
|
|
427
438
|
export {
|
|
428
439
|
Orders as Orders,
|
|
429
|
-
type CancelOrderRequest as CancelOrderRequest,
|
|
430
440
|
type Execution as Execution,
|
|
431
441
|
type ExecutionList as ExecutionList,
|
|
432
442
|
type InstrumentIDOrSymbol as InstrumentIDOrSymbol,
|
|
@@ -481,6 +491,8 @@ export declare namespace V1 {
|
|
|
481
491
|
type PositionSubmitPositionInstructionsParams as PositionSubmitPositionInstructionsParams,
|
|
482
492
|
};
|
|
483
493
|
|
|
494
|
+
export { PrivateMarkets as PrivateMarkets };
|
|
495
|
+
|
|
484
496
|
export {
|
|
485
497
|
Screener as Screener,
|
|
486
498
|
type FieldLookback as FieldLookback,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.95.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.95.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.95.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.95.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|