@silexpert/core 1.3.158-8 → 1.3.158
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/Report.d.ts +0 -1
- package/dist/cjs/api/resources/Report.d.ts.map +1 -1
- package/dist/cjs/api/resources/Report.js +1 -15
- package/dist/cjs/api/resources/Report.js.map +1 -1
- package/dist/cjs/api/resources.d.ts +0 -2
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +0 -2
- package/dist/cjs/api/resources.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/Revenue.d.ts +0 -6
- package/dist/cjs/types/Enum/Revenue.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Revenue.js +0 -9
- package/dist/cjs/types/Enum/Revenue.js.map +1 -1
- package/dist/cjs/types/Interface/api/report/CreateReport.d.ts +1 -3
- package/dist/cjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/report/CreateReport.js +2 -12
- package/dist/cjs/types/Interface/api/report/CreateReport.js.map +1 -1
- package/dist/cjs/types/Interface/api/report/QueryReports.d.ts +1 -5
- package/dist/cjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/report/QueryReports.js +1 -21
- 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 +3 -4
- package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.js.map +1 -1
- package/dist/cjs/types/Interface/api/report/UpdateReport.d.ts +1 -0
- package/dist/cjs/types/Interface/api/report/UpdateReport.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/report/UpdateReport.js.map +1 -1
- package/dist/cjs/types/Interface/api/revenueMovement.d.ts +0 -34
- 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 +0 -4
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js +1 -23
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -1
- package/dist/cjs/types/Interface/models/IReport.d.ts +1 -10
- 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/index.d.ts +0 -3
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +0 -3
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/Report.d.ts +0 -1
- package/dist/mjs/api/resources/Report.d.ts.map +1 -1
- package/dist/mjs/api/resources/Report.js +1 -17
- package/dist/mjs/api/resources/Report.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +0 -2
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +0 -2
- package/dist/mjs/api/resources.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/Revenue.d.ts +0 -6
- package/dist/mjs/types/Enum/Revenue.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Revenue.js +0 -8
- package/dist/mjs/types/Enum/Revenue.js.map +1 -1
- package/dist/mjs/types/Interface/api/report/CreateReport.d.ts +1 -3
- package/dist/mjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/report/CreateReport.js +2 -14
- package/dist/mjs/types/Interface/api/report/CreateReport.js.map +1 -1
- package/dist/mjs/types/Interface/api/report/QueryReports.d.ts +1 -5
- package/dist/mjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/report/QueryReports.js +2 -24
- 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 +3 -5
- package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.js.map +1 -1
- package/dist/mjs/types/Interface/api/report/UpdateReport.d.ts +1 -0
- package/dist/mjs/types/Interface/api/report/UpdateReport.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/report/UpdateReport.js.map +1 -1
- package/dist/mjs/types/Interface/api/revenueMovement.d.ts +0 -34
- 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 +0 -4
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js +0 -23
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -1
- package/dist/mjs/types/Interface/models/IReport.d.ts +1 -10
- 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/index.d.ts +0 -3
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +0 -3
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Report.ts +1 -16
- package/ts/api/resources.ts +0 -2
- package/ts/types/Enum/ReportService.ts +4 -4
- package/ts/types/Enum/Revenue.ts +9 -18
- package/ts/types/Interface/api/report/CreateReport.ts +2 -10
- package/ts/types/Interface/api/report/QueryReports.ts +2 -18
- package/ts/types/Interface/api/report/QueryReportsForLetter.ts +2 -2
- package/ts/types/Interface/api/report/UpdateReport.ts +1 -0
- package/ts/types/Interface/api/revenueMovement.ts +0 -36
- package/ts/types/Interface/api/revenueSnapshotGenerate.ts +0 -19
- package/ts/types/Interface/models/IReport.ts +1 -10
- package/ts/types/index.ts +0 -3
- package/dist/cjs/api/resources/ReportHistory.d.ts +0 -13
- package/dist/cjs/api/resources/ReportHistory.d.ts.map +0 -1
- package/dist/cjs/api/resources/ReportHistory.js +0 -18
- package/dist/cjs/api/resources/ReportHistory.js.map +0 -1
- package/dist/cjs/types/Enum/ReportSource.d.ts +0 -13
- package/dist/cjs/types/Enum/ReportSource.d.ts.map +0 -1
- package/dist/cjs/types/Enum/ReportSource.js +0 -29
- package/dist/cjs/types/Enum/ReportSource.js.map +0 -1
- package/dist/cjs/types/Interface/api/reportHistory/Query.d.ts +0 -4
- package/dist/cjs/types/Interface/api/reportHistory/Query.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/reportHistory/Query.js +0 -23
- package/dist/cjs/types/Interface/api/reportHistory/Query.js.map +0 -1
- package/dist/cjs/types/Interface/models/IReportHistory.d.ts +0 -19
- package/dist/cjs/types/Interface/models/IReportHistory.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/IReportHistory.js +0 -3
- package/dist/cjs/types/Interface/models/IReportHistory.js.map +0 -1
- package/dist/mjs/api/resources/ReportHistory.d.ts +0 -13
- package/dist/mjs/api/resources/ReportHistory.d.ts.map +0 -1
- package/dist/mjs/api/resources/ReportHistory.js +0 -17
- package/dist/mjs/api/resources/ReportHistory.js.map +0 -1
- package/dist/mjs/types/Enum/ReportSource.d.ts +0 -13
- package/dist/mjs/types/Enum/ReportSource.d.ts.map +0 -1
- package/dist/mjs/types/Enum/ReportSource.js +0 -26
- package/dist/mjs/types/Enum/ReportSource.js.map +0 -1
- package/dist/mjs/types/Interface/api/reportHistory/Query.d.ts +0 -4
- package/dist/mjs/types/Interface/api/reportHistory/Query.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/reportHistory/Query.js +0 -20
- package/dist/mjs/types/Interface/api/reportHistory/Query.js.map +0 -1
- package/dist/mjs/types/Interface/models/IReportHistory.d.ts +0 -19
- package/dist/mjs/types/Interface/models/IReportHistory.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/IReportHistory.js +0 -2
- package/dist/mjs/types/Interface/models/IReportHistory.js.map +0 -1
- package/ts/api/resources/ReportHistory.ts +0 -18
- package/ts/types/Enum/ReportSource.ts +0 -30
- package/ts/types/Interface/api/reportHistory/Query.ts +0 -8
- package/ts/types/Interface/models/IReportHistory.ts +0 -22
|
@@ -48,23 +48,8 @@ export class Report extends Resource {
|
|
|
48
48
|
update(params: UpdateReport): Promise<[number, Report[]]> {
|
|
49
49
|
return this.axios.$put('/reports', params);
|
|
50
50
|
}
|
|
51
|
-
updateV2(id: number, data: Partial<IReport>): Promise<Report> {
|
|
52
|
-
return this.axios.$put(`/reports/${id}`, {
|
|
53
|
-
...data,
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
51
|
create(params: CreateReport): Promise<Report> {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
Object.entries(params).forEach(([key, value]) => {
|
|
60
|
-
if (value || value === false || value === 0) {
|
|
61
|
-
if (key === 'file') formData.append('file', value);
|
|
62
|
-
else if (key === 'metadata') formData.append('metadata', JSON.stringify(value));
|
|
63
|
-
else formData.append(key, `${value}`);
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
|
|
67
|
-
return this.axios.$post('/reports', formData, { headers: { 'Content-Type': 'multipart/form-data' } });
|
|
52
|
+
return this.axios.$post('/reports', params);
|
|
68
53
|
}
|
|
69
54
|
createExternal(params: CreateExternalReport): Promise<true> {
|
|
70
55
|
const formData = new FormData();
|
package/ts/api/resources.ts
CHANGED
|
@@ -186,7 +186,6 @@ import { DashboardLayout } from './resources/DashboardLayout';
|
|
|
186
186
|
import { DocumentRequest } from './resources/DocumentRequest';
|
|
187
187
|
import { BalanceSheetReport } from './resources/BalanceSheetReport';
|
|
188
188
|
import { Revenue } from './resources/Revenue';
|
|
189
|
-
import { ReportHistory } from './resources/ReportHistory';
|
|
190
189
|
|
|
191
190
|
export const resources = {
|
|
192
191
|
budgetInsight: BudgetInsight,
|
|
@@ -377,5 +376,4 @@ export const resources = {
|
|
|
377
376
|
documentRequest: DocumentRequest,
|
|
378
377
|
balanceSheetReport: BalanceSheetReport,
|
|
379
378
|
revenue: Revenue,
|
|
380
|
-
reportHistory: ReportHistory,
|
|
381
379
|
};
|
|
@@ -11,7 +11,7 @@ export enum ReportService {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
export const ReportServiceList: ListReport = [
|
|
14
|
-
|
|
14
|
+
{
|
|
15
15
|
id: ReportService.REFERENT_LITIGE,
|
|
16
16
|
label: 'Référent litige',
|
|
17
17
|
idRole: RoleDetail.REFERENT_LITIGE.id,
|
|
@@ -22,14 +22,14 @@ export const ReportServiceList: ListReport = [
|
|
|
22
22
|
label: 'Comptable',
|
|
23
23
|
idRole: RoleDetail.FRONT_OFFICE.id,
|
|
24
24
|
idTaskType: 16,
|
|
25
|
-
},
|
|
25
|
+
},
|
|
26
26
|
{
|
|
27
27
|
id: ReportService.CUSTOMER_SUCCESS,
|
|
28
28
|
label: 'Customer Success',
|
|
29
29
|
idRole: RoleDetail.CUSTOMER_SUCCESS.id,
|
|
30
30
|
idTaskType: 14,
|
|
31
31
|
},
|
|
32
|
-
|
|
32
|
+
{
|
|
33
33
|
id: ReportService.EXPERT_ACCOUNTANT,
|
|
34
34
|
label: 'Expert Comptable',
|
|
35
35
|
idRole: RoleDetail.EXPERT_ACCOUNTANT.id,
|
|
@@ -40,5 +40,5 @@ export const ReportServiceList: ListReport = [
|
|
|
40
40
|
label: 'Référent client',
|
|
41
41
|
idRole: RoleDetail.REFERENT_CLIENT.id,
|
|
42
42
|
idTaskType: 13,
|
|
43
|
-
},
|
|
43
|
+
},
|
|
44
44
|
];
|
package/ts/types/Enum/Revenue.ts
CHANGED
|
@@ -4,48 +4,39 @@
|
|
|
4
4
|
export enum RevenueMovementType {
|
|
5
5
|
/** Nouveau booking (nouvelle prestation souscrite) */
|
|
6
6
|
BOOKING = 1,
|
|
7
|
-
|
|
7
|
+
|
|
8
8
|
/** Churn (résiliation client) */
|
|
9
9
|
CHURN = 2,
|
|
10
|
-
|
|
10
|
+
|
|
11
11
|
/** Provision (revenu différé) */
|
|
12
12
|
PROVISION = 3,
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
/** Reconnaissance de revenu */
|
|
15
15
|
RECOGNITION = 4,
|
|
16
|
-
|
|
16
|
+
|
|
17
17
|
/** Upgrade (augmentation de prestation) */
|
|
18
18
|
UPGRADE = 5,
|
|
19
|
-
|
|
19
|
+
|
|
20
20
|
/** Downgrade (réduction de prestation) */
|
|
21
21
|
DOWNGRADE = 6,
|
|
22
|
-
|
|
22
|
+
|
|
23
23
|
/** Reactivation (client qui revient) */
|
|
24
24
|
REACTIVATION = 7,
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
/**
|
|
28
|
-
* Récupère le nom de l'enum à partir de sa valeur
|
|
29
|
-
* @param type - La valeur numérique du type de mouvement
|
|
30
|
-
* @returns Le nom de l'enum (ex: 'BOOKING', 'CHURN', etc.)
|
|
31
|
-
*/
|
|
32
|
-
export function getRevenueMovementTypeName(type: RevenueMovementType | number): string {
|
|
33
|
-
return RevenueMovementType[type] || 'UNKNOWN';
|
|
34
|
-
}
|
|
35
|
-
|
|
36
27
|
/**
|
|
37
28
|
* Type de périodicité pour les prestations
|
|
38
29
|
*/
|
|
39
30
|
export enum PrestationPeriodicity {
|
|
40
31
|
/** Mensuel */
|
|
41
32
|
MONTHLY = 1,
|
|
42
|
-
|
|
33
|
+
|
|
43
34
|
/** Trimestriel */
|
|
44
35
|
QUARTERLY = 2,
|
|
45
|
-
|
|
36
|
+
|
|
46
37
|
/** Annuel */
|
|
47
38
|
YEARLY = 3,
|
|
48
|
-
|
|
39
|
+
|
|
49
40
|
/** Paiement unique (non récurrent) */
|
|
50
41
|
ONE_TIME = 4,
|
|
51
42
|
}
|
|
@@ -4,14 +4,10 @@ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
|
4
4
|
import { TFile } from '../file/TFile';
|
|
5
5
|
|
|
6
6
|
export class CreateReport implements IReport {
|
|
7
|
-
@ApiProperty()
|
|
8
|
-
@IsInt()
|
|
9
|
-
idSource: number;
|
|
10
|
-
|
|
11
7
|
@ApiPropertyOptional()
|
|
12
8
|
@IsOptional()
|
|
13
|
-
@IsInt(
|
|
14
|
-
idReportType?: number
|
|
9
|
+
@IsInt()
|
|
10
|
+
idReportType?: number;
|
|
15
11
|
|
|
16
12
|
@ApiPropertyOptional()
|
|
17
13
|
@IsOptional()
|
|
@@ -72,10 +68,6 @@ export class CreateReport implements IReport {
|
|
|
72
68
|
@IsOptional()
|
|
73
69
|
letterDate?: Date;
|
|
74
70
|
|
|
75
|
-
@ApiPropertyOptional()
|
|
76
|
-
@IsOptional()
|
|
77
|
-
receivedAt?: Date;
|
|
78
|
-
|
|
79
71
|
@ApiPropertyOptional()
|
|
80
72
|
@IsOptional()
|
|
81
73
|
receivedFile?: TFile;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { IsBoolean,
|
|
1
|
+
import { IsBoolean, IsOptional } from 'class-validator';
|
|
2
2
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
4
|
|
|
5
5
|
export class QueryReports {
|
|
6
6
|
@ApiPropertyOptional()
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
@ApiPropertyOptional()
|
|
10
|
-
idReportType?: number[];
|
|
7
|
+
idReportType?: number;
|
|
11
8
|
|
|
12
9
|
@ApiPropertyOptional()
|
|
13
10
|
idSociety?: number;
|
|
@@ -15,9 +12,6 @@ export class QueryReports {
|
|
|
15
12
|
@ApiPropertyOptional()
|
|
16
13
|
idService?: number;
|
|
17
14
|
|
|
18
|
-
@ApiPropertyOptional()
|
|
19
|
-
idUserConcerned?: number;
|
|
20
|
-
|
|
21
15
|
@ApiPropertyOptional()
|
|
22
16
|
idServiceConcerned?: number;
|
|
23
17
|
|
|
@@ -41,14 +35,4 @@ export class QueryReports {
|
|
|
41
35
|
@IsBoolean()
|
|
42
36
|
@ToBoolean()
|
|
43
37
|
onlyClient?: boolean;
|
|
44
|
-
|
|
45
|
-
@ApiPropertyOptional()
|
|
46
|
-
@IsOptional()
|
|
47
|
-
@IsDateString()
|
|
48
|
-
declare startDate?: string;
|
|
49
|
-
|
|
50
|
-
@ApiPropertyOptional()
|
|
51
|
-
@IsOptional()
|
|
52
|
-
@IsDateString()
|
|
53
|
-
declare endDate?: string;
|
|
54
38
|
}
|
|
@@ -75,39 +75,3 @@ export interface IGenerateSnapshotRequest {
|
|
|
75
75
|
export interface IGenerateAllSnapshotsRequest {
|
|
76
76
|
date?: string;
|
|
77
77
|
}
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* DTO pour gérer la rétroactivité des mouvements de revenu
|
|
81
|
-
*/
|
|
82
|
-
export interface IManageRetroactivityRequest {
|
|
83
|
-
idSociety: number;
|
|
84
|
-
idExercice?: number;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Réponse pour la gestion de la rétroactivité
|
|
89
|
-
*/
|
|
90
|
-
export interface IManageRetroactivityResponse {
|
|
91
|
-
idSociety: number;
|
|
92
|
-
idExercice: number;
|
|
93
|
-
exerciceStartDate: Date;
|
|
94
|
-
exerciceEndDate: Date;
|
|
95
|
-
movementsCreated: {
|
|
96
|
-
bookings: number;
|
|
97
|
-
churns: number;
|
|
98
|
-
recognitions: number;
|
|
99
|
-
provisions: number;
|
|
100
|
-
mothballingBookings: number;
|
|
101
|
-
};
|
|
102
|
-
prestationsProcessed: number;
|
|
103
|
-
monthsProcessed: number;
|
|
104
|
-
details: {
|
|
105
|
-
type: string;
|
|
106
|
-
idPrestation?: number;
|
|
107
|
-
prestationName?: string;
|
|
108
|
-
date: Date;
|
|
109
|
-
amount: number;
|
|
110
|
-
mrr: number;
|
|
111
|
-
arr: number;
|
|
112
|
-
}[];
|
|
113
|
-
}
|
|
@@ -40,22 +40,3 @@ export class GenerateAllSnapshots {
|
|
|
40
40
|
@IsString()
|
|
41
41
|
date?: string;
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
export class ManageRetroactivity {
|
|
45
|
-
@ApiProperty({
|
|
46
|
-
required: true,
|
|
47
|
-
description: 'ID de la société',
|
|
48
|
-
example: 60170,
|
|
49
|
-
})
|
|
50
|
-
@IsNumber()
|
|
51
|
-
idSociety: number;
|
|
52
|
-
|
|
53
|
-
@ApiProperty({
|
|
54
|
-
required: false,
|
|
55
|
-
description: "ID de l'exercice (si non fourni, utilise l'exercice courant)",
|
|
56
|
-
example: 123456,
|
|
57
|
-
})
|
|
58
|
-
@IsOptional()
|
|
59
|
-
@IsNumber()
|
|
60
|
-
idExercice?: number;
|
|
61
|
-
}
|
|
@@ -4,23 +4,18 @@ import { IComment } from './IComment';
|
|
|
4
4
|
import { ICustomerAcceptance } from './ICustomerAcceptance';
|
|
5
5
|
import { IFile } from './IFile';
|
|
6
6
|
import { ILetter } from './ILetter';
|
|
7
|
-
import { IReportHistory } from './IReportHistory';
|
|
8
7
|
import { IReportMessage } from './IReportMessage';
|
|
9
8
|
import { ISociety } from './ISociety';
|
|
10
|
-
import { IUser } from './IUser';
|
|
11
9
|
|
|
12
10
|
// report
|
|
13
11
|
export interface IReport {
|
|
14
12
|
id?: number;
|
|
15
13
|
idSociety?: number | null;
|
|
16
|
-
|
|
17
|
-
idReportType?: ReportTypeEnum[] | null;
|
|
14
|
+
idReportType?: ReportTypeEnum | null;
|
|
18
15
|
idCalendarEvent?: number;
|
|
19
|
-
idUserConcerned?: number | null;
|
|
20
16
|
idServiceConcerned?: number | null;
|
|
21
17
|
idService?: number | null;
|
|
22
18
|
idFile?: number | null;
|
|
23
|
-
fileLink?: string;
|
|
24
19
|
idLetterType?: number | null;
|
|
25
20
|
declareSoupcons?: boolean | null;
|
|
26
21
|
token?: string | null;
|
|
@@ -32,19 +27,15 @@ export interface IReport {
|
|
|
32
27
|
ressenti?: number | null;
|
|
33
28
|
action?: number | null;
|
|
34
29
|
processed?: boolean | null;
|
|
35
|
-
receivedAt?: Date | null;
|
|
36
30
|
createdAt?: Date | null;
|
|
37
31
|
updatedAt?: Date | null;
|
|
38
|
-
deletedAt?: Date | null;
|
|
39
32
|
|
|
40
33
|
// Associations
|
|
41
34
|
society?: ISociety;
|
|
42
35
|
file?: IFile;
|
|
43
36
|
calendarEvent?: ICalendarEvent;
|
|
44
|
-
userConcerned?: IUser;
|
|
45
37
|
comments?: IComment[];
|
|
46
38
|
messages?: IReportMessage[];
|
|
47
39
|
customerAcceptance?: ICustomerAcceptance;
|
|
48
40
|
letter?: ILetter;
|
|
49
|
-
history?: IReportHistory[];
|
|
50
41
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -146,7 +146,6 @@ export * from './Interface/models/IRegisterCategory';
|
|
|
146
146
|
export * from './Interface/models/IRegulate';
|
|
147
147
|
export * from './Interface/models/IRegulation';
|
|
148
148
|
export * from './Interface/models/IReport';
|
|
149
|
-
export * from './Interface/models/IReportHistory';
|
|
150
149
|
export * from './Interface/models/IReportMessage';
|
|
151
150
|
export * from './Interface/models/IRole';
|
|
152
151
|
export * from './Interface/models/IRoleUser';
|
|
@@ -387,7 +386,6 @@ export * from './Enum/SurveyType';
|
|
|
387
386
|
export * from './Enum/SurveyTypeDatas';
|
|
388
387
|
export * from './Enum/PaymentMethod';
|
|
389
388
|
export * from './Enum/ReportType';
|
|
390
|
-
export * from './Enum/ReportSource';
|
|
391
389
|
export * from './Enum/IssueType';
|
|
392
390
|
export * from './Enum/AdjustmentType';
|
|
393
391
|
export * from './Enum/ReportState';
|
|
@@ -792,7 +790,6 @@ export * from './Interface/api/report/DeleteReport';
|
|
|
792
790
|
export * from './Interface/api/report/QueryReports';
|
|
793
791
|
export * from './Interface/api/report/QueryReportsStats';
|
|
794
792
|
export * from './Interface/api/report/QueryReportsForLetter';
|
|
795
|
-
export * from './Interface/api/reportHistory/Query';
|
|
796
793
|
export * from './Interface/api/reportMessage/Query';
|
|
797
794
|
export * from './Interface/api/letter/CreateLetter';
|
|
798
795
|
export * from './Interface/api/mailInvoice/CreateInvoiceMail';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IReportHistory, QueryAllReportHistory } from '../../types';
|
|
2
|
-
import { Resource } from '../Resource';
|
|
3
|
-
export declare class ReportHistory extends Resource {
|
|
4
|
-
/**
|
|
5
|
-
* Report Message Get All
|
|
6
|
-
* @param { QueryAllReportHistory } params
|
|
7
|
-
* @param { CancelToken } cancelToken
|
|
8
|
-
* @param { AbortSignal } signal
|
|
9
|
-
* @returns { Promise<IReportHistory[]> }
|
|
10
|
-
*/
|
|
11
|
-
getAll(params: QueryAllReportHistory, signal?: AbortSignal): Promise<IReportHistory[]>;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=ReportHistory.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReportHistory.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/ReportHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,aAAc,SAAQ,QAAQ;IACzC;;;;;;OAMG;IACH,MAAM,CAAC,MAAM,EAAE,qBAAqB,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;CAMvF"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ReportHistory = void 0;
|
|
4
|
-
const Resource_1 = require("../Resource");
|
|
5
|
-
class ReportHistory extends Resource_1.Resource {
|
|
6
|
-
/**
|
|
7
|
-
* Report Message Get All
|
|
8
|
-
* @param { QueryAllReportHistory } params
|
|
9
|
-
* @param { CancelToken } cancelToken
|
|
10
|
-
* @param { AbortSignal } signal
|
|
11
|
-
* @returns { Promise<IReportHistory[]> }
|
|
12
|
-
*/
|
|
13
|
-
getAll(params, signal) {
|
|
14
|
-
return this.axios.$get('/report-history/all', Object.assign({ params }, (signal ? { signal } : {})));
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
exports.ReportHistory = ReportHistory;
|
|
18
|
-
//# sourceMappingURL=ReportHistory.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReportHistory.js","sourceRoot":"","sources":["../../../../ts/api/resources/ReportHistory.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAEvC,MAAa,aAAc,SAAQ,mBAAQ;IACzC;;;;;;OAMG;IACH,MAAM,CAAC,MAA6B,EAAE,MAAoB;QACxD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,qBAAqB,kBAC1C,MAAM,IACH,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAC7B,CAAC;IACL,CAAC;CACF;AAdD,sCAcC","sourcesContent":["import { IReportHistory, QueryAllReportHistory } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class ReportHistory extends Resource {\n /**\n * Report Message Get All\n * @param { QueryAllReportHistory } params\n * @param { CancelToken } cancelToken\n * @param { AbortSignal } signal\n * @returns { Promise<IReportHistory[]> }\n */\n getAll(params: QueryAllReportHistory, signal?: AbortSignal): Promise<IReportHistory[]> {\n return this.axios.$get('/report-history/all', {\n params,\n ...(signal ? { signal } : {}),\n });\n }\n}\n"]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare enum ReportSource {
|
|
2
|
-
LETTER = 1,
|
|
3
|
-
MAIL = 2,
|
|
4
|
-
INTERNAL = 3,
|
|
5
|
-
CLIENT = 4
|
|
6
|
-
}
|
|
7
|
-
interface ReportSourceInterface {
|
|
8
|
-
id: ReportSource;
|
|
9
|
-
name: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const ReportSourceDetails: ReportSourceInterface[];
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=ReportSource.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ReportSourceDetails = exports.ReportSource = void 0;
|
|
4
|
-
var ReportSource;
|
|
5
|
-
(function (ReportSource) {
|
|
6
|
-
ReportSource[ReportSource["LETTER"] = 1] = "LETTER";
|
|
7
|
-
ReportSource[ReportSource["MAIL"] = 2] = "MAIL";
|
|
8
|
-
ReportSource[ReportSource["INTERNAL"] = 3] = "INTERNAL";
|
|
9
|
-
ReportSource[ReportSource["CLIENT"] = 4] = "CLIENT";
|
|
10
|
-
})(ReportSource || (exports.ReportSource = ReportSource = {}));
|
|
11
|
-
exports.ReportSourceDetails = [
|
|
12
|
-
{
|
|
13
|
-
id: ReportSource.LETTER,
|
|
14
|
-
name: 'Courrier',
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
id: ReportSource.MAIL,
|
|
18
|
-
name: 'Mail',
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
id: ReportSource.INTERNAL,
|
|
22
|
-
name: 'Interne',
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
id: ReportSource.CLIENT,
|
|
26
|
-
name: 'Client',
|
|
27
|
-
},
|
|
28
|
-
];
|
|
29
|
-
//# sourceMappingURL=ReportSource.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/reportHistory/Query.ts"],"names":[],"mappings":"AAGA,qBAAa,qBAAqB;IAGhC,QAAQ,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -1,23 +0,0 @@
|
|
|
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.QueryAllReportHistory = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const utils_1 = require("../../../../utils");
|
|
15
|
-
class QueryAllReportHistory {
|
|
16
|
-
}
|
|
17
|
-
exports.QueryAllReportHistory = QueryAllReportHistory;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, utils_1.ApiProperty)(),
|
|
20
|
-
(0, class_validator_1.IsInt)(),
|
|
21
|
-
__metadata("design:type", Number)
|
|
22
|
-
], QueryAllReportHistory.prototype, "idReport", void 0);
|
|
23
|
-
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/reportHistory/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwC;AACxC,6CAAgD;AAEhD,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;uDACS","sourcesContent":["import { IsInt } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class QueryAllReportHistory {\n @ApiProperty()\n @IsInt()\n idReport: number;\n}\n"]}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ReportTypeEnum } from '../../Enum/ReportType';
|
|
2
|
-
import { IReport } from './IReport';
|
|
3
|
-
import { IUser } from './IUser';
|
|
4
|
-
export interface IReportHistory {
|
|
5
|
-
id?: number;
|
|
6
|
-
idSource?: number | null;
|
|
7
|
-
idReportType?: ReportTypeEnum[] | null;
|
|
8
|
-
state?: number | null;
|
|
9
|
-
idUserConcerned?: number | null;
|
|
10
|
-
idServiceConcerned?: number | null;
|
|
11
|
-
idReport?: number;
|
|
12
|
-
idUser?: number | null;
|
|
13
|
-
createdAt?: Date | null;
|
|
14
|
-
updatedAt?: Date | null;
|
|
15
|
-
userConcerned?: IUser;
|
|
16
|
-
report?: IReport;
|
|
17
|
-
user?: IUser;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=IReportHistory.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IReportHistory.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IReportHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC;IACvC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,KAAK,CAAC;CACd"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IReportHistory.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IReportHistory.ts"],"names":[],"mappings":"","sourcesContent":["import { ReportTypeEnum } from '../../Enum/ReportType';\nimport { IReport } from './IReport';\nimport { IUser } from './IUser';\n\n// reportHistory\nexport interface IReportHistory {\n id?: number;\n idSource?: number | null;\n idReportType?: ReportTypeEnum[] | null;\n state?: number | null;\n idUserConcerned?: number | null;\n idServiceConcerned?: number | null;\n idReport?: number;\n idUser?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n userConcerned?: IUser;\n report?: IReport;\n user?: IUser;\n}\n"]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IReportHistory, QueryAllReportHistory } from '../../types';
|
|
2
|
-
import { Resource } from '../Resource';
|
|
3
|
-
export declare class ReportHistory extends Resource {
|
|
4
|
-
/**
|
|
5
|
-
* Report Message Get All
|
|
6
|
-
* @param { QueryAllReportHistory } params
|
|
7
|
-
* @param { CancelToken } cancelToken
|
|
8
|
-
* @param { AbortSignal } signal
|
|
9
|
-
* @returns { Promise<IReportHistory[]> }
|
|
10
|
-
*/
|
|
11
|
-
getAll(params: QueryAllReportHistory, signal?: AbortSignal): Promise<IReportHistory[]>;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=ReportHistory.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReportHistory.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/ReportHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,aAAc,SAAQ,QAAQ;IACzC;;;;;;OAMG;IACH,MAAM,CAAC,MAAM,EAAE,qBAAqB,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;CAMvF"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Resource } from '../Resource';
|
|
2
|
-
export class ReportHistory extends Resource {
|
|
3
|
-
/**
|
|
4
|
-
* Report Message Get All
|
|
5
|
-
* @param { QueryAllReportHistory } params
|
|
6
|
-
* @param { CancelToken } cancelToken
|
|
7
|
-
* @param { AbortSignal } signal
|
|
8
|
-
* @returns { Promise<IReportHistory[]> }
|
|
9
|
-
*/
|
|
10
|
-
getAll(params, signal) {
|
|
11
|
-
return this.axios.$get('/report-history/all', {
|
|
12
|
-
params,
|
|
13
|
-
...(signal ? { signal } : {}),
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=ReportHistory.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReportHistory.js","sourceRoot":"","sources":["../../../../ts/api/resources/ReportHistory.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,aAAc,SAAQ,QAAQ;IACzC;;;;;;OAMG;IACH,MAAM,CAAC,MAA6B,EAAE,MAAoB;QACxD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,qBAAqB,EAAE;YAC5C,MAAM;YACN,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SAC9B,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { IReportHistory, QueryAllReportHistory } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class ReportHistory extends Resource {\n /**\n * Report Message Get All\n * @param { QueryAllReportHistory } params\n * @param { CancelToken } cancelToken\n * @param { AbortSignal } signal\n * @returns { Promise<IReportHistory[]> }\n */\n getAll(params: QueryAllReportHistory, signal?: AbortSignal): Promise<IReportHistory[]> {\n return this.axios.$get('/report-history/all', {\n params,\n ...(signal ? { signal } : {}),\n });\n }\n}\n"]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare enum ReportSource {
|
|
2
|
-
LETTER = 1,
|
|
3
|
-
MAIL = 2,
|
|
4
|
-
INTERNAL = 3,
|
|
5
|
-
CLIENT = 4
|
|
6
|
-
}
|
|
7
|
-
interface ReportSourceInterface {
|
|
8
|
-
id: ReportSource;
|
|
9
|
-
name: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const ReportSourceDetails: ReportSourceInterface[];
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=ReportSource.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export var ReportSource;
|
|
2
|
-
(function (ReportSource) {
|
|
3
|
-
ReportSource[ReportSource["LETTER"] = 1] = "LETTER";
|
|
4
|
-
ReportSource[ReportSource["MAIL"] = 2] = "MAIL";
|
|
5
|
-
ReportSource[ReportSource["INTERNAL"] = 3] = "INTERNAL";
|
|
6
|
-
ReportSource[ReportSource["CLIENT"] = 4] = "CLIENT";
|
|
7
|
-
})(ReportSource || (ReportSource = {}));
|
|
8
|
-
export const ReportSourceDetails = [
|
|
9
|
-
{
|
|
10
|
-
id: ReportSource.LETTER,
|
|
11
|
-
name: 'Courrier',
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
id: ReportSource.MAIL,
|
|
15
|
-
name: 'Mail',
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
id: ReportSource.INTERNAL,
|
|
19
|
-
name: 'Interne',
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
id: ReportSource.CLIENT,
|
|
23
|
-
name: 'Client',
|
|
24
|
-
},
|
|
25
|
-
];
|
|
26
|
-
//# sourceMappingURL=ReportSource.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReportSource.js","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportSource.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,mDAAU,CAAA;IACV,+CAAQ,CAAA;IACR,uDAAY,CAAA;IACZ,mDAAU,CAAA;AACZ,CAAC,EALW,YAAY,KAAZ,YAAY,QAKvB;AAOD,MAAM,CAAC,MAAM,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"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/reportHistory/Query.ts"],"names":[],"mappings":"AAGA,qBAAa,qBAAqB;IAGhC,QAAQ,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -1,20 +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 { IsInt } from 'class-validator';
|
|
11
|
-
import { ApiProperty } from '../../../../utils';
|
|
12
|
-
export class QueryAllReportHistory {
|
|
13
|
-
idReport;
|
|
14
|
-
}
|
|
15
|
-
__decorate([
|
|
16
|
-
ApiProperty(),
|
|
17
|
-
IsInt(),
|
|
18
|
-
__metadata("design:type", Number)
|
|
19
|
-
], QueryAllReportHistory.prototype, "idReport", void 0);
|
|
20
|
-
//# sourceMappingURL=Query.js.map
|