@riocrypto/common 1.0.764 → 1.0.766

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.
@@ -47,6 +47,12 @@ export declare class RioAdminClient {
47
47
  tosLink: string;
48
48
  kycLink: string;
49
49
  }>;
50
+ getBridgeExternalAccounts(userId: string): Promise<{
51
+ id: string;
52
+ bank_name: string;
53
+ account_owner_name: string;
54
+ last_4: string;
55
+ }[]>;
50
56
  getAdminAuth(): Promise<any>;
51
57
  signoutAdmin(): Promise<void>;
52
58
  getRioSettings(): Promise<RioSettings>;
@@ -115,6 +115,16 @@ class RioAdminClient {
115
115
  return data;
116
116
  });
117
117
  }
118
+ getBridgeExternalAccounts(userId) {
119
+ return __awaiter(this, void 0, void 0, function* () {
120
+ const { data } = yield this.axios.get(`/api/bank/us/accounts`, {
121
+ params: {
122
+ userId,
123
+ },
124
+ });
125
+ return data;
126
+ });
127
+ }
118
128
  getAdminAuth() {
119
129
  return __awaiter(this, void 0, void 0, function* () {
120
130
  const { data } = yield this.axios.get(`/api/auth/admin`);
@@ -2,4 +2,5 @@ export interface OrderInput {
2
2
  quoteId: string;
3
3
  cryptoAddress: string;
4
4
  notes?: string;
5
+ externalAccountId?: string;
5
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.764",
3
+ "version": "1.0.766",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",