@rivascva/dt-idl 1.1.7 → 1.1.8

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/dist/index.d.ts CHANGED
@@ -686,17 +686,19 @@ declare const createTradeServiceClient: (options: ClientOptions) => {
686
686
  eject(...middleware: openapi_fetch.Middleware[]): void;
687
687
  };
688
688
 
689
- type SimpleQuote = components$1['schemas']['SimpleQuote'];
690
- type FullQuote = components$1['schemas']['FullQuote'];
691
- type NewsArticle = components$1['schemas']['NewsArticle'];
692
- type StockNewsArticle = components$1['schemas']['StockNewsArticle'];
693
- type MarketServiceError = components$1['schemas']['Error'];
694
- type User = components['schemas']['User'];
695
- type Portfolio = components['schemas']['Portfolio'];
696
- type PortfolioType = components['schemas']['PortfolioType'];
697
- type OrderPayload = components['schemas']['OrderPayload'];
698
- type Order = components['schemas']['Order'];
699
- type OrderType = components['schemas']['OrderType'];
700
- type TradeServiceError = components['schemas']['Error'];
689
+ type MarketServiceSchemas = components$1['schemas'];
690
+ type TradeServiceSchemas = components['schemas'];
691
+ type SimpleQuote = MarketServiceSchemas['SimpleQuote'];
692
+ type FullQuote = MarketServiceSchemas['FullQuote'];
693
+ type NewsArticle = MarketServiceSchemas['NewsArticle'];
694
+ type StockNewsArticle = MarketServiceSchemas['StockNewsArticle'];
695
+ type MarketServiceError = MarketServiceSchemas['Error'];
696
+ type User = TradeServiceSchemas['User'];
697
+ type Portfolio = TradeServiceSchemas['Portfolio'];
698
+ type PortfolioType = TradeServiceSchemas['PortfolioType'];
699
+ type OrderPayload = TradeServiceSchemas['OrderPayload'];
700
+ type Order = TradeServiceSchemas['Order'];
701
+ type OrderType = TradeServiceSchemas['OrderType'];
702
+ type TradeServiceError = TradeServiceSchemas['Error'];
701
703
 
702
704
  export { type FullQuote, type MarketServiceError, type NewsArticle, type Order, type OrderPayload, type OrderType, type Portfolio, type PortfolioType, type SimpleQuote, type StockNewsArticle, type TradeServiceError, type User, createMarketServiceClient, createTradeServiceClient };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivascva/dt-idl",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "Dream Trade - Interface Definition Language",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
package/ts/types/types.ts CHANGED
@@ -1,18 +1,21 @@
1
1
  import { components as MarketServiceComponents } from '@ts/services/dt-market-service';
2
2
  import { components as TradeServiceComponents } from '@ts/services/dt-trade-service';
3
3
 
4
+ type MarketServiceSchemas = MarketServiceComponents['schemas'];
5
+ type TradeServiceSchemas = TradeServiceComponents['schemas'];
6
+
4
7
  // Market Service Types
5
- export type SimpleQuote = MarketServiceComponents['schemas']['SimpleQuote'];
6
- export type FullQuote = MarketServiceComponents['schemas']['FullQuote'];
7
- export type NewsArticle = MarketServiceComponents['schemas']['NewsArticle'];
8
- export type StockNewsArticle = MarketServiceComponents['schemas']['StockNewsArticle'];
9
- export type MarketServiceError = MarketServiceComponents['schemas']['Error'];
8
+ export type SimpleQuote = MarketServiceSchemas['SimpleQuote'];
9
+ export type FullQuote = MarketServiceSchemas['FullQuote'];
10
+ export type NewsArticle = MarketServiceSchemas['NewsArticle'];
11
+ export type StockNewsArticle = MarketServiceSchemas['StockNewsArticle'];
12
+ export type MarketServiceError = MarketServiceSchemas['Error'];
10
13
 
11
14
  // Trade Service Types
12
- export type User = TradeServiceComponents['schemas']['User'];
13
- export type Portfolio = TradeServiceComponents['schemas']['Portfolio'];
14
- export type PortfolioType = TradeServiceComponents['schemas']['PortfolioType'];
15
- export type OrderPayload = TradeServiceComponents['schemas']['OrderPayload'];
16
- export type Order = TradeServiceComponents['schemas']['Order'];
17
- export type OrderType = TradeServiceComponents['schemas']['OrderType'];
18
- export type TradeServiceError = TradeServiceComponents['schemas']['Error'];
15
+ export type User = TradeServiceSchemas['User'];
16
+ export type Portfolio = TradeServiceSchemas['Portfolio'];
17
+ export type PortfolioType = TradeServiceSchemas['PortfolioType'];
18
+ export type OrderPayload = TradeServiceSchemas['OrderPayload'];
19
+ export type Order = TradeServiceSchemas['Order'];
20
+ export type OrderType = TradeServiceSchemas['OrderType'];
21
+ export type TradeServiceError = TradeServiceSchemas['Error'];