@clear-street/clearstreet 0.94.0 → 0.96.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 +19 -0
  2. package/package.json +1 -1
  3. package/resources/v1/accounts.d.mts +27 -14
  4. package/resources/v1/accounts.d.mts.map +1 -1
  5. package/resources/v1/accounts.d.ts +27 -14
  6. package/resources/v1/accounts.d.ts.map +1 -1
  7. package/resources/v1/index.d.mts +4 -3
  8. package/resources/v1/index.d.mts.map +1 -1
  9. package/resources/v1/index.d.ts +4 -3
  10. package/resources/v1/index.d.ts.map +1 -1
  11. package/resources/v1/index.js +3 -1
  12. package/resources/v1/index.js.map +1 -1
  13. package/resources/v1/index.mjs +1 -0
  14. package/resources/v1/index.mjs.map +1 -1
  15. package/resources/v1/instrument-data/market-data.d.mts +40 -1
  16. package/resources/v1/instrument-data/market-data.d.mts.map +1 -1
  17. package/resources/v1/instrument-data/market-data.d.ts +40 -1
  18. package/resources/v1/instrument-data/market-data.d.ts.map +1 -1
  19. package/resources/v1/omni-ai/index.d.mts +1 -1
  20. package/resources/v1/omni-ai/index.d.mts.map +1 -1
  21. package/resources/v1/omni-ai/index.d.ts +1 -1
  22. package/resources/v1/omni-ai/index.d.ts.map +1 -1
  23. package/resources/v1/omni-ai/index.js.map +1 -1
  24. package/resources/v1/omni-ai/index.mjs.map +1 -1
  25. package/resources/v1/omni-ai/omni-ai.d.mts +162 -3
  26. package/resources/v1/omni-ai/omni-ai.d.mts.map +1 -1
  27. package/resources/v1/omni-ai/omni-ai.d.ts +162 -3
  28. package/resources/v1/omni-ai/omni-ai.d.ts.map +1 -1
  29. package/resources/v1/omni-ai/omni-ai.js.map +1 -1
  30. package/resources/v1/omni-ai/omni-ai.mjs.map +1 -1
  31. package/resources/v1/orders.d.mts +19 -25
  32. package/resources/v1/orders.d.mts.map +1 -1
  33. package/resources/v1/orders.d.ts +19 -25
  34. package/resources/v1/orders.d.ts.map +1 -1
  35. package/resources/v1/positions.d.mts +18 -7
  36. package/resources/v1/positions.d.mts.map +1 -1
  37. package/resources/v1/positions.d.ts +18 -7
  38. package/resources/v1/positions.d.ts.map +1 -1
  39. package/resources/v1/positions.js +2 -2
  40. package/resources/v1/positions.mjs +2 -2
  41. package/resources/v1/private-markets/index.d.mts +3 -0
  42. package/resources/v1/private-markets/index.d.mts.map +1 -0
  43. package/resources/v1/private-markets/index.d.ts +3 -0
  44. package/resources/v1/private-markets/index.d.ts.map +1 -0
  45. package/resources/v1/private-markets/index.js +9 -0
  46. package/resources/v1/private-markets/index.js.map +1 -0
  47. package/resources/v1/private-markets/index.mjs +4 -0
  48. package/resources/v1/private-markets/index.mjs.map +1 -0
  49. package/resources/v1/private-markets/offerings.d.mts +369 -0
  50. package/resources/v1/private-markets/offerings.d.mts.map +1 -0
  51. package/resources/v1/private-markets/offerings.d.ts +369 -0
  52. package/resources/v1/private-markets/offerings.d.ts.map +1 -0
  53. package/resources/v1/private-markets/offerings.js +46 -0
  54. package/resources/v1/private-markets/offerings.js.map +1 -0
  55. package/resources/v1/private-markets/offerings.mjs +42 -0
  56. package/resources/v1/private-markets/offerings.mjs.map +1 -0
  57. package/resources/v1/private-markets/private-markets.d.mts +10 -0
  58. package/resources/v1/private-markets/private-markets.d.mts.map +1 -0
  59. package/resources/v1/private-markets/private-markets.d.ts +10 -0
  60. package/resources/v1/private-markets/private-markets.d.ts.map +1 -0
  61. package/resources/v1/private-markets/private-markets.js +17 -0
  62. package/resources/v1/private-markets/private-markets.js.map +1 -0
  63. package/resources/v1/private-markets/private-markets.mjs +12 -0
  64. package/resources/v1/private-markets/private-markets.mjs.map +1 -0
  65. package/resources/v1/private-markets.d.mts +2 -0
  66. package/resources/v1/private-markets.d.mts.map +1 -0
  67. package/resources/v1/private-markets.d.ts +2 -0
  68. package/resources/v1/private-markets.d.ts.map +1 -0
  69. package/resources/v1/private-markets.js +6 -0
  70. package/resources/v1/private-markets.js.map +1 -0
  71. package/resources/v1/private-markets.mjs +3 -0
  72. package/resources/v1/private-markets.mjs.map +1 -0
  73. package/resources/v1/screener.d.mts +308 -6
  74. package/resources/v1/screener.d.mts.map +1 -1
  75. package/resources/v1/screener.d.ts +308 -6
  76. package/resources/v1/screener.d.ts.map +1 -1
  77. package/resources/v1/screener.js +32 -5
  78. package/resources/v1/screener.js.map +1 -1
  79. package/resources/v1/screener.mjs +32 -5
  80. package/resources/v1/screener.mjs.map +1 -1
  81. package/resources/v1/v1.d.mts +10 -6
  82. package/resources/v1/v1.d.mts.map +1 -1
  83. package/resources/v1/v1.d.ts +10 -6
  84. package/resources/v1/v1.d.ts.map +1 -1
  85. package/resources/v1/v1.js +4 -0
  86. package/resources/v1/v1.js.map +1 -1
  87. package/resources/v1/v1.mjs +4 -0
  88. package/resources/v1/v1.mjs.map +1 -1
  89. package/src/resources/v1/accounts.ts +27 -14
  90. package/src/resources/v1/index.ts +14 -1
  91. package/src/resources/v1/instrument-data/market-data.ts +46 -1
  92. package/src/resources/v1/omni-ai/index.ts +2 -0
  93. package/src/resources/v1/omni-ai/omni-ai.ts +193 -2
  94. package/src/resources/v1/orders.ts +21 -27
  95. package/src/resources/v1/positions.ts +20 -7
  96. package/src/resources/v1/private-markets/index.ts +27 -0
  97. package/src/resources/v1/private-markets/offerings.ts +477 -0
  98. package/src/resources/v1/private-markets/private-markets.ts +61 -0
  99. package/src/resources/v1/private-markets.ts +3 -0
  100. package/src/resources/v1/screener.ts +367 -5
  101. package/src/resources/v1/v1.ts +32 -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
