@riocrypto/common 1.0.969 → 1.0.970
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.
|
@@ -71,6 +71,7 @@ export declare class RioAdminClient {
|
|
|
71
71
|
updateRioSettings(update: RioSettingsUpdate): Promise<void>;
|
|
72
72
|
confirmBankPayment(orderId: string, amountFiat?: number): Promise<any>;
|
|
73
73
|
confirmBankPayout(orderId: string): Promise<any>;
|
|
74
|
+
confirmLiquiditySourced(orderId: string): Promise<any>;
|
|
74
75
|
getUser(userId: string): Promise<User>;
|
|
75
76
|
getAdmin(): Promise<Admin>;
|
|
76
77
|
acceptAdminTasks(adminId?: string): Promise<Admin>;
|
|
@@ -176,6 +176,14 @@ class RioAdminClient {
|
|
|
176
176
|
return data;
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
|
+
confirmLiquiditySourced(orderId) {
|
|
180
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
181
|
+
const { data } = yield this.axios.post(`/api/wallet/balances/rio/confirm`, {
|
|
182
|
+
orderId,
|
|
183
|
+
});
|
|
184
|
+
return data;
|
|
185
|
+
});
|
|
186
|
+
}
|
|
179
187
|
getUser(userId) {
|
|
180
188
|
return __awaiter(this, void 0, void 0, function* () {
|
|
181
189
|
const { data } = yield this.axios.get(`/api/users/${userId}`);
|