@riocrypto/common-server 1.0.2245 → 1.0.2246

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.
@@ -118,7 +118,7 @@ declare class ClusterClient {
118
118
  CLABE: string;
119
119
  }>;
120
120
  getSTPMXNBalance(): Promise<number>;
121
- createSTPMXNWithdrawal(amount: number, CLABE: string): Promise<void>;
121
+ createSTPMXNWithdrawal(amount: number, CLABE: string, concepto: string, beneficiaryName: string): Promise<void>;
122
122
  getSTPMXNWithdrawal(id: string): Promise<STPMXNWithdrawal>;
123
123
  }
124
124
  export declare const buildClusterClient: () => Promise<ClusterClient>;
@@ -541,9 +541,9 @@ class ClusterClient {
541
541
  return response.data;
542
542
  });
543
543
  }
544
- createSTPMXNWithdrawal(amount, CLABE) {
544
+ createSTPMXNWithdrawal(amount, CLABE, concepto, beneficiaryName) {
545
545
  return __awaiter(this, void 0, void 0, function* () {
546
- yield this.axios.post(`${this.baseUrl}/api/bank/accounts/STP/MXN/withdrawals`, { amount, CLABE }, { headers: { "x-cluster-api-key": this.clusterApiKey } });
546
+ yield this.axios.post(`${this.baseUrl}/api/bank/accounts/STP/MXN/withdrawals`, { amount, CLABE, concepto, beneficiaryName }, { headers: { "x-cluster-api-key": this.clusterApiKey } });
547
547
  });
548
548
  }
549
549
  getSTPMXNWithdrawal(id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2245",
3
+ "version": "1.0.2246",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",