cecon-interfaces 1.2.71 → 1.2.73

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. package/dist/esm2022/index.mjs +2 -1
  2. package/dist/esm2022/master/entities/index.mjs +3 -0
  3. package/dist/esm2022/master/entities/master-v1.entity.mjs +16 -0
  4. package/dist/esm2022/master/entities/master.entity.mjs +24 -0
  5. package/dist/esm2022/master/index.mjs +3 -0
  6. package/dist/esm2022/master/interfaces/i-master-v1.mjs +2 -0
  7. package/dist/esm2022/master/interfaces/i-master.mjs +2 -0
  8. package/dist/esm2022/master/interfaces/index.mjs +2 -0
  9. package/dist/esm2022/monitor/entities/monitor.entity.mjs +2 -2
  10. package/dist/esm2022/monitor/interfaces/i-monitor.mjs +1 -1
  11. package/dist/fesm2022/cecon-interfaces.mjs +42 -2
  12. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  13. package/dist/index.d.ts +1 -0
  14. package/dist/index.js +1 -0
  15. package/dist/master/entities/index.d.ts +2 -0
  16. package/dist/master/entities/index.js +7 -0
  17. package/dist/master/entities/master-v1.entity.d.ts +5 -0
  18. package/dist/master/entities/master-v1.entity.js +20 -0
  19. package/dist/master/entities/master.entity.d.ts +14 -0
  20. package/dist/master/entities/master.entity.js +28 -0
  21. package/dist/master/index.d.ts +2 -0
  22. package/dist/master/index.js +18 -0
  23. package/dist/master/interfaces/i-master-v1.d.ts +3 -0
  24. package/dist/master/interfaces/i-master-v1.js +2 -0
  25. package/dist/master/interfaces/i-master.d.ts +12 -0
  26. package/dist/master/interfaces/i-master.js +2 -0
  27. package/dist/master/interfaces/index.d.ts +2 -0
  28. package/dist/master/interfaces/index.js +2 -0
  29. package/dist/monitor/entities/monitor.entity.d.ts +4 -1
  30. package/dist/monitor/entities/monitor.entity.js +1 -1
  31. package/dist/monitor/interfaces/i-monitor.d.ts +4 -1
  32. package/dist/package.json +1 -1
  33. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -20,6 +20,7 @@ export * from './invite';
20
20
  export * from './invoice';
21
21
  export * from './iugu';
22
22
  export * from './lead';
23
+ export * from './master';
23
24
  export * from './member';
24
25
  export * from './mobyo';
25
26
  export * from './monitor';
package/dist/index.js CHANGED
@@ -36,6 +36,7 @@ __exportStar(require("./invite"), exports);
36
36
  __exportStar(require("./invoice"), exports);
37
37
  __exportStar(require("./iugu"), exports);
38
38
  __exportStar(require("./lead"), exports);
39
+ __exportStar(require("./master"), exports);
39
40
  __exportStar(require("./member"), exports);
40
41
  __exportStar(require("./mobyo"), exports);
41
42
  __exportStar(require("./monitor"), exports);
