cecon-interfaces 1.7.59 → 1.7.61

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.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.7.59",
3
+ "version": "1.7.61",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -2,14 +2,22 @@ import { EPayuioAppSlug } from '../enums';
2
2
  import { IPayioApp } from '../interfaces/i-app';
3
3
  export declare class PayioAppEntity implements IPayioApp {
4
4
  active: boolean;
5
+ clientKey: string | null;
6
+ clientSecret: string | null;
7
+ createdAt: Date;
5
8
  description: string;
6
9
  downloadUrl: string;
10
+ expiresAt: Date | null;
11
+ expiresIn: number | null;
7
12
  id: string;
8
13
  name: string;
9
14
  price: number;
15
+ refreshToken: string | null;
10
16
  secret: string;
11
17
  slug: EPayuioAppSlug;
12
18
  tags: string[];
19
+ accessToken: string | null;
20
+ updatedAt: Date;
13
21
  version: string;
14
22
  constructor(data?: Partial<PayioAppEntity>);
15
23
  }
@@ -3,19 +3,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PayioAppEntity = void 0;
4
4
  var enums_1 = require("../enums");
5
5
  var PayioAppEntity = /** @class */ (function () {
6
- // #endregion Properties (10)
7
- // #region Constructors (1)
8
6
  function PayioAppEntity(data) {
9
- // #region Properties (10)
10
7
  this.active = false;
8
+ this.clientKey = null;
9
+ this.clientSecret = null;
10
+ this.createdAt = new Date();
11
11
  this.description = '';
12
12
  this.downloadUrl = '';
13
+ this.expiresAt = null;
14
+ this.expiresIn = null;
13
15
  this.id = '';
14
16
  this.name = '';
15
17
  this.price = 0;
18
+ this.refreshToken = null;
16
19
  this.secret = '';
17
20
  this.slug = enums_1.EPayuioAppSlug.none;
18
21
  this.tags = [];
22
+ this.accessToken = null;
23
+ this.updatedAt = new Date();
19
24
  this.version = '0.0.1';
20
25
  if (data) {
21
26
  for (var key in data) {
@@ -1,13 +1,21 @@
1
1
  import { EPayuioAppSlug } from '../enums';
2
2
  export interface IPayioApp {
3
3
  active: boolean;
4
+ clientKey: string | null;
5
+ clientSecret: string | null;
6
+ createdAt: Date;
4
7
  description: string;
5
8
  downloadUrl: string;
9
+ expiresAt: Date | null;
10
+ expiresIn: number | null;
6
11
  id: string;
7
12
  name: string;
8
- slug: EPayuioAppSlug;
9
13
  price: number;
14
+ refreshToken: string | null;
10
15
  secret: string;
11
- version: string;
16
+ slug: EPayuioAppSlug;
12
17
  tags: string[];
18
+ accessToken: string | null;
19
+ updatedAt: Date;
20
+ version: string;
13
21
  }
@@ -3,6 +3,7 @@ export declare class PayioGlobalProductEntity implements IPayioGlobalProduct {
3
3
  active: boolean;
4
4
  avgPrice: number;
5
5
  brand: string;
6
+ cest: string | null;
6
7
  code: string;
7
8
  createdAt: Date;
8
9
  id: string;
@@ -6,6 +6,7 @@ var PayioGlobalProductEntity = /** @class */ (function () {
6
6
  this.active = true;
7
7
  this.avgPrice = 0;
8
8
  this.brand = '';
9
+ this.cest = null;
9
10
  this.code = '';
10
11
  this.createdAt = new Date();
11
12
  this.id = '';
@@ -8,6 +8,7 @@ export interface IPayioGlobalProduct {
8
8
  lastPrices: number[];
9
9
  maxPrice: number;
10
10
  ncm: string | null;
11
+ cest: string | null;
11
12
  minPrice: number;
12
13
  name: string;
13
14
  quantityPackaging: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.7.59",
3
+ "version": "1.7.61",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",