@silexpert/core 1.0.131 → 1.0.135
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/Authenticate.d.ts +0 -5
- package/es/api/resources/Authenticate.d.ts.map +1 -1
- package/es/api/resources/Authenticate.js +0 -3
- package/es/api/resources/Authenticate.js.map +1 -1
- package/es/api/resources/Mail.d.ts +1 -0
- package/es/api/resources/Mail.d.ts.map +1 -1
- package/es/api/resources/Mail.js +6 -0
- package/es/api/resources/Mail.js.map +1 -1
- package/es/types/Enum/AccountType.d.ts +10 -0
- package/es/types/Enum/AccountType.d.ts.map +1 -1
- package/es/types/Enum/AccountType.js +33 -23
- package/es/types/Enum/AccountType.js.map +1 -1
- package/es/types/Enum/ConstitutionState.js +10 -10
- package/es/types/Enum/ConstitutionState.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/iDocus/iDocus.d.ts +9 -0
- package/es/types/Interface/api/iDocus/iDocus.d.ts.map +1 -1
- package/es/types/Interface/api/iDocus/iDocus.js.map +1 -1
- package/es/types/Interface/api/mail/QueryCountMail.d.ts +11 -0
- package/es/types/Interface/api/mail/QueryCountMail.d.ts.map +1 -0
- package/es/types/Interface/api/mail/{QueryCountUnprocessedMail.js → QueryCountMail.js} +36 -6
- package/es/types/Interface/api/mail/QueryCountMail.js.map +1 -0
- package/es/types/Interface/api/vatDeclaration/ResultFormatToEntries.d.ts +1 -0
- package/es/types/Interface/api/vatDeclaration/ResultFormatToEntries.d.ts.map +1 -1
- package/es/types/Interface/api/vatDeclaration/ResultFormatToEntries.js.map +1 -1
- package/es/types/index.d.ts +2 -3
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +2 -3
- package/es/types/index.js.map +1 -1
- package/es/utils/email.d.ts.map +1 -1
- package/es/utils/email.js +34 -40
- package/es/utils/email.js.map +1 -1
- package/js/api/resources/Authenticate.js +1 -6
- package/js/api/resources/Authenticate.js.map +1 -1
- package/js/api/resources/Mail.js +11 -0
- package/js/api/resources/Mail.js.map +1 -1
- package/js/types/Enum/AccountType.js +33 -23
- package/js/types/Enum/AccountType.js.map +1 -1
- package/js/types/Enum/ConstitutionState.js +10 -10
- package/js/types/Enum/ConstitutionState.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 → QueryCountMail.js} +28 -8
- package/js/types/Interface/api/mail/QueryCountMail.js.map +1 -0
- package/js/types/index.js +15 -27
- package/js/types/index.js.map +1 -1
- package/js/utils/email.js +34 -44
- package/js/utils/email.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Authenticate.ts +0 -3
- package/ts/api/resources/Mail.ts +11 -0
- package/ts/types/Enum/AccountType.ts +33 -23
- package/ts/types/Enum/ConstitutionState.ts +10 -10
- 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/iDocus/iDocus.ts +9 -0
- package/ts/types/Interface/api/mail/{QueryCountUnprocessedMail.ts → QueryCountMail.ts} +23 -1
- package/ts/types/Interface/api/vatDeclaration/ResultFormatToEntries.ts +1 -0
- package/ts/types/index.ts +2 -3
- package/ts/utils/email.ts +40 -39
- package/es/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.d.ts +0 -6
- package/es/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.d.ts.map +0 -1
- package/es/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.js +0 -27
- package/es/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.js.map +0 -1
- package/es/types/Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions.d.ts +0 -8
- package/es/types/Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions.d.ts.map +0 -1
- package/es/types/Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions.js +0 -2
- package/es/types/Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions.js.map +0 -1
- package/es/types/Interface/api/mail/QueryCountUnprocessedMail.d.ts +0 -7
- package/es/types/Interface/api/mail/QueryCountUnprocessedMail.d.ts.map +0 -1
- package/es/types/Interface/api/mail/QueryCountUnprocessedMail.js.map +0 -1
- package/js/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.js +0 -33
- package/js/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.js.map +0 -1
- package/js/types/Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions.js +0 -6
- package/js/types/Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions.js.map +0 -1
- package/js/types/Interface/api/mail/QueryCountUnprocessedMail.js.map +0 -1
- package/ts/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.ts +0 -14
- package/ts/types/Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions.ts +0 -7
package/ts/types/index.ts
CHANGED
|
@@ -473,6 +473,7 @@ export * from './Enum/Phone';
|
|
|
473
473
|
export * from './Enum/GeneralThirdParty';
|
|
474
474
|
export * from './Enum/MailDomainType';
|
|
475
475
|
export * from './Enum/TextMessageType';
|
|
476
|
+
export * from './Enum/JobTitle';
|
|
476
477
|
|
|
477
478
|
// Interfaces API
|
|
478
479
|
export * from './Interface/api/partnerTransactionType/ReadPartnerTransactionType';
|
|
@@ -530,7 +531,7 @@ export * from './Interface/api/mail/QueryPaginatedMail';
|
|
|
530
531
|
export * from './Interface/api/mail/QueryGetSignature';
|
|
531
532
|
export * from './Interface/api/mail/QueryCountProcessedByUser';
|
|
532
533
|
export * from './Interface/api/mail/QueryGetAnsweringTimeByUser';
|
|
533
|
-
export * from './Interface/api/mail/
|
|
534
|
+
export * from './Interface/api/mail/QueryCountMail';
|
|
534
535
|
export * from './Interface/api/mail/UpdateMail';
|
|
535
536
|
export * from './Interface/api/mail/CreateMailParams';
|
|
536
537
|
export * from './Interface/api/mail/UpdateMailParams';
|
|
@@ -796,8 +797,6 @@ export * from './Interface/api/kilometricAllowance/CreateKilometricAllowanceVali
|
|
|
796
797
|
export * from './Interface/api/thirdParty/CreateThirdPartyForm';
|
|
797
798
|
export * from './Interface/api/thirdParty/UpdateThirdPartyForm';
|
|
798
799
|
export * from './Interface/api/thirdParty/QueryThirdParty';
|
|
799
|
-
export * from './Interface/api/balanceSheetModule/PrepareModulesAndCompletions';
|
|
800
|
-
export * from './Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions';
|
|
801
800
|
export * from './Interface/api/bankAccount/ReadExpiredBankAccount';
|
|
802
801
|
export * from './Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule';
|
|
803
802
|
export * from './Interface/api/calendarEvent/createCalendarEvent';
|
package/ts/utils/email.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as dayjs from 'dayjs';
|
|
2
|
-
import { orderBy as orderByLodash } from 'lodash';
|
|
1
|
+
// import * as dayjs from 'dayjs';
|
|
2
|
+
// import { orderBy as orderByLodash } from 'lodash';
|
|
3
3
|
import { Role } from '../types/Enum/Role';
|
|
4
4
|
import { getBrandConfig } from './brands';
|
|
5
5
|
import { signatureTemplate } from './email/templates/signature';
|
|
@@ -52,43 +52,44 @@ function getRoleSignature(user:any) {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
function getHoraires(user:any) { // On affiche les horaires uniquement pour les front, et pas pour les TVA
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
let
|
|
71
|
-
let
|
|
72
|
-
let
|
|
73
|
-
let
|
|
74
|
-
let
|
|
75
|
-
let
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
|
|
55
|
+
return 'Du lundi au vendredi de 9h à 19h';
|
|
56
|
+
|
|
57
|
+
// if (!intersection([user.roles.map((r: any) => r.id), [Role.FRONT_OFFICE, Role.FRONT_OFFICE_EXPRESS, Role.COMMERCIAL]]).length) return 'Du lundi au vendredi de 9h à 19h';
|
|
58
|
+
|
|
59
|
+
// if (!user.workingSchedules.length) return 'Du lundi au vendredi de 9h à 19h';
|
|
60
|
+
|
|
61
|
+
// let reducedSchedules = user.workingSchedules.reduce((acc: any, e:any, index: number) => {
|
|
62
|
+
// const name = `${dayjs(e.morningStart, 'HH:mm:ss').format('HH:mm')}-${dayjs(e.afternoonEnd || e.morningEnd, 'HH:mm:ss').format('HH:mm')}`;
|
|
63
|
+
// if (!acc[name]) acc[name] = [index];
|
|
64
|
+
// else acc[name].push(index);
|
|
65
|
+
// return acc;
|
|
66
|
+
// }, {});
|
|
67
|
+
|
|
68
|
+
// reducedSchedules = orderByLodash(reducedSchedules, (elem) => elem.length, ['desc']);
|
|
69
|
+
|
|
70
|
+
// let resultHoraire = '';
|
|
71
|
+
// let startH;
|
|
72
|
+
// let startM;
|
|
73
|
+
// let endH;
|
|
74
|
+
// let endM;
|
|
75
|
+
// let firstDayOfWeek;
|
|
76
|
+
// let lastDayOfWeek;
|
|
77
|
+
|
|
78
|
+
// reducedSchedules.forEach((schedule: any, index: number) => {
|
|
79
|
+
// startH = dayjs(user.workingSchedules[schedule[0]].morningStart ? user.workingSchedules[schedule[0]].morningStart : user.workingSchedules[schedule[0]].afternoonStart, 'HH:mm:ss').get('hour');
|
|
80
|
+
// startM = dayjs(user.workingSchedules[schedule[0]].morningStart ? user.workingSchedules[schedule[0]].morningStart : user.workingSchedules[schedule[0]].afternoonStart, 'HH:mm:ss').get('minute');
|
|
81
|
+
// endH = dayjs(user.workingSchedules[schedule[0]].afternoonEnd || user.workingSchedules[schedule[0]].morningEnd, 'HH:mm:ss').get('hour');
|
|
82
|
+
// endM = dayjs(user.workingSchedules[schedule[0]].afternoonEnd || user.workingSchedules[schedule[0]].morningEnd, 'HH:mm:ss').get('minute');
|
|
83
|
+
// firstDayOfWeek = dayjs().locale('fr').day(user.workingSchedules[schedule[0]].idDay).format('dddd');
|
|
84
|
+
// if (!index) {
|
|
85
|
+
// // pour le premier index, on affiche l'amplitude horaire la plus commune, du XX au XX de Xh à Xh
|
|
86
|
+
// lastDayOfWeek = dayjs().locale('fr').day(user.workingSchedules[user.workingSchedules.length - 1].idDay).format('dddd');
|
|
87
|
+
// resultHoraire += `Du ${firstDayOfWeek} au ${lastDayOfWeek} de ${startH}h${startM > 0 ? startM : ''} à ${endH}h${endM > 0 ? endM : ''}`;
|
|
88
|
+
// } else { // Fonctionnel si uniquement un jour par semaine avec des horaires différents
|
|
89
|
+
// resultHoraire += `<br/>Le ${firstDayOfWeek} de ${startH}h${startM > 0 ? startM : ''} à ${endH}h${endM > 0 ? endM : ''}`;
|
|
90
|
+
// }
|
|
91
|
+
// });
|
|
92
|
+
// return resultHoraire;
|
|
92
93
|
}
|
|
93
94
|
|
|
94
95
|
function getMailSignature(user:any, idTypeBrand:number) {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrepareModulesAndCompletions.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.ts"],"names":[],"mappings":"AAGA,qBAAa,4BAA4B;IAEvC,aAAa,EAAE,MAAM,CAAC;IAGtB,cAAc,EAAE,MAAM,CAAC;IAIvB,UAAU,EAAE,OAAO,CAAC;CACrB"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { IsBoolean } from 'class-validator';
|
|
11
|
-
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
|
-
export class PrepareModulesAndCompletions {
|
|
13
|
-
}
|
|
14
|
-
__decorate([
|
|
15
|
-
ApiPropertyOptional(),
|
|
16
|
-
__metadata("design:type", Number)
|
|
17
|
-
], PrepareModulesAndCompletions.prototype, "lastIdSociety", void 0);
|
|
18
|
-
__decorate([
|
|
19
|
-
ApiPropertyOptional(),
|
|
20
|
-
__metadata("design:type", Number)
|
|
21
|
-
], PrepareModulesAndCompletions.prototype, "firstIdSociety", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
ApiProperty(),
|
|
24
|
-
IsBoolean(),
|
|
25
|
-
__metadata("design:type", Boolean)
|
|
26
|
-
], PrepareModulesAndCompletions.prototype, "onlyClient", void 0);
|
|
27
|
-
//# sourceMappingURL=PrepareModulesAndCompletions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrepareModulesAndCompletions.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,4BAA4B;CAUxC;AARC;IADC,mBAAmB,EAAE;;mEACA;AAGtB;IADC,mBAAmB,EAAE;;oEACC;AAIvB;IAFC,WAAW,EAAE;IACb,SAAS,EAAE;;gEACQ","sourcesContent":["import { IsBoolean } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class PrepareModulesAndCompletions {\n @ApiPropertyOptional()\n lastIdSociety: number;\n\n @ApiPropertyOptional()\n firstIdSociety: number;\n\n @ApiProperty()\n @IsBoolean()\n onlyClient: boolean;\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReadPrepareModulesAndCompletions.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions.ts"],"names":[],"mappings":"AAAA,oBAAY,gCAAgC,GAAG;IAC7C,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE;QACR,OAAO,EAAE,MAAM,CAAC;QAChB,WAAW,EAAE,MAAM,CAAA;KACpB,CAAA;CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReadPrepareModulesAndCompletions.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions.ts"],"names":[],"mappings":"","sourcesContent":["export type ReadPrepareModulesAndCompletions = {\n treatedSocieties: number;\n creation: {\n modules: number;\n completions: number\n }\n};"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryCountUnprocessedMail.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryCountUnprocessedMail.ts"],"names":[],"mappings":"AAQA,qBAAa,yBAAyB;IAIpC,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAM3B,wBAAwB,CAAC,EAAE,OAAO,CAAC;IAKnC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryCountUnprocessedMail.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryCountUnprocessedMail.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,UAAU,GACX,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,yBAAyB;CAsBrC;AAlBC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;yDACQ;AAMhB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;mEACe;AAM3B;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;2EACuB;AAKnC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4DACW","sourcesContent":["import {\n IsBoolean,\n IsInt,\n IsOptional,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryCountUnprocessedMail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithoutSociety?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n handlingManagerRoleMails?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n}\n"]}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.PrepareModulesAndCompletions = 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 PrepareModulesAndCompletions {}
|
|
25
|
-
|
|
26
|
-
exports.PrepareModulesAndCompletions = PrepareModulesAndCompletions;
|
|
27
|
-
|
|
28
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], PrepareModulesAndCompletions.prototype, "lastIdSociety", void 0);
|
|
29
|
-
|
|
30
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], PrepareModulesAndCompletions.prototype, "firstIdSociety", void 0);
|
|
31
|
-
|
|
32
|
-
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsBoolean)(), __metadata("design:type", Boolean)], PrepareModulesAndCompletions.prototype, "onlyClient", void 0);
|
|
33
|
-
//# sourceMappingURL=PrepareModulesAndCompletions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrepareModulesAndCompletions.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,4BAAP,CAAmC;;QAA5BA,4B,GAAAA,4B;;AAEXC,YADC,iCACD;;AAGAA,YADC,iCACD;;AAIAA,YAFC,yBAED,EADC,gCACD","names":["PrepareModulesAndCompletions","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheetModule/PrepareModulesAndCompletions.ts"],"sourcesContent":["import { IsBoolean } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class PrepareModulesAndCompletions {\n @ApiPropertyOptional()\n lastIdSociety: number;\n\n @ApiPropertyOptional()\n firstIdSociety: number;\n\n @ApiProperty()\n @IsBoolean()\n onlyClient: boolean;\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReadPrepareModulesAndCompletions.js","mappings":"","names":[],"sourceRoot":"","sources":[],"sourcesContent":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryCountUnprocessedMail.js","mappings":";;;;;;;AAAA;;AAKA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,yBAAP,CAAgC;;QAAzBA,yB,GAAAA,yB;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;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","names":["QueryCountUnprocessedMail","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryCountUnprocessedMail.ts"],"sourcesContent":["import {\n IsBoolean,\n IsInt,\n IsOptional,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryCountUnprocessedMail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithoutSociety?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n handlingManagerRoleMails?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n}\n"]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IsBoolean } from 'class-validator';
|
|
2
|
-
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
|
|
4
|
-
export class PrepareModulesAndCompletions {
|
|
5
|
-
@ApiPropertyOptional()
|
|
6
|
-
lastIdSociety: number;
|
|
7
|
-
|
|
8
|
-
@ApiPropertyOptional()
|
|
9
|
-
firstIdSociety: number;
|
|
10
|
-
|
|
11
|
-
@ApiProperty()
|
|
12
|
-
@IsBoolean()
|
|
13
|
-
onlyClient: boolean;
|
|
14
|
-
}
|