@silexpert/core 1.0.115 → 1.0.117

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 (101) hide show
  1. package/es/api/resources/Mail.d.ts +10 -0
  2. package/es/api/resources/Mail.d.ts.map +1 -1
  3. package/es/api/resources/Mail.js +6 -0
  4. package/es/api/resources/Mail.js.map +1 -1
  5. package/es/types/Enum/MailAddressType.d.ts +7 -0
  6. package/es/types/Enum/MailAddressType.d.ts.map +1 -0
  7. package/es/types/Enum/MailAddressType.js +8 -0
  8. package/es/types/Enum/MailAddressType.js.map +1 -0
  9. package/es/types/Interface/api/mail/CreateMailParams.d.ts +4 -0
  10. package/es/types/Interface/api/mail/CreateMailParams.d.ts.map +1 -1
  11. package/es/types/Interface/api/mail/CreateMailParams.js.map +1 -1
  12. package/es/types/Interface/api/webmail/GetPaginatedWhereObjectParams.d.ts +19 -0
  13. package/es/types/Interface/api/webmail/GetPaginatedWhereObjectParams.d.ts.map +1 -0
  14. package/es/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js +122 -0
  15. package/es/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js.map +1 -0
  16. package/es/types/Interface/api/webmail/MigrateMailAddresses.d.ts +9 -0
  17. package/es/types/Interface/api/webmail/MigrateMailAddresses.d.ts.map +1 -0
  18. package/es/types/Interface/api/webmail/MigrateMailAddresses.js +44 -0
  19. package/es/types/Interface/api/webmail/MigrateMailAddresses.js.map +1 -0
  20. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts +1 -1
  21. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts.map +1 -1
  22. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +2 -2
  23. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
  24. package/es/types/Interface/models/IMail.d.ts +5 -0
  25. package/es/types/Interface/models/IMail.d.ts.map +1 -1
  26. package/es/types/Interface/models/IMail.js.map +1 -1
  27. package/es/types/Interface/models/IMailAddress.d.ts +11 -0
  28. package/es/types/Interface/models/IMailAddress.d.ts.map +1 -0
  29. package/es/types/Interface/models/IMailAddress.js +2 -0
  30. package/es/types/Interface/models/IMailAddress.js.map +1 -0
  31. package/es/types/Interface/models/IMailAddressMail.d.ts +10 -0
  32. package/es/types/Interface/models/IMailAddressMail.d.ts.map +1 -0
  33. package/es/types/Interface/models/IMailAddressMail.js +2 -0
  34. package/es/types/Interface/models/IMailAddressMail.js.map +1 -0
  35. package/es/types/Interface/models/IUser.d.ts +1 -0
  36. package/es/types/Interface/models/IUser.d.ts.map +1 -1
  37. package/es/types/Interface/models/IUser.js.map +1 -1
  38. package/es/types/index.d.ts +5 -2
  39. package/es/types/index.d.ts.map +1 -1
  40. package/es/types/index.js +5 -2
  41. package/es/types/index.js.map +1 -1
  42. package/es/utils/commercialManagement/templates/body.d.ts.map +1 -1
  43. package/es/utils/commercialManagement/templates/body.js +4 -1
  44. package/es/utils/commercialManagement/templates/body.js.map +1 -1
  45. package/es/utils/commercialManagement/templates/common.d.ts +1 -0
  46. package/es/utils/commercialManagement/templates/common.d.ts.map +1 -1
  47. package/es/utils/commercialManagement/templates/common.js +21 -5
  48. package/es/utils/commercialManagement/templates/common.js.map +1 -1
  49. package/es/utils/phone.js +1 -1
  50. package/es/utils/phone.js.map +1 -1
  51. package/js/api/resources/Mail.js +14 -0
  52. package/js/api/resources/Mail.js.map +1 -1
  53. package/js/types/Enum/MailAddressType.js +14 -0
  54. package/js/types/Enum/MailAddressType.js.map +1 -0
  55. package/js/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js +65 -0
  56. package/js/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js.map +1 -0
  57. package/js/types/Interface/api/webmail/MigrateMailAddresses.js +53 -0
  58. package/js/types/Interface/api/webmail/MigrateMailAddresses.js.map +1 -0
  59. package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +4 -4
  60. package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
  61. package/js/types/Interface/models/IMailAddress.js +6 -0
  62. package/js/types/Interface/models/IMailAddress.js.map +1 -0
  63. package/js/types/Interface/models/IMailAddressMail.js +6 -0
  64. package/js/types/Interface/models/IMailAddressMail.js.map +1 -0
  65. package/js/types/index.js +45 -9
  66. package/js/types/index.js.map +1 -1
  67. package/js/utils/commercialManagement/templates/body.js +4 -1
  68. package/js/utils/commercialManagement/templates/body.js.map +1 -1
  69. package/js/utils/commercialManagement/templates/common.js +21 -5
  70. package/js/utils/commercialManagement/templates/common.js.map +1 -1
  71. package/js/utils/phone.js +1 -1
  72. package/js/utils/phone.js.map +1 -1
  73. package/package.json +1 -1
  74. package/ts/api/resources/Mail.ts +8 -0
  75. package/ts/types/Enum/MailAddressType.ts +6 -0
  76. package/ts/types/Interface/api/mail/CreateMailParams.ts +4 -1
  77. package/ts/types/Interface/api/webmail/GetPaginatedWhereObjectParams.ts +98 -0
  78. package/ts/types/Interface/api/webmail/MigrateMailAddresses.ts +25 -0
  79. package/ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts +1 -1
  80. package/ts/types/Interface/models/IMail.ts +5 -0
  81. package/ts/types/Interface/models/IMailAddress.ts +14 -0
  82. package/ts/types/Interface/models/IMailAddressMail.ts +13 -0
  83. package/ts/types/Interface/models/IUser.ts +1 -0
  84. package/ts/types/index.ts +5 -2
  85. package/ts/utils/commercialManagement/templates/body.ts +5 -2
  86. package/ts/utils/commercialManagement/templates/common.ts +23 -6
  87. package/ts/utils/phone.ts +1 -1
  88. package/es/types/Interface/api/webmail/CreateWebmailFromLambda.d.ts +0 -25
  89. package/es/types/Interface/api/webmail/CreateWebmailFromLambda.d.ts.map +0 -1
  90. package/es/types/Interface/api/webmail/CreateWebmailFromLambda.js +0 -109
  91. package/es/types/Interface/api/webmail/CreateWebmailFromLambda.js.map +0 -1
  92. package/es/types/Interface/api/webmail/GetMissingMailsInFinalBucket.d.ts +0 -4
  93. package/es/types/Interface/api/webmail/GetMissingMailsInFinalBucket.d.ts.map +0 -1
  94. package/es/types/Interface/api/webmail/GetMissingMailsInFinalBucket.js +0 -20
  95. package/es/types/Interface/api/webmail/GetMissingMailsInFinalBucket.js.map +0 -1
  96. package/js/types/Interface/api/webmail/CreateWebmailFromLambda.js +0 -61
  97. package/js/types/Interface/api/webmail/CreateWebmailFromLambda.js.map +0 -1
  98. package/js/types/Interface/api/webmail/GetMissingMailsInFinalBucket.js +0 -29
  99. package/js/types/Interface/api/webmail/GetMissingMailsInFinalBucket.js.map +0 -1
  100. package/ts/types/Interface/api/webmail/CreateWebmailFromLambda.ts +0 -87
  101. package/ts/types/Interface/api/webmail/GetMissingMailsInFinalBucket.ts +0 -9
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.GetPaginatedWhereObjectParams = undefined;
7
+
8
+ var _classValidator = require("class-validator");
9
+
10
+ var _utils = require("../../../../utils");
11
+
12
+ var _boolean = require("../../../../utils/transforms/boolean.transform");
13
+
14
+ var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15
+ var c = arguments.length,
16
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
17
+ d;
18
+ 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;
19
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
20
+ };
21
+
22
+ var __metadata = undefined && undefined.__metadata || function (k, v) {
23
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
24
+ };
25
+
26
+ class GetPaginatedWhereObjectParams {}
27
+
28
+ exports.GetPaginatedWhereObjectParams = GetPaginatedWhereObjectParams;
29
+
30
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], GetPaginatedWhereObjectParams.prototype, "search", void 0);
31
+
32
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)({
33
+ each: true
34
+ }), (0, _classValidator.IsIn)(['society'], {
35
+ each: true
36
+ }), __metadata("design:type", Array)], GetPaginatedWhereObjectParams.prototype, "include", void 0);
37
+
38
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], GetPaginatedWhereObjectParams.prototype, "to", void 0);
39
+
40
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], GetPaginatedWhereObjectParams.prototype, "isRead", void 0);
41
+
42
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], GetPaginatedWhereObjectParams.prototype, "isSent", void 0);
43
+
44
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], GetPaginatedWhereObjectParams.prototype, "isDraft", void 0);
45
+
46
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], GetPaginatedWhereObjectParams.prototype, "isImportant", void 0);
47
+
48
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], GetPaginatedWhereObjectParams.prototype, "isProcessed", void 0);
49
+
50
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], GetPaginatedWhereObjectParams.prototype, "isDeleted", void 0);
51
+
52
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], GetPaginatedWhereObjectParams.prototype, "handlingManagerRoleMails", void 0);
53
+
54
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], GetPaginatedWhereObjectParams.prototype, "isWithoutSociety", void 0);
55
+
56
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], GetPaginatedWhereObjectParams.prototype, "idSociety", void 0);
57
+
58
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], GetPaginatedWhereObjectParams.prototype, "idUserWhoFlagged", void 0);
59
+
60
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], GetPaginatedWhereObjectParams.prototype, "idUserWhoAnswered", void 0);
61
+
62
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], GetPaginatedWhereObjectParams.prototype, "idUser", void 0);
63
+
64
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], GetPaginatedWhereObjectParams.prototype, "idRole", void 0);
65
+ //# sourceMappingURL=GetPaginatedWhereObjectParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetPaginatedWhereObjectParams.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,6BAAP,CAAoC;;QAA7BA,6B,GAAAA,6B;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAQAA,YANC,iCAMD,EALC,iCAKD,EAJC,8BAAS;EACRC,IAAI,EAAE;AADE,CAAT,CAID,EADC,0BAAK,CAAC,SAAD,CAAL,EAAkB;EAAEA,IAAI,EAAE;AAAR,CAAlB,CACD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD","names":["GetPaginatedWhereObjectParams","__decorate","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/GetPaginatedWhereObjectParams.ts"],"sourcesContent":["import {\n IsOptional, IsString, IsInt, IsIn, IsBoolean,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class GetPaginatedWhereObjectParams {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['society'], { each: true })\n include?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n to?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isRead?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isSent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDraft?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isImportant?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isProcessed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDeleted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n handlingManagerRoleMails?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithoutSociety?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoFlagged?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoAnswered?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRole?: number;\n}\n"]}
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.MigrateUsersMailAddresses = exports.MigrateMailAddresses = 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 MigrateMailAddresses {
25
+ constructor() {
26
+ this.limit = 25;
27
+ }
28
+
29
+ }
30
+
31
+ exports.MigrateMailAddresses = MigrateMailAddresses;
32
+
33
+ __decorate([(0, _utils.ApiProperty)({
34
+ default: 25
35
+ }), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], MigrateMailAddresses.prototype, "limit", void 0);
36
+
37
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], MigrateMailAddresses.prototype, "idMail", void 0);
38
+
39
+ class MigrateUsersMailAddresses {
40
+ constructor() {
41
+ this.limit = 25;
42
+ }
43
+
44
+ }
45
+
46
+ exports.MigrateUsersMailAddresses = MigrateUsersMailAddresses;
47
+
48
+ __decorate([(0, _utils.ApiProperty)({
49
+ default: 25
50
+ }), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], MigrateUsersMailAddresses.prototype, "limit", void 0);
51
+
52
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], MigrateUsersMailAddresses.prototype, "idUser", void 0);
53
+ //# sourceMappingURL=MigrateMailAddresses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MigrateMailAddresses.js","mappings":";;;;;;;AAAA;;AAGA;;;;;;;;;;;;;;AAEM,MAAOA,oBAAP,CAA2B;EAAjCC;IAGE,aAAiB,EAAjB;EAMD;;AATgC;;QAApBD,oB,GAAAA,oB;;AAGXE,YAFC,wBAAY;EAAEC,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAEI,MAAOE,yBAAP,CAAgC;EAAtCH;IAGE,aAAiB,EAAjB;EAMD;;AATqC;;QAAzBG,yB,GAAAA,yB;;AAGXF,YAFC,wBAAY;EAAEC,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD","names":["MigrateMailAddresses","constructor","__decorate","default","MigrateUsersMailAddresses"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/MigrateMailAddresses.ts"],"sourcesContent":["import {\n IsNumber, IsOptional,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class MigrateMailAddresses {\n @ApiProperty({ default: 25 })\n @IsNumber()\n limit?: number = 25;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idMail?: number;\n}\nexport class MigrateUsersMailAddresses {\n @ApiProperty({ default: 25 })\n @IsNumber()\n limit?: number = 25;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idUser?: number;\n}\n"]}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.MigrateParams = exports.CreateAttachmentParamsForTask = exports.CreateAttachmentParams = exports.CreateAttachmentOldWebmail = exports.PostAttachmentEmailFromLambdaParams = undefined;
6
+ exports.MigrateParams = exports.CreateAttachmentParamsForTask = exports.CreateAttachmentParams = exports.CreateAttachmentWebmail = exports.PostAttachmentEmailFromLambdaParams = undefined;
7
7
 
