cecon-interfaces 1.2.23 → 1.2.25
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/evolution/entities/instance.entity.mjs +3 -5
- package/dist/esm2022/evolution/interfaces/i-instance.mjs +1 -1
- package/dist/esm2022/installation/entities/installation.entity.mjs +8 -7
- package/dist/esm2022/installation/interfaces/i-installation.mjs +1 -1
- package/dist/evolution/entities/instance.entity.d.ts +2 -4
- package/dist/evolution/entities/instance.entity.js +2 -4
- package/dist/evolution/interfaces/i-instance.d.ts +3 -5
- package/dist/fesm2022/cecon-interfaces.mjs +9 -10
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/installation/entities/installation.entity.d.ts +5 -4
- package/dist/installation/entities/installation.entity.js +7 -6
- package/dist/installation/interfaces/i-installation.d.ts +5 -4
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -2,10 +2,8 @@ export class EvolutionInstanceEntity {
|
|
2
2
|
// #region Properties (7)
|
3
3
|
apikey = '';
|
4
4
|
instanceName = '';
|
5
|
-
|
6
|
-
|
7
|
-
profilePictureUrl = null;
|
8
|
-
profileStatus = null;
|
5
|
+
instanceId = '';
|
6
|
+
serverUrl = '';
|
9
7
|
status = '';
|
10
8
|
// #endregion Properties (7)
|
11
9
|
// #region Constructors (1)
|
@@ -19,4 +17,4 @@ export class EvolutionInstanceEntity {
|
|
19
17
|
}
|
20
18
|
}
|
21
19
|
}
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zdGFuY2UuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2V2b2x1dGlvbi9lbnRpdGllcy9pbnN0YW5jZS5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLHVCQUF1QjtJQUNsQyx5QkFBeUI7SUFFbEIsTU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ogUGFydGlhbDxFdm9sdXRpb25JbnN0YW5jZUVudGl0eT4pIHtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnN0YW5jZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ldm9sdXRpb24vaW50ZXJmYWNlcy9pLWluc3RhbmNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElFdm9sdXRpb25JbnN0YW5jZSB7XG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoNylcblxuICBpbnN0YW5jZU5hbWU6IHN0cmluZztcbiAgaW5zdGFuY2VJZDogc3RyaW5nO1xuICBzdGF0dXM6ICdjcmVhdGVkJyB8ICd1cGRhdGVkJyB8ICdkZWxldGVkJyB8IHN0cmluZztcbiAgc2VydmVyVXJsOiBzdHJpbmc7XG4gIGFwaWtleTogc3RyaW5nO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNylcbn1cbiJdfQ==
|
@@ -1,21 +1,22 @@
|
|
1
1
|
import { ESubscriptionStatus } from '../../subscription-base';
|
2
2
|
import { InstallationAppEntity } from './installation-app.entity';
|
3
3
|
export class InstallationEntity {
|
4
|
-
// #region Properties (
|
4
|
+
// #region Properties (14)
|
5
5
|
app = new InstallationAppEntity();
|
6
|
+
companyId = '';
|
7
|
+
containerId = '';
|
6
8
|
createdAt = new Date();
|
7
9
|
customConfig = null;
|
8
|
-
|
10
|
+
customerId = '';
|
11
|
+
deviceId = '';
|
9
12
|
featureId = '';
|
10
13
|
id = '';
|
11
|
-
|
14
|
+
partnerId = '';
|
12
15
|
status = ESubscriptionStatus.PLACED;
|
13
16
|
subscriptionId = '';
|
14
17
|
tags = [];
|
15
|
-
trialEndDate = new Date();
|
16
|
-
trialStartDate = new Date();
|
17
18
|
updatedAt = new Date();
|
18
|
-
// #endregion Properties (
|
19
|
+
// #endregion Properties (14)
|
19
20
|
// #region Constructors (1)
|
20
21
|
constructor(data) {
|
21
22
|
if (data) {
|
@@ -27,4 +28,4 @@ export class InstallationEntity {
|
|
27
28
|
}
|
28
29
|
}
|
29
30
|
}
|
30
|
-
//# sourceMappingURL=data:application/json;base64,
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zdGFsbGF0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnN0YWxsYXRpb24vZW50aXRpZXMvaW5zdGFsbGF0aW9uLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUU5RCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUVsRSxNQUFNLE9BQU8sa0JBQWtCO0lBQzdCLDBCQUEwQjtJQUVuQixHQUFHLEdBQTBCLElBQUkscUJBQXFCLEVBQUUsQ0FBQztJQUN6RCxTQUFTLEdBQVcsRUFBRSxDQUFDO0lBQ3ZCLFdBQVcsR0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bnN0YWxsYXRpb25FbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnN0YWxsYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW5zdGFsbGF0aW9uL2ludGVyZmFjZXMvaS1pbnN0YWxsYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEFwcENvbmZpZ1R5cGUgfSBmcm9tICcuLi8uLi9hcHAnO1xuaW1wb3J0IHsgRVN1YnNjcmlwdGlvblN0YXR1cyB9IGZyb20gJy4uLy4uL3N1YnNjcmlwdGlvbi1iYXNlJztcbmltcG9ydCB7IElJbnN0YWxsYXRpb25BcHAgfSBmcm9tICcuL2ktaW5zdGFsbGF0aW9uLWFwcCc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUluc3RhbGxhdGlvbiB7XG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoMTMpXG5cbiAgYXBwOiBJSW5zdGFsbGF0aW9uQXBwO1xuICBjcmVhdGVkQXQ6IERhdGU7XG4gIGN1c3RvbUNvbmZpZzogQXBwQ29uZmlnVHlwZTtcbiAgZmVhdHVyZUlkOiBzdHJpbmc7XG4gIGNvbnRhaW5lcklkOiBzdHJpbmc7XG4gIGNvbXBhbnlJZDogc3RyaW5nO1xuICBwYXJ0bmVySWQ6IHN0cmluZztcbiAgY3VzdG9tZXJJZDogc3RyaW5nO1xuICBkZXZpY2VJZDogc3RyaW5nO1xuICBpZDogc3RyaW5nO1xuICBzdGF0dXM6IEVTdWJzY3JpcHRpb25TdGF0dXM7XG4gIHN1YnNjcmlwdGlvbklkOiBzdHJpbmc7XG4gIHRhZ3M6IHN0cmluZ1tdO1xuICB1cGRhdGVkQXQ6IERhdGU7XG5cbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxMylcbn1cbiJdfQ==
|
@@ -2,10 +2,8 @@ import { IEvolutionInstance } from '../interfaces';
|
|
2
2
|
export declare class EvolutionInstanceEntity implements IEvolutionInstance {
|
3
3
|
apikey: string;
|
4
4
|
instanceName: string;
|
5
|
-
|
6
|
-
|
7
|
-
profilePictureUrl: string | null;
|
8
|
-
profileStatus: string | null;
|
5
|
+
instanceId: string;
|
6
|
+
serverUrl: string;
|
9
7
|
status: string;
|
10
8
|
constructor(data?: Partial<EvolutionInstanceEntity>);
|
11
9
|
}
|
@@ -8,10 +8,8 @@ var EvolutionInstanceEntity = /** @class */ (function () {
|
|
8
8
|
// #region Properties (7)
|
9
9
|
this.apikey = '';
|
10
10
|
this.instanceName = '';
|
11
|
-
this.
|
12
|
-
this.
|
13
|
-
this.profilePictureUrl = null;
|
14
|
-
this.profileStatus = null;
|
11
|
+
this.instanceId = '';
|
12
|
+
this.serverUrl = '';
|
15
13
|
this.status = '';
|
16
14
|
if (data) {
|
17
15
|
for (var key in data) {
|
@@ -1,9 +1,7 @@
|
|
1
1
|
export interface IEvolutionInstance {
|
2
|
-
apikey: string;
|
3
2
|
instanceName: string;
|
4
|
-
|
5
|
-
profileName: string | null;
|
6
|
-
profilePictureUrl: string | null;
|
7
|
-
profileStatus: string | null;
|
3
|
+
instanceId: string;
|
8
4
|
status: 'created' | 'updated' | 'deleted' | string;
|
5
|
+
serverUrl: string;
|
6
|
+
apikey: string;
|
9
7
|
}
|
@@ -794,10 +794,8 @@ class EvolutionInstanceEntity {
|
|
794
794
|
// #region Properties (7)
|
795
795
|
apikey = '';
|
796
796
|
instanceName = '';
|
797
|
-
|
798
|
-
|
799
|
-
profilePictureUrl = null;
|
800
|
-
profileStatus = null;
|
797
|
+
instanceId = '';
|
798
|
+
serverUrl = '';
|
801
799
|
status = '';
|
802
800
|
// #endregion Properties (7)
|
803
801
|
// #region Constructors (1)
|
@@ -2170,21 +2168,22 @@ class InstallationAppEntity {
|
|
2170
2168
|
}
|
2171
2169
|
|
2172
2170
|
class InstallationEntity {
|
2173
|
-
// #region Properties (
|
2171
|
+
// #region Properties (14)
|
2174
2172
|
app = new InstallationAppEntity();
|
2173
|
+
companyId = '';
|
2174
|
+
containerId = '';
|
2175
2175
|
createdAt = new Date();
|
2176
2176
|
customConfig = null;
|
2177
|
-
|
2177
|
+
customerId = '';
|
2178
|
+
deviceId = '';
|
2178
2179
|
featureId = '';
|
2179
2180
|
id = '';
|
2180
|
-
|
2181
|
+
partnerId = '';
|
2181
2182
|
status = ESubscriptionStatus.PLACED;
|
2182
2183
|
subscriptionId = '';
|
2183
2184
|
tags = [];
|
2184
|
-
trialEndDate = new Date();
|
2185
|
-
trialStartDate = new Date();
|
2186
2185
|
updatedAt = new Date();
|
2187
|
-
// #endregion Properties (
|
2186
|
+
// #endregion Properties (14)
|
2188
2187
|
// #region Constructors (1)
|
2189
2188
|
constructor(data) {
|
2190
2189
|
if (data) {
|