cecon-interfaces 1.2.69 → 1.2.71

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. package/dist/esm2022/index.mjs +2 -2
  2. package/dist/esm2022/monitor/entities/index.mjs +2 -0
  3. package/dist/esm2022/monitor/entities/monitor.entity.mjs +18 -0
  4. package/dist/esm2022/monitor/index.mjs +3 -0
  5. package/dist/esm2022/monitor/interfaces/i-monitor.mjs +2 -0
  6. package/dist/esm2022/monitor/interfaces/index.mjs +2 -0
  7. package/dist/fesm2022/cecon-interfaces.mjs +19 -22
  8. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  9. package/dist/index.d.ts +1 -1
  10. package/dist/index.js +1 -1
  11. package/dist/monitor/entities/index.d.ts +1 -0
  12. package/dist/monitor/entities/index.js +5 -0
  13. package/dist/monitor/entities/monitor.entity.d.ts +10 -0
  14. package/dist/{used-apps/entities/used-apps.entity.js → monitor/entities/monitor.entity.js} +6 -9
  15. package/dist/monitor/interfaces/i-monitor.d.ts +8 -0
  16. package/dist/monitor/interfaces/index.d.ts +1 -0
  17. package/dist/package.json +1 -1
  18. package/package.json +1 -1
  19. package/dist/esm2022/used-apps/entities/index.mjs +0 -2
  20. package/dist/esm2022/used-apps/entities/used-apps.entity.mjs +0 -21
  21. package/dist/esm2022/used-apps/index.mjs +0 -3
  22. package/dist/esm2022/used-apps/interfaces/i-used-apps.mjs +0 -2
  23. package/dist/esm2022/used-apps/interfaces/index.mjs +0 -2
  24. package/dist/used-apps/entities/index.d.ts +0 -1
  25. package/dist/used-apps/entities/index.js +0 -5
  26. package/dist/used-apps/entities/used-apps.entity.d.ts +0 -10
  27. package/dist/used-apps/interfaces/i-used-apps.d.ts +0 -8
  28. package/dist/used-apps/interfaces/index.d.ts +0 -1
  29. /package/dist/{used-apps → monitor}/index.d.ts +0 -0
  30. /package/dist/{used-apps → monitor}/index.js +0 -0
  31. /package/dist/{used-apps/interfaces/i-used-apps.js → monitor/interfaces/i-monitor.js} +0 -0
  32. /package/dist/{used-apps → monitor}/interfaces/index.js +0 -0
package/dist/index.d.ts CHANGED
@@ -22,6 +22,7 @@ export * from './iugu';
22
22
  export * from './lead';
23
23
  export * from './member';
24
24
  export * from './mobyo';
25
+ export * from './monitor';
25
26
  export * from './mottu';
26
27
  export * from './nati-v1';
27
28
  export * from './notification';
@@ -40,7 +41,6 @@ export * from './subscription-company';
40
41
  export * from './subscription-customer';
41
42
  export * from './token';
42
43
  export * from './token-jwt';
43
- export * from './used-apps';
44
44
  export * from './verifier-token';
45
45
  export * from './viacep';
46
46
  export * from './voucher';
package/dist/index.js CHANGED
@@ -38,6 +38,7 @@ __exportStar(require("./iugu"), exports);
38
38
  __exportStar(require("./lead"), exports);
39
39
  __exportStar(require("./member"), exports);
40
40
  __exportStar(require("./mobyo"), exports);
41
+ __exportStar(require("./monitor"), exports);
41
42
  __exportStar(require("./mottu"), exports);
42
43
  __exportStar(require("./nati-v1"), exports);
43
44
  __exportStar(require("./notification"), exports);
@@ -56,7 +57,6 @@ __exportStar(require("./subscription-company"), exports);
56
57
  __exportStar(require("./subscription-customer"), exports);
57
58
  __exportStar(require("./token"), exports);
58
59
  __exportStar(require("./token-jwt"), exports);
59
- __exportStar(require("./used-apps"), exports);
60
60
  __exportStar(require("./verifier-token"), exports);
61
61
  __exportStar(require("./viacep"), exports);
62
62
  __exportStar(require("./voucher"), exports);