8
8
  var _classValidator = require("class-validator");
9
9
 
@@ -34,11 +34,11 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)()
34
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
+ class CreateAttachmentWebmail extends PostAttachmentEmailFromLambdaParams {}
38
38
 
39
- exports.CreateAttachmentOldWebmail = CreateAttachmentOldWebmail;
39
+ exports.CreateAttachmentWebmail = CreateAttachmentWebmail;
40
40
 
41
- __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], CreateAttachmentOldWebmail.prototype, "idMail", void 0);
41
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], CreateAttachmentWebmail.prototype, "idMail", void 0);
42
42
 
43
43
  class CreateAttachmentParams {}
44
44
 
@@ -1 +1 @@
1
- {"version":3,"file":"PostAttachmentEmailFromLambdaParams.js","mappings":";;;;;;;AAAA;;AAIA;;;;;;;;;;;;;;AAGM,MAAOA,mCAAP,CAA0C;;QAAnCA,mC,GAAAA,mC;;AAGXC,YAFC,yBAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD;;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,CAA6B;;QAAtBA,sB,GAAAA,sB;;AAGXF,YAFC,yBAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,8BACD;;AAEI,MAAOG,6BAAP,CAAoC;;QAA7BA,6B,GAAAA,6B;;AAGXH,YAFC,yBAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,8BACD;;AAEI,MAAOI,aAAP,CAAoB;;QAAbA,a,GAAAA,a;;AAGXJ,YAFC,wBAAY;EAAEK,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAKAL,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAQAA,YANC,iCAMD,EALC,iCAKD,EAJC,8BAID,EAHC,2BAAM;EACLM,IAAI,EAAE;AADD,CAAN,CAGD","names":["PostAttachmentEmailFromLambdaParams","__decorate","CreateAttachmentOldWebmail","CreateAttachmentParams","CreateAttachmentParamsForTask","MigrateParams","default","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts"],"sourcesContent":["import {\n IsArray,\n IsNumber, IsOptional, IsString, IsInt,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiProperty()\n @IsString()\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 {\n @ApiProperty()\n @IsNumber()\n idMail: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n files?: TFile[];\n}\nexport class CreateAttachmentParamsForTask {\n @ApiProperty()\n @IsNumber()\n idTask: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n files?: TFile[];\n}\nexport class MigrateParams {\n @ApiProperty({ default: 50 })\n @IsNumber()\n limit: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startId?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n endId?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsInt({\n each: true,\n })\n listIdToForceImport?: number;\n}"]}
1
+ {"version":3,"file":"PostAttachmentEmailFromLambdaParams.js","mappings":";;;;;;;AAAA;;AAIA;;;;;;;;;;;;;;AAGM,MAAOA,mCAAP,CAA0C;;QAAnCA,mC,GAAAA,mC;;AAGXC,YAFC,yBAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD,yG,CAGF;;;AACM,MAAOC,uBAAP,SAAuCF,mCAAvC,CAA0E;;QAAnEE,uB,GAAAA,uB;;AAGXD,YAFC,yBAED,EADC,+BACD;;AAEI,MAAOE,sBAAP,CAA6B;;QAAtBA,sB,GAAAA,sB;;AAGXF,YAFC,yBAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,8BACD;;AAEI,MAAOG,6BAAP,CAAoC;;QAA7BA,6B,GAAAA,6B;;AAGXH,YAFC,yBAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,8BACD;;AAEI,MAAOI,aAAP,CAAoB;;QAAbA,a,GAAAA,a;;AAGXJ,YAFC,wBAAY;EAAEK,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAKAL,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAQAA,YANC,iCAMD,EALC,iCAKD,EAJC,8BAID,EAHC,2BAAM;EACLM,IAAI,EAAE;AADD,CAAN,CAGD","names":["PostAttachmentEmailFromLambdaParams","__decorate","CreateAttachmentWebmail","CreateAttachmentParams","CreateAttachmentParamsForTask","MigrateParams","default","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts"],"sourcesContent":["import {\n IsArray,\n IsNumber, IsOptional, IsString, IsInt,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiProperty()\n @IsString()\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 CreateAttachmentWebmail extends PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsNumber()\n idMail: number;\n}\nexport class CreateAttachmentParams {\n @ApiProperty()\n @IsNumber()\n idMail: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n files?: TFile[];\n}\nexport class CreateAttachmentParamsForTask {\n @ApiProperty()\n @IsNumber()\n idTask: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n files?: TFile[];\n}\nexport class MigrateParams {\n @ApiProperty({ default: 50 })\n @IsNumber()\n limit: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startId?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n endId?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsInt({\n each: true,\n })\n listIdToForceImport?: number;\n}"]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=IMailAddress.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMailAddress.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=IMailAddressMail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMailAddressMail.js","mappings":"","names":[],"sourceRoot":"","sources":[],"sourcesContent":[]}
package/js/types/index.js CHANGED
@@ -3292,6 +3292,30 @@ Object.keys(_IMail).forEach(function (key) {
3292
3292
  });
3293
3293
  });
