cecon-interfaces 1.9.87 → 1.9.91
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/dist/esm2022/transaction/entities/index.mjs +2 -1
- package/dist/esm2022/transaction/entities/payer.entity.mjs +2 -1
- package/dist/esm2022/transaction/entities/transaction.entity.mjs +2 -6
- package/dist/esm2022/transaction/interfaces/i-payer.mjs +1 -1
- package/dist/esm2022/transaction/interfaces/i-transaction.mjs +1 -1
- package/dist/esm2022/transaction/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +18 -21
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/transaction/entities/index.d.ts +1 -0
- package/dist/transaction/entities/index.js +3 -1
- package/dist/transaction/entities/payer.entity.d.ts +1 -0
- package/dist/transaction/entities/payer.entity.js +1 -0
- package/dist/transaction/entities/transaction.entity.d.ts +1 -6
- package/dist/transaction/entities/transaction.entity.js +0 -4
- package/dist/transaction/interfaces/i-payer.d.ts +1 -0
- package/dist/transaction/interfaces/i-transaction.d.ts +1 -6
- package/dist/transaction/interfaces/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { FeeDetailEntity } from './fee-detail.entity';
|
|
2
|
+
export { TransactionPayerEntity } from './payer.entity';
|
|
2
3
|
export { FeeEntity } from './fee.entity';
|
|
3
4
|
export { TransactionBalanceEntity } from './transaction-balance.entity';
|
|
4
5
|
export { TransactionInfoResumeEntity } from './transaction-info-resume.entity';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TransactionEntity = exports.TransactionTotalEntity = exports.TransactionResumeEntity = exports.TransactionPaymentMethodEntity = exports.TransactionInfoResumeEntity = exports.TransactionBalanceEntity = exports.FeeEntity = exports.FeeDetailEntity = void 0;
|
|
3
|
+
exports.TransactionEntity = exports.TransactionTotalEntity = exports.TransactionResumeEntity = exports.TransactionPaymentMethodEntity = exports.TransactionInfoResumeEntity = exports.TransactionBalanceEntity = exports.FeeEntity = exports.TransactionPayerEntity = exports.FeeDetailEntity = void 0;
|
|
4
4
|
var fee_detail_entity_1 = require("./fee-detail.entity");
|
|
5
5
|
Object.defineProperty(exports, "FeeDetailEntity", { enumerable: true, get: function () { return fee_detail_entity_1.FeeDetailEntity; } });
|
|
6
|
+
var payer_entity_1 = require("./payer.entity");
|
|
7
|
+
Object.defineProperty(exports, "TransactionPayerEntity", { enumerable: true, get: function () { return payer_entity_1.TransactionPayerEntity; } });
|
|
6
8
|
var fee_entity_1 = require("./fee.entity");
|
|
7
9
|
Object.defineProperty(exports, "FeeEntity", { enumerable: true, get: function () { return fee_entity_1.FeeEntity; } });
|
|
8
10
|
var transaction_balance_entity_1 = require("./transaction-balance.entity");
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { EFrom, IInfo } from '../../general';
|
|
2
2
|
import { ENatipaySaleChannel } from '../../natipay';
|
|
3
|
-
import { EFeePayer,
|
|
3
|
+
import { EFeePayer, EOperationType, EReleaseStatus, ETransactionProvider, ETransactionStatus } from '../enums';
|
|
4
4
|
import { ITransaction } from '../interfaces';
|
|
5
5
|
import { FeeDetailEntity } from './fee-detail.entity';
|
|
6
6
|
import { TransactionPayerEntity } from './payer.entity';
|
|
7
7
|
import { TransactionBalanceEntity } from './transaction-balance.entity';
|
|
8
|
-
import { TransactionPaymentMethodEntity } from './transaction-payment-method.entity';
|
|
9
8
|
import { TransactionTotalEntity } from './transaction-total.entity';
|
|
10
9
|
export declare class TransactionEntity implements ITransaction {
|
|
11
10
|
balance: TransactionBalanceEntity | null;
|
|
@@ -23,16 +22,12 @@ export declare class TransactionEntity implements ITransaction {
|
|
|
23
22
|
natiInfo: IInfo | null;
|
|
24
23
|
operationType: EOperationType;
|
|
25
24
|
payer: TransactionPayerEntity;
|
|
26
|
-
paymentMethod: TransactionPaymentMethodEntity | null;
|
|
27
|
-
paymentMethodId: EPaymentMethodId;
|
|
28
25
|
posId: string;
|
|
29
26
|
provider: ETransactionProvider;
|
|
30
27
|
referenceId: string;
|
|
31
28
|
resumeVersion: string;
|
|
32
29
|
saleChannel: ENatipaySaleChannel;
|
|
33
30
|
stamped: string | null;
|
|
34
|
-
status: EMpStatus;
|
|
35
|
-
statusDetail: EMpStatusDetail;
|
|
36
31
|
total: TransactionTotalEntity | null;
|
|
37
32
|
transactionStatus: ETransactionStatus;
|
|
38
33
|
updatedAt: Date;
|
|
@@ -22,16 +22,12 @@ var TransactionEntity = /** @class */ (function () {
|
|
|
22
22
|
this.natiInfo = new general_1.InfoEntity();
|
|
23
23
|
this.operationType = enums_1.EOperationType.REGULAR_PAYMENT;
|
|
24
24
|
this.payer = new payer_entity_1.TransactionPayerEntity();
|
|
25
|
-
this.paymentMethod = null;
|
|
26
|
-
this.paymentMethodId = enums_1.EPaymentMethodId.ACCOUNT_MONEY;
|
|
27
25
|
this.posId = '';
|
|
28
26
|
this.provider = enums_1.ETransactionProvider.DEFAULT;
|
|
29
27
|
this.referenceId = '';
|
|
30
28
|
this.resumeVersion = '';
|
|
31
29
|
this.saleChannel = natipay_1.ENatipaySaleChannel.NATI_PDV;
|
|
32
30
|
this.stamped = null;
|
|
33
|
-
this.status = enums_1.EMpStatus.PENDING;
|
|
34
|
-
this.statusDetail = enums_1.EMpStatusDetail.ACCREDITED;
|
|
35
31
|
this.total = null;
|
|
36
32
|
this.transactionStatus = enums_1.ETransactionStatus.PROCESSING;
|
|
37
33
|
this.updatedAt = new Date();
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { EFrom, IInfo } from '../../general';
|
|
2
2
|
import { ENatipaySaleChannel } from '../../natipay/orders/enums';
|
|
3
|
-
import { EFeePayer,
|
|
3
|
+
import { EFeePayer, EOperationType, EReleaseStatus, ETransactionProvider, ETransactionStatus } from '../enums';
|
|
4
4
|
import { ITransactionBalance } from './i-balance';
|
|
5
5
|
import { IFeeDetail } from './i-fee-detail';
|
|
6
6
|
import { ITransactionPayer } from './i-payer';
|
|
7
|
-
import { ITransactionPaymentMethod } from './i-payment-method';
|
|
8
7
|
import { ITransactionTotal } from './i-total';
|
|
9
8
|
export interface ITransaction {
|
|
10
9
|
balance: ITransactionBalance | null;
|
|
@@ -27,8 +26,6 @@ export interface ITransaction {
|
|
|
27
26
|
natiInfo: IInfo | null;
|
|
28
27
|
operationType: EOperationType;
|
|
29
28
|
payer: ITransactionPayer;
|
|
30
|
-
paymentMethod: ITransactionPaymentMethod | null;
|
|
31
|
-
paymentMethodId: EPaymentMethodId;
|
|
32
29
|
posId: string;
|
|
33
30
|
provider: ETransactionProvider;
|
|
34
31
|
referenceId: 'goLive' | 'engine_mobyo_fee' | 'withdraw' | string;
|
|
@@ -36,8 +33,6 @@ export interface ITransaction {
|
|
|
36
33
|
receipt: string | null;
|
|
37
34
|
saleChannel: ENatipaySaleChannel;
|
|
38
35
|
stamped: string | null;
|
|
39
|
-
status: EMpStatus;
|
|
40
|
-
statusDetail: EMpStatusDetail;
|
|
41
36
|
total: ITransactionTotal | null;
|
|
42
37
|
transactionStatus: ETransactionStatus;
|
|
43
38
|
updatedAt: Date;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { ITransactionBalance } from './i-balance';
|
|
2
2
|
export { IFee } from './i-fee';
|
|
3
3
|
export { IFeeDetail } from './i-fee-detail';
|
|
4
|
+
export { ITransactionPayer } from './i-payer';
|
|
4
5
|
export { ITransactionPaymentMethod } from './i-payment-method';
|
|
5
6
|
export { ITransactionResumeItemDetail } from './i-resume-item-detail';
|
|
6
7
|
export { ITransactionTotal } from './i-total';
|