@silexpert/core 1.3.192-0 → 1.3.192

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 (148) hide show
  1. package/dist/cjs/api/resources/Comment.d.ts +2 -2
  2. package/dist/cjs/api/resources/Comment.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Comment.js.map +1 -1
  4. package/dist/cjs/api/resources/Report.d.ts +3 -4
  5. package/dist/cjs/api/resources/Report.d.ts.map +1 -1
  6. package/dist/cjs/api/resources/Report.js +1 -15
  7. package/dist/cjs/api/resources/Report.js.map +1 -1
  8. package/dist/cjs/api/resources.d.ts +0 -2
  9. package/dist/cjs/api/resources.d.ts.map +1 -1
  10. package/dist/cjs/api/resources.js +0 -2
  11. package/dist/cjs/api/resources.js.map +1 -1
  12. package/dist/cjs/types/Enum/Ged.d.ts +7 -2
  13. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  14. package/dist/cjs/types/Enum/Ged.js +123 -0
  15. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  16. package/dist/cjs/types/Enum/ReportService.d.ts +1 -4
  17. package/dist/cjs/types/Enum/ReportService.d.ts.map +1 -1
  18. package/dist/cjs/types/Enum/ReportService.js +18 -39
  19. package/dist/cjs/types/Enum/ReportService.js.map +1 -1
  20. package/dist/cjs/types/Enum/ReportType.d.ts +1 -9
  21. package/dist/cjs/types/Enum/ReportType.d.ts.map +1 -1
  22. package/dist/cjs/types/Enum/ReportType.js +1 -41
  23. package/dist/cjs/types/Enum/ReportType.js.map +1 -1
  24. package/dist/cjs/types/Enum/TaskResponseType.d.ts.map +1 -1
  25. package/dist/cjs/types/Enum/TaskResponseType.js +0 -33
  26. package/dist/cjs/types/Enum/TaskResponseType.js.map +1 -1
  27. package/dist/cjs/types/Interface/api/report/CreateReport.d.ts +1 -3
  28. package/dist/cjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  29. package/dist/cjs/types/Interface/api/report/CreateReport.js +2 -11
  30. package/dist/cjs/types/Interface/api/report/CreateReport.js.map +1 -1
  31. package/dist/cjs/types/Interface/api/report/QueryReports.d.ts +1 -5
  32. package/dist/cjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
  33. package/dist/cjs/types/Interface/api/report/QueryReports.js +1 -21
  34. package/dist/cjs/types/Interface/api/report/QueryReports.js.map +1 -1
  35. package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.d.ts +1 -1
  36. package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.d.ts.map +1 -1
  37. package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.js +3 -4
  38. package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.js.map +1 -1
  39. package/dist/cjs/types/Interface/api/report/UpdateReport.d.ts +6 -13
  40. package/dist/cjs/types/Interface/api/report/UpdateReport.d.ts.map +1 -1
  41. package/dist/cjs/types/Interface/api/report/UpdateReport.js +0 -120
  42. package/dist/cjs/types/Interface/api/report/UpdateReport.js.map +1 -1
  43. package/dist/cjs/types/Interface/models/IReport.d.ts +1 -10
  44. package/dist/cjs/types/Interface/models/IReport.d.ts.map +1 -1
  45. package/dist/cjs/types/Interface/models/IReport.js.map +1 -1
  46. package/dist/cjs/types/index.d.ts +0 -3
  47. package/dist/cjs/types/index.d.ts.map +1 -1
  48. package/dist/cjs/types/index.js +0 -3
  49. package/dist/cjs/types/index.js.map +1 -1
  50. package/dist/mjs/api/resources/Comment.d.ts +2 -2
  51. package/dist/mjs/api/resources/Comment.d.ts.map +1 -1
  52. package/dist/mjs/api/resources/Comment.js.map +1 -1
  53. package/dist/mjs/api/resources/Report.d.ts +3 -4
  54. package/dist/mjs/api/resources/Report.d.ts.map +1 -1
  55. package/dist/mjs/api/resources/Report.js +1 -17
  56. package/dist/mjs/api/resources/Report.js.map +1 -1
  57. package/dist/mjs/api/resources.d.ts +0 -2
  58. package/dist/mjs/api/resources.d.ts.map +1 -1
  59. package/dist/mjs/api/resources.js +0 -2
  60. package/dist/mjs/api/resources.js.map +1 -1
  61. package/dist/mjs/types/Enum/Ged.d.ts +7 -2
  62. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  63. package/dist/mjs/types/Enum/Ged.js +123 -0
  64. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  65. package/dist/mjs/types/Enum/ReportService.d.ts +1 -4
  66. package/dist/mjs/types/Enum/ReportService.d.ts.map +1 -1
  67. package/dist/mjs/types/Enum/ReportService.js +18 -39
  68. package/dist/mjs/types/Enum/ReportService.js.map +1 -1
  69. package/dist/mjs/types/Enum/ReportType.d.ts +1 -9
  70. package/dist/mjs/types/Enum/ReportType.d.ts.map +1 -1
  71. package/dist/mjs/types/Enum/ReportType.js +1 -41
  72. package/dist/mjs/types/Enum/ReportType.js.map +1 -1
  73. package/dist/mjs/types/Enum/TaskResponseType.d.ts.map +1 -1
  74. package/dist/mjs/types/Enum/TaskResponseType.js +0 -33
  75. package/dist/mjs/types/Enum/TaskResponseType.js.map +1 -1
  76. package/dist/mjs/types/Interface/api/report/CreateReport.d.ts +1 -3
  77. package/dist/mjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  78. package/dist/mjs/types/Interface/api/report/CreateReport.js +2 -13
  79. package/dist/mjs/types/Interface/api/report/CreateReport.js.map +1 -1
  80. package/dist/mjs/types/Interface/api/report/QueryReports.d.ts +1 -5
  81. package/dist/mjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
  82. package/dist/mjs/types/Interface/api/report/QueryReports.js +2 -24
  83. package/dist/mjs/types/Interface/api/report/QueryReports.js.map +1 -1
  84. package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.d.ts +1 -1
  85. package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.d.ts.map +1 -1
  86. package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.js +3 -5
  87. package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.js.map +1 -1
  88. package/dist/mjs/types/Interface/api/report/UpdateReport.d.ts +6 -13
  89. package/dist/mjs/types/Interface/api/report/UpdateReport.d.ts.map +1 -1
  90. package/dist/mjs/types/Interface/api/report/UpdateReport.js +1 -135
  91. package/dist/mjs/types/Interface/api/report/UpdateReport.js.map +1 -1
  92. package/dist/mjs/types/Interface/models/IReport.d.ts +1 -10
  93. package/dist/mjs/types/Interface/models/IReport.d.ts.map +1 -1
  94. package/dist/mjs/types/Interface/models/IReport.js.map +1 -1
  95. package/dist/mjs/types/index.d.ts +0 -3
  96. package/dist/mjs/types/index.d.ts.map +1 -1
  97. package/dist/mjs/types/index.js +0 -3
  98. package/dist/mjs/types/index.js.map +1 -1
  99. package/package.json +1 -1
  100. package/ts/api/resources/Comment.ts +2 -2
  101. package/ts/api/resources/Report.ts +4 -19
  102. package/ts/api/resources.ts +0 -2
  103. package/ts/types/Enum/Ged.ts +132 -10
  104. package/ts/types/Enum/ReportService.ts +3 -24
  105. package/ts/types/Enum/ReportType.ts +1 -41
  106. package/ts/types/Enum/TaskResponseType.ts +0 -33
  107. package/ts/types/Interface/api/report/CreateReport.ts +2 -9
  108. package/ts/types/Interface/api/report/QueryReports.ts +2 -18
  109. package/ts/types/Interface/api/report/QueryReportsForLetter.ts +2 -2
  110. package/ts/types/Interface/api/report/UpdateReport.ts +6 -85
  111. package/ts/types/Interface/models/IReport.ts +1 -10
  112. package/ts/types/index.ts +0 -3
  113. package/dist/cjs/api/resources/ReportHistory.d.ts +0 -13
  114. package/dist/cjs/api/resources/ReportHistory.d.ts.map +0 -1
  115. package/dist/cjs/api/resources/ReportHistory.js +0 -18
  116. package/dist/cjs/api/resources/ReportHistory.js.map +0 -1
  117. package/dist/cjs/types/Enum/ReportSource.d.ts +0 -13
  118. package/dist/cjs/types/Enum/ReportSource.d.ts.map +0 -1
  119. package/dist/cjs/types/Enum/ReportSource.js +0 -29
  120. package/dist/cjs/types/Enum/ReportSource.js.map +0 -1
  121. package/dist/cjs/types/Interface/api/reportHistory/Query.d.ts +0 -4
  122. package/dist/cjs/types/Interface/api/reportHistory/Query.d.ts.map +0 -1
  123. package/dist/cjs/types/Interface/api/reportHistory/Query.js +0 -23
  124. package/dist/cjs/types/Interface/api/reportHistory/Query.js.map +0 -1
  125. package/dist/cjs/types/Interface/models/IReportHistory.d.ts +0 -19
  126. package/dist/cjs/types/Interface/models/IReportHistory.d.ts.map +0 -1
  127. package/dist/cjs/types/Interface/models/IReportHistory.js +0 -3
  128. package/dist/cjs/types/Interface/models/IReportHistory.js.map +0 -1
  129. package/dist/mjs/api/resources/ReportHistory.d.ts +0 -13
  130. package/dist/mjs/api/resources/ReportHistory.d.ts.map +0 -1
  131. package/dist/mjs/api/resources/ReportHistory.js +0 -17
  132. package/dist/mjs/api/resources/ReportHistory.js.map +0 -1
  133. package/dist/mjs/types/Enum/ReportSource.d.ts +0 -13
  134. package/dist/mjs/types/Enum/ReportSource.d.ts.map +0 -1
  135. package/dist/mjs/types/Enum/ReportSource.js +0 -26
  136. package/dist/mjs/types/Enum/ReportSource.js.map +0 -1
  137. package/dist/mjs/types/Interface/api/reportHistory/Query.d.ts +0 -4
  138. package/dist/mjs/types/Interface/api/reportHistory/Query.d.ts.map +0 -1
  139. package/dist/mjs/types/Interface/api/reportHistory/Query.js +0 -20
  140. package/dist/mjs/types/Interface/api/reportHistory/Query.js.map +0 -1
  141. package/dist/mjs/types/Interface/models/IReportHistory.d.ts +0 -19
  142. package/dist/mjs/types/Interface/models/IReportHistory.d.ts.map +0 -1
  143. package/dist/mjs/types/Interface/models/IReportHistory.js +0 -2
  144. package/dist/mjs/types/Interface/models/IReportHistory.js.map +0 -1
  145. package/ts/api/resources/ReportHistory.ts +0 -18
  146. package/ts/types/Enum/ReportSource.ts +0 -30
  147. package/ts/types/Interface/api/reportHistory/Query.ts +0 -8
  148. package/ts/types/Interface/models/IReportHistory.ts +0 -22
