@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.
Files changed (81) hide show
  1. package/es/api/resources/Exercice.d.ts +6 -0
  2. package/es/api/resources/Exercice.d.ts.map +1 -0
  3. package/es/api/resources/Exercice.js +7 -0
  4. package/es/api/resources/Exercice.js.map +1 -0
  5. package/es/api/resources.d.ts +2 -0
  6. package/es/api/resources.d.ts.map +1 -1
  7. package/es/api/resources.js +2 -0
  8. package/es/api/resources.js.map +1 -1
  9. package/es/types/Enum/Aspone.d.ts +4 -3
  10. package/es/types/Enum/Aspone.d.ts.map +1 -1
  11. package/es/types/Enum/Aspone.js +4 -3
  12. package/es/types/Enum/Aspone.js.map +1 -1
  13. package/es/types/Enum/BalanceSheet.js +1 -1
  14. package/es/types/Enum/BalanceSheet.js.map +1 -1
  15. package/es/types/Enum/BrandComptalib.js +1 -1
  16. package/es/types/Enum/BrandComptalib.js.map +1 -1
  17. package/es/types/Enum/MailFlag.d.ts +5 -0
  18. package/es/types/Enum/MailFlag.d.ts.map +1 -0
  19. package/es/types/Enum/MailFlag.js +6 -0
  20. package/es/types/Enum/MailFlag.js.map +1 -0
  21. package/es/types/Interface/api/webmail/CreateMailFromLambda.d.ts +25 -0
  22. package/es/types/Interface/api/webmail/CreateMailFromLambda.d.ts.map +1 -0
  23. package/es/types/Interface/api/webmail/CreateMailFromLambda.js +109 -0
  24. package/es/types/Interface/api/webmail/CreateMailFromLambda.js.map +1 -0
  25. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts +6 -0
  26. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts.map +1 -1
  27. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +15 -0
  28. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
  29. package/es/types/Interface/models/IMail.d.ts +49 -0
  30. package/es/types/Interface/models/IMail.d.ts.map +1 -0
  31. package/es/types/Interface/models/IMail.js +2 -0
  32. package/es/types/Interface/models/IMail.js.map +1 -0
  33. package/es/types/Interface/models/IMailAttachment.d.ts +12 -0
  34. package/es/types/Interface/models/IMailAttachment.d.ts.map +1 -0
  35. package/es/types/Interface/models/IMailAttachment.js +2 -0
  36. package/es/types/Interface/models/IMailAttachment.js.map +1 -0
  37. package/es/types/Interface/models/IMailContent.d.ts +9 -0
  38. package/es/types/Interface/models/IMailContent.d.ts.map +1 -0
  39. package/es/types/Interface/models/IMailContent.js +2 -0
  40. package/es/types/Interface/models/IMailContent.js.map +1 -0
  41. package/es/types/index.d.ts +5 -0
  42. package/es/types/index.d.ts.map +1 -1
  43. package/es/types/index.js +5 -0
  44. package/es/types/index.js.map +1 -1
  45. package/js/api/resources/Exercice.js +18 -0
  46. package/js/api/resources/Exercice.js.map +1 -0
  47. package/js/api/resources.js +4 -1
  48. package/js/api/resources.js.map +1 -1
  49. package/js/types/Enum/Aspone.js +4 -3
  50. package/js/types/Enum/Aspone.js.map +1 -1
  51. package/js/types/Enum/BalanceSheet.js +1 -1
  52. package/js/types/Enum/BalanceSheet.js.map +1 -1
  53. package/js/types/Enum/BrandComptalib.js +1 -1
  54. package/js/types/Enum/BrandComptalib.js.map +1 -1
  55. package/js/types/Enum/MailFlag.js +12 -0
  56. package/js/types/Enum/MailFlag.js.map +1 -0
  57. package/js/types/Interface/api/webmail/CreateMailFromLambda.js +61 -0
  58. package/js/types/Interface/api/webmail/CreateMailFromLambda.js.map +1 -0
  59. package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +17 -2
  60. package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
  61. package/js/types/Interface/models/IMail.js +6 -0
  62. package/js/types/Interface/models/IMail.js.map +1 -0
  63. package/js/types/Interface/models/IMailAttachment.js +6 -0
  64. package/js/types/Interface/models/IMailAttachment.js.map +1 -0
  65. package/js/types/Interface/models/IMailContent.js +6 -0
  66. package/js/types/Interface/models/IMailContent.js.map +1 -0
  67. package/js/types/index.js +60 -0
  68. package/js/types/index.js.map +1 -1
  69. package/package.json +1 -1
  70. package/ts/api/resources/Exercice.ts +8 -0
  71. package/ts/api/resources.ts +2 -0
  72. package/ts/types/Enum/Aspone.ts +4 -3
  73. package/ts/types/Enum/BalanceSheet.ts +1 -1
  74. package/ts/types/Enum/BrandComptalib.ts +1 -1
  75. package/ts/types/Enum/MailFlag.ts +4 -0
  76. package/ts/types/Interface/api/webmail/CreateMailFromLambda.ts +87 -0
  77. package/ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts +11 -0
  78. package/ts/types/Interface/models/IMail.ts +52 -0
  79. package/ts/types/Interface/models/IMailAttachment.ts +15 -0
  80. package/ts/types/Interface/models/IMailContent.ts +12 -0
  81. 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
+ }
@@ -0,0 +1,12 @@
1
+ import { IMail } from './IMail';
2
+
3
+ // mailContent
4
+ export interface IMailContent {
5
+ id?: number;
6
+ textPlain?: string;
7
+ textHtml?: string;
8
+ idMail?: number;
9
+
10
+ // Associations
11
+ mail?: IMail;
12
+ }
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';