@silexpert/core 1.2.35 → 1.2.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/dist/cjs/api/resources/Report.d.ts +2 -1
  2. package/dist/cjs/api/resources/Report.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Report.js +12 -0
  4. package/dist/cjs/api/resources/Report.js.map +1 -1
  5. package/dist/cjs/types/Enum/IssueType.d.ts +53 -0
  6. package/dist/cjs/types/Enum/IssueType.d.ts.map +1 -0
  7. package/dist/cjs/types/Enum/IssueType.js +72 -0
  8. package/dist/cjs/types/Enum/IssueType.js.map +1 -0
  9. package/dist/cjs/types/Enum/ReportType.d.ts +35 -76
  10. package/dist/cjs/types/Enum/ReportType.d.ts.map +1 -1
  11. package/dist/cjs/types/Enum/ReportType.js +72 -20
  12. package/dist/cjs/types/Enum/ReportType.js.map +1 -1
  13. package/dist/cjs/types/Interface/api/report/CreateReport.d.ts +2 -0
  14. package/dist/cjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  15. package/dist/cjs/types/Interface/api/report/CreateReport.js +35 -0
  16. package/dist/cjs/types/Interface/api/report/CreateReport.js.map +1 -1
  17. package/dist/cjs/types/Interface/api/report/ExternalReport.d.ts +9 -0
  18. package/dist/cjs/types/Interface/api/report/ExternalReport.d.ts.map +1 -0
  19. package/dist/cjs/types/Interface/api/report/ExternalReport.js +48 -0
  20. package/dist/cjs/types/Interface/api/report/ExternalReport.js.map +1 -0
  21. package/dist/cjs/types/Interface/models/IFile.d.ts +2 -1
  22. package/dist/cjs/types/Interface/models/IFile.d.ts.map +1 -1
  23. package/dist/cjs/types/Interface/models/IFile.js.map +1 -1
  24. package/dist/cjs/types/Interface/models/IReport.d.ts +13 -3
  25. package/dist/cjs/types/Interface/models/IReport.d.ts.map +1 -1
  26. package/dist/cjs/types/Interface/models/IReport.js.map +1 -1
  27. package/dist/cjs/types/Interface/models/ITicketSupport.d.ts +27 -2
  28. package/dist/cjs/types/Interface/models/ITicketSupport.d.ts.map +1 -1
  29. package/dist/cjs/types/Interface/models/ITicketSupport.js.map +1 -1
  30. package/dist/cjs/types/index.d.ts +2 -0
  31. package/dist/cjs/types/index.d.ts.map +1 -1
  32. package/dist/cjs/types/index.js +2 -0
  33. package/dist/cjs/types/index.js.map +1 -1
  34. package/dist/mjs/api/resources/Report.d.ts +2 -1
  35. package/dist/mjs/api/resources/Report.d.ts.map +1 -1
  36. package/dist/mjs/api/resources/Report.js +12 -0
  37. package/dist/mjs/api/resources/Report.js.map +1 -1
  38. package/dist/mjs/types/Enum/IssueType.d.ts +53 -0
  39. package/dist/mjs/types/Enum/IssueType.d.ts.map +1 -0
  40. package/dist/mjs/types/Enum/IssueType.js +69 -0
  41. package/dist/mjs/types/Enum/IssueType.js.map +1 -0
  42. package/dist/mjs/types/Enum/ReportType.d.ts +35 -76
  43. package/dist/mjs/types/Enum/ReportType.d.ts.map +1 -1
  44. package/dist/mjs/types/Enum/ReportType.js +71 -19
  45. package/dist/mjs/types/Enum/ReportType.js.map +1 -1
  46. package/dist/mjs/types/Interface/api/report/CreateReport.d.ts +2 -0
  47. package/dist/mjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  48. package/dist/mjs/types/Interface/api/report/CreateReport.js +37 -0
  49. package/dist/mjs/types/Interface/api/report/CreateReport.js.map +1 -1
  50. package/dist/mjs/types/Interface/api/report/ExternalReport.d.ts +9 -0
  51. package/dist/mjs/types/Interface/api/report/ExternalReport.d.ts.map +1 -0
  52. package/dist/mjs/types/Interface/api/report/ExternalReport.js +49 -0
  53. package/dist/mjs/types/Interface/api/report/ExternalReport.js.map +1 -0
  54. package/dist/mjs/types/Interface/models/IFile.d.ts +2 -1
  55. package/dist/mjs/types/Interface/models/IFile.d.ts.map +1 -1
  56. package/dist/mjs/types/Interface/models/IFile.js.map +1 -1
  57. package/dist/mjs/types/Interface/models/IReport.d.ts +13 -3
  58. package/dist/mjs/types/Interface/models/IReport.d.ts.map +1 -1
  59. package/dist/mjs/types/Interface/models/IReport.js.map +1 -1
  60. package/dist/mjs/types/Interface/models/ITicketSupport.d.ts +27 -2
  61. package/dist/mjs/types/Interface/models/ITicketSupport.d.ts.map +1 -1
  62. package/dist/mjs/types/Interface/models/ITicketSupport.js.map +1 -1
  63. package/dist/mjs/types/index.d.ts +2 -0
  64. package/dist/mjs/types/index.d.ts.map +1 -1
  65. package/dist/mjs/types/index.js +2 -0
  66. package/dist/mjs/types/index.js.map +1 -1
  67. package/package.json +1 -1
  68. package/ts/api/resources/Report.ts +16 -1
  69. package/ts/types/Enum/IssueType.ts +85 -0
  70. package/ts/types/Enum/ReportType.ts +86 -21
  71. package/ts/types/Interface/api/report/CreateReport.ts +48 -15
  72. package/ts/types/Interface/api/report/ExternalReport.ts +30 -0
  73. package/ts/types/Interface/models/IFile.ts +2 -1
  74. package/ts/types/Interface/models/IReport.ts +13 -3
  75. package/ts/types/Interface/models/ITicketSupport.ts +31 -2
  76. package/ts/types/index.ts +2 -0
