cecon-interfaces 1.0.47 → 1.0.49
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/company/entities/company.entity.d.ts +2 -2
- package/dist/company/entities/company.entity.js +2 -2
- package/dist/company/interfaces/i-company.d.ts +2 -2
- package/dist/device/entities/device.entity.d.ts +2 -2
- package/dist/device/entities/device.entity.js +2 -2
- package/dist/device/entities/installed-apps.entity.d.ts +5 -5
- package/dist/device/entities/installed-apps.entity.js +5 -5
- package/dist/device/interfaces/i-device.d.ts +2 -2
- package/dist/device/interfaces/i-installed-apps.d.ts +5 -5
- package/dist/esm2022/company/entities/company.entity.mjs +3 -3
- package/dist/esm2022/company/interfaces/i-company.mjs +1 -1
- package/dist/esm2022/device/entities/device.entity.mjs +3 -3
- package/dist/esm2022/device/entities/installed-apps.entity.mjs +6 -6
- package/dist/esm2022/device/interfaces/i-device.mjs +1 -1
- package/dist/esm2022/device/interfaces/i-installed-apps.mjs +1 -1
- package/dist/esm2022/general/entities/base.entity.mjs +3 -3
- package/dist/esm2022/general/entities/payment-method.entity.mjs +3 -3
- package/dist/esm2022/general/entities/rating.entity.mjs +2 -2
- package/dist/esm2022/general/interfaces/i-base.mjs +1 -1
- package/dist/esm2022/general/interfaces/i-payment-method.mjs +1 -1
- package/dist/esm2022/general/interfaces/i-rating.mjs +1 -1
- package/dist/esm2022/invite/entities/invite.entity.mjs +4 -4
- package/dist/esm2022/invite/interfaces/i-invite.mjs +1 -1
- package/dist/esm2022/lead/entities/lead.entity.mjs +4 -4
- package/dist/esm2022/lead/interfaces/i-lead.mjs +1 -1
- package/dist/esm2022/order/entities/order.entity.mjs +3 -3
- package/dist/esm2022/order/interfaces/i-order.mjs +1 -1
- package/dist/esm2022/partner/entities/partner.entity.mjs +2 -2
- package/dist/esm2022/partner/interfaces/i-partner.mjs +1 -1
- package/dist/esm2022/plan/entities/feature.entity.mjs +3 -3
- package/dist/esm2022/plan/entities/plan.entity.mjs +3 -3
- package/dist/esm2022/plan/interfaces/i-feature.mjs +1 -1
- package/dist/esm2022/plan/interfaces/i-plan.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +22 -22
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/entities/base.entity.d.ts +2 -2
- package/dist/general/entities/base.entity.js +2 -2
- package/dist/general/entities/payment-method.entity.d.ts +2 -2
- package/dist/general/entities/payment-method.entity.js +2 -2
- package/dist/general/entities/rating.entity.d.ts +1 -1
- package/dist/general/entities/rating.entity.js +1 -1
- package/dist/general/interfaces/i-base.d.ts +2 -2
- package/dist/general/interfaces/i-payment-method.d.ts +2 -2
- package/dist/general/interfaces/i-rating.d.ts +1 -1
- package/dist/invite/entities/invite.entity.d.ts +3 -3
- package/dist/invite/entities/invite.entity.js +3 -3
- package/dist/invite/interfaces/i-invite.d.ts +3 -3
- package/dist/lead/entities/lead.entity.d.ts +3 -3
- package/dist/lead/entities/lead.entity.js +3 -3
- package/dist/lead/interfaces/i-lead.d.ts +6 -5
- package/dist/order/entities/order.entity.d.ts +2 -2
- package/dist/order/entities/order.entity.js +2 -2
- package/dist/order/interfaces/i-order.d.ts +2 -2
- package/dist/package.json +1 -1
- package/dist/partner/entities/partner.entity.d.ts +1 -1
- package/dist/partner/entities/partner.entity.js +1 -1
- package/dist/partner/interfaces/i-partner.d.ts +1 -1
- package/dist/plan/entities/feature.entity.d.ts +2 -2
- package/dist/plan/entities/feature.entity.js +2 -2
- package/dist/plan/entities/plan.entity.d.ts +2 -2
- package/dist/plan/entities/plan.entity.js +2 -2
- package/dist/plan/interfaces/i-feature.d.ts +2 -2
- package/dist/plan/interfaces/i-plan.d.ts +2 -2
- package/package.json +1 -1
@@ -14,7 +14,7 @@ export declare class CompanyEntity implements ICompany {
|
|
14
14
|
bgImageURL?: string;
|
15
15
|
config: MobyoApiConfigEntity;
|
16
16
|
containerId: string;
|
17
|
-
createdAt:
|
17
|
+
createdAt: Date;
|
18
18
|
deliveryArea: DeliveryAreaEntity[];
|
19
19
|
deliveryAreaFixed?: DeliveryAreaFixedEntity | null;
|
20
20
|
doc: string;
|
@@ -34,7 +34,7 @@ export declare class CompanyEntity implements ICompany {
|
|
34
34
|
pubsubTopic: string;
|
35
35
|
sandbox: boolean;
|
36
36
|
tags: string[];
|
37
|
-
updatedAt:
|
37
|
+
updatedAt: Date;
|
38
38
|
version: string;
|
39
39
|
constructor(data?: Partial<CompanyEntity>);
|
40
40
|
}
|
@@ -16,7 +16,7 @@ var CompanyEntity = /** @class */ (function () {
|
|
16
16
|
this.bgImageURL = '';
|
17
17
|
this.config = new mobyo_apiconfig_entity_1.MobyoApiConfigEntity();
|
18
18
|
this.containerId = '';
|
19
|
-
this.createdAt = Date
|
19
|
+
this.createdAt = new Date();
|
20
20
|
this.deliveryArea = [];
|
21
21
|
this.deliveryAreaFixed = null;
|
22
22
|
this.doc = '';
|
@@ -36,7 +36,7 @@ var CompanyEntity = /** @class */ (function () {
|
|
36
36
|
this.pubsubTopic = '';
|
37
37
|
this.sandbox = false;
|
38
38
|
this.tags = [];
|
39
|
-
this.updatedAt =
|
39
|
+
this.updatedAt = new Date();
|
40
40
|
this.version = '1.0.0';
|
41
41
|
if (data) {
|
42
42
|
for (var key in data) {
|
@@ -4,7 +4,7 @@ export interface ICompany {
|
|
4
4
|
address: IAddress;
|
5
5
|
bgImageURL?: string;
|
6
6
|
containerId: string;
|
7
|
-
createdAt:
|
7
|
+
createdAt: Date;
|
8
8
|
deliveryArea: IDeliveryArea[];
|
9
9
|
deliveryAreaFixed?: IDeliveryAreaFixed | null;
|
10
10
|
doc: string;
|
@@ -25,6 +25,6 @@ export interface ICompany {
|
|
25
25
|
fullName: string;
|
26
26
|
sandbox: boolean;
|
27
27
|
tags: string[];
|
28
|
-
updatedAt:
|
28
|
+
updatedAt: Date;
|
29
29
|
version: string;
|
30
30
|
}
|
@@ -5,7 +5,7 @@ export declare class DeviceEntity implements IDevice {
|
|
5
5
|
active: boolean;
|
6
6
|
companyId: string;
|
7
7
|
containerId: string;
|
8
|
-
createdAt:
|
8
|
+
createdAt: Date;
|
9
9
|
deviceId: string;
|
10
10
|
os: OsEnum;
|
11
11
|
osVersion: string;
|
@@ -16,6 +16,6 @@ export declare class DeviceEntity implements IDevice {
|
|
16
16
|
name: string;
|
17
17
|
tags: string[];
|
18
18
|
topicSubscriptions: string[];
|
19
|
-
updatedAt:
|
19
|
+
updatedAt: Date;
|
20
20
|
constructor(data?: Partial<DeviceEntity>);
|
21
21
|
}
|
@@ -10,7 +10,7 @@ var DeviceEntity = /** @class */ (function () {
|
|
10
10
|
this.active = false;
|
11
11
|
this.companyId = '';
|
12
12
|
this.containerId = '';
|
13
|
-
this.createdAt =
|
13
|
+
this.createdAt = new Date();
|
14
14
|
this.deviceId = '';
|
15
15
|
this.os = os_enum_1.OsEnum.UNKNOWN;
|
16
16
|
this.osVersion = '';
|
@@ -21,7 +21,7 @@ var DeviceEntity = /** @class */ (function () {
|
|
21
21
|
this.name = '';
|
22
22
|
this.tags = [];
|
23
23
|
this.topicSubscriptions = [];
|
24
|
-
this.updatedAt =
|
24
|
+
this.updatedAt = new Date();
|
25
25
|
if (data) {
|
26
26
|
for (var key in data) {
|
27
27
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -1,20 +1,20 @@
|
|
1
1
|
import { AppConfigType } from '../../app';
|
2
2
|
import { IDeviceInstalledApps } from '../interfaces/i-installed-apps';
|
3
3
|
export declare class DeviceInstalledAppsEntity implements IDeviceInstalledApps {
|
4
|
-
activationDate:
|
4
|
+
activationDate: Date;
|
5
5
|
active: boolean;
|
6
6
|
appId: string;
|
7
7
|
id: string;
|
8
|
-
createdAt:
|
8
|
+
createdAt: Date;
|
9
9
|
customConfig: AppConfigType;
|
10
10
|
subscriptionId: string;
|
11
|
-
expirationDate:
|
11
|
+
expirationDate: Date;
|
12
12
|
isPaid: boolean;
|
13
13
|
orderId: string;
|
14
|
-
renewPaymentDate:
|
14
|
+
renewPaymentDate: Date;
|
15
15
|
title: string;
|
16
16
|
topicSubscriptions: string[];
|
17
|
-
updatedAt:
|
17
|
+
updatedAt: Date;
|
18
18
|
version: string;
|
19
19
|
constructor(data?: Partial<DeviceInstalledAppsEntity>);
|
20
20
|
}
|
@@ -6,20 +6,20 @@ var DeviceInstalledAppsEntity = /** @class */ (function () {
|
|
6
6
|
// #region Constructors (1)
|
7
7
|
function DeviceInstalledAppsEntity(data) {
|
8
8
|
// #region Properties (13)
|
9
|
-
this.activationDate = Date
|
9
|
+
this.activationDate = new Date();
|
10
10
|
this.active = false;
|
11
11
|
this.appId = '';
|
12
12
|
this.id = '';
|
13
|
-
this.createdAt = Date
|
13
|
+
this.createdAt = new Date();
|
14
14
|
this.customConfig = null;
|
15
15
|
this.subscriptionId = '';
|
16
|
-
this.expirationDate = Date
|
16
|
+
this.expirationDate = new Date();
|
17
17
|
this.isPaid = false;
|
18
18
|
this.orderId = '';
|
19
|
-
this.renewPaymentDate = Date
|
19
|
+
this.renewPaymentDate = new Date();
|
20
20
|
this.title = '';
|
21
21
|
this.topicSubscriptions = [];
|
22
|
-
this.updatedAt = Date
|
22
|
+
this.updatedAt = new Date();
|
23
23
|
this.version = '';
|
24
24
|
if (data) {
|
25
25
|
for (var key in data) {
|
@@ -4,7 +4,7 @@ export interface IDevice {
|
|
4
4
|
active: boolean;
|
5
5
|
companyId: string;
|
6
6
|
containerId: string;
|
7
|
-
createdAt:
|
7
|
+
createdAt: Date;
|
8
8
|
deviceId: string;
|
9
9
|
id: string;
|
10
10
|
key: string;
|
@@ -15,5 +15,5 @@ export interface IDevice {
|
|
15
15
|
name: string;
|
16
16
|
tags: string[];
|
17
17
|
topicSubscriptions: string[];
|
18
|
-
updatedAt:
|
18
|
+
updatedAt: Date;
|
19
19
|
}
|
@@ -1,18 +1,18 @@
|
|
1
1
|
import { AppConfigType } from '../../app';
|
2
2
|
export interface IDeviceInstalledApps {
|
3
|
-
activationDate:
|
3
|
+
activationDate: Date;
|
4
4
|
active: boolean;
|
5
5
|
appId: string;
|
6
6
|
id: string;
|
7
|
-
createdAt:
|
7
|
+
createdAt: Date;
|
8
8
|
customConfig: AppConfigType;
|
9
|
-
expirationDate:
|
9
|
+
expirationDate: Date;
|
10
10
|
isPaid: boolean;
|
11
11
|
orderId: string;
|
12
12
|
subscriptionId: string;
|
13
|
-
renewPaymentDate:
|
13
|
+
renewPaymentDate: Date;
|
14
14
|
title: string;
|
15
15
|
topicSubscriptions: string[];
|
16
|
-
updatedAt:
|
16
|
+
updatedAt: Date;
|
17
17
|
version: string;
|
18
18
|
}
|
@@ -10,7 +10,7 @@ export class CompanyEntity {
|
|
10
10
|
bgImageURL = '';
|
11
11
|
config = new MobyoApiConfigEntity();
|
12
12
|
containerId = '';
|
13
|
-
createdAt = Date
|
13
|
+
createdAt = new Date();
|
14
14
|
deliveryArea = [];
|
15
15
|
deliveryAreaFixed = null;
|
16
16
|
doc = '';
|
@@ -30,7 +30,7 @@ export class CompanyEntity {
|
|
30
30
|
pubsubTopic = '';
|
31
31
|
sandbox = false;
|
32
32
|
tags = [];
|
33
|
-
updatedAt =
|
33
|
+
updatedAt = new Date();
|
34
34
|
version = '1.0.0';
|
35
35
|
// #endregion Properties (26)
|
36
36
|
// #region Constructors (1)
|
@@ -44,4 +44,4 @@ export class CompanyEntity {
|
|
44
44
|
}
|
45
45
|
}
|
46
46
|
}
|
47
|
-
//# sourceMappingURL=data:application/json;base64,
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGFueS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29tcGFueS9lbnRpdGllcy9jb21wYW55LmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzVDLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQUl0RSxPQUFPLEVB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1xuICAgIHB1YmxpYyB2ZXJzaW9uOiBzdHJpbmcgPSAnMS4wLjAnO1xuXG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgyNilcblxuICAgIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxuXG4gICAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8Q29tcGFueUVudGl0eT4pIHtcbiAgICAgICAgaWYgKGRhdGEpIHtcbiAgICAgICAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jb21wYW55LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbXBhbnkvaW50ZXJmYWNlcy9pLWNvbXBhbnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERvY1R5cGVFbnVtLCBJQWRkcmVzcywgSURlbGl2ZXJ5QXJlYSwgSURlbGl2ZXJ5QXJlYUZpeGVkLCBJTWVzc2FnZXJDaGFubmVsLCBJTW9ieW9BcGlDb25maWcsIElPcmlnaW4sIElQYXltZW50TWV0aG9kLCBJUGF5bWVudFByb3ZpZGVyIH0gZnJvbSAnLi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O1xyXG4gICAgdXBkYXRlZEF0OiBEYXRlO1xyXG4gICAgdmVyc2lvbjogc3RyaW5nO1xyXG5cclxuICAgIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMjcpXHJcbn1cclxuIl19
|
@@ -4,7 +4,7 @@ export class DeviceEntity {
|
|
4
4
|
active = false;
|
5
5
|
companyId = '';
|
6
6
|
containerId = '';
|
7
|
-
createdAt =
|
7
|
+
createdAt = new Date();
|
8
8
|
deviceId = '';
|
9
9
|
os = OsEnum.UNKNOWN;
|
10
10
|
osVersion = '';
|
@@ -15,7 +15,7 @@ export class DeviceEntity {
|
|
15
15
|
name = '';
|
16
16
|
tags = [];
|
17
17
|
topicSubscriptions = [];
|
18
|
-
updatedAt =
|
18
|
+
updatedAt = new Date();
|
19
19
|
// #endregion Properties (14)
|
20
20
|
// #region Constructors (1)
|
21
21
|
constructor(data) {
|
@@ -28,4 +28,4 @@ export class DeviceEntity {
|
|
28
28
|
}
|
29
29
|
}
|
30
30
|
}
|
31
|
-
//# sourceMappingURL=data:application/json;base64,
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV2aWNlLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9kZXZpY2UvZW50aXRpZXMvZGV2aWNlLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sNkJBQTZCLENBQUM7QUFJckQsTUFBTSxPQUFPLFlBQVk7SUFDckIsMEJBQTBCO0lBRW5CLE1BQU0sR0FBWSxLQUFLLENBQUM7SUFDeEIsU0FBUyxHQUFXLEVBQUUsQ0FBQztJQUN2QixXQUFXLEdBQVcsRUFBRSxDQUFDO0lBQ3pCLFNBQVMsR0FBUyxJQUFJLElBQUksRUFBRSxDQUFBO0lBQzVCLFFBQVEsR0FBV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kgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAgICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -1,19 +1,19 @@
|
|
1
1
|
export class DeviceInstalledAppsEntity {
|
2
2
|
// #region Properties (13)
|
3
|
-
activationDate = Date
|
3
|
+
activationDate = new Date();
|
4
4
|
active = false;
|
5
5
|
appId = '';
|
6
6
|
id = '';
|
7
|
-
createdAt = Date
|
7
|
+
createdAt = new Date();
|
8
8
|
customConfig = null;
|
9
9
|
subscriptionId = '';
|
10
|
-
expirationDate = Date
|
10
|
+
expirationDate = new Date();
|
11
11
|
isPaid = false;
|
12
12
|
orderId = '';
|
13
|
-
renewPaymentDate = Date
|
13
|
+
renewPaymentDate = new Date();
|
14
14
|
title = '';
|
15
15
|
topicSubscriptions = [];
|
16
|
-
updatedAt = Date
|
16
|
+
updatedAt = new Date();
|
17
17
|
version = '';
|
18
18
|
// #endregion Properties (13)
|
19
19
|
// #region Constructors (1)
|
@@ -27,4 +27,4 @@ export class DeviceInstalledAppsEntity {
|
|
27
27
|
}
|
28
28
|
}
|
29
29
|
}
|
30
|
-
//# sourceMappingURL=data:application/json;base64,
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zdGFsbGVkLWFwcHMuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2RldmljZS9lbnRpdGllcy9pbnN0YWxsZWQtYXBwcy5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsTUFBTSxPQUFPLHlCQUF5QjtJQUNsQywwQkFBMEI7SUFFbkIsY0F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EpXG5cbiAgICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxEZXZpY2VJbnN0YWxsZWRBcHBzRW50aXR5Pikge1xuICAgICAgICBpZiAoZGF0YSkge1xuICAgICAgICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1kZXZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZGV2aWNlL2ludGVyZmFjZXMvaS1kZXZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE9zRW51bSB9IGZyb20gJy4uLy4uL2dlbmVyYWwvZW51bXMvb3MuZW51bSc7XG5pbXBvcnQgeyBJRGV2aWNlSW5zdGFsbGVkQXBwcyB9IGZyb20gJy4vaS1pbnN0YWxsZWQtYXBwcyc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSURldmljZSB7XG4gICAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgxNClcbiAgICBhY3RpdmU6IGJvb2xlYW47XG4gICAgY29tcGFueUlkOiBzdHJpbmc7XG4gICAgY29udGFpbmVySWQ6IHN0cmluZztcbiAgICBjcmVhdGVkQXQ6IERhdGU7XG4gICAgZGV2aWNlSWQ6IHN0cmluZztcbiAgICBpZDogc3RyaW5nO1xuICAgIGtleTogc3RyaW5nO1xuICAgIGxhc3RBY2Nlc3M6IG51bWJlcjtcbiAgICBpbnN0YWxsZWRBcHBzOiBJRGV2aWNlSW5zdGFsbGVkQXBwc1tdO1xuICAgIG9zOiBPc0VudW07XG4gICAgb3NWZXJzaW9uOiBzdHJpbmc7IFxuICAgIG5hbWU6IHN0cmluZztcbiAgICB0YWdzOiBzdHJpbmdbXTtcbiAgICB0b3BpY1N1YnNjcmlwdGlvbnM6IHN0cmluZ1tdO1xuICAgIHVwZGF0ZWRBdDogRGF0ZTtcblxuICAgIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMTQpXG59XG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnN0YWxsZWQtYXBwcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9kZXZpY2UvaW50ZXJmYWNlcy9pLWluc3RhbGxlZC1hcHBzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBcHBDb25maWdUeXBlIH0gZnJvbSAnLi4vLi4vYXBwJztcblxuZXhwb3J0IGludGVyZmFjZSBJRGV2aWNlSW5zdGFsbGVkQXBwcyB7XG4gICAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgxMylcblxuICAgIGFjdGl2YXRpb25EYXRlOiBEYXRlO1xuICAgIGFjdGl2ZTogYm9vbGVhbjtcbiAgICBhcHBJZDogc3RyaW5nO1xuICAgIGlkOiBzdHJpbmc7XG4gICAgY3JlYXRlZEF0OiBEYXRlO1xuICAgIGN1c3RvbUNvbmZpZzogQXBwQ29uZmlnVHlwZTtcbiAgICBleHBpcmF0aW9uRGF0ZTogRGF0ZTtcbiAgICBpc1BhaWQ6IGJvb2xlYW47XG4gICAgb3JkZXJJZDogc3RyaW5nO1xuICAgIHN1YnNjcmlwdGlvbklkOiBzdHJpbmc7XG4gICAgcmVuZXdQYXltZW50RGF0ZTogRGF0ZTtcbiAgICB0aXRsZTogc3RyaW5nO1xuICAgIHRvcGljU3Vic2NyaXB0aW9uczogc3RyaW5nW107XG4gICAgdXBkYXRlZEF0OiBEYXRlO1xuICAgIHZlcnNpb246IHN0cmluZztcblxuICAgIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMTMpXG59XG4iXX0=
|
@@ -4,9 +4,9 @@ export class BaseEntity {
|
|
4
4
|
active = true;
|
5
5
|
companyId = '';
|
6
6
|
containerId = '';
|
7
|
-
createdAt = Date
|
7
|
+
createdAt = new Date();
|
8
8
|
id = '';
|
9
|
-
updatedAt = Date
|
9
|
+
updatedAt = new Date();
|
10
10
|
// #endregion Properties (6)
|
11
11
|
// #region Constructors (1)
|
12
12
|
constructor(data) {
|
@@ -19,4 +19,4 @@ export class BaseEntity {
|
|
19
19
|
}
|
20
20
|
}
|
21
21
|
}
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9lbnRpdGllcy9iYXNlLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw0QkFBNEI7QUFFNUIsTUFBTSxPQUFPLFVBQVU7SUFDbkIseUJBQXlCO0lBRWxCLE1BQU0sR0FBWSxJQUFJLENBQUM7SUFDdkIsU0FBUyxHQUFXLEVBQUUsQ0FBQztJQUN2QixXQUFXLEdBQVcsRUFBRSxDQU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hc2VFbnRpdHk+KSB7XG4gICAgICAgIGlmIChkYXRhKSB7XG4gICAgICAgICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICAgICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAgICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -5,7 +5,7 @@ export class PaymentMethodEntity {
|
|
5
5
|
// #region Properties (13)
|
6
6
|
active = false;
|
7
7
|
channel = PaymentChannelEnum.AUTOMATION;
|
8
|
-
createdAt =
|
8
|
+
createdAt = new Date();
|
9
9
|
fee = 0;
|
10
10
|
id = '';
|
11
11
|
index = 0;
|
@@ -15,7 +15,7 @@ export class PaymentMethodEntity {
|
|
15
15
|
name = '';
|
16
16
|
token = '';
|
17
17
|
type = PaymentTypeEnum.CREDIT_CARD;
|
18
|
-
updatedAt = Date
|
18
|
+
updatedAt = new Date();
|
19
19
|
// #endregion Properties (13)
|
20
20
|
// #region Constructors (1)
|
21
21
|
constructor(data) {
|
@@ -28,4 +28,4 @@ export class PaymentMethodEntity {
|
|
28
28
|
}
|
29
29
|
}
|
30
30
|
}
|
31
|
-
//# sourceMappingURL=data:application/json;base64,
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1tZXRob2QuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2dlbmVyYWwvZW50aXRpZXMvcGF5bWVudC1tZXRob2QuZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9B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F0ZSA9IG5ldyBEYXRlKCk7XG5cbiAgICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDEzKVxuXG4gICAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxQYXltZW50TWV0aG9kRW50aXR5Pikge1xuICAgICAgICBpZiAoZGF0YSkge1xuICAgICAgICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,7 +1,7 @@
|
|
1
1
|
export class RatingEntity {
|
2
2
|
// #region Properties (4)
|
3
3
|
comment = '';
|
4
|
-
createdAt = Date
|
4
|
+
createdAt = new Date();
|
5
5
|
rating = 5;
|
6
6
|
userId = '';
|
7
7
|
// #endregion Properties (4)
|
@@ -16,4 +16,4 @@ export class RatingEntity {
|
|
16
16
|
}
|
17
17
|
}
|
18
18
|
}
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF0aW5nLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmFsL2VudGl0aWVzL3JhdGluZy5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLFlBQVk7SUFDckIseUJBQXlCO0lBRXp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ChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn0iXX0=
|
@@ -1,3 +1,3 @@
|
|
1
1
|
// src/models/base.entity.ts
|
2
2
|
export {};
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2dlbmVyYWwvaW50ZXJmYWNlcy9pLWJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsNEJBQTRCIiwic291cmNlc0NvbnRlbnQiOlsiLy8gc3JjL21vZGVscy9iYXNlLmVudGl0eS50c1xuXG5leHBvcnQgaW50ZXJmYWNlIElCYXNlIHtcbiAgICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDcpXG5cbiAgICBhY3RpdmU6IGJvb2xlYW47XG4gICAgY29tcGFueUlkOiBzdHJpbmc7XG4gICAgY29udGFpbmVySWQ6IHN0cmluZztcbiAgICBjcmVhdGVkQXQ6IERhdGU7XG4gICAgaWQ6IHN0cmluZztcbiAgICB1cGRhdGVkQXQ6IERhdGU7XG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICg3KVxufVxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,e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:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1yYXRpbmcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9pbnRlcmZhY2VzL2ktcmF0aW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElSYXRpbmcge1xuICAgIC8vICNyZWdpb24gUHJvcGVydGllcyAoMylcbiAgICB1c2VySWQ6IHN0cmluZztcbiAgICByYXRpbmc6IG51bWJlcjtcbiAgICBjb21tZW50Pzogc3RyaW5nO1xuICAgIGNyZWF0ZWRBdDogRGF0ZTtcbiAgICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDMpXG59Il19
|
@@ -5,11 +5,11 @@ export class InviteEntity {
|
|
5
5
|
companyId = '';
|
6
6
|
companyName = '';
|
7
7
|
containerId = '';
|
8
|
-
createdAt = Date
|
8
|
+
createdAt = new Date();
|
9
9
|
doc = '';
|
10
10
|
docType = DocTypeEnum.CNPJ;
|
11
11
|
email = '';
|
12
|
-
expireAt = Date.
|
12
|
+
expireAt = new Date(new Date().getTime() + 86400000);
|
13
13
|
expired = false;
|
14
14
|
id = '';
|
15
15
|
internationalCode = '+55';
|
@@ -18,7 +18,7 @@ export class InviteEntity {
|
|
18
18
|
photoURL = '';
|
19
19
|
status = InviteStatusEnum.PENDING;
|
20
20
|
uid = '';
|
21
|
-
updatedAt = Date
|
21
|
+
updatedAt = new Date();
|
22
22
|
// #endregion Properties (17)
|
23
23
|
// #region Constructors (1)
|
24
24
|
constructor(data) {
|
@@ -31,4 +31,4 @@ export class InviteEntity {
|
|
31
31
|
}
|
32
32
|
}
|
33
33
|
}
|
34
|
-
//# sourceMappingURL=data:application/json;base64,
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJza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BDb25zdHJ1Y3RvcnMgKDEpXHJcbn1cclxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnZpdGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52aXRlL2ludGVyZmFjZXMvaS1pbnZpdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERvY1R5cGVFbnVtIH0gZnJvbSAnLi4vLi4vZ2VuZXJhbCc7XHJcbmltcG9ydCB7IEludml0ZVN0YXR1c0VudW0gfSBmcm9tICcuLi9lbnVtcyc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElJbnZpdGUge1xyXG4gICAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgxNylcclxuXHJcbiAgICBjb21wYW55SWQ6IHN0cmluZztcclxuICAgIGNvbXBhbnlOYW1lOiBzdHJpbmc7XHJcbiAgICBjb250YWluZXJJZDogc3RyaW5nO1xyXG4gICAgY3JlYXRlZEF0OiBEYXRlO1xyXG4gICAgZG9jOiBzdHJpbmc7XHJcbiAgICBkb2NUeXBlOiBEb2NUeXBlRW51bTtcclxuICAgIGVtYWlsOiBzdHJpbmc7XHJcbiAgICBleHBpcmVBdDogRGF0ZTtcclxuICAgIGV4cGlyZWQ6IGJvb2xlYW47XHJcbiAgICBpZDogc3RyaW5nO1xyXG4gICAgaW50ZXJuYXRpb25hbENvZGU6IHN0cmluZztcclxuICAgIG5hbWU6IHN0cmluZztcclxuICAgIHBob25lTnVtYmVyOiBzdHJpbmc7XHJcbiAgICBwaG90b1VSTDogc3RyaW5nO1xyXG4gICAgc3RhdHVzOiBJbnZpdGVTdGF0dXNFbnVtO1xyXG4gICAgdWlkOiBzdHJpbmc7XHJcbiAgICB1cGRhdGVkQXQ6IERhdGU7XHJcblxyXG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxNylcclxufVxyXG4iXX0=
|
@@ -11,7 +11,7 @@ export class LeadEntity {
|
|
11
11
|
/**ID do agente ou parceiro que cadastrou o lead. */
|
12
12
|
assignedTo = '';
|
13
13
|
/**Notas ou observações adicionais. */
|
14
|
-
createdAt = Date
|
14
|
+
createdAt = new Date();
|
15
15
|
/**Tipo de documento (CPF, CNPJ, Passaporte, etc.). */
|
16
16
|
doc = '';
|
17
17
|
/**Identificador único do lead. */
|
@@ -22,7 +22,7 @@ export class LeadEntity {
|
|
22
22
|
/**Fonte de origem do lead. */
|
23
23
|
interestedIn = [];
|
24
24
|
/**Data e hora de criação. */
|
25
|
-
lastContacted = Date
|
25
|
+
lastContacted = new Date();
|
26
26
|
/**Número do documento conforme o tipo. */
|
27
27
|
name = '';
|
28
28
|
note = '';
|
@@ -37,7 +37,7 @@ export class LeadEntity {
|
|
37
37
|
status = LeadStatusEnum.NEW;
|
38
38
|
/**ID do colaborador responsável pelo lead. */
|
39
39
|
tags = [];
|
40
|
-
updatedAt = Date
|
40
|
+
updatedAt = new Date();
|
41
41
|
// #endregion Properties (20)
|
42
42
|
// #region Constructors (1)
|
43
43
|
constructor(data) {
|
@@ -50,4 +50,4 @@ export class LeadEntity {
|
|
50
50
|
}
|
51
51
|
}
|
52
52
|
}
|
53
|
-
//# sourceMappingURL=data:application/json;base64,
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGVhZC5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGVhZC9lbnRpdGllcy9sZWFkLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsV0FBVyxFQUFFLGNBQWMsRUFBRSxNQUFNLHFCQU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leV07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG4gICAgLy8gRXRpcXVldGFzIG91IGNhdGVnb3JpYXMgcGFyYSBhanVkYXIgbmEgc2VnbWVudGHDp8OjbyBlIGJ1c2NhLlxufSJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1sZWFkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xlYWQvaW50ZXJmYWNlcy9pLWxlYWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IExlYWRPcmlnaW5FbnVtIH0gZnJvbSAnLi4vLi4vZ2VuZXJhbC9lbnVtcyc7XG5pbXBvcnQgeyBMZWFkU3RhdHVzRW51bSB9IGZyb20gJy4uL2VudW1zJztcblxuZXhwb3J0IGludGVyZmFjZSBJTGVhZCB7XG4gICAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgyMClcblxuICAgIC8qKlxuICAgICAqIExpc3RhIGRlIGF0aXZpZGFkZXMgb3UgZXZlbnRvcyByZWxhY2lvbmFkb3MgYW8gbGVhZC5cbiAgICAgKiBFeGVtcGxvOiBbJ0ZlaXJhIGRlIG5lZ8OzY2lvcycsICdFdmVudG8gZGUgbGFuw6dhbWVudG8nLCAnUmV1bmnDo28nXVxuICAgICAqICovXG4gICAgYWN0aXZpdHk/OiBzdHJpbmdbXTtcbiAgICAvKipcbiAgICAgKiBPdXRyb3MgZW5kZXJlw6dvcyBkZSBlLW1haWwsIHNlIGRpc3BvbsOtdmVpcy5cbiAgICAgKiovXG4gICAgYWx0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wKVxuICAgIC8vIEV0aXF1ZXRhcyBvdSBjYXRlZ29yaWFzIHBhcmEgYWp1ZGFyIG5hIHNlZ21lbnRhw6fDo28gZSBidXNjYS5cbn0iXX0=
|
@@ -10,7 +10,7 @@ export class OrderEntity {
|
|
10
10
|
cancellation = new OrderCancellationEntity();
|
11
11
|
companyId = '';
|
12
12
|
containerId = '';
|
13
|
-
createdAt = Date
|
13
|
+
createdAt = new Date();
|
14
14
|
customer = new OrderCustomerEntity();
|
15
15
|
id = '';
|
16
16
|
items = [];
|
@@ -19,7 +19,7 @@ export class OrderEntity {
|
|
19
19
|
sandbox = false;
|
20
20
|
status = OrderStatusEnum.PENDING;
|
21
21
|
total = new OrderTotalEntity();
|
22
|
-
updatedAt = Date
|
22
|
+
updatedAt = new Date();
|
23
23
|
version = '';
|
24
24
|
constructor(data) {
|
25
25
|
if (data) {
|
@@ -31,4 +31,4 @@ export class OrderEntity {
|
|
31
31
|
}
|
32
32
|
}
|
33
33
|
}
|
34
|
-
//# sourceMappingURL=data:application/json;base64,
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXIuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL29yZGVyL2VudGl0aWVzL29yZGVyLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sVUFBVSxDQUFDO0FBSTNDLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQ2hFLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBRXhELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ3RELE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGdCQUFnQixDQ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