cecon-interfaces 1.3.13 → 1.3.14
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/transfer-request/entities/index.mjs +2 -2
- package/dist/esm2022/transfer-request/entities/transfer-request.entity.mjs +32 -0
- package/dist/esm2022/transfer-request/interfaces/i-transfer-request.mjs +2 -0
- package/dist/esm2022/transfer-request/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +3 -0
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/transfer-request/entities/index.d.ts +1 -1
- package/dist/transfer-request/entities/index.js +2 -2
- package/dist/transfer-request/entities/{withdraw-request.entity.d.ts → transfer-request.entity.d.ts} +5 -1
- package/dist/transfer-request/entities/{withdraw-request.entity.js → transfer-request.entity.js} +4 -0
- package/dist/transfer-request/interfaces/{i-withdraw-request.d.ts → i-transfer-request.d.ts} +4 -3
- package/dist/transfer-request/interfaces/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/esm2022/transfer-request/entities/withdraw-request.entity.mjs +0 -28
- package/dist/esm2022/transfer-request/interfaces/i-withdraw-request.mjs +0 -2
- /package/dist/transfer-request/interfaces/{i-withdraw-request.js → i-transfer-request.js} +0 -0
@@ -1,2 +1,2 @@
|
|
1
|
-
export { TransferRequestEntity } from './
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
export { TransferRequestEntity } from './transfer-request.entity';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdHJhbnNmZXItcmVxdWVzdC9lbnRpdGllcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IFRyYW5zZmVyUmVxdWVzdEVudGl0eSB9IGZyb20gJy4vdHJhbnNmZXItcmVxdWVzdC5lbnRpdHknO1xuIl19
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { DesenfilaInfoEntity, MobyoInfoEntity, NatiInfoEntity } from '../../general';
|
2
|
+
import { EWithdrawRequestStatus } from '../../withdraw/enums';
|
3
|
+
export class TransferRequestEntity {
|
4
|
+
// #region Properties (11)
|
5
|
+
amount = 0;
|
6
|
+
aprovedAt = null;
|
7
|
+
containerId = '';
|
8
|
+
merchantId = '';
|
9
|
+
createdAt = new Date();
|
10
|
+
id = '';
|
11
|
+
liveMode = false;
|
12
|
+
status = EWithdrawRequestStatus.PENDING;
|
13
|
+
transactionId = null;
|
14
|
+
transferDocumentUrl = null;
|
15
|
+
updatedAt = new Date();
|
16
|
+
transactionReferenceId = null;
|
17
|
+
naiRefId = '';
|
18
|
+
pix = null;
|
19
|
+
natiInfo = new NatiInfoEntity();
|
20
|
+
mobyoInfo = new MobyoInfoEntity();
|
21
|
+
desenfilaInfo = new DesenfilaInfoEntity();
|
22
|
+
constructor(data) {
|
23
|
+
if (data) {
|
24
|
+
for (let key in data) {
|
25
|
+
if (data.hasOwnProperty(key) && key in this) {
|
26
|
+
this[key] = data[key];
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNmZXItcmVxdWVzdC5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdHJhbnNmZXItcmVxdWVzdC9lbnRpdGllcy90cmFuc2Zlci1yZXF1ZXN0LmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsbUJBQW1CLEVBQXlDLGVBQWUsRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQ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IGRlc2VuZmlsYUluZm86IElEZXNlbmZpbGFJbmZvO1xyXG59XHJcbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdHJhbnNmZXItcmVxdWVzdC9pbnRlcmZhY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBJVHJhbnNmZXJSZXF1ZXN0IH0gZnJvbSAnLi9pLXRyYW5zZmVyLXJlcXVlc3QnO1xuIl19
|
@@ -5321,6 +5321,9 @@ class TransferRequestEntity {
|
|
5321
5321
|
transactionReferenceId = null;
|
5322
5322
|
naiRefId = '';
|
5323
5323
|
pix = null;
|
5324
|
+
natiInfo = new NatiInfoEntity();
|
5325
|
+
mobyoInfo = new MobyoInfoEntity();
|
5326
|
+
desenfilaInfo = new DesenfilaInfoEntity();
|
5324
5327
|
constructor(data) {
|
5325
5328
|
if (data) {
|
5326
5329
|
for (let key in data) {
|