cecon-interfaces 1.2.14 → 1.2.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. package/dist/app/entities/app.entity.d.ts +1 -0
  2. package/dist/app/entities/app.entity.js +3 -2
  3. package/dist/app/entities/index.d.ts +1 -0
  4. package/dist/app/entities/index.js +3 -1
  5. package/dist/app/entities/nati-wa.entity.d.ts +14 -0
  6. package/dist/app/entities/nati-wa.entity.js +34 -0
  7. package/dist/app/enums/mode.enum.d.ts +1 -1
  8. package/dist/app/enums/mode.enum.js +1 -1
  9. package/dist/app/interfaces/i-app.d.ts +1 -0
  10. package/dist/app/interfaces/i-nati-wa.d.ts +36 -0
  11. package/dist/app/interfaces/i-nati-wa.js +2 -0
  12. package/dist/app/interfaces/index.d.ts +1 -0
  13. package/dist/app/types/app-config.type.d.ts +2 -2
  14. package/dist/esm2022/app/entities/app.entity.mjs +4 -3
  15. package/dist/esm2022/app/entities/index.mjs +2 -1
  16. package/dist/esm2022/app/entities/nati-wa.entity.mjs +30 -0
  17. package/dist/esm2022/app/enums/mode.enum.mjs +2 -2
  18. package/dist/esm2022/app/interfaces/i-app.mjs +1 -1
  19. package/dist/esm2022/app/interfaces/i-nati-wa.mjs +2 -0
  20. package/dist/esm2022/app/interfaces/index.mjs +1 -1
  21. package/dist/esm2022/app/types/app-config.type.mjs +1 -1
  22. package/dist/esm2022/evolution/enums/index.mjs +2 -1
  23. package/dist/esm2022/evolution/enums/instance-types.enum.mjs +10 -0
  24. package/dist/esm2022/invoice/entities/invoice-item.entity.mjs +4 -3
  25. package/dist/esm2022/invoice/interfaces/i-invoice-item.mjs +1 -1
  26. package/dist/esm2022/wa-server/entities/wa-server.entity.mjs +1 -2
  27. package/dist/esm2022/wa-server/enums/status.enum.mjs +2 -5
  28. package/dist/esm2022/wa-server/interfaces/i-wa-server.mjs +1 -1
  29. package/dist/evolution/enums/index.d.ts +1 -0
  30. package/dist/evolution/enums/index.js +3 -1
  31. package/dist/evolution/enums/instance-types.enum.d.ts +8 -0
  32. package/dist/evolution/enums/instance-types.enum.js +12 -0
  33. package/dist/fesm2022/cecon-interfaces.mjs +161 -124
  34. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  35. package/dist/invoice/entities/invoice-item.entity.d.ts +1 -0
  36. package/dist/invoice/entities/invoice-item.entity.js +3 -2
  37. package/dist/invoice/interfaces/i-invoice-item.d.ts +5 -4
  38. package/dist/package.json +1 -1
  39. package/dist/wa-server/entities/wa-server.entity.d.ts +0 -1
  40. package/dist/wa-server/entities/wa-server.entity.js +0 -1
  41. package/dist/wa-server/enums/status.enum.d.ts +1 -4
  42. package/dist/wa-server/enums/status.enum.js +1 -4
  43. package/dist/wa-server/interfaces/i-wa-server.d.ts +0 -1
  44. package/package.json +1 -1
@@ -1,5 +1,6 @@
1
1
  import { IInvoiceItem } from '../interfaces';
2
2
  export declare class InvoiceItemEntity implements IInvoiceItem {
3
+ companyId: string;
3
4
  createdAt: Date;
4
5
  description: string;
5
6
  isRefunded: boolean;
@@ -2,10 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.InvoiceItemEntity = void 0;
4
4
  var InvoiceItemEntity = /** @class */ (function () {
5
- // #endregion Properties (8)
5
+ // #endregion Properties (9)
6
6
  // #region Constructors (1)
7
7
  function InvoiceItemEntity(data) {
8
- // #region Properties (8)
8
+ // #region Properties (9)
9
+ this.companyId = '';
9
10
  this.createdAt = new Date();
10
11
  this.description = '';
11
12
  this.isRefunded = false;
@@ -1,10 +1,11 @@
1
1
  export interface IInvoiceItem {
2
+ companyId: string;
3
+ createdAt: Date;
2
4
  description: string;
3
- quantity: number;
4
5
  isRefunded: boolean;
5
- unitPrice: number;
6
- totalPrice: number;
6
+ quantity: number;
7
7
  reference: string | null;
8
- createdAt: Date;
8
+ totalPrice: number;
9
+ unitPrice: number;
9
10
  updatedAt: Date;
10
11
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.14",
3
+ "version": "1.2.17",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -6,7 +6,6 @@ export declare class WaServerEntity implements IWaServer {
6
6
  createdAt: Date;
7
7
  globalApiKey: string;
8
8
  id: string;
9
- installIds: string[];
10
9
  name: string;
11
10
  tags: string[];
12
11
  sessions: number;
@@ -10,7 +10,6 @@ var WaServerEntity = /** @class */ (function () {
10
10
  this.createdAt = new Date();
11
11
  this.globalApiKey = '';
12
12
  this.id = '';
13
- this.installIds = [];
14
13
  this.name = '';
15
14
  this.tags = [];
16
15
  this.sessions = 0;
@@ -1,8 +1,5 @@
1
1
  export declare enum EWaServerStatus {
2
- CONNECTED = "CONNECTED",
3
- DISCONNECTED = "DISCONNECTED",
4
- RECONNECTING = "RECONNECTING",
5
2
  RUNNING = "RUNNING",
6
3
  STOPPED = "STOPPED",
7
- DELETED = "DELETED"
4
+ FULL = "FULL"
8
5
  }
@@ -3,10 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EWaServerStatus = void 0;
4
4
  var EWaServerStatus;
5
5
  (function (EWaServerStatus) {
6
- EWaServerStatus["CONNECTED"] = "CONNECTED";
7
- EWaServerStatus["DISCONNECTED"] = "DISCONNECTED";
8
- EWaServerStatus["RECONNECTING"] = "RECONNECTING";
9
6
  EWaServerStatus["RUNNING"] = "RUNNING";
10
7
  EWaServerStatus["STOPPED"] = "STOPPED";
11
- EWaServerStatus["DELETED"] = "DELETED";
8
+ EWaServerStatus["FULL"] = "FULL";
12
9
  })(EWaServerStatus || (exports.EWaServerStatus = EWaServerStatus = {}));
@@ -11,5 +11,4 @@ export interface IWaServer {
11
11
  baseUrl: string;
12
12
  globalApiKey: string;
13
13
  sessions: number;
14
- installIds: string[];
15
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.14",
3
+ "version": "1.2.17",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",