cecon-interfaces 1.1.57 → 1.1.59

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,6 @@
1
1
  import { IInvoicePix } from '../interfaces/i-invoice-pix';
2
2
  export declare class InvoicePixEntity implements IInvoicePix {
3
+ expireAt: Date;
3
4
  qrCode: string;
4
5
  qrCodeImage: string;
5
6
  qrCodeText: string;
@@ -2,10 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.InvoicePixEntity = void 0;
4
4
  var InvoicePixEntity = /** @class */ (function () {
5
- // #endregion Properties (4)
5
+ // #endregion Properties (5)
6
6
  // #region Constructors (1)
7
7
  function InvoicePixEntity(data) {
8
- // #region Properties (4)
8
+ // #region Properties (5)
9
+ this.expireAt = new Date();
9
10
  this.qrCode = '';
10
11
  this.qrCodeImage = '';
11
12
  this.qrCodeText = '';
@@ -3,4 +3,5 @@ export interface IInvoicePix {
3
3
  qrCodeImage: string;
4
4
  qrCodeText: string;
5
5
  status: string;
6
+ expireAt: Date;
6
7
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.57",
3
+ "version": "1.1.59",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -5,6 +5,6 @@ export declare class SubscriptionItemEntity implements ISubscriptionItem {
5
5
  recurrent: boolean;
6
6
  totalPrice: number;
7
7
  unitPrice: number;
8
- voucherId: string | null;
8
+ voucherKey: string | null;
9
9
  constructor(data?: Partial<SubscriptionItemEntity>);
10
10
  }
@@ -11,7 +11,7 @@ var SubscriptionItemEntity = /** @class */ (function () {
11
11
  this.recurrent = true;
12
12
  this.totalPrice = 0;
13
13
  this.unitPrice = 0;
14
- this.voucherId = null;
14
+ this.voucherKey = null;
15
15
  if (data) {
16
16
  for (var key in data) {
17
17
  if (data.hasOwnProperty(key) && key in this) {
@@ -2,7 +2,7 @@ export interface ISubscriptionItem {
2
2
  description: string;
3
3
  quantity: number;
4
4
  recurrent: boolean;
5
- voucherId: string | null;
5
+ voucherKey: string | null;
6
6
  totalPrice: number;
7
7
  unitPrice: number;
8
8
  }
@@ -16,7 +16,7 @@ export declare class VoucherEntity implements IVoucher {
16
16
  isPublic: boolean;
17
17
  key: string;
18
18
  maxUses: number;
19
- partnerId: string[];
19
+ partnersId: string[];
20
20
  recurrent: boolean;
21
21
  sponsorship: SponsorshipValueEntity[];
22
22
  status: EVoucherStatus;
@@ -24,4 +24,5 @@ export declare class VoucherEntity implements IVoucher {
24
24
  updatedAt: Date;
25
25
  usedCount: number;
26
26
  constructor(data?: Partial<VoucherEntity>);
27
+ partnerId: string[];
27
28
  }
@@ -35,7 +35,7 @@ var VoucherEntity = /** @class */ (function () {
35
35
  // máximo de utilizações permitidas (-1 para ilimitado)
36
36
  this.maxUses = -1;
37
37
  // ID do parceiro associado ao cupom (opcional)
38
- this.partnerId = [];
38
+ this.partnersId = [];
39
39
  this.recurrent = false;
40
40
  // informação de patrocínio (opcional)
41
41
  this.sponsorship = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.57",
3
+ "version": "1.1.59",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",