cecon-interfaces 1.8.12 → 1.8.13

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.
@@ -7,6 +7,7 @@ export declare class FeeFromEntity implements IFeeFrom {
7
7
  amountMode: EAmountMode;
8
8
  feePayer: EFeePayer;
9
9
  from: EFrom;
10
+ id: string;
10
11
  operationType: EOperationType;
11
12
  constructor(data?: Partial<FeeFromEntity>);
12
13
  }
@@ -10,6 +10,7 @@ var FeeFromEntity = /** @class */ (function () {
10
10
  this.amountMode = transaction_1.EAmountMode.PERCENTAGE;
11
11
  this.feePayer = fee_payer_enum_1.EFeePayer.PLATFORM;
12
12
  this.from = general_1.EFrom.DEFAULT;
13
+ this.id = '';
13
14
  this.operationType = transaction_1.EOperationType.NATIPAY;
14
15
  if (data) {
15
16
  for (var key in data) {
@@ -1,11 +1,12 @@
1
- import { ENatipaySaleChannel } from '../..';
2
- import { EAmountMode, EOperationType } from '../../../transaction';
3
- import { EFeePayer } from '../../../transaction/enums/fee-payer.enum';
4
- import { IFeeSaleChannel } from '../interfaces';
1
+ import { ENatipaySaleChannel } from "../..";
2
+ import { EAmountMode, EOperationType } from "../../../transaction";
3
+ import { EFeePayer } from "../../../transaction/enums/fee-payer.enum";
4
+ import { IFeeSaleChannel } from "../interfaces";
5
5
  export declare class FeeSaleChannelEntity implements IFeeSaleChannel {
6
6
  amount: number;
7
7
  amountMode: EAmountMode;
8
8
  feePayer: EFeePayer;
9
+ id: string;
9
10
  operationType: EOperationType;
10
11
  saleChannel: ENatipaySaleChannel;
11
12
  constructor(data?: Partial<FeeSaleChannelEntity>);
@@ -9,6 +9,7 @@ var FeeSaleChannelEntity = /** @class */ (function () {
9
9
  this.amount = 0;
10
10
  this.amountMode = transaction_1.EAmountMode.PERCENTAGE;
11
11
  this.feePayer = fee_payer_enum_1.EFeePayer.PLATFORM;
12
+ this.id = '';
12
13
  this.operationType = transaction_1.EOperationType.NATIPAY;
13
14
  this.saleChannel = __1.ENatipaySaleChannel.DEFAULT;
14
15
  if (data) {
@@ -3,6 +3,7 @@ import { NatipayFeeEntity } from './natipay-fee.entity';
3
3
  export declare class NatipaySponsorFeeEntity extends NatipayFeeEntity implements INatipaySponsorFee {
4
4
  companyId: string;
5
5
  containerId: string;
6
+ id: string;
6
7
  sponsorName: string | null;
7
8
  constructor(data?: Partial<NatipaySponsorFeeEntity>);
8
9
  }
@@ -23,6 +23,7 @@ var NatipaySponsorFeeEntity = /** @class */ (function (_super) {
23
23
  var _this = _super.call(this, data) || this;
24
24
  _this.companyId = '';
25
25
  _this.containerId = '';
26
+ _this.id = '';
26
27
  _this.sponsorName = null;
27
28
  if (data) {
28
29
  for (var key in data) {
@@ -4,7 +4,8 @@ import { EFeePayer } from '../../../transaction/enums/fee-payer.enum';
4
4
  export interface IFeeSaleChannel {
5
5
  amount: number;
6
6
  amountMode: EAmountMode;
7
+ feePayer: EFeePayer;
8
+ id: string;
7
9
  operationType: EOperationType;
8
10
  saleChannel: ENatipaySaleChannel;
9
- feePayer: EFeePayer;
10
11
  }
@@ -4,7 +4,8 @@ import { EFeePayer } from '../../../transaction/enums/fee-payer.enum';
4
4
  export interface IFeeFrom {
5
5
  amount: number;
6
6
  amountMode: EAmountMode;
7
- operationType: EOperationType;
8
- from: EFrom;
9
7
  feePayer: EFeePayer;
8
+ from: EFrom;
9
+ id: string;
10
+ operationType: EOperationType;
10
11
  }
@@ -2,5 +2,6 @@ import { INatipayFee } from './i-fee';
2
2
  export interface INatipaySponsorFee extends INatipayFee {
3
3
  companyId: string;
4
4
  containerId: string;
5
+ id: string;
5
6
  sponsorName: string | null;
6
7
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.8.12",
3
+ "version": "1.8.13",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.8.12",
3
+ "version": "1.8.13",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",