cecon-interfaces 1.6.49 → 1.6.51

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.49",
3
+ "version": "1.6.51",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -14,19 +14,24 @@ export declare class TransactionEntity implements ITransaction {
14
14
  dateLastUpdated: Date;
15
15
  dateOfExpiration: Date | null;
16
16
  description: string;
17
+ desenfilaInfo: IDesenfilaInfo | null;
17
18
  externalOrderReference: string;
18
19
  feeDetails: FeeDetailEntity[];
19
20
  from: EFrom;
20
21
  id: string;
21
22
  installments: number;
22
23
  liveMode: boolean;
24
+ mobyoInfo: IMobyoInfo | null;
23
25
  moneyReleaseDate: Date | null;
24
26
  moneyReleaseStatus: EReleaseStatus;
27
+ natiInfo: IInfo | null;
25
28
  operationType: EOperationType;
26
29
  paymentMethod: TransactionPaymentMethodEntity | null;
27
30
  paymentMethodId: EPaymentMethodId;
28
31
  posId: string;
29
32
  referenceId: string;
33
+ resumeVersion: string;
34
+ stamped: string | null;
30
35
  status: EMpStatus;
31
36
  statusDetail: EMpStatusDetail;
32
37
  total: TransactionTotalEntity | null;
@@ -34,9 +39,5 @@ export declare class TransactionEntity implements ITransaction {
34
39
  transactionAmountRefunded: number;
35
40
  transactionStatus: ETransactionStatus;
36
41
  updatedAt: Date;
37
- desenfilaInfo: IDesenfilaInfo | null;
38
- natiInfo: IInfo | null;
39
- mobyoInfo: IMobyoInfo | null;
40
- resumeVersion: string;
41
42
  constructor(data?: Partial<TransactionEntity>);
42
43
  }
@@ -4,10 +4,10 @@ exports.TransactionEntity = void 0;
4
4
  var general_1 = require("../../general");
5
5
  var enums_1 = require("../enums");
6
6
  var TransactionEntity = /** @class */ (function () {
7
- // #endregion Properties (30)
7
+ // #endregion Properties (33)
8
8
  // #region Constructors (1)
9
9
  function TransactionEntity(data) {
10
- // #region Properties (30)
10
+ // #region Properties (33)
11
11
  this.balance = null;
12
12
  this.card = {};
13
13
  this.createdAt = new Date();
@@ -16,19 +16,24 @@ var TransactionEntity = /** @class */ (function () {
16
16
  this.dateLastUpdated = new Date();
17
17
  this.dateOfExpiration = null;
18
18
  this.description = '';
19
+ this.desenfilaInfo = new general_1.DesenfilaInfoEntity();
19
20
  this.externalOrderReference = '';
20
21
  this.feeDetails = [];
21
22
  this.from = general_1.EFrom.NATIPAY;
22
23
  this.id = '';
23
24
  this.installments = 0;
24
25
  this.liveMode = true;
26
+ this.mobyoInfo = new general_1.MobyoInfoEntity();
25
27
  this.moneyReleaseDate = null;
26
28
  this.moneyReleaseStatus = enums_1.EReleaseStatus.PENDING;
29
+ this.natiInfo = new general_1.InfoEntity();
27
30
  this.operationType = enums_1.EOperationType.REGULAR_PAYMENT;
28
31
  this.paymentMethod = null;
29
32
  this.paymentMethodId = enums_1.EPaymentMethodId.ACCOUNT_MONEY;
30
33
  this.posId = '';
31
34
  this.referenceId = '';
35
+ this.resumeVersion = '';
36
+ this.stamped = null;
32
37
  this.status = enums_1.EMpStatus.PENDING;
33
38
  this.statusDetail = enums_1.EMpStatusDetail.ACCREDITED;
34
39
  this.total = null;
@@ -36,10 +41,6 @@ var TransactionEntity = /** @class */ (function () {
36
41
  this.transactionAmountRefunded = 0;
37
42
  this.transactionStatus = enums_1.ETransactionStatus.PROCESSING;
38
43
  this.updatedAt = new Date();
39
- this.desenfilaInfo = new general_1.DesenfilaInfoEntity();
40
- this.natiInfo = new general_1.InfoEntity();
41
- this.mobyoInfo = new general_1.MobyoInfoEntity();
42
- this.resumeVersion = '';
43
44
  if (data) {
44
45
  for (var key in data) {
45
46
  if (data.hasOwnProperty(key) && key in this) {
@@ -13,22 +13,24 @@ export interface ITransaction {
13
13
  dateLastUpdated: Date;
14
14
  dateOfExpiration: Date | null;
15
15
  description: string;
16
+ desenfilaInfo: IDesenfilaInfo | null;
16
17
  externalOrderReference: string;
17
18
  feeDetails: IFeeDetail[];
18
19
  from: EFrom;
19
20
  id: string;
20
21
  installments: number;
21
22
  liveMode: boolean;
22
- desenfilaInfo: IDesenfilaInfo | null;
23
- natiInfo: IInfo | null;
24
23
  mobyoInfo: IMobyoInfo | null;
25
24
  moneyReleaseDate: Date | null;
26
25
  moneyReleaseStatus: EReleaseStatus;
26
+ natiInfo: IInfo | null;
27
27
  operationType: EOperationType;
28
28
  paymentMethod: ITransactionPaymentMethod | null;
29
29
  paymentMethodId: EPaymentMethodId;
30
30
  posId: string;
31
31
  referenceId: 'goLive' | 'engine_mobyo_fee' | 'withdraw' | string;
32
+ resumeVersion: string;
33
+ stamped: string | null;
32
34
  status: EMpStatus;
33
35
  statusDetail: EMpStatusDetail;
34
36
  total: ITransactionTotal | null;
@@ -36,5 +38,4 @@ export interface ITransaction {
36
38
  transactionAmountRefunded: number;
37
39
  transactionStatus: ETransactionStatus;
38
40
  updatedAt: Date;
39
- resumeVersion: string;
40
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.49",
3
+ "version": "1.6.51",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",