@silexpert/core 1.0.130 → 1.0.134
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/Mail.d.ts +2 -0
- package/es/api/resources/Mail.d.ts.map +1 -1
- package/es/api/resources/Mail.js +9 -0
- package/es/api/resources/Mail.js.map +1 -1
- package/es/types/Enum/IncomeStatement.js +2 -2
- package/es/types/Enum/IncomeStatement.js.map +1 -1
- package/es/types/Enum/JobTitle.d.ts +26 -0
- package/es/types/Enum/JobTitle.d.ts.map +1 -0
- package/es/types/Enum/JobTitle.js +114 -0
- package/es/types/Enum/JobTitle.js.map +1 -0
- package/es/types/Interface/api/commercial/QueryGetStats.d.ts +1 -1
- package/es/types/Interface/api/commercial/QueryGetStats.d.ts.map +1 -1
- package/es/types/Interface/api/commercial/QueryGetStats.js +2 -2
- package/es/types/Interface/api/commercial/QueryGetStats.js.map +1 -1
- package/es/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts +1 -1
- package/es/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts.map +1 -1
- package/es/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js +2 -2
- package/es/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
- package/es/types/Interface/api/mail/QueryCountUnprocessedMail.d.ts +1 -0
- package/es/types/Interface/api/mail/QueryCountUnprocessedMail.d.ts.map +1 -1
- package/es/types/Interface/api/mail/QueryCountUnprocessedMail.js +7 -0
- package/es/types/Interface/api/mail/QueryCountUnprocessedMail.js.map +1 -1
- package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts +1 -0
- package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts.map +1 -1
- package/es/types/Interface/api/mail/QueryPaginatedMail.js +7 -0
- package/es/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
- package/es/types/Interface/api/webmail/GetPaginatedWhereObjectParams.d.ts +1 -0
- package/es/types/Interface/api/webmail/GetPaginatedWhereObjectParams.d.ts.map +1 -1
- package/es/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js +7 -0
- package/es/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js.map +1 -1
- package/es/types/index.d.ts +1 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +1 -0
- package/es/types/index.js.map +1 -1
- package/es/utils/email.d.ts.map +1 -1
- package/es/utils/email.js +34 -38
- package/es/utils/email.js.map +1 -1
- package/js/api/resources/Mail.js +24 -0
- package/js/api/resources/Mail.js.map +1 -1
- package/js/types/Enum/IncomeStatement.js +2 -2
- package/js/types/Enum/IncomeStatement.js.map +1 -1
- package/js/types/Enum/JobTitle.js +102 -0
- package/js/types/Enum/JobTitle.js.map +1 -0
- package/js/types/Interface/api/commercial/QueryGetStats.js +3 -1
- package/js/types/Interface/api/commercial/QueryGetStats.js.map +1 -1
- package/js/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js +3 -1
- package/js/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
- package/js/types/Interface/api/mail/QueryCountUnprocessedMail.js +2 -0
- package/js/types/Interface/api/mail/QueryCountUnprocessedMail.js.map +1 -1
- package/js/types/Interface/api/mail/QueryPaginatedMail.js +2 -0
- package/js/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
- package/js/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js +2 -0
- package/js/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js.map +1 -1
- package/js/types/index.js +12 -0
- package/js/types/index.js.map +1 -1
- package/js/utils/email.js +34 -43
- package/js/utils/email.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Mail.ts +21 -0
- package/ts/types/Enum/IncomeStatement.ts +3 -3
- package/ts/types/Enum/JobTitle.ts +113 -0
- package/ts/types/Interface/api/commercial/QueryGetStats.ts +2 -2
- package/ts/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.ts +2 -2
- package/ts/types/Interface/api/mail/QueryCountUnprocessedMail.ts +6 -0
- package/ts/types/Interface/api/mail/QueryPaginatedMail.ts +6 -0
- package/ts/types/Interface/api/webmail/GetPaginatedWhereObjectParams.ts +6 -0
- package/ts/types/index.ts +1 -0
- package/ts/utils/email.ts +40 -38
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryPaginatedMail.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,kBAAP,CAAyB;EAA/BC;IAUE,mBAAe,KAAf;IAsBA,eAAmB,MAAnB;
|
|
1
|
+
{"version":3,"file":"QueryPaginatedMail.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,kBAAP,CAAyB;EAA/BC;IAUE,mBAAe,KAAf;IAsBA,eAAmB,MAAnB;EA8ED;;AA9G8B;;QAAlBD,kB,GAAAA,kB;;AAIXE,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AASAD,YAPC,iCAOD,EANC,iCAMD,EALC,8BAKD,EAJC,8BAAS;EACRE,IAAI,EAAE;AADE,CAAT,CAID,EADC,0BAAK,CAAC,SAAD,EAAY,aAAZ,EAA2B,gBAA3B,EAA6C,gBAA7C,CAAL,EAAqE;EAAEA,IAAI,EAAE;AAAR,CAArE,CACD;;AAQAF,YANC,iCAMD,EALC,iCAKD,EAJC,8BAID,EAHC,8BAAS;EACRE,IAAI,EAAE;AADE,CAAT,CAGD;;AAKAF,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,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;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,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD;;AAKAD,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD","names":["QueryPaginatedMail","constructor","__decorate","default","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryPaginatedMail.ts"],"sourcesContent":["import {\n IsBoolean, IsIn, IsNumber, IsOptional, IsString, IsArray, IsInt,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryPaginatedMail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n withDeleted? = false;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n @IsIn(['society', 'mailContent', 'mailAttachment', 'userWhoFlagged'], { each: true })\n include?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string = 'date';\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isSent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isProcessed?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDeleted?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDraft?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isImportant?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithoutSociety?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n handlingManagerRoleMails?: 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 idRole?: number;\n\n @ApiPropertyOptional({ default: 25 })\n @IsOptional()\n @IsNumber()\n limit?: number;\n\n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsNumber()\n page?: number;\n}\n"]}
|
|
@@ -47,6 +47,8 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)()
|
|
|
47
47
|
|
|
48
48
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], GetPaginatedWhereObjectParams.prototype, "isDeleted", void 0);
|
|
49
49
|
|
|
50
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], GetPaginatedWhereObjectParams.prototype, "handlingManagerRoleMails", void 0);
|
|
51
|
+
|
|
50
52
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], GetPaginatedWhereObjectParams.prototype, "isWithoutSociety", void 0);
|
|
51
53
|
|
|
52
54
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], GetPaginatedWhereObjectParams.prototype, "idSociety", void 0);
|
|
@@ -1 +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,EAAY,gBAAZ,CAAL,EAAoC;EAAEA,IAAI,EAAE;AAAR,CAApC,CACD;;AAMAD,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', 'mailAttachment'], { each: true })\n include?: 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 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"]}
|
|
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,EAAY,gBAAZ,CAAL,EAAoC;EAAEA,IAAI,EAAE;AAAR,CAApC,CACD;;AAMAD,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', 'mailAttachment'], { each: true })\n include?: 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"]}
|
package/js/types/index.js
CHANGED
|
@@ -5644,6 +5644,18 @@ Object.keys(_TextMessageType).forEach(function (key) {
|
|
|
5644
5644
|
});
|
|
5645
5645
|
});
|
|
5646
5646
|
|
|
5647
|
+
var _JobTitle = require("./Enum/JobTitle");
|
|
5648
|
+
|
|
5649
|
+
Object.keys(_JobTitle).forEach(function (key) {
|
|
5650
|
+
if (key === "default" || key === "__esModule") return;
|
|
5651
|
+
Object.defineProperty(exports, key, {
|
|
5652
|
+
enumerable: true,
|
|
5653
|
+
get: function () {
|
|
5654
|
+
return _JobTitle[key];
|
|
5655
|
+
}
|
|
5656
|
+
});
|
|
5657
|
+
});
|
|
5658
|
+
|
|
5647
5659
|
var _ReadPartnerTransactionType = require("./Interface/api/partnerTransactionType/ReadPartnerTransactionType");
|
|
5648
5660
|
|
|
5649
5661
|
Object.keys(_ReadPartnerTransactionType).forEach(function (key) {
|