@rivascva/dt-idl 1.1.54 → 1.1.56
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
|
@@ -200,6 +200,11 @@ interface components$3 {
|
|
|
200
200
|
* @example 1.25
|
|
201
201
|
*/
|
|
202
202
|
percentChange: number;
|
|
203
|
+
/**
|
|
204
|
+
* Format: int64
|
|
205
|
+
* @example 28000000000
|
|
206
|
+
*/
|
|
207
|
+
marketCap: number;
|
|
203
208
|
};
|
|
204
209
|
/** @description A full stock quote */
|
|
205
210
|
FullQuote: components$3["schemas"]["SimpleQuote"] & {
|
|
@@ -338,7 +343,7 @@ interface components$3 {
|
|
|
338
343
|
/** @enum {string} */
|
|
339
344
|
SortOrder: "ASC" | "DESC";
|
|
340
345
|
/** @enum {string} */
|
|
341
|
-
SortField: "SYMBOL" | "NAME" | "PRICE" | "
|
|
346
|
+
SortField: "SYMBOL" | "NAME" | "PRICE" | "PERCENT_CHANGE" | "MARKET_CAP";
|
|
342
347
|
};
|
|
343
348
|
responses: {
|
|
344
349
|
/** @description The resource was not found */
|
|
@@ -1440,6 +1445,7 @@ type SortField = MarketServiceSchemas['SortField'];
|
|
|
1440
1445
|
type GetStocksByExchangeQueryParams = operations$3['getStocksByExchange']['parameters']['query'];
|
|
1441
1446
|
type GetStocksBySymbolsQueryParams = operations$3['getStocksBySymbols']['parameters']['query'];
|
|
1442
1447
|
type GetSearchStocksQueryParams = operations$3['getSearchStocks']['parameters']['query'];
|
|
1448
|
+
type GetStockHistoryQueryParams = operations$3['getStockHistory']['parameters']['query'];
|
|
1443
1449
|
type Portfolio = TradeServiceSchemas['Portfolio'];
|
|
1444
1450
|
type PortfolioType = TradeServiceSchemas['PortfolioType'];
|
|
1445
1451
|
type AddOrderPayload = TradeServiceSchemas['AddOrderPayload'];
|
|
@@ -1457,4 +1463,4 @@ type UploadImageResponse = AssetServiceSchemas['UploadImageResponse'];
|
|
|
1457
1463
|
type DeleteImagePayload = AssetServiceSchemas['DeleteImagePayload'];
|
|
1458
1464
|
type AssetServiceError = AssetServiceSchemas['Error'];
|
|
1459
1465
|
|
|
1460
|
-
export { type AddOrderPayload, type AddUserPayload, type AssetServiceError, type DeleteImagePayload, type FullQuote, type GetSearchStocksQueryParams, type GetStocksByExchangeQueryParams, type GetStocksBySymbolsQueryParams, type Holding, type ImageType, type MarketServiceError, type NewsArticle, type Order, type OrderType, type Portfolio, type PortfolioType, type SimpleQuote, type SortField, type SortOrder, type StockHistoryEntry, type StockHistoryTimeframe, type StockNewsArticle, type TradeServiceError, type UpdateUserPayload, type UploadImagePayload, type UploadImageResponse, type User, type UserServiceError, createAssetServiceClient, createMarketServiceClient, createTradeServiceClient, createUserServiceClient, isAssetServiceError, isMarketServiceError, isTradeServiceError, isUserServiceError };
|
|
1466
|
+
export { type AddOrderPayload, type AddUserPayload, type AssetServiceError, type DeleteImagePayload, type FullQuote, type GetSearchStocksQueryParams, type GetStockHistoryQueryParams, type GetStocksByExchangeQueryParams, type GetStocksBySymbolsQueryParams, type Holding, type ImageType, type MarketServiceError, type NewsArticle, type Order, type OrderType, type Portfolio, type PortfolioType, type SimpleQuote, type SortField, type SortOrder, type StockHistoryEntry, type StockHistoryTimeframe, type StockNewsArticle, type TradeServiceError, type UpdateUserPayload, type UploadImagePayload, type UploadImageResponse, type User, type UserServiceError, createAssetServiceClient, createMarketServiceClient, createTradeServiceClient, createUserServiceClient, isAssetServiceError, isMarketServiceError, isTradeServiceError, isUserServiceError };
|
package/package.json
CHANGED
|
@@ -350,12 +350,17 @@ components:
|
|
|
350
350
|
type: number
|
|
351
351
|
format: double
|
|
352
352
|
example: 1.25
|
|
353
|
+
marketCap:
|
|
354
|
+
type: integer
|
|
355
|
+
format: int64
|
|
356
|
+
example: 28000000000
|
|
353
357
|
required:
|
|
354
358
|
- symbol
|
|
355
359
|
- name
|
|
356
360
|
- price
|
|
357
361
|
- priceChange
|
|
358
362
|
- percentChange
|
|
363
|
+
- marketCap
|
|
359
364
|
|
|
360
365
|
FullQuote:
|
|
361
366
|
description: A full stock quote
|
|
@@ -559,8 +564,8 @@ components:
|
|
|
559
564
|
- SYMBOL
|
|
560
565
|
- NAME
|
|
561
566
|
- PRICE
|
|
562
|
-
- PRICE_CHANGE
|
|
563
567
|
- PERCENT_CHANGE
|
|
568
|
+
- MARKET_CAP
|
|
564
569
|
|
|
565
570
|
responses:
|
|
566
571
|
NotFound:
|
|
@@ -199,6 +199,11 @@ export interface components {
|
|
|
199
199
|
* @example 1.25
|
|
200
200
|
*/
|
|
201
201
|
percentChange: number;
|
|
202
|
+
/**
|
|
203
|
+
* Format: int64
|
|
204
|
+
* @example 28000000000
|
|
205
|
+
*/
|
|
206
|
+
marketCap: number;
|
|
202
207
|
};
|
|
203
208
|
/** @description A full stock quote */
|
|
204
209
|
FullQuote: components["schemas"]["SimpleQuote"] & {
|
|
@@ -337,7 +342,7 @@ export interface components {
|
|
|
337
342
|
/** @enum {string} */
|
|
338
343
|
SortOrder: "ASC" | "DESC";
|
|
339
344
|
/** @enum {string} */
|
|
340
|
-
SortField: "SYMBOL" | "NAME" | "PRICE" | "
|
|
345
|
+
SortField: "SYMBOL" | "NAME" | "PRICE" | "PERCENT_CHANGE" | "MARKET_CAP";
|
|
341
346
|
};
|
|
342
347
|
responses: {
|
|
343
348
|
/** @description The resource was not found */
|
package/ts/types/types.ts
CHANGED
|
@@ -24,6 +24,7 @@ export type SortField = MarketServiceSchemas['SortField'];
|
|
|
24
24
|
export type GetStocksByExchangeQueryParams = MarketServiceOperations['getStocksByExchange']['parameters']['query'];
|
|
25
25
|
export type GetStocksBySymbolsQueryParams = MarketServiceOperations['getStocksBySymbols']['parameters']['query'];
|
|
26
26
|
export type GetSearchStocksQueryParams = MarketServiceOperations['getSearchStocks']['parameters']['query'];
|
|
27
|
+
export type GetStockHistoryQueryParams = MarketServiceOperations['getStockHistory']['parameters']['query'];
|
|
27
28
|
|
|
28
29
|
// Trade Service Types
|
|
29
30
|
export type Portfolio = TradeServiceSchemas['Portfolio'];
|