cecon-interfaces 2.0.46 → 2.0.49

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.
@@ -1,7 +1,9 @@
1
- import { EOperationType } from '../enums';
2
- import { ITransactionResumeData } from '../interfaces/i-resume-data';
1
+ import { EOperationType } from "../enums";
2
+ import { ITransactionResumeData } from "../interfaces/i-resume-data";
3
3
  export declare class TransactionResumeDataEntity implements ITransactionResumeData {
4
4
  amount: number;
5
+ amountMonth: number;
6
+ amountYear: number;
5
7
  date: Date;
6
8
  operationType: EOperationType;
7
9
  period: string;
@@ -5,6 +5,8 @@ var enums_1 = require("../enums");
5
5
  var TransactionResumeDataEntity = /** @class */ (function () {
6
6
  function TransactionResumeDataEntity(data) {
7
7
  this.amount = 0;
8
+ this.amountMonth = 0;
9
+ this.amountYear = 0;
8
10
  this.date = new Date();
9
11
  this.operationType = enums_1.EOperationType.NATIPAY;
10
12
  this.period = '';
@@ -1,4 +1,5 @@
1
1
  export declare enum EOperationType {
2
+ FEE_PLATFORM = "Taxa da plataforma",
2
3
  FEE_SHIPPING = "Taxa de entrega",
3
4
  FEE_CONVENIENCE = "Taxa de conveni\u00EAncia",
4
5
  NATIPAY_TRANSFER = "Transfer\u00EAncia",
@@ -4,6 +4,7 @@ exports.EOperationType = void 0;
4
4
  var EOperationType;
5
5
  (function (EOperationType) {
6
6
  // arcnet enums :
7
+ EOperationType["FEE_PLATFORM"] = "Taxa da plataforma";
7
8
  EOperationType["FEE_SHIPPING"] = "Taxa de entrega";
8
9
  EOperationType["FEE_CONVENIENCE"] = "Taxa de conveni\u00EAncia";
9
10
  EOperationType["NATIPAY_TRANSFER"] = "Transfer\u00EAncia";
@@ -1,8 +1,10 @@
1
1
  import { EOperationType } from "../..";
2
2
  export interface ITransactionResumeData {
3
3
  amount: number;
4
+ amountMonth: number;
5
+ amountYear: number;
4
6
  date: Date;
5
- period: string;
6
7
  operationType: EOperationType;
8
+ period: string;
7
9
  reference: string;
8
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "2.0.46",
3
+ "version": "2.0.49",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",