cecon-interfaces 1.2.15 → 1.2.19
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/app/entities/app.entity.d.ts +1 -0
- package/dist/app/entities/app.entity.js +3 -2
- package/dist/app/interfaces/i-app.d.ts +1 -0
- package/dist/esm2022/app/entities/app.entity.mjs +4 -3
- package/dist/esm2022/app/interfaces/i-app.mjs +1 -1
- package/dist/esm2022/evolution/entities/instance.entity.mjs +8 -3
- package/dist/esm2022/evolution/interfaces/i-instance.mjs +1 -1
- package/dist/esm2022/invoice/entities/invoice-item.entity.mjs +4 -3
- package/dist/esm2022/invoice/interfaces/i-invoice-item.mjs +1 -1
- package/dist/esm2022/wa-server/entities/wa-server.entity.mjs +6 -4
- package/dist/esm2022/wa-server/enums/status.enum.mjs +2 -5
- package/dist/esm2022/wa-server/interfaces/i-wa-server.mjs +1 -1
- package/dist/evolution/entities/instance.entity.d.ts +5 -0
- package/dist/evolution/entities/instance.entity.js +7 -2
- package/dist/evolution/interfaces/i-instance.d.ts +5 -0
- package/dist/fesm2022/cecon-interfaces.mjs +19 -13
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/invoice/entities/invoice-item.entity.d.ts +1 -0
- package/dist/invoice/entities/invoice-item.entity.js +3 -2
- package/dist/invoice/interfaces/i-invoice-item.d.ts +5 -4
- package/dist/package.json +1 -1
- package/dist/wa-server/entities/wa-server.entity.d.ts +3 -2
- package/dist/wa-server/entities/wa-server.entity.js +5 -3
- package/dist/wa-server/enums/status.enum.d.ts +1 -4
- package/dist/wa-server/enums/status.enum.js +1 -4
- package/dist/wa-server/interfaces/i-wa-server.d.ts +2 -1
- package/package.json +1 -1
@@ -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 (
|
5
|
+
// #endregion Properties (9)
|
6
6
|
// #region Constructors (1)
|
7
7
|
function InvoiceItemEntity(data) {
|
8
|
-
// #region Properties (
|
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
|
-
|
6
|
-
totalPrice: number;
|
6
|
+
quantity: number;
|
7
7
|
reference: string | null;
|
8
|
-
|
8
|
+
totalPrice: number;
|
9
|
+
unitPrice: number;
|
9
10
|
updatedAt: Date;
|
10
11
|
}
|
package/dist/package.json
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { IEvolutionInstance } from '../../evolution';
|
1
2
|
import { EWaServerStatus } from '../enums';
|
2
3
|
import { IWaServer } from '../interfaces';
|
3
4
|
export declare class WaServerEntity implements IWaServer {
|
@@ -6,12 +7,12 @@ export declare class WaServerEntity implements IWaServer {
|
|
6
7
|
createdAt: Date;
|
7
8
|
globalApiKey: string;
|
8
9
|
id: string;
|
9
|
-
|
10
|
+
instances: IEvolutionInstance[];
|
10
11
|
name: string;
|
11
|
-
tags: string[];
|
12
12
|
sessions: number;
|
13
13
|
stack: string;
|
14
14
|
status: EWaServerStatus;
|
15
|
+
tags: string[];
|
15
16
|
updatedAt: Date;
|
16
17
|
constructor(data?: Partial<WaServerEntity>);
|
17
18
|
}
|
@@ -3,19 +3,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.WaServerEntity = void 0;
|
4
4
|
var enums_1 = require("../enums");
|
5
5
|
var WaServerEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (12)
|
7
|
+
// #region Constructors (1)
|
6
8
|
function WaServerEntity(data) {
|
7
|
-
// #region Properties (
|
9
|
+
// #region Properties (12)
|
8
10
|
this.active = false;
|
9
11
|
this.baseUrl = '';
|
10
12
|
this.createdAt = new Date();
|
11
13
|
this.globalApiKey = '';
|
12
14
|
this.id = '';
|
13
|
-
this.
|
15
|
+
this.instances = [];
|
14
16
|
this.name = '';
|
15
|
-
this.tags = [];
|
16
17
|
this.sessions = 0;
|
17
18
|
this.stack = '';
|
18
19
|
this.status = enums_1.EWaServerStatus.STOPPED;
|
20
|
+
this.tags = [];
|
19
21
|
this.updatedAt = new Date();
|
20
22
|
if (data) {
|
21
23
|
for (var key in data) {
|
@@ -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["
|
8
|
+
EWaServerStatus["FULL"] = "FULL";
|
12
9
|
})(EWaServerStatus || (exports.EWaServerStatus = EWaServerStatus = {}));
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { IEvolutionInstance } from '../../evolution';
|
1
2
|
import { EWaServerStatus } from '../enums';
|
2
3
|
export interface IWaServer {
|
3
4
|
active: boolean;
|
@@ -10,6 +11,6 @@ export interface IWaServer {
|
|
10
11
|
tags: string[];
|
11
12
|
baseUrl: string;
|
12
13
|
globalApiKey: string;
|
14
|
+
instances: IEvolutionInstance[];
|
13
15
|
sessions: number;
|
14
|
-
installIds: string[];
|
15
16
|
}
|