@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,53 @@
1
+ /**
2
+ * Types of issues
3
+ */
4
+ export declare 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
+ export interface IssueType {
15
+ id: IssueTypeEnum;
16
+ name: string;
17
+ }
18
+ export declare const issueTypes: IssueType[];
19
+ /**
20
+ * Status of an issue
21
+ */
22
+ export declare enum IssueStatusEnum {
23
+ WAITING_DEV = 1,
24
+ DONE = 2,
25
+ NOT_RESOLVED = 3,
26
+ WAITING_POWENS = 6,
27
+ WAITING_CLIENT_RETURN = 7,
28
+ RESOLVED = 8,
29
+ WAITING_CS = 12,
30
+ WAITING_SUPPORT = 13,
31
+ IMPROVEMENT_TO_PLAN = 14,
32
+ IMPROVEMENT_REFUSED = 15
33
+ }
34
+ export interface IssueStatus {
35
+ id: IssueStatusEnum;
36
+ name: string;
37
+ }
38
+ export declare const statesTicketsSupport: IssueStatus[];
39
+ /**
40
+ * Tool used to report an issue
41
+ */
42
+ export declare enum IssueToolEnum {
43
+ APP = 1,
44
+ ERP = 2,
45
+ VPN = 3,
46
+ MOBILE = 5
47
+ }
48
+ export interface IssueTool {
49
+ id: IssueToolEnum;
50
+ name: string;
51
+ }
52
+ export declare const issueTools: IssueTool[];
53
+ //# sourceMappingURL=IssueType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IssueType.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/IssueType.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,aAAa;IACvB,WAAW,IAAI;IACf,gBAAgB,IAAI;IACpB,WAAW,IAAI;IACf,mBAAmB,IAAI;IACvB,qBAAqB,IAAI;IACzB,SAAS,IAAI;IACb,eAAe,IAAI;IACnB,KAAK,IAAI;CACV;AAED,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,aAAa,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,UAAU,EAAE,SAAS,EASxB,CAAC;AAEX;;GAEG;AACH,oBAAY,eAAe;IACzB,WAAW,IAAI;IACf,IAAI,IAAI;IACR,YAAY,IAAI;IAChB,cAAc,IAAI;IAClB,qBAAqB,IAAI;IACzB,QAAQ,IAAI;IACZ,UAAU,KAAK;IACf,eAAe,KAAK;IACpB,mBAAmB,KAAK;IACxB,mBAAmB,KAAK;CACzB;AAED,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,eAAe,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,oBAAoB,EAAE,WAAW,EAW7C,CAAC;AAEF;;GAEG;AACH,oBAAY,aAAa;IACvB,GAAG,IAAI;IACP,GAAG,IAAI;IACP,GAAG,IAAI;IACP,MAAM,IAAI;CACX;AAED,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,aAAa,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,UAAU,EAAE,SAAS,EAKjC,CAAC"}
@@ -0,0 +1,69 @@
1
+ /**
2
+ * Types of issues
3
+ */
4
+ export var IssueTypeEnum;
5
+ (function (IssueTypeEnum) {
6
+ IssueTypeEnum[IssueTypeEnum["CONNECTIONS"] = 1] = "CONNECTIONS";
7
+ IssueTypeEnum[IssueTypeEnum["SYNCHRONIZATIONS"] = 2] = "SYNCHRONIZATIONS";
8
+ IssueTypeEnum[IssueTypeEnum["ANNOTATIONS"] = 3] = "ANNOTATIONS";
9
+ IssueTypeEnum[IssueTypeEnum["DOCUMENT_VISIBILITY"] = 4] = "DOCUMENT_VISIBILITY";
10
+ IssueTypeEnum[IssueTypeEnum["DOCUMENT_UPLOAD_ISSUE"] = 5] = "DOCUMENT_UPLOAD_ISSUE";
11
+ IssueTypeEnum[IssueTypeEnum["DATA_LOSS"] = 6] = "DATA_LOSS";
12
+ IssueTypeEnum[IssueTypeEnum["CONNECTOR_ISSUE"] = 7] = "CONNECTOR_ISSUE";
13
+ IssueTypeEnum[IssueTypeEnum["OTHER"] = 8] = "OTHER";
14
+ })(IssueTypeEnum || (IssueTypeEnum = {}));
15
+ export const issueTypes = [
16
+ { id: IssueTypeEnum.CONNECTIONS, name: 'Connexions' },
17
+ { id: IssueTypeEnum.SYNCHRONIZATIONS, name: 'Synchronisations' },
18
+ { id: IssueTypeEnum.ANNOTATIONS, name: 'Annotations' },
19
+ { id: IssueTypeEnum.DOCUMENT_VISIBILITY, name: 'Visibilité de documents' },
20
+ { id: IssueTypeEnum.DOCUMENT_UPLOAD_ISSUE, name: 'Pb dépôt de document' },
21
+ { id: IssueTypeEnum.DATA_LOSS, name: 'Pertes de données' },
22
+ { id: IssueTypeEnum.CONNECTOR_ISSUE, name: 'Pb de connecteurs' },
23
+ { id: IssueTypeEnum.OTHER, name: 'Autre' }
24
+ ];
25
+ /**
26
+ * Status of an issue
27
+ */
28
+ export var IssueStatusEnum;
29
+ (function (IssueStatusEnum) {
30
+ IssueStatusEnum[IssueStatusEnum["WAITING_DEV"] = 1] = "WAITING_DEV";
31
+ IssueStatusEnum[IssueStatusEnum["DONE"] = 2] = "DONE";
32
+ IssueStatusEnum[IssueStatusEnum["NOT_RESOLVED"] = 3] = "NOT_RESOLVED";
33
+ IssueStatusEnum[IssueStatusEnum["WAITING_POWENS"] = 6] = "WAITING_POWENS";
34
+ IssueStatusEnum[IssueStatusEnum["WAITING_CLIENT_RETURN"] = 7] = "WAITING_CLIENT_RETURN";
35
+ IssueStatusEnum[IssueStatusEnum["RESOLVED"] = 8] = "RESOLVED";
36
+ IssueStatusEnum[IssueStatusEnum["WAITING_CS"] = 12] = "WAITING_CS";
37
+ IssueStatusEnum[IssueStatusEnum["WAITING_SUPPORT"] = 13] = "WAITING_SUPPORT";
38
+ IssueStatusEnum[IssueStatusEnum["IMPROVEMENT_TO_PLAN"] = 14] = "IMPROVEMENT_TO_PLAN";
39
+ IssueStatusEnum[IssueStatusEnum["IMPROVEMENT_REFUSED"] = 15] = "IMPROVEMENT_REFUSED";
40
+ })(IssueStatusEnum || (IssueStatusEnum = {}));
41
+ export const statesTicketsSupport = [
42
+ { id: IssueStatusEnum.WAITING_DEV, name: 'Attente dev' },
43
+ { id: IssueStatusEnum.DONE, name: 'Terminé' },
44
+ { id: IssueStatusEnum.NOT_RESOLVED, name: 'Non-résolu' },
45
+ { id: IssueStatusEnum.WAITING_POWENS, name: 'Attente Powens' },
46
+ { id: IssueStatusEnum.WAITING_CLIENT_RETURN, name: 'Attente retour client' },
47
+ { id: IssueStatusEnum.RESOLVED, name: 'Résolu' },
48
+ { id: IssueStatusEnum.WAITING_CS, name: 'Attente CS' },
49
+ { id: IssueStatusEnum.WAITING_SUPPORT, name: 'Attente Support' },
50
+ { id: IssueStatusEnum.IMPROVEMENT_TO_PLAN, name: 'Amélioration à planifier' },
51
+ { id: IssueStatusEnum.IMPROVEMENT_REFUSED, name: 'Amélioration refusée' }
52
+ ];
53
+ /**
54
+ * Tool used to report an issue
55
+ */
56
+ export var IssueToolEnum;
57
+ (function (IssueToolEnum) {
58
+ IssueToolEnum[IssueToolEnum["APP"] = 1] = "APP";
59
+ IssueToolEnum[IssueToolEnum["ERP"] = 2] = "ERP";
60
+ IssueToolEnum[IssueToolEnum["VPN"] = 3] = "VPN";
61
+ IssueToolEnum[IssueToolEnum["MOBILE"] = 5] = "MOBILE";
62
+ })(IssueToolEnum || (IssueToolEnum = {}));
63
+ export const issueTools = [
64
+ { id: IssueToolEnum.APP, name: 'App Client' },
65
+ { id: IssueToolEnum.ERP, name: 'App Interne' },
66
+ { id: IssueToolEnum.VPN, name: 'VPN' },
67
+ { id: IssueToolEnum.MOBILE, name: 'App mobile' }
68
+ ];
69
+ //# sourceMappingURL=IssueType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IssueType.js","sourceRoot":"","sources":["../../../../ts/types/Enum/IssueType.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,aASX;AATD,WAAY,aAAa;IACvB,+DAAe,CAAA;IACf,yEAAoB,CAAA;IACpB,+DAAe,CAAA;IACf,+EAAuB,CAAA;IACvB,mFAAyB,CAAA;IACzB,2DAAa,CAAA;IACb,uEAAmB,CAAA;IACnB,mDAAS,CAAA;AACX,CAAC,EATW,aAAa,KAAb,aAAa,QASxB;AAOD,MAAM,CAAC,MAAM,UAAU,GAAgB;IACrC,EAAE,EAAE,EAAE,aAAa,CAAC,WAAW,EAAE,IAAI,EAAE,YAAY,EAAE;IACrD,EAAE,EAAE,EAAE,aAAa,CAAC,gBAAgB,EAAE,IAAI,EAAE,kBAAkB,EAAE;IAChE,EAAE,EAAE,EAAE,aAAa,CAAC,WAAW,EAAE,IAAI,EAAE,aAAa,EAAE;IACtD,EAAE,EAAE,EAAE,aAAa,CAAC,mB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AE,eAAe,CAAC,eAAe,EAAE,IAAI,EAAE,iBAAiB,EAAE;IAChE,EAAE,EAAE,EAAE,eAAe,CAAC,mBAAmB,EAAE,IAAI,EAAE,0BAA0B,EAAE;IAC7E,EAAE,EAAE,EAAE,eAAe,CAAC,mBAAmB,EAAE,IAAI,EAAE,sBAAsB,EAAE;CAC1E,CAAC;AAEF;;GAEG;AACH,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,+CAAO,CAAA;IACP,+CAAO,CAAA;IACP,+CAAO,CAAA;IACP,qDAAU,CAAA;AACZ,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AAOD,MAAM,CAAC,MAAM,UAAU,GAAgB;IACrC,EAAE,EAAE,EAAE,aAAa,CAAC,GAAG,EAAE,IAAI,EAAE,YAAY,EAAE;IAC7C,EAAE,EAAE,EAAE,aAAa,CAAC,GAAG,EAAE,IAAI,EAAE,aAAa,EAAE;IAC9C,EAAE,EAAE,EAAE,aAAa,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE;IACtC,EAAE,EAAE,EAAE,aAAa,CAAC,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE;CACjD,CAAC","sourcesContent":["/**\n * Types of issues\n */\nexport enum IssueTypeEnum {\n CONNECTIONS = 1,\n SYNCHRONIZATIONS = 2,\n ANNOTATIONS = 3,\n DOCUMENT_VISIBILITY = 4,\n DOCUMENT_UPLOAD_ISSUE = 5,\n DATA_LOSS = 6,\n CONNECTOR_ISSUE = 7,\n OTHER = 8\n}\n\nexport interface IssueType {\n id: IssueTypeEnum;\n name: string;\n}\n\nexport const issueTypes: IssueType[] = [\n { id: IssueTypeEnum.CONNECTIONS, name: 'Connexions' },\n { id: IssueTypeEnum.SYNCHRONIZATIONS, name: 'Synchronisations' },\n { id: IssueTypeEnum.ANNOTATIONS, name: 'Annotations' },\n { id: IssueTypeEnum.DOCUMENT_VISIBILITY, name: 'Visibilité de documents' },\n { id: IssueTypeEnum.DOCUMENT_UPLOAD_ISSUE, name: 'Pb dépôt de document' },\n { id: IssueTypeEnum.DATA_LOSS, name: 'Pertes de données' },\n { id: IssueTypeEnum.CONNECTOR_ISSUE, name: 'Pb de connecteurs' },\n { id: IssueTypeEnum.OTHER, name: 'Autre' }\n] as const;\n\n/**\n * Status of an issue\n */\nexport enum IssueStatusEnum {\n WAITING_DEV = 1,\n DONE = 2,\n NOT_RESOLVED = 3,\n WAITING_POWENS = 6,\n WAITING_CLIENT_RETURN = 7,\n RESOLVED = 8,\n WAITING_CS = 12,\n WAITING_SUPPORT = 13,\n IMPROVEMENT_TO_PLAN = 14,\n IMPROVEMENT_REFUSED = 15\n}\n\nexport interface IssueStatus {\n id: IssueStatusEnum;\n name: string;\n}\n\nexport const statesTicketsSupport: IssueStatus[] = [\n { id: IssueStatusEnum.WAITING_DEV, name: 'Attente dev' },\n { id: IssueStatusEnum.DONE, name: 'Terminé' },\n { id: IssueStatusEnum.NOT_RESOLVED, name: 'Non-résolu' },\n { id: IssueStatusEnum.WAITING_POWENS, name: 'Attente Powens' },\n { id: IssueStatusEnum.WAITING_CLIENT_RETURN, name: 'Attente retour client' },\n { id: IssueStatusEnum.RESOLVED, name: 'Résolu' },\n { id: IssueStatusEnum.WAITING_CS, name: 'Attente CS' },\n { id: IssueStatusEnum.WAITING_SUPPORT, name: 'Attente Support' },\n { id: IssueStatusEnum.IMPROVEMENT_TO_PLAN, name: 'Amélioration à planifier' },\n { id: IssueStatusEnum.IMPROVEMENT_REFUSED, name: 'Amélioration refusée' }\n];\n\n/**\n * Tool used to report an issue\n */\nexport enum IssueToolEnum {\n APP = 1,\n ERP = 2,\n VPN = 3,\n MOBILE = 5,\n}\n\nexport interface IssueTool {\n id: IssueToolEnum;\n name: string;\n}\n\nexport const issueTools: IssueTool[] = [\n { id: IssueToolEnum.APP, name: 'App Client' },\n { id: IssueToolEnum.ERP, name: 'App Interne' },\n { id: IssueToolEnum.VPN, name: 'VPN' },\n { id: IssueToolEnum.MOBILE, name: 'App mobile' }\n];"]}
@@ -1,79 +1,38 @@
1
+ import { IssueType } from './IssueType';
2
+ export declare enum ReportTypeEnum {
3
+ LETTER = 1,
4
+ FRAUD = 2,
5
+ ATTITUDE = 3,
6
+ BLOCKED = 4,
7
+ NO_RESPONSE = 5,
8
+ NEGATIVE_OPINION = 6,
9
+ LATE_ANSWER = 7,
10
+ UNHAPPY_CUSTOMER = 8,
11
+ FISCAL_CONTROL = 9,
12
+ REDRESSEMENT = 10,
13
+ BALANCE_SHEET_DELAYS = 11,
14
+ OTHER_DECLARATION_DELAYS = 12,
15
+ CUSTOMER_PLATFORM = 13,
16
+ REVALUATION = 14,
17
+ INVOICING_AND_FEES = 15,
18
+ APPOINTMENT = 16,
19
+ CLAIM_MAIL = 17,
20
+ ACCOUNTANT_CHANGE = 18,
21
+ VOLONTARY_UNPAID = 19,
22
+ LACK_OF_COMMUNICATION = 20,
23
+ LACK_OF_ADVICE = 21
24
+ }
25
+ interface ReportTypeInterface {
26
+ id: ReportTypeEnum;
27
+ name: string;
28
+ }
1
29
  export declare const ReportType: {
2
- LETTER: {
3
- id: number;
4
- name: string;
5
- };
6
- FRAUD: {
7
- id: number;
8
- name: string;
9
- };
10
- ATTITUDE: {
11
- id: number;
12
- name: string;
13
- };
14
- BLOCKED: {
15
- id: number;
16
- name: string;
17
- };
18
- NO_RESPONSE: {
19
- id: number;
20
- name: string;
21
- };
22
- NEGATIVE_OPINION: {
23
- id: number;
24
- name: string;
25
- };
26
- LATE_ANSWER: {
27
- id: number;
28
- name: string;
29
- };
30
- UNHAPPY_CUSTOMER: {
31
- id: number;
32
- name: string;
33
- };
34
- FISCAL_CONTROL: {
35
- id: number;
36
- name: string;
37
- };
38
- REDRESSEMENT: {
39
- id: number;
40
- name: string;
41
- };
42
- BALANCE_SHEET_DELAYS: {
43
- id: number;
44
- name: string;
45
- };
46
- OTHER_DECLARATION_DELAYS: {
47
- id: number;
48
- name: string;
49
- };
50
- CUSTOMER_PLATFORM: {
51
- id: number;
52
- name: string;
53
- };
54
- REVALUATION: {
55
- id: number;
56
- name: string;
57
- };
58
- INVOICING_AND_FEES: {
59
- id: number;
60
- name: string;
61
- };
62
- APPOINTMENT: {
63
- id: number;
64
- name: string;
65
- };
66
- CLAIM_MAIL: {
67
- id: number;
68
- name: string;
69
- };
70
- ACCOUNTANT_CHANGE: {
71
- id: number;
72
- name: string;
73
- };
74
- VOLONTARY_UNPAID: {
75
- id: number;
76
- name: string;
77
- };
30
+ [key: string]: ReportTypeInterface;
78
31
  };