@@ -0,0 +1,85 @@
1
+ /**
2
+ * Types of issues
3
+ */
4
+ export enum IssueTypeEnum {
5
+ CONNECTIONS = 1,
6
+ SYNCHRONIZATIONS = 2,
7
+ ANNOTATIONS = 3,
8
+ DOCUMENT_VISIBILITY = 4,
9
+ DOCUMENT_UPLOAD_ISSUE = 5,
10
+ DATA_LOSS = 6,
11
+ CONNECTOR_ISSUE = 7,
12
+ OTHER = 8
13
+ }
14
+
15
+ export interface IssueType {
16
+ id: IssueTypeEnum;
17
+ name: string;
18
+ }
19
+
20
+ export const issueTypes: IssueType[] = [
21
+ { id: IssueTypeEnum.CONNECTIONS, name: 'Connexions' },
22
+ { id: IssueTypeEnum.SYNCHRONIZATIONS, name: 'Synchronisations' },
23
+ { id: IssueTypeEnum.ANNOTATIONS, name: 'Annotations' },
24
+ { id: IssueTypeEnum.DOCUMENT_VISIBILITY, name: 'Visibilité de documents' },
25
+ { id: IssueTypeEnum.DOCUMENT_UPLOAD_ISSUE, name: 'Pb dépôt de document' },
26
+ { id: IssueTypeEnum.DATA_LOSS, name: 'Pertes de données' },
27
+ { id: IssueTypeEnum.CONNECTOR_ISSUE, name: 'Pb de connecteurs' },
28
+ { id: IssueTypeEnum.OTHER, name: 'Autre' }
29
+ ] as const;
30
+
31
+ /**
32
+ * Status of an issue
33
+ */
34
+ export enum IssueStatusEnum {
35
+ WAITING_DEV = 1,
36
+ DONE = 2,
37
+ NOT_RESOLVED = 3,
38
+ WAITING_POWENS = 6,
39
+ WAITING_CLIENT_RETURN = 7,
40
+ RESOLVED = 8,
41
+ WAITING_CS = 12,
42
+ WAITING_SUPPORT = 13,
43
+ IMPROVEMENT_TO_PLAN = 14,
44
+ IMPROVEMENT_REFUSED = 15
45
+ }
46
+
47
+ export interface IssueStatus {
48
+ id: IssueStatusEnum;
49
+ name: string;
50
+ }
51
+
52
+ export const statesTicketsSupport: IssueStatus[] = [
53
+ { id: IssueStatusEnum.WAITING_DEV, name: 'Attente dev' },
54
+ { id: IssueStatusEnum.DONE, name: 'Terminé' },
55
+ { id: IssueStatusEnum.NOT_RESOLVED, name: 'Non-résolu' },
56
+ { id: IssueStatusEnum.WAITING_POWENS, name: 'Attente Powens' },
57
+ { id: IssueStatusEnum.WAITING_CLIENT_RETURN, name: 'Attente retour client' },
58
+ { id: IssueStatusEnum.RESOLVED, name: 'Résolu' },
59
+ { id: IssueStatusEnum.WAITING_CS, name: 'Attente CS' },
60
+ { id: IssueStatusEnum.WAITING_SUPPORT, name: 'Attente Support' },
61
+ { id: IssueStatusEnum.IMPROVEMENT_TO_PLAN, name: 'Amélioration à planifier' },
62
+ { id: IssueStatusEnum.IMPROVEMENT_REFUSED, name: 'Amélioration refusée' }
63
+ ];
64
+
65
+ /**
66
+ * Tool used to report an issue
67
+ */
68
+ export enum IssueToolEnum {
69
+ APP = 1,
70
+ ERP = 2,
71
+ VPN = 3,
72
+ MOBILE = 5,
73
+ }
74
+
75
+ export interface IssueTool {
76
+ id: IssueToolEnum;
77
+ name: string;
78
+ }
79
+
80
+ export const issueTools: IssueTool[] = [
81
+ { id: IssueToolEnum.APP, name: 'App Client' },
82
+ { id: IssueToolEnum.ERP, name: 'App Interne' },
83
+ { id: IssueToolEnum.VPN, name: 'VPN' },
84
+ { id: IssueToolEnum.MOBILE, name: 'App mobile' }
85
+ ];
@@ -1,78 +1,143 @@
1
- export const ReportType = {
1
+ import { IssueType, IssueTypeEnum, issueTypes } from './IssueType';
2
+
3
+ export enum ReportTypeEnum {
4
+ LETTER = 1,
5
+ FRAUD = 2,
6
+ ATTITUDE = 3,
7
+ BLOCKED = 4,
8
+ NO_RESPONSE = 5,
9
+ NEGATIVE_OPINION = 6,
10
+ LATE_ANSWER = 7,
11
+ UNHAPPY_CUSTOMER = 8,
12
+ FISCAL_CONTROL = 9,
13
+ REDRESSEMENT = 10,
14
+ BALANCE_SHEET_DELAYS = 11,
15
+ OTHER_DECLARATION_DELAYS = 12,
16
+ CUSTOMER_PLATFORM = 13,
17
+ REVALUATION = 14,
18
+ INVOICING_AND_FEES = 15,
19
+ APPOINTMENT = 16,
20
+ CLAIM_MAIL = 17,
21
+ ACCOUNTANT_CHANGE = 18,
22
+ VOLONTARY_UNPAID = 19,
23
+ LACK_OF_COMMUNICATION = 20,
24
+ LACK_OF_ADVICE = 21,
25
+ }
26
+
27
+ interface ReportTypeInterface {
28
+ id: ReportTypeEnum;
29
+ name: string;
30
+ }
31
+
32
+ export const ReportType: { [key: string]: ReportTypeInterface } = {
2
33
  LETTER: {
3
- id: 1,
34
+ id: ReportTypeEnum.LETTER,
4
35
  name: 'Lettre à l\'ordre',
5
36
  },
6
37
  FRAUD: {
7
- id: 2,
38
+ id: ReportTypeEnum.FRAUD,
8
39
  name: 'Suspicion de fraude',
9
40
  },
10
41
  ATTITUDE: {
11
- id: 3,
42
+ id: ReportTypeEnum.ATTITUDE,
12
43
  name: 'Attitude déplacée',
13
44
  },
14
45
  BLOCKED: {
15
- id: 4,
46
+ id: ReportTypeEnum.BLOCKED,
16
47
  name: 'Dossier bloqué',
17
48
  },
18
49
  NO_RESPONSE: {
19
- id: 5,
50
+ id: ReportTypeEnum.NO_RESPONSE,
20
51
  name: 'Pas de réponse',
21
52
  },
22
53
  NEGATIVE_OPINION: {
23
- id: 6,
54
+ id: ReportTypeEnum.NEGATIVE_OPINION,
24
55
  name: 'Avis négatif',
25
56
  },
26
57
  LATE_ANSWER: {
27
- id: 7,
58
+ id: ReportTypeEnum.LATE_ANSWER,
28
59
  name: 'Réponse de + de 3 mois',
29
60
  },
30
61
  UNHAPPY_CUSTOMER: {
31
- id: 8,
62
+ id: ReportTypeEnum.UNHAPPY_CUSTOMER,
32
63
  name: 'Client mécontent',
33
64
  },
34
65
  FISCAL_CONTROL: {
35
- id: 9,
66
+ id: ReportTypeEnum.FISCAL_CONTROL,
36
67
  name: 'Contrôle fiscal en cours',
37
68
  },
38
69
  REDRESSEMENT: {
39
- id: 10,
70
+ id: ReportTypeEnum.REDRESSEMENT,
40
71
  name: 'Redressement',
41
72
  },
42
73
  BALANCE_SHEET_DELAYS: {
43
- id: 11,
74
+ id: ReportTypeEnum.BALANCE_SHEET_DELAYS,
44
75
  name: 'Retard de production bilan',
45
76
  },
46
77
  OTHER_DECLARATION_DELAYS: {
47
- id: 12,
78
+ id: ReportTypeEnum.OTHER_DECLARATION_DELAYS,
48
79
  name: 'Retard de production autre déclaration',
49
80
  },
50
81
  CUSTOMER_PLATFORM: {
51
- id: 13,
82
+ id: ReportTypeEnum.CUSTOMER_PLATFORM,
52
83
  name: 'Plateforme client',
53
84
  },
54
85
  REVALUATION: {
55
- id: 14,
86
+ id: ReportTypeEnum.REVALUATION,
56
87
  name: 'Revalorisation',
57
88
  },
58
89
  INVOICING_AND_FEES: {
59
- id: 15,
90
+ id: ReportTypeEnum.INVOICING_AND_FEES,
60
91
  name: 'Facturation et honoraire',
61
92
  },
62
93
  APPOINTMENT: {
63
- id: 16,
94
+ id: ReportTypeEnum.APPOINTMENT,
64
95
  name: 'Rendez-vous non honorés',
65
96
  },
66
97
  CLAIM_MAIL: {
67
- id: 17,
98
+ id: ReportTypeEnum.CLAIM_MAIL,
68
99
  name: 'Réclamation courrier reçu',
69
100
  },
70
101
  ACCOUNTANT_CHANGE: {
71
- id: 18,
102
+ id: ReportTypeEnum.ACCOUNTANT_CHANGE,
72
103
  name: 'Demande de changement de comptable',
73
104
  },
74
105
  VOLONTARY_UNPAID: {
75
- id: 19,
106
+ id: ReportTypeEnum.VOLONTARY_UNPAID,
76
107
  name: 'Impayé volontaire',
77
108
  },
78
- };
109
+ LACK_OF_COMMUNICATION: {
110
+ id: ReportTypeEnum.LACK_OF_COMMUNICATION,
111
+ name: 'Manque de communication',
112
+ },
113
+ LACK_OF_ADVICE: {
114
+ id: ReportTypeEnum.LACK_OF_ADVICE,
115
+ name: 'Manque de conseil',
116
+ },
117
+ } as const;
118
+
119
+ export interface ReportExternalCategoryInterface {
120
+ label: string
121
+ options: ReportTypeInterface[] | IssueType[]
122
+ }
123
+
124
+ const ReportTypeValues = Object.values(ReportType);
125
+
126
+ export const reportExternalCategory: ReportExternalCategoryInterface[] = [
127
+ {
128
+ label: 'Retards de prestations',
129
+ options: ReportTypeValues.filter((report) => [ReportTypeEnum.BALANCE_SHEET_DELAYS, ReportTypeEnum.OTHER_DECLARATION_DELAYS].includes(report.id))
130
+ },
131
+ {
132
+ label: 'Logiciel / Application client',
133
+ options: issueTypes.filter((issue) => [IssueTypeEnum.ANNOTATIONS, IssueTypeEnum.SYNCHRONIZATIONS, IssueTypeEnum.OTHER].includes(issue.id))
134
+ },
135
+ {
136
+ label: 'Facturation et honoraires',
137
+ options: ReportTypeValues.filter((report) => [ReportTypeEnum.INVOICING_AND_FEES].includes(report.id))
138
+ },
139
+ {
140
+ label: 'Accompagnement client',
141
+ options: ReportTypeValues.filter((report) => [ReportTypeEnum.LACK_OF_COMMUNICATION, ReportTypeEnum.LACK_OF_ADVICE].includes(report.id))
142
+ }
143
+ ] as const;
@@ -1,50 +1,83 @@
1
+ import { IsInt, IsOptional, IsString } from 'class-validator';
1
2
  import { IReport } from '../../..';