@@ -64,6 +64,24 @@ export class Screener extends APIResource {
64
64
  return this._client.get(path`/v1/saved-screeners/${screenerID}`, options);
65
65
  }
66
66
 
67
+ /**
68
+ * Returns the complete screener field catalog: the field `kinds`, the per-field
69
+ * data, the enum universes, the request-side `rules`, the built-in variables and
70
+ * modifiers, and the `POST /screener` default response fields.
71
+ *
72
+ * `POST /screener` field references are validated against this catalog; its
73
+ * `rules` object documents how to compose a valid request.
74
+ *
75
+ * @example
76
+ * ```ts
77
+ * const response =
78
+ * await client.v1.screener.getScreenerCatalog();
79
+ * ```
80
+ */
81
+ getScreenerCatalog(options?: RequestOptions): APIPromise<ScreenerGetScreenerCatalogResponse> {
82
+ return this._client.get('/v1/screener/catalog', options);
83
+ }
84
+
67
85
  /**
68
86
  * List saved screener configurations.
69
87
  *
@@ -102,12 +120,22 @@ export class Screener extends APIResource {
102
120
  /**
103
121
  * Search instruments using structured filters.
104
122
  *
105
- * Returns a columnar response where each row is an array of column objects. Each
106
- * column contains a human-readable name, a field reference, an optional type hint
107
- * (e.g. `CURR_USD`, `PERCENT`), and the value.
123
+ * Compose a request with `filters`, plus optional `sorts`, `columns`, and
124
+ * `page_size`/`page_token` for pagination. Each filter pairs a field reference
125
+ * (`left`) with an operator (`op`, e.g. `GREATER_OR_EQUAL`, `BETWEEN`) and
126
+ * comparison values (`right`), which can be literals or date variables such as
127
+ * `today` with a modifier. Field names, periods, and lookbacks come from the
128
+ * screener field catalog. `sorts` order results; `columns` selects which fields
129
+ * appear in each row (the default field set when omitted).
130
+ *
131
+ * The response is a paginated, columnar list of matching instruments. Each row is
132
+ * an array of column objects, each with a display `name`, the `field` reference,
133
+ * an optional value `type` hint (e.g. `CURR_USD`, `PERCENT`), and the `value`. An
134
+ * `instrument_id` column is always prepended. Metadata carries `total_items`,
135
+ * `total_pages`, and `next_page_token` for paging.
108
136
  *
109
- * Use `columns` to select which columns appear in each row. When omitted, the
110
- * default field set is returned.
137
+ * Due to the volatility of screener responses we recommend reconciling page
138
+ * results since results can shuffle between calls.
111
139
  *
112
140
  * @example
113
141
  * ```ts
@@ -122,6 +150,194 @@ export class Screener extends APIResource {
122
150
  }
123
151
  }
124
152
 
153
+ /**
154
+ * The complete screener field catalog, serialized as the `data` payload of
155
+ * `GET /screener/catalog`.
156
+ */
157
+ export interface Catalog {
158
+ /**
159
+ * The `api_name`s that resolve to the POST default column set when `columns` is
160
+ * omitted.
161
+ */
162
+ default_response_fields: Array<string>;
163
+
164
+ /**
165
+ * The enum universes every other section's values are drawn from.
166
+ */
167
+ enums: Enums;
168
+
169
+ /**
170
+ * Struct-of-arrays of the remaining per-field scalars.
171
+ */
172
+ fields: FieldColumns;
173
+
174
+ /**
175
+ * The deduplicated
176
+ * `(category, format, value_type, combinations, default combination)` tuples;
177
+ * `fields.kind[i]` indexes into this.
178
+ */
179
+ kinds: Array<FieldKind>;
180
+
181
+ /**
182
+ * The modifier operations and their legal `args` forms.
183
+ */
184
+ modifiers: Array<ModifierDef>;
185
+
186
+ /**
187
+ * `value_type` -> canonically-ordered valid operators.
188
+ */
189
+ operators_by_value_type: { [key: string]: Array<string> };
190
+
191
+ /**
192
+ * Request-side semantics for turning the data into a valid call.
193
+ */
194
+ rules: Rules;
195
+
196
+ /**
197
+ * Axis token -> abbreviation, for every token in use in `kinds`.
198
+ */
199
+ suffixes: { [key: string]: string };
200
+
201
+ /**
202
+ * The built-in variables accepted in `filters[].right[].variable`.
203
+ */
204
+ variables: Array<VariableDef>;
205
+ }
206
+
207
+ /**
208
+ * A single combination, expressed with the API's own parameter names.
209
+ *
210
+ * At most one of `period` / `lookback` is set; a combination with neither selects
211
+ * the field's current or most recent value.
212
+ */
213
+ export interface Combination {
214
+ /**
215
+ * The lookback, a member of `enums.lookback`.
216
+ */
217
+ lookback?: string | null;
218
+
219
+ /**
220
+ * The period, a member of `enums.period`.
221
+ */
222
+ period?: string | null;
223
+ }
224
+
225
+ /**
226
+ * The enum universes every other section's values are drawn from.
227
+ */
228
+ export interface Enums {
229
+ /**
230
+ * The built-in variable names, e.g. `"today"`, `"start_of_year"`.
231
+ */
232
+ builtin_variable: Array<string>;
233
+
234
+ /**
235
+ * `FieldCategory` variants, e.g. `"PROFILE"`, `"VALUATION"`.
236
+ */
237
+ category: Array<string>;
238
+
239
+ /**
240
+ * The modifier date units, e.g. `"DAY"`, `"YEAR"`.
241
+ */
242
+ date_unit: Array<string>;
243
+
244
+ /**
245
+ * `FieldFormat` variants, e.g. `"CURRENCY"`, `"PERCENT"`.
246
+ */
247
+ format: Array<string>;
248
+
249
+ /**
250
+ * `FieldLookback` variants, e.g. `"ONE_WEEK"`, `"YEAR_TO_DATE"`.
251
+ */
252
+ lookback: Array<string>;
253
+
254
+ /**
255
+ * The modifier operation names, `"ADD"` and `"SUBTRACT"`.
256
+ */
257
+ modifier_op: Array<string>;
258
+
259
+ /**
260
+ * `FilterOperator` variants, e.g. `"BETWEEN"`, `"ONE_OF"`.
261
+ */
262
+ operator: Array<string>;
263
+
264
+ /**
265
+ * The modifier arg forms, e.g. `"LEFT_INCLUSIVE"`.
266
+ */
267
+ operator_arg: Array<string>;
268
+
269
+ /**
270
+ * `FieldPeriod` variants, e.g. `"QUARTER"`, `"ANNUAL"`.
271
+ */
272
+ period: Array<string>;
273
+
274
+ /**
275
+ * `FieldValueType` variants, e.g. `"DECIMAL"`, `"DATE"`.
276
+ */
277
+ value_type: Array<string>;
278
+ }
279
+
280
+ /**
281
+ * Struct-of-arrays: all four fields are the same length, index `i` is one field.
282
+ */
283
+ export interface FieldColumns {
284
+ /**
285
+ * A human-readable description of the field.
286
+ */
287
+ description: Array<string>;
288
+
289
+ /**
290
+ * The display name of the column when no `period` / `lookback` is set.
291
+ */
292
+ display_name: Array<string>;
293
+
294
+ /**
295
+ * Index into `Catalog::kinds`.
296
+ */
297
+ kind: Array<number>;
298
+
299
+ /**
300
+ * The base field name, as accepted in a request's `left.name` / `right[].variable`
301
+ * field reference.
302
+ */
303
+ name: Array<string>;
304
+ }
305
+
306
+ /**
307
+ * One deduplicated
308
+ * `(category, format, value_type, combinations, default combination)` tuple;
309
+ * `fields.kind[i]` indexes into `Catalog::kinds`.
310
+ */
311
+ export interface FieldKind {
312
+ /**
313
+ * The field's category, a member of `enums.category`.
314
+ */
315
+ category: string;
316
+
317
+ /**
318
+ * Ordered, in declaration order. The empty combination is the current or most
319
+ * recent value.
320
+ */
321
+ combinations: Array<Combination>;
322
+
323
+ /**
324
+ * The combination a bare field reference resolves to: the field's current or most
325
+ * recent value when the kind offers it, otherwise the kind's default `period` /
326
+ * `lookback`.
327
+ */
328
+ default_combination: Combination;
329
+
330
+ /**
331
+ * The field's format, a member of `enums.format`.
332
+ */
333
+ format: string;
334
+
335
+ /**
336
+ * The field's value type, a member of `enums.value_type`.
337
+ */
338
+ value_type: string;
339
+ }
340
+
125
341
  /**
126
342
  * Historical lookback window for price/change fields.
127
343
  */