@@ -0,0 +1,2 @@
1
+ export { MasterV1Entity } from './master-v1.entity';
2
+ export { MasterEntity } from './master.entity';
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MasterEntity = exports.MasterV1Entity = void 0;
4
+ var master_v1_entity_1 = require("./master-v1.entity");
5
+ Object.defineProperty(exports, "MasterV1Entity", { enumerable: true, get: function () { return master_v1_entity_1.MasterV1Entity; } });
6
+ var master_entity_1 = require("./master.entity");
7
+ Object.defineProperty(exports, "MasterEntity", { enumerable: true, get: function () { return master_entity_1.MasterEntity; } });
@@ -0,0 +1,5 @@
1
+ import { IMasterV1 } from '../interfaces/i-master-v1';
2
+ export declare class MasterV1Entity implements IMasterV1 {
3
+ ie: string | null;
4
+ constructor(data?: Partial<MasterV1Entity>);
5
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MasterV1Entity = void 0;
4
+ var MasterV1Entity = /** @class */ (function () {
5
+ // #endregion Properties (1)
6
+ // #region Constructors (1)
7
+ function MasterV1Entity(data) {
8
+ // #region Properties (1)
9
+ this.ie = null;
10
+ if (data) {
11
+ for (var key in data) {
12
+ if (data.hasOwnProperty(key) && key in this) {
13
+ this[key] = data[key];
14
+ }
15
+ }
16
+ }
17
+ }
18
+ return MasterV1Entity;
19
+ }());
20
+ exports.MasterV1Entity = MasterV1Entity;
@@ -0,0 +1,14 @@
1
+ import { IMaster } from '../interfaces/i-master';
2
+ import { IMasterV1 } from '../interfaces/i-master-v1';
3
+ export declare class MasterEntity implements IMaster {
4
+ catalog: string | null;
5
+ companyId: string;
6
+ containerId: string;
7
+ database: string | null;
8
+ hostName: string | null;
9
+ hostUrl: string | null;
10
+ masterV1: IMasterV1 | null;
11
+ password: string | null;
12
+ userName: string | null;
13
+ constructor(data?: Partial<MasterEntity>);
14
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MasterEntity = void 0;
4
+ var MasterEntity = /** @class */ (function () {
5
+ // #endregion Properties (9)
6
+ // #region Constructors (1)
7
+ function MasterEntity(data) {
8
+ // #region Properties (9)
9
+ this.catalog = null;
10
+ this.companyId = '';
11
+ this.containerId = '';
12
+ this.database = null;
13
+ this.hostName = null;
14
+ this.hostUrl = null;
15
+ this.masterV1 = null;
16
+ this.password = null;
17
+ this.userName = null;
18
+ if (data) {
19
+ for (var key in data) {
20
+ if (data.hasOwnProperty(key) && key in this) {
21
+ this[key] = data[key];
22
+ }
23
+ }
24
+ }
25
+ }
26
+ return MasterEntity;
27
+ }());
28
+ exports.MasterEntity = MasterEntity;
@@ -0,0 +1,2 @@
1
+ export * from './entities';
2
+ export * from './interfaces';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,3 @@
1
+ export interface IMasterV1 {
2
+ ie: string | null;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ import { IMasterV1 } from './i-master-v1';
2
+ export interface IMaster {
3
+ catalog: string | null;
4
+ companyId: string;
5
+ containerId: string;
6
+ database: string | null;
7
+ hostName: string | null;
8
+ hostUrl: string | null;
9
+ password: string | null;
10
+ userName: string | null;
11
+ masterV1: IMasterV1 | null;
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { IMaster } from './i-master';
2
+ export { IMasterV1 } from './i-master-v1';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,7 +2,10 @@ import { IAppInfo } from '../../purchases';
2
2
  import { IMonitor } from '../interfaces/i-monitor';
3
3
  export declare class MonitorEntity implements IMonitor {
4
4
  id: string;
5
- companyIds: string[];
5
+ companies: {
6
+ id: string;
7
+ name: string;
8
+ }[];
6
9
  total: number;
7
10
  createdAt: Date;
8
11
  app: IAppInfo;
@@ -5,7 +5,7 @@ var MonitorEntity = /** @class */ (function () {
5
5
  function MonitorEntity(data) {
6
6
  // #region Properties (9)
7
7
  this.id = '';
8
- this.companyIds = [];
8
+ this.companies = [{ id: '', name: '' }];
9
9
  this.total = 0;
10
10
  this.createdAt = new Date();
11
11
  this.app = { appId: '', name: '', version: '' };
@@ -1,7 +1,10 @@
1
1
  import { IAppInfo } from '../../purchases';
2
2
  export interface IMonitor {
3
3
  id: string;
4
- companyIds: string[];
4
+ companies: {
5
+ id: string;
6
+ name: string;
7
+ }[];
5
8
  total: number;
6
9
  createdAt: Date;
7
10
  app: IAppInfo;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.71",
3
+ "version": "1.2.73",
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.71",
3
+ "version": "1.2.73",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",