@silexpert/core 0.4.172 → 0.4.175

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 (125) hide show
  1. package/es/api/resources/GeneralLedger.d.ts +3 -1
  2. package/es/api/resources/GeneralLedger.d.ts.map +1 -1
  3. package/es/api/resources/GeneralLedger.js +5 -0
  4. package/es/api/resources/GeneralLedger.js.map +1 -1
  5. package/es/api/resources/Tax.js.map +1 -1
  6. package/es/api/resources/Transaction.d.ts +1 -0
  7. package/es/api/resources/Transaction.d.ts.map +1 -1
  8. package/es/api/resources/Transaction.js +3 -0
  9. package/es/api/resources/Transaction.js.map +1 -1
  10. package/es/types/Enum/Aspone.d.ts +4 -3
  11. package/es/types/Enum/Aspone.d.ts.map +1 -1
  12. package/es/types/Enum/Aspone.js +4 -3
  13. package/es/types/Enum/Aspone.js.map +1 -1
  14. package/es/types/Enum/BalanceSheet.d.ts.map +1 -1
  15. package/es/types/Enum/BalanceSheet.js +9 -5
  16. package/es/types/Enum/BalanceSheet.js.map +1 -1
  17. package/es/types/Enum/BrandClementine.js +1 -1
  18. package/es/types/Enum/BrandClementine.js.map +1 -1
  19. package/es/types/Enum/BrandComptalib.js +3 -3
  20. package/es/types/Enum/BrandComptalib.js.map +1 -1
  21. package/es/types/Enum/MailFlag.d.ts +5 -0
  22. package/es/types/Enum/MailFlag.d.ts.map +1 -0
  23. package/es/types/Enum/MailFlag.js +6 -0
  24. package/es/types/Enum/MailFlag.js.map +1 -0
  25. package/es/types/Interface/api/BasePaginate.d.ts +6 -0
  26. package/es/types/Interface/api/BasePaginate.d.ts.map +1 -1
  27. package/es/types/Interface/api/BasePaginate.js.map +1 -1
  28. package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts +2 -0
  29. package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts.map +1 -1
  30. package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
  31. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts +4 -0
  32. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts.map +1 -1
  33. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js +28 -1
  34. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
  35. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts +2 -0
  36. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
  37. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js +5 -0
  38. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  39. package/es/types/Interface/api/transactions/QueryUnexport.d.ts +2 -2
  40. package/es/types/Interface/api/transactions/QueryUnexport.d.ts.map +1 -1
  41. package/es/types/Interface/api/transactions/QueryUnexport.js.map +1 -1
  42. package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts.map +1 -1
  43. package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +2 -0
  44. package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
  45. package/es/types/Interface/api/webmail/CreateMailFromLambda.d.ts +25 -0
  46. package/es/types/Interface/api/webmail/CreateMailFromLambda.d.ts.map +1 -0
  47. package/es/types/Interface/api/webmail/CreateMailFromLambda.js +109 -0
  48. package/es/types/Interface/api/webmail/CreateMailFromLambda.js.map +1 -0
  49. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts +6 -0
  50. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts.map +1 -1
  51. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +17 -2
  52. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
  53. package/es/types/Interface/models/IMail.d.ts +49 -0
  54. package/es/types/Interface/models/IMail.d.ts.map +1 -0
  55. package/es/types/Interface/models/IMail.js +2 -0
  56. package/es/types/Interface/models/IMail.js.map +1 -0
  57. package/es/types/Interface/models/IMailAttachment.d.ts +12 -0
  58. package/es/types/Interface/models/IMailAttachment.d.ts.map +1 -0
  59. package/es/types/Interface/models/IMailAttachment.js +2 -0
  60. package/es/types/Interface/models/IMailAttachment.js.map +1 -0
  61. package/es/types/Interface/models/IMailContent.d.ts +9 -0
  62. package/es/types/Interface/models/IMailContent.d.ts.map +1 -0
  63. package/es/types/Interface/models/IMailContent.js +2 -0
  64. package/es/types/Interface/models/IMailContent.js.map +1 -0
  65. package/es/types/index.d.ts +5 -0
  66. package/es/types/index.d.ts.map +1 -1
  67. package/es/types/index.js +5 -0
  68. package/es/types/index.js.map +1 -1
  69. package/js/api/resources/GeneralLedger.js +6 -0
  70. package/js/api/resources/GeneralLedger.js.map +1 -1
  71. package/js/api/resources/Tax.js.map +1 -1
  72. package/js/api/resources/Transaction.js +4 -0
  73. package/js/api/resources/Transaction.js.map +1 -1
  74. package/js/types/Enum/Aspone.js +4 -3
  75. package/js/types/Enum/Aspone.js.map +1 -1
  76. package/js/types/Enum/BalanceSheet.js +9 -5
  77. package/js/types/Enum/BalanceSheet.js.map +1 -1
  78. package/js/types/Enum/BrandClementine.js +1 -1
  79. package/js/types/Enum/BrandClementine.js.map +1 -1
  80. package/js/types/Enum/BrandComptalib.js +3 -3
  81. package/js/types/Enum/BrandComptalib.js.map +1 -1
  82. package/js/types/Enum/MailFlag.js +12 -0
  83. package/js/types/Enum/MailFlag.js.map +1 -0
  84. package/js/types/Interface/api/BasePaginate.js.map +1 -1
  85. package/js/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
  86. package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js +14 -0
  87. package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
  88. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js +7 -0
  89. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  90. package/js/types/Interface/api/transactions/QueryUnexport.js.map +1 -1
  91. package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +3 -1
  92. package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
  93. package/js/types/Interface/api/webmail/CreateMailFromLambda.js +61 -0
  94. package/js/types/Interface/api/webmail/CreateMailFromLambda.js.map +1 -0
  95. package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +18 -3
  96. package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
  97. package/js/types/Interface/models/IMail.js +6 -0
  98. package/js/types/Interface/models/IMail.js.map +1 -0
  99. package/js/types/Interface/models/IMailAttachment.js +6 -0
  100. package/js/types/Interface/models/IMailAttachment.js.map +1 -0
  101. package/js/types/Interface/models/IMailContent.js +6 -0
  102. package/js/types/Interface/models/IMailContent.js.map +1 -0
  103. package/js/types/index.js +60 -0
  104. package/js/types/index.js.map +1 -1
  105. package/package.json +1 -1
  106. package/ts/api/resources/GeneralLedger.ts +8 -1
  107. package/ts/api/resources/Tax.ts +1 -1
  108. package/ts/api/resources/Transaction.ts +4 -0
  109. package/ts/types/Enum/Aspone.ts +4 -3
  110. package/ts/types/Enum/BalanceSheet.ts +9 -5
  111. package/ts/types/Enum/BrandClementine.ts +1 -1
  112. package/ts/types/Enum/BrandComptalib.ts +3 -3
  113. package/ts/types/Enum/MailFlag.ts +4 -0
  114. package/ts/types/Interface/api/BasePaginate.ts +7 -0
  115. package/ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts +2 -0
  116. package/ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts +26 -1
  117. package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +4 -0
  118. package/ts/types/Interface/api/transactions/QueryUnexport.ts +2 -2
  119. package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +2 -0
  120. package/ts/types/Interface/api/webmail/CreateMailFromLambda.ts +87 -0
  121. package/ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts +13 -2
  122. package/ts/types/Interface/models/IMail.ts +52 -0
  123. package/ts/types/Interface/models/IMailAttachment.ts +15 -0
  124. package/ts/types/Interface/models/IMailContent.ts +12 -0
  125. package/ts/types/index.ts +5 -0
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CreateMailFromLambda = 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 CreateMailFromLambda {}
25
+
26
+ exports.CreateMailFromLambda = CreateMailFromLambda;
27
+
28
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsArray)(), __metadata("design:type", Array)], CreateMailFromLambda.prototype, "attachments", void 0);
29
+
30
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsObject)(), (0, _classValidator.IsNotEmpty)(), __metadata("design:type", Object)], CreateMailFromLambda.prototype, "headers", void 0);
31
+
32
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsArray)(), (0, _classValidator.IsNotEmpty)(), __metadata("design:type", Array)], CreateMailFromLambda.prototype, "headerLines", void 0);
33
+
34
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Object)], CreateMailFromLambda.prototype, "html", void 0);
35
+
36
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], CreateMailFromLambda.prototype, "text", void 0);
37
+
38
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], CreateMailFromLambda.prototype, "textAsHtml", void 0);
39
+
40
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], CreateMailFromLambda.prototype, "subject", void 0);
41
+
42
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], CreateMailFromLambda.prototype, "references", void 0);
43
+
44
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], CreateMailFromLambda.prototype, "date", void 0);
45
+
46
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], CreateMailFromLambda.prototype, "to", void 0);
47
+
48
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsObject)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], CreateMailFromLambda.prototype, "from", void 0);
49
+
50
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], CreateMailFromLambda.prototype, "cc", void 0);
51
+
52
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], CreateMailFromLambda.prototype, "bcc", void 0);
53
+
54
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsObject)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], CreateMailFromLambda.prototype, "replyTo", void 0);
55
+
56
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], CreateMailFromLambda.prototype, "messageId", void 0);
57
+
58
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], CreateMailFromLambda.prototype, "inReplyTo", void 0);
59
+
60
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsIn)(['normal', 'low', 'high']), __metadata("design:type", String)], CreateMailFromLambda.prototype, "priority", void 0);
61
+ //# sourceMappingURL=CreateMailFromLambda.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateMailFromLambda.js","mappings":";;;;;;;AAAA;;AAMA;;;;;;;;;;;;;;AAEM,MAAOA,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;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":["CreateMailFromLambda","__decorate","Date"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/CreateMailFromLambda.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 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: 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"]}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.CreateAttachmentOldWebmail = exports.PostAttachmentEmailFromLambdaParams = undefined;
6
+ exports.MigrateParams = exports.CreateAttachmentParams = exports.CreateAttachmentOldWebmail = exports.PostAttachmentEmailFromLambdaParams = undefined;
7
7
 
