@riocrypto/common 1.0.1892 → 1.0.1894
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.
- package/build/events/bulk-bank-payment-cancelled-event.d.ts +8 -0
- package/build/events/bulk-bank-payment-cancelled-event.js +2 -0
- package/build/events/bulk-crypto-payment-cancelled-event.d.ts +8 -0
- package/build/events/bulk-crypto-payment-cancelled-event.js +2 -0
- package/build/events/subjects.d.ts +2 -0
- package/build/events/subjects.js +2 -0
- package/build/index.d.ts +4 -0
- package/build/index.js +4 -0
- package/build/types/CEP-status.d.ts +5 -0
- package/build/types/CEP-status.js +9 -0
- package/build/types/CEP.d.ts +14 -0
- package/build/types/CEP.js +2 -0
- package/package.json +1 -1
|
@@ -73,9 +73,11 @@ export declare enum Subjects {
|
|
|
73
73
|
BankPayoutsCompleted = "bankPayouts:completed",
|
|
74
74
|
BankPaymentCreated = "bankPayment:created",
|
|
75
75
|
BulkBankPaymentCreated = "bulkBankPayment:created",
|
|
76
|
+
BulkBankPaymentCancelled = "bulkBankPayment:cancelled",
|
|
76
77
|
BankPaymentProcessing = "bankPayment:processing",
|
|
77
78
|
CryptoPaymentProcessing = "cryptoPayment:processing",
|
|
78
79
|
BulkCryptoPaymentCreated = "bulkCryptoPayment:created",
|
|
80
|
+
BulkCryptoPaymentCancelled = "bulkCryptoPayment:cancelled",
|
|
79
81
|
BankPaymentCompleted = "bankPayment:completed",
|
|
80
82
|
BankPaymentMismatch = "bankPayment:mismatch",
|
|
81
83
|
AsyncBankPaymentMismatch = "asyncBankPayment:mismatch",
|
package/build/events/subjects.js
CHANGED
|
@@ -77,9 +77,11 @@ var Subjects;
|
|
|
77
77
|
Subjects["BankPayoutsCompleted"] = "bankPayouts:completed";
|
|
78
78
|
Subjects["BankPaymentCreated"] = "bankPayment:created";
|
|
79
79
|
Subjects["BulkBankPaymentCreated"] = "bulkBankPayment:created";
|
|
80
|
+
Subjects["BulkBankPaymentCancelled"] = "bulkBankPayment:cancelled";
|
|
80
81
|
Subjects["BankPaymentProcessing"] = "bankPayment:processing";
|
|
81
82
|
Subjects["CryptoPaymentProcessing"] = "cryptoPayment:processing";
|
|
82
83
|
Subjects["BulkCryptoPaymentCreated"] = "bulkCryptoPayment:created";
|
|
84
|
+
Subjects["BulkCryptoPaymentCancelled"] = "bulkCryptoPayment:cancelled";
|
|
83
85
|
Subjects["BankPaymentCompleted"] = "bankPayment:completed";
|
|
84
86
|
Subjects["BankPaymentMismatch"] = "bankPayment:mismatch";
|
|
85
87
|
Subjects["AsyncBankPaymentMismatch"] = "asyncBankPayment:mismatch";
|
package/build/index.d.ts
CHANGED
|
@@ -169,6 +169,8 @@ export * from "./events/bank-payout-updated-event";
|
|
|
169
169
|
export * from "./events/bulk-crypto-payment-created-event";
|
|
170
170
|
export * from "./events/bulk-bank-payment-created-event";
|
|
171
171
|
export * from "./events/invoice-generated-event";
|
|
172
|
+
export * from "./events/bulk-bank-payment-cancelled-event";
|
|
173
|
+
export * from "./events/bulk-crypto-payment-cancelled-event";
|
|
172
174
|
export * from "./types/auth-payload";
|
|
173
175
|
export * from "./types/admin-auth-payload";
|
|
174
176
|
export * from "./types/admin-auth";
|
|
@@ -324,6 +326,8 @@ export * from "./types/arbitrage-trade-type";
|
|
|
324
326
|
export * from "./types/pre-settlement-transaction";
|
|
325
327
|
export * from "./types/pre-settlement-transaction-type";
|
|
326
328
|
export * from "./types/currency-with-country";
|
|
329
|
+
export * from "./types/CEP";
|
|
330
|
+
export * from "./types/CEP-status";
|
|
327
331
|
export * from "./classes/KYCFieldClass";
|
|
328
332
|
export * from "./classes/KYCFileClass";
|
|
329
333
|
export * from "./classes/CountryAsset";
|
package/build/index.js
CHANGED
|
@@ -185,6 +185,8 @@ __exportStar(require("./events/bank-payout-updated-event"), exports);
|
|
|
185
185
|
__exportStar(require("./events/bulk-crypto-payment-created-event"), exports);
|
|
186
186
|
__exportStar(require("./events/bulk-bank-payment-created-event"), exports);
|
|
187
187
|
__exportStar(require("./events/invoice-generated-event"), exports);
|
|
188
|
+
__exportStar(require("./events/bulk-bank-payment-cancelled-event"), exports);
|
|
189
|
+
__exportStar(require("./events/bulk-crypto-payment-cancelled-event"), exports);
|
|
188
190
|
__exportStar(require("./types/auth-payload"), exports);
|
|
189
191
|
__exportStar(require("./types/admin-auth-payload"), exports);
|
|
190
192
|
__exportStar(require("./types/admin-auth"), exports);
|
|
@@ -340,6 +342,8 @@ __exportStar(require("./types/arbitrage-trade-type"), exports);
|
|
|
340
342
|
__exportStar(require("./types/pre-settlement-transaction"), exports);
|
|
341
343
|
__exportStar(require("./types/pre-settlement-transaction-type"), exports);
|
|
342
344
|
__exportStar(require("./types/currency-with-country"), exports);
|
|
345
|
+
__exportStar(require("./types/CEP"), exports);
|
|
346
|
+
__exportStar(require("./types/CEP-status"), exports);
|
|
343
347
|
__exportStar(require("./classes/KYCFieldClass"), exports);
|
|
344
348
|
__exportStar(require("./classes/KYCFileClass"), exports);
|
|
345
349
|
__exportStar(require("./classes/CountryAsset"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CEPStatus = void 0;
|
|
4
|
+
var CEPStatus;
|
|
5
|
+
(function (CEPStatus) {
|
|
6
|
+
CEPStatus["Pending"] = "pending";
|
|
7
|
+
CEPStatus["Generated"] = "generated";
|
|
8
|
+
CEPStatus["Failed"] = "failed";
|
|
9
|
+
})(CEPStatus = exports.CEPStatus || (exports.CEPStatus = {}));
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CEPStatus } from "./CEP-status";
|
|
2
|
+
export interface CEP {
|
|
3
|
+
id: string;
|
|
4
|
+
createdAt: Date;
|
|
5
|
+
orderId: string;
|
|
6
|
+
SPEITrackingNumber: string;
|
|
7
|
+
senderCLABE: string;
|
|
8
|
+
receiverCLABE: string;
|
|
9
|
+
amount: number;
|
|
10
|
+
sentAt: string;
|
|
11
|
+
status: CEPStatus;
|
|
12
|
+
link?: string;
|
|
13
|
+
failedAttempts: number;
|
|
14
|
+
}
|