@silexpert/core 1.0.115 → 1.0.117
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/es/api/resources/Mail.d.ts +10 -0
- package/es/api/resources/Mail.d.ts.map +1 -1
- package/es/api/resources/Mail.js +6 -0
- package/es/api/resources/Mail.js.map +1 -1
- package/es/types/Enum/MailAddressType.d.ts +7 -0
- package/es/types/Enum/MailAddressType.d.ts.map +1 -0
- package/es/types/Enum/MailAddressType.js +8 -0
- package/es/types/Enum/MailAddressType.js.map +1 -0
- package/es/types/Interface/api/mail/CreateMailParams.d.ts +4 -0
- package/es/types/Interface/api/mail/CreateMailParams.d.ts.map +1 -1
- package/es/types/Interface/api/mail/CreateMailParams.js.map +1 -1
- package/es/types/Interface/api/webmail/GetPaginatedWhereObjectParams.d.ts +19 -0
- package/es/types/Interface/api/webmail/GetPaginatedWhereObjectParams.d.ts.map +1 -0
- package/es/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js +122 -0
- package/es/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js.map +1 -0
- package/es/types/Interface/api/webmail/MigrateMailAddresses.d.ts +9 -0
- package/es/types/Interface/api/webmail/MigrateMailAddresses.d.ts.map +1 -0
- package/es/types/Interface/api/webmail/MigrateMailAddresses.js +44 -0
- package/es/types/Interface/api/webmail/MigrateMailAddresses.js.map +1 -0
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts +1 -1
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts.map +1 -1
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +2 -2
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
- package/es/types/Interface/models/IMail.d.ts +5 -0
- package/es/types/Interface/models/IMail.d.ts.map +1 -1
- package/es/types/Interface/models/IMail.js.map +1 -1
- package/es/types/Interface/models/IMailAddress.d.ts +11 -0
- package/es/types/Interface/models/IMailAddress.d.ts.map +1 -0
- package/es/types/Interface/models/IMailAddress.js +2 -0
- package/es/types/Interface/models/IMailAddress.js.map +1 -0
- package/es/types/Interface/models/IMailAddressMail.d.ts +10 -0
- package/es/types/Interface/models/IMailAddressMail.d.ts.map +1 -0
- package/es/types/Interface/models/IMailAddressMail.js +2 -0
- package/es/types/Interface/models/IMailAddressMail.js.map +1 -0
- package/es/types/Interface/models/IUser.d.ts +1 -0
- package/es/types/Interface/models/IUser.d.ts.map +1 -1
- package/es/types/Interface/models/IUser.js.map +1 -1
- package/es/types/index.d.ts +5 -2
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +5 -2
- package/es/types/index.js.map +1 -1
- package/es/utils/commercialManagement/templates/body.d.ts.map +1 -1
- package/es/utils/commercialManagement/templates/body.js +4 -1
- package/es/utils/commercialManagement/templates/body.js.map +1 -1
- package/es/utils/commercialManagement/templates/common.d.ts +1 -0
- package/es/utils/commercialManagement/templates/common.d.ts.map +1 -1
- package/es/utils/commercialManagement/templates/common.js +21 -5
- package/es/utils/commercialManagement/templates/common.js.map +1 -1
- package/es/utils/phone.js +1 -1
- package/es/utils/phone.js.map +1 -1
- package/js/api/resources/Mail.js +14 -0
- package/js/api/resources/Mail.js.map +1 -1
- package/js/types/Enum/MailAddressType.js +14 -0
- package/js/types/Enum/MailAddressType.js.map +1 -0
- package/js/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js +65 -0
- package/js/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js.map +1 -0
- package/js/types/Interface/api/webmail/MigrateMailAddresses.js +53 -0
- package/js/types/Interface/api/webmail/MigrateMailAddresses.js.map +1 -0
- package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +4 -4
- package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
- package/js/types/Interface/models/IMailAddress.js +6 -0
- package/js/types/Interface/models/IMailAddress.js.map +1 -0
- package/js/types/Interface/models/IMailAddressMail.js +6 -0
- package/js/types/Interface/models/IMailAddressMail.js.map +1 -0
- package/js/types/index.js +45 -9
- package/js/types/index.js.map +1 -1
- package/js/utils/commercialManagement/templates/body.js +4 -1
- package/js/utils/commercialManagement/templates/body.js.map +1 -1
- package/js/utils/commercialManagement/templates/common.js +21 -5
- package/js/utils/commercialManagement/templates/common.js.map +1 -1
- package/js/utils/phone.js +1 -1
- package/js/utils/phone.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Mail.ts +8 -0
- package/ts/types/Enum/MailAddressType.ts +6 -0
- package/ts/types/Interface/api/mail/CreateMailParams.ts +4 -1
- package/ts/types/Interface/api/webmail/GetPaginatedWhereObjectParams.ts +98 -0
- package/ts/types/Interface/api/webmail/MigrateMailAddresses.ts +25 -0
- package/ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts +1 -1
- package/ts/types/Interface/models/IMail.ts +5 -0
- package/ts/types/Interface/models/IMailAddress.ts +14 -0
- package/ts/types/Interface/models/IMailAddressMail.ts +13 -0
- package/ts/types/Interface/models/IUser.ts +1 -0
- package/ts/types/index.ts +5 -2
- package/ts/utils/commercialManagement/templates/body.ts +5 -2
- package/ts/utils/commercialManagement/templates/common.ts +23 -6
- package/ts/utils/phone.ts +1 -1
- package/es/types/Interface/api/webmail/CreateWebmailFromLambda.d.ts +0 -25
- package/es/types/Interface/api/webmail/CreateWebmailFromLambda.d.ts.map +0 -1
- package/es/types/Interface/api/webmail/CreateWebmailFromLambda.js +0 -109
- package/es/types/Interface/api/webmail/CreateWebmailFromLambda.js.map +0 -1
- package/es/types/Interface/api/webmail/GetMissingMailsInFinalBucket.d.ts +0 -4
- package/es/types/Interface/api/webmail/GetMissingMailsInFinalBucket.d.ts.map +0 -1
- package/es/types/Interface/api/webmail/GetMissingMailsInFinalBucket.js +0 -20
- package/es/types/Interface/api/webmail/GetMissingMailsInFinalBucket.js.map +0 -1
- package/js/types/Interface/api/webmail/CreateWebmailFromLambda.js +0 -61
- package/js/types/Interface/api/webmail/CreateWebmailFromLambda.js.map +0 -1
- package/js/types/Interface/api/webmail/GetMissingMailsInFinalBucket.js +0 -29
- package/js/types/Interface/api/webmail/GetMissingMailsInFinalBucket.js.map +0 -1
- package/ts/types/Interface/api/webmail/CreateWebmailFromLambda.ts +0 -87
- package/ts/types/Interface/api/webmail/GetMissingMailsInFinalBucket.ts +0 -9
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.GetPaginatedWhereObjectParams = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _utils = require("../../../../utils");
|
|
11
|
+
|
|
12
|
+
var _boolean = require("../../../../utils/transforms/boolean.transform");
|
|
13
|
+
|
|
14
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length,
|
|
16
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
17
|
+
d;
|
|
18
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
|
|
19
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
23
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
class GetPaginatedWhereObjectParams {}
|
|
27
|
+
|
|
28
|
+
exports.GetPaginatedWhereObjectParams = GetPaginatedWhereObjectParams;
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], GetPaginatedWhereObjectParams.prototype, "search", void 0);
|
|
31
|
+
|
|
32
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)({
|
|
33
|
+
each: true
|
|
34
|
+
}), (0, _classValidator.IsIn)(['society'], {
|
|
35
|
+
each: true
|
|
36
|
+
}), __metadata("design:type", Array)], GetPaginatedWhereObjectParams.prototype, "include", void 0);
|
|
37
|
+
|
|
38
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], GetPaginatedWhereObjectParams.prototype, "to", void 0);
|
|
39
|
+
|
|
40
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], GetPaginatedWhereObjectParams.prototype, "isRead", void 0);
|
|
41
|
+
|
|
42
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], GetPaginatedWhereObjectParams.prototype, "isSent", void 0);
|
|
43
|
+
|
|
44
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], GetPaginatedWhereObjectParams.prototype, "isDraft", void 0);
|
|
45
|
+
|
|
46
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], GetPaginatedWhereObjectParams.prototype, "isImportant", void 0);
|
|
47
|
+
|
|
48
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], GetPaginatedWhereObjectParams.prototype, "isProcessed", void 0);
|
|
49
|
+
|
|
50
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], GetPaginatedWhereObjectParams.prototype, "isDeleted", void 0);
|
|
51
|
+
|
|
52
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], GetPaginatedWhereObjectParams.prototype, "handlingManagerRoleMails", void 0);
|
|
53
|
+
|
|
54
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], GetPaginatedWhereObjectParams.prototype, "isWithoutSociety", void 0);
|
|
55
|
+
|
|
56
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], GetPaginatedWhereObjectParams.prototype, "idSociety", void 0);
|
|
57
|
+
|
|
58
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], GetPaginatedWhereObjectParams.prototype, "idUserWhoFlagged", void 0);
|
|
59
|
+
|
|
60
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], GetPaginatedWhereObjectParams.prototype, "idUserWhoAnswered", void 0);
|
|
61
|
+
|
|
62
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], GetPaginatedWhereObjectParams.prototype, "idUser", void 0);
|
|
63
|
+
|
|
64
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], GetPaginatedWhereObjectParams.prototype, "idRole", void 0);
|
|
65
|
+
//# sourceMappingURL=GetPaginatedWhereObjectParams.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetPaginatedWhereObjectParams.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,6BAAP,CAAoC;;QAA7BA,6B,GAAAA,6B;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAQAA,YANC,iCAMD,EALC,iCAKD,EAJC,8BAAS;EACRC,IAAI,EAAE;AADE,CAAT,CAID,EADC,0BAAK,CAAC,SAAD,CAAL,EAAkB;EAAEA,IAAI,EAAE;AAAR,CAAlB,CACD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD","names":["GetPaginatedWhereObjectParams","__decorate","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/GetPaginatedWhereObjectParams.ts"],"sourcesContent":["import {\n IsOptional, IsString, IsInt, IsIn, IsBoolean,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class GetPaginatedWhereObjectParams {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['society'], { each: true })\n include?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n to?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isRead?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isSent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDraft?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isImportant?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isProcessed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDeleted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n handlingManagerRoleMails?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithoutSociety?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoFlagged?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoAnswered?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRole?: number;\n}\n"]}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.MigrateUsersMailAddresses = exports.MigrateMailAddresses = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _utils = require("../../../../utils");
|
|
11
|
+
|
|
12
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length,
|
|
14
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
15
|
+
d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
|
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
class MigrateMailAddresses {
|
|
25
|
+
constructor() {
|
|
26
|
+
this.limit = 25;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
exports.MigrateMailAddresses = MigrateMailAddresses;
|
|
32
|
+
|
|
33
|
+
__decorate([(0, _utils.ApiProperty)({
|
|
34
|
+
default: 25
|
|
35
|
+
}), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], MigrateMailAddresses.prototype, "limit", void 0);
|
|
36
|
+
|
|
37
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], MigrateMailAddresses.prototype, "idMail", void 0);
|
|
38
|
+
|
|
39
|
+
class MigrateUsersMailAddresses {
|
|
40
|
+
constructor() {
|
|
41
|
+
this.limit = 25;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
exports.MigrateUsersMailAddresses = MigrateUsersMailAddresses;
|
|
47
|
+
|
|
48
|
+
__decorate([(0, _utils.ApiProperty)({
|
|
49
|
+
default: 25
|
|
50
|
+
}), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], MigrateUsersMailAddresses.prototype, "limit", void 0);
|
|
51
|
+
|
|
52
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], MigrateUsersMailAddresses.prototype, "idUser", void 0);
|
|
53
|
+
//# sourceMappingURL=MigrateMailAddresses.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MigrateMailAddresses.js","mappings":";;;;;;;AAAA;;AAGA;;;;;;;;;;;;;;AAEM,MAAOA,oBAAP,CAA2B;EAAjCC;IAGE,aAAiB,EAAjB;EAMD;;AATgC;;QAApBD,oB,GAAAA,oB;;AAGXE,YAFC,wBAAY;EAAEC,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAEI,MAAOE,yBAAP,CAAgC;EAAtCH;IAGE,aAAiB,EAAjB;EAMD;;AATqC;;QAAzBG,yB,GAAAA,yB;;AAGXF,YAFC,wBAAY;EAAEC,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD","names":["MigrateMailAddresses","constructor","__decorate","default","MigrateUsersMailAddresses"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/MigrateMailAddresses.ts"],"sourcesContent":["import {\n IsNumber, IsOptional,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class MigrateMailAddresses {\n @ApiProperty({ default: 25 })\n @IsNumber()\n limit?: number = 25;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idMail?: number;\n}\nexport class MigrateUsersMailAddresses {\n @ApiProperty({ default: 25 })\n @IsNumber()\n limit?: number = 25;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idUser?: number;\n}\n"]}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.MigrateParams = exports.CreateAttachmentParamsForTask = exports.CreateAttachmentParams = exports.
|
|
6
|
+
exports.MigrateParams = exports.CreateAttachmentParamsForTask = exports.CreateAttachmentParams = exports.CreateAttachmentWebmail = exports.PostAttachmentEmailFromLambdaParams = undefined;
|
|
7
7
|
|
|
8
8
|
var _classValidator = require("class-validator");
|
|
9
9
|
|
|
@@ -34,11 +34,11 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)()
|
|
|
34
34
|
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], PostAttachmentEmailFromLambdaParams.prototype, "filename", void 0); // TODO: à supprimer
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class CreateAttachmentWebmail extends PostAttachmentEmailFromLambdaParams {}
|
|
38
38
|
|
|
39
|
-
exports.
|
|
39
|
+
exports.CreateAttachmentWebmail = CreateAttachmentWebmail;
|
|
40
40
|
|
|
41
|
-
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)],
|
|
41
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], CreateAttachmentWebmail.prototype, "idMail", void 0);
|
|
42
42
|
|
|
43
43
|
class CreateAttachmentParams {}
|
|
44
44
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PostAttachmentEmailFromLambdaParams.js","mappings":";;;;;;;AAAA;;AAIA;;;;;;;;;;;;;;AAGM,MAAOA,mCAAP,CAA0C;;QAAnCA,mC,GAAAA,mC;;AAGXC,YAFC,yBAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD,yG,CAGF;;;AACM,MAAOC,
|
|
1
|
+
{"version":3,"file":"PostAttachmentEmailFromLambdaParams.js","mappings":";;;;;;;AAAA;;AAIA;;;;;;;;;;;;;;AAGM,MAAOA,mCAAP,CAA0C;;QAAnCA,mC,GAAAA,mC;;AAGXC,YAFC,yBAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD,yG,CAGF;;;AACM,MAAOC,uBAAP,SAAuCF,mCAAvC,CAA0E;;QAAnEE,uB,GAAAA,uB;;AAGXD,YAFC,yBAED,EADC,+BACD;;AAEI,MAAOE,sBAAP,CAA6B;;QAAtBA,sB,GAAAA,sB;;AAGXF,YAFC,yBAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,8BACD;;AAEI,MAAOG,6BAAP,CAAoC;;QAA7BA,6B,GAAAA,6B;;AAGXH,YAFC,yBAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,8BACD;;AAEI,MAAOI,aAAP,CAAoB;;QAAbA,a,GAAAA,a;;AAGXJ,YAFC,wBAAY;EAAEK,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAKAL,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAQAA,YANC,iCAMD,EALC,iCAKD,EAJC,8BAID,EAHC,2BAAM;EACLM,IAAI,EAAE;AADD,CAAN,CAGD","names":["PostAttachmentEmailFromLambdaParams","__decorate","CreateAttachmentWebmail","CreateAttachmentParams","CreateAttachmentParamsForTask","MigrateParams","default","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts"],"sourcesContent":["import {\n IsArray,\n IsNumber, IsOptional, IsString, IsInt,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiProperty()\n @IsString()\n mime: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @ApiProperty()\n @IsString()\n filename: string;\n}\n\n// TODO: à supprimer\nexport class CreateAttachmentWebmail extends PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsNumber()\n idMail: number;\n}\nexport class CreateAttachmentParams {\n @ApiProperty()\n @IsNumber()\n idMail: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n files?: TFile[];\n}\nexport class CreateAttachmentParamsForTask {\n @ApiProperty()\n @IsNumber()\n idTask: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n files?: TFile[];\n}\nexport class MigrateParams {\n @ApiProperty({ default: 50 })\n @IsNumber()\n limit: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startId?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n endId?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsInt({\n each: true,\n })\n listIdToForceImport?: number;\n}"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IMailAddress.js","mappings":"","names":[],"sourceRoot":"","sources":[],"sourcesContent":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IMailAddressMail.js","mappings":"","names":[],"sourceRoot":"","sources":[],"sourcesContent":[]}
|
package/js/types/index.js
CHANGED
|
@@ -3292,6 +3292,30 @@ Object.keys(_IMail).forEach(function (key) {
|
|
|
3292
3292
|
});
|
|
3293
3293
|
});
|
|
3294
3294
|
|
|
3295
|
+
var _IMailAddress = require("./Interface/models/IMailAddress");
|
|
3296
|
+
|
|
3297
|
+
Object.keys(_IMailAddress).forEach(function (key) {
|
|
3298
|
+
if (key === "default" || key === "__esModule") return;
|
|
3299
|
+
Object.defineProperty(exports, key, {
|
|
3300
|
+
enumerable: true,
|
|
3301
|
+
get: function () {
|
|
3302
|
+
return _IMailAddress[key];
|
|
3303
|
+
}
|
|
3304
|
+
});
|
|
3305
|
+
});
|
|
3306
|
+
|
|
3307
|
+
var _IMailAddressMail = require("./Interface/models/IMailAddressMail");
|
|
3308
|
+
|
|
3309
|
+
Object.keys(_IMailAddressMail).forEach(function (key) {
|
|
3310
|
+
if (key === "default" || key === "__esModule") return;
|
|
3311
|
+
Object.defineProperty(exports, key, {
|
|
3312
|
+
enumerable: true,
|
|
3313
|
+
get: function () {
|
|
3314
|
+
return _IMailAddressMail[key];
|
|
3315
|
+
}
|
|
3316
|
+
});
|
|
3317
|
+
});
|
|
3318
|
+
|
|
3295
3319
|
var _IMailAttachment = require("./Interface/models/IMailAttachment");
|
|
3296
3320
|
|
|
3297
3321
|
Object.keys(_IMailAttachment).forEach(function (key) {
|
|
@@ -4120,6 +4144,18 @@ Object.keys(_MailAuto).forEach(function (key) {
|
|
|
4120
4144
|
});
|
|
4121
4145
|
});
|
|
4122
4146
|
|
|
4147
|
+
var _MailAddressType = require("./Enum/MailAddressType");
|
|
4148
|
+
|
|
4149
|
+
Object.keys(_MailAddressType).forEach(function (key) {
|
|
4150
|
+
if (key === "default" || key === "__esModule") return;
|
|
4151
|
+
Object.defineProperty(exports, key, {
|
|
4152
|
+
enumerable: true,
|
|
4153
|
+
get: function () {
|
|
4154
|
+
return _MailAddressType[key];
|
|
4155
|
+
}
|
|
4156
|
+
});
|
|
4157
|
+
});
|
|
4158
|
+
|
|
4123
4159
|
var _Simulation = require("./Enum/Simulation");
|
|
4124
4160
|
|
|
4125
4161
|
Object.keys(_Simulation).forEach(function (key) {
|
|
@@ -7192,26 +7228,26 @@ Object.keys(_ReadSocietyTransactionCount).forEach(function (key) {
|
|
|
7192
7228
|
});
|
|
7193
7229
|
});
|
|
7194
7230
|
|
|
7195
|
-
var
|
|
7231
|
+
var _CreateMailFromLambda = require("./Interface/api/webmail/CreateMailFromLambda");
|
|
7196
7232
|
|
|
7197
|
-
Object.keys(
|
|
7233
|
+
Object.keys(_CreateMailFromLambda).forEach(function (key) {
|
|
7198
7234
|
if (key === "default" || key === "__esModule") return;
|
|
7199
7235
|
Object.defineProperty(exports, key, {
|
|
7200
7236
|
enumerable: true,
|
|
7201
7237
|
get: function () {
|
|
7202
|
-
return
|
|
7238
|
+
return _CreateMailFromLambda[key];
|
|
7203
7239
|
}
|
|
7204
7240
|
});
|
|
7205
7241
|
});
|
|
7206
7242
|
|
|
7207
|
-
var
|
|
7243
|
+
var _MigrateMailAddresses = require("./Interface/api/webmail/MigrateMailAddresses");
|
|
7208
7244
|
|
|
7209
|
-
Object.keys(
|
|
7245
|
+
Object.keys(_MigrateMailAddresses).forEach(function (key) {
|
|
7210
7246
|
if (key === "default" || key === "__esModule") return;
|
|
7211
7247
|
Object.defineProperty(exports, key, {
|
|
7212
7248
|
enumerable: true,
|
|
7213
7249
|
get: function () {
|
|
7214
|
-
return
|
|
7250
|
+
return _MigrateMailAddresses[key];
|
|
7215
7251
|
}
|
|
7216
7252
|
});
|
|
7217
7253
|
});
|
|
@@ -7228,14 +7264,14 @@ Object.keys(_PostAttachmentEmailFromLambdaParams).forEach(function (key) {
|
|
|
7228
7264
|
});
|
|
7229
7265
|
});
|
|
7230
7266
|
|
|
7231
|
-
var
|
|
7267
|
+
var _GetPaginatedWhereObjectParams = require("./Interface/api/webmail/GetPaginatedWhereObjectParams");
|
|
7232
7268
|
|
|
7233
|
-
Object.keys(
|
|
7269
|
+
Object.keys(_GetPaginatedWhereObjectParams).forEach(function (key) {
|
|
7234
7270
|
if (key === "default" || key === "__esModule") return;
|
|
7235
7271
|
Object.defineProperty(exports, key, {
|
|
7236
7272
|
enumerable: true,
|
|
7237
7273
|
get: function () {
|
|
7238
|
-
return
|
|
7274
|
+
return _GetPaginatedWhereObjectParams[key];
|
|
7239
7275
|
}
|
|
7240
7276
|
});
|
|
7241
7277
|
});
|