8
8
  var _classValidator = require("class-validator");
9
9
 
@@ -27,15 +27,30 @@ exports.PostAttachmentEmailFromLambdaParams = PostAttachmentEmailFromLambdaParam
27
27
 
28
28
  __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], PostAttachmentEmailFromLambdaParams.prototype, "token", void 0);
29
29
 
30
- __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsString)(), (0, _classValidator.IsMimeType)(), __metadata("design:type", String)], PostAttachmentEmailFromLambdaParams.prototype, "mime", void 0);
30
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], PostAttachmentEmailFromLambdaParams.prototype, "mime", void 0);
31
31
 
32
32
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], PostAttachmentEmailFromLambdaParams.prototype, "idSociety", void 0);
33
33
 
34
- __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], PostAttachmentEmailFromLambdaParams.prototype, "filename", void 0);
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 CreateAttachmentOldWebmail extends PostAttachmentEmailFromLambdaParams {}
37
38
 
38
39
  exports.CreateAttachmentOldWebmail = CreateAttachmentOldWebmail;
39
40
 
40
41
  __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], CreateAttachmentOldWebmail.prototype, "idMail", void 0);
42
+
43
+ class CreateAttachmentParams extends PostAttachmentEmailFromLambdaParams {}
44
+
45
+ exports.CreateAttachmentParams = CreateAttachmentParams;
46
+
47
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], CreateAttachmentParams.prototype, "idMail", void 0);
48
+
49
+ class MigrateParams {}
50
+
51
+ exports.MigrateParams = MigrateParams;
52
+
53
+ __decorate([(0, _utils.ApiProperty)({
54
+ default: 50
55
+ }), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], MigrateParams.prototype, "limit", void 0);
41
56
  //# sourceMappingURL=PostAttachmentEmailFromLambdaParams.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PostAttachmentEmailFromLambdaParams.js","mappings":";;;;;;;AAAA;;AAGA;;;;;;;;;;;;;;AAEM,MAAOA,mCAAP,CAA0C;;QAAnCA,mC,GAAAA,mC;;AAGXC,YAFC,yBAED,EADC,+BACD;;AAKAA,YAHC,yBAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD;;AAGI,MAAOC,0BAAP,SAA0CF,mCAA1C,CAA6E;;QAAtEE,0B,GAAAA,0B;;AAGXD,YAFC,yBAED,EADC,+BACD","names":["PostAttachmentEmailFromLambdaParams","__decorate","CreateAttachmentOldWebmail"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts"],"sourcesContent":["import {\n IsMimeType, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiProperty()\n @IsString()\n @IsMimeType()\n mime: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @ApiProperty()\n @IsString()\n filename: string;\n}\n\nexport class CreateAttachmentOldWebmail extends PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsNumber()\n idMail: number;\n}"]}
