easywork-common-lib 1.0.327 → 1.0.331
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities/helpers/tools/task_crm.entity.d.ts +5 -6
- package/dist/entities/helpers/tools/task_crm.entity.js +47 -47
- package/dist/entities/helpers/tools/task_crm.entity.js.map +1 -1
- package/dist/entities/imap-folder.entity.d.ts +7 -0
- package/dist/entities/imap-folder.entity.js +41 -0
- package/dist/entities/imap-folder.entity.js.map +1 -0
- package/dist/entities/oauth.entity.d.ts +16 -0
- package/dist/entities/oauth.entity.js +83 -0
- package/dist/entities/oauth.entity.js.map +1 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/entities/thirdparty/email-config.d.ts +0 -1
- package/dist/entities/thirdparty/email-config.js +0 -3
- package/dist/entities/thirdparty/email-config.js.map +0 -1
|
@@ -7,10 +7,9 @@ export declare class TaskCRM extends BaseEntity {
|
|
|
7
7
|
type: TaskCRMType;
|
|
8
8
|
taskId: string;
|
|
9
9
|
task: Task;
|
|
10
|
-
|
|
11
|
-
contact
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
lead: Lead;
|
|
10
|
+
referenceId: string;
|
|
11
|
+
contact?: Contact;
|
|
12
|
+
poliza?: Poliza;
|
|
13
|
+
lead?: Lead;
|
|
14
|
+
get crmEntity(): Contact | Poliza | Lead | undefined;
|
|
16
15
|
}
|
|
@@ -21,21 +21,38 @@ let TaskCRM = class TaskCRM extends typeorm_1.BaseEntity {
|
|
|
21
21
|
type;
|
|
22
22
|
taskId;
|
|
23
23
|
task;
|
|
24
|
-
|
|
24
|
+
referenceId;
|
|
25
25
|
contact;
|
|
26
|
-
polizaId;
|
|
27
26
|
poliza;
|
|
28
|
-
leadId;
|
|
29
27
|
lead;
|
|
28
|
+
get crmEntity() {
|
|
29
|
+
switch (this.type) {
|
|
30
|
+
case common_1.TaskCRMType.CONTACT:
|
|
31
|
+
return this.contact;
|
|
32
|
+
case common_1.TaskCRMType.POLIZA:
|
|
33
|
+
return this.poliza;
|
|
34
|
+
case common_1.TaskCRMType.LEAD:
|
|
35
|
+
return this.lead;
|
|
36
|
+
default:
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
30
40
|
};
|
|
31
41
|
exports.TaskCRM = TaskCRM;
|
|
32
42
|
__decorate([
|
|
33
|
-
(0, swagger_1.ApiProperty)({
|
|
43
|
+
(0, swagger_1.ApiProperty)({
|
|
44
|
+
type: String,
|
|
45
|
+
description: "UUID of the task CRM",
|
|
46
|
+
format: "uuid",
|
|
47
|
+
}),
|
|
34
48
|
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
35
49
|
__metadata("design:type", String)
|
|
36
50
|
], TaskCRM.prototype, "id", void 0);
|
|
37
51
|
__decorate([
|
|
38
|
-
(0, swagger_1.ApiProperty)({
|
|
52
|
+
(0, swagger_1.ApiProperty)({
|
|
53
|
+
enum: common_1.TaskCRMType,
|
|
54
|
+
description: "Type of the related CRM entity",
|
|
55
|
+
}),
|
|
39
56
|
(0, typeorm_1.Column)({
|
|
40
57
|
type: "enum",
|
|
41
58
|
enum: common_1.TaskCRMType,
|
|
@@ -43,70 +60,53 @@ __decorate([
|
|
|
43
60
|
__metadata("design:type", String)
|
|
44
61
|
], TaskCRM.prototype, "type", void 0);
|
|
45
62
|
__decorate([
|
|
46
|
-
(0, swagger_1.ApiProperty)({
|
|
63
|
+
(0, swagger_1.ApiProperty)({
|
|
64
|
+
type: String,
|
|
65
|
+
description: "ID of the associated task",
|
|
66
|
+
}),
|
|
47
67
|
(0, typeorm_1.Column)(),
|
|
48
68
|
__metadata("design:type", String)
|
|
49
69
|
], TaskCRM.prototype, "taskId", void 0);
|
|
50
70
|
__decorate([
|
|
51
71
|
(0, class_transformer_1.Exclude)(),
|
|
52
|
-
(0,
|
|
53
|
-
(0, typeorm_1.ManyToOne)(() => tools_1.Task, task => task.crm, {
|
|
72
|
+
(0, typeorm_1.ManyToOne)(() => tools_1.Task, (task) => task.crm, {
|
|
54
73
|
onDelete: "CASCADE",
|
|
55
74
|
onUpdate: "CASCADE",
|
|
56
75
|
}),
|
|
76
|
+
(0, typeorm_1.JoinColumn)({ name: "taskId" }),
|
|
57
77
|
__metadata("design:type", tools_1.Task)
|
|
58
78
|
], TaskCRM.prototype, "task", void 0);
|
|
59
79
|
__decorate([
|
|
60
|
-
(0, swagger_1.ApiProperty)({
|
|
61
|
-
|
|
62
|
-
|
|
80
|
+
(0, swagger_1.ApiProperty)({
|
|
81
|
+
type: String,
|
|
82
|
+
description: "ID of the associated CRM entity",
|
|
63
83
|
}),
|
|
84
|
+
(0, typeorm_1.Column)(),
|
|
64
85
|
__metadata("design:type", String)
|
|
65
|
-
], TaskCRM.prototype, "
|
|
86
|
+
], TaskCRM.prototype, "referenceId", void 0);
|
|
66
87
|
__decorate([
|
|
67
|
-
(0,
|
|
68
|
-
(0, typeorm_1.
|
|
69
|
-
onDelete: "CASCADE",
|
|
70
|
-
onUpdate: "CASCADE",
|
|
71
|
-
eager: true,
|
|
72
|
-
nullable: true,
|
|
73
|
-
}),
|
|
88
|
+
(0, typeorm_1.ManyToOne)(() => sales_1.Contact, { nullable: true }),
|
|
89
|
+
(0, typeorm_1.JoinColumn)({ name: "referenceIdc", referencedColumnName: "id" }),
|
|
74
90
|
__metadata("design:type", sales_1.Contact)
|
|
75
91
|
], TaskCRM.prototype, "contact", void 0);
|
|
76
92
|
__decorate([
|
|
77
|
-
(0,
|
|
78
|
-
(0, typeorm_1.
|
|
79
|
-
nullable: true,
|
|
80
|
-
}),
|
|
81
|
-
__metadata("design:type", String)
|
|
82
|
-
], TaskCRM.prototype, "polizaId", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
(0, swagger_1.ApiProperty)({ type: () => sales_1.Poliza, description: 'Policy entity associated', required: false }),
|
|
85
|
-
(0, typeorm_1.ManyToOne)(() => sales_1.Poliza, {
|
|
86
|
-
onDelete: "CASCADE",
|
|
87
|
-
onUpdate: "CASCADE",
|
|
88
|
-
eager: true,
|
|
89
|
-
nullable: true,
|
|
90
|
-
}),
|
|
93
|
+
(0, typeorm_1.ManyToOne)(() => sales_1.Poliza, { nullable: true }),
|
|
94
|
+
(0, typeorm_1.JoinColumn)({ name: "referenceIdp", referencedColumnName: "id" }),
|
|
91
95
|
__metadata("design:type", sales_1.Poliza)
|
|
92
96
|
], TaskCRM.prototype, "poliza", void 0);
|
|
93
97
|
__decorate([
|
|
94
|
-
(0,
|
|
95
|
-
(0, typeorm_1.
|
|
96
|
-
nullable: true,
|
|
97
|
-
}),
|
|
98
|
-
__metadata("design:type", String)
|
|
99
|
-
], TaskCRM.prototype, "leadId", void 0);
|
|
100
|
-
__decorate([
|
|
101
|
-
(0, swagger_1.ApiProperty)({ type: () => sales_1.Lead, description: 'Lead entity associated', required: false }),
|
|
102
|
-
(0, typeorm_1.ManyToOne)(() => sales_1.Lead, {
|
|
103
|
-
onDelete: "CASCADE",
|
|
104
|
-
onUpdate: "CASCADE",
|
|
105
|
-
eager: true,
|
|
106
|
-
nullable: true,
|
|
107
|
-
}),
|
|
98
|
+
(0, typeorm_1.ManyToOne)(() => sales_1.Lead, { nullable: true }),
|
|
99
|
+
(0, typeorm_1.JoinColumn)({ name: "referenceIdl", referencedColumnName: "id" }),
|
|
108
100
|
__metadata("design:type", sales_1.Lead)
|
|
109
101
|
], TaskCRM.prototype, "lead", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, class_transformer_1.Expose)(),
|
|
104
|
+
(0, swagger_1.ApiProperty)({
|
|
105
|
+
description: "Associated CRM entity (Contact, Poliza, or Lead)",
|
|
106
|
+
}),
|
|
107
|
+
__metadata("design:type", Object),
|
|
108
|
+
__metadata("design:paramtypes", [])
|
|
109
|
+
], TaskCRM.prototype, "crmEntity", null);
|
|
110
110
|
exports.TaskCRM = TaskCRM = __decorate([
|
|
111
111
|
(0, typeorm_1.Entity)()
|
|
112
112
|
], TaskCRM);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task_crm.entity.js","sourceRoot":"","sources":["../../../../src/entities/helpers/tools/task_crm.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"task_crm.entity.js","sourceRoot":"","sources":["../../../../src/entities/helpers/tools/task_crm.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAOiB;AACjB,yDAAoD;AACpD,mDAA+C;AAC/C,4CAA8C;AAC9C,mDAAgE;AAChE,6CAA8C;AAGvC,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,oBAAU;IAOrC,EAAE,CAAU;IAUZ,IAAI,CAAc;IAOlB,MAAM,CAAS;IAQf,IAAI,CAAO;IAOX,WAAW,CAAS;IAKpB,OAAO,CAAW;IAIlB,MAAM,CAAU;IAIhB,IAAI,CAAQ;IAEZ,IAII,SAAS;QACX,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,oBAAW,CAAC,OAAO;gBACtB,OAAO,IAAI,CAAC,OAAO,CAAC;YACtB,KAAK,oBAAW,CAAC,MAAM;gBACrB,OAAO,IAAI,CAAC,MAAM,CAAC;YACrB,KAAK,oBAAW,CAAC,IAAI;gBACnB,OAAO,IAAI,CAAC,IAAI,CAAC;YACnB;gBACE,OAAO,SAAS,CAAC;QACrB,CAAC;IACH,CAAC;CACF,CAAA;AAtEY,0BAAO;AAOlB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,sBAAsB;QACnC,MAAM,EAAE,MAAM;KACf,CAAC;IACD,IAAA,gCAAsB,EAAC,MAAM,CAAC;;mCACnB;AAUZ;IARC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,oBAAW;QACjB,WAAW,EAAE,gCAAgC;KAC9C,CAAC;IACD,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,oBAAW;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AC;QACX,WAAW,EAAE,kDAAkD;KAChE,CAAC;;;wCAYD;kBArEU,OAAO;IADnB,IAAA,gBAAM,GAAE;GACI,OAAO,CAsEnB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ImapFolder = void 0;
|
|
13
|
+
const database_1 = require("../common/database");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
let ImapFolder = class ImapFolder extends database_1.BaseEntity {
|
|
16
|
+
imapFolderId;
|
|
17
|
+
mailboxName;
|
|
18
|
+
userId;
|
|
19
|
+
type;
|
|
20
|
+
};
|
|
21
|
+
exports.ImapFolder = ImapFolder;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], ImapFolder.prototype, "imapFolderId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], ImapFolder.prototype, "mailboxName", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], ImapFolder.prototype, "userId", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], ImapFolder.prototype, "type", void 0);
|
|
38
|
+
exports.ImapFolder = ImapFolder = __decorate([
|
|
39
|
+
(0, typeorm_1.Entity)()
|
|
40
|
+
], ImapFolder);
|
|
41
|
+
//# sourceMappingURL=imap-folder.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"imap-folder.entity.js","sourceRoot":"","sources":["../../src/entities/imap-folder.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,qCAAyC;AAGlC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,qBAAU;IAEtC,YAAY,CAAS;IAGrB,WAAW,CAAS;IAGpB,MAAM,CAAS;IAGf,IAAI,CAAS;CAChB,CAAA;AAZY,gCAAU;AAEnB;IADC,IAAA,gBAAM,GAAE;;gDACY;AAGrB;IADC,IAAA,gBAAM,GAAE;;+CACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;0CACM;AAGf;IADC,IAAA,gBAAM,GAAE;;wCACI;qBAXJ,UAAU;IADtB,IAAA,gBAAM,GAAE;GACI,UAAU,CAYtB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BaseEntity } from "../common/database";
|
|
2
|
+
import { EmailThirdparty } from "./thirdparty/email.entity";
|
|
3
|
+
export declare class Oauth extends BaseEntity {
|
|
4
|
+
service: number;
|
|
5
|
+
refresh_token: string;
|
|
6
|
+
access_token: string;
|
|
7
|
+
expires_in: number;
|
|
8
|
+
userId: string;
|
|
9
|
+
usergoogle_id: string;
|
|
10
|
+
family_name: string;
|
|
11
|
+
given_name: string;
|
|
12
|
+
email: string;
|
|
13
|
+
picture: string;
|
|
14
|
+
id_token: string;
|
|
15
|
+
emails: EmailThirdparty[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Oauth = void 0;
|
|
13
|
+
const database_1 = require("../common/database");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const email_entity_1 = require("./thirdparty/email.entity");
|
|
16
|
+
let Oauth = class Oauth extends database_1.BaseEntity {
|
|
17
|
+
service;
|
|
18
|
+
refresh_token;
|
|
19
|
+
access_token;
|
|
20
|
+
expires_in;
|
|
21
|
+
userId;
|
|
22
|
+
usergoogle_id;
|
|
23
|
+
family_name;
|
|
24
|
+
given_name;
|
|
25
|
+
email;
|
|
26
|
+
picture;
|
|
27
|
+
id_token;
|
|
28
|
+
emails;
|
|
29
|
+
};
|
|
30
|
+
exports.Oauth = Oauth;
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)("int"),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], Oauth.prototype, "service", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], Oauth.prototype, "refresh_token", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], Oauth.prototype, "access_token", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)("int"),
|
|
45
|
+
__metadata("design:type", Number)
|
|
46
|
+
], Oauth.prototype, "expires_in", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], Oauth.prototype, "userId", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], Oauth.prototype, "usergoogle_id", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], Oauth.prototype, "family_name", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], Oauth.prototype, "given_name", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], Oauth.prototype, "email", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], Oauth.prototype, "picture", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
73
|
+
__metadata("design:type", String)
|
|
74
|
+
], Oauth.prototype, "id_token", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, typeorm_1.OneToMany)(() => email_entity_1.EmailThirdparty, email => email.id),
|
|
77
|
+
__metadata("design:type", Array)
|
|
78
|
+
], Oauth.prototype, "emails", void 0);
|
|
79
|
+
exports.Oauth = Oauth = __decorate([
|
|
80
|
+
(0, typeorm_1.Entity)(),
|
|
81
|
+
(0, typeorm_1.Index)(["email"], { unique: true })
|
|
82
|
+
], Oauth);
|
|
83
|
+
//# sourceMappingURL=oauth.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth.entity.js","sourceRoot":"","sources":["../../src/entities/oauth.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,qCAA2D;AAC3D,4DAA2D;AAIpD,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,qBAAU;IAEnC,OAAO,CAAS;IAGhB,aAAa,CAAS;IAGtB,YAAY,CAAS;IAGrB,UAAU,CAAS;IAGnB,MAAM,CAAS;IAGf,aAAa,CAAS;IAGtB,WAAW,CAAS;IAGpB,UAAU,CAAS;IAGnB,KAAK,CAAS;IAGd,OAAO,CAAS;IAGhB,QAAQ,CAAS;IAGjB,MAAM,CAAoB;CAC3B,CAAA;AApCY,sBAAK;AAEhB;IADC,IAAA,gBAAM,EAAC,KAAK,CAAC;;sCACE;AAGhB;IADC,IAAA,gBAAM,GAAE;;4CACa;AAGtB;IADC,IAAA,gBAAM,GAAE;;2CACY;AAGrB;IADC,IAAA,gBAAM,EAAC,KAAK,CAAC;;yCACK;AAGnB;IADC,IAAA,gBAAM,GAAE;;qCACM;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACL;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACP;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACR;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oCACb;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,C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