@rivascva/dt-idl 1.1.163 → 1.1.164

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
@@ -57,23 +57,6 @@ interface paths$3 {
57
57
  patch?: never;
58
58
  trace?: never;
59
59
  };
60
- "/stocks/by-exchange/{exchange}": {
61
- parameters: {
62
- query?: never;
63
- header?: never;
64
- path?: never;
65
- cookie?: never;
66
- };
67
- /** @description Gets the simple quotes for the given stock exchange */
68
- get: operations$3["getStocksByExchange"];
69
- put?: never;
70
- post?: never;
71
- delete?: never;
72
- options?: never;
73
- head?: never;
74
- patch?: never;
75
- trace?: never;
76
- };
77
60
  "/stocks/indexes": {
78
61
  parameters: {
79
62
  query?: never;
@@ -481,36 +464,6 @@ interface operations$3 {
481
464
  500: components$3["responses"]["InternalServerError"];
482
465
  };
483
466
  };
484
- getStocksByExchange: {
485
- parameters: {
486
- query?: {
487
- /** @description The sort order of the stock quotes */
488
- sortOrder?: components$3["schemas"]["SortOrder"];
489
- /** @description The sort field of the stock quotes */
490
- sortField?: components$3["schemas"]["SortField"];
491
- };
492
- header?: never;
493
- path: {
494
- /** @description The stock exchange */
495
- exchange: string;
496
- };
497
- cookie?: never;
498
- };
499
- requestBody?: never;
500
- responses: {
501
- /** @description Success */
502
- 200: {
503
- headers: {
504
- [name: string]: unknown;
505
- };
506
- content: {
507
- "application/json": components$3["schemas"]["SimpleQuote"][];
508
- };
509
- };
510
- 404: components$3["responses"]["NotFound"];
511
- 500: components$3["responses"]["InternalServerError"];
512
- };
513
- };
514
467
  getIndexes: {
515
468
  parameters: {
516
469
  query?: {
@@ -1990,7 +1943,6 @@ type SortOrder = MarketServiceSchemas['SortOrder'];
1990
1943
  type SortField = MarketServiceSchemas['SortField'];
1991
1944
  type Index = MarketServiceSchemas['Index'];
1992
1945
  type GetIndexesQueryParams = operations$3['getIndexes']['parameters']['query'];
1993
- type GetStocksByExchangeQueryParams = operations$3['getStocksByExchange']['parameters']['query'];
1994
1946
  type GetStocksBySymbolsQueryParams = operations$3['getStocksBySymbols']['parameters']['query'];
1995
1947
  type GetSearchStocksQueryParams = operations$3['getSearchStocks']['parameters']['query'];
1996
1948
  type GetStockHistoryQueryParams = operations$3['getStockHistory']['parameters']['query'];
@@ -2022,4 +1974,4 @@ type UploadImageResponse = AssetServiceSchemas['UploadImageResponse'];
2022
1974
  type DeleteImagePayload = AssetServiceSchemas['DeleteImagePayload'];
2023
1975
  type AssetServiceError = AssetServiceSchemas['Error'];
2024
1976
 
2025
- export { type AddOrderPayload, type AddUserPayload, type AssetServiceError, type DeleteImagePayload, type FullQuote, type GetIndexesQueryParams, type GetOrdersByPortfolioParams, type GetPortfolioHistoryParams, type GetSearchStocksQueryParams, type GetStockHistoryQueryParams, type GetStocksByExchangeQueryParams, 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 TradeServiceError, type UpdatePortfolioPayload, type UpdateUserDevicePayload, type UpdateUserPayload, type UploadImagePayload, type UploadImageResponse, type User, type UserServiceError, createAssetServiceClient, createMarketServiceClient, createTradeServiceClient, createUserServiceClient, isAssetServiceError, isMarketServiceError, isTradeServiceError, isUserServiceError };
1977
+ 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 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivascva/dt-idl",
3
- "version": "1.1.163",
3
+ "version": "1.1.164",
4
4
  "description": "Dream Trade - Interface Definition Language",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -129,50 +129,6 @@ paths:
129
129
  500:
130
130
  $ref: '#/components/responses/InternalServerError'
131
131
 
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
132
  /stocks/indexes:
177
133
  get:
178
134
  description: Gets all the indexes
@@ -55,23 +55,6 @@ export interface paths {
55
55
  patch?: never;
56
56
  trace?: never;
57
57
  };
58
- "/stocks/by-exchange/{exchange}": {
59
- parameters: {
60
- query?: never;
61
- header?: never;
62
- path?: never;
63
- cookie?: never;
64
- };
65
- /** @description Gets the simple quotes for the given stock exchange */
66
- get: operations["getStocksByExchange"];
67
- put?: never;
68
- post?: never;
69
- delete?: never;
70
- options?: never;
71
- head?: never;
72
- patch?: never;
73
- trace?: never;
74
- };
75
58
  "/stocks/indexes": {
76
59
  parameters: {
77
60
  query?: never;
@@ -481,36 +464,6 @@ export interface operations {
481
464
  500: components["responses"]["InternalServerError"];
482
465
  };
483
466
  };
484
- getStocksByExchange: {
485
- parameters: {
486
- query?: {
487
- /** @description The sort order of the stock quotes */
488
- sortOrder?: components["schemas"]["SortOrder"];
489
- /** @description The sort field of the stock quotes */
490
- sortField?: components["schemas"]["SortField"];
491
- };
492
- header?: never;
493
- path: {
494
- /** @description The stock exchange */
495
- exchange: string;
496
- };
497
- cookie?: never;
498
- };
499
- requestBody?: never;
500
- responses: {
501
- /** @description Success */
502
- 200: {
503
- headers: {
504
- [name: string]: unknown;
505
- };
506
- content: {
507
- "application/json": components["schemas"]["SimpleQuote"][];
508
- };
509
- };
510
- 404: components["responses"]["NotFound"];
511
- 500: components["responses"]["InternalServerError"];
512
- };
513
- };
514
467
  getIndexes: {
515
468
  parameters: {
516
469
  query?: {
package/ts/types/types.ts CHANGED
@@ -26,7 +26,6 @@ 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'];