@rivascva/dt-idl 1.1.58 → 1.1.60
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
|
@@ -341,14 +341,9 @@ interface components$3 {
|
|
|
341
341
|
/** @example AAPL */
|
|
342
342
|
symbol: string;
|
|
343
343
|
};
|
|
344
|
-
/** @description
|
|
345
|
-
Index: {
|
|
346
|
-
|
|
347
|
-
symbol: string;
|
|
348
|
-
/** @example S&P 500 */
|
|
349
|
-
name: string;
|
|
350
|
-
quote: components$3["schemas"]["SimpleQuote"];
|
|
351
|
-
quotes: components$3["schemas"]["SimpleQuote"][];
|
|
344
|
+
/** @description A market index that represents a group of stocks */
|
|
345
|
+
Index: components$3["schemas"]["SimpleQuote"] & {
|
|
346
|
+
components: components$3["schemas"]["SimpleQuote"][];
|
|
352
347
|
};
|
|
353
348
|
/** @description A generic error */
|
|
354
349
|
Error: {
|
|
@@ -1494,6 +1489,7 @@ type StockHistoryTimeframe = MarketServiceSchemas['StockHistoryTimeframe'];
|
|
|
1494
1489
|
type StockHistoryEntry = MarketServiceSchemas['StockHistoryEntry'];
|
|
1495
1490
|
type SortOrder = MarketServiceSchemas['SortOrder'];
|
|
1496
1491
|
type SortField = MarketServiceSchemas['SortField'];
|
|
1492
|
+
type GetIndexesQueryParams = operations$3['getIndexes']['parameters']['query'];
|
|
1497
1493
|
type GetStocksByExchangeQueryParams = operations$3['getStocksByExchange']['parameters']['query'];
|
|
1498
1494
|
type GetStocksBySymbolsQueryParams = operations$3['getStocksBySymbols']['parameters']['query'];
|
|
1499
1495
|
type GetSearchStocksQueryParams = operations$3['getSearchStocks']['parameters']['query'];
|
|
@@ -1515,4 +1511,4 @@ type UploadImageResponse = AssetServiceSchemas['UploadImageResponse'];
|
|
|
1515
1511
|
type DeleteImagePayload = AssetServiceSchemas['DeleteImagePayload'];
|
|
1516
1512
|
type AssetServiceError = AssetServiceSchemas['Error'];
|
|
1517
1513
|
|
|
1518
|
-
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 };
|
|
1514
|
+
export { type AddOrderPayload, type AddUserPayload, type AssetServiceError, type DeleteImagePayload, type FullQuote, type GetIndexesQueryParams, 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
|
@@ -555,25 +555,17 @@ components:
|
|
|
555
555
|
- symbol
|
|
556
556
|
|
|
557
557
|
Index:
|
|
558
|
-
description:
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
type: array
|
|
570
|
-
items:
|
|
571
|
-
$ref: '#/components/schemas/SimpleQuote'
|
|
572
|
-
required:
|
|
573
|
-
- symbol
|
|
574
|
-
- name
|
|
575
|
-
- quote
|
|
576
|
-
- quotes
|
|
558
|
+
description: A market index that represents a group of stocks
|
|
559
|
+
allOf:
|
|
560
|
+
- $ref: '#/components/schemas/SimpleQuote'
|
|
561
|
+
- type: object
|
|
562
|
+
properties:
|
|
563
|
+
components:
|
|
564
|
+
type: array
|
|
565
|
+
items:
|
|
566
|
+
$ref: '#/components/schemas/SimpleQuote'
|
|
567
|
+
required:
|
|
568
|
+
- components
|
|
577
569
|
|
|
578
570
|
Error:
|
|
579
571
|
description: A generic error
|
|
@@ -340,14 +340,9 @@ export interface components {
|
|
|
340
340
|
/** @example AAPL */
|
|
341
341
|
symbol: string;
|
|
342
342
|
};
|
|
343
|
-
/** @description
|
|
344
|
-
Index: {
|
|
345
|
-
|
|
346
|
-
symbol: string;
|
|
347
|
-
/** @example S&P 500 */
|
|
348
|
-
name: string;
|
|
349
|
-
quote: components["schemas"]["SimpleQuote"];
|
|
350
|
-
quotes: components["schemas"]["SimpleQuote"][];
|
|
343
|
+
/** @description A market index that represents a group of stocks */
|
|
344
|
+
Index: components["schemas"]["SimpleQuote"] & {
|
|
345
|
+
components: components["schemas"]["SimpleQuote"][];
|
|
351
346
|
};
|
|
352
347
|
/** @description A generic error */
|
|
353
348
|
Error: {
|
package/ts/types/types.ts
CHANGED
|
@@ -21,6 +21,7 @@ export type StockHistoryTimeframe = MarketServiceSchemas['StockHistoryTimeframe'
|
|
|
21
21
|
export type StockHistoryEntry = MarketServiceSchemas['StockHistoryEntry'];
|
|
22
22
|
export type SortOrder = MarketServiceSchemas['SortOrder'];
|
|
23
23
|
export type SortField = MarketServiceSchemas['SortField'];
|
|
24
|
+
export type GetIndexesQueryParams = MarketServiceOperations['getIndexes']['parameters']['query'];
|
|
24
25
|
export type GetStocksByExchangeQueryParams = MarketServiceOperations['getStocksByExchange']['parameters']['query'];
|
|
25
26
|
export type GetStocksBySymbolsQueryParams = MarketServiceOperations['getStocksBySymbols']['parameters']['query'];
|
|
26
27
|
export type GetSearchStocksQueryParams = MarketServiceOperations['getSearchStocks']['parameters']['query'];
|