2
3
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
4
  import { TFile } from '../file/TFile';
4
5
 
5
6
  export class CreateReport implements IReport {
6
7
  @ApiPropertyOptional()
7
- idReportType?: number;
8
+ @IsOptional()
9
+ @IsInt()
10
+ idReportType?: number;
8
11
 
9
12
  @ApiPropertyOptional()
10
- idSociety?: number;
13
+ @IsOptional()
14
+ @IsInt()
15
+ idSociety?: number;
16
+
17
+ @ApiPropertyOptional()
18
+ @IsOptional()
19
+ @IsInt()
20
+ idFile?: number;
11
21
 
12
22
  @ApiProperty()
13
- idUser: number;
23
+ @IsInt()
24
+ idUser: number;
14
25
 
15
26
  @ApiPropertyOptional()
16
- idServiceConcerned?: number;
27
+ @IsOptional()
28
+ @IsInt()
29
+ idServiceConcerned?: number;
17
30
 
18
31
  @ApiProperty()
19
- comment: string;
32
+ @IsString()
33
+ comment: string;
34
+
35
+ @ApiPropertyOptional()
36
+ @IsOptional()
37
+ @IsString()
38
+ search?: string;
20
39
 
21
40
  @ApiPropertyOptional()
22
- search?: string;
41
+ @IsOptional()
42
+ declareSoupcons?: boolean;
23
43
 
24
44
  @ApiPropertyOptional()
25
- declareSoupcons?: boolean;
45
+ @IsOptional()
46
+ @IsInt()
47
+ state?: number;
26
48
 
27
49
  @ApiPropertyOptional()
28
- state?: number;
50
+ @IsOptional()
51
+ informerjlb?: boolean;
29
52
 
30
53
  @ApiPropertyOptional()
31
- informerjlb?: boolean;
54
+ @IsOptional()
55
+ @IsInt()
56
+ ressenti?: number;
32
57
 
33
58
  @ApiPropertyOptional()
34
- ressenti?: number;
59
+ @IsOptional()
60
+ @IsInt()
61
+ action?: number;
35
62
 
36
63
  @ApiPropertyOptional()
37
- action?: number;
64
+ @IsOptional()
65
+ processed?: boolean;
38
66
 
39
67
  @ApiPropertyOptional()
40
- processed?: boolean;
68
+ @IsOptional()
69
+ letterDate?: Date;
41
70
 
42
71
  @ApiPropertyOptional()
43
- letterDate?: Date;
72
+ @IsOptional()
73
+ receivedFile?: TFile;
44
74
 
45
75
  @ApiPropertyOptional()
46
- receivedFile?: TFile;
76
+ @IsOptional()
77
+ responseFile?: TFile;
47
78
 
48
79
  @ApiPropertyOptional()
49
- responseFile?: TFile;
80
+ @IsOptional()
81
+ @IsString()
82
+ token?: string;
50
83
  }
