@riocrypto/common 1.0.1079 → 1.0.1081

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.
@@ -91,7 +91,7 @@ export declare class RioClient {
91
91
  createBridgePlaidLink(userId: string): Promise<string>;
92
92
  createBridgeExternalAccount(userId: string, bankName: string, accountNumber: string, routingNumber: string, accountOwnerName: string, streetLine1: string, streetLine2: string, city: string, state: string, postalCode: string, country: CountryOfOrigin): Promise<string>;
93
93
  createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber: string, swiftCode?: string, CLABE?: string, CCI?: string, notes?: string): Promise<BankAccount>;
94
- updateBankAccount(id: string, userId?: string, country?: Country, fiat?: Fiat, accountNumber?: string, swiftCode?: string, notes?: string, approved?: boolean): Promise<BankAccount>;
94
+ updateBankAccount(id: string, userId?: string, country?: Country, fiat?: Fiat, bankName?: string, accountHolderName?: string, accountNumber?: string, swiftCode?: string, notes?: string, approved?: boolean): Promise<BankAccount>;
95
95
  getFeesByVolume(): Promise<{
96
96
  days: number;
97
97
  fee: number;
@@ -328,12 +328,14 @@ class RioClient {
328
328
  return response.data;
329
329
  });
330
330
  }
331
- updateBankAccount(id, userId, country, fiat, accountNumber, swiftCode, notes, approved) {
331
+ updateBankAccount(id, userId, country, fiat, bankName, accountHolderName, accountNumber, swiftCode, notes, approved) {
332
332
  return __awaiter(this, void 0, void 0, function* () {
333
333
  const response = yield this.axios.patch(`/api/bank/accounts/${id}`, {
334
334
  userId,
335
335
  country,
336
336
  fiat,
337
+ bankName,
338
+ accountHolderName,
337
339
  accountNumber,
338
340
  swiftCode,
339
341
  notes,
@@ -18,4 +18,6 @@ export interface ChainedQuoteInput {
18
18
  netPrice?: number;
19
19
  orderId?: string;
20
20
  noMarkups?: boolean;
21
+ originUSBankTransferMethod?: "wire" | "ach_push";
22
+ destinationUSBankTransferMethod?: "wire" | "ach_push";
21
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1079",
3
+ "version": "1.0.1081",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",