@rivascva/dt-idl 1.1.17 → 1.1.19
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
|
@@ -726,6 +726,7 @@ interface components {
|
|
|
726
726
|
*/
|
|
727
727
|
cash: number;
|
|
728
728
|
holdings: components["schemas"]["Holding"][];
|
|
729
|
+
activeOrders?: components["schemas"]["ActiveOrder"][];
|
|
729
730
|
/**
|
|
730
731
|
* Format: int64
|
|
731
732
|
* @example 1713398544000
|
|
@@ -814,7 +815,7 @@ interface components {
|
|
|
814
815
|
message: string;
|
|
815
816
|
};
|
|
816
817
|
/** @enum {string} */
|
|
817
|
-
ErrorCode: "ERROR" | "NOT_ENOUGH_CASH" | "NOT_ENOUGH_SHARES"
|
|
818
|
+
ErrorCode: "ERROR" | "NOT_ENOUGH_CASH" | "NOT_ENOUGH_SHARES";
|
|
818
819
|
/** @enum {string} */
|
|
819
820
|
PortfolioType: "PERSONAL" | "COMPETITIVE";
|
|
820
821
|
/** @enum {string} */
|
|
@@ -1025,7 +1026,7 @@ declare const isMarketServiceError: (error: unknown) => error is {
|
|
|
1025
1026
|
};
|
|
1026
1027
|
declare const isTradeServiceError: (error: unknown) => error is {
|
|
1027
1028
|
status: number;
|
|
1028
|
-
code: "ERROR" | "NOT_ENOUGH_CASH" | "NOT_ENOUGH_SHARES"
|
|
1029
|
+
code: "ERROR" | "NOT_ENOUGH_CASH" | "NOT_ENOUGH_SHARES";
|
|
1029
1030
|
message: string;
|
|
1030
1031
|
};
|
|
1031
1032
|
|
package/package.json
CHANGED
|
@@ -224,6 +224,10 @@ components:
|
|
|
224
224
|
type: array
|
|
225
225
|
items:
|
|
226
226
|
$ref: '#/components/schemas/Holding'
|
|
227
|
+
activeOrders:
|
|
228
|
+
type: array
|
|
229
|
+
items:
|
|
230
|
+
$ref: '#/components/schemas/ActiveOrder'
|
|
227
231
|
dateCreated:
|
|
228
232
|
type: integer
|
|
229
233
|
format: int64
|
|
@@ -355,7 +359,6 @@ components:
|
|
|
355
359
|
- ERROR
|
|
356
360
|
- NOT_ENOUGH_CASH
|
|
357
361
|
- NOT_ENOUGH_SHARES
|
|
358
|
-
- REQS_NOT_MET
|
|
359
362
|
|
|
360
363
|
PortfolioType:
|
|
361
364
|
type: string
|
|
@@ -114,6 +114,7 @@ export interface components {
|
|
|
114
114
|
*/
|
|
115
115
|
cash: number;
|
|
116
116
|
holdings: components["schemas"]["Holding"][];
|
|
117
|
+
activeOrders?: components["schemas"]["ActiveOrder"][];
|
|
117
118
|
/**
|
|
118
119
|
* Format: int64
|
|
119
120
|
* @example 1713398544000
|
|
@@ -202,7 +203,7 @@ export interface components {
|
|
|
202
203
|
message: string;
|
|
203
204
|
};
|
|
204
205
|
/** @enum {string} */
|
|
205
|
-
ErrorCode: "ERROR" | "NOT_ENOUGH_CASH" | "NOT_ENOUGH_SHARES"
|
|
206
|
+
ErrorCode: "ERROR" | "NOT_ENOUGH_CASH" | "NOT_ENOUGH_SHARES";
|
|
206
207
|
/** @enum {string} */
|
|
207
208
|
PortfolioType: "PERSONAL" | "COMPETITIVE";
|
|
208
209
|
/** @enum {string} */
|