@@ -0,0 +1 @@
1
+ export { MonitorEntity } from './monitor.entity';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MonitorEntity = void 0;
4
+ var monitor_entity_1 = require("./monitor.entity");
5
+ Object.defineProperty(exports, "MonitorEntity", { enumerable: true, get: function () { return monitor_entity_1.MonitorEntity; } });
@@ -0,0 +1,10 @@
1
+ import { IAppInfo } from '../../purchases';
2
+ import { IMonitor } from '../interfaces/i-monitor';
3
+ export declare class MonitorEntity implements IMonitor {
4
+ id: string;
5
+ companyIds: string[];
6
+ total: number;
7
+ createdAt: Date;
8
+ app: IAppInfo;
9
+ constructor(data?: Partial<MonitorEntity>);
10
+ }
@@ -1,17 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UsedAppsEntity = void 0;
4
- var UsedAppsEntity = /** @class */ (function () {
5
- // #endregion Properties (9)
6
- // #region Constructors (1)
7
- function UsedAppsEntity(data) {
3
+ exports.MonitorEntity = void 0;
4
+ var MonitorEntity = /** @class */ (function () {
5
+ function MonitorEntity(data) {
8
6
  // #region Properties (9)
9
7
  this.id = '';
10
8
  this.companyIds = [];
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) {
@@ -20,6 +17,6 @@ var UsedAppsEntity = /** @class */ (function () {
20
17
  }
21
18
  }
22
19
  }
23
- return UsedAppsEntity;
20
+ return MonitorEntity;
24
21
  }());
25
- exports.UsedAppsEntity = UsedAppsEntity;
22
+ exports.MonitorEntity = MonitorEntity;
@@ -0,0 +1,8 @@
1
+ import { IAppInfo } from '../../purchases';
2
+ export interface IMonitor {
3
+ id: string;
4
+ companyIds: string[];
5
+ total: number;
6
+ createdAt: Date;
7
+ app: IAppInfo;
8
+ }
@@ -0,0 +1 @@
1
+ export { IMonitor } from './i-monitor';
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.69",
3
+ "version": "1.2.71",
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.69",
3
+ "version": "1.2.71",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,2 +0,0 @@
1
- export { UsedAppsEntity } from './used-apps.entity';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdXNlZC1hcHBzL2VudGl0aWVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IFVzZWRBcHBzRW50aXR5IH0gZnJvbSAnLi91c2VkLWFwcHMuZW50aXR5JztcbiJdfQ==
@@ -1,21 +0,0 @@
1
- export class UsedAppsEntity {
2
- // #region Properties (9)
3
- id = '';
4
- companyIds = [];
5
- total = 0;
6
- createdAt = new Date();
7
- appId = '';
8
- appName = '';
9
- // #endregion Properties (9)
10
- // #region Constructors (1)
11
- constructor(data) {
12
- if (data) {
13
- for (let key in data) {
14
- if (data.hasOwnProperty(key) && key in this) {
15
- this[key] = data[key];
16
- }
17
- }
18
- }
19
- }
20
- }
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlZC1hcHBzLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy91c2VkLWFwcHMvZW50aXRpZXMvdXNlZC1hcHBzLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sY0FBYztJQUN6Qix5QkFBeUI7SUFFekIsRUFBRSxHQUFXLEVBQUUsQ0FBQztJQUNoQixVQUFVLEdBQWEsRUFBRSxDQUFDO0lBQzFCLEtBQUssR0FBVyxDQUFDLENBQUM7SUFDbEIsU0FBUyxHQUFTLElBQUksSUFBSSxFQUFFLENBQUM7SUFDN0IsS0FBSyxHQU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cclxuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XHJcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxufVxyXG4iXX0=
@@ -1,3 +0,0 @@
1
- export * from './entities';
2
- export * from './interfaces';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdXNlZC1hcHBzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiXG5leHBvcnQgKiBmcm9tICcuL2VudGl0aWVzJztcbmV4cG9ydCAqIGZyb20gJy4vaW50ZXJmYWNlcyc7XG5cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS11c2VkLWFwcHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdXNlZC1hcHBzL2ludGVyZmFjZXMvaS11c2VkLWFwcHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSVVzZWRBcHBzIHtcclxuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDExKVxyXG5cclxuICBpZDogc3RyaW5nO1xyXG4gIGNvbXBhbnlJZHM6IHN0cmluZ1tdO1xyXG4gIHRvdGFsOiBudW1iZXI7XHJcbiAgY3JlYXRlZEF0OiBEYXRlO1xyXG4gIGFwcElkOiBzdHJpbmc7XHJcbiAgYXBwTmFtZTogc3RyaW5nO1xyXG59XHJcbiJdfQ==
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdXNlZC1hcHBzL2ludGVyZmFjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IElVc2VkQXBwcyB9IGZyb20gJy4vaS11c2VkLWFwcHMnO1xuIl19
@@ -1 +0,0 @@
1
- export { UsedAppsEntity } from './used-apps.entity';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UsedAppsEntity = void 0;
4
- var used_apps_entity_1 = require("./used-apps.entity");
5
- Object.defineProperty(exports, "UsedAppsEntity", { enumerable: true, get: function () { return used_apps_entity_1.UsedAppsEntity; } });
@@ -1,10 +0,0 @@
1
- import { IUsedApps } from '../interfaces/i-used-apps';
2
- export declare class UsedAppsEntity implements IUsedApps {
3
- id: string;
4
- companyIds: string[];
5
- total: number;
6
- createdAt: Date;
7
- appId: string;
8
- appName: string;
9
- constructor(data?: Partial<UsedAppsEntity>);
10
- }
@@ -1,8 +0,0 @@
1
- export interface IUsedApps {
2
- id: string;
3
- companyIds: string[];
4
- total: number;
5
- createdAt: Date;
6
- appId: string;
7
- appName: string;
8
- }
@@ -1 +0,0 @@
1
- export { IUsedApps } from './i-used-apps';
File without changes
File without changes
File without changes