@rivascva/dt-idl 1.1.14 → 1.1.16

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
@@ -752,7 +752,7 @@ interface components {
752
752
  * Format: int64
753
753
  * @example 10
754
754
  */
755
- quantity: number;
755
+ shares: number;
756
756
  /**
757
757
  * Format: int64
758
758
  * @example 1713398544000
@@ -781,7 +781,7 @@ interface components {
781
781
  * Format: int64
782
782
  * @example 10
783
783
  */
784
- quantity: number;
784
+ shares: number;
785
785
  };
786
786
  /** @description A trade order */
787
787
  Order: components["schemas"]["OrderPayload"] & {
@@ -1039,6 +1039,7 @@ type PortfolioType = TradeServiceSchemas['PortfolioType'];
1039
1039
  type OrderPayload = TradeServiceSchemas['OrderPayload'];
1040
1040
  type Order = TradeServiceSchemas['Order'];
1041
1041
  type OrderType = TradeServiceSchemas['OrderType'];
1042
+ type Holding = TradeServiceSchemas['Holding'];
1042
1043
  type TradeServiceError = TradeServiceSchemas['Error'];
1043
1044
 
1044
- 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, isMarketServiceError, isTradeServiceError };
1045
+ export { type FullQuote, type Holding, type MarketServiceError, type NewsArticle, type Order, type OrderPayload, type OrderType, type Portfolio, type PortfolioType, type SimpleQuote, type StockNewsArticle, type TradeServiceError, type User, createMarketServiceClient, createTradeServiceClient, isMarketServiceError, isTradeServiceError };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivascva/dt-idl",
3
- "version": "1.1.14",
3
+ "version": "1.1.16",
4
4
  "description": "Dream Trade - Interface Definition Language",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -254,7 +254,7 @@ components:
254
254
  type: number
255
255
  format: double
256
256
  example: 182.25
257
- quantity:
257
+ shares:
258
258
  type: integer
259
259
  format: int64
260
260
  example: 10
@@ -270,7 +270,7 @@ components:
270
270
  - id
271
271
  - symbol
272
272
  - averagePrice
273
- - quantity
273
+ - shares
274
274
  - dateCreated
275
275
  - dateUpdated
276
276
 
@@ -290,7 +290,7 @@ components:
290
290
  type: number
291
291
  format: double
292
292
  example: 182.25
293
- quantity:
293
+ shares:
294
294
  type: integer
295
295
  format: int64
296
296
  example: 10
@@ -299,7 +299,7 @@ components:
299
299
  - type
300
300
  - symbol
301
301
  - targetPrice
302
- - quantity
302
+ - shares
303
303
 
304
304
  Order:
305
305
  description: A trade order
@@ -140,7 +140,7 @@ export interface components {
140
140
  * Format: int64
141
141
  * @example 10
142
142
  */
143
- quantity: number;
143
+ shares: number;
144
144
  /**
145
145
  * Format: int64
146
146
  * @example 1713398544000
@@ -169,7 +169,7 @@ export interface components {
169
169
  * Format: int64
170
170
  * @example 10
171
171
  */
172
- quantity: number;
172
+ shares: number;
173
173
  };
174
174
  /** @description A trade order */
175
175
  Order: components["schemas"]["OrderPayload"] & {
package/ts/types/types.ts CHANGED
@@ -18,4 +18,5 @@ export type PortfolioType = TradeServiceSchemas['PortfolioType'];
18
18
  export type OrderPayload = TradeServiceSchemas['OrderPayload'];
19
19
  export type Order = TradeServiceSchemas['Order'];
20
20
  export type OrderType = TradeServiceSchemas['OrderType'];
21
+ export type Holding = TradeServiceSchemas['Holding'];
21
22
  export type TradeServiceError = TradeServiceSchemas['Error'];