cecon-interfaces 1.2.79 → 1.2.80

Sign up to get free protection for your applications and to get access to all the features.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.79",
3
+ "version": "1.2.80",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -32,5 +32,7 @@ export declare class TransactionEntity implements ITransaction {
32
32
  total: TransactionTotalEntity | null;
33
33
  balance: TransactionBalanceEntity | null;
34
34
  transactionStatus: ETransactionStatus;
35
+ createdAt: Date;
36
+ updatedAt: Date;
35
37
  constructor(data?: Partial<TransactionEntity>);
36
38
  }
@@ -32,6 +32,8 @@ var TransactionEntity = /** @class */ (function () {
32
32
  this.total = null;
33
33
  this.balance = null;
34
34
  this.transactionStatus = enums_1.ETransactionStatus.PROCESSING;
35
+ this.createdAt = new Date();
36
+ this.updatedAt = new Date();
35
37
  if (data) {
36
38
  for (var key in data) {
37
39
  if (data.hasOwnProperty(key) && key in this) {
@@ -31,4 +31,6 @@ export interface ITransaction {
31
31
  total: ITransactionTotal | null;
32
32
  balance: ITransactionBalance | null;
33
33
  transactionStatus: ETransactionStatus;
34
+ createdAt: Date;
35
+ updatedAt: Date;
34
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.79",
3
+ "version": "1.2.80",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",