@@ -0,0 +1,30 @@
1
+ import { IsEnum, IsInt, IsNumber, IsOptional, IsString } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
+ import { IssueTypeEnum } from '../../../Enum/IssueType';
4
+ import { ReportTypeEnum } from '../../../Enum/ReportType';
5
+ import { TFile } from '../file/TFile';
6
+
7
+ export class CreateExternalReport {
8
+ @ApiPropertyOptional()
9
+ @IsOptional()
10
+ @IsInt()
11
+ @IsEnum(IssueTypeEnum)
12
+ idIssueType?: number;
13
+
14
+ @ApiPropertyOptional()
15
+ @IsOptional()
16
+ @IsInt()
17
+ @IsEnum(ReportTypeEnum)
18
+ idReportType?: number;
19
+
20
+ @ApiProperty()
21
+ @IsNumber()
22
+ idSociety: number;
23
+
24
+ @ApiProperty()
25
+ @IsString()
26
+ comment: string;
27
+
28
+ @ApiPropertyOptional()
29
+ file?: TFile;
30
+ }
@@ -1,7 +1,7 @@
1
1
  import { IAttachmentFile } from './IAttachmentFile';
2
2
  import { IFolderFile } from './IFolderFile';
3
3
  import { IFileType } from './IFileType';
4
- import { ICommercialMail, IEstimateInvoice, IMail, IMailAttachment, ISociety } from '../..';
4
+ import { ICommercialMail, IEstimateInvoice, IMail, IMailAttachment, IReport, ISociety } from '../..';
5
5
  import { IPaymentRecovery } from './IPaymentRecovery';
