@riocrypto/common 1.0.1056 → 1.0.1057
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.
|
@@ -102,7 +102,7 @@ export declare class RioAdminClient {
|
|
|
102
102
|
}>;
|
|
103
103
|
refreshAdminToken(): Promise<void>;
|
|
104
104
|
createOrder(order: OrderInput): Promise<Order>;
|
|
105
|
-
createBridgeExternalAccount(userId: string, bankName: string,
|
|
105
|
+
createBridgeExternalAccount(userId: string, bankName: string, accountNumber: string, routingNumber: string, accountOwnerName: string, streetLine1: string, streetLine2: string, city: string, state: string, postalCode: string): Promise<string>;
|
|
106
106
|
getChainedOrders(page: number, limit?: number, query?: ChainedOrderQuery): Promise<ChainedOrder[]>;
|
|
107
107
|
getChainedQuote(id: string): Promise<ChainedQuote>;
|
|
108
108
|
getChainedOrder(id: string): Promise<ChainedOrder>;
|
|
@@ -317,12 +317,11 @@ class RioAdminClient {
|
|
|
317
317
|
return response.data;
|
|
318
318
|
});
|
|
319
319
|
}
|
|
320
|
-
createBridgeExternalAccount(userId, bankName,
|
|
320
|
+
createBridgeExternalAccount(userId, bankName, accountNumber, routingNumber, accountOwnerName, streetLine1, streetLine2, city, state, postalCode) {
|
|
321
321
|
return __awaiter(this, void 0, void 0, function* () {
|
|
322
322
|
const response = yield this.axios.post("/api/bank/us/accounts", {
|
|
323
323
|
userId,
|
|
324
324
|
bankName,
|
|
325
|
-
accountName,
|
|
326
325
|
accountNumber,
|
|
327
326
|
routingNumber,
|
|
328
327
|
accountOwnerName,
|