@riocrypto/common 1.0.787 → 1.0.789
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.
|
@@ -84,7 +84,7 @@ export declare class RioAdminClient {
|
|
|
84
84
|
updateOrder(id: string, update: OrderUpdate): Promise<Order>;
|
|
85
85
|
cancelOrder(id?: string): Promise<Order>;
|
|
86
86
|
getOrder(id: string): Promise<Order>;
|
|
87
|
-
createBankPayout(oid: string,
|
|
87
|
+
createBankPayout(oid: string, bankAccountId: string): Promise<BankPayout>;
|
|
88
88
|
getBankPayout(orderId: string): Promise<BankPayout>;
|
|
89
89
|
createCheckedAddress(address: string, crypto: Crypto): Promise<CheckedAddress>;
|
|
90
90
|
createBankAccount(userId: string, country: Country, fiat: Fiat, accountNumber: string, swiftCode?: string, notes?: string): Promise<BankAccount>;
|
|
@@ -272,12 +272,11 @@ class RioAdminClient {
|
|
|
272
272
|
return response.data;
|
|
273
273
|
});
|
|
274
274
|
}
|
|
275
|
-
createBankPayout(oid,
|
|
275
|
+
createBankPayout(oid, bankAccountId) {
|
|
276
276
|
return __awaiter(this, void 0, void 0, function* () {
|
|
277
277
|
const response = yield this.axios.post(`/api/payouts/bank`, {
|
|
278
278
|
orderId: oid,
|
|
279
|
-
|
|
280
|
-
swiftCode,
|
|
279
|
+
bankAccountId,
|
|
281
280
|
});
|
|
282
281
|
return response.data;
|
|
283
282
|
});
|
package/build/index.d.ts
CHANGED
|
@@ -41,7 +41,6 @@ export * from "./errors/invalid-refresh-token-error";
|
|
|
41
41
|
export * from "./errors/secret-manager-error";
|
|
42
42
|
export * from "./errors/expired-quote-error";
|
|
43
43
|
export * from "./errors/user-not-enabled-in-us-error";
|
|
44
|
-
export * from "./errors/user-not-enabled-in-us-error";
|
|
45
44
|
export * from "./events/base-listener";
|
|
46
45
|
export * from "./events/base-publisher";
|
|
47
46
|
export * from "./events/subjects";
|
package/build/index.js
CHANGED
|
@@ -57,7 +57,6 @@ __exportStar(require("./errors/invalid-refresh-token-error"), exports);
|
|
|
57
57
|
__exportStar(require("./errors/secret-manager-error"), exports);
|
|
58
58
|
__exportStar(require("./errors/expired-quote-error"), exports);
|
|
59
59
|
__exportStar(require("./errors/user-not-enabled-in-us-error"), exports);
|
|
60
|
-
__exportStar(require("./errors/user-not-enabled-in-us-error"), exports);
|
|
61
60
|
__exportStar(require("./events/base-listener"), exports);
|
|
62
61
|
__exportStar(require("./events/base-publisher"), exports);
|
|
63
62
|
__exportStar(require("./events/subjects"), exports);
|