1
+ {"version":3,"file":"PostAttachmentEmailFromLambdaParams.js","mappings":";;;;;;;AAAA;;AAGA;;;;;;;;;;;;;;AAEM,MAAOA,mCAAP,CAA0C;;QAAnCA,mC,GAAAA,mC;;AAGXC,YAFC,yBAED,EADC,+BACD;;AAKAA,YAHC,yBAGD,EAFC,+BAED;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD,yG,CAGF;;;AACM,MAAOC,0BAAP,SAA0CF,mCAA1C,CAA6E;;QAAtEE,0B,GAAAA,0B;;AAGXD,YAFC,yBAED,EADC,+BACD;;AAEI,MAAOE,sBAAP,SAAsCH,mCAAtC,CAAyE;;QAAlEG,sB,GAAAA,sB;;AAGXF,YAFC,yBAED,EADC,+BACD;;AAEI,MAAOG,aAAP,CAAoB;;QAAbA,a,GAAAA,a;;AAGXH,YAFC,wBAAY;AAAEI,SAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD","names":["PostAttachmentEmailFromLambdaParams","__decorate","CreateAttachmentOldWebmail","CreateAttachmentParams","MigrateParams","default"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts"],"sourcesContent":["import {\n /* IsMimeType, */IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiProperty()\n @IsString()\n // @IsMimeType() -> désactivé car pose pb avec certaines PJ ayant un mimetype comme 'image/*'\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 CreateAttachmentOldWebmail extends PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsNumber()\n idMail: number;\n}\nexport class CreateAttachmentParams extends PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsNumber()\n idMail: number;\n}\nexport class MigrateParams {\n @ApiProperty({ default: 50 })\n @IsNumber()\n limit: number;\n}"]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=IMail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMail.js","mappings":"","names":[],"sourceRoot":"","sources":[],"sourcesContent":[]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=IMailAttachment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMailAttachment.js","mappings":"","names":[],"sourceRoot":"","sources":[],"sourcesContent":[]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=IMailContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMailContent.js","mappings":"","names":[],"sourceRoot":"","sources":[],"sourcesContent":[]}
package/js/types/index.js CHANGED
@@ -3196,6 +3196,42 @@ Object.keys(_IVatDeclarationSocietyDetail).forEach(function (key) {
3196
3196
  });
3197
3197
  });
3198
3198
 
3199
+ var _IMail = require("./Interface/models/IMail");
3200
+
3201
+ Object.keys(_IMail).forEach(function (key) {
3202
+ if (key === "default" || key === "__esModule") return;
3203
+ Object.defineProperty(exports, key, {
3204
+ enumerable: true,
3205
+ get: function () {
3206
+ return _IMail[key];
3207
+ }
3208
+ });
3209
+ });
3210
+
3211
+ var _IMailAttachment = require("./Interface/models/IMailAttachment");
3212
+
3213
+ Object.keys(_IMailAttachment).forEach(function (key) {
3214
+ if (key === "default" || key === "__esModule") return;
3215
+ Object.defineProperty(exports, key, {
3216
+ enumerable: true,
3217
+ get: function () {
3218
+ return _IMailAttachment[key];
3219
+ }
3220
+ });
3221
+ });
3222
+
3223
+ var _IMailContent = require("./Interface/models/IMailContent");
3224
+
3225
+ Object.keys(_IMailContent).forEach(function (key) {
3226
+ if (key === "default" || key === "__esModule") return;
3227
+ Object.defineProperty(exports, key, {
3228
+ enumerable: true,
3229
+ get: function () {
3230
+ return _IMailContent[key];
3231
+ }
3232
+ });
3233
+ });
3234
+
3199
3235
  var _IWebMail = require("./Interface/models/IWebMail");
3200
3236
 
3201
3237
  Object.keys(_IWebMail).forEach(function (key) {
@@ -4732,6 +4768,18 @@ Object.keys(_WebmailFlag).forEach(function (key) {
4732
4768
  });
4733
4769
  });
4734
4770
 
4771
+ var _MailFlag = require("./Enum/MailFlag");
4772
+
4773
+ Object.keys(_MailFlag).forEach(function (key) {
4774
+ if (key === "default" || key === "__esModule") return;
4775
+ Object.defineProperty(exports, key, {
4776
+ enumerable: true,
4777
+ get: function () {
4778
+ return _MailFlag[key];
4779
+ }
4780
+ });
4781
+ });
4782
+
4735
4783
  var _ReadJeDeclare = require("./Interface/api/jeDeclare/ReadJeDeclare");
4736
4784
 
4737
4785
  Object.keys(_ReadJeDeclare).forEach(function (key) {
@@ -6016,6 +6064,18 @@ Object.keys(_CreateWebmailFromLambda).forEach(function (key) {
6016
6064
  });
6017
6065
  });
6018
6066
 
6067
+ var _CreateMailFromLambda = require("./Interface/api/webmail/CreateMailFromLambda");
6068
+
6069
+ Object.keys(_CreateMailFromLambda).forEach(function (key) {
6070
+ if (key === "default" || key === "__esModule") return;
6071
+ Object.defineProperty(exports, key, {
6072
+ enumerable: true,
6073
+ get: function () {
6074
+ return _CreateMailFromLambda[key];
6075
+ }
6076
+ });
6077
+ });
6078
+
6019
6079
  var _PostAttachmentEmailFromLambdaParams = require("./Interface/api/webmail/PostAttachmentEmailFromLambdaParams");
6020
6080
 
6021
6081
  Object.keys(_PostAttachmentEmailFromLambdaParams).forEach(function (key) {