32
+ export interface ReportExternalCategoryInterface {
33
+ label: string;
34
+ options: ReportTypeInterface[] | IssueType[];
35
+ }
36
+ export declare const reportExternalCategory: ReportExternalCategoryInterface[];
37
+ export {};
79
38
  //# sourceMappingURL=ReportType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReportType.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportType.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6EtB,CAAC"}
1
+ {"version":3,"file":"ReportType.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA6B,MAAM,aAAa,CAAC;AAEnE,oBAAY,cAAc;IACxB,MAAM,IAAI;IACV,KAAK,IAAI;IACT,QAAQ,IAAI;IACZ,OAAO,IAAI;IACX,WAAW,IAAI;IACf,gBAAgB,IAAI;IACpB,WAAW,IAAI;IACf,gBAAgB,IAAI;IACpB,cAAc,IAAI;IAClB,YAAY,KAAK;IACjB,oBAAoB,KAAK;IACzB,wBAAwB,KAAK;IAC7B,iBAAiB,KAAK;IACtB,WAAW,KAAK;IAChB,kBAAkB,KAAK;IACvB,WAAW,KAAK;IAChB,UAAU,KAAK;IACf,iBAAiB,KAAK;IACtB,gBAAgB,KAAK;IACrB,qBAAqB,KAAK;IAC1B,cAAc,KAAK;CACpB;AAED,UAAU,mBAAmB;IAC3B,EAAE,EAAE,cAAc,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,UAAU,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB,CAAA;CAqFnD,CAAC;AAEX,MAAM,WAAW,+BAA+B;IAC9C,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,mBAAmB,EAAE,GAAG,SAAS,EAAE,CAAA;CAC7C;AAID,eAAO,MAAM,sBAAsB,EAAE,+BAA+B,EAiB1D,CAAC"}
@@ -1,79 +1,131 @@
1
+ import { IssueTypeEnum, issueTypes } from './IssueType';
2
+ export var ReportTypeEnum;
3
+ (function (ReportTypeEnum) {
4
+ ReportTypeEnum[ReportTypeEnum["LETTER"] = 1] = "LETTER";
5
+ ReportTypeEnum[ReportTypeEnum["FRAUD"] = 2] = "FRAUD";
6
+ ReportTypeEnum[ReportTypeEnum["ATTITUDE"] = 3] = "ATTITUDE";
7
+ ReportTypeEnum[ReportTypeEnum["BLOCKED"] = 4] = "BLOCKED";
8
+ ReportTypeEnum[ReportTypeEnum["NO_RESPONSE"] = 5] = "NO_RESPONSE";
9
+ ReportTypeEnum[ReportTypeEnum["NEGATIVE_OPINION"] = 6] = "NEGATIVE_OPINION";
10
+ ReportTypeEnum[ReportTypeEnum["LATE_ANSWER"] = 7] = "LATE_ANSWER";
11
+ ReportTypeEnum[ReportTypeEnum["UNHAPPY_CUSTOMER"] = 8] = "UNHAPPY_CUSTOMER";
12
+ ReportTypeEnum[ReportTypeEnum["FISCAL_CONTROL"] = 9] = "FISCAL_CONTROL";
13
+ ReportTypeEnum[ReportTypeEnum["REDRESSEMENT"] = 10] = "REDRESSEMENT";
14
+ ReportTypeEnum[ReportTypeEnum["BALANCE_SHEET_DELAYS"] = 11] = "BALANCE_SHEET_DELAYS";
15
+ ReportTypeEnum[ReportTypeEnum["OTHER_DECLARATION_DELAYS"] = 12] = "OTHER_DECLARATION_DELAYS";
16
+ ReportTypeEnum[ReportTypeEnum["CUSTOMER_PLATFORM"] = 13] = "CUSTOMER_PLATFORM";
17
+ ReportTypeEnum[ReportTypeEnum["REVALUATION"] = 14] = "REVALUATION";
18
+ ReportTypeEnum[ReportTypeEnum["INVOICING_AND_FEES"] = 15] = "INVOICING_AND_FEES";
19
+ ReportTypeEnum[ReportTypeEnum["APPOINTMENT"] = 16] = "APPOINTMENT";
20
+ ReportTypeEnum[ReportTypeEnum["CLAIM_MAIL"] = 17] = "CLAIM_MAIL";
21
+ ReportTypeEnum[ReportTypeEnum["ACCOUNTANT_CHANGE"] = 18] = "ACCOUNTANT_CHANGE";
22
+ ReportTypeEnum[ReportTypeEnum["VOLONTARY_UNPAID"] = 19] = "VOLONTARY_UNPAID";
23
+ ReportTypeEnum[ReportTypeEnum["LACK_OF_COMMUNICATION"] = 20] = "LACK_OF_COMMUNICATION";
24
+ ReportTypeEnum[ReportTypeEnum["LACK_OF_ADVICE"] = 21] = "LACK_OF_ADVICE";
25
+ })(ReportTypeEnum || (ReportTypeEnum = {}));
1
26
  export const ReportType = {
2
27
  LETTER: {
3
- id: 1,
28
+ id: ReportTypeEnum.LETTER,
4
29
  name: 'Lettre à l\'ordre',
5
30
  },
6
31
  FRAUD: {
7
- id: 2,
32
+ id: ReportTypeEnum.FRAUD,
8
33
  name: 'Suspicion de fraude',
9
34
  },
10
35
  ATTITUDE: {
11
- id: 3,
36
+ id: ReportTypeEnum.ATTITUDE,
12
37
  name: 'Attitude déplacée',
13
38
  },
14
39
  BLOCKED: {
15
- id: 4,
40
+ id: ReportTypeEnum.BLOCKED,
16
41
  name: 'Dossier bloqué',
17
42
  },
18
43
  NO_RESPONSE: {
19
- id: 5,
44
+ id: ReportTypeEnum.NO_RESPONSE,
20
45
  name: 'Pas de réponse',
21
46
  },
22
47
  NEGATIVE_OPINION: {
23
- id: 6,
48
+ id: ReportTypeEnum.NEGATIVE_OPINION,
24
49
  name: 'Avis négatif',
25
50
  },
26
51
  LATE_ANSWER: {
27
- id: 7,
52
+ id: ReportTypeEnum.LATE_ANSWER,
28
53
  name: 'Réponse de + de 3 mois',
29
54
  },
30
55
  UNHAPPY_CUSTOMER: {
31
- id: 8,
56
+ id: ReportTypeEnum.UNHAPPY_CUSTOMER,
32
57
  name: 'Client mécontent',
33
58
  },
34
59
  FISCAL_CONTROL: {
35
- id: 9,
60
+ id: ReportTypeEnum.FISCAL_CONTROL,
36
61
  name: 'Contrôle fiscal en cours',
37
62
  },
38
63
  REDRESSEMENT: {
39
- id: 10,
64
+ id: ReportTypeEnum.REDRESSEMENT,
40
65
  name: 'Redressement',
41
66
  },
42
67
  BALANCE_SHEET_DELAYS: {
43
- id: 11,
68
+ id: ReportTypeEnum.BALANCE_SHEET_DELAYS,
44
69
  name: 'Retard de production bilan',
45
70
  },
46
71
  OTHER_DECLARATION_DELAYS: {
47
- id: 12,
72
+ id: ReportTypeEnum.OTHER_DECLARATION_DELAYS,
48
73
  name: 'Retard de production autre déclaration',
49
74
  },
50
75
  CUSTOMER_PLATFORM: {
51
- id: 13,
76
+ id: ReportTypeEnum.CUSTOMER_PLATFORM,
52
77
  name: 'Plateforme client',
53
78
  },
54
79
  REVALUATION: {
55
- id: 14,
80
+ id: ReportTypeEnum.REVALUATION,
56
81
  name: 'Revalorisation',
57
82
  },
58
83
  INVOICING_AND_FEES: {
59
- id: 15,
84
+ id: ReportTypeEnum.INVOICING_AND_FEES,
60
85
  name: 'Facturation et honoraire',
61
86
  },
62
87
  APPOINTMENT: {
63
- id: 16,
88
+ id: ReportTypeEnum.APPOINTMENT,
64
89
  name: 'Rendez-vous non honorés',
65
90
  },
66
91
  CLAIM_MAIL: {
67
- id: 17,
92
+ id: ReportTypeEnum.CLAIM_MAIL,
68
93
  name: 'Réclamation courrier reçu',
69
94
  },
70
95
  ACCOUNTANT_CHANGE: {
71
- id: 18,
96
+ id: ReportTypeEnum.ACCOUNTANT_CHANGE,
72
97
  name: 'Demande de changement de comptable',
73
98
  },
74
99
  VOLONTARY_UNPAID: {
75
- id: 19,
100
+ id: ReportTypeEnum.VOLONTARY_UNPAID,
76
101
  name: 'Impayé volontaire',
77
102
  },
103
+ LACK_OF_COMMUNICATION: {
104
+ id: ReportTypeEnum.LACK_OF_COMMUNICATION,
105
+ name: 'Manque de communication',
106
+ },
107
+ LACK_OF_ADVICE: {
108
+ id: ReportTypeEnum.LACK_OF_ADVICE,
109
+ name: 'Manque de conseil',
110
+ },
78
111
  };