@@ -231,6 +447,56 @@ export interface Modifier {
231
447
  name: ModifierOp;
232
448
  }
233
449
 
450
+ /**
451
+ * One positional `modifier.args` slot.
452
+ */
453
+ export interface ModifierArg {
454
+ /**
455
+ * `"NUMBER"` or `"ENUM"`.
456
+ */
457
+ kind: string;
458
+
459
+ /**
460
+ * The arg's meaning and constraints.
461
+ */
462
+ note: string;
463
+
464
+ /**
465
+ * Zero-based position in the `args` array.
466
+ */
467
+ position: number;
468
+
469
+ /**
470
+ * Whether the arg must be present in every modifier use.
471
+ */
472
+ required: boolean;
473
+
474
+ /**
475
+ * For optional args: the value used when the arg is omitted.
476
+ */
477
+ default?: string | null;
478
+
479
+ /**
480
+ * For `"ENUM"` args: the `enums` list the value must be a member of.
481
+ */
482
+ ref?: string | null;
483
+ }
484
+
485
+ /**
486
+ * A modifier operation and the positional `args` each context accepts.
487
+ */
488
+ export interface ModifierDef {
489
+ /**
490
+ * The positional `args` slots, in order.
491
+ */
492
+ args: Array<ModifierArg>;
493
+
494
+ /**
495
+ * `"ADD"` or `"SUBTRACT"`.
496
+ */
497
+ name: string;
498
+ }
499
+
234
500
  /**
235
501
  * Modifier operation applied to a variable.
236
502
  */
