cecon-interfaces 1.2.70 → 1.2.72

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.
@@ -1,10 +1,13 @@
1
+ import { IAppInfo } from '../../purchases';
1
2
  import { IMonitor } from '../interfaces/i-monitor';
2
3
  export declare class MonitorEntity implements IMonitor {
3
4
  id: string;
4
- companyIds: string[];
5
+ companies: {
6
+ id: string;
7
+ name: string;
8
+ }[];
5
9
  total: number;
6
10
  createdAt: Date;
7
- appId: string;
8
- appName: string;
11
+ app: IAppInfo;
9
12
  constructor(data?: Partial<MonitorEntity>);
10
13
  }
@@ -2,16 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MonitorEntity = void 0;
4
4
  var MonitorEntity = /** @class */ (function () {
5
- // #endregion Properties (9)
6
- // #region Constructors (1)
7
5
  function MonitorEntity(data) {
8
6
  // #region Properties (9)
9
7
  this.id = '';
10
- this.companyIds = [];
8
+ this.companies = [{ id: '', name: '' }];
11
9
  this.total = 0;
12
10
  this.createdAt = new Date();
13
- this.appId = '';
14
- this.appName = '';
11
+ this.app = { appId: '', name: '', version: '' };
15
12
  if (data) {
16
13
  for (var key in data) {
17
14
  if (data.hasOwnProperty(key) && key in this) {
@@ -1,8 +1,11 @@
1
+ import { IAppInfo } from '../../purchases';
1
2
  export interface IMonitor {
2
3
  id: string;
3
- companyIds: string[];
4
+ companies: {
5
+ id: string;
6
+ name: string;
7
+ }[];
4
8
  total: number;
5
9
  createdAt: Date;
6
- appId: string;
7
- appName: string;
10
+ app: IAppInfo;
8
11
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.70",
3
+ "version": "1.2.72",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.70",
3
+ "version": "1.2.72",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",