cecon-interfaces 1.2.15 → 1.2.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.15",
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.15",
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",