cecon-interfaces 1.6.11 → 1.6.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,7 @@ import { PaymentWalletEntity } from './payment-wallet.entity';
7
7
  export declare class PaymentMethodEntity implements IPaymentMethod {
8
8
  card?: PaymentCardEntity | null;
9
9
  cash?: PaymentCashEntity | null;
10
+ payAt?: Date;
10
11
  code: string;
11
12
  currency: 'BRL';
12
13
  id: string;
@@ -9,6 +9,7 @@ var PaymentMethodEntity = /** @class */ (function () {
9
9
  // #region Properties (11)
10
10
  this.card = null;
11
11
  this.cash = null;
12
+ this.payAt = undefined;
12
13
  this.code = '';
13
14
  this.currency = 'BRL';
14
15
  this.id = '';
@@ -8,6 +8,7 @@ export interface IPaymentMethod {
8
8
  cash?: IPaymentCash | null;
9
9
  code: string;
10
10
  currency: 'BRL';
11
+ payAt?: Date;
11
12
  id: string;
12
13
  method: EPaymentType;
13
14
  pix?: IPaymentPix | null;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.11",
3
+ "version": "1.6.14",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -2,7 +2,8 @@ import { ESubsStatus } from '../../../general';
2
2
  import { IPayioJwtPayloadSubscription } from '../interfaces/i-payload-subscription';
3
3
  export declare class PayioJwtPayloadSubscriptionEntity implements IPayioJwtPayloadSubscription {
4
4
  expiresAt: number;
5
- plan: string;
5
+ id: string;
6
+ planId: string;
6
7
  status: ESubsStatus;
7
8
  constructor(data?: Partial<PayioJwtPayloadSubscriptionEntity>);
8
9
  }
@@ -3,12 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PayioJwtPayloadSubscriptionEntity = void 0;
4
4
  var general_1 = require("../../../general");
5
5
  var PayioJwtPayloadSubscriptionEntity = /** @class */ (function () {
6
- // #endregion Properties (3)
6
+ // #endregion Properties (4)
7
7
  // #region Constructors (1)
8
8
  function PayioJwtPayloadSubscriptionEntity(data) {
9
- // #region Properties (3)
9
+ // #region Properties (4)
10
10
  this.expiresAt = 0;
11
- this.plan = '';
11
+ this.id = '';
12
+ this.planId = '';
12
13
  this.status = general_1.ESubsStatus.PENDING;
13
14
  if (data) {
14
15
  for (var key in data) {
@@ -1,6 +1,7 @@
1
1
  import { ESubsStatus } from '../../../general';
2
2
  export interface IPayioJwtPayloadSubscription {
3
3
  expiresAt: number;
4
- plan: string;
4
+ planId: string;
5
+ id: string;
5
6
  status: ESubsStatus;
6
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.11",
3
+ "version": "1.6.14",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",