@riocrypto/common 1.0.537 → 1.0.538

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.
@@ -72,9 +72,6 @@ export declare class RioClient {
72
72
  paymentId: string;
73
73
  }>;
74
74
  createKushkiBankPayment(orderId: string): Promise<any>;
75
- createSPEIPayment(orderId: string): Promise<any>;
76
- createSPIDPayment(orderId: string): Promise<any>;
77
- createSWIFTPayment(orderId: string): Promise<any>;
78
- createInterbankPayment(orderId: string): Promise<any>;
75
+ createBankPayment(orderId: string): Promise<any>;
79
76
  updateAuth(update: AuthUpdate, id?: string): Promise<Auth>;
80
77
  }
@@ -246,33 +246,9 @@ class RioClient {
246
246
  return data;
247
247
  });
248
248
  }
249
- createSPEIPayment(orderId) {
249
+ createBankPayment(orderId) {
250
250
  return __awaiter(this, void 0, void 0, function* () {
251
- const { data } = yield this.axios.post(`/api/payments/bank/init/spei`, {
252
- orderId,
253
- });
254
- return data;
255
- });
256
- }
257
- createSPIDPayment(orderId) {
258
- return __awaiter(this, void 0, void 0, function* () {
259
- const { data } = yield this.axios.post(`/api/payments/bank/init/spid`, {
260
- orderId,
261
- });
262
- return data;
263
- });
264
- }
265
- createSWIFTPayment(orderId) {
266
- return __awaiter(this, void 0, void 0, function* () {
267
- const { data } = yield this.axios.post(`/api/payments/bank/init/swift`, {
268
- orderId,
269
- });
270
- return data;
271
- });
272
- }
273
- createInterbankPayment(orderId) {
274
- return __awaiter(this, void 0, void 0, function* () {
275
- const { data } = yield this.axios.post(`/api/payments/bank/init/interbank`, {
251
+ const { data } = yield this.axios.post(`/api/payments/bank/init`, {
276
252
  orderId,
277
253
  });
278
254
  return data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.537",
3
+ "version": "1.0.538",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",