@rivascva/dt-idl 1.1.163 → 1.1.165
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 +42 -43
- package/package.json +1 -1
- package/services/dt-market-service.yaml +26 -44
- package/ts/services/dt-market-service.ts +40 -41
- package/ts/types/types.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6,15 +6,15 @@ import { ClientOptions } from 'openapi-fetch';
|
|
|
6
6
|
* Do not make direct changes to the file.
|
|
7
7
|
*/
|
|
8
8
|
interface paths$3 {
|
|
9
|
-
"/stocks/
|
|
9
|
+
"/stocks/metadata": {
|
|
10
10
|
parameters: {
|
|
11
11
|
query?: never;
|
|
12
12
|
header?: never;
|
|
13
13
|
path?: never;
|
|
14
14
|
cookie?: never;
|
|
15
15
|
};
|
|
16
|
-
/** @description Gets
|
|
17
|
-
get: operations$3["
|
|
16
|
+
/** @description Gets metadata about the stocks */
|
|
17
|
+
get: operations$3["getStocksMetadata"];
|
|
18
18
|
put?: never;
|
|
19
19
|
post?: never;
|
|
20
20
|
delete?: never;
|
|
@@ -23,15 +23,15 @@ interface paths$3 {
|
|
|
23
23
|
patch?: never;
|
|
24
24
|
trace?: never;
|
|
25
25
|
};
|
|
26
|
-
"/stocks/{symbol}
|
|
26
|
+
"/stocks/{symbol}": {
|
|
27
27
|
parameters: {
|
|
28
28
|
query?: never;
|
|
29
29
|
header?: never;
|
|
30
30
|
path?: never;
|
|
31
31
|
cookie?: never;
|
|
32
32
|
};
|
|
33
|
-
/** @description Gets the
|
|
34
|
-
get: operations$3["
|
|
33
|
+
/** @description Gets the full quote for the given stock symbol */
|
|
34
|
+
get: operations$3["getStock"];
|
|
35
35
|
put?: never;
|
|
36
36
|
post?: never;
|
|
37
37
|
delete?: never;
|
|
@@ -40,15 +40,15 @@ interface paths$3 {
|
|
|
40
40
|
patch?: never;
|
|
41
41
|
trace?: never;
|
|
42
42
|
};
|
|
43
|
-
"/stocks/
|
|
43
|
+
"/stocks/{symbol}/history": {
|
|
44
44
|
parameters: {
|
|
45
45
|
query?: never;
|
|
46
46
|
header?: never;
|
|
47
47
|
path?: never;
|
|
48
48
|
cookie?: never;
|
|
49
49
|
};
|
|
50
|
-
/** @description Gets the
|
|
51
|
-
get: operations$3["
|
|
50
|
+
/** @description Gets the price history chart for the given stock symbol */
|
|
51
|
+
get: operations$3["getStockHistory"];
|
|
52
52
|
put?: never;
|
|
53
53
|
post?: never;
|
|
54
54
|
delete?: never;
|
|
@@ -57,15 +57,15 @@ interface paths$3 {
|
|
|
57
57
|
patch?: never;
|
|
58
58
|
trace?: never;
|
|
59
59
|
};
|
|
60
|
-
"/stocks/by-
|
|
60
|
+
"/stocks/by-symbols/{symbols}": {
|
|
61
61
|
parameters: {
|
|
62
62
|
query?: never;
|
|
63
63
|
header?: never;
|
|
64
64
|
path?: never;
|
|
65
65
|
cookie?: never;
|
|
66
66
|
};
|
|
67
|
-
/** @description Gets the simple quotes for the given stock
|
|
68
|
-
get: operations$3["
|
|
67
|
+
/** @description Gets the simple quotes for the given stock symbols */
|
|
68
|
+
get: operations$3["getStocksBySymbols"];
|
|
69
69
|
put?: never;
|
|
70
70
|
post?: never;
|
|
71
71
|
delete?: never;
|
|
@@ -347,6 +347,14 @@ interface components$3 {
|
|
|
347
347
|
displayName: string;
|
|
348
348
|
components: components$3["schemas"]["SimpleQuote"][];
|
|
349
349
|
};
|
|
350
|
+
/** @description Metadata about the stocks */
|
|
351
|
+
StocksMetadata: {
|
|
352
|
+
/**
|
|
353
|
+
* Format: int64
|
|
354
|
+
* @example 30
|
|
355
|
+
*/
|
|
356
|
+
pollInterval: number;
|
|
357
|
+
};
|
|
350
358
|
/** @description A generic error */
|
|
351
359
|
Error: {
|
|
352
360
|
/**
|
|
@@ -394,14 +402,11 @@ interface components$3 {
|
|
|
394
402
|
pathItems: never;
|
|
395
403
|
}
|
|
396
404
|
interface operations$3 {
|
|
397
|
-
|
|
405
|
+
getStocksMetadata: {
|
|
398
406
|
parameters: {
|
|
399
407
|
query?: never;
|
|
400
408
|
header?: never;
|
|
401
|
-
path
|
|
402
|
-
/** @description The stock symbol */
|
|
403
|
-
symbol: string;
|
|
404
|
-
};
|
|
409
|
+
path?: never;
|
|
405
410
|
cookie?: never;
|
|
406
411
|
};
|
|
407
412
|
requestBody?: never;
|
|
@@ -412,23 +417,15 @@ interface operations$3 {
|
|
|
412
417
|
[name: string]: unknown;
|
|
413
418
|
};
|
|
414
419
|
content: {
|
|
415
|
-
"application/json": components$3["schemas"]["
|
|
420
|
+
"application/json": components$3["schemas"]["StocksMetadata"];
|
|
416
421
|
};
|
|
417
422
|
};
|
|
418
|
-
404: components$3["responses"]["NotFound"];
|
|
419
423
|
500: components$3["responses"]["InternalServerError"];
|
|
420
424
|
};
|
|
421
425
|
};
|
|
422
|
-
|
|
426
|
+
getStock: {
|
|
423
427
|
parameters: {
|
|
424
|
-
query
|
|
425
|
-
/** @description The stock history timeframe */
|
|
426
|
-
timeframe: components$3["schemas"]["StockHistoryTimeframe"];
|
|
427
|
-
/** @description The stock history from date */
|
|
428
|
-
from: string;
|
|
429
|
-
/** @description The stock history to date */
|
|
430
|
-
to: string;
|
|
431
|
-
};
|
|
428
|
+
query?: never;
|
|
432
429
|
header?: never;
|
|
433
430
|
path: {
|
|
434
431
|
/** @description The stock symbol */
|
|
@@ -444,25 +441,27 @@ interface operations$3 {
|
|
|
444
441
|
[name: string]: unknown;
|
|
445
442
|
};
|
|
446
443
|
content: {
|
|
447
|
-
"application/json": components$3["schemas"]["
|
|
444
|
+
"application/json": components$3["schemas"]["FullQuote"];
|
|
448
445
|
};
|
|
449
446
|
};
|
|
450
447
|
404: components$3["responses"]["NotFound"];
|
|
451
448
|
500: components$3["responses"]["InternalServerError"];
|
|
452
449
|
};
|
|
453
450
|
};
|
|
454
|
-
|
|
451
|
+
getStockHistory: {
|
|
455
452
|
parameters: {
|
|
456
|
-
query
|
|
457
|
-
/** @description The
|
|
458
|
-
|
|
459
|
-
/** @description The
|
|
460
|
-
|
|
453
|
+
query: {
|
|
454
|
+
/** @description The stock history timeframe */
|
|
455
|
+
timeframe: components$3["schemas"]["StockHistoryTimeframe"];
|
|
456
|
+
/** @description The stock history from date */
|
|
457
|
+
from: string;
|
|
458
|
+
/** @description The stock history to date */
|
|
459
|
+
to: string;
|
|
461
460
|
};
|
|
462
461
|
header?: never;
|
|
463
462
|
path: {
|
|
464
|
-
/** @description The stock
|
|
465
|
-
|
|
463
|
+
/** @description The stock symbol */
|
|
464
|
+
symbol: string;
|
|
466
465
|
};
|
|
467
466
|
cookie?: never;
|
|
468
467
|
};
|
|
@@ -474,14 +473,14 @@ interface operations$3 {
|
|
|
474
473
|
[name: string]: unknown;
|
|
475
474
|
};
|
|
476
475
|
content: {
|
|
477
|
-
"application/json": components$3["schemas"]["
|
|
476
|
+
"application/json": components$3["schemas"]["StockHistoryEntry"][];
|
|
478
477
|
};
|
|
479
478
|
};
|
|
480
479
|
404: components$3["responses"]["NotFound"];
|
|
481
480
|
500: components$3["responses"]["InternalServerError"];
|
|
482
481
|
};
|
|
483
482
|
};
|
|
484
|
-
|
|
483
|
+
getStocksBySymbols: {
|
|
485
484
|
parameters: {
|
|
486
485
|
query?: {
|
|
487
486
|
/** @description The sort order of the stock quotes */
|
|
@@ -491,8 +490,8 @@ interface operations$3 {
|
|
|
491
490
|
};
|
|
492
491
|
header?: never;
|
|
493
492
|
path: {
|
|
494
|
-
/** @description The stock
|
|
495
|
-
|
|
493
|
+
/** @description The stock symbols */
|
|
494
|
+
symbols: string;
|
|
496
495
|
};
|
|
497
496
|
cookie?: never;
|
|
498
497
|
};
|
|
@@ -1990,10 +1989,10 @@ type SortOrder = MarketServiceSchemas['SortOrder'];
|
|
|
1990
1989
|
type SortField = MarketServiceSchemas['SortField'];
|
|
1991
1990
|
type Index = MarketServiceSchemas['Index'];
|
|
1992
1991
|
type GetIndexesQueryParams = operations$3['getIndexes']['parameters']['query'];
|
|
1993
|
-
type GetStocksByExchangeQueryParams = operations$3['getStocksByExchange']['parameters']['query'];
|
|
1994
1992
|
type GetStocksBySymbolsQueryParams = operations$3['getStocksBySymbols']['parameters']['query'];
|
|
1995
1993
|
type GetSearchStocksQueryParams = operations$3['getSearchStocks']['parameters']['query'];
|
|
1996
1994
|
type GetStockHistoryQueryParams = operations$3['getStockHistory']['parameters']['query'];
|
|
1995
|
+
type StocksMetadata = MarketServiceSchemas['StocksMetadata'];
|
|
1997
1996
|
type Portfolio = TradeServiceSchemas['Portfolio'];
|
|
1998
1997
|
type PortfolioType = TradeServiceSchemas['PortfolioType'];
|
|
1999
1998
|
type UpdatePortfolioPayload = TradeServiceSchemas['UpdatePortfolioPayload'];
|
|
@@ -2022,4 +2021,4 @@ type UploadImageResponse = AssetServiceSchemas['UploadImageResponse'];
|
|
|
2022
2021
|
type DeleteImagePayload = AssetServiceSchemas['DeleteImagePayload'];
|
|
2023
2022
|
type AssetServiceError = AssetServiceSchemas['Error'];
|
|
2024
2023
|
|
|
2025
|
-
export { type AddOrderPayload, type AddUserPayload, type AssetServiceError, type DeleteImagePayload, type FullQuote, type GetIndexesQueryParams, type GetOrdersByPortfolioParams, type GetPortfolioHistoryParams, type GetSearchStocksQueryParams, type GetStockHistoryQueryParams, type
|
|
2024
|
+
export { type AddOrderPayload, type AddUserPayload, type AssetServiceError, type DeleteImagePayload, type FullQuote, type GetIndexesQueryParams, type GetOrdersByPortfolioParams, type GetPortfolioHistoryParams, type GetSearchStocksQueryParams, type GetStockHistoryQueryParams, type GetStocksBySymbolsQueryParams, type Holding, type ImageType, type Index, type LoginWithFirebasePayload, type LogoutPayload, type MarketServiceError, type NewsArticle, type Order, type OrderType, type Portfolio, type PortfolioHistoryTimeframe, type PortfolioHistoryValue, type PortfolioType, type RefreshAccessTokenPayload, type SendPushNotificationPayload, type SignupWithFirebasePayload, type SimpleQuote, type SortField, type SortOrder, type StockHistoryEntry, type StockHistoryTimeframe, type StockNewsArticle, type StocksMetadata, type TradeServiceError, type UpdatePortfolioPayload, type UpdateUserDevicePayload, type UpdateUserPayload, type UploadImagePayload, type UploadImageResponse, type User, type UserServiceError, createAssetServiceClient, createMarketServiceClient, createTradeServiceClient, createUserServiceClient, isAssetServiceError, isMarketServiceError, isTradeServiceError, isUserServiceError };
|
package/package.json
CHANGED
|
@@ -9,6 +9,22 @@ servers:
|
|
|
9
9
|
- url: http://localhost:8082/v1
|
|
10
10
|
|
|
11
11
|
paths:
|
|
12
|
+
/stocks/metadata:
|
|
13
|
+
get:
|
|
14
|
+
description: Gets metadata about the stocks
|
|
15
|
+
operationId: getStocksMetadata
|
|
16
|
+
tags:
|
|
17
|
+
- Stocks
|
|
18
|
+
responses:
|
|
19
|
+
200:
|
|
20
|
+
description: Success
|
|
21
|
+
content:
|
|
22
|
+
application/json:
|
|
23
|
+
schema:
|
|
24
|
+
$ref: '#/components/schemas/StocksMetadata'
|
|
25
|
+
500:
|
|
26
|
+
$ref: '#/components/responses/InternalServerError'
|
|
27
|
+
|
|
12
28
|
/stocks/{symbol}:
|
|
13
29
|
get:
|
|
14
30
|
description: Gets the full quote for the given stock symbol
|
|
@@ -129,50 +145,6 @@ paths:
|
|
|
129
145
|
500:
|
|
130
146
|
$ref: '#/components/responses/InternalServerError'
|
|
131
147
|
|
|
132
|
-
/stocks/by-exchange/{exchange}:
|
|
133
|
-
get:
|
|
134
|
-
description: Gets the simple quotes for the given stock exchange
|
|
135
|
-
operationId: getStocksByExchange
|
|
136
|
-
tags:
|
|
137
|
-
- Stocks
|
|
138
|
-
parameters:
|
|
139
|
-
- in: path
|
|
140
|
-
name: exchange
|
|
141
|
-
description: The stock exchange
|
|
142
|
-
required: true
|
|
143
|
-
schema:
|
|
144
|
-
type: string
|
|
145
|
-
example: NYSE
|
|
146
|
-
- in: query
|
|
147
|
-
name: sortOrder
|
|
148
|
-
description: The sort order of the stock quotes
|
|
149
|
-
required: false
|
|
150
|
-
schema:
|
|
151
|
-
$ref: '#/components/schemas/SortOrder'
|
|
152
|
-
example: DESC
|
|
153
|
-
default: DESC
|
|
154
|
-
- in: query
|
|
155
|
-
name: sortField
|
|
156
|
-
description: The sort field of the stock quotes
|
|
157
|
-
required: false
|
|
158
|
-
schema:
|
|
159
|
-
$ref: '#/components/schemas/SortField'
|
|
160
|
-
example: MARKET_CAP
|
|
161
|
-
default: MARKET_CAP
|
|
162
|
-
responses:
|
|
163
|
-
200:
|
|
164
|
-
description: Success
|
|
165
|
-
content:
|
|
166
|
-
application/json:
|
|
167
|
-
schema:
|
|
168
|
-
type: array
|
|
169
|
-
items:
|
|
170
|
-
$ref: '#/components/schemas/SimpleQuote'
|
|
171
|
-
404:
|
|
172
|
-
$ref: '#/components/responses/NotFound'
|
|
173
|
-
500:
|
|
174
|
-
$ref: '#/components/responses/InternalServerError'
|
|
175
|
-
|
|
176
148
|
/stocks/indexes:
|
|
177
149
|
get:
|
|
178
150
|
description: Gets all the indexes
|
|
@@ -571,6 +543,16 @@ components:
|
|
|
571
543
|
- displayName
|
|
572
544
|
- components
|
|
573
545
|
|
|
546
|
+
StocksMetadata:
|
|
547
|
+
description: Metadata about the stocks
|
|
548
|
+
properties:
|
|
549
|
+
pollInterval:
|
|
550
|
+
type: integer
|
|
551
|
+
format: int64
|
|
552
|
+
example: 30
|
|
553
|
+
required:
|
|
554
|
+
- pollInterval
|
|
555
|
+
|
|
574
556
|
Error:
|
|
575
557
|
description: A generic error
|
|
576
558
|
properties:
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export interface paths {
|
|
7
|
-
"/stocks/
|
|
7
|
+
"/stocks/metadata": {
|
|
8
8
|
parameters: {
|
|
9
9
|
query?: never;
|
|
10
10
|
header?: never;
|
|
11
11
|
path?: never;
|
|
12
12
|
cookie?: never;
|
|
13
13
|
};
|
|
14
|
-
/** @description Gets
|
|
15
|
-
get: operations["
|
|
14
|
+
/** @description Gets metadata about the stocks */
|
|
15
|
+
get: operations["getStocksMetadata"];
|
|
16
16
|
put?: never;
|
|
17
17
|
post?: never;
|
|
18
18
|
delete?: never;
|
|
@@ -21,15 +21,15 @@ export interface paths {
|
|
|
21
21
|
patch?: never;
|
|
22
22
|
trace?: never;
|
|
23
23
|
};
|
|
24
|
-
"/stocks/{symbol}
|
|
24
|
+
"/stocks/{symbol}": {
|
|
25
25
|
parameters: {
|
|
26
26
|
query?: never;
|
|
27
27
|
header?: never;
|
|
28
28
|
path?: never;
|
|
29
29
|
cookie?: never;
|
|
30
30
|
};
|
|
31
|
-
/** @description Gets the
|
|
32
|
-
get: operations["
|
|
31
|
+
/** @description Gets the full quote for the given stock symbol */
|
|
32
|
+
get: operations["getStock"];
|
|
33
33
|
put?: never;
|
|
34
34
|
post?: never;
|
|
35
35
|
delete?: never;
|
|
@@ -38,15 +38,15 @@ export interface paths {
|
|
|
38
38
|
patch?: never;
|
|
39
39
|
trace?: never;
|
|
40
40
|
};
|
|
41
|
-
"/stocks/
|
|
41
|
+
"/stocks/{symbol}/history": {
|
|
42
42
|
parameters: {
|
|
43
43
|
query?: never;
|
|
44
44
|
header?: never;
|
|
45
45
|
path?: never;
|
|
46
46
|
cookie?: never;
|
|
47
47
|
};
|
|
48
|
-
/** @description Gets the
|
|
49
|
-
get: operations["
|
|
48
|
+
/** @description Gets the price history chart for the given stock symbol */
|
|
49
|
+
get: operations["getStockHistory"];
|
|
50
50
|
put?: never;
|
|
51
51
|
post?: never;
|
|
52
52
|
delete?: never;
|
|
@@ -55,15 +55,15 @@ export interface paths {
|
|
|
55
55
|
patch?: never;
|
|
56
56
|
trace?: never;
|
|
57
57
|
};
|
|
58
|
-
"/stocks/by-
|
|
58
|
+
"/stocks/by-symbols/{symbols}": {
|
|
59
59
|
parameters: {
|
|
60
60
|
query?: never;
|
|
61
61
|
header?: never;
|
|
62
62
|
path?: never;
|
|
63
63
|
cookie?: never;
|
|
64
64
|
};
|
|
65
|
-
/** @description Gets the simple quotes for the given stock
|
|
66
|
-
get: operations["
|
|
65
|
+
/** @description Gets the simple quotes for the given stock symbols */
|
|
66
|
+
get: operations["getStocksBySymbols"];
|
|
67
67
|
put?: never;
|
|
68
68
|
post?: never;
|
|
69
69
|
delete?: never;
|
|
@@ -346,6 +346,14 @@ export interface components {
|
|
|
346
346
|
displayName: string;
|
|
347
347
|
components: components["schemas"]["SimpleQuote"][];
|
|
348
348
|
};
|
|
349
|
+
/** @description Metadata about the stocks */
|
|
350
|
+
StocksMetadata: {
|
|
351
|
+
/**
|
|
352
|
+
* Format: int64
|
|
353
|
+
* @example 30
|
|
354
|
+
*/
|
|
355
|
+
pollInterval: number;
|
|
356
|
+
};
|
|
349
357
|
/** @description A generic error */
|
|
350
358
|
Error: {
|
|
351
359
|
/**
|
|
@@ -394,14 +402,11 @@ export interface components {
|
|
|
394
402
|
}
|
|
395
403
|
export type $defs = Record<string, never>;
|
|
396
404
|
export interface operations {
|
|
397
|
-
|
|
405
|
+
getStocksMetadata: {
|
|
398
406
|
parameters: {
|
|
399
407
|
query?: never;
|
|
400
408
|
header?: never;
|
|
401
|
-
path
|
|
402
|
-
/** @description The stock symbol */
|
|
403
|
-
symbol: string;
|
|
404
|
-
};
|
|
409
|
+
path?: never;
|
|
405
410
|
cookie?: never;
|
|
406
411
|
};
|
|
407
412
|
requestBody?: never;
|
|
@@ -412,23 +417,15 @@ export interface operations {
|
|
|
412
417
|
[name: string]: unknown;
|
|
413
418
|
};
|
|
414
419
|
content: {
|
|
415
|
-
"application/json": components["schemas"]["
|
|
420
|
+
"application/json": components["schemas"]["StocksMetadata"];
|
|
416
421
|
};
|
|
417
422
|
};
|
|
418
|
-
404: components["responses"]["NotFound"];
|
|
419
423
|
500: components["responses"]["InternalServerError"];
|
|
420
424
|
};
|
|
421
425
|
};
|
|
422
|
-
|
|
426
|
+
getStock: {
|
|
423
427
|
parameters: {
|
|
424
|
-
query
|
|
425
|
-
/** @description The stock history timeframe */
|
|
426
|
-
timeframe: components["schemas"]["StockHistoryTimeframe"];
|
|
427
|
-
/** @description The stock history from date */
|
|
428
|
-
from: string;
|
|
429
|
-
/** @description The stock history to date */
|
|
430
|
-
to: string;
|
|
431
|
-
};
|
|
428
|
+
query?: never;
|
|
432
429
|
header?: never;
|
|
433
430
|
path: {
|
|
434
431
|
/** @description The stock symbol */
|
|
@@ -444,25 +441,27 @@ export interface operations {
|
|
|
444
441
|
[name: string]: unknown;
|
|
445
442
|
};
|
|
446
443
|
content: {
|
|
447
|
-
"application/json": components["schemas"]["
|
|
444
|
+
"application/json": components["schemas"]["FullQuote"];
|
|
448
445
|
};
|
|
449
446
|
};
|
|
450
447
|
404: components["responses"]["NotFound"];
|
|
451
448
|
500: components["responses"]["InternalServerError"];
|
|
452
449
|
};
|
|
453
450
|
};
|
|
454
|
-
|
|
451
|
+
getStockHistory: {
|
|
455
452
|
parameters: {
|
|
456
|
-
query
|
|
457
|
-
/** @description The
|
|
458
|
-
|
|
459
|
-
/** @description The
|
|
460
|
-
|
|
453
|
+
query: {
|
|
454
|
+
/** @description The stock history timeframe */
|
|
455
|
+
timeframe: components["schemas"]["StockHistoryTimeframe"];
|
|
456
|
+
/** @description The stock history from date */
|
|
457
|
+
from: string;
|
|
458
|
+
/** @description The stock history to date */
|
|
459
|
+
to: string;
|
|
461
460
|
};
|
|
462
461
|
header?: never;
|
|
463
462
|
path: {
|
|
464
|
-
/** @description The stock
|
|
465
|
-
|
|
463
|
+
/** @description The stock symbol */
|
|
464
|
+
symbol: string;
|
|
466
465
|
};
|
|
467
466
|
cookie?: never;
|
|
468
467
|
};
|
|
@@ -474,14 +473,14 @@ export interface operations {
|
|
|
474
473
|
[name: string]: unknown;
|
|
475
474
|
};
|
|
476
475
|
content: {
|
|
477
|
-
"application/json": components["schemas"]["
|
|
476
|
+
"application/json": components["schemas"]["StockHistoryEntry"][];
|
|
478
477
|
};
|
|
479
478
|
};
|
|
480
479
|
404: components["responses"]["NotFound"];
|
|
481
480
|
500: components["responses"]["InternalServerError"];
|
|
482
481
|
};
|
|
483
482
|
};
|
|
484
|
-
|
|
483
|
+
getStocksBySymbols: {
|
|
485
484
|
parameters: {
|
|
486
485
|
query?: {
|
|
487
486
|
/** @description The sort order of the stock quotes */
|
|
@@ -491,8 +490,8 @@ export interface operations {
|
|
|
491
490
|
};
|
|
492
491
|
header?: never;
|
|
493
492
|
path: {
|
|
494
|
-
/** @description The stock
|
|
495
|
-
|
|
493
|
+
/** @description The stock symbols */
|
|
494
|
+
symbols: string;
|
|
496
495
|
};
|
|
497
496
|
cookie?: never;
|
|
498
497
|
};
|
package/ts/types/types.ts
CHANGED
|
@@ -26,10 +26,10 @@ export type SortOrder = MarketServiceSchemas['SortOrder'];
|
|
|
26
26
|
export type SortField = MarketServiceSchemas['SortField'];
|
|
27
27
|
export type Index = MarketServiceSchemas['Index'];
|
|
28
28
|
export type GetIndexesQueryParams = MarketServiceOperations['getIndexes']['parameters']['query'];
|
|
29
|
-
export type GetStocksByExchangeQueryParams = MarketServiceOperations['getStocksByExchange']['parameters']['query'];
|
|
30
29
|
export type GetStocksBySymbolsQueryParams = MarketServiceOperations['getStocksBySymbols']['parameters']['query'];
|
|
31
30
|
export type GetSearchStocksQueryParams = MarketServiceOperations['getSearchStocks']['parameters']['query'];
|
|
32
31
|
export type GetStockHistoryQueryParams = MarketServiceOperations['getStockHistory']['parameters']['query'];
|
|
32
|
+
export type StocksMetadata = MarketServiceSchemas['StocksMetadata'];
|
|
33
33
|
|
|
34
34
|
// Trade Service Types
|
|
35
35
|
export type Portfolio = TradeServiceSchemas['Portfolio'];
|