@silexpert/core 0.4.174 → 0.4.176
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/Exercice.d.ts +6 -0
- package/es/api/resources/Exercice.d.ts.map +1 -0
- package/es/api/resources/Exercice.js +7 -0
- package/es/api/resources/Exercice.js.map +1 -0
- package/es/api/resources.d.ts +2 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +2 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/Aspone.d.ts +4 -3
- package/es/types/Enum/Aspone.d.ts.map +1 -1
- package/es/types/Enum/Aspone.js +4 -3
- package/es/types/Enum/Aspone.js.map +1 -1
- package/es/types/Enum/BalanceSheet.js +1 -1
- package/es/types/Enum/BalanceSheet.js.map +1 -1
- package/es/types/Enum/BrandComptalib.js +1 -1
- package/es/types/Enum/BrandComptalib.js.map +1 -1
- package/es/types/Enum/MailFlag.d.ts +5 -0
- package/es/types/Enum/MailFlag.d.ts.map +1 -0
- package/es/types/Enum/MailFlag.js +6 -0
- package/es/types/Enum/MailFlag.js.map +1 -0
- package/es/types/Interface/api/webmail/CreateMailFromLambda.d.ts +25 -0
- package/es/types/Interface/api/webmail/CreateMailFromLambda.d.ts.map +1 -0
- package/es/types/Interface/api/webmail/CreateMailFromLambda.js +109 -0
- package/es/types/Interface/api/webmail/CreateMailFromLambda.js.map +1 -0
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts +6 -0
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts.map +1 -1
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +15 -0
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
- package/es/types/Interface/models/IMail.d.ts +49 -0
- package/es/types/Interface/models/IMail.d.ts.map +1 -0
- package/es/types/Interface/models/IMail.js +2 -0
- package/es/types/Interface/models/IMail.js.map +1 -0
- package/es/types/Interface/models/IMailAttachment.d.ts +12 -0
- package/es/types/Interface/models/IMailAttachment.d.ts.map +1 -0
- package/es/types/Interface/models/IMailAttachment.js +2 -0
- package/es/types/Interface/models/IMailAttachment.js.map +1 -0
- package/es/types/Interface/models/IMailContent.d.ts +9 -0
- package/es/types/Interface/models/IMailContent.d.ts.map +1 -0
- package/es/types/Interface/models/IMailContent.js +2 -0
- package/es/types/Interface/models/IMailContent.js.map +1 -0
- package/es/types/index.d.ts +5 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +5 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Exercice.js +18 -0
- package/js/api/resources/Exercice.js.map +1 -0
- package/js/api/resources.js +4 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/Aspone.js +4 -3
- package/js/types/Enum/Aspone.js.map +1 -1
- package/js/types/Enum/BalanceSheet.js +1 -1
- package/js/types/Enum/BalanceSheet.js.map +1 -1
- package/js/types/Enum/BrandComptalib.js +1 -1
- package/js/types/Enum/BrandComptalib.js.map +1 -1
- package/js/types/Enum/MailFlag.js +12 -0
- package/js/types/Enum/MailFlag.js.map +1 -0
- package/js/types/Interface/api/webmail/CreateMailFromLambda.js +61 -0
- package/js/types/Interface/api/webmail/CreateMailFromLambda.js.map +1 -0
- package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +17 -2
- package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
- package/js/types/Interface/models/IMail.js +6 -0
- package/js/types/Interface/models/IMail.js.map +1 -0
- package/js/types/Interface/models/IMailAttachment.js +6 -0
- package/js/types/Interface/models/IMailAttachment.js.map +1 -0
- package/js/types/Interface/models/IMailContent.js +6 -0
- package/js/types/Interface/models/IMailContent.js.map +1 -0
- package/js/types/index.js +60 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Exercice.ts +8 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/Aspone.ts +4 -3
- package/ts/types/Enum/BalanceSheet.ts +1 -1
- package/ts/types/Enum/BrandComptalib.ts +1 -1
- package/ts/types/Enum/MailFlag.ts +4 -0
- package/ts/types/Interface/api/webmail/CreateMailFromLambda.ts +87 -0
- package/ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts +11 -0
- package/ts/types/Interface/models/IMail.ts +52 -0
- package/ts/types/Interface/models/IMailAttachment.ts +15 -0
- package/ts/types/Interface/models/IMailContent.ts +12 -0
- package/ts/types/index.ts +5 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ISociety } from './ISociety';
|
|
2
|
+
import { IUser } from './IUser';
|
|
3
|
+
import { IExercice } from './IExercice';
|
|
4
|
+
import { IRole } from './IRole';
|
|
5
|
+
import { IMailContent } from './IMailContent';
|
|
6
|
+
|
|
7
|
+
// mail
|
|
8
|
+
export interface IMail {
|
|
9
|
+
id?: number;
|
|
10
|
+
messageId?: string | null;
|
|
11
|
+
date: Date;
|
|
12
|
+
subject?: string | null;
|
|
13
|
+
fromName?: string | null;
|
|
14
|
+
fromAddress?: string;
|
|
15
|
+
to?: string;
|
|
16
|
+
cc?: string | null;
|
|
17
|
+
bcc?: string | null;
|
|
18
|
+
replyTo?: string | null;
|
|
19
|
+
inReplyTo?: string | null;
|
|
20
|
+
listReferences?: string | null;
|
|
21
|
+
spamScore?: number;
|
|
22
|
+
textMini?: string | null;
|
|
23
|
+
isSent: boolean;
|
|
24
|
+
isRead?: boolean;
|
|
25
|
+
isDraft?: boolean;
|
|
26
|
+
isImportant?: boolean;
|
|
27
|
+
isFollowed?: boolean;
|
|
28
|
+
idUser?: number;
|
|
29
|
+
idUserWhoAnswered?: number;
|
|
30
|
+
idUserWhoFlagged?: number;
|
|
31
|
+
idRole?: number | null;
|
|
32
|
+
idExercice?: number | null;
|
|
33
|
+
idSociety?: number | null;
|
|
34
|
+
idFlag?: number;
|
|
35
|
+
idType?: number; // ENUM
|
|
36
|
+
idMailAuto?: number;
|
|
37
|
+
receiptAcknowledgementAt?: Date | null;
|
|
38
|
+
processedAt?: Date | null;
|
|
39
|
+
responseAutoAt?: Date | null;
|
|
40
|
+
createdAt?: Date;
|
|
41
|
+
updatedAt?: Date;
|
|
42
|
+
deletedAt?: Date;
|
|
43
|
+
|
|
44
|
+
// Associations
|
|
45
|
+
webmailFlagUser?: IUser;
|
|
46
|
+
webmailAnswerUser?: IUser;
|
|
47
|
+
webmailSender?: IUser;
|
|
48
|
+
role?: IRole;
|
|
49
|
+
exercice?: IExercice;
|
|
50
|
+
webmailSocieties?: ISociety;
|
|
51
|
+
mailContent?: IMailContent;
|
|
52
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IFile } from './IFile';
|
|
2
|
+
import { IMail } from './IMail';
|
|
3
|
+
|
|
4
|
+
// mailAttachment
|
|
5
|
+
export interface IMailAttachment {
|
|
6
|
+
id?: number;
|
|
7
|
+
idFile: number;
|
|
8
|
+
idMail: number;
|
|
9
|
+
createdAt?: Date | null;
|
|
10
|
+
updatedAt?: Date | null;
|
|
11
|
+
|
|
12
|
+
// Associations
|
|
13
|
+
mail?: IMail;
|
|
14
|
+
file?: IFile;
|
|
15
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -265,6 +265,9 @@ export * from './Interface/models/IUserTest';
|
|
|
265
265
|
export * from './Interface/models/IVatDeclaration';
|
|
266
266
|
export * from './Interface/models/IVatDeclarationCertificate';
|
|
267
267
|
export * from './Interface/models/IVatDeclarationSocietyDetail';
|
|
268
|
+
export * from './Interface/models/IMail';
|
|
269
|
+
export * from './Interface/models/IMailAttachment';
|
|
270
|
+
export * from './Interface/models/IMailContent';
|
|
268
271
|
export * from './Interface/models/IWebMail';
|
|
269
272
|
export * from './Interface/models/IWebMailAttachment';
|
|
270
273
|
export * from './Interface/models/IWebMailSpam';
|
|
@@ -397,6 +400,7 @@ export * from './Enum/KilometricAllowanceScale';
|
|
|
397
400
|
export * from './Enum/VatDeclarationType';
|
|
398
401
|
export * from './Enum/WebmailType';
|
|
399
402
|
export * from './Enum/WebmailFlag';
|
|
403
|
+
export * from './Enum/MailFlag';
|
|
400
404
|
|
|
401
405
|
// Interfaces API
|
|
402
406
|
export * from './Interface/api/jeDeclare/ReadJeDeclare';
|
|
@@ -506,6 +510,7 @@ export * from './Interface/api/promoCode/ReadDefaultPromotion';
|
|
|
506
510
|
export * from './Interface/api/SocietyTransaction/QuerySocietyTransactionCount';
|
|
507
511
|
export * from './Interface/api/SocietyTransaction/ReadSocietyTransactionCount';
|
|
508
512
|
export * from './Interface/api/webmail/CreateWebmailFromLambda';
|
|
513
|
+
export * from './Interface/api/webmail/CreateMailFromLambda';
|
|
509
514
|
export * from './Interface/api/webmail/PostAttachmentEmailFromLambdaParams';
|
|
510
515
|
export * from './Interface/api/webmail/GetMissingMailsInFinalBucket';
|
|
511
516
|
export * from './Interface/api/promoCode/CreateDefaultPromoCode';
|