6
6
 
7
7
  // files
@@ -25,4 +25,5 @@ export interface IFile {
25
25
  mailAttachment?: IMailAttachment | null;
26
26
  paymentRecovery?: IPaymentRecovery | null;
27
27
  estimateInvoice?: IEstimateInvoice | null;
28
+ report?: IReport | null;
28
29
  }
@@ -1,14 +1,20 @@
1
- import { IReportType } from './IReportType';
1
+ import { ReportTypeEnum } from '../../Enum/ReportType';
2
+ import { ICalendarEvent } from './ICalendarEvent';
3
+ import { IComment } from './IComment';
4
+ import { ICustomerAcceptance } from './ICustomerAcceptance';
5
+ import { IFile } from './IFile';
6
+ import { ILetter } from './ILetter';
2
7
  import { ISociety } from './ISociety';
3
8
 
4
9
  // report
5
10
  export interface IReport {
6
11
  id?: number;
7
12
  idSociety?: number | null;
8
- idReportType?: number | null;
13
+ idReportType?: ReportTypeEnum | null;
9
14
  idCalendarEvent?: number;
10
15
  idServiceConcerned?: number | null;
11
16
  idService?: number | null;
17
+ idFile?: number | null;
12
18
  idLetterType?: number | null;
13
19
  declareSoupcons?: boolean | null;
14
20
  token?: string | null;
@@ -24,6 +30,10 @@ export interface IReport {
24
30
  updatedAt?: Date | null;
25
31
 
26
32
  // Associations
27
- reportType?: IReportType;
28
33
  society?: ISociety;
34
+ file?: IFile;
35
+ calendarEvent?: ICalendarEvent;
36
+ comments?: IComment[];
37
+ customerAcceptance?: ICustomerAcceptance;
38
+ letter?: ILetter;
29
39
  }
@@ -1,10 +1,39 @@
1
+ import { IssueTypeEnum } from '../../Enum/IssueType';
2
+ import { IFile } from './IFile';
3
+ import { ISociety } from './ISociety';
4
+ import { IUser } from './IUser';
5
+
1
6
  // ticketSupport
2
7
  export interface ITicketSupport {
3
8
  id?: number;
4
9
  title: string;
5
10
  message: string;
6
- path: string;
7
- done: boolean;
11
+ url?: string | null;
12
+ idIssueType: IssueTypeEnum;
13
+ idSociety: number;
14
+ idUser: number;
15
+ idUserWithSameProblem?: number;
16
+ idUserConstatation?: number;
17
+ dateChangeConstatation?: Date;
18
+ idUserState?: number;
19
+ dateChangeState?: Date;
20
+ idFile?: number;
21
+ idFile2?: number;
22
+ tool: number;
23
+ reproduce?: boolean;
24
+ isUrgent?: boolean;
25
+ constatation?: number;
26
+ state?: number;
27
+ dateRdvProgram?: Date;
8
28
  createdAt?: Date | null;
9
29
  updatedAt?: Date | null;
30
+
31
+ // Associations
32
+ society?: ISociety;
33
+ user?: IUser;
34
+ userWithSameProblem?: IUser;
35
+ userConstatation?: IUser;
36
+ file?: IFile;
37
+ file2?: IFile;
38
+
10
39
  }
package/ts/types/index.ts CHANGED
@@ -404,6 +404,7 @@ export * from './Enum/SurveyType';
404
404
  export * from './Enum/SurveyTypeDatas';
405
405
  export * from './Enum/PaymentMethod';
406
406
  export * from './Enum/ReportType';
407
+ export * from './Enum/IssueType';
407
408
  export * from './Enum/AdjustmentType';
408
409
  export * from './Enum/ReportState';
409
410
  export * from './Enum/Proceding';
@@ -882,6 +883,7 @@ export * from './Interface/api/humanResourceLibrary/QueryPaginatedHumanResourceL
882
883
  export * from './Interface/api/humanResourceLibrary/QueryHumanResourceLibrary';
883
884
  export * from './Interface/api/humanResourceLibrary/CreateHumanResourceLibrary';
884
885
  export * from './Interface/api/humanResourceLibrary/CreateUserHumanResourceLibrary';
886
+ export * from './Interface/api/report/ExternalReport';
885
887
 
886
888
  export * from './Interface/api/library/QueryLibrary';
887
889
  export * from './Interface/api/library/ReadLibraryFile';