cecon-interfaces 1.4.19 → 1.4.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. package/dist/esm2022/mobyo/company-settings/entities/company-settings.entity.mjs +19 -0
  2. package/dist/esm2022/mobyo/company-settings/entities/index.mjs +3 -0
  3. package/dist/esm2022/mobyo/company-settings/entities/wa-server.entity.mjs +18 -0
  4. package/dist/esm2022/mobyo/company-settings/index.mjs +3 -0
  5. package/dist/esm2022/mobyo/company-settings/interfaces/i-company-settings.mjs +2 -0
  6. package/dist/esm2022/mobyo/company-settings/interfaces/i-wa-server.mjs +2 -0
  7. package/dist/esm2022/mobyo/company-settings/interfaces/index.mjs +2 -0
  8. package/dist/esm2022/mobyo/index.mjs +2 -1
  9. package/dist/fesm2022/cecon-interfaces.mjs +37 -1
  10. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  11. package/dist/mobyo/company-settings/entities/company-settings.entity.d.ts +9 -0
  12. package/dist/mobyo/company-settings/entities/company-settings.entity.js +23 -0
  13. package/dist/mobyo/company-settings/entities/index.d.ts +2 -0
  14. package/dist/mobyo/company-settings/entities/index.js +7 -0
  15. package/dist/mobyo/company-settings/entities/wa-server.entity.d.ts +8 -0
  16. package/dist/mobyo/company-settings/entities/wa-server.entity.js +22 -0
  17. package/dist/mobyo/company-settings/index.d.ts +2 -0
  18. package/dist/mobyo/company-settings/index.js +18 -0
  19. package/dist/mobyo/company-settings/interfaces/i-company-settings.d.ts +7 -0
  20. package/dist/mobyo/company-settings/interfaces/i-company-settings.js +2 -0
  21. package/dist/mobyo/company-settings/interfaces/i-wa-server.d.ts +6 -0
  22. package/dist/mobyo/company-settings/interfaces/i-wa-server.js +2 -0
  23. package/dist/mobyo/company-settings/interfaces/index.d.ts +2 -0
  24. package/dist/mobyo/company-settings/interfaces/index.js +2 -0
  25. package/dist/mobyo/index.d.ts +1 -0
  26. package/dist/mobyo/index.js +1 -0
  27. package/dist/package.json +1 -1
  28. package/package.json +1 -1
@@ -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;
@@ -0,0 +1,2 @@
1
+ export { CompanySettingsEntity } from './company-settings.entity';
2
+ export { CompanySettingsWaServerEntity } from './wa-server.entity';
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
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; } });
6
+ var wa_server_entity_1 = require("./wa-server.entity");
7
+ Object.defineProperty(exports, "CompanySettingsWaServerEntity", { enumerable: true, get: function () { return wa_server_entity_1.CompanySettingsWaServerEntity; } });
@@ -0,0 +1,8 @@
1
+ import { ICompanySettingsWaServer } from '../interfaces';
2
+ export declare class CompanySettingsWaServerEntity implements ICompanySettingsWaServer {
3
+ deliveryMenuUrl: string;
4
+ indoorMenuUrl: string;
5
+ instanceName: string;
6
+ serverId: string;
7
+ constructor(data?: ICompanySettingsWaServer);
8
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CompanySettingsWaServerEntity = void 0;
4
+ var CompanySettingsWaServerEntity = /** @class */ (function () {
5
+ // #endregion Properties (4)
6
+ // #region Constructors (1)
7
+ function CompanySettingsWaServerEntity(data) {
8
+ // #region Properties (4)
9
+ this.deliveryMenuUrl = '';
10
+ this.indoorMenuUrl = '';
11
+ this.instanceName = '';
12
+ this.serverId = '';
13
+ if (data) {
14
+ this.serverId = data.serverId || '';
15
+ this.instanceName = data.instanceName || '';
16
+ this.deliveryMenuUrl = data.deliveryMenuUrl || '';
17
+ this.indoorMenuUrl = data.indoorMenuUrl || '';
18
+ }
19
+ }
20
+ return CompanySettingsWaServerEntity;
21
+ }());
22
+ exports.CompanySettingsWaServerEntity = CompanySettingsWaServerEntity;
@@ -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,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 });
@@ -0,0 +1,6 @@
1
+ export interface ICompanySettingsWaServer {
2
+ serverId: string;
3
+ instanceName: string;
4
+ deliveryMenuUrl: string;
5
+ indoorMenuUrl: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { ICompanySettings } from './i-company-settings';
2
+ export { ICompanySettingsWaServer } from './i-wa-server';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,4 @@
1
+ export * from './company-settings';
1
2
  export * from './mobyo-api';
2
3
  export * from './mobyo-customer-mobyo';
3
4
  export * from './mobyo-deliverer';
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./company-settings"), exports);
17
18
  __exportStar(require("./mobyo-api"), exports);
18
19
  __exportStar(require("./mobyo-customer-mobyo"), exports);
19
20
  __exportStar(require("./mobyo-deliverer"), exports);
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.4.19",
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.19",
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",