@silexpert/core 1.3.158-0 → 1.3.158-10
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/dist/cjs/api/resources/ExercicePrestation.d.ts +6 -0
- package/dist/cjs/api/resources/ExercicePrestation.d.ts.map +1 -1
- package/dist/cjs/api/resources/ExercicePrestation.js +8 -0
- package/dist/cjs/api/resources/ExercicePrestation.js.map +1 -1
- package/dist/cjs/api/resources/Mfa.d.ts +19 -0
- package/dist/cjs/api/resources/Mfa.d.ts.map +1 -0
- package/dist/cjs/api/resources/Mfa.js +27 -0
- package/dist/cjs/api/resources/Mfa.js.map +1 -0
- package/dist/cjs/api/resources/Report.d.ts.map +1 -1
- package/dist/cjs/api/resources/Report.js +12 -1
- package/dist/cjs/api/resources/Report.js.map +1 -1
- package/dist/cjs/api/resources.d.ts +2 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +2 -0
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +16 -16
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Enum/ReportService.js +20 -20
- package/dist/cjs/types/Enum/ReportService.js.map +1 -1
- package/dist/cjs/types/Enum/ReportSource.d.ts +2 -1
- package/dist/cjs/types/Enum/ReportSource.d.ts.map +1 -1
- package/dist/cjs/types/Enum/ReportSource.js +5 -0
- package/dist/cjs/types/Enum/ReportSource.js.map +1 -1
- package/dist/cjs/types/Enum/Revenue.d.ts +6 -0
- package/dist/cjs/types/Enum/Revenue.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Revenue.js +9 -0
- package/dist/cjs/types/Enum/Revenue.js.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +7 -0
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js +3 -0
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/DisableMfa.d.ts +4 -0
- package/dist/cjs/types/Interface/api/mfa/DisableMfa.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/DisableMfa.js +22 -0
- package/dist/cjs/types/Interface/api/mfa/DisableMfa.js.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/SetupInit.d.ts +5 -0
- package/dist/cjs/types/Interface/api/mfa/SetupInit.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/SetupInit.js +27 -0
- package/dist/cjs/types/Interface/api/mfa/SetupInit.js.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/SetupVerify.d.ts +5 -0
- package/dist/cjs/types/Interface/api/mfa/SetupVerify.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/SetupVerify.js +27 -0
- package/dist/cjs/types/Interface/api/mfa/SetupVerify.js.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/VerifyCode.d.ts +5 -0
- package/dist/cjs/types/Interface/api/mfa/VerifyCode.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/VerifyCode.js +27 -0
- package/dist/cjs/types/Interface/api/mfa/VerifyCode.js.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts +5 -0
- package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.js +27 -0
- package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.js.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/mfa.d.ts +19 -0
- package/dist/cjs/types/Interface/api/mfa/mfa.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/mfa.js +3 -0
- package/dist/cjs/types/Interface/api/mfa/mfa.js.map +1 -0
- package/dist/cjs/types/Interface/api/report/CreateReport.d.ts +3 -1
- package/dist/cjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/report/CreateReport.js +12 -2
- package/dist/cjs/types/Interface/api/report/CreateReport.js.map +1 -1
- package/dist/cjs/types/Interface/api/report/QueryReports.d.ts +5 -1
- package/dist/cjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/report/QueryReports.js +21 -1
- package/dist/cjs/types/Interface/api/report/QueryReports.js.map +1 -1
- package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.d.ts +1 -1
- package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.js +4 -3
- package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.js.map +1 -1
- package/dist/cjs/types/Interface/api/revenueMovement.d.ts +37 -0
- package/dist/cjs/types/Interface/api/revenueMovement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revenueMovement.js.map +1 -1
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts +4 -0
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js +23 -1
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -1
- package/dist/cjs/types/Interface/models/IReport.d.ts +4 -1
- package/dist/cjs/types/Interface/models/IReport.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IReport.js.map +1 -1
- package/dist/cjs/types/Interface/models/IReportHistory.d.ts +1 -1
- package/dist/cjs/types/Interface/models/IReportHistory.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IReportHistory.js.map +1 -1
- package/dist/cjs/types/Interface/models/IRevenueMovement.d.ts +3 -1
- package/dist/cjs/types/Interface/models/IRevenueMovement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IRevenueMovement.js.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.d.ts +1 -0
- package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/cjs/types/Interface/models/IUserMfa.d.ts +12 -0
- package/dist/cjs/types/Interface/models/IUserMfa.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IUserMfa.js +3 -0
- package/dist/cjs/types/Interface/models/IUserMfa.js.map +1 -0
- package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.d.ts +9 -0
- package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.js +3 -0
- package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.js.map +1 -0
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/checkup.d.ts +20 -0
- package/dist/cjs/utils/checkup.d.ts.map +1 -1
- package/dist/cjs/utils/checkup.js +20 -17
- package/dist/cjs/utils/checkup.js.map +1 -1
- package/dist/cjs/utils/documents.d.ts.map +1 -1
- package/dist/cjs/utils/documents.js +6 -0
- package/dist/cjs/utils/documents.js.map +1 -1
- package/dist/mjs/api/resources/ExercicePrestation.d.ts +6 -0
- package/dist/mjs/api/resources/ExercicePrestation.d.ts.map +1 -1
- package/dist/mjs/api/resources/ExercicePrestation.js +8 -0
- package/dist/mjs/api/resources/ExercicePrestation.js.map +1 -1
- package/dist/mjs/api/resources/Mfa.d.ts +19 -0
- package/dist/mjs/api/resources/Mfa.d.ts.map +1 -0
- package/dist/mjs/api/resources/Mfa.js +23 -0
- package/dist/mjs/api/resources/Mfa.js.map +1 -0
- package/dist/mjs/api/resources/Report.d.ts.map +1 -1
- package/dist/mjs/api/resources/Report.js +12 -1
- package/dist/mjs/api/resources/Report.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +2 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +2 -0
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +16 -16
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Enum/ReportService.js +20 -20
- package/dist/mjs/types/Enum/ReportService.js.map +1 -1
- package/dist/mjs/types/Enum/ReportSource.d.ts +2 -1
- package/dist/mjs/types/Enum/ReportSource.d.ts.map +1 -1
- package/dist/mjs/types/Enum/ReportSource.js +5 -0
- package/dist/mjs/types/Enum/ReportSource.js.map +1 -1
- package/dist/mjs/types/Enum/Revenue.d.ts +6 -0
- package/dist/mjs/types/Enum/Revenue.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Revenue.js +8 -0
- package/dist/mjs/types/Enum/Revenue.js.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +7 -0
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js +2 -0
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/DisableMfa.d.ts +4 -0
- package/dist/mjs/types/Interface/api/mfa/DisableMfa.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/DisableMfa.js +19 -0
- package/dist/mjs/types/Interface/api/mfa/DisableMfa.js.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/SetupInit.d.ts +5 -0
- package/dist/mjs/types/Interface/api/mfa/SetupInit.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/SetupInit.js +25 -0
- package/dist/mjs/types/Interface/api/mfa/SetupInit.js.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/SetupVerify.d.ts +5 -0
- package/dist/mjs/types/Interface/api/mfa/SetupVerify.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/SetupVerify.js +25 -0
- package/dist/mjs/types/Interface/api/mfa/SetupVerify.js.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/VerifyCode.d.ts +5 -0
- package/dist/mjs/types/Interface/api/mfa/VerifyCode.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/VerifyCode.js +25 -0
- package/dist/mjs/types/Interface/api/mfa/VerifyCode.js.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts +5 -0
- package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.js +25 -0
- package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.js.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/mfa.d.ts +19 -0
- package/dist/mjs/types/Interface/api/mfa/mfa.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/mfa.js +2 -0
- package/dist/mjs/types/Interface/api/mfa/mfa.js.map +1 -0
- package/dist/mjs/types/Interface/api/report/CreateReport.d.ts +3 -1
- package/dist/mjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/report/CreateReport.js +14 -2
- package/dist/mjs/types/Interface/api/report/CreateReport.js.map +1 -1
- package/dist/mjs/types/Interface/api/report/QueryReports.d.ts +5 -1
- package/dist/mjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/report/QueryReports.js +24 -2
- package/dist/mjs/types/Interface/api/report/QueryReports.js.map +1 -1
- package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.d.ts +1 -1
- package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.js +5 -3
- package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.js.map +1 -1
- package/dist/mjs/types/Interface/api/revenueMovement.d.ts +37 -0
- package/dist/mjs/types/Interface/api/revenueMovement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revenueMovement.js.map +1 -1
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts +4 -0
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js +23 -0
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -1
- package/dist/mjs/types/Interface/models/IReport.d.ts +4 -1
- package/dist/mjs/types/Interface/models/IReport.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IReport.js.map +1 -1
- package/dist/mjs/types/Interface/models/IReportHistory.d.ts +1 -1
- package/dist/mjs/types/Interface/models/IReportHistory.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IReportHistory.js.map +1 -1
- package/dist/mjs/types/Interface/models/IRevenueMovement.d.ts +3 -1
- package/dist/mjs/types/Interface/models/IRevenueMovement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IRevenueMovement.js.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.d.ts +1 -0
- package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/mjs/types/Interface/models/IUserMfa.d.ts +12 -0
- package/dist/mjs/types/Interface/models/IUserMfa.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IUserMfa.js +2 -0
- package/dist/mjs/types/Interface/models/IUserMfa.js.map +1 -0
- package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.d.ts +9 -0
- package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.js +2 -0
- package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.js.map +1 -0
- package/dist/mjs/types/index.d.ts +1 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/checkup.d.ts +20 -0
- package/dist/mjs/utils/checkup.d.ts.map +1 -1
- package/dist/mjs/utils/checkup.js +20 -17
- package/dist/mjs/utils/checkup.js.map +1 -1
- package/dist/mjs/utils/documents.d.ts.map +1 -1
- package/dist/mjs/utils/documents.js +6 -0
- package/dist/mjs/utils/documents.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/ExercicePrestation.ts +9 -0
- package/ts/api/resources/Mfa.ts +29 -0
- package/ts/api/resources/Report.ts +11 -1
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/PrestationType.ts +16 -16
- package/ts/types/Enum/ReportService.ts +4 -4
- package/ts/types/Enum/ReportSource.ts +5 -0
- package/ts/types/Enum/Revenue.ts +18 -9
- package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +6 -0
- package/ts/types/Interface/api/mfa/DisableMfa.ts +7 -0
- package/ts/types/Interface/api/mfa/SetupInit.ts +11 -0
- package/ts/types/Interface/api/mfa/SetupVerify.ts +11 -0
- package/ts/types/Interface/api/mfa/VerifyCode.ts +11 -0
- package/ts/types/Interface/api/mfa/VerifyRecoveryCode.ts +11 -0
- package/ts/types/Interface/api/mfa/mfa.ts +21 -0
- package/ts/types/Interface/api/report/CreateReport.ts +10 -2
- package/ts/types/Interface/api/report/QueryReports.ts +18 -2
- package/ts/types/Interface/api/report/QueryReportsForLetter.ts +2 -2
- package/ts/types/Interface/api/revenueMovement.ts +39 -0
- package/ts/types/Interface/api/revenueSnapshotGenerate.ts +19 -0
- package/ts/types/Interface/models/IReport.ts +4 -1
- package/ts/types/Interface/models/IReportHistory.ts +1 -1
- package/ts/types/Interface/models/IRevenueMovement.ts +4 -1
- package/ts/types/Interface/models/IUser.ts +1 -0
- package/ts/types/Interface/models/IUserMfa.ts +11 -0
- package/ts/types/Interface/models/IUserMfaRecoveryCode.ts +8 -0
- package/ts/types/index.ts +1 -0
- package/ts/utils/checkup.ts +20 -17
- package/ts/utils/documents.ts +7 -0
|
@@ -11,35 +11,35 @@ var ReportService;
|
|
|
11
11
|
ReportService[ReportService["REFERENT_CLIENT"] = 5] = "REFERENT_CLIENT";
|
|
12
12
|
})(ReportService || (exports.ReportService = ReportService = {}));
|
|
13
13
|
exports.ReportServiceList = [
|
|
14
|
-
{
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
/* {
|
|
15
|
+
id: ReportService.REFERENT_LITIGE,
|
|
16
|
+
label: 'Référent litige',
|
|
17
|
+
idRole: RoleDetail.REFERENT_LITIGE.id,
|
|
18
|
+
idTaskType: 12,
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
},
|
|
21
|
+
id: ReportService.COMPTABLE,
|
|
22
|
+
label: 'Comptable',
|
|
23
|
+
idRole: RoleDetail.FRONT_OFFICE.id,
|
|
24
|
+
idTaskType: 16,
|
|
25
|
+
}, */
|
|
26
26
|
{
|
|
27
27
|
id: ReportService.CUSTOMER_SUCCESS,
|
|
28
28
|
label: 'Customer Success',
|
|
29
29
|
idRole: RoleDetail_1.RoleDetail.CUSTOMER_SUCCESS.id,
|
|
30
30
|
idTaskType: 14,
|
|
31
31
|
},
|
|
32
|
-
{
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
/* {
|
|
33
|
+
id: ReportService.EXPERT_ACCOUNTANT,
|
|
34
|
+
label: 'Expert Comptable',
|
|
35
|
+
idRole: RoleDetail.EXPERT_ACCOUNTANT.id,
|
|
36
|
+
idTaskType: 15,
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
},
|
|
39
|
+
id: ReportService.REFERENT_CLIENT,
|
|
40
|
+
label: 'Référent client',
|
|
41
|
+
idRole: RoleDetail.REFERENT_CLIENT.id,
|
|
42
|
+
idTaskType: 13,
|
|
43
|
+
}, */
|
|
44
44
|
];
|
|
45
45
|
//# sourceMappingURL=ReportService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReportService.js","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportService.ts"],"names":[],"mappings":";;;AAAA,6CAA0C;AAI1C,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,uEAAmB,CAAA;IACnB,2DAAa,CAAA;IACb,yEAAoB,CAAA;IACpB,2EAAqB,CAAA;IACrB,uEAAmB,CAAA;AACrB,CAAC,EANW,aAAa,6BAAb,aAAa,QAMxB;AAEY,QAAA,iBAAiB,GAAe;IAC3C;
|
|
1
|
+
{"version":3,"file":"ReportService.js","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportService.ts"],"names":[],"mappings":";;;AAAA,6CAA0C;AAI1C,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,uEAAmB,CAAA;IACnB,2DAAa,CAAA;IACb,yEAAoB,CAAA;IACpB,2EAAqB,CAAA;IACrB,uEAAmB,CAAA;AACrB,CAAC,EANW,aAAa,6BAAb,aAAa,QAMxB;AAEY,QAAA,iBAAiB,GAAe;IAC3C;;;;;;;;;;;SAWK;IACL;QACE,EAAE,EAAE,aAAa,CAAC,gBAAgB;QAClC,KAAK,EAAE,kBAAkB;QACzB,MAAM,EAAE,uBAAU,CAAC,gBAAgB,CAAC,EAAE;QACtC,UAAU,EAAE,EAAE;KACf;IACD;;;;;;;;;;;SAWK;CACN,CAAC","sourcesContent":["import { RoleDetail } from './RoleDetail';\n\nexport type ListReport = Array<{ label: string; id: number; idRole: number; idTaskType: number }>;\n\nexport enum ReportService {\n REFERENT_LITIGE = 1,\n COMPTABLE = 2,\n CUSTOMER_SUCCESS = 3,\n EXPERT_ACCOUNTANT = 4,\n REFERENT_CLIENT = 5,\n}\n\nexport const ReportServiceList: ListReport = [\n /* {\n id: ReportService.REFERENT_LITIGE,\n label: 'Référent litige',\n idRole: RoleDetail.REFERENT_LITIGE.id,\n idTaskType: 12,\n },\n {\n id: ReportService.COMPTABLE,\n label: 'Comptable',\n idRole: RoleDetail.FRONT_OFFICE.id,\n idTaskType: 16,\n }, */\n {\n id: ReportService.CUSTOMER_SUCCESS,\n label: 'Customer Success',\n idRole: RoleDetail.CUSTOMER_SUCCESS.id,\n idTaskType: 14,\n },\n /* {\n id: ReportService.EXPERT_ACCOUNTANT,\n label: 'Expert Comptable',\n idRole: RoleDetail.EXPERT_ACCOUNTANT.id,\n idTaskType: 15,\n },\n {\n id: ReportService.REFERENT_CLIENT,\n label: 'Référent client',\n idRole: RoleDetail.REFERENT_CLIENT.id,\n idTaskType: 13,\n }, */\n];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReportSource.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportSource.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,MAAM,IAAI;IACV,IAAI,IAAI;IACR,QAAQ,IAAI;
|
|
1
|
+
{"version":3,"file":"ReportSource.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportSource.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,MAAM,IAAI;IACV,IAAI,IAAI;IACR,QAAQ,IAAI;IACZ,MAAM,IAAI;CACX;AAED,UAAU,qBAAqB;IAC7B,EAAE,EAAE,YAAY,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,mBAAmB,EAAE,qBAAqB,EAiBtD,CAAC"}
|
|
@@ -6,6 +6,7 @@ var ReportSource;
|
|
|
6
6
|
ReportSource[ReportSource["LETTER"] = 1] = "LETTER";
|
|
7
7
|
ReportSource[ReportSource["MAIL"] = 2] = "MAIL";
|
|
8
8
|
ReportSource[ReportSource["INTERNAL"] = 3] = "INTERNAL";
|
|
9
|
+
ReportSource[ReportSource["CLIENT"] = 4] = "CLIENT";
|
|
9
10
|
})(ReportSource || (exports.ReportSource = ReportSource = {}));
|
|
10
11
|
exports.ReportSourceDetails = [
|
|
11
12
|
{
|
|
@@ -20,5 +21,9 @@ exports.ReportSourceDetails = [
|
|
|
20
21
|
id: ReportSource.INTERNAL,
|
|
21
22
|
name: 'Interne',
|
|
22
23
|
},
|
|
24
|
+
{
|
|
25
|
+
id: ReportSource.CLIENT,
|
|
26
|
+
name: 'Client',
|
|
27
|
+
},
|
|
23
28
|
];
|
|
24
29
|
//# sourceMappingURL=ReportSource.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReportSource.js","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportSource.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"ReportSource.js","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportSource.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,mDAAU,CAAA;IACV,+CAAQ,CAAA;IACR,uDAAY,CAAA;IACZ,mDAAU,CAAA;AACZ,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AAOY,QAAA,mBAAmB,GAA4B;IAC1D;QACE,EAAE,EAAE,YAAY,CAAC,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,EAAE,EAAE,YAAY,CAAC,IAAI;QACrB,IAAI,EAAE,MAAM;KACb;IACD;QACE,EAAE,EAAE,YAAY,CAAC,QAAQ;QACzB,IAAI,EAAE,SAAS;KAChB;IACD;QACE,EAAE,EAAE,YAAY,CAAC,MAAM;QACvB,IAAI,EAAE,QAAQ;KACf;CACF,CAAC","sourcesContent":["export enum ReportSource {\n LETTER = 1,\n MAIL = 2,\n INTERNAL = 3,\n CLIENT = 4,\n}\n\ninterface ReportSourceInterface {\n id: ReportSource;\n name: string;\n}\n\nexport const ReportSourceDetails: ReportSourceInterface[] = [\n {\n id: ReportSource.LETTER,\n name: 'Courrier',\n },\n {\n id: ReportSource.MAIL,\n name: 'Mail',\n },\n {\n id: ReportSource.INTERNAL,\n name: 'Interne',\n },\n {\n id: ReportSource.CLIENT,\n name: 'Client',\n },\n];\n"]}
|
|
@@ -17,6 +17,12 @@ export declare enum RevenueMovementType {
|
|
|
17
17
|
/** Reactivation (client qui revient) */
|
|
18
18
|
REACTIVATION = 7
|
|
19
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Récupère le nom de l'enum à partir de sa valeur
|
|
22
|
+
* @param type - La valeur numérique du type de mouvement
|
|
23
|
+
* @returns Le nom de l'enum (ex: 'BOOKING', 'CHURN', etc.)
|
|
24
|
+
*/
|
|
25
|
+
export declare function getRevenueMovementTypeName(type: RevenueMovementType | number): string;
|
|
20
26
|
/**
|
|
21
27
|
* Type de périodicité pour les prestations
|
|
22
28
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Revenue.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Revenue.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,mBAAmB;IAC7B,sDAAsD;IACtD,OAAO,IAAI;IAEX,iCAAiC;IACjC,KAAK,IAAI;IAET,iCAAiC;IACjC,SAAS,IAAI;IAEb,+BAA+B;IAC/B,WAAW,IAAI;IAEf,2CAA2C;IAC3C,OAAO,IAAI;IAEX,0CAA0C;IAC1C,SAAS,IAAI;IAEb,wCAAwC;IACxC,YAAY,IAAI;CACjB;AAED;;GAEG;AACH,oBAAY,qBAAqB;IAC/B,cAAc;IACd,OAAO,IAAI;IAEX,kBAAkB;IAClB,SAAS,IAAI;IAEb,aAAa;IACb,MAAM,IAAI;IAEV,sCAAsC;IACtC,QAAQ,IAAI;CACb"}
|
|
1
|
+
{"version":3,"file":"Revenue.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Revenue.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,mBAAmB;IAC7B,sDAAsD;IACtD,OAAO,IAAI;IAEX,iCAAiC;IACjC,KAAK,IAAI;IAET,iCAAiC;IACjC,SAAS,IAAI;IAEb,+BAA+B;IAC/B,WAAW,IAAI;IAEf,2CAA2C;IAC3C,OAAO,IAAI;IAEX,0CAA0C;IAC1C,SAAS,IAAI;IAEb,wCAAwC;IACxC,YAAY,IAAI;CACjB;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,mBAAmB,GAAG,MAAM,GAAG,MAAM,CAErF;AAED;;GAEG;AACH,oBAAY,qBAAqB;IAC/B,cAAc;IACd,OAAO,IAAI;IAEX,kBAAkB;IAClB,SAAS,IAAI;IAEb,aAAa;IACb,MAAM,IAAI;IAEV,sCAAsC;IACtC,QAAQ,IAAI;CACb"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PrestationPeriodicity = exports.RevenueMovementType = void 0;
|
|
4
|
+
exports.getRevenueMovementTypeName = getRevenueMovementTypeName;
|
|
4
5
|
/**
|
|
5
6
|
* Type de mouvement de revenu
|
|
6
7
|
*/
|
|
@@ -21,6 +22,14 @@ var RevenueMovementType;
|
|
|
21
22
|
/** Reactivation (client qui revient) */
|
|
22
23
|
RevenueMovementType[RevenueMovementType["REACTIVATION"] = 7] = "REACTIVATION";
|
|
23
24
|
})(RevenueMovementType || (exports.RevenueMovementType = RevenueMovementType = {}));
|
|
25
|
+
/**
|
|
26
|
+
* Récupère le nom de l'enum à partir de sa valeur
|
|
27
|
+
* @param type - La valeur numérique du type de mouvement
|
|
28
|
+
* @returns Le nom de l'enum (ex: 'BOOKING', 'CHURN', etc.)
|
|
29
|
+
*/
|
|
30
|
+
function getRevenueMovementTypeName(type) {
|
|
31
|
+
return RevenueMovementType[type] || 'UNKNOWN';
|
|
32
|
+
}
|
|
24
33
|
/**
|
|
25
34
|
* Type de périodicité pour les prestations
|
|
26
35
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Revenue.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Revenue.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Revenue.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Revenue.ts"],"names":[],"mappings":";;;AA+BA,gEAEC;AAjCD;;GAEG;AACH,IAAY,mBAqBX;AArBD,WAAY,mBAAmB;IAC7B,sDAAsD;IACtD,mEAAW,CAAA;IAEX,iCAAiC;IACjC,+DAAS,CAAA;IAET,iCAAiC;IACjC,uEAAa,CAAA;IAEb,+BAA+B;IAC/B,2EAAe,CAAA;IAEf,2CAA2C;IAC3C,mEAAW,CAAA;IAEX,0CAA0C;IAC1C,uEAAa,CAAA;IAEb,wCAAwC;IACxC,6EAAgB,CAAA;AAClB,CAAC,EArBW,mBAAmB,mCAAnB,mBAAmB,QAqB9B;AAED;;;;GAIG;AACH,SAAgB,0BAA0B,CAAC,IAAkC;IAC3E,OAAO,mBAAmB,CAAC,IAAI,CAAC,IAAI,SAAS,CAAC;AAChD,CAAC;AAED;;GAEG;AACH,IAAY,qBAYX;AAZD,WAAY,qBAAqB;IAC/B,cAAc;IACd,uEAAW,CAAA;IAEX,kBAAkB;IAClB,2EAAa,CAAA;IAEb,aAAa;IACb,qEAAU,CAAA;IAEV,sCAAsC;IACtC,yEAAY,CAAA;AACd,CAAC,EAZW,qBAAqB,qCAArB,qBAAqB,QAYhC","sourcesContent":["/**\n * Type de mouvement de revenu\n */\nexport enum RevenueMovementType {\n /** Nouveau booking (nouvelle prestation souscrite) */\n BOOKING = 1,\n\n /** Churn (résiliation client) */\n CHURN = 2,\n\n /** Provision (revenu différé) */\n PROVISION = 3,\n\n /** Reconnaissance de revenu */\n RECOGNITION = 4,\n\n /** Upgrade (augmentation de prestation) */\n UPGRADE = 5,\n\n /** Downgrade (réduction de prestation) */\n DOWNGRADE = 6,\n\n /** Reactivation (client qui revient) */\n REACTIVATION = 7,\n}\n\n/**\n * Récupère le nom de l'enum à partir de sa valeur\n * @param type - La valeur numérique du type de mouvement\n * @returns Le nom de l'enum (ex: 'BOOKING', 'CHURN', etc.)\n */\nexport function getRevenueMovementTypeName(type: RevenueMovementType | number): string {\n return RevenueMovementType[type] || 'UNKNOWN';\n}\n\n/**\n * Type de périodicité pour les prestations\n */\nexport enum PrestationPeriodicity {\n /** Mensuel */\n MONTHLY = 1,\n\n /** Trimestriel */\n QUARTERLY = 2,\n\n /** Annuel */\n YEARLY = 3,\n\n /** Paiement unique (non récurrent) */\n ONE_TIME = 4,\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthenticationResponse.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/AuthenticationResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uBAAuB;IACtC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthenticationResponse.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/AuthenticationResponse.ts"],"names":[],"mappings":"","sourcesContent":["export interface IAuthenticationResponse {\n requiresMfa?: boolean;\n userId?: number;\n message?: string;\n token?: string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DisableMfa.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/DisableMfa.ts"],"names":[],"mappings":"AAEA,qBAAa,UAAU;IAGrB,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.MfaDisable = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class MfaDisable {
|
|
15
|
+
}
|
|
16
|
+
exports.MfaDisable = MfaDisable;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
(0, class_validator_1.IsInt)(),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], MfaDisable.prototype, "userId", void 0);
|
|
22
|
+
//# sourceMappingURL=DisableMfa.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DisableMfa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/DisableMfa.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoD;AAEpD,MAAa,UAAU;CAItB;AAJD,gCAIC;AADC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;0CACO","sourcesContent":["import { IsInt, IsNotEmpty } from 'class-validator';\n\nexport class MfaDisable {\n @IsNotEmpty()\n @IsInt()\n userId: number;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetupInit.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/SetupInit.ts"],"names":[],"mappings":"AAEA,qBAAa,YAAY;IAGvB,MAAM,EAAE,MAAM,CAAC;IAIf,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.MfaSetupInit = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class MfaSetupInit {
|
|
15
|
+
}
|
|
16
|
+
exports.MfaSetupInit = MfaSetupInit;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
(0, class_validator_1.IsInt)(),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], MfaSetupInit.prototype, "userId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsEmail)(),
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], MfaSetupInit.prototype, "userEmail", void 0);
|
|
27
|
+
//# sourceMappingURL=SetupInit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetupInit.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/SetupInit.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AAEvE,MAAa,YAAY;CAQxB;AARD,oCAQC;AALC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACO;AAIf;IAFC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,GAAE;;+CACO","sourcesContent":["import { IsEmail, IsInt, IsNotEmpty, IsString } from 'class-validator';\n\nexport class MfaSetupInit {\n @IsNotEmpty()\n @IsInt()\n userId: number;\n\n @IsEmail()\n @IsString()\n userEmail: string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetupVerify.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/SetupVerify.ts"],"names":[],"mappings":"AAEA,qBAAa,cAAc;IAGzB,MAAM,EAAE,MAAM,CAAC;IAIf,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.MfaSetupVerify = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class MfaSetupVerify {
|
|
15
|
+
}
|
|
16
|
+
exports.MfaSetupVerify = MfaSetupVerify;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
(0, class_validator_1.IsInt)(),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], MfaSetupVerify.prototype, "userId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], MfaSetupVerify.prototype, "code", void 0);
|
|
27
|
+
//# sourceMappingURL=SetupVerify.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetupVerify.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/SetupVerify.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAE9D,MAAa,cAAc;CAQ1B;AARD,wCAQC;AALC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8CACO;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACE","sourcesContent":["import { IsInt, IsNotEmpty, IsString } from 'class-validator';\n\nexport class MfaSetupVerify {\n @IsNotEmpty()\n @IsInt()\n userId: number;\n\n @IsNotEmpty()\n @IsString()\n code: string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyCode.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/VerifyCode.ts"],"names":[],"mappings":"AAEA,qBAAa,aAAa;IAGxB,MAAM,EAAE,MAAM,CAAC;IAIf,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.MfaVerifyCode = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class MfaVerifyCode {
|
|
15
|
+
}
|
|
16
|
+
exports.MfaVerifyCode = MfaVerifyCode;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
(0, class_validator_1.IsInt)(),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], MfaVerifyCode.prototype, "userId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.Length)(6, 6),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], MfaVerifyCode.prototype, "code", void 0);
|
|
27
|
+
//# sourceMappingURL=VerifyCode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyCode.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/VerifyCode.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsE;AAEtE,MAAa,aAAa;CAQzB;AARD,sCAQC;AALC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;6CACO;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,CAAC,EAAE,CAAC,CAAC;;2CACA","sourcesContent":["import { IsInt, IsNotEmpty, IsString, Length } from 'class-validator';\n\nexport class MfaVerifyCode {\n @IsNotEmpty()\n @IsInt()\n userId: number;\n\n @IsString()\n @Length(6, 6)\n code: string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyRecoveryCode.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/VerifyRecoveryCode.ts"],"names":[],"mappings":"AAEA,qBAAa,qBAAqB;IAGhC,MAAM,EAAE,MAAM,CAAC;IAIf,YAAY,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.MfaVerifyRecoveryCode = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class MfaVerifyRecoveryCode {
|
|
15
|
+
}
|
|
16
|
+
exports.MfaVerifyRecoveryCode = MfaVerifyRecoveryCode;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
(0, class_validator_1.IsInt)(),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], MfaVerifyRecoveryCode.prototype, "userId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], MfaVerifyRecoveryCode.prototype, "recoveryCode", void 0);
|
|
27
|
+
//# sourceMappingURL=VerifyRecoveryCode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyRecoveryCode.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/VerifyRecoveryCode.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAE9D,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AALC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;qDACO;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACQ","sourcesContent":["import { IsInt, IsNotEmpty, IsString } from 'class-validator';\n\nexport class MfaVerifyRecoveryCode {\n @IsNotEmpty()\n @IsInt()\n userId: number;\n\n @IsString()\n @IsNotEmpty()\n recoveryCode: string;\n}\n"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface MfaSetupInitResult {
|
|
2
|
+
otpauthUri: string;
|
|
3
|
+
tempSecret: string;
|
|
4
|
+
label: string;
|
|
5
|
+
}
|
|
6
|
+
export interface MfaSetupVerifyResult {
|
|
7
|
+
success: boolean;
|
|
8
|
+
recoveryCodes: string[];
|
|
9
|
+
}
|
|
10
|
+
export interface MfaAuthenticationResponse {
|
|
11
|
+
requiresMfa: boolean;
|
|
12
|
+
userId?: number;
|
|
13
|
+
token?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface MfaVerificationResponse {
|
|
16
|
+
success: boolean;
|
|
17
|
+
token?: string;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=mfa.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/mfa.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,yBAAyB;IACxC,WAAW,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/mfa.ts"],"names":[],"mappings":"","sourcesContent":["export interface MfaSetupInitResult {\n otpauthUri: string;\n tempSecret: string;\n label: string;\n}\n\nexport interface MfaSetupVerifyResult {\n success: boolean;\n recoveryCodes: string[];\n}\n\nexport interface MfaAuthenticationResponse {\n requiresMfa: boolean;\n userId?: number;\n token?: string;\n}\n\nexport interface MfaVerificationResponse {\n success: boolean;\n token?: string;\n}\n"]}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { IReport } from '../../..';
|
|
2
2
|
import { TFile } from '../file/TFile';
|
|
3
3
|
export declare class CreateReport implements IReport {
|
|
4
|
-
|
|
4
|
+
idSource: number;
|
|
5
|
+
idReportType?: number[];
|
|
5
6
|
idSociety?: number;
|
|
6
7
|
idFile?: number;
|
|
7
8
|
idUser: number;
|
|
@@ -15,6 +16,7 @@ export declare class CreateReport implements IReport {
|
|
|
15
16
|
action?: number;
|
|
16
17
|
processed?: boolean;
|
|
17
18
|
letterDate?: Date;
|
|
19
|
+
receivedAt?: Date;
|
|
18
20
|
receivedFile?: TFile;
|
|
19
21
|
responseFile?: TFile;
|
|
20
22
|
token?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,YAAa,YAAW,OAAO;
|
|
1
|
+
{"version":3,"file":"CreateReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,YAAa,YAAW,OAAO;IAG1C,QAAQ,EAAE,MAAM,CAAC;IAKjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAKxB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,MAAM,EAAE,MAAM,CAAC;IAKf,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAI5B,OAAO,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,WAAW,CAAC,EAAE,OAAO,CAAC;IAKtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,SAAS,CAAC,EAAE,OAAO,CAAC;IAIpB,UAAU,CAAC,EAAE,IAAI,CAAC;IAIlB,UAAU,CAAC,EAAE,IAAI,CAAC;IAIlB,YAAY,CAAC,EAAE,KAAK,CAAC;IAIrB,YAAY,CAAC,EAAE,KAAK,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -16,10 +16,15 @@ class CreateReport {
|
|
|
16
16
|
}
|
|
17
17
|
exports.CreateReport = CreateReport;
|
|
18
18
|
__decorate([
|
|
19
|
-
(0, utils_1.
|
|
20
|
-
(0, class_validator_1.IsOptional)(),
|
|
19
|
+
(0, utils_1.ApiProperty)(),
|
|
21
20
|
(0, class_validator_1.IsInt)(),
|
|
22
21
|
__metadata("design:type", Number)
|
|
22
|
+
], CreateReport.prototype, "idSource", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
(0, class_validator_1.IsInt)({ each: true }),
|
|
27
|
+
__metadata("design:type", Array)
|
|
23
28
|
], CreateReport.prototype, "idReportType", void 0);
|
|
24
29
|
__decorate([
|
|
25
30
|
(0, utils_1.ApiPropertyOptional)(),
|
|
@@ -93,6 +98,11 @@ __decorate([
|
|
|
93
98
|
(0, class_validator_1.IsOptional)(),
|
|
94
99
|
__metadata("design:type", Date)
|
|
95
100
|
], CreateReport.prototype, "letterDate", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
103
|
+
(0, class_validator_1.IsOptional)(),
|
|
104
|
+
__metadata("design:type", Date)
|
|
105
|
+
], CreateReport.prototype, "receivedAt", void 0);
|
|
96
106
|
__decorate([
|
|
97
107
|
(0, utils_1.ApiPropertyOptional)(),
|
|
98
108
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAE9D,6CAAqE;AAGrE,MAAa,YAAY;
|
|
1
|
+
{"version":3,"file":"CreateReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAE9D,6CAAqE;AAGrE,MAAa,YAAY;CAqFxB;AArFD,oCAqFC;AAlFC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;8CACS;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kDACE;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;+CACW;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACQ;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;4CACO;AAKf;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wDACoB;AAI5B;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6CACK;AAKhB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACK;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;qDACa;AAK1B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;2CACO;AAIf;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;iDACS;AAKtB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8CACU;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACQ;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;+CACO;AAIpB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;8BACA,IAAI;gDAAC;AAIlB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;8BACA,IAAI;gDAAC;AAIlB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;kDACQ;AAIrB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;kDACQ;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACI","sourcesContent":["import { IsInt, IsOptional, IsString } from 'class-validator';\nimport { IReport } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class CreateReport implements IReport {\n @ApiProperty()\n @IsInt()\n idSource: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idReportType?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idFile?: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idServiceConcerned?: number;\n\n @ApiProperty()\n @IsString()\n comment: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n declareSoupcons?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n state?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n informerjlb?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n ressenti?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n action?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n processed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n letterDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n receivedAt?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n receivedFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n responseFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string;\n}\n"]}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export declare class QueryReports {
|
|
2
|
-
|
|
2
|
+
idSource?: number[];
|
|
3
|
+
idReportType?: number[];
|
|
3
4
|
idSociety?: number;
|
|
4
5
|
idService?: number;
|
|
6
|
+
idUserConcerned?: number;
|
|
5
7
|
idServiceConcerned?: number;
|
|
6
8
|
id?: number;
|
|
7
9
|
search?: string;
|
|
@@ -9,5 +11,7 @@ export declare class QueryReports {
|
|
|
9
11
|
state?: number;
|
|
10
12
|
idUser?: number | number[];
|
|
11
13
|
onlyClient?: boolean;
|
|
14
|
+
startDate?: string;
|
|
15
|
+
endDate?: string;
|
|
12
16
|
}
|
|
13
17
|
//# sourceMappingURL=QueryReports.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryReports.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":"AAIA,qBAAa,YAAY;IAEvB,YAAY,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryReports.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":"AAIA,qBAAa,YAAY;IAEvB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IAGpB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAGxB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAG5B,EAAE,CAAC,EAAE,MAAM,CAAC;IAGZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAM3B,UAAU,CAAC,EAAE,OAAO,CAAC;IAKb,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -18,7 +18,11 @@ class QueryReports {
|
|
|
18
18
|
exports.QueryReports = QueryReports;
|
|
19
19
|
__decorate([
|
|
20
20
|
(0, utils_1.ApiPropertyOptional)(),
|
|
21
|
-
__metadata("design:type",
|
|
21
|
+
__metadata("design:type", Array)
|
|
22
|
+
], QueryReports.prototype, "idSource", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
25
|
+
__metadata("design:type", Array)
|
|
22
26
|
], QueryReports.prototype, "idReportType", void 0);
|
|
23
27
|
__decorate([
|
|
24
28
|
(0, utils_1.ApiPropertyOptional)(),
|
|
@@ -28,6 +32,10 @@ __decorate([
|
|
|
28
32
|
(0, utils_1.ApiPropertyOptional)(),
|
|
29
33
|
__metadata("design:type", Number)
|
|
30
34
|
], QueryReports.prototype, "idService", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
37
|
+
__metadata("design:type", Number)
|
|
38
|
+
], QueryReports.prototype, "idUserConcerned", void 0);
|
|
31
39
|
__decorate([
|
|
32
40
|
(0, utils_1.ApiPropertyOptional)(),
|
|
33
41
|
__metadata("design:type", Number)
|
|
@@ -59,4 +67,16 @@ __decorate([
|
|
|
59
67
|
(0, boolean_transform_1.ToBoolean)(),
|
|
60
68
|
__metadata("design:type", Boolean)
|
|
61
69
|
], QueryReports.prototype, "onlyClient", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
72
|
+
(0, class_validator_1.IsOptional)(),
|
|
73
|
+
(0, class_validator_1.IsDateString)(),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], QueryReports.prototype, "startDate", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
78
|
+
(0, class_validator_1.IsOptional)(),
|
|
79
|
+
(0, class_validator_1.IsDateString)(),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], QueryReports.prototype, "endDate", void 0);
|
|
62
82
|
//# sourceMappingURL=QueryReports.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryReports.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"QueryReports.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsE;AACtE,6CAAwD;AACxD,sFAA2E;AAE3E,MAAa,YAAY;CAiDxB;AAjDD,oCAiDC;AA/CC;IADC,IAAA,2BAAmB,GAAE;;8CACF;AAGpB;IADC,IAAA,2BAAmB,GAAE;;kDACE;AAGxB;IADC,IAAA,2BAAmB,GAAE;;+CACH;AAGnB;IADC,IAAA,2BAAmB,GAAE;;+CACH;AAGnB;IADC,IAAA,2BAAmB,GAAE;;qDACG;AAGzB;IADC,IAAA,2BAAmB,GAAE;;wDACM;AAG5B;IADC,IAAA,2BAAmB,GAAE;;wCACV;AAGZ;IADC,IAAA,2BAAmB,GAAE;;4CACN;AAGhB;IADC,IAAA,2BAAmB,GAAE;;0CACR;AAGd;IADC,IAAA,2BAAmB,GAAE;;2CACP;AAGf;IADC,IAAA,2BAAmB,GAAE;;4CACK;AAM3B;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;gDACS;AAKb;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;+CACY;AAKnB;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;6CACU","sourcesContent":["import { IsBoolean, IsDateString, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryReports {\n @ApiPropertyOptional()\n idSource?: number[];\n\n @ApiPropertyOptional()\n idReportType?: number[];\n\n @ApiPropertyOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n idService?: number;\n\n @ApiPropertyOptional()\n idUserConcerned?: number;\n\n @ApiPropertyOptional()\n idServiceConcerned?: number;\n\n @ApiPropertyOptional()\n id?: number;\n\n @ApiPropertyOptional()\n search?: string;\n\n @ApiPropertyOptional()\n year?: number;\n\n @ApiPropertyOptional()\n state?: number;\n\n @ApiPropertyOptional()\n idUser?: number | number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n onlyClient?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n declare startDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n declare endDate?: string;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryReportsForLetter.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReportsForLetter.ts"],"names":[],"mappings":"AAGA,qBAAa,qBAAqB;IAGhC,YAAY,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryReportsForLetter.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReportsForLetter.ts"],"names":[],"mappings":"AAGA,qBAAa,qBAAqB;IAGhC,YAAY,EAAE,MAAM,EAAE,CAAC;IAIvB,SAAS,EAAE,MAAM,CAAC;CACnB"}
|