cecon-interfaces 1.4.20 → 1.4.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,9 @@
1
+ import { ICompanySettings } from '../interfaces';
2
+ import { CompanySettingsWaServerEntity } from './wa-server.entity';
3
+ export declare class CompanySettingsEntity implements ICompanySettings {
4
+ createdAt: Date;
5
+ id: string;
6
+ updatedAt: Date;
7
+ waServer: CompanySettingsWaServerEntity;
8
+ constructor(data?: ICompanySettings);
9
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CompanySettingsEntity = void 0;
4
+ var wa_server_entity_1 = require("./wa-server.entity");
5
+ var CompanySettingsEntity = /** @class */ (function () {
6
+ // #endregion Properties (4)
7
+ // #region Constructors (1)
8
+ function CompanySettingsEntity(data) {
9
+ // #region Properties (4)
10
+ this.createdAt = new Date();
11
+ this.id = '';
12
+ this.updatedAt = new Date();
13
+ this.waServer = new wa_server_entity_1.CompanySettingsWaServerEntity();
14
+ if (data) {
15
+ this.id = data.id || '';
16
+ this.createdAt = data.createdAt || new Date();
17
+ this.updatedAt = data.updatedAt || new Date();
18
+ this.waServer = new wa_server_entity_1.CompanySettingsWaServerEntity(data.waServer);
19
+ }
20
+ }
21
+ return CompanySettingsEntity;
22
+ }());
23
+ exports.CompanySettingsEntity = CompanySettingsEntity;
@@ -1 +1,2 @@
1
+ export { CompanySettingsEntity } from './company-settings.entity';
1
2
  export { CompanySettingsWaServerEntity } from './wa-server.entity';
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CompanySettingsWaServerEntity = void 0;
3
+ exports.CompanySettingsWaServerEntity = exports.CompanySettingsEntity = void 0;
4
+ var company_settings_entity_1 = require("./company-settings.entity");
5
+ Object.defineProperty(exports, "CompanySettingsEntity", { enumerable: true, get: function () { return company_settings_entity_1.CompanySettingsEntity; } });
4
6
  var wa_server_entity_1 = require("./wa-server.entity");
5
7
  Object.defineProperty(exports, "CompanySettingsWaServerEntity", { enumerable: true, get: function () { return wa_server_entity_1.CompanySettingsWaServerEntity; } });
@@ -0,0 +1,7 @@
1
+ import { ICompanySettingsWaServer } from './i-wa-server';
2
+ export interface ICompanySettings {
3
+ createdAt: Date;
4
+ id: string;
5
+ updatedAt: Date;
6
+ waServer: ICompanySettingsWaServer;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
+ export { ICompanySettings } from './i-company-settings';
1
2
  export { ICompanySettingsWaServer } from './i-wa-server';
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.4.20",
3
+ "version": "1.4.21",
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.4.20",
3
+ "version": "1.4.21",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",