cecon-interfaces 1.6.23 → 1.6.25

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,11 +7,12 @@ 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;
11
10
  code: string;
12
11
  currency: 'BRL';
12
+ status?: string;
13
13
  id: string;
14
14
  method: EPaymentType;
15
+ payAt?: Date;
15
16
  pix?: PaymentPixEntity | null;
16
17
  prepaid: boolean;
17
18
  type: 'ONLINE' | 'OFFLINE';
@@ -3,17 +3,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PaymentMethodEntity = void 0;
4
4
  var __1 = require("..");
5
5
  var PaymentMethodEntity = /** @class */ (function () {
6
- // #endregion Properties (11)
6
+ // #endregion Properties (12)
7
7
  // #region Constructors (1)
8
8
  function PaymentMethodEntity(data) {
9
- // #region Properties (11)
9
+ // #region Properties (12)
10
10
  this.card = null;
11
11
  this.cash = null;
12
- this.payAt = undefined;
13
12
  this.code = '';
14
13
  this.currency = 'BRL';
14
+ this.status = undefined;
15
15
  this.id = '';
16
16
  this.method = __1.EPaymentType.CASH;
17
+ this.payAt = undefined;
17
18
  this.pix = null;
18
19
  this.prepaid = false;
19
20
  this.type = 'OFFLINE';
@@ -12,6 +12,7 @@ export interface IPaymentMethod {
12
12
  id: string;
13
13
  method: EPaymentType;
14
14
  pix?: IPaymentPix | null;
15
+ status?: string;
15
16
  prepaid: boolean;
16
17
  type: 'ONLINE' | 'OFFLINE';
17
18
  value: number;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.23",
3
+ "version": "1.6.25",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,7 +18,7 @@ export declare class PayioSubscriptionEntity implements IPayioSubscription {
18
18
  items: PayioFeatureEntity[];
19
19
  logs: PayioSubscriptionLogEntity[];
20
20
  notes: string;
21
- payment: PaymentMethodEntity;
21
+ payment: PaymentMethodEntity | null;
22
22
  planId: string;
23
23
  planName: string;
24
24
  renewPaymentDate: Date;
@@ -20,7 +20,7 @@ var PayioSubscriptionEntity = /** @class */ (function () {
20
20
  this.items = [];
21
21
  this.logs = [];
22
22
  this.notes = '';
23
- this.payment = new general_1.PaymentMethodEntity();
23
+ this.payment = null;
24
24
  this.planId = '';
25
25
  this.planName = '';
26
26
  this.renewPaymentDate = new Date();
@@ -16,7 +16,7 @@ export interface IPayioSubscription {
16
16
  items: IPayioFeature[];
17
17
  logs: IPayioSubscriptionLog[];
18
18
  notes: string;
19
- payment: IPaymentMethod;
19
+ payment: IPaymentMethod | null;
20
20
  planId: string;
21
21
  planName: string;
22
22
  renewPaymentDate: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.23",
3
+ "version": "1.6.25",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/readme.md CHANGED
@@ -6,4 +6,6 @@ npm run packagr
6
6
  npm run build
7
7
  npm publish
8
8
 
9
- *Não esqueça de dar push no github*
9
+ *Não esqueça de dar push no github*
10
+
11
+ "É como um gato que esconde a bolinha de lã: você acha que esqueceu, mas no fundo sabe onde está. Só falta dar o push! "