cecon-interfaces 1.9.31 → 1.9.34

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.
@@ -19,7 +19,7 @@ export declare class PayioCardConfigEntity implements IPayioCardConfig {
19
19
  invoiceLogs: string[];
20
20
  label: string;
21
21
  mode: ECardMode;
22
- password: string;
22
+ password: string | null;
23
23
  webhookUrls: string[];
24
24
  constructor(data?: Partial<PayioCardConfigEntity>);
25
25
  }
@@ -21,7 +21,7 @@ var PayioCardConfigEntity = /** @class */ (function () {
21
21
  this.invoiceLogs = [];
22
22
  this.label = '';
23
23
  this.mode = enums_1.ECardMode.DISCOUNT;
24
- this.password = '';
24
+ this.password = null;
25
25
  this.webhookUrls = [];
26
26
  if (data) {
27
27
  for (var key in data) {
@@ -7,12 +7,12 @@ export declare class PayioCardEntity implements IPayioCard {
7
7
  activationKey: string;
8
8
  active: boolean;
9
9
  cardNumber: string;
10
- companiesIds: string[];
11
10
  config: IPayioCardConfig;
12
- consumerId: string | null;
13
- consumerMetadata: string | null;
14
11
  createdAt: Date;
15
12
  cvv: string;
13
+ maskedCardNumber: string;
14
+ paymentTransactionId: string | null;
15
+ validThru: string;
16
16
  id: string;
17
17
  info: PayioCardInfoEntity;
18
18
  logs: string[];
@@ -10,12 +10,12 @@ var PayioCardEntity = /** @class */ (function () {
10
10
  this.activationKey = '';
11
11
  this.active = false;
12
12
  this.cardNumber = '';
13
- this.companiesIds = [];
14
13
  this.config = new card_config_entity_1.PayioCardConfigEntity();
15
- this.consumerId = null;
16
- this.consumerMetadata = null;
17
14
  this.createdAt = new Date();
18
15
  this.cvv = '';
16
+ this.maskedCardNumber = '';
17
+ this.paymentTransactionId = null;
18
+ this.validThru = new Date(new Date().setFullYear(new Date().getFullYear() + 8)).toISOString().split('T')[0];
19
19
  this.id = '';
20
20
  this.info = new card_info_entity_1.PayioCardInfoEntity();
21
21
  this.logs = [];
@@ -18,7 +18,7 @@ export interface IPayioCardConfig {
18
18
  description?: string | null;
19
19
  mode: ECardMode;
20
20
  label: string;
21
- password: string;
21
+ password: string | null;
22
22
  invoiceLogs: string[];
23
23
  externalReference: string | null;
24
24
  webhookUrls: string[];
@@ -9,6 +9,9 @@ export interface IPayioCard {
9
9
  config: IPayioCardConfig;
10
10
  createdAt: Date;
11
11
  cvv: string;
12
+ maskedCardNumber: string;
13
+ paymentTransactionId: string | null;
14
+ validThru: string;
12
15
  id: string;
13
16
  info: IPayioCardInfo;
14
17
  logs: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.9.31",
3
+ "version": "1.9.34",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",