cecon-interfaces 1.0.63 → 1.0.66
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/device/entities/device.entity.d.ts +0 -2
- package/dist/device/entities/device.entity.js +0 -1
- package/dist/device/interfaces/i-device.d.ts +0 -2
- package/dist/esm2022/device/entities/device.entity.mjs +1 -2
- package/dist/esm2022/device/interfaces/i-device.mjs +1 -1
- package/dist/esm2022/index.mjs +3 -1
- package/dist/esm2022/installed-apps/entities/index.mjs +2 -0
- package/dist/esm2022/installed-apps/entities/installed-apps.entity.mjs +32 -0
- package/dist/esm2022/installed-apps/index.mjs +3 -0
- package/dist/esm2022/installed-apps/interfaces/i-installed-apps.mjs +2 -0
- package/dist/esm2022/installed-apps/interfaces/index.mjs +2 -0
- package/dist/esm2022/notification/entities/notification.entity.mjs +3 -1
- package/dist/esm2022/notification/interfaces/i-notification.mjs +1 -1
- package/dist/esm2022/token/entities/index.mjs +2 -0
- package/dist/esm2022/token/entities/token.entity.mjs +27 -0
- package/dist/esm2022/token/index.mjs +3 -0
- package/dist/esm2022/token/interfaces/i-token.mjs +2 -0
- package/dist/esm2022/token/interfaces/index.mjs +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +61 -2
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/installed-apps/entities/index.d.ts +1 -0
- package/dist/installed-apps/entities/index.js +5 -0
- package/dist/{device → installed-apps}/entities/installed-apps.entity.d.ts +3 -3
- package/dist/{device → installed-apps}/entities/installed-apps.entity.js +5 -5
- package/dist/installed-apps/index.d.ts +2 -0
- package/dist/installed-apps/index.js +18 -0
- package/dist/{device → installed-apps}/interfaces/i-installed-apps.d.ts +1 -1
- package/dist/installed-apps/interfaces/index.d.ts +1 -0
- package/dist/installed-apps/interfaces/index.js +2 -0
- package/dist/notification/entities/notification.entity.d.ts +2 -0
- package/dist/notification/entities/notification.entity.js +2 -0
- package/dist/notification/interfaces/i-notification.d.ts +2 -0
- package/dist/package.json +1 -1
- package/dist/token/entities/index.d.ts +1 -0
- package/dist/token/entities/index.js +5 -0
- package/dist/token/entities/token.entity.d.ts +16 -0
- package/dist/token/entities/token.entity.js +31 -0
- package/dist/token/index.d.ts +2 -0
- package/dist/token/index.js +18 -0
- package/dist/token/interfaces/i-token.d.ts +14 -0
- package/dist/token/interfaces/i-token.js +2 -0
- package/dist/token/interfaces/index.d.ts +1 -0
- package/dist/token/interfaces/index.js +2 -0
- package/package.json +1 -1
- package/dist/esm2022/device/entities/installed-apps.entity.mjs +0 -32
- package/dist/esm2022/device/interfaces/i-installed-apps.mjs +0 -2
- /package/dist/{device → installed-apps}/interfaces/i-installed-apps.js +0 -0
package/dist/index.d.ts
CHANGED
@@ -3,6 +3,7 @@ export * from './company';
|
|
3
3
|
export * from './container';
|
4
4
|
export * from './device';
|
5
5
|
export * from './general';
|
6
|
+
export * from './installed-apps';
|
6
7
|
export * from './invite';
|
7
8
|
export * from './iugu';
|
8
9
|
export * from './lead';
|
@@ -12,4 +13,5 @@ export * from './order';
|
|
12
13
|
export * from './partner';
|
13
14
|
export * from './plan';
|
14
15
|
export * from './purchases';
|
16
|
+
export * from './token';
|
15
17
|
export * from './viacep';
|
package/dist/index.js
CHANGED
@@ -19,6 +19,7 @@ __exportStar(require("./company"), exports);
|
|
19
19
|
__exportStar(require("./container"), exports);
|
20
20
|
__exportStar(require("./device"), exports);
|
21
21
|
__exportStar(require("./general"), exports);
|
22
|
+
__exportStar(require("./installed-apps"), exports);
|
22
23
|
__exportStar(require("./invite"), exports);
|
23
24
|
__exportStar(require("./iugu"), exports);
|
24
25
|
__exportStar(require("./lead"), exports);
|
@@ -28,4 +29,5 @@ __exportStar(require("./order"), exports);
|
|
28
29
|
__exportStar(require("./partner"), exports);
|
29
30
|
__exportStar(require("./plan"), exports);
|
30
31
|
__exportStar(require("./purchases"), exports);
|
32
|
+
__exportStar(require("./token"), exports);
|
31
33
|
__exportStar(require("./viacep"), exports);
|
@@ -0,0 +1 @@
|
|
1
|
+
export { InstalledAppsEntity } from './installed-apps.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.InstalledAppsEntity = void 0;
|
4
|
+
var installed_apps_entity_1 = require("./installed-apps.entity");
|
5
|
+
Object.defineProperty(exports, "InstalledAppsEntity", { enumerable: true, get: function () { return installed_apps_entity_1.InstalledAppsEntity; } });
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AppConfigType, AppModeEnum } from '../../app';
|
2
|
-
import {
|
3
|
-
export declare class
|
2
|
+
import { IInstalledApps } from '../interfaces';
|
3
|
+
export declare class InstalledAppsEntity implements IInstalledApps {
|
4
4
|
activationDate: Date;
|
5
5
|
active: boolean;
|
6
6
|
appId: string;
|
@@ -17,5 +17,5 @@ export declare class DeviceInstalledAppsEntity implements IDeviceInstalledApps {
|
|
17
17
|
subscriptionId: string;
|
18
18
|
updatedAt: Date;
|
19
19
|
version: string;
|
20
|
-
constructor(data?: Partial<
|
20
|
+
constructor(data?: Partial<InstalledAppsEntity>);
|
21
21
|
}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.InstalledAppsEntity = void 0;
|
4
4
|
var app_1 = require("../../app");
|
5
|
-
var
|
5
|
+
var InstalledAppsEntity = /** @class */ (function () {
|
6
6
|
// #endregion Properties (16)
|
7
7
|
// #region Constructors (1)
|
8
|
-
function
|
8
|
+
function InstalledAppsEntity(data) {
|
9
9
|
// #region Properties (16)
|
10
10
|
this.activationDate = new Date();
|
11
11
|
this.active = false;
|
@@ -31,6 +31,6 @@ var DeviceInstalledAppsEntity = /** @class */ (function () {
|
|
31
31
|
}
|
32
32
|
}
|
33
33
|
}
|
34
|
-
return
|
34
|
+
return InstalledAppsEntity;
|
35
35
|
}());
|
36
|
-
exports.
|
36
|
+
exports.InstalledAppsEntity = InstalledAppsEntity;
|
@@ -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 @@
|
|
1
|
+
export { IInstalledApps } from './i-installed-apps';
|
@@ -13,6 +13,8 @@ var NotificationEntity = /** @class */ (function () {
|
|
13
13
|
this.createdAt = new Date();
|
14
14
|
this.data = '';
|
15
15
|
this.expirationTime = 3600;
|
16
|
+
this.title = '';
|
17
|
+
this.description = '';
|
16
18
|
this.id = '';
|
17
19
|
this.imageURL = '';
|
18
20
|
this.priority = enums_1.NotificationPriorityEnum.HIGH;
|
package/dist/package.json
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
export { TokenEntity } from './token.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.TokenEntity = void 0;
|
4
|
+
var token_entity_1 = require("./token.entity");
|
5
|
+
Object.defineProperty(exports, "TokenEntity", { enumerable: true, get: function () { return token_entity_1.TokenEntity; } });
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { IToken } from '../interfaces';
|
2
|
+
export declare class TokenEntity implements IToken {
|
3
|
+
active: boolean;
|
4
|
+
createdAt: number;
|
5
|
+
expiresAt: number;
|
6
|
+
id: string;
|
7
|
+
name: string;
|
8
|
+
companyId: string;
|
9
|
+
partnerId: string;
|
10
|
+
containerId: string;
|
11
|
+
sandbox: boolean;
|
12
|
+
lastAccessAt: number;
|
13
|
+
description: string;
|
14
|
+
value: string;
|
15
|
+
constructor(data?: Partial<TokenEntity>);
|
16
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.TokenEntity = void 0;
|
4
|
+
var TokenEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (18)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function TokenEntity(data) {
|
8
|
+
// #region Properties (18)
|
9
|
+
this.active = true;
|
10
|
+
this.createdAt = Date.now();
|
11
|
+
this.expiresAt = Date.now();
|
12
|
+
this.id = '';
|
13
|
+
this.name = '';
|
14
|
+
this.companyId = '';
|
15
|
+
this.partnerId = '';
|
16
|
+
this.containerId = '';
|
17
|
+
this.sandbox = false;
|
18
|
+
this.lastAccessAt = Date.now();
|
19
|
+
this.description = '';
|
20
|
+
this.value = '';
|
21
|
+
if (data) {
|
22
|
+
for (var key in data) {
|
23
|
+
if (data.hasOwnProperty(key) && key in this) {
|
24
|
+
this[key] = data[key];
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
return TokenEntity;
|
30
|
+
}());
|
31
|
+
exports.TokenEntity = TokenEntity;
|
@@ -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,14 @@
|
|
1
|
+
export interface IToken {
|
2
|
+
active: boolean;
|
3
|
+
createdAt: number;
|
4
|
+
expiresAt: number;
|
5
|
+
id: string;
|
6
|
+
name: string;
|
7
|
+
companyId: string;
|
8
|
+
partnerId: string;
|
9
|
+
containerId: string;
|
10
|
+
sandbox: boolean;
|
11
|
+
lastAccessAt: number;
|
12
|
+
description: string;
|
13
|
+
value: string;
|
14
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { IToken } from './i-token';
|
package/package.json
CHANGED
@@ -1,32 +0,0 @@
|
|
1
|
-
import { AppModeEnum } from '../../app';
|
2
|
-
export class DeviceInstalledAppsEntity {
|
3
|
-
// #region Properties (16)
|
4
|
-
activationDate = new Date();
|
5
|
-
active = false;
|
6
|
-
appId = '';
|
7
|
-
createdAt = new Date();
|
8
|
-
customConfig = null;
|
9
|
-
expirationDate = new Date();
|
10
|
-
iconUrl = '';
|
11
|
-
id = '';
|
12
|
-
isPaid = false;
|
13
|
-
name = '';
|
14
|
-
mode = AppModeEnum.NATI_GO;
|
15
|
-
orderId = '';
|
16
|
-
renewPaymentDate = new Date();
|
17
|
-
subscriptionId = '';
|
18
|
-
updatedAt = new Date();
|
19
|
-
version = '';
|
20
|
-
// #endregion Properties (16)
|
21
|
-
// #region Constructors (1)
|
22
|
-
constructor(data) {
|
23
|
-
if (data) {
|
24
|
-
for (let key in data) {
|
25
|
-
if (data.hasOwnProperty(key) && key in this) {
|
26
|
-
this[key] = data[key];
|
27
|
-
}
|
28
|
-
}
|
29
|
-
}
|
30
|
-
}
|
31
|
-
}
|
32
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zdGFsbGVkLWFwcHMuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2RldmljZS9lbnRpdGllcy9pbnN0YWxsZWQtYXBwcy5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFpQixXQUFXLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFHdkQsTUFBTSxPQUFPLHlCQUF5QjtJQUNsQywwQkFBMEI7SUFFbkIsY0FBYyxHQUFTLElBQUksSUFBSSxFQUFFLENBQUM7SUFDbEMsTUFBTSxHQUFZLEtBQUssQ0FBQztJQUN4QixLQUFLLEdBQVcsRUFBRSxDQUFDO0lBQ25CLFNBQVMsR0FBUyxJQUFJLElBQUksRUFBRSxDQUFDO0lBQzdCLFlBQVksR0FBa0IsSUFBSSxDQUFDO0lBQ25DLGNBQWMsR0FBUyxJQUFJLElBQUksRUFBRSxDQUFDO0lBQ2xDLE9BQU8sR0FBVyxFQUFFLENBQUM7SUFDckIsRUFBRSxHQUFXLEVBQUUsQ0FBQztJQUNoQixNQUFNLEdBQVksS0FBSyxDQUFDO0lBQ3hCLElBQUksR0FBVyxFQUFFLENBQUM7SUFDbEIsSUFBSSxHQUFnQixXQUFXLENBQUMsT0FBTyxDQUFDO0lBQ3hDLE9BQU8sR0FBVyxFQUFFLENBQUM7SUFDckIsZ0JBQWdCLEdBQVMsSUFBSSxJQUFJLEVBQUUsQ0FBQztJQUNwQyxjQUFjLEdBQVcsRUF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bn1cbiJdfQ==
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnN0YWxsZWQtYXBwcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9kZXZpY2UvaW50ZXJmYWNlcy9pLWluc3RhbGxlZC1hcHBzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBcHBDb25maWdUeXBlLCBBcHBNb2RlRW51bSB9IGZyb20gJy4uLy4uL2FwcCc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSURldmljZUluc3RhbGxlZEFwcHMge1xuICAgIC8vICNyZWdpb24gUHJvcGVydGllcyAoMTYpXG5cbiAgICBhY3RpdmF0aW9uRGF0ZTogRGF0ZTtcbiAgICBhY3RpdmU6IGJvb2xlYW47XG4gICAgYXBwSWQ6IHN0cmluZztcbiAgICBjcmVhdGVkQXQ6IERhdGU7XG4gICAgY3VzdG9tQ29uZmlnOiBBcHBDb25maWdUeXBlO1xuICAgIGV4cGlyYXRpb25EYXRlOiBEYXRlO1xuICAgIGljb25Vcmw6IHN0cmluZztcbiAgICBpZDogc3RyaW5nO1xuICAgIGlzUGFpZDogYm9vbGVhbjtcbiAgICBuYW1lOiBzdHJpbmc7XG4gICAgbW9kZTogQXBwTW9kZUVudW07XG4gICAgb3JkZXJJZDogc3RyaW5nO1xuICAgIHJlbmV3UGF5bWVudERhdGU6IERhdGU7XG4gICAgc3Vic2NyaXB0aW9uSWQ6IHN0cmluZztcbiAgICB1cGRhdGVkQXQ6IERhdGU7XG4gICAgdmVyc2lvbjogc3RyaW5nO1xuXG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxNilcbn1cbiJdfQ==
|
File without changes
|