@rivascva/dt-idl 1.1.28 → 1.1.29
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
|
@@ -274,7 +274,7 @@ interface components$1 {
|
|
|
274
274
|
country: string;
|
|
275
275
|
};
|
|
276
276
|
/** @description A stock history chart entry */
|
|
277
|
-
|
|
277
|
+
StockHistoryEntry: {
|
|
278
278
|
/** @example 2024-12-24T02:30:00Z */
|
|
279
279
|
date: string;
|
|
280
280
|
/**
|
|
@@ -334,7 +334,7 @@ interface components$1 {
|
|
|
334
334
|
/** @enum {string} */
|
|
335
335
|
ErrorCode: "ERROR";
|
|
336
336
|
/** @enum {string} */
|
|
337
|
-
|
|
337
|
+
StockHistoryTimeframe: "MIN5" | "MIN15" | "MIN30" | "HOUR1" | "HOUR4" | "DAY1";
|
|
338
338
|
};
|
|
339
339
|
responses: {
|
|
340
340
|
/** @description The resource was not found */
|
|
@@ -391,7 +391,7 @@ interface operations$1 {
|
|
|
391
391
|
parameters: {
|
|
392
392
|
query: {
|
|
393
393
|
/** @description The stock history timeframe */
|
|
394
|
-
timeframe: components$1["schemas"]["
|
|
394
|
+
timeframe: components$1["schemas"]["StockHistoryTimeframe"];
|
|
395
395
|
/** @description The stock history from date */
|
|
396
396
|
from: string;
|
|
397
397
|
/** @description The stock history to date */
|
|
@@ -412,7 +412,7 @@ interface operations$1 {
|
|
|
412
412
|
[name: string]: unknown;
|
|
413
413
|
};
|
|
414
414
|
content: {
|
|
415
|
-
"application/json": components$1["schemas"]["
|
|
415
|
+
"application/json": components$1["schemas"]["StockHistoryEntry"][];
|
|
416
416
|
};
|
|
417
417
|
};
|
|
418
418
|
404: components$1["responses"]["NotFound"];
|
|
@@ -1079,8 +1079,8 @@ type FullQuote = MarketServiceSchemas['FullQuote'];
|
|
|
1079
1079
|
type NewsArticle = MarketServiceSchemas['NewsArticle'];
|
|
1080
1080
|
type StockNewsArticle = MarketServiceSchemas['StockNewsArticle'];
|
|
1081
1081
|
type MarketServiceError = MarketServiceSchemas['Error'];
|
|
1082
|
-
type
|
|
1083
|
-
type
|
|
1082
|
+
type StockHistoryTimeframe = MarketServiceSchemas['StockHistoryTimeframe'];
|
|
1083
|
+
type StockHistoryEntry = MarketServiceSchemas['StockHistoryEntry'];
|
|
1084
1084
|
type User = TradeServiceSchemas['User'];
|
|
1085
1085
|
type Portfolio = TradeServiceSchemas['Portfolio'];
|
|
1086
1086
|
type PortfolioType = TradeServiceSchemas['PortfolioType'];
|
|
@@ -1091,4 +1091,4 @@ type OrderType = TradeServiceSchemas['OrderType'];
|
|
|
1091
1091
|
type Holding = TradeServiceSchemas['Holding'];
|
|
1092
1092
|
type TradeServiceError = TradeServiceSchemas['Error'];
|
|
1093
1093
|
|
|
1094
|
-
export { type AddOrderPayload, type DeleteOrderPayload, type FullQuote, type
|
|
1094
|
+
export { type AddOrderPayload, type DeleteOrderPayload, type FullQuote, type Holding, type MarketServiceError, type NewsArticle, type Order, type OrderType, type Portfolio, type PortfolioType, type SimpleQuote, type StockHistoryEntry, type StockHistoryTimeframe, type StockNewsArticle, type TradeServiceError, type User, createMarketServiceClient, createTradeServiceClient, isMarketServiceError, isTradeServiceError };
|
package/package.json
CHANGED
|
@@ -55,7 +55,7 @@ paths:
|
|
|
55
55
|
description: The stock history timeframe
|
|
56
56
|
required: true
|
|
57
57
|
schema:
|
|
58
|
-
$ref: '#/components/schemas/
|
|
58
|
+
$ref: '#/components/schemas/StockHistoryTimeframe'
|
|
59
59
|
example: MIN5
|
|
60
60
|
- in: query
|
|
61
61
|
name: from
|
|
@@ -79,7 +79,7 @@ paths:
|
|
|
79
79
|
schema:
|
|
80
80
|
type: array
|
|
81
81
|
items:
|
|
82
|
-
$ref: '#/components/schemas/
|
|
82
|
+
$ref: '#/components/schemas/StockHistoryEntry'
|
|
83
83
|
404:
|
|
84
84
|
$ref: '#/components/responses/NotFound'
|
|
85
85
|
500:
|
|
@@ -415,7 +415,7 @@ components:
|
|
|
415
415
|
- state
|
|
416
416
|
- country
|
|
417
417
|
|
|
418
|
-
|
|
418
|
+
StockHistoryEntry:
|
|
419
419
|
description: A stock history chart entry
|
|
420
420
|
properties:
|
|
421
421
|
date:
|
|
@@ -505,7 +505,7 @@ components:
|
|
|
505
505
|
enum:
|
|
506
506
|
- ERROR
|
|
507
507
|
|
|
508
|
-
|
|
508
|
+
StockHistoryTimeframe:
|
|
509
509
|
type: string
|
|
510
510
|
enum:
|
|
511
511
|
- MIN5
|
|
@@ -273,7 +273,7 @@ export interface components {
|
|
|
273
273
|
country: string;
|
|
274
274
|
};
|
|
275
275
|
/** @description A stock history chart entry */
|
|
276
|
-
|
|
276
|
+
StockHistoryEntry: {
|
|
277
277
|
/** @example 2024-12-24T02:30:00Z */
|
|
278
278
|
date: string;
|
|
279
279
|
/**
|
|
@@ -333,7 +333,7 @@ export interface components {
|
|
|
333
333
|
/** @enum {string} */
|
|
334
334
|
ErrorCode: "ERROR";
|
|
335
335
|
/** @enum {string} */
|
|
336
|
-
|
|
336
|
+
StockHistoryTimeframe: "MIN5" | "MIN15" | "MIN30" | "HOUR1" | "HOUR4" | "DAY1";
|
|
337
337
|
};
|
|
338
338
|
responses: {
|
|
339
339
|
/** @description The resource was not found */
|
|
@@ -391,7 +391,7 @@ export interface operations {
|
|
|
391
391
|
parameters: {
|
|
392
392
|
query: {
|
|
393
393
|
/** @description The stock history timeframe */
|
|
394
|
-
timeframe: components["schemas"]["
|
|
394
|
+
timeframe: components["schemas"]["StockHistoryTimeframe"];
|
|
395
395
|
/** @description The stock history from date */
|
|
396
396
|
from: string;
|
|
397
397
|
/** @description The stock history to date */
|
|
@@ -412,7 +412,7 @@ export interface operations {
|
|
|
412
412
|
[name: string]: unknown;
|
|
413
413
|
};
|
|
414
414
|
content: {
|
|
415
|
-
"application/json": components["schemas"]["
|
|
415
|
+
"application/json": components["schemas"]["StockHistoryEntry"][];
|
|
416
416
|
};
|
|
417
417
|
};
|
|
418
418
|
404: components["responses"]["NotFound"];
|
package/ts/types/types.ts
CHANGED
|
@@ -10,8 +10,8 @@ export type FullQuote = MarketServiceSchemas['FullQuote'];
|
|
|
10
10
|
export type NewsArticle = MarketServiceSchemas['NewsArticle'];
|
|
11
11
|
export type StockNewsArticle = MarketServiceSchemas['StockNewsArticle'];
|
|
12
12
|
export type MarketServiceError = MarketServiceSchemas['Error'];
|
|
13
|
-
export type
|
|
14
|
-
export type
|
|
13
|
+
export type StockHistoryTimeframe = MarketServiceSchemas['StockHistoryTimeframe'];
|
|
14
|
+
export type StockHistoryEntry = MarketServiceSchemas['StockHistoryEntry'];
|
|
15
15
|
|
|
16
16
|
// Trade Service Types
|
|
17
17
|
export type User = TradeServiceSchemas['User'];
|