@riocrypto/common-server 1.0.2533 → 1.0.2534

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.
@@ -183,6 +183,10 @@ declare class ClusterClient {
183
183
  cancelBulkCryptoPayment(id: string): Promise<void>;
184
184
  cancelBulkBankPayout(id: string): Promise<void>;
185
185
  cancelBulkCryptoPayout(id: string): Promise<void>;
186
+ resetBulkBankPayment(id: string): Promise<void>;
187
+ resetBulkCryptoPayment(id: string): Promise<void>;
188
+ resetBulkBankPayout(id: string): Promise<void>;
189
+ resetBulkCryptoPayout(id: string): Promise<void>;
186
190
  }
187
191
  export declare const buildClusterClient: () => Promise<ClusterClient>;
188
192
  export {};
@@ -655,6 +655,26 @@ class ClusterClient {
655
655
  yield this.axios.post(`${this.baseUrl}/api/payouts/crypto/bulk/${id}/cancel`, {}, { headers: { "x-cluster-api-key": this.clusterApiKey } });
656
656
  });
657
657
  }
658
+ resetBulkBankPayment(id) {
659
+ return __awaiter(this, void 0, void 0, function* () {
660
+ yield this.axios.post(`${this.baseUrl}/api/payments/bank/bulk/${id}/reset`, {}, { headers: { "x-cluster-api-key": this.clusterApiKey } });
661
+ });
662
+ }
663
+ resetBulkCryptoPayment(id) {
664
+ return __awaiter(this, void 0, void 0, function* () {
665
+ yield this.axios.post(`${this.baseUrl}/api/payments/crypto/bulk/${id}/reset`, {}, { headers: { "x-cluster-api-key": this.clusterApiKey } });
666
+ });
667
+ }
668
+ resetBulkBankPayout(id) {
669
+ return __awaiter(this, void 0, void 0, function* () {
670
+ yield this.axios.post(`${this.baseUrl}/api/payouts/bank/bulk/${id}/reset`, {}, { headers: { "x-cluster-api-key": this.clusterApiKey } });
671
+ });
672
+ }
673
+ resetBulkCryptoPayout(id) {
674
+ return __awaiter(this, void 0, void 0, function* () {
675
+ yield this.axios.post(`${this.baseUrl}/api/payouts/crypto/bulk/${id}/reset`, {}, { headers: { "x-cluster-api-key": this.clusterApiKey } });
676
+ });
677
+ }
658
678
  }
659
679
  const buildClusterClient = () => __awaiter(void 0, void 0, void 0, function* () {
660
680
  // Retrieve secrets asynchronously
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2533",
3
+ "version": "1.0.2534",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",