@riocrypto/common 1.0.1087 → 1.0.1089
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/build/clients/rio-admin-client.d.ts +1 -1
- package/build/clients/rio-admin-client.js +3 -2
- package/build/clients/rio-client.d.ts +1 -1
- package/build/clients/rio-client.js +3 -2
- package/build/types/bridge-external-account-query.d.ts +4 -0
- package/build/types/bridge-external-account-query.js +2 -0
- package/package.json +1 -1
|
@@ -63,7 +63,7 @@ export declare class RioAdminClient {
|
|
|
63
63
|
tosLink: string;
|
|
64
64
|
kycLink: string;
|
|
65
65
|
}>;
|
|
66
|
-
getBridgeExternalAccounts(userId
|
|
66
|
+
getBridgeExternalAccounts(userId?: string, brokerId?: string): Promise<{
|
|
67
67
|
id: string;
|
|
68
68
|
bank_name: string;
|
|
69
69
|
account_owner_name: string;
|
|
@@ -121,11 +121,12 @@ class RioAdminClient {
|
|
|
121
121
|
return data;
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
|
-
getBridgeExternalAccounts(userId) {
|
|
124
|
+
getBridgeExternalAccounts(userId, brokerId) {
|
|
125
125
|
return __awaiter(this, void 0, void 0, function* () {
|
|
126
126
|
const { data } = yield this.axios.get(`/api/bank/us/accounts`, {
|
|
127
127
|
params: {
|
|
128
|
-
userId,
|
|
128
|
+
userId: userId ? userId : undefined,
|
|
129
|
+
brokerId: brokerId ? brokerId : undefined,
|
|
129
130
|
},
|
|
130
131
|
});
|
|
131
132
|
return data;
|
|
@@ -80,7 +80,7 @@ export declare class RioClient {
|
|
|
80
80
|
tosLink: string;
|
|
81
81
|
kycLink: string;
|
|
82
82
|
}>;
|
|
83
|
-
getBridgeExternalAccounts(userId
|
|
83
|
+
getBridgeExternalAccounts(userId?: string, brokerId?: string): Promise<{
|
|
84
84
|
id: string;
|
|
85
85
|
bank_name: string;
|
|
86
86
|
account_owner_name: string;
|
|
@@ -255,11 +255,12 @@ class RioClient {
|
|
|
255
255
|
return data;
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
|
-
getBridgeExternalAccounts(userId) {
|
|
258
|
+
getBridgeExternalAccounts(userId, brokerId) {
|
|
259
259
|
return __awaiter(this, void 0, void 0, function* () {
|
|
260
260
|
const { data } = yield this.axios.get(`/api/bank/us/accounts`, {
|
|
261
261
|
params: {
|
|
262
|
-
userId,
|
|
262
|
+
userId: userId ? userId : undefined,
|
|
263
|
+
brokerId: brokerId ? brokerId : undefined,
|
|
263
264
|
},
|
|
264
265
|
});
|
|
265
266
|
return data;
|