@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.
- package/es/api/resources/GeneralLedger.d.ts +3 -1
- package/es/api/resources/GeneralLedger.d.ts.map +1 -1
- package/es/api/resources/GeneralLedger.js +5 -0
- package/es/api/resources/GeneralLedger.js.map +1 -1
- package/es/api/resources/Tax.js.map +1 -1
- package/es/api/resources/Transaction.d.ts +1 -0
- package/es/api/resources/Transaction.d.ts.map +1 -1
- package/es/api/resources/Transaction.js +3 -0
- package/es/api/resources/Transaction.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.d.ts.map +1 -1
- package/es/types/Enum/BalanceSheet.js +9 -5
- package/es/types/Enum/BalanceSheet.js.map +1 -1
- package/es/types/Enum/BrandClementine.js +1 -1
- package/es/types/Enum/BrandClementine.js.map +1 -1
- package/es/types/Enum/BrandComptalib.js +3 -3
- 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/BasePaginate.d.ts +6 -0
- package/es/types/Interface/api/BasePaginate.d.ts.map +1 -1
- package/es/types/Interface/api/BasePaginate.js.map +1 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts +2 -0
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts.map +1 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts +4 -0
- package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js +28 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts +2 -0
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js +5 -0
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
- package/es/types/Interface/api/transactions/QueryUnexport.d.ts +2 -2
- package/es/types/Interface/api/transactions/QueryUnexport.d.ts.map +1 -1
- package/es/types/Interface/api/transactions/QueryUnexport.js.map +1 -1
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts.map +1 -1
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +2 -0
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- 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 +17 -2
- 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/GeneralLedger.js +6 -0
- package/js/api/resources/GeneralLedger.js.map +1 -1
- package/js/api/resources/Tax.js.map +1 -1
- package/js/api/resources/Transaction.js +4 -0
- package/js/api/resources/Transaction.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 +9 -5
- package/js/types/Enum/BalanceSheet.js.map +1 -1
- package/js/types/Enum/BrandClementine.js +1 -1
- package/js/types/Enum/BrandClementine.js.map +1 -1
- package/js/types/Enum/BrandComptalib.js +3 -3
- 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/BasePaginate.js.map +1 -1
- package/js/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
- package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js +14 -0
- package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
- package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js +7 -0
- package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
- package/js/types/Interface/api/transactions/QueryUnexport.js.map +1 -1
- package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +3 -1
- package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- 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 +18 -3
- 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/GeneralLedger.ts +8 -1
- package/ts/api/resources/Tax.ts +1 -1
- package/ts/api/resources/Transaction.ts +4 -0
- package/ts/types/Enum/Aspone.ts +4 -3
- package/ts/types/Enum/BalanceSheet.ts +9 -5
- package/ts/types/Enum/BrandClementine.ts +1 -1
- package/ts/types/Enum/BrandComptalib.ts +3 -3
- package/ts/types/Enum/MailFlag.ts +4 -0
- package/ts/types/Interface/api/BasePaginate.ts +7 -0
- package/ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts +2 -0
- package/ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts +26 -1
- package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +4 -0
- package/ts/types/Interface/api/transactions/QueryUnexport.ts +2 -2
- package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +2 -0
- package/ts/types/Interface/api/webmail/CreateMailFromLambda.ts +87 -0
- package/ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts +13 -2
- 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,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)(),
|
|
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
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"IMail.js","mappings":"","names":[],"sourceRoot":"","sources":[],"sourcesContent":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IMailAttachment.js","mappings":"","names":[],"sourceRoot":"","sources":[],"sourcesContent":[]}
|
|
@@ -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) {
|