3294
3294
 
3295
+ var _IMailAddress = require("./Interface/models/IMailAddress");
3296
+
3297
+ Object.keys(_IMailAddress).forEach(function (key) {
3298
+ if (key === "default" || key === "__esModule") return;
3299
+ Object.defineProperty(exports, key, {
3300
+ enumerable: true,
3301
+ get: function () {
3302
+ return _IMailAddress[key];
3303
+ }
3304
+ });
3305
+ });
3306
+
3307
+ var _IMailAddressMail = require("./Interface/models/IMailAddressMail");
3308
+
3309
+ Object.keys(_IMailAddressMail).forEach(function (key) {
3310
+ if (key === "default" || key === "__esModule") return;
3311
+ Object.defineProperty(exports, key, {
3312
+ enumerable: true,
3313
+ get: function () {
3314
+ return _IMailAddressMail[key];
3315
+ }
3316
+ });
3317
+ });
3318
+
3295
3319
  var _IMailAttachment = require("./Interface/models/IMailAttachment");
3296
3320
 
3297
3321
  Object.keys(_IMailAttachment).forEach(function (key) {
@@ -4120,6 +4144,18 @@ Object.keys(_MailAuto).forEach(function (key) {
4120
4144
  });
4121
4145
  });
4122
4146
 
