@riocrypto/common-server 1.0.2493 → 1.0.2494
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.
|
@@ -173,7 +173,7 @@ declare class ClusterClient {
|
|
|
173
173
|
createSTPMXNWithdrawal(amount: number, CLABE: string, concepto: string, beneficiaryName: string): Promise<void>;
|
|
174
174
|
getSTPMXNWithdrawal(id: string): Promise<STPMXNWithdrawal>;
|
|
175
175
|
createBulkBankPayout(userId: string, payoutBankAccountId: string): Promise<BulkBankPayout>;
|
|
176
|
-
createBulkCryptoPayout(userId: string, payoutAddressId: string): Promise<BulkCryptoPayout>;
|
|
176
|
+
createBulkCryptoPayout(userId: string, payoutAddressId: string, country: Country): Promise<BulkCryptoPayout>;
|
|
177
177
|
createBulkBankPayment(userId: string, fiat: Fiat, country: Country): Promise<BulkBankPayment>;
|
|
178
178
|
createBulkCryptoPayment(userId: string, crypto: Crypto, country: Country): Promise<BulkCryptoPayment>;
|
|
179
179
|
}
|
|
@@ -606,9 +606,9 @@ class ClusterClient {
|
|
|
606
606
|
return response.data;
|
|
607
607
|
});
|
|
608
608
|
}
|
|
609
|
-
createBulkCryptoPayout(userId, payoutAddressId) {
|
|
609
|
+
createBulkCryptoPayout(userId, payoutAddressId, country) {
|
|
610
610
|
return __awaiter(this, void 0, void 0, function* () {
|
|
611
|
-
const response = yield this.axios.post(`${this.baseUrl}/api/payouts/crypto/bulk`, { userId, payoutAddressId }, { headers: { "x-cluster-api-key": this.clusterApiKey } });
|
|
611
|
+
const response = yield this.axios.post(`${this.baseUrl}/api/payouts/crypto/bulk`, { userId, payoutAddressId, country }, { headers: { "x-cluster-api-key": this.clusterApiKey } });
|
|
612
612
|
return response.data;
|
|
613
613
|
});
|
|
614
614
|
}
|