@silexpert/core 1.0.115 → 1.0.116
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/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/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/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
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IMail } from '../../models/IMail';
|
|
2
|
+
import { IMailAddress } from '../../models/IMailAddress';
|
|
2
3
|
import { TFile } from '../file/TFile';
|
|
3
4
|
|
|
4
5
|
export interface CreateMailParams extends IMail{
|
|
@@ -16,4 +17,6 @@ export interface CreateMailParams extends IMail{
|
|
|
16
17
|
idChecklist?: number;
|
|
17
18
|
idLetter?: number;
|
|
18
19
|
filesToken?: string[];
|
|
19
|
-
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface ExtendedIMailAddress extends IMailAddress { idMailAddressType?: number }
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsOptional, IsString, IsInt, IsIn, IsBoolean,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
5
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
6
|
+
|
|
7
|
+
export class GetPaginatedWhereObjectParams {
|
|
8
|
+
@ApiPropertyOptional()
|
|
9
|
+
@IsOptional()
|
|
10
|
+
@IsString()
|
|
11
|
+
search?: string;
|
|
12
|
+
|
|
13
|
+
@ApiPropertyOptional()
|
|
14
|
+
@IsOptional()
|
|
15
|
+
@IsString({
|
|
16
|
+
each: true,
|
|
17
|
+
})
|
|
18
|
+
@IsIn(['society'], { each: true })
|
|
19
|
+
include?: string[];
|
|
20
|
+
|
|
21
|
+
@ApiPropertyOptional()
|
|
22
|
+
@IsOptional()
|
|
23
|
+
@IsString()
|
|
24
|
+
to?: string;
|
|
25
|
+
|
|
26
|
+
@ApiPropertyOptional()
|
|
27
|
+
@IsOptional()
|
|
28
|
+
@IsBoolean()
|
|
29
|
+
@ToBoolean()
|
|
30
|
+
isRead?: boolean;
|
|
31
|
+
|
|
32
|
+
@ApiPropertyOptional()
|
|
33
|
+
@IsOptional()
|
|
34
|
+
@IsBoolean()
|
|
35
|
+
@ToBoolean()
|
|
36
|
+
isSent?: boolean;
|
|
37
|
+
|
|
38
|
+
@ApiPropertyOptional()
|
|
39
|
+
@IsOptional()
|
|
40
|
+
@IsBoolean()
|
|
41
|
+
@ToBoolean()
|
|
42
|
+
isDraft?: boolean;
|
|
43
|
+
|
|
44
|
+
@ApiPropertyOptional()
|
|
45
|
+
@IsOptional()
|
|
46
|
+
@IsBoolean()
|
|
47
|
+
@ToBoolean()
|
|
48
|
+
isImportant?: boolean;
|
|
49
|
+
|
|
50
|
+
@ApiPropertyOptional()
|
|
51
|
+
@IsOptional()
|
|
52
|
+
@IsBoolean()
|
|
53
|
+
@ToBoolean()
|
|
54
|
+
isProcessed?: boolean;
|
|
55
|
+
|
|
56
|
+
@ApiPropertyOptional()
|
|
57
|
+
@IsOptional()
|
|
58
|
+
@IsBoolean()
|
|
59
|
+
@ToBoolean()
|
|
60
|
+
isDeleted?: boolean;
|
|
61
|
+
|
|
62
|
+
@ApiPropertyOptional()
|
|
63
|
+
@IsOptional()
|
|
64
|
+
@IsBoolean()
|
|
65
|
+
@ToBoolean()
|
|
66
|
+
handlingManagerRoleMails?: boolean;
|
|
67
|
+
|
|
68
|
+
@ApiPropertyOptional()
|
|
69
|
+
@IsOptional()
|
|
70
|
+
@IsBoolean()
|
|
71
|
+
@ToBoolean()
|
|
72
|
+
isWithoutSociety?: boolean;
|
|
73
|
+
|
|
74
|
+
@ApiPropertyOptional()
|
|
75
|
+
@IsOptional()
|
|
76
|
+
@IsInt()
|
|
77
|
+
idSociety?: number;
|
|
78
|
+
|
|
79
|
+
@ApiPropertyOptional()
|
|
80
|
+
@IsOptional()
|
|
81
|
+
@IsInt()
|
|
82
|
+
idUserWhoFlagged?: number;
|
|
83
|
+
|
|
84
|
+
@ApiPropertyOptional()
|
|
85
|
+
@IsOptional()
|
|
86
|
+
@IsInt()
|
|
87
|
+
idUserWhoAnswered?: number;
|
|
88
|
+
|
|
89
|
+
@ApiPropertyOptional()
|
|
90
|
+
@IsOptional()
|
|
91
|
+
@IsInt()
|
|
92
|
+
idUser?: number;
|
|
93
|
+
|
|
94
|
+
@ApiPropertyOptional()
|
|
95
|
+
@IsOptional()
|
|
96
|
+
@IsInt()
|
|
97
|
+
idRole?: number;
|
|
98
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsNumber, IsOptional,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
5
|
+
|
|
6
|
+
export class MigrateMailAddresses {
|
|
7
|
+
@ApiProperty({ default: 25 })
|
|
8
|
+
@IsNumber()
|
|
9
|
+
limit?: number = 25;
|
|
10
|
+
|
|
11
|
+
@ApiPropertyOptional()
|
|
12
|
+
@IsOptional()
|
|
13
|
+
@IsNumber()
|
|
14
|
+
idMail?: number;
|
|
15
|
+
}
|
|
16
|
+
export class MigrateUsersMailAddresses {
|
|
17
|
+
@ApiProperty({ default: 25 })
|
|
18
|
+
@IsNumber()
|
|
19
|
+
limit?: number = 25;
|
|
20
|
+
|
|
21
|
+
@ApiPropertyOptional()
|
|
22
|
+
@IsOptional()
|
|
23
|
+
@IsNumber()
|
|
24
|
+
idUser?: number;
|
|
25
|
+
}
|
|
@@ -25,7 +25,7 @@ export class PostAttachmentEmailFromLambdaParams {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
// TODO: à supprimer
|
|
28
|
-
export class
|
|
28
|
+
export class CreateAttachmentWebmail extends PostAttachmentEmailFromLambdaParams {
|
|
29
29
|
@ApiProperty()
|
|
30
30
|
@IsNumber()
|
|
31
31
|
idMail: number;
|
|
@@ -4,6 +4,7 @@ import { IExercice } from './IExercice';
|
|
|
4
4
|
import { IRole } from './IRole';
|
|
5
5
|
import { IMailContent } from './IMailContent';
|
|
6
6
|
import { IMailAttachment } from './IMailAttachment';
|
|
7
|
+
import { IMailAddress } from './IMailAddress';
|
|
7
8
|
|
|
8
9
|
// mail
|
|
9
10
|
export interface IMail {
|
|
@@ -35,6 +36,8 @@ export interface IMail {
|
|
|
35
36
|
customFlag?: string;
|
|
36
37
|
idType?: number; // ENUM
|
|
37
38
|
idMailAuto?: number;
|
|
39
|
+
isMigrated?: boolean;
|
|
40
|
+
idMailAddressSender?: number;
|
|
38
41
|
receiptAcknowledgementAt?: Date | null;
|
|
39
42
|
processedAt?: Date | null;
|
|
40
43
|
responseAutoAt?: Date | null;
|
|
@@ -49,5 +52,7 @@ export interface IMail {
|
|
|
49
52
|
exercice?: IExercice;
|
|
50
53
|
society?: ISociety;
|
|
51
54
|
content?: IMailContent;
|
|
55
|
+
mailAddressSender?: IMailAddress;
|
|
52
56
|
attachments?: IMailAttachment[];
|
|
57
|
+
mailAddressRecipients?: IMailAddress[];
|
|
53
58
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IUser } from './IUser';
|
|
2
|
+
|
|
3
|
+
// mailAddress
|
|
4
|
+
export interface IMailAddress {
|
|
5
|
+
id?: number;
|
|
6
|
+
address: string | null;
|
|
7
|
+
name?: string;
|
|
8
|
+
idUser?: number | null;
|
|
9
|
+
createdAt?: Date;
|
|
10
|
+
updatedAt?: Date;
|
|
11
|
+
|
|
12
|
+
// Associations
|
|
13
|
+
user?: IUser;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IMail } from './IMail';
|
|
2
|
+
import { IMailAddress } from './IMailAddress';
|
|
3
|
+
|
|
4
|
+
// mailAddressMail
|
|
5
|
+
export interface IMailAddressMail {
|
|
6
|
+
id?: number;
|
|
7
|
+
idMail: number;
|
|
8
|
+
idMailAddress: number;
|
|
9
|
+
|
|
10
|
+
// Associations
|
|
11
|
+
mail?: IMail;
|
|
12
|
+
mailAddress?: IMailAddress;
|
|
13
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -273,6 +273,8 @@ export * from './Interface/models/IVatDeclaration';
|
|
|
273
273
|
export * from './Interface/models/IVatDeclarationCertificate';
|
|
274
274
|
export * from './Interface/models/IVatDeclarationSocietyDetail';
|
|
275
275
|
export * from './Interface/models/IMail';
|
|
276
|
+
export * from './Interface/models/IMailAddress';
|
|
277
|
+
export * from './Interface/models/IMailAddressMail';
|
|
276
278
|
export * from './Interface/models/IMailAttachment';
|
|
277
279
|
export * from './Interface/models/ITaskAttachment';
|
|
278
280
|
export * from './Interface/models/IMailContent';
|
|
@@ -346,6 +348,7 @@ export * from './Enum/Office';
|
|
|
346
348
|
export * from './Enum/PrestationOption';
|
|
347
349
|
export * from './Enum/TimeCounterType';
|
|
348
350
|
export * from './Enum/MailAuto';
|
|
351
|
+
export * from './Enum/MailAddressType';
|
|
349
352
|
export * from './Enum/Simulation';
|
|
350
353
|
export * from './Enum/Country';
|
|
351
354
|
export * from './Enum/ComptaType';
|
|
@@ -604,10 +607,10 @@ export * from './Interface/api/promoCode/QueryDefaultPromotion';
|
|
|
604
607
|
export * from './Interface/api/promoCode/ReadDefaultPromotion';
|
|
605
608
|
export * from './Interface/api/SocietyTransaction/QuerySocietyTransactionCount';
|
|
606
609
|
export * from './Interface/api/SocietyTransaction/ReadSocietyTransactionCount';
|
|
607
|
-
export * from './Interface/api/webmail/CreateWebmailFromLambda';
|
|
608
610
|
export * from './Interface/api/webmail/CreateMailFromLambda';
|
|
611
|
+
export * from './Interface/api/webmail/MigrateMailAddresses';
|
|
609
612
|
export * from './Interface/api/webmail/PostAttachmentEmailFromLambdaParams';
|
|
610
|
-
export * from './Interface/api/webmail/
|
|
613
|
+
export * from './Interface/api/webmail/GetPaginatedWhereObjectParams';
|
|
611
614
|
export * from './Interface/api/promoCode/CreateDefaultPromoCode';
|
|
612
615
|
export * from './Interface/api/promoCode/ReadDefaultPaginationPromoCode';
|
|
613
616
|
export * from './Interface/api/bankAccount/QueryBankAccount';
|
package/ts/utils/phone.ts
CHANGED
|
@@ -29,7 +29,7 @@ export function getPhoneNumberWithoutPrefix(phoneNumber: string): string {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
export function countSegmentsFromMessage(message: string): number {
|
|
32
|
-
return new SegmentedMessage(message, '
|
|
32
|
+
return new SegmentedMessage(message, 'auto').segmentsCount;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
export function getPhoneNumberFromRoles(roles: number[]): string | null {
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { AddressObject, HeaderLines } from 'mailparser';
|
|
2
|
-
export declare class CreateWebmailFromLambda {
|
|
3
|
-
attachments: {
|
|
4
|
-
[key: string]: any;
|
|
5
|
-
}[];
|
|
6
|
-
headers: {
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
};
|
|
9
|
-
headerLines: HeaderLines;
|
|
10
|
-
html: string | false;
|
|
11
|
-
text?: string;
|
|
12
|
-
textAsHtml?: string;
|
|
13
|
-
subject?: string;
|
|
14
|
-
references?: string[] | string;
|
|
15
|
-
date?: Date;
|
|
16
|
-
to?: AddressObject | AddressObject[];
|
|
17
|
-
from?: AddressObject;
|
|
18
|
-
cc?: AddressObject | AddressObject[];
|
|
19
|
-
bcc?: AddressObject | AddressObject[];
|
|
20
|
-
replyTo?: AddressObject;
|
|
21
|
-
messageId?: string;
|
|
22
|
-
inReplyTo?: string;
|
|
23
|
-
priority?: 'normal' | 'low' | 'high';
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=CreateWebmailFromLambda.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateWebmailFromLambda.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/CreateWebmailFromLambda.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,aAAa,EAAE,WAAW,EAC3B,MAAM,YAAY,CAAC;AAGpB,qBAAa,uBAAuB;IAGlC,WAAW,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,EAAE,CAAC;IAKtC,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAKhC,WAAW,EAAE,WAAW,CAAC;IAGzB,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,aAAa,GAAG,aAAa,EAAE,CAAC;IAKrC,IAAI,CAAC,EAAE,aAAa,CAAC;IAIrB,EAAE,CAAC,EAAE,aAAa,GAAG,aAAa,EAAE,CAAC;IAIrC,GAAG,CAAC,EAAE,aAAa,GAAG,aAAa,EAAE,CAAC;IAKtC,OAAO,CAAC,EAAE,aAAa,CAAC;IAKxB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,QAAQ,CAAC,EAAE,QAAQ,GAAG,KAAK,GAAG,MAAM,CAAC;CACtC"}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { IsArray, IsDate, IsIn, IsNotEmpty, IsObject, IsOptional, IsString, } from 'class-validator';
|
|
11
|
-
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
|
-
export class CreateWebmailFromLambda {
|
|
13
|
-
}
|
|
14
|
-
__decorate([
|
|
15
|
-
ApiProperty(),
|
|
16
|
-
IsArray(),
|
|
17
|
-
__metadata("design:type", Array)
|
|
18
|
-
], CreateWebmailFromLambda.prototype, "attachments", void 0);
|
|
19
|
-
__decorate([
|
|
20
|
-
ApiProperty(),
|
|
21
|
-
IsObject(),
|
|
22
|
-
IsNotEmpty(),
|
|
23
|
-
__metadata("design:type", Object)
|
|
24
|
-
], CreateWebmailFromLambda.prototype, "headers", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
ApiProperty(),
|
|
27
|
-
IsArray(),
|
|
28
|
-
IsNotEmpty(),
|
|
29
|
-
__metadata("design:type", Array)
|
|
30
|
-
], CreateWebmailFromLambda.prototype, "headerLines", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
ApiProperty(),
|
|
33
|
-
__metadata("design:type", Object)
|
|
34
|
-
], CreateWebmailFromLambda.prototype, "html", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
ApiPropertyOptional(),
|
|
37
|
-
IsString(),
|
|
38
|
-
IsOptional(),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], CreateWebmailFromLambda.prototype, "text", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
ApiPropertyOptional(),
|
|
43
|
-
IsString(),
|
|
44
|
-
IsOptional(),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], CreateWebmailFromLambda.prototype, "textAsHtml", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
ApiPropertyOptional(),
|
|
49
|
-
IsString(),
|
|
50
|
-
IsOptional(),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], CreateWebmailFromLambda.prototype, "subject", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
ApiPropertyOptional(),
|
|
55
|
-
IsOptional(),
|
|
56
|
-
__metadata("design:type", Object)
|
|
57
|
-
], CreateWebmailFromLambda.prototype, "references", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
ApiPropertyOptional(),
|
|
60
|
-
IsOptional(),
|
|
61
|
-
IsDate(),
|
|
62
|
-
__metadata("design:type", Date)
|
|
63
|
-
], CreateWebmailFromLambda.prototype, "date", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
ApiPropertyOptional(),
|
|
66
|
-
IsOptional(),
|
|
67
|
-
__metadata("design:type", Object)
|
|
68
|
-
], CreateWebmailFromLambda.prototype, "to", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
ApiPropertyOptional(),
|
|
71
|
-
IsObject(),
|
|
72
|
-
IsOptional(),
|
|
73
|
-
__metadata("design:type", Object)
|
|
74
|
-
], CreateWebmailFromLambda.prototype, "from", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
ApiPropertyOptional(),
|
|
77
|
-
IsOptional(),
|
|
78
|
-
__metadata("design:type", Object)
|
|
79
|
-
], CreateWebmailFromLambda.prototype, "cc", void 0);
|
|
80
|
-
__decorate([
|
|
81
|
-
ApiPropertyOptional(),
|
|
82
|
-
IsOptional(),
|
|
83
|
-
__metadata("design:type", Object)
|
|
84
|
-
], CreateWebmailFromLambda.prototype, "bcc", void 0);
|
|
85
|
-
__decorate([
|
|
86
|
-
ApiPropertyOptional(),
|
|
87
|
-
IsObject(),
|
|
88
|
-
IsOptional(),
|
|
89
|
-
__metadata("design:type", Object)
|
|
90
|
-
], CreateWebmailFromLambda.prototype, "replyTo", void 0);
|
|
91
|
-
__decorate([
|
|
92
|
-
ApiPropertyOptional(),
|
|
93
|
-
IsString(),
|
|
94
|
-
IsOptional(),
|
|
95
|
-
__metadata("design:type", String)
|
|
96
|
-
], CreateWebmailFromLambda.prototype, "messageId", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
ApiPropertyOptional(),
|
|
99
|
-
IsString(),
|
|
100
|
-
IsOptional(),
|
|
101
|
-
__metadata("design:type", String)
|
|
102
|
-
], CreateWebmailFromLambda.prototype, "inReplyTo", void 0);
|
|
103
|
-
__decorate([
|
|
104
|
-
ApiPropertyOptional(),
|
|
105
|
-
IsOptional(),
|
|
106
|
-
IsIn(['normal', 'low', 'high']),
|
|
107
|
-
__metadata("design:type", String)
|
|
108
|
-
], CreateWebmailFromLambda.prototype, "priority", void 0);
|
|
109
|
-
//# sourceMappingURL=CreateWebmailFromLambda.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateWebmailFromLambda.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/CreateWebmailFromLambda.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,GAClE,MAAM,iBAAiB,CAAC;AAIzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,uBAAuB;CA8EnC;AA3EC;IAFC,WAAW,EAAE;IACb,OAAO,EAAE;;4DAC4B;AAKtC;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,UAAU,EAAE;;wDACmB;AAKhC;IAHC,WAAW,EAAE;IACb,OAAO,EAAE;IACT,UAAU,EAAE;;4DACY;AAGzB;IADC,WAAW,EAAE;;qDACO;AAKrB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;qDACC;AAKd;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;2DACO;AAKpB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;wDACI;AAIjB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;2DACkB;AAK/B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACF,IAAI;qDAAC;AAIZ;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;mDACwB;AAKrC;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;qDACQ;AAIrB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;mDACwB;AAIrC;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;oDACyB;AAKtC;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;wDACW;AAKxB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;0DACM;AAKnB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;0DACM;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,IAAI,CAAC,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC;;yDACK","sourcesContent":["import {\n IsArray, IsDate, IsIn, IsNotEmpty, IsObject, IsOptional, IsString,\n} from 'class-validator';\nimport {\n AddressObject, HeaderLines,\n} from 'mailparser';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateWebmailFromLambda {\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: 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?: AddressObject | AddressObject[];\n\n @ApiPropertyOptional()\n @IsObject()\n @IsOptional()\n from?: AddressObject;\n\n @ApiPropertyOptional()\n @IsOptional()\n cc?: AddressObject | AddressObject[];\n\n @ApiPropertyOptional()\n @IsOptional()\n bcc?: AddressObject | AddressObject[];\n\n @ApiPropertyOptional()\n @IsObject()\n @IsOptional()\n replyTo?: 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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetMissingMailsInFinalBucket.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/GetMissingMailsInFinalBucket.ts"],"names":[],"mappings":"AAGA,qBAAa,4BAA4B;IAIvC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { IsOptional, IsString } from 'class-validator';
|
|
11
|
-
import { ApiPropertyOptional } from '../../../../utils';
|
|
12
|
-
export class GetMissingMailsInFinalBucket {
|
|
13
|
-
}
|
|
14
|
-
__decorate([
|
|
15
|
-
ApiPropertyOptional(),
|
|
16
|
-
IsOptional(),
|
|
17
|
-
IsString(),
|
|
18
|
-
__metadata("design:type", String)
|
|
19
|
-
], GetMissingMailsInFinalBucket.prototype, "prefix", void 0);
|
|
20
|
-
//# sourceMappingURL=GetMissingMailsInFinalBucket.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetMissingMailsInFinalBucket.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/GetMissingMailsInFinalBucket.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,4BAA4B;CAKxC;AADC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;4DACK","sourcesContent":["import { IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class GetMissingMailsInFinalBucket {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n prefix?: string;\n}"]}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.CreateWebmailFromLambda = 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 CreateWebmailFromLambda {}
|
|
25
|
-
|
|
26
|
-
exports.CreateWebmailFromLambda = CreateWebmailFromLambda;
|
|
27
|
-
|
|
28
|
-
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsArray)(), __metadata("design:type", Array)], CreateWebmailFromLambda.prototype, "attachments", void 0);
|
|
29
|
-
|
|
30
|
-
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsObject)(), (0, _classValidator.IsNotEmpty)(), __metadata("design:type", Object)], CreateWebmailFromLambda.prototype, "headers", void 0);
|
|
31
|
-
|
|
32
|
-
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsArray)(), (0, _classValidator.IsNotEmpty)(), __metadata("design:type", Array)], CreateWebmailFromLambda.prototype, "headerLines", void 0);
|
|
33
|
-
|
|
34
|
-
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Object)], CreateWebmailFromLambda.prototype, "html", void 0);
|
|
35
|
-
|
|
36
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], CreateWebmailFromLambda.prototype, "text", void 0);
|
|
37
|
-
|
|
38
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], CreateWebmailFromLambda.prototype, "textAsHtml", void 0);
|
|
39
|
-
|
|
40
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], CreateWebmailFromLambda.prototype, "subject", void 0);
|
|
41
|
-
|
|
42
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], CreateWebmailFromLambda.prototype, "references", void 0);
|
|
43
|
-
|
|
44
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], CreateWebmailFromLambda.prototype, "date", void 0);
|
|
45
|
-
|
|
46
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], CreateWebmailFromLambda.prototype, "to", void 0);
|
|
47
|
-
|
|
48
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsObject)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], CreateWebmailFromLambda.prototype, "from", void 0);
|
|
49
|
-
|
|
50
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], CreateWebmailFromLambda.prototype, "cc", void 0);
|
|
51
|
-
|
|
52
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], CreateWebmailFromLambda.prototype, "bcc", void 0);
|
|
53
|
-
|
|
54
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsObject)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], CreateWebmailFromLambda.prototype, "replyTo", void 0);
|
|
55
|
-
|
|
56
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], CreateWebmailFromLambda.prototype, "messageId", void 0);
|
|
57
|
-
|
|
58
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], CreateWebmailFromLambda.prototype, "inReplyTo", void 0);
|
|
59
|
-
|
|
60
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsIn)(['normal', 'low', 'high']), __metadata("design:type", String)], CreateWebmailFromLambda.prototype, "priority", void 0);
|
|
61
|
-
//# sourceMappingURL=CreateWebmailFromLambda.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateWebmailFromLambda.js","mappings":";;;;;;;AAAA;;AAMA;;;;;;;;;;;;;;AAEM,MAAOA,uBAAP,CAA8B;;QAAvBA,uB,GAAAA,uB;;AAGXC,YAFC,yBAED,EADC,8BACD;;AAKAA,YAHC,yBAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,yBAGD,EAFC,8BAED,EADC,iCACD;;AAGAA,YADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,6BACD,4BAAOC,KAAP;;AAIAD,YAFC,iCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,0BAAK,CAAC,QAAD,EAAW,KAAX,EAAkB,MAAlB,CAAL,CACD","names":["CreateWebmailFromLambda","__decorate","Date"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/CreateWebmailFromLambda.ts"],"sourcesContent":["import {\n IsArray, IsDate, IsIn, IsNotEmpty, IsObject, IsOptional, IsString,\n} from 'class-validator';\nimport {\n AddressObject, HeaderLines,\n} from 'mailparser';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateWebmailFromLambda {\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: 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?: AddressObject | AddressObject[];\n\n @ApiPropertyOptional()\n @IsObject()\n @IsOptional()\n from?: AddressObject;\n\n @ApiPropertyOptional()\n @IsOptional()\n cc?: AddressObject | AddressObject[];\n\n @ApiPropertyOptional()\n @IsOptional()\n bcc?: AddressObject | AddressObject[];\n\n @ApiPropertyOptional()\n @IsObject()\n @IsOptional()\n replyTo?: 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,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.GetMissingMailsInFinalBucket = 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 GetMissingMailsInFinalBucket {}
|
|
25
|
-
|
|
26
|
-
exports.GetMissingMailsInFinalBucket = GetMissingMailsInFinalBucket;
|
|
27
|
-
|
|
28
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], GetMissingMailsInFinalBucket.prototype, "prefix", void 0);
|
|
29
|
-
//# sourceMappingURL=GetMissingMailsInFinalBucket.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetMissingMailsInFinalBucket.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,4BAAP,CAAmC;;QAA5BA,4B,GAAAA,4B;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD","names":["GetMissingMailsInFinalBucket","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/GetMissingMailsInFinalBucket.ts"],"sourcesContent":["import { IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class GetMissingMailsInFinalBucket {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n prefix?: string;\n}"]}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
IsArray, IsDate, IsIn, IsNotEmpty, IsObject, IsOptional, IsString,
|
|
3
|
-
} from 'class-validator';
|
|
4
|
-
import {
|
|
5
|
-
AddressObject, HeaderLines,
|
|
6
|
-
} from 'mailparser';
|
|
7
|
-
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
8
|
-
|
|
9
|
-
export class CreateWebmailFromLambda {
|
|
10
|
-
@ApiProperty()
|
|
11
|
-
@IsArray()
|
|
12
|
-
attachments: { [key: string]: any }[];
|
|
13
|
-
|
|
14
|
-
@ApiProperty()
|
|
15
|
-
@IsObject()
|
|
16
|
-
@IsNotEmpty()
|
|
17
|
-
headers: { [key: string]: any };
|
|
18
|
-
|
|
19
|
-
@ApiProperty()
|
|
20
|
-
@IsArray()
|
|
21
|
-
@IsNotEmpty()
|
|
22
|
-
headerLines: HeaderLines;
|
|
23
|
-
|
|
24
|
-
@ApiProperty()
|
|
25
|
-
html: string | false;
|
|
26
|
-
|
|
27
|
-
@ApiPropertyOptional()
|
|
28
|
-
@IsString()
|
|
29
|
-
@IsOptional()
|
|
30
|
-
text?: string;
|
|
31
|
-
|
|
32
|
-
@ApiPropertyOptional()
|
|
33
|
-
@IsString()
|
|
34
|
-
@IsOptional()
|
|
35
|
-
textAsHtml?: string;
|
|
36
|
-
|
|
37
|
-
@ApiPropertyOptional()
|
|
38
|
-
@IsString()
|
|
39
|
-
@IsOptional()
|
|
40
|
-
subject?: string;
|
|
41
|
-
|
|
42
|
-
@ApiPropertyOptional()
|
|
43
|
-
@IsOptional()
|
|
44
|
-
references?: string[] | string;
|
|
45
|
-
|
|
46
|
-
@ApiPropertyOptional()
|
|
47
|
-
@IsOptional()
|
|
48
|
-
@IsDate()
|
|
49
|
-
date?: Date;
|
|
50
|
-
|
|
51
|
-
@ApiPropertyOptional()
|
|
52
|
-
@IsOptional()
|
|
53
|
-
to?: AddressObject | AddressObject[];
|
|
54
|
-
|
|
55
|
-
@ApiPropertyOptional()
|
|
56
|
-
@IsObject()
|
|
57
|
-
@IsOptional()
|
|
58
|
-
from?: AddressObject;
|
|
59
|
-
|
|
60
|
-
@ApiPropertyOptional()
|
|
61
|
-
@IsOptional()
|
|
62
|
-
cc?: AddressObject | AddressObject[];
|
|
63
|
-
|
|
64
|
-
@ApiPropertyOptional()
|
|
65
|
-
@IsOptional()
|
|
66
|
-
bcc?: AddressObject | AddressObject[];
|
|
67
|
-
|
|
68
|
-
@ApiPropertyOptional()
|
|
69
|
-
@IsObject()
|
|
70
|
-
@IsOptional()
|
|
71
|
-
replyTo?: AddressObject;
|
|
72
|
-
|
|
73
|
-
@ApiPropertyOptional()
|
|
74
|
-
@IsString()
|
|
75
|
-
@IsOptional()
|
|
76
|
-
messageId?: string;
|
|
77
|
-
|
|
78
|
-
@ApiPropertyOptional()
|
|
79
|
-
@IsString()
|
|
80
|
-
@IsOptional()
|
|
81
|
-
inReplyTo?: string;
|
|
82
|
-
|
|
83
|
-
@ApiPropertyOptional()
|
|
84
|
-
@IsOptional()
|
|
85
|
-
@IsIn(['normal', 'low', 'high'])
|
|
86
|
-
priority?: 'normal' | 'low' | 'high';
|
|
87
|
-
}
|