@clear-street/clearstreet 0.99.0 → 0.101.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 (98) hide show
  1. package/CHANGELOG.md +23 -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.map +1 -1
  9. package/resources/v1/instrument-data/market-data.d.mts +90 -20
  10. package/resources/v1/instrument-data/market-data.d.mts.map +1 -1
  11. package/resources/v1/instrument-data/market-data.d.ts +90 -20
  12. package/resources/v1/instrument-data/market-data.d.ts.map +1 -1
  13. package/resources/v1/instrument-data/market-data.js +5 -7
  14. package/resources/v1/instrument-data/market-data.js.map +1 -1
  15. package/resources/v1/instrument-data/market-data.mjs +5 -7
  16. package/resources/v1/instrument-data/market-data.mjs.map +1 -1
  17. package/resources/v1/instruments.d.mts +45 -3
  18. package/resources/v1/instruments.d.mts.map +1 -1
  19. package/resources/v1/instruments.d.ts +45 -3
  20. package/resources/v1/instruments.d.ts.map +1 -1
  21. package/resources/v1/omni-ai/index.d.mts +1 -1
  22. package/resources/v1/omni-ai/index.d.mts.map +1 -1
  23. package/resources/v1/omni-ai/index.d.ts +1 -1
  24. package/resources/v1/omni-ai/index.d.ts.map +1 -1
  25. package/resources/v1/omni-ai/index.js.map +1 -1
  26. package/resources/v1/omni-ai/index.mjs.map +1 -1
  27. package/resources/v1/omni-ai/messages.d.mts +17 -17
  28. package/resources/v1/omni-ai/messages.d.mts.map +1 -1
  29. package/resources/v1/omni-ai/messages.d.ts +17 -17
  30. package/resources/v1/omni-ai/messages.d.ts.map +1 -1
  31. package/resources/v1/omni-ai/messages.js +9 -11
  32. package/resources/v1/omni-ai/messages.js.map +1 -1
  33. package/resources/v1/omni-ai/messages.mjs +9 -11
  34. package/resources/v1/omni-ai/messages.mjs.map +1 -1
  35. package/resources/v1/omni-ai/omni-ai.d.mts +9 -3
  36. package/resources/v1/omni-ai/omni-ai.d.mts.map +1 -1
  37. package/resources/v1/omni-ai/omni-ai.d.ts +9 -3
  38. package/resources/v1/omni-ai/omni-ai.d.ts.map +1 -1
  39. package/resources/v1/omni-ai/omni-ai.js.map +1 -1
  40. package/resources/v1/omni-ai/omni-ai.mjs.map +1 -1
  41. package/resources/v1/omni-ai/responses.d.mts +21 -21
  42. package/resources/v1/omni-ai/responses.d.mts.map +1 -1
  43. package/resources/v1/omni-ai/responses.d.ts +21 -21
  44. package/resources/v1/omni-ai/responses.d.ts.map +1 -1
  45. package/resources/v1/omni-ai/responses.js +14 -18
  46. package/resources/v1/omni-ai/responses.js.map +1 -1
  47. package/resources/v1/omni-ai/responses.mjs +14 -18
  48. package/resources/v1/omni-ai/responses.mjs.map +1 -1
  49. package/resources/v1/omni-ai/threads.d.mts +124 -64
  50. package/resources/v1/omni-ai/threads.d.mts.map +1 -1
  51. package/resources/v1/omni-ai/threads.d.ts +124 -64
  52. package/resources/v1/omni-ai/threads.d.ts.map +1 -1
  53. package/resources/v1/omni-ai/threads.js +41 -51
  54. package/resources/v1/omni-ai/threads.js.map +1 -1
  55. package/resources/v1/omni-ai/threads.mjs +41 -51
  56. package/resources/v1/omni-ai/threads.mjs.map +1 -1
  57. package/resources/v1/orders.d.mts +107 -8
  58. package/resources/v1/orders.d.mts.map +1 -1
  59. package/resources/v1/orders.d.ts +107 -8
  60. package/resources/v1/orders.d.ts.map +1 -1
  61. package/resources/v1/positions.d.mts +52 -1
  62. package/resources/v1/positions.d.mts.map +1 -1
  63. package/resources/v1/positions.d.ts +52 -1
  64. package/resources/v1/positions.d.ts.map +1 -1
  65. package/resources/v1/screener.d.mts +3 -3
  66. package/resources/v1/screener.d.ts +3 -3
  67. package/resources/v1/screener.js +2 -2
  68. package/resources/v1/screener.mjs +2 -2
  69. package/resources/v1/v1.d.mts +7 -7
  70. package/resources/v1/v1.d.mts.map +1 -1
  71. package/resources/v1/v1.d.ts +7 -7
  72. package/resources/v1/v1.d.ts.map +1 -1
  73. package/resources/v1/v1.js.map +1 -1
  74. package/resources/v1/v1.mjs.map +1 -1
  75. package/resources/v1/watchlist.d.mts +3 -3
  76. package/resources/v1/watchlist.d.ts +3 -3
  77. package/src/resources/v1/index.ts +3 -0
  78. package/src/resources/v1/instrument-data/market-data.ts +98 -20
  79. package/src/resources/v1/instruments.ts +51 -2
  80. package/src/resources/v1/omni-ai/index.ts +2 -0
  81. package/src/resources/v1/omni-ai/messages.ts +17 -17
  82. package/src/resources/v1/omni-ai/omni-ai.ts +12 -1
  83. package/src/resources/v1/omni-ai/responses.ts +22 -22
  84. package/src/resources/v1/omni-ai/threads.ts +136 -65
  85. package/src/resources/v1/orders.ts +123 -7
  86. package/src/resources/v1/positions.ts +55 -0
  87. package/src/resources/v1/screener.ts +3 -3
  88. package/src/resources/v1/v1.ts +7 -1
  89. package/src/resources/v1/watchlist.ts +3 -3
  90. package/src/version.ts +1 -1
  91. package/version.d.mts +1 -1
  92. package/version.d.mts.map +1 -1
  93. package/version.d.ts +1 -1
  94. package/version.d.ts.map +1 -1
  95. package/version.js +1 -1
  96. package/version.js.map +1 -1
  97. package/version.mjs +1 -1
  98. package/version.mjs.map +1 -1
@@ -71,6 +71,7 @@ import {
71
71
  OptionExpiryDate,
72
72
  OptionsContract,
73
73
  OptionsContractList,
74
+ TickRule,
74
75
  } from './instruments';
75
76
  import * as OmniFeedAPI from './omni-feed';
76
77
  import {
@@ -105,6 +106,7 @@ import {
105
106
  OrderReplaceOrderParams,
106
107
  OrderReplaceOrderResponse,
107
108
  OrderStatus,
109
+ OrderStrategy,
108
110
  OrderSubmitOrdersParams,
109
111
  OrderSubmitOrdersResponse,
110
112
  OrderType,
@@ -133,6 +135,7 @@ import {
133
135
  PositionGetPositionsResponse,
134
136
  PositionInstruction,
135
137
  PositionInstructionList,
138
+ PositionInstructionRejection,
136
139
  PositionInstructionStatus,
137
140
  PositionInstructionType,
138
141
  PositionList,
@@ -311,7 +314,7 @@ export class V1 extends APIResource {
311
314
  export type SecurityType = 'COMMON_STOCK' | 'INDEX' | 'OPTION' | 'CASH';
312
315
 
313
316
  /**
314
- * Sort direction sorted results
317
+ * Sort direction for sorted results
315
318
  */
316
319
  export type SortDirection = 'ASC' | 'DESC';
317
320
 
@@ -436,6 +439,7 @@ export declare namespace V1 {
436
439
  type OptionExpiryDate as OptionExpiryDate,
437
440
  type OptionsContract as OptionsContract,
438
441
  type OptionsContractList as OptionsContractList,
442
+ type TickRule as TickRule,
439
443
  type InstrumentGetInstrumentByIDResponse as InstrumentGetInstrumentByIDResponse,
440
444
  type InstrumentGetInstrumentsResponse as InstrumentGetInstrumentsResponse,
441
445
  type InstrumentGetOptionContractsResponse as InstrumentGetOptionContractsResponse,
@@ -498,6 +502,7 @@ export declare namespace V1 {
498
502
  type Order as Order,
499
503
  type OrderList as OrderList,
500
504
  type OrderStatus as OrderStatus,
505
+ type OrderStrategy as OrderStrategy,
501
506
  type OrderType as OrderType,
502
507
  type QueueState as QueueState,
503
508
  type ReplaceOrderRequest as ReplaceOrderRequest,
@@ -528,6 +533,7 @@ export declare namespace V1 {
528
533
  type Position as Position,
529
534
  type PositionInstruction as PositionInstruction,
530
535
  type PositionInstructionList as PositionInstructionList,
536
+ type PositionInstructionRejection as PositionInstructionRejection,
531
537
  type PositionInstructionStatus as PositionInstructionStatus,
532
538
  type PositionInstructionType as PositionInstructionType,
533
539
  type PositionList as PositionList,
@@ -136,12 +136,12 @@ export interface AddWatchlistItemData {
136
136
  */
137
137
  export interface WatchlistDetail {
138
138
  /**
139
- * Watchlist ID
139
+ * The unique identifier for the watchlist.
140
140
  */
141
141
  id: string;
142
142
 
143
143
  /**
144
- * Creation timestamp
144
+ * The timestamp when the watchlist was created.
145
145
  */
146
146
  created_at: string;
147
147
 
@@ -151,7 +151,7 @@ export interface WatchlistDetail {
151
151
  items: Array<WatchlistItemEntry>;
152
152
 
153
153
  /**
154
- * Watchlist name
154
+ * The user-provided watchlist name.
155
155
  */
156
156
  name: string;
157
157
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.99.0'; // x-release-please-version
1
+ export const VERSION = '0.101.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.99.0";
1
+ export declare const VERSION = "0.101.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.mts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
1
+ {"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,YAAY,CAAC"}
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.99.0";
1
+ export declare const VERSION = "0.101.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,YAAY,CAAC"}
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.99.0'; // x-release-please-version
4
+ exports.VERSION = '0.101.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,SAAS,CAAC,CAAC,2BAA2B"}
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.99.0'; // x-release-please-version
1
+ export const VERSION = '0.101.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map
package/version.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}
1
+ {"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC,CAAC,2BAA2B"}