112
+ const ReportTypeValues = Object.values(ReportType);
113
+ export const reportExternalCategory = [
114
+ {
115
+ label: 'Retards de prestations',
116
+ options: ReportTypeValues.filter((report) => [ReportTypeEnum.BALANCE_SHEET_DELAYS, ReportTypeEnum.OTHER_DECLARATION_DELAYS].includes(report.id))
117
+ },
118
+ {
119
+ label: 'Logiciel / Application client',
120
+ options: issueTypes.filter((issue) => [IssueTypeEnum.ANNOTATIONS, IssueTypeEnum.SYNCHRONIZATIONS, IssueTypeEnum.OTHER].includes(issue.id))
121
+ },
122
+ {
123
+ label: 'Facturation et honoraires',
124
+ options: ReportTypeValues.filter((report) => [ReportTypeEnum.INVOICING_AND_FEES].includes(report.id))
125
+ },
126
+ {
127
+ label: 'Accompagnement client',
128
+ options: ReportTypeValues.filter((report) => [ReportTypeEnum.LACK_OF_COMMUNICATION, ReportTypeEnum.LACK_OF_ADVICE].includes(report.id))
129
+ }
130
+ ];
79
131
  //# sourceMappingURL=ReportType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReportType.js","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportType.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,MAAM,EAAE;QACN,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,mBAAmB;KAC1B;IACD,KAAK,EAAE;QACL,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,qBAAqB;KAC5B;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,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Type = {\n LETTER: {\n id: 1,\n name: 'Lettre à l\\'ordre',\n },\n FRAUD: {\n id: 2,\n name: 'Suspicion de fraude',\n },\n ATTITUDE: {\n id: 3,\n name: 'Attitude déplacée',\n },\n BLOCKED: {\n id: 4,\n name: 'Dossier bloqué',\n },\n NO_RESPONSE: {\n id: 5,\n name: 'Pas de réponse',\n },\n NEGATIVE_OPINION: {\n id: 6,\n name: 'Avis négatif',\n },\n LATE_ANSWER: {\n id: 7,\n name: 'Réponse de + de 3 mois',\n },\n UNHAPPY_CUSTOMER: {\n id: 8,\n name: 'Client mécontent',\n },\n FISCAL_CONTROL: {\n id: 9,\n name: 'Contrôle fiscal en cours',\n },\n REDRESSEMENT: {\n id: 10,\n name: 'Redressement',\n },\n BALANCE_SHEET_DELAYS: {\n id: 11,\n name: 'Retard de production bilan',\n },\n OTHER_DECLARATION_DELAYS: {\n id: 12,\n name: 'Retard de production autre déclaration',\n },\n CUSTOMER_PLATFORM: {\n id: 13,\n name: 'Plateforme client',\n },\n REVALUATION: {\n id: 14,\n name: 'Revalorisation',\n },\n INVOICING_AND_FEES: {\n id: 15,\n name: 'Facturation et honoraire',\n },\n APPOINTMENT: {\n id: 16,\n name: 'Rendez-vous non honorés',\n },\n CLAIM_MAIL: {\n id: 17,\n name: 'Réclamation courrier reçu',\n },\n ACCOUNTANT_CHANGE: {\n id: 18,\n name: 'Demande de changement de comptable',\n },\n VOLONTARY_UNPAID: {\n id: 19,\n name: 'Impayé volontaire',\n },\n};"]}
1
+ {"version":3,"file":"ReportType.js","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,aAAa,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEnE,MAAM,CAAN,IAAY,cAsBX;AAtBD,WAAY,cAAc;IACxB,uDAAU,CAAA;IACV,qDAAS,CAAA;IACT,2DAAY,CAAA;IACZ,yDAAW,CAAA;IACX,iEAAe,CAAA;IACf,2EAAoB,CAAA;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,cAAc,CAAC,oBAAoB,EAAE,cAAc,CAAC,wBAAwB,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;KACjJ;IACD;QACE,KAAK,EAAE,+BAA+B;QACtC,OAAO,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,aAAa,CAAC,WAAW,EAAE,aAAa,CAAC,gBAAgB,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;KAC3I;IACD;QACE,KAAK,EAAE,2BAA2B;QAClC,OAAO,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;KACtG;IACD;QACE,KAAK,EAAE,uBAAuB;QAC9B,OAAO,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,cAAc,CAAC,qBAAqB,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;KACxI;CACO,CAAC","sourcesContent":["import { IssueType, IssueTypeEnum, issueTypes } from './IssueType';\n\nexport enum ReportTypeEnum {\n LETTER = 1,\n FRAUD = 2,\n ATTITUDE = 3,\n BLOCKED = 4,\n NO_RESPONSE = 5,\n NEGATIVE_OPINION = 6,\n LATE_ANSWER = 7,\n UNHAPPY_CUSTOMER = 8,\n FISCAL_CONTROL = 9,\n REDRESSEMENT = 10,\n BALANCE_SHEET_DELAYS = 11,\n OTHER_DECLARATION_DELAYS = 12,\n CUSTOMER_PLATFORM = 13,\n REVALUATION = 14,\n INVOICING_AND_FEES = 15,\n APPOINTMENT = 16,\n CLAIM_MAIL = 17,\n ACCOUNTANT_CHANGE = 18,\n VOLONTARY_UNPAID = 19,\n LACK_OF_COMMUNICATION = 20,\n LACK_OF_ADVICE = 21,\n}\n\ninterface ReportTypeInterface {\n id: ReportTypeEnum;\n name: string;\n}\n\nexport const ReportType: { [key: string]: ReportTypeInterface } = {\n LETTER: {\n id: ReportTypeEnum.LETTER,\n name: 'Lettre à l\\'ordre',\n },\n FRAUD: {\n id: ReportTypeEnum.FRAUD,\n name: 'Suspicion de fraude',\n },\n ATTITUDE: {\n id: ReportTypeEnum.ATTITUDE,\n name: 'Attitude déplacée',\n },\n BLOCKED: {\n id: ReportTypeEnum.BLOCKED,\n name: 'Dossier bloqué',\n },\n NO_RESPONSE: {\n id: ReportTypeEnum.NO_RESPONSE,\n name: 'Pas de réponse',\n },\n NEGATIVE_OPINION: {\n id: ReportTypeEnum.NEGATIVE_OPINION,\n name: 'Avis négatif',\n },\n LATE_ANSWER: {\n id: ReportTypeEnum.LATE_ANSWER,\n name: 'Réponse de + de 3 mois',\n },\n UNHAPPY_CUSTOMER: {\n id: ReportTypeEnum.UNHAPPY_CUSTOMER,\n name: 'Client mécontent',\n },\n FISCAL_CONTROL: {\n id: ReportTypeEnum.FISCAL_CONTROL,\n name: 'Contrôle fiscal en cours',\n },\n REDRESSEMENT: {\n id: ReportTypeEnum.REDRESSEMENT,\n name: 'Redressement',\n },\n BALANCE_SHEET_DELAYS: {\n id: ReportTypeEnum.BALANCE_SHEET_DELAYS,\n name: 'Retard de production bilan',\n },\n OTHER_DECLARATION_DELAYS: {\n id: ReportTypeEnum.OTHER_DECLARATION_DELAYS,\n name: 'Retard de production autre déclaration',\n },\n CUSTOMER_PLATFORM: {\n id: ReportTypeEnum.CUSTOMER_PLATFORM,\n name: 'Plateforme client',\n },\n REVALUATION: {\n id: ReportTypeEnum.REVALUATION,\n name: 'Revalorisation',\n },\n INVOICING_AND_FEES: {\n id: ReportTypeEnum.INVOICING_AND_FEES,\n name: 'Facturation et honoraire',\n },\n APPOINTMENT: {\n id: ReportTypeEnum.APPOINTMENT,\n name: 'Rendez-vous non honorés',\n },\n CLAIM_MAIL: {\n id: ReportTypeEnum.CLAIM_MAIL,\n name: 'Réclamation courrier reçu',\n },\n ACCOUNTANT_CHANGE: {\n id: ReportTypeEnum.ACCOUNTANT_CHANGE,\n name: 'Demande de changement de comptable',\n },\n VOLONTARY_UNPAID: {\n id: ReportTypeEnum.VOLONTARY_UNPAID,\n name: 'Impayé volontaire',\n },\n LACK_OF_COMMUNICATION: {\n id: ReportTypeEnum.LACK_OF_COMMUNICATION,\n name: 'Manque de communication',\n },\n LACK_OF_ADVICE: {\n id: ReportTypeEnum.LACK_OF_ADVICE,\n name: 'Manque de conseil',\n },\n} as const;\n\nexport interface ReportExternalCategoryInterface {\n label: string\n options: ReportTypeInterface[] | IssueType[]\n}\n\nconst ReportTypeValues = Object.values(ReportType);\n\nexport const reportExternalCategory: ReportExternalCategoryInterface[] = [\n {\n label: 'Retards de prestations',\n options: ReportTypeValues.filter((report) => [ReportTypeEnum.BALANCE_SHEET_DELAYS, ReportTypeEnum.OTHER_DECLARATION_DELAYS].includes(report.id))\n },\n {\n label: 'Logiciel / Application client',\n options: issueTypes.filter((issue) => [IssueTypeEnum.ANNOTATIONS, IssueTypeEnum.SYNCHRONIZATIONS, IssueTypeEnum.OTHER].includes(issue.id))\n },\n {\n label: 'Facturation et honoraires',\n options: ReportTypeValues.filter((report) => [ReportTypeEnum.INVOICING_AND_FEES].includes(report.id))\n },\n {\n label: 'Accompagnement client',\n options: ReportTypeValues.filter((report) => [ReportTypeEnum.LACK_OF_COMMUNICATION, ReportTypeEnum.LACK_OF_ADVICE].includes(report.id))\n }\n] as const;"]}
@@ -3,6 +3,7 @@ import { TFile } from '../file/TFile';
3
3
  export declare class CreateReport implements IReport {
4
4
  idReportType?: number;
5
5
  idSociety?: number;
6
+ idFile?: number;
6
7
  idUser: number;
7
8
  idServiceConcerned?: number;
8
9
  comment: string;
@@ -16,5 +17,6 @@ export declare class CreateReport implements IReport {
16
17
  letterDate?: Date;
17
18
  receivedFile?: TFile;
18
19
  responseFile?: TFile;
20
+ token?: string;
19
21
  }
20
22
  //# sourceMappingURL=CreateReport.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,YAAa,YAAW,OAAO;IAExC,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,MAAM,EAAE,MAAM,CAAC;IAGf,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAG5B,OAAO,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,eAAe,CAAC,EAAE,OAAO,CAAC;IAG1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,WAAW,CAAC,EAAE,OAAO,CAAC;IAGtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,SAAS,CAAC,EAAE,OAAO,CAAC;IAGpB,UAAU,CAAC,EAAE,IAAI,CAAC;IAGlB,YAAY,CAAC,EAAE,KAAK,CAAC;IAGrB,YAAY,CAAC,EAAE,KAAK,CAAC;CACxB"}
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;IAI1C,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,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,YAAY,CAAC,EAAE,KAAK,CAAC;IAIrB,YAAY,CAAC,EAAE,KAAK,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -7,10 +7,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
+ import { IsInt, IsOptional, IsString } from 'class-validator';
10
11
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
11
12
  export class CreateReport {
12
13
  idReportType;
13
14
  idSociety;
15
+ idFile;
14
16
  idUser;
15
17
  idServiceConcerned;
16
18
  comment;
@@ -24,65 +26,100 @@ export class CreateReport {
24
26
  letterDate;
25
27
  receivedFile;
26
28
  responseFile;
29
+ token;
27
30
  }
28
31
  __decorate([
29
32
  ApiPropertyOptional(),
33
+ IsOptional(),
34
+ IsInt(),
30
35
  __metadata("design:type", Number)
31
36
  ], CreateReport.prototype, "idReportType", void 0);
32
37
  __decorate([
33
38
  ApiPropertyOptional(),
39
+ IsOptional(),
40
+ IsInt(),
34
41
  __metadata("design:type", Number)
35
42
  ], CreateReport.prototype, "idSociety", void 0);
43
+ __decorate([
44
+ ApiPropertyOptional(),
45
+ IsOptional(),
46
+ IsInt(),
47
+ __metadata("design:type", Number)
48
+ ], CreateReport.prototype, "idFile", void 0);
36
49
  __decorate([
37
50
  ApiProperty(),
51
+ IsInt(),
38
52
  __metadata("design:type", Number)
39
53
  ], CreateReport.prototype, "idUser", void 0);
40
54
  __decorate([
41
55
  ApiPropertyOptional(),
56
+ IsOptional(),
57
+ IsInt(),
42
58
  __metadata("design:type", Number)
43
59
  ], CreateReport.prototype, "idServiceConcerned", void 0);
44
60
  __decorate([
45
61
  ApiProperty(),
62
+ IsString(),
46
63
  __metadata("design:type", String)
47
64
  ], CreateReport.prototype, "comment", void 0);
48
65
  __decorate([
49
66
  ApiPropertyOptional(),
67
+ IsOptional(),
68
+ IsString(),
50
69
  __metadata("design:type", String)
51
70
  ], CreateReport.prototype, "search", void 0);
52
71
  __decorate([
53
72
  ApiPropertyOptional(),
73
+ IsOptional(),
54
74
  __metadata("design:type", Boolean)
55
75
  ], CreateReport.prototype, "declareSoupcons", void 0);
56
76
  __decorate([
57
77
  ApiPropertyOptional(),
78
+ IsOptional(),
79
+ IsInt(),
58
80
  __metadata("design:type", Number)
59
81
  ], CreateReport.prototype, "state", void 0);
60
82
  __decorate([
61
83
  ApiPropertyOptional(),
84
+ IsOptional(),
62
85
  __metadata("design:type", Boolean)
63
86
  ], CreateReport.prototype, "informerjlb", void 0);
64
87
  __decorate([
65
88
  ApiPropertyOptional(),
89
+ IsOptional(),
90
+ IsInt(),
66
91
  __metadata("design:type", Number)
67
92
  ], CreateReport.prototype, "ressenti", void 0);
68
93
  __decorate([
69
94
  ApiPropertyOptional(),
95
+ IsOptional(),
96
+ IsInt(),
70
97
  __metadata("design:type", Number)
71
98
  ], CreateReport.prototype, "action", void 0);
72
99
  __decorate([
73
100
  ApiPropertyOptional(),
101
+ IsOptional(),
74
102
  __metadata("design:type", Boolean)
75
103
  ], CreateReport.prototype, "processed", void 0);
76
104
  __decorate([
77
105
  ApiPropertyOptional(),
106
+ IsOptional(),
78
107
  __metadata("design:type", Date)
79
108
  ], CreateReport.prototype, "letterDate", void 0);
80
109
  __decorate([
81
110
  ApiPropertyOptional(),
111
+ IsOptional(),
82
112
  __metadata("design:type", Object)
83
113
  ], CreateReport.prototype, "receivedFile", void 0);
84
114
  __decorate([
85
115
  ApiPropertyOptional(),
116
+ IsOptional(),
86
117
  __metadata("design:type", Object)
87
118
  ], CreateReport.prototype, "responseFile", void 0);
119
+ __decorate([
120
+ ApiPropertyOptional(),
121
+ IsOptional(),
122
+ IsString(),
123
+ __metadata("design:type", String)
124
+ ], CreateReport.prototype, "token", void 0);
88
125
  //# sourceMappingURL=CreateReport.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGrE,MAAM,OAAO,YAAY;IAErB,YAAY,CAAU;IAGtB,SAAS,CAAU;IAGnB,MAAM,CAAS;IAGf,kBAAkB,CAAU;IAG5B,OAAO,CAAS;IAGhB,MAAM,CAAU;IAGhB,eAAe,CAAW;IAG1B,KAAK,CAAU;IAGf,WAAW,CAAW;IAGtB,QAAQ,CAAU;IAGlB,MAAM,CAAU;IAGhB,SAAS,CAAW;IAGpB,UAAU,CAAQ;IAGlB,YAAY,CAAS;IAGrB,YAAY,CAAS;CACxB;AA3CG;IADD,mBAAmB,EAAE;;kDACE;AAGtB;IADD,mBAAmB,EAAE;;+CACD;AAGnB;IADD,WAAW,EAAE;;4CACG;AAGf;IADD,mBAAmB,EAAE;;wDACQ;AAG5B;IADD,WAAW,EAAE;;6CACI;AAGhB;IADD,mBAAmB,EAAE;;4CACJ;AAGhB;IADD,mBAAmB,EAAE;;qDACM;AAG1B;IADD,mBAAmB,EAAE;;2CACL;AAGf;IADD,mBAAmB,EAAE;;iDACE;AAGtB;IADD,mBAAmB,EAAE;;8CACF;AAGlB;IADD,mBAAmB,EAAE;;4CACJ;AAGhB;IADD,mBAAmB,EAAE;;+CACA;AAGpB;IADD,mBAAmB,EAAE;8BACP,IAAI;gDAAC;AAGlB;IADD,mBAAmB,EAAE;;kDACC;AAGrB;IADD,mBAAmB,EAAE;;kDACC","sourcesContent":["import { IReport } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class CreateReport implements IReport {\n @ApiPropertyOptional()\n idReportType?: number;\n\n @ApiPropertyOptional()\n idSociety?: number;\n\n @ApiProperty()\n idUser: number;\n\n @ApiPropertyOptional()\n idServiceConcerned?: number;\n\n @ApiProperty()\n comment: string;\n\n @ApiPropertyOptional()\n search?: string;\n\n @ApiPropertyOptional()\n declareSoupcons?: boolean;\n\n @ApiPropertyOptional()\n state?: number;\n\n @ApiPropertyOptional()\n informerjlb?: boolean;\n\n @ApiPropertyOptional()\n ressenti?: number;\n\n @ApiPropertyOptional()\n action?: number;\n\n @ApiPropertyOptional()\n processed?: boolean;\n\n @ApiPropertyOptional()\n letterDate?: Date;\n\n @ApiPropertyOptional()\n receivedFile?: TFile;\n\n @ApiPropertyOptional()\n responseFile?: TFile;\n}\n"]}
1
+ {"version":3,"file":"CreateReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE9D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGrE,MAAM,OAAO,YAAY;IAIvB,YAAY,CAAU;IAKtB,SAAS,CAAU;IAKnB,MAAM,CAAU;IAIhB,MAAM,CAAS;IAKf,kBAAkB,CAAU;IAI5B,OAAO,CAAS;IAKhB,MAAM,CAAU;IAIhB,eAAe,CAAW;IAK1B,KAAK,CAAU;IAIf,WAAW,CAAW;IAKtB,QAAQ,CAAU;IAKlB,MAAM,CAAU;IAIhB,SAAS,CAAW;IAIpB,UAAU,CAAQ;IAIlB,YAAY,CAAS;IAIrB,YAAY,CAAS;IAKrB,KAAK,CAAU;CAChB;AAzEC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;kDACc;AAKtB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;+CACW;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4CACQ;AAIhB;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;4CACO;AAKf;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;wDACoB;AAI5B;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;6CACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;4CACK;AAIhB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;qDACa;AAK1B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;2CACO;AAIf;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;iDACS;AAKtB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;8CACU;AAKlB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4CACQ;AAIhB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;+CACO;AAIpB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;8BACA,IAAI;gDAAC;AAIlB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;kDACQ;AAIrB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;kDACQ;AAKrB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;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 @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\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 receivedFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n responseFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string;\n}\n"]}
@@ -0,0 +1,9 @@
1
+ import { TFile } from '../file/TFile';
2
+ export declare class CreateExternalReport {
3
+ idIssueType?: number;
4
+ idReportType?: number;
5
+ idSociety: number;
6
+ comment: string;
7
+ file?: TFile;
8
+ }
9
+ //# sourceMappingURL=ExternalReport.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExternalReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/ExternalReport.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,oBAAoB;IAK/B,WAAW,CAAC,EAAE,MAAM,CAAC;IAMrB,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,KAAK,CAAC;CACd"}
@@ -0,0 +1,49 @@
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 { IsEnum, IsInt, IsNumber, IsOptional, IsString } from 'class-validator';
11
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
+ import { IssueTypeEnum } from '../../../Enum/IssueType';
13
+ import { ReportTypeEnum } from '../../../Enum/ReportType';
14
+ export class CreateExternalReport {
15
+ idIssueType;
16
+ idReportType;
17
+ idSociety;
18
+ comment;
19
+ file;
20
+ }
21
+ __decorate([
22
+ ApiPropertyOptional(),
23
+ IsOptional(),
24
+ IsInt(),
25
+ IsEnum(IssueTypeEnum),
26
+ __metadata("design:type", Number)
27
+ ], CreateExternalReport.prototype, "idIssueType", void 0);
28
+ __decorate([
29
+ ApiPropertyOptional(),
30
+ IsOptional(),
31
+ IsInt(),
32
+ IsEnum(ReportTypeEnum),
33
+ __metadata("design:type", Number)
34
+ ], CreateExternalReport.prototype, "idReportType", void 0);
35
+ __decorate([
36
+ ApiProperty(),
37
+ IsNumber(),
38
+ __metadata("design:type", Number)
39
+ ], CreateExternalReport.prototype, "idSociety", void 0);
40
+ __decorate([
41
+ ApiProperty(),
42
+ IsString(),
43
+ __metadata("design:type", String)
44
+ ], CreateExternalReport.prototype, "comment", void 0);
45
+ __decorate([
46
+ ApiPropertyOptional(),
47
+ __metadata("design:type", Object)
48
+ ], CreateExternalReport.prototype, "file", void 0);
49
+ //# sourceMappingURL=ExternalReport.js.map