4147
+ var _MailAddressType = require("./Enum/MailAddressType");
4148
+
4149
+ Object.keys(_MailAddressType).forEach(function (key) {
4150
+ if (key === "default" || key === "__esModule") return;
4151
+ Object.defineProperty(exports, key, {
4152
+ enumerable: true,
4153
+ get: function () {
4154
+ return _MailAddressType[key];
4155
+ }
4156
+ });
4157
+ });
4158
+
4123
4159
  var _Simulation = require("./Enum/Simulation");
4124
4160
 
4125
4161
  Object.keys(_Simulation).forEach(function (key) {
@@ -7192,26 +7228,26 @@ Object.keys(_ReadSocietyTransactionCount).forEach(function (key) {
7192
7228
  });
7193
7229
  });
7194
7230
 
7195
- var _CreateWebmailFromLambda = require("./Interface/api/webmail/CreateWebmailFromLambda");
7231
+ var _CreateMailFromLambda = require("./Interface/api/webmail/CreateMailFromLambda");
7196
7232
 
7197
- Object.keys(_CreateWebmailFromLambda).forEach(function (key) {
7233
+ Object.keys(_CreateMailFromLambda).forEach(function (key) {
7198
7234
  if (key === "default" || key === "__esModule") return;
7199
7235
  Object.defineProperty(exports, key, {
7200
7236
  enumerable: true,
7201
7237
  get: function () {
7202
- return _CreateWebmailFromLambda[key];
7238
+ return _CreateMailFromLambda[key];
7203
7239
  }
7204
7240
  });
7205
7241
  });
7206
7242
 
7207
- var _CreateMailFromLambda = require("./Interface/api/webmail/CreateMailFromLambda");
7243
+ var _MigrateMailAddresses = require("./Interface/api/webmail/MigrateMailAddresses");
7208
7244
 
7209
- Object.keys(_CreateMailFromLambda).forEach(function (key) {
7245
+ Object.keys(_MigrateMailAddresses).forEach(function (key) {
7210
7246
  if (key === "default" || key === "__esModule") return;
7211
7247
  Object.defineProperty(exports, key, {
7212
7248
  enumerable: true,
7213
7249
  get: function () {
7214
- return _CreateMailFromLambda[key];
7250
+ return _MigrateMailAddresses[key];
7215
7251
  }
7216
7252
  });
7217
7253
  });
@@ -7228,14 +7264,14 @@ Object.keys(_PostAttachmentEmailFromLambdaParams).forEach(function (key) {
7228
7264
  });
7229
7265
  });
7230
7266
 
7231
- var _GetMissingMailsInFinalBucket = require("./Interface/api/webmail/GetMissingMailsInFinalBucket");
7267
+ var _GetPaginatedWhereObjectParams = require("./Interface/api/webmail/GetPaginatedWhereObjectParams");
7232
7268
 
7233
- Object.keys(_GetMissingMailsInFinalBucket).forEach(function (key) {
7269
+ Object.keys(_GetPaginatedWhereObjectParams).forEach(function (key) {
7234
7270
  if (key === "default" || key === "__esModule") return;
7235
7271
  Object.defineProperty(exports, key, {
7236
7272
  enumerable: true,
7237
7273
  get: function () {
7238
- return _GetMissingMailsInFinalBucket[key];
7274
+ return _GetPaginatedWhereObjectParams[key];
7239
7275
  }
7240
7276
  });
7241
7277
  });