@silexpert/core 1.3.204-update-1 → 1.3.204-update-2
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/cjs/types/Interface/api/webmail/CreateMailFromLambda.d.ts +6 -7
- package/dist/cjs/types/Interface/api/webmail/CreateMailFromLambda.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/webmail/CreateMailFromLambda.js +2 -1
- package/dist/cjs/types/Interface/api/webmail/CreateMailFromLambda.js.map +1 -1
- package/dist/mjs/types/Interface/api/webmail/CreateMailFromLambda.d.ts +6 -7
- package/dist/mjs/types/Interface/api/webmail/CreateMailFromLambda.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/webmail/CreateMailFromLambda.js +8 -7
- package/dist/mjs/types/Interface/api/webmail/CreateMailFromLambda.js.map +1 -1
- package/package.json +1 -3
- package/ts/types/Interface/api/webmail/CreateMailFromLambda.ts +7 -8
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { AddressObject, HeaderLines } from 'mailparser';
|
|
2
1
|
export declare class CreateMailFromLambda {
|
|
3
2
|
headers: {
|
|
4
3
|
[key: string]: any;
|
|
5
4
|
};
|
|
6
|
-
headerLines:
|
|
5
|
+
headerLines: any;
|
|
7
6
|
html: string | false;
|
|
8
7
|
text?: string;
|
|
9
8
|
textAsHtml?: string;
|
|
10
9
|
subject?: string;
|
|
11
10
|
references?: string[] | string;
|
|
12
11
|
date?: Date;
|
|
13
|
-
to?:
|
|
14
|
-
from?:
|
|
15
|
-
cc?:
|
|
16
|
-
bcc?:
|
|
17
|
-
replyTo?:
|
|
12
|
+
to?: any;
|
|
13
|
+
from?: any;
|
|
14
|
+
cc?: any;
|
|
15
|
+
bcc?: any;
|
|
16
|
+
replyTo?: any;
|
|
18
17
|
messageId?: string;
|
|
19
18
|
inReplyTo?: string;
|
|
20
19
|
priority?: 'normal' | 'low' | 'high';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateMailFromLambda.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webmail/CreateMailFromLambda.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CreateMailFromLambda.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webmail/CreateMailFromLambda.ts"],"names":[],"mappings":"AAIA,qBAAa,oBAAoB;IAQ/B,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAKhC,WAAW,EAAE,GAAG,CAAC;IAGjB,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC;IAKrB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,OAAO,CAAC,EAAE,MAAM,CAAC;IAIjB,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IAK/B,IAAI,CAAC,EAAE,IAAI,CAAC;IAIZ,EAAE,CAAC,EAAE,GAAG,CAAC;IAKT,IAAI,CAAC,EAAE,GAAG,CAAC;IAIX,EAAE,CAAC,EAAE,GAAG,CAAC;IAIT,GAAG,CAAC,EAAE,GAAG,CAAC;IAIV,OAAO,CAAC,EAAE,GAAG,CAAC;IAKd,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,QAAQ,CAAC,EAAE,QAAQ,GAAG,KAAK,GAAG,MAAM,CAAC;CACtC"}
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CreateMailFromLambda = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
+
// import { AddressObject, HeaderLines } from 'mailparser';
|
|
14
15
|
const utils_1 = require("../../../../utils");
|
|
15
16
|
class CreateMailFromLambda {
|
|
16
17
|
}
|
|
@@ -25,7 +26,7 @@ __decorate([
|
|
|
25
26
|
(0, utils_1.ApiProperty)(),
|
|
26
27
|
(0, class_validator_1.IsArray)(),
|
|
27
28
|
(0, class_validator_1.IsNotEmpty)(),
|
|
28
|
-
__metadata("design:type",
|
|
29
|
+
__metadata("design:type", Object)
|
|
29
30
|
], CreateMailFromLambda.prototype, "headerLines", void 0);
|
|
30
31
|
__decorate([
|
|
31
32
|
(0, utils_1.ApiProperty)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateMailFromLambda.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webmail/CreateMailFromLambda.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoG;
|
|
1
|
+
{"version":3,"file":"CreateMailFromLambda.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webmail/CreateMailFromLambda.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoG;AACpG,2DAA2D;AAC3D,6CAAqE;AAErE,MAAa,oBAAoB;CA6EhC;AA7ED,oDA6EC;AArEC;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACmB;AAKhC;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;;yDACI;AAGjB;IADC,IAAA,mBAAW,GAAE;;kDACO;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACC;AAKd;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACO;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACI;AAIjB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;wDACkB;AAK/B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACF,IAAI;kDAAC;AAIZ;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;gDACJ;AAKT;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACF;AAIX;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;gDACJ;AAIT;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;iDACH;AAIV;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACC;AAKd;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACM;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACM;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC;;sDACK","sourcesContent":["import { IsArray, IsDate, IsIn, IsNotEmpty, IsObject, IsOptional, IsString } from 'class-validator';\n// import { AddressObject, HeaderLines } from 'mailparser';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateMailFromLambda {\n // @ApiProperty()\n // @IsArray()\n // attachments: { [key: string]: any }[];\n\n @ApiProperty()\n @IsObject()\n @IsNotEmpty()\n headers: { [key: string]: any };\n\n @ApiProperty()\n @IsArray()\n @IsNotEmpty()\n headerLines: any; // HeaderLines;\n\n @ApiProperty()\n html: string | false;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n text?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n textAsHtml?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n references?: string[] | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n to?: any; // AddressObject | AddressObject[];\n\n @ApiPropertyOptional()\n @IsObject()\n @IsOptional()\n from?: any; // AddressObject;\n\n @ApiPropertyOptional()\n @IsOptional()\n cc?: any; // AddressObject | AddressObject[];\n\n @ApiPropertyOptional()\n @IsOptional()\n bcc?: any; // AddressObject | AddressObject[];\n @ApiPropertyOptional()\n @IsObject()\n @IsOptional()\n replyTo?: any; // AddressObject;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n messageId?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n inReplyTo?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsIn(['normal', 'low', 'high'])\n priority?: 'normal' | 'low' | 'high';\n}\n"]}
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { AddressObject, HeaderLines } from 'mailparser';
|
|
2
1
|
export declare class CreateMailFromLambda {
|
|
3
2
|
headers: {
|
|
4
3
|
[key: string]: any;
|
|
5
4
|
};
|
|
6
|
-
headerLines:
|
|
5
|
+
headerLines: any;
|
|
7
6
|
html: string | false;
|
|
8
7
|
text?: string;
|
|
9
8
|
textAsHtml?: string;
|
|
10
9
|
subject?: string;
|
|
11
10
|
references?: string[] | string;
|
|
12
11
|
date?: Date;
|
|
13
|
-
to?:
|
|
14
|
-
from?:
|
|
15
|
-
cc?:
|
|
16
|
-
bcc?:
|
|
17
|
-
replyTo?:
|
|
12
|
+
to?: any;
|
|
13
|
+
from?: any;
|
|
14
|
+
cc?: any;
|
|
15
|
+
bcc?: any;
|
|
16
|
+
replyTo?: any;
|
|
18
17
|
messageId?: string;
|
|
19
18
|
inReplyTo?: string;
|
|
20
19
|
priority?: 'normal' | 'low' | 'high';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateMailFromLambda.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webmail/CreateMailFromLambda.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CreateMailFromLambda.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webmail/CreateMailFromLambda.ts"],"names":[],"mappings":"AAIA,qBAAa,oBAAoB;IAQ/B,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAKhC,WAAW,EAAE,GAAG,CAAC;IAGjB,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC;IAKrB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,OAAO,CAAC,EAAE,MAAM,CAAC;IAIjB,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IAK/B,IAAI,CAAC,EAAE,IAAI,CAAC;IAIZ,EAAE,CAAC,EAAE,GAAG,CAAC;IAKT,IAAI,CAAC,EAAE,GAAG,CAAC;IAIX,EAAE,CAAC,EAAE,GAAG,CAAC;IAIT,GAAG,CAAC,EAAE,GAAG,CAAC;IAIV,OAAO,CAAC,EAAE,GAAG,CAAC;IAKd,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,QAAQ,CAAC,EAAE,QAAQ,GAAG,KAAK,GAAG,MAAM,CAAC;CACtC"}
|
|
@@ -8,24 +8,25 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { IsArray, IsDate, IsIn, IsNotEmpty, IsObject, IsOptional, IsString } from 'class-validator';
|
|
11
|
+
// import { AddressObject, HeaderLines } from 'mailparser';
|
|
11
12
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
13
|
export class CreateMailFromLambda {
|
|
13
14
|
// @ApiProperty()
|
|
14
15
|
// @IsArray()
|
|
15
16
|
// attachments: { [key: string]: any }[];
|
|
16
17
|
headers;
|
|
17
|
-
headerLines;
|
|
18
|
+
headerLines; // HeaderLines;
|
|
18
19
|
html;
|
|
19
20
|
text;
|
|
20
21
|
textAsHtml;
|
|
21
22
|
subject;
|
|
22
23
|
references;
|
|
23
24
|
date;
|
|
24
|
-
to;
|
|
25
|
-
from;
|
|
26
|
-
cc;
|
|
27
|
-
bcc;
|
|
28
|
-
replyTo;
|
|
25
|
+
to; // AddressObject | AddressObject[];
|
|
26
|
+
from; // AddressObject;
|
|
27
|
+
cc; // AddressObject | AddressObject[];
|
|
28
|
+
bcc; // AddressObject | AddressObject[];
|
|
29
|
+
replyTo; // AddressObject;
|
|
29
30
|
messageId;
|
|
30
31
|
inReplyTo;
|
|
31
32
|
priority;
|
|
@@ -40,7 +41,7 @@ __decorate([
|
|
|
40
41
|
ApiProperty(),
|
|
41
42
|
IsArray(),
|
|
42
43
|
IsNotEmpty(),
|
|
43
|
-
__metadata("design:type",
|
|
44
|
+
__metadata("design:type", Object)
|
|
44
45
|
], CreateMailFromLambda.prototype, "headerLines", void 0);
|
|
45
46
|
__decorate([
|
|
46
47
|
ApiProperty(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateMailFromLambda.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webmail/CreateMailFromLambda.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateMailFromLambda.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/webmail/CreateMailFromLambda.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACpG,2DAA2D;AAC3D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,oBAAoB;IAC/B,iBAAiB;IACjB,aAAa;IACb,yCAAyC;IAKzC,OAAO,CAAyB;IAKhC,WAAW,CAAM,CAAC,eAAe;IAGjC,IAAI,CAAiB;IAKrB,IAAI,CAAU;IAKd,UAAU,CAAU;IAKpB,OAAO,CAAU;IAIjB,UAAU,CAAqB;IAK/B,IAAI,CAAQ;IAIZ,EAAE,CAAO,CAAC,mCAAmC;IAK7C,IAAI,CAAO,CAAC,iBAAiB;IAI7B,EAAE,CAAO,CAAC,mCAAmC;IAI7C,GAAG,CAAO,CAAC,mCAAmC;IAI9C,OAAO,CAAO,CAAC,iBAAiB;IAKhC,SAAS,CAAU;IAKnB,SAAS,CAAU;IAKnB,QAAQ,CAA6B;CACtC;AArEC;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,UAAU,EAAE;;qDACmB;AAKhC;IAHC,WAAW,EAAE;IACb,OAAO,EAAE;IACT,UAAU,EAAE;;yDACI;AAGjB;IADC,WAAW,EAAE;;kDACO;AAKrB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;kDACC;AAKd;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;wDACO;AAKpB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;qDACI;AAIjB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;wDACkB;AAK/B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACF,IAAI;kDAAC;AAIZ;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;gDACJ;AAKT;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;kDACF;AAIX;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;gDACJ;AAIT;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;iDACH;AAIV;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;qDACC;AAKd;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;uDACM;AAKnB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;uDACM;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,IAAI,CAAC,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC;;sDACK","sourcesContent":["import { IsArray, IsDate, IsIn, IsNotEmpty, IsObject, IsOptional, IsString } from 'class-validator';\n// import { AddressObject, HeaderLines } from 'mailparser';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateMailFromLambda {\n // @ApiProperty()\n // @IsArray()\n // attachments: { [key: string]: any }[];\n\n @ApiProperty()\n @IsObject()\n @IsNotEmpty()\n headers: { [key: string]: any };\n\n @ApiProperty()\n @IsArray()\n @IsNotEmpty()\n headerLines: any; // HeaderLines;\n\n @ApiProperty()\n html: string | false;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n text?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n textAsHtml?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n references?: string[] | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n to?: any; // AddressObject | AddressObject[];\n\n @ApiPropertyOptional()\n @IsObject()\n @IsOptional()\n from?: any; // AddressObject;\n\n @ApiPropertyOptional()\n @IsOptional()\n cc?: any; // AddressObject | AddressObject[];\n\n @ApiPropertyOptional()\n @IsOptional()\n bcc?: any; // AddressObject | AddressObject[];\n @ApiPropertyOptional()\n @IsObject()\n @IsOptional()\n replyTo?: any; // AddressObject;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n messageId?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n inReplyTo?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsIn(['normal', 'low', 'high'])\n priority?: 'normal' | 'low' | 'high';\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.3.204-update-
|
|
3
|
+
"version": "1.3.204-update-2",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -64,7 +64,6 @@
|
|
|
64
64
|
"types": "dist/cjs/index.d.ts",
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"@types/geojson": "^7946.0.16",
|
|
67
|
-
"@types/mailparser": "^3.4.5",
|
|
68
67
|
"axios": "0.22.0",
|
|
69
68
|
"browser-or-node": "^3.0.0",
|
|
70
69
|
"class-transformer": "^0.5.1",
|
|
@@ -72,7 +71,6 @@
|
|
|
72
71
|
"dayjs": "^1.11.11",
|
|
73
72
|
"ejs": "^4.0.1",
|
|
74
73
|
"libphonenumber-js": "^1.12.37",
|
|
75
|
-
"mailparser": "^3.9.3",
|
|
76
74
|
"rxjs": "^7.8.2",
|
|
77
75
|
"sms-segments-calculator": "^1.2.0",
|
|
78
76
|
"stripe": "18.1.1",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IsArray, IsDate, IsIn, IsNotEmpty, IsObject, IsOptional, IsString } from 'class-validator';
|
|
2
|
-
import { AddressObject, HeaderLines } from 'mailparser';
|
|
2
|
+
// import { AddressObject, HeaderLines } from 'mailparser';
|
|
3
3
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
4
4
|
|
|
5
5
|
export class CreateMailFromLambda {
|
|
@@ -15,7 +15,7 @@ export class CreateMailFromLambda {
|
|
|
15
15
|
@ApiProperty()
|
|
16
16
|
@IsArray()
|
|
17
17
|
@IsNotEmpty()
|
|
18
|
-
headerLines: HeaderLines;
|
|
18
|
+
headerLines: any; // HeaderLines;
|
|
19
19
|
|
|
20
20
|
@ApiProperty()
|
|
21
21
|
html: string | false;
|
|
@@ -46,25 +46,24 @@ export class CreateMailFromLambda {
|
|
|
46
46
|
|
|
47
47
|
@ApiPropertyOptional()
|
|
48
48
|
@IsOptional()
|
|
49
|
-
to?: AddressObject | AddressObject[];
|
|
49
|
+
to?: any; // AddressObject | AddressObject[];
|
|
50
50
|
|
|
51
51
|
@ApiPropertyOptional()
|
|
52
52
|
@IsObject()
|
|
53
53
|
@IsOptional()
|
|
54
|
-
from?: AddressObject;
|
|
54
|
+
from?: any; // AddressObject;
|
|
55
55
|
|
|
56
56
|
@ApiPropertyOptional()
|
|
57
57
|
@IsOptional()
|
|
58
|
-
cc?: AddressObject | AddressObject[];
|
|
58
|
+
cc?: any; // AddressObject | AddressObject[];
|
|
59
59
|
|
|
60
60
|
@ApiPropertyOptional()
|
|
61
61
|
@IsOptional()
|
|
62
|
-
bcc?: AddressObject | AddressObject[];
|
|
63
|
-
|
|
62
|
+
bcc?: any; // AddressObject | AddressObject[];
|
|
64
63
|
@ApiPropertyOptional()
|
|
65
64
|
@IsObject()
|
|
66
65
|
@IsOptional()
|
|
67
|
-
replyTo?: AddressObject;
|
|
66
|
+
replyTo?: any; // AddressObject;
|
|
68
67
|
|
|
69
68
|
@ApiPropertyOptional()
|
|
70
69
|
@IsString()
|