@@ -246,6 +512,47 @@ export type OperatorArg =
246
512
  | 'RIGHT_EXCLUSIVE'
247
513
  | 'CASE_INSENSITIVE';
248
514
 
515
+ /**
516
+ * Request-side semantics: how to turn the catalog data into a valid
517
+ * `POST /screener` call.
518
+ */
519
+ export interface Rules {
520
+ /**
521
+ * Requests and response `field` objects use the same reference shape: base name
522
+ * plus at most one of `period` / `lookback`; `default_response_fields` (the POST
523
+ * default column set when `columns` is omitted) carries api_names, each decoding
524
+ * via `suffixes`.
525
+ */
526
+ api_name_composition: string;
527
+
528
+ /**
529
+ * At most one of `period` / `lookback`; the empty combination selects the field's
530
+ * current or most recent value.
531
+ */
532
+ axes: string;
533
+
534
+ /**
535
+ * Omitting both is always valid; it resolves to the field's current or most recent
536
+ * value when the kind offers it, otherwise to `default_combination`.
537
+ */
538
+ defaults: string;
539
+
540
+ /**
541
+ * Where `modifier` is legal, its `args` forms, and unit semantics.
542
+ */
543
+ modifiers: string;
544
+
545
+ /**
546
+ * Filter operator value counts for the `right` array.
547
+ */
548
+ operators: string;
549
+
550
+ /**
551
+ * Built-in variables and field references in `right[].variable`.
552
+ */
553
+ variables: string;
554
+ }
555
+
249
556
  /**
250
557
  * A single column in the screener search response.
251
558
  */
