@riocrypto/common 1.0.1599 → 1.0.1601
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.
|
@@ -259,7 +259,7 @@ export declare class RioAdminClient {
|
|
|
259
259
|
chainedQuote: ChainedQuote;
|
|
260
260
|
sufficientLiquidity: boolean;
|
|
261
261
|
}>;
|
|
262
|
-
createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber
|
|
262
|
+
createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber?: string, routingNumber?: string, CLABE?: string, CCI?: string, notes?: string, address?: {
|
|
263
263
|
street1: string;
|
|
264
264
|
street2?: string;
|
|
265
265
|
city: string;
|
|
@@ -787,7 +787,7 @@ class RioAdminClient {
|
|
|
787
787
|
return data;
|
|
788
788
|
});
|
|
789
789
|
}
|
|
790
|
-
createBankAccount(userId, country, fiat, bankName, accountHolderName, accountNumber, CLABE, CCI, notes, address) {
|
|
790
|
+
createBankAccount(userId, country, fiat, bankName, accountHolderName, accountNumber, routingNumber, CLABE, CCI, notes, address) {
|
|
791
791
|
return __awaiter(this, void 0, void 0, function* () {
|
|
792
792
|
const response = yield this.axios.post(`/api/bank/accounts`, {
|
|
793
793
|
userId,
|
|
@@ -796,6 +796,7 @@ class RioAdminClient {
|
|
|
796
796
|
bankName,
|
|
797
797
|
accountHolderName,
|
|
798
798
|
accountNumber,
|
|
799
|
+
routingNumber,
|
|
799
800
|
CLABE,
|
|
800
801
|
CCI,
|
|
801
802
|
notes,
|
|
@@ -195,7 +195,7 @@ export declare class RioClient {
|
|
|
195
195
|
postalCode: string;
|
|
196
196
|
country: CountryOfOrigin;
|
|
197
197
|
}): Promise<string>;
|
|
198
|
-
createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber
|
|
198
|
+
createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber?: string, routingNumber?: string, CLABE?: string, CCI?: string, notes?: string, address?: {
|
|
199
199
|
street1: string;
|
|
200
200
|
street2?: string;
|
|
201
201
|
city: string;
|
|
@@ -610,7 +610,7 @@ class RioClient {
|
|
|
610
610
|
return response.data.id;
|
|
611
611
|
});
|
|
612
612
|
}
|
|
613
|
-
createBankAccount(userId, country, fiat, bankName, accountHolderName, accountNumber, CLABE, CCI, notes, address) {
|
|
613
|
+
createBankAccount(userId, country, fiat, bankName, accountHolderName, accountNumber, routingNumber, CLABE, CCI, notes, address) {
|
|
614
614
|
return __awaiter(this, void 0, void 0, function* () {
|
|
615
615
|
const response = yield this.axios.post(`/api/bank/accounts`, {
|
|
616
616
|
userId,
|
|
@@ -619,6 +619,7 @@ class RioClient {
|
|
|
619
619
|
bankName,
|
|
620
620
|
accountHolderName,
|
|
621
621
|
accountNumber,
|
|
622
|
+
routingNumber,
|
|
622
623
|
CLABE,
|
|
623
624
|
CCI,
|
|
624
625
|
notes,
|
|
@@ -84,6 +84,8 @@ const humanizeOrderStatus = (status) => {
|
|
|
84
84
|
return "Refund complete";
|
|
85
85
|
case order_status_1.OrderStatus.refundInitiated:
|
|
86
86
|
return "Refund initiated";
|
|
87
|
+
case order_status_1.OrderStatus.AwaitingOriginOrderCompletion:
|
|
88
|
+
return "Waiting for origin order to complete";
|
|
87
89
|
default:
|
|
88
90
|
return "Unknown";
|
|
89
91
|
}
|