cecon-interfaces 1.1.24 → 1.1.26

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,12 @@
1
1
  import { EDiscountType } from '../../general';
2
2
  import { EVoucherStatus } from '../enums';
3
3
  export class VoucherEntity {
4
- // #region Properties (19)
4
+ // #region Properties (20)
5
5
  // se permite ou não a alteração do nome do cupom pelo parceiro
6
6
  allowsKeyChange = false;
7
7
  // valor do desconto (soma do valor de todos os patrocínios - sponsorship)
8
8
  amount = 0;
9
+ appId = [];
9
10
  // ID da campanha associada (opcional para uso futuro)
10
11
  campaignId = null;
11
12
  // ID da empresa associada ao cupom (opcional)
@@ -28,7 +29,7 @@ export class VoucherEntity {
28
29
  // máximo de utilizações permitidas (-1 para ilimitado)
29
30
  maxUses = -1;
30
31
  // ID do parceiro associado ao cupom (opcional)
31
- partnerId = null;
32
+ partnerId = [];
32
33
  // informação de patrocínio (opcional)
33
34
  sponsorship = [];
34
35
  // status do cupom
@@ -38,7 +39,7 @@ export class VoucherEntity {
38
39
  updatedAt = new Date();
39
40
  // contador de quantas vezes o cupom foi usado
40
41
  usedCount = 0;
41
- // #endregion Properties (19)
42
+ // #endregion Properties (20)
42
43
  // #region Constructors (1)
43
44
  constructor(data) {
44
45
  if (data) {
@@ -50,4 +51,4 @@ export class VoucherEntity {
50
51
  }
51
52
  }
52
53
  }
53
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidm91Y2hlci5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdm91Y2hlci9lbnRpdGllcy92b3VjaGVyLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsYUFBYSxFQUEwQixNQUFNLGVBQWUsQ0FBQztBQUN0RSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sVUFBVSxDQUFDO0FBRzFDLE1BQU0sT0FBTyxhQUFhO0l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,12 @@ var EVoucherStatus;
2804
2804
  })(EVoucherStatus || (EVoucherStatus = {}));
2805
2805
 
2806
2806
  class VoucherEntity {
2807
- // #region Properties (19)
2807
+ // #region Properties (20)
2808
2808
  // se permite ou não a alteração do nome do cupom pelo parceiro
2809
2809
  allowsKeyChange = false;
2810
2810
  // valor do desconto (soma do valor de todos os patrocínios - sponsorship)
2811
2811
  amount = 0;
2812
+ appId = [];
2812
2813
  // ID da campanha associada (opcional para uso futuro)
2813
2814
  campaignId = null;
2814
2815
  // ID da empresa associada ao cupom (opcional)
@@ -2831,7 +2832,7 @@ class VoucherEntity {
2831
2832
  // máximo de utilizações permitidas (-1 para ilimitado)
2832
2833
  maxUses = -1;
2833
2834
  // ID do parceiro associado ao cupom (opcional)
2834
- partnerId = null;
2835
+ partnerId = [];
2835
2836
  // informação de patrocínio (opcional)
2836
2837
  sponsorship = [];
2837
2838
  // status do cupom
@@ -2841,7 +2842,7 @@ class VoucherEntity {
2841
2842
  updatedAt = new Date();
2842
2843
  // contador de quantas vezes o cupom foi usado
2843
2844
  usedCount = 0;
2844
- // #endregion Properties (19)
2845
+ // #endregion Properties (20)
2845
2846
  // #region Constructors (1)
2846
2847
  constructor(data) {
2847
2848
  if (data) {