@@ -281,6 +588,11 @@ export interface ScreenerEntry {
281
588
 
282
589
  name: string;
283
590
 
591
+ /**
592
+ * Whether any user may fetch this screener by id.
593
+ */
594
+ shared: boolean;
595
+
284
596
  updated_at: string;
285
597
 
286
598
  /**
@@ -387,6 +699,26 @@ export interface Variable {
387
699
  period?: FieldPeriod | null;
388
700
  }
389
701
 
702
+ /**
703
+ * A built-in variable, as accepted in `filters[].right[].variable`.
704
+ */
705
+ export interface VariableDef {
706
+ /**
707
+ * A human-readable description of what the variable resolves to.
708
+ */
709
+ description: string;
710
+
711
+ /**
712
+ * The variable name as accepted in `filters[].right[].variable`.
713
+ */
714
+ name: string;
715
+
716
+ /**
717
+ * What the variable resolves to at call time (`DATE` for all built-ins).
718
+ */
719
+ resolves_to: string;
720
+ }
721
+
390
722
  export interface ScreenerCreateScreenerResponse extends Shared.BaseResponse {
391
723
  /**
392
724
  * A saved screener configuration entry
@@ -401,6 +733,14 @@ export interface ScreenerGetScreenerByIDResponse extends Shared.BaseResponse {
401
733
  data: ScreenerEntry;
402
734
  }
403
735
 
736
+ export interface ScreenerGetScreenerCatalogResponse extends Shared.BaseResponse {
737
+ /**
738
+ * The complete screener field catalog, serialized as the `data` payload of
739
+ * `GET /screener/catalog`.
740
+ */
741
+ data: Catalog;
742
+ }
743
+
404
744
  export interface ScreenerGetScreenersResponse extends Shared.BaseResponse {
405
745
  data: ScreenerEntryList;
406
746
  }
@@ -432,6 +772,12 @@ export interface ScreenerCreateScreenerParams {
432
772
  */
433
773
  name?: string | null;
434
774
 
775
+ /**
776
+ * Whether any user may fetch this screener by id. Omit to leave the existing value
777
+ * unchanged (defaults to `false` when creating).
778
+ */
779
+ shared?: boolean | null;
780
+
435
781
  /**
436
782
  * Multi-field sort specifications
437
783
  */
@@ -454,6 +800,12 @@ export interface ScreenerReplaceScreenerParams {
454
800
  */
455
801
  name?: string | null;
456
802
 
803
+ /**
804
+ * Whether any user may fetch this screener by id. Omit to leave the existing value
805
+ * unchanged (defaults to `false` when creating).
806
+ */
807
+ shared?: boolean | null;
808
+
457
809
  /**
458
810
  * Multi-field sort specifications
459
811
  */
@@ -496,6 +848,11 @@ export interface ScreenerSearchScreenerParams {
496
848
 
497
849
  export declare namespace Screener {
498
850
  export {
851
+ type Catalog as Catalog,
852
+ type Combination as Combination,
853
+ type Enums as Enums,
854
+ type FieldColumns as FieldColumns,
855
+ type FieldKind as FieldKind,
499
856
  type FieldLookback as FieldLookback,
500
857
  type FieldPeriod as FieldPeriod,
501
858
  type FieldRef as FieldRef,
@@ -504,8 +861,11 @@ export declare namespace Screener {
504
861
  type FilterOperator as FilterOperator,
505
862
  type FilterValue as FilterValue,
506
863
  type Modifier as Modifier,
864
+ type ModifierArg as ModifierArg,
865
+ type ModifierDef as ModifierDef,
507
866
  type ModifierOp as ModifierOp,
508
867
  type OperatorArg as OperatorArg,
868
+ type Rules as Rules,
509
869
  type ScreenerColumn as ScreenerColumn,
510
870
  type ScreenerEntry as ScreenerEntry,
511
871
  type ScreenerEntryList as ScreenerEntryList,
@@ -515,8 +875,10 @@ export declare namespace Screener {
515
875
  type SearchFilter as SearchFilter,
516
876
  type SortSpec as SortSpec,
517
877
  type Variable as Variable,
878
+ type VariableDef as VariableDef,
518
879
  type ScreenerCreateScreenerResponse as ScreenerCreateScreenerResponse,
519
880
  type ScreenerGetScreenerByIDResponse as ScreenerGetScreenerByIDResponse,
881
+ type ScreenerGetScreenerCatalogResponse as ScreenerGetScreenerCatalogResponse,
520
882
  type ScreenerGetScreenersResponse as ScreenerGetScreenersResponse,
521
883
  type ScreenerReplaceScreenerResponse as ScreenerReplaceScreenerResponse,
522
884
  type ScreenerSearchScreenerResponse as ScreenerSearchScreenerResponse,
@@ -73,7 +73,6 @@ import {
73
73
  } from './instruments';
74
74
  import * as OrdersAPI from './orders';
75
75
  import {
76
- CancelOrderRequest,
77
76
  Execution,
78
77
  ExecutionList,
79
78
  InstrumentIDOrSymbol,
@@ -100,6 +99,7 @@ import {
100
99
  QueueState,
101
100
  ReplaceOrderRequest,
102
101
  RequestOrderType,
102
+ RequestPositionEffect,
103
103
  RequestTimeInForce,
104
104
  Side,
105
105
  TimeInForce,
@@ -130,6 +130,11 @@ import {
130
130
  } from './positions';
131
131
  import * as ScreenerAPI from './screener';
132
132
  import {
133
+ Catalog,
134
+ Combination,
135
+ Enums,
136
+ FieldColumns,
137
+ FieldKind,
133
138
  FieldLookback,
134
139
  FieldPeriod,
135
140
  FieldRef,
@@ -138,8 +143,11 @@ import {
138
143
  FilterOperator,
139
144
  FilterValue,
140
145
  Modifier,
146
+ ModifierArg,
147
+ ModifierDef,
141
148
  ModifierOp,
142
149
  OperatorArg,
150
+ Rules,
143
151
  Screener,
144
152
  ScreenerColumn,
145
153
  ScreenerCreateScreenerParams,
@@ -148,6 +156,7 @@ import {
148
156
  ScreenerEntryList,
149
157
  ScreenerFilter,
150
158
  ScreenerGetScreenerByIDResponse,
159
+ ScreenerGetScreenerCatalogResponse,
151
160
  ScreenerGetScreenersResponse,
152
161
  ScreenerReplaceScreenerParams,
153
162
  ScreenerReplaceScreenerResponse,
@@ -158,6 +167,7 @@ import {
158
167
  SearchFilter,
159
168
  SortSpec,
160
169
  Variable,
170
+ VariableDef,
161
171
  } from './screener';
162
172
  import * as WatchlistAPI from './watchlist';
163
173
  import {
@@ -238,15 +248,19 @@ import {
238
248
  OpenEntitlementConsentAction,
239
249
  OpenScreenerAction,
240
250
  PrefillCancelOrderAction,
251
+ PrefillCancelOrderRequest,
241
252
  PrefillModifyOrderAction,
242
253
  PrefillModifyOrderRequest,
243
254
  PrefillNewOrderAction,
255
+ PrefillNewOrderRequest,
244
256
  PrefillOrderAction,
245
257
  PromptButtonAction,
246
258
  StructuredAction,
247
259
  StructuredActionButtonAction,
248
260
  SuggestedActionsPayload,
249
261
  } from './omni-ai/omni-ai';
262
+ import * as PrivateMarketsAPI from './private-markets/private-markets';
263
+ import { PrivateMarkets } from './private-markets/private-markets';
250
264
 
251
265
  export class V1 extends APIResource {
252
266
  accounts: AccountsAPI.Accounts = new AccountsAPI.Accounts(this._client);
@@ -257,6 +271,7 @@ export class V1 extends APIResource {
257
271
  omniAI: OmniAIAPI.OmniAI = new OmniAIAPI.OmniAI(this._client);
258
272
  orders: OrdersAPI.Orders = new OrdersAPI.Orders(this._client);
259
273
  positions: PositionsAPI.Positions = new PositionsAPI.Positions(this._client);
274
+ privateMarkets: PrivateMarketsAPI.PrivateMarkets = new PrivateMarketsAPI.PrivateMarkets(this._client);
260
275
  screener: ScreenerAPI.Screener = new ScreenerAPI.Screener(this._client);
261
276
  watchlist: WatchlistAPI.Watchlist = new WatchlistAPI.Watchlist(this._client);
262
277
  }
@@ -279,6 +294,7 @@ V1.Instruments = Instruments;
279
294
  V1.OmniAI = OmniAI;
280
295
  V1.Orders = Orders;
281
296
  V1.Positions = Positions;
297
+ V1.PrivateMarkets = PrivateMarkets;
282
298
  V1.Screener = Screener;
283
299
  V1.Watchlist = Watchlist;
284
300
 
@@ -418,9 +434,11 @@ export declare namespace V1 {
418
434
  type OpenEntitlementConsentAction as OpenEntitlementConsentAction,
419
435
  type OpenScreenerAction as OpenScreenerAction,
420
436
  type PrefillCancelOrderAction as PrefillCancelOrderAction,
437
+ type PrefillCancelOrderRequest as PrefillCancelOrderRequest,
421
438
  type PrefillModifyOrderAction as PrefillModifyOrderAction,
422
439
  type PrefillModifyOrderRequest as PrefillModifyOrderRequest,
423
440
  type PrefillNewOrderAction as PrefillNewOrderAction,
441
+ type PrefillNewOrderRequest as PrefillNewOrderRequest,
424
442
  type PrefillOrderAction as PrefillOrderAction,
425
443
  type PromptButtonAction as PromptButtonAction,
426
444
  type StructuredAction as StructuredAction,
@@ -430,7 +448,6 @@ export declare namespace V1 {
430
448
 
431
449
  export {
432
450
  Orders as Orders,
433
- type CancelOrderRequest as CancelOrderRequest,
434
451
  type Execution as Execution,
435
452
  type ExecutionList as ExecutionList,
436
453
  type InstrumentIDOrSymbol as InstrumentIDOrSymbol,
@@ -442,6 +459,7 @@ export declare namespace V1 {
442
459
  type QueueState as QueueState,
443
460
  type ReplaceOrderRequest as ReplaceOrderRequest,
444
461
  type RequestOrderType as RequestOrderType,
462
+ type RequestPositionEffect as RequestPositionEffect,
445
463
  type RequestTimeInForce as RequestTimeInForce,
446
464
  type Side as Side,
447
465
  type TimeInForce as TimeInForce,
@@ -485,8 +503,15 @@ export declare namespace V1 {
485
503
  type PositionSubmitPositionInstructionsParams as PositionSubmitPositionInstructionsParams,
486
504
  };
487
505
 
506
+ export { PrivateMarkets as PrivateMarkets };
507
+
488
508
  export {
489
509
  Screener as Screener,
510
+ type Catalog as Catalog,
511
+ type Combination as Combination,
512
+ type Enums as Enums,
513
+ type FieldColumns as FieldColumns,
514
+ type FieldKind as FieldKind,
490
515
  type FieldLookback as FieldLookback,
491
516
  type FieldPeriod as FieldPeriod,
492
517
  type FieldRef as FieldRef,
@@ -495,8 +520,11 @@ export declare namespace V1 {
495
520
  type FilterOperator as FilterOperator,
496
521
  type FilterValue as FilterValue,
497
522
  type Modifier as Modifier,
523
+ type ModifierArg as ModifierArg,
524
+ type ModifierDef as ModifierDef,
498
525
  type ModifierOp as ModifierOp,
499
526
  type OperatorArg as OperatorArg,
527
+ type Rules as Rules,
500
528
  type ScreenerColumn as ScreenerColumn,
501
529
  type ScreenerEntry as ScreenerEntry,
502
530
  type ScreenerEntryList as ScreenerEntryList,
@@ -506,8 +534,10 @@ export declare namespace V1 {
506
534
  type SearchFilter as SearchFilter,
507
535
  type SortSpec as SortSpec,
508
536
  type Variable as Variable,
537
+ type VariableDef as VariableDef,
509
538
  type ScreenerCreateScreenerResponse as ScreenerCreateScreenerResponse,
510
539
  type ScreenerGetScreenerByIDResponse as ScreenerGetScreenerByIDResponse,
540
+ type ScreenerGetScreenerCatalogResponse as ScreenerGetScreenerCatalogResponse,
511
541
  type ScreenerGetScreenersResponse as ScreenerGetScreenersResponse,
512
542
  type ScreenerReplaceScreenerResponse as ScreenerReplaceScreenerResponse,
513
543
  type ScreenerSearchScreenerResponse as ScreenerSearchScreenerResponse,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.94.0'; // x-release-please-version
1
+ export const VERSION = '0.96.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.94.0";
1
+ export declare const VERSION = "0.96.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.94.0";
1
+ export declare const VERSION = "0.96.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.94.0'; // x-release-please-version
4
+ exports.VERSION = '0.96.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.94.0'; // x-release-please-version
1
+ export const VERSION = '0.96.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map