@riocrypto/common-server 1.0.2589 → 1.0.2590

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
  CLABE: string;
174
174
  }>;
175
175
  getSTPMXNBalance(): Promise<number>;
176
- createSTPMXNWithdrawal(amount: number, CLABE: string, concepto: string, beneficiaryName: string): Promise<STPMXNWithdrawalDoc>;
176
+ createSTPMXNWithdrawal(amount: number, CLABE: string, concepto: string, beneficiaryName: string, internalTransferId?: string): Promise<STPMXNWithdrawalDoc>;
177
177
  getSTPMXNWithdrawal(id: string): Promise<STPMXNWithdrawal>;
178
178
  createBulkBankPayout(userId: string, payoutBankAccountId: string, deferredPaymentType: DeferredPaymentType): Promise<BulkBankPayout>;
179
179
  createBulkCryptoPayout(userId: string, payoutAddressId: string, country: Country, deferredPaymentType: DeferredPaymentType): Promise<BulkCryptoPayout>;
@@ -599,9 +599,9 @@ class ClusterClient {
599
599
  return response.data.balance;
600
600
  });
601
601
  }
602
- createSTPMXNWithdrawal(amount, CLABE, concepto, beneficiaryName) {
602
+ createSTPMXNWithdrawal(amount, CLABE, concepto, beneficiaryName, internalTransferId) {
603
603
  return __awaiter(this, void 0, void 0, function* () {
604
- const response = yield this.axios.post(`${this.baseUrl}/api/bank/accounts/STP/MXN/withdrawals`, { amount, CLABE, concepto, beneficiaryName }, { headers: { "x-cluster-api-key": this.clusterApiKey } });
604
+ const response = yield this.axios.post(`${this.baseUrl}/api/bank/accounts/STP/MXN/withdrawals`, { amount, CLABE, concepto, beneficiaryName, internalTransferId }, { headers: { "x-cluster-api-key": this.clusterApiKey } });
605
605
  return response.data;
606
606
  });
607
607
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2589",
3
+ "version": "1.0.2590",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "@google-cloud/secret-manager": "^5.3.0",
29
29
  "@google-cloud/storage": "^6.9.5",
30
30
  "@hyperdx/node-opentelemetry": "^0.7.0",
31
- "@riocrypto/common": "^1.0.2387",
31
+ "@riocrypto/common": "^1.0.2388",
32
32
  "@types/express": "^4.17.13",
33
33
  "axios": "^1.7.4",
34
34
  "crypto-js": "^4.2.0",