@@ -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,4 +0,0 @@
1
- export declare class QueryAllReportHistory {
2
- idReport: number;
3
- }
4
- //# sourceMappingURL=Query.d.ts.map
@@ -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,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IReportHistory.js.map
@@ -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,4 +0,0 @@
1
- export declare class QueryAllReportHistory {
2
- idReport: number;
3
- }
4
- //# sourceMappingURL=Query.d.ts.map
@@ -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
@@ -1 +0,0 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/reportHistory/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,qBAAqB;IAGhC,QAAQ,CAAS;CAClB;AADC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IReportHistory.js.map
@@ -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,18 +0,0 @@
1
- import { IReportHistory, QueryAllReportHistory } from '../../types';
2
- import { Resource } from '../Resource';
3
-
4
- export class ReportHistory extends Resource {
5
- /**
6
- * Report Message Get All
7
- * @param { QueryAllReportHistory } params
8
- * @param { CancelToken } cancelToken
9
- * @param { AbortSignal } signal
10
- * @returns { Promise<IReportHistory[]> }
11
- */
12
- getAll(params: QueryAllReportHistory, signal?: AbortSignal): Promise<IReportHistory[]> {
13
- return this.axios.$get('/report-history/all', {
14
- params,
15
- ...(signal ? { signal } : {}),
16
- });
17
- }
18
- }
@@ -1,30 +0,0 @@
1
- export enum ReportSource {
2
- LETTER = 1,
3
- MAIL = 2,
4
- INTERNAL = 3,
5
- CLIENT = 4,
6
- }
7
-
8
- interface ReportSourceInterface {
9
- id: ReportSource;
10
- name: string;
11
- }
12
-
13
- export const ReportSourceDetails: ReportSourceInterface[] = [
14
- {
15
- id: ReportSource.LETTER,
16
- name: 'Courrier',
17
- },
18
- {
19
- id: ReportSource.MAIL,
20
- name: 'Mail',
21
- },
22
- {
23
- id: ReportSource.INTERNAL,
24
- name: 'Interne',
25
- },
26
- {
27
- id: ReportSource.CLIENT,
28
- name: 'Client',
29
- },
30
- ];
@@ -1,8 +0,0 @@
1
- import { IsInt } from 'class-validator';
2
- import { ApiProperty } from '../../../../utils';
3
-
4
- export class QueryAllReportHistory {
5
- @ApiProperty()
6
- @IsInt()
7
- idReport: number;
8
- }
@@ -1,22 +0,0 @@
1
- import { ReportTypeEnum } from '../../Enum/ReportType';
2
- import { IReport } from './IReport';
3
- import { IUser } from './IUser';
4
-
5
- // reportHistory
6
- export interface IReportHistory {
7
- id?: number;
8
- idSource?: number | null;
9
- idReportType?: ReportTypeEnum[] | null;
10
- state?: number | null;
11
- idUserConcerned?: number | null;
12
- idServiceConcerned?: number | null;
13
- idReport?: number;
14
- idUser?: number | null;
15
- createdAt?: Date | null;
16
- updatedAt?: Date | null;
17
-
18
- // Associations
19
- userConcerned?: IUser;
20
- report?: IReport;
21
- user?: IUser;
22
- }