@riocrypto/common 1.0.2509 → 1.0.2511
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.
|
@@ -96,6 +96,8 @@ const humanizeOrderStatus = (status) => {
|
|
|
96
96
|
return "Time in force ended";
|
|
97
97
|
case order_status_1.OrderStatus.BankPaymentDetailsAdded:
|
|
98
98
|
return "Processing";
|
|
99
|
+
case order_status_1.OrderStatus.Queued:
|
|
100
|
+
return "Queued";
|
|
99
101
|
default:
|
|
100
102
|
if (status.toLowerCase().includes("failed")) {
|
|
101
103
|
return "Failed";
|
package/build/index.d.ts
CHANGED
|
@@ -475,6 +475,7 @@ export * from "./types/liquidity-sourcing-exclusion-type";
|
|
|
475
475
|
export * from "./types/liquidity-sourcing-settings";
|
|
476
476
|
export * from "./types/stablecoin-type";
|
|
477
477
|
export * from "./types/static-bank-payment-reference";
|
|
478
|
+
export * from "./types/indicative-quote-page";
|
|
478
479
|
export * from "./helpers/get-stablecoin-type";
|
|
479
480
|
export * from "./helpers/is-usd-backed-crypto";
|
|
480
481
|
export * from "./helpers/is-eur-backed-crypto";
|
package/build/index.js
CHANGED
|
@@ -491,6 +491,7 @@ __exportStar(require("./types/liquidity-sourcing-exclusion-type"), exports);
|
|
|
491
491
|
__exportStar(require("./types/liquidity-sourcing-settings"), exports);
|
|
492
492
|
__exportStar(require("./types/stablecoin-type"), exports);
|
|
493
493
|
__exportStar(require("./types/static-bank-payment-reference"), exports);
|
|
494
|
+
__exportStar(require("./types/indicative-quote-page"), exports);
|
|
494
495
|
__exportStar(require("./helpers/get-stablecoin-type"), exports);
|
|
495
496
|
__exportStar(require("./helpers/is-usd-backed-crypto"), exports);
|
|
496
497
|
__exportStar(require("./helpers/is-eur-backed-crypto"), exports);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Country } from "./country";
|
|
2
|
+
import { Crypto } from "./crypto";
|
|
3
|
+
import { Fiat } from "./fiat";
|
|
4
|
+
import { Side } from "./side";
|
|
5
|
+
export interface IndicativeQuotePageQuoteConfig {
|
|
6
|
+
side: Side;
|
|
7
|
+
crypto: Crypto;
|
|
8
|
+
fiat: Fiat;
|
|
9
|
+
country: Country;
|
|
10
|
+
amountFiat?: number;
|
|
11
|
+
amountCrypto?: number;
|
|
12
|
+
}
|
|
13
|
+
export interface IndicativeQuotePage {
|
|
14
|
+
id: string;
|
|
15
|
+
userId: string;
|
|
16
|
+
quotes: IndicativeQuotePageQuoteConfig[];
|
|
17
|
+
allowedIPs: string[];
|
|
18
|
+
createdBy: string;
|
|
19
|
+
createdAt: Date;
|
|
20
|
+
updatedAt: Date;
|
|
21
|
+
}
|