@clear-street/clearstreet 0.97.0 → 0.98.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 (72) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/package.json +1 -1
  3. package/resources/v1/accounts.d.mts +13 -1
  4. package/resources/v1/accounts.d.mts.map +1 -1
  5. package/resources/v1/accounts.d.ts +13 -1
  6. package/resources/v1/accounts.d.ts.map +1 -1
  7. package/resources/v1/calendar.d.mts +7 -1
  8. package/resources/v1/calendar.d.mts.map +1 -1
  9. package/resources/v1/calendar.d.ts +7 -1
  10. package/resources/v1/calendar.d.ts.map +1 -1
  11. package/resources/v1/index.d.mts +2 -1
  12. package/resources/v1/index.d.mts.map +1 -1
  13. package/resources/v1/index.d.ts +2 -1
  14. package/resources/v1/index.d.ts.map +1 -1
  15. package/resources/v1/index.js +3 -1
  16. package/resources/v1/index.js.map +1 -1
  17. package/resources/v1/index.mjs +1 -0
  18. package/resources/v1/index.mjs.map +1 -1
  19. package/resources/v1/instrument-data/instrument-data.d.mts +12 -0
  20. package/resources/v1/instrument-data/instrument-data.d.mts.map +1 -1
  21. package/resources/v1/instrument-data/instrument-data.d.ts +12 -0
  22. package/resources/v1/instrument-data/instrument-data.d.ts.map +1 -1
  23. package/resources/v1/instrument-data/instrument-data.js +12 -0
  24. package/resources/v1/instrument-data/instrument-data.js.map +1 -1
  25. package/resources/v1/instrument-data/instrument-data.mjs +12 -0
  26. package/resources/v1/instrument-data/instrument-data.mjs.map +1 -1
  27. package/resources/v1/instrument-data/news.d.mts +3 -0
  28. package/resources/v1/instrument-data/news.d.mts.map +1 -1
  29. package/resources/v1/instrument-data/news.d.ts +3 -0
  30. package/resources/v1/instrument-data/news.d.ts.map +1 -1
  31. package/resources/v1/instrument-data/news.js +3 -0
  32. package/resources/v1/instrument-data/news.js.map +1 -1
  33. package/resources/v1/instrument-data/news.mjs +3 -0
  34. package/resources/v1/instrument-data/news.mjs.map +1 -1
  35. package/resources/v1/instruments.d.mts +5 -2
  36. package/resources/v1/instruments.d.mts.map +1 -1
  37. package/resources/v1/instruments.d.ts +5 -2
  38. package/resources/v1/instruments.d.ts.map +1 -1
  39. package/resources/v1/omni-feed.d.mts +173 -0
  40. package/resources/v1/omni-feed.d.mts.map +1 -0
  41. package/resources/v1/omni-feed.d.ts +173 -0
  42. package/resources/v1/omni-feed.d.ts.map +1 -0
  43. package/resources/v1/omni-feed.js +67 -0
  44. package/resources/v1/omni-feed.js.map +1 -0
  45. package/resources/v1/omni-feed.mjs +63 -0
  46. package/resources/v1/omni-feed.mjs.map +1 -0
  47. package/resources/v1/orders.d.mts +25 -0
  48. package/resources/v1/orders.d.mts.map +1 -1
  49. package/resources/v1/orders.d.ts +25 -0
  50. package/resources/v1/orders.d.ts.map +1 -1
  51. package/resources/v1/v1.d.mts +6 -2
  52. package/resources/v1/v1.d.mts.map +1 -1
  53. package/resources/v1/v1.d.ts +6 -2
  54. package/resources/v1/v1.d.ts.map +1 -1
  55. package/resources/v1/v1.js +4 -0
  56. package/resources/v1/v1.js.map +1 -1
  57. package/resources/v1/v1.mjs +4 -0
  58. package/resources/v1/v1.mjs.map +1 -1
  59. package/src/resources/v1/accounts.ts +16 -0
  60. package/src/resources/v1/calendar.ts +8 -1
  61. package/src/resources/v1/index.ts +12 -0
  62. package/src/resources/v1/instrument-data/instrument-data.ts +12 -0
  63. package/src/resources/v1/instrument-data/news.ts +3 -0
  64. package/src/resources/v1/instruments.ts +5 -2
  65. package/src/resources/v1/omni-feed.ts +218 -0
  66. package/src/resources/v1/orders.ts +30 -0
  67. package/src/resources/v1/v1.ts +28 -0
  68. package/src/version.ts +1 -1
  69. package/version.d.mts +1 -1
  70. package/version.d.ts +1 -1
  71. package/version.js +1 -1
  72. package/version.mjs +1 -1
@@ -13,6 +13,7 @@ import {
13
13
  AccountGetAccountsResponse,
14
14
  AccountGetPortfolioHistoryParams,
15
15
  AccountGetPortfolioHistoryResponse,
16
+ AccountHolderEntityKind,
16
17
  AccountList,
17
18
  AccountPatchAccountByIDParams,
18
19
  AccountPatchAccountByIDResponse,
@@ -71,6 +72,18 @@ import {
71
72
  OptionsContract,
72
73
  OptionsContractList,
73
74
  } from './instruments';
75
+ import * as OmniFeedAPI from './omni-feed';
76
+ import {
77
+ FeedItem,
78
+ FeedItemKind,
79
+ FeedItemMetric,
80
+ FeedMetricType,
81
+ FeedPage,
82
+ OmniFeed,
83
+ OmniFeedGetFeedParams,
84
+ OmniFeedGetFeedResponse,
85
+ OmniFeedPostFeedEventParams,
86
+ } from './omni-feed';
74
87
  import * as OrdersAPI from './orders';
75
88
  import {
76
89
  Execution,
@@ -282,6 +295,7 @@ export class V1 extends APIResource {
282
295
  instrumentData: InstrumentDataAPI.InstrumentData = new InstrumentDataAPI.InstrumentData(this._client);
283
296
  instruments: InstrumentsAPI.Instruments = new InstrumentsAPI.Instruments(this._client);
284
297
  omniAI: OmniAIAPI.OmniAI = new OmniAIAPI.OmniAI(this._client);
298
+ omniFeed: OmniFeedAPI.OmniFeed = new OmniFeedAPI.OmniFeed(this._client);
285
299
  orders: OrdersAPI.Orders = new OrdersAPI.Orders(this._client);
286
300
  positions: PositionsAPI.Positions = new PositionsAPI.Positions(this._client);
287
301
  privateMarkets: PrivateMarketsAPI.PrivateMarkets = new PrivateMarketsAPI.PrivateMarkets(this._client);
@@ -305,6 +319,7 @@ V1.Calendar = Calendar;
305
319
  V1.InstrumentData = InstrumentData;
306
320
  V1.Instruments = Instruments;
307
321
  V1.OmniAI = OmniAI;
322
+ V1.OmniFeed = OmniFeed;
308
323
  V1.Orders = Orders;
309
324
  V1.Positions = Positions;
310
325
  V1.PrivateMarkets = PrivateMarkets;
@@ -319,6 +334,7 @@ export declare namespace V1 {
319
334
  type Account as Account,
320
335
  type AccountBalances as AccountBalances,
321
336
  type AccountBalancesSod as AccountBalancesSod,
337
+ type AccountHolderEntityKind as AccountHolderEntityKind,
322
338
  type AccountList as AccountList,
323
339
  type AccountSettings as AccountSettings,
324
340
  type AccountStatus as AccountStatus,
@@ -459,6 +475,18 @@ export declare namespace V1 {
459
475
  type SuggestedActionsPayload as SuggestedActionsPayload,
460
476
  };
461
477
 
478
+ export {
479
+ OmniFeed as OmniFeed,
480
+ type FeedItem as FeedItem,
481
+ type FeedItemKind as FeedItemKind,
482
+ type FeedItemMetric as FeedItemMetric,
483
+ type FeedMetricType as FeedMetricType,
484
+ type FeedPage as FeedPage,
485
+ type OmniFeedGetFeedResponse as OmniFeedGetFeedResponse,
486
+ type OmniFeedGetFeedParams as OmniFeedGetFeedParams,
487
+ type OmniFeedPostFeedEventParams as OmniFeedPostFeedEventParams,
488
+ };
489
+
462
490
  export {
463
491
  Orders as Orders,
464
492
  type Execution as Execution,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.97.0'; // x-release-please-version
1
+ export const VERSION = '0.98.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.97.0";
1
+ export declare const VERSION = "0.98.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.97.0";
1
+ export declare const VERSION = "0.98.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.97.0'; // x-release-please-version
4
+ exports.VERSION = '0.98.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.97.0'; // x-release-please-version
1
+ export const VERSION = '0.98.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map