@silexpert/core 1.3.158-5 → 1.3.158-7

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.
@@ -11,35 +11,35 @@ var ReportService;
11
11
  ReportService[ReportService["REFERENT_CLIENT"] = 5] = "REFERENT_CLIENT";
12
12
  })(ReportService || (exports.ReportService = ReportService = {}));
13
13
  exports.ReportServiceList = [
14
- {
15
- id: ReportService.REFERENT_LITIGE,
16
- label: 'Référent litige',
17
- idRole: RoleDetail_1.RoleDetail.REFERENT_LITIGE.id,
18
- idTaskType: 12,
14
+ /* {
15
+ id: ReportService.REFERENT_LITIGE,
16
+ label: 'Référent litige',
17
+ idRole: RoleDetail.REFERENT_LITIGE.id,
18
+ idTaskType: 12,
19
19
  },
20
20
  {
21
- id: ReportService.COMPTABLE,
22
- label: 'Comptable',
23
- idRole: RoleDetail_1.RoleDetail.FRONT_OFFICE.id,
24
- idTaskType: 16,
25
- },
21
+ id: ReportService.COMPTABLE,
22
+ label: 'Comptable',
23
+ idRole: RoleDetail.FRONT_OFFICE.id,
24
+ idTaskType: 16,
25
+ }, */
26
26
  {
27
27
  id: ReportService.CUSTOMER_SUCCESS,
28
28
  label: 'Customer Success',
29
29
  idRole: RoleDetail_1.RoleDetail.CUSTOMER_SUCCESS.id,
30
30
  idTaskType: 14,
31
31
  },
32
- {
33
- id: ReportService.EXPERT_ACCOUNTANT,
34
- label: 'Expert Comptable',
35
- idRole: RoleDetail_1.RoleDetail.EXPERT_ACCOUNTANT.id,
36
- idTaskType: 15,
32
+ /* {
33
+ id: ReportService.EXPERT_ACCOUNTANT,
34
+ label: 'Expert Comptable',
35
+ idRole: RoleDetail.EXPERT_ACCOUNTANT.id,
36
+ idTaskType: 15,
37
37
  },
38
38
  {
39
- id: ReportService.REFERENT_CLIENT,
40
- label: 'Référent client',
41
- idRole: RoleDetail_1.RoleDetail.REFERENT_CLIENT.id,
42
- idTaskType: 13,
43
- },
39
+ id: ReportService.REFERENT_CLIENT,
40
+ label: 'Référent client',
41
+ idRole: RoleDetail.REFERENT_CLIENT.id,
42
+ idTaskType: 13,
43
+ }, */
44
44
  ];
45
45
  //# sourceMappingURL=ReportService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReportService.js","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportService.ts"],"names":[],"mappings":";;;AAAA,6CAA0C;AAI1C,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,uEAAmB,CAAA;IACnB,2DAAa,CAAA;IACb,yEAAoB,CAAA;IACpB,2EAAqB,CAAA;IACrB,uEAAmB,CAAA;AACrB,CAAC,EANW,aAAa,6BAAb,aAAa,QAMxB;AAEY,QAAA,iBAAiB,GAAe;IAC3C;QACE,EAAE,EAAE,aAAa,CAAC,eAAe;QACjC,KAAK,EAAE,iBAAiB;QACxB,MAAM,EAAE,uBAAU,CAAC,eAAe,CAAC,EAAE;QACrC,UAAU,EAAE,EAAE;KACf;IACD;QACE,EAAE,EAAE,aAAa,CAAC,SAAS;QAC3B,KAAK,EAAE,WAAW;QAClB,MAAM,EAAE,uBAAU,CAAC,YAAY,CAAC,EAAE;QAClC,UAAU,EAAE,EAAE;KACf;IACD;QACE,EAAE,EAAE,aAAa,CAAC,gBAAgB;QAClC,KAAK,EAAE,kBAAkB;QACzB,MAAM,EAAE,uBAAU,CAAC,gBAAgB,CAAC,EAAE;QACtC,UAAU,EAAE,EAAE;KACf;IACD;QACE,EAAE,EAAE,aAAa,CAAC,iBAAiB;QACnC,KAAK,EAAE,kBAAkB;QACzB,MAAM,EAAE,uBAAU,CAAC,iBAAiB,CAAC,EAAE;QACvC,UAAU,EAAE,EAAE;KACf;IACD;QACE,EAAE,EAAE,aAAa,CAAC,eAAe;QACjC,KAAK,EAAE,iBAAiB;QACxB,MAAM,EAAE,uBAAU,CAAC,eAAe,CAAC,EAAE;QACrC,UAAU,EAAE,EAAE;KACf;CACF,CAAC","sourcesContent":["import { RoleDetail } from './RoleDetail';\n\nexport type ListReport = Array<{ label: string; id: number; idRole: number; idTaskType: number }>;\n\nexport enum ReportService {\n REFERENT_LITIGE = 1,\n COMPTABLE = 2,\n CUSTOMER_SUCCESS = 3,\n EXPERT_ACCOUNTANT = 4,\n REFERENT_CLIENT = 5,\n}\n\nexport const ReportServiceList: ListReport = [\n {\n id: ReportService.REFERENT_LITIGE,\n label: 'Référent litige',\n idRole: RoleDetail.REFERENT_LITIGE.id,\n idTaskType: 12,\n },\n {\n id: ReportService.COMPTABLE,\n label: 'Comptable',\n idRole: RoleDetail.FRONT_OFFICE.id,\n idTaskType: 16,\n },\n {\n id: ReportService.CUSTOMER_SUCCESS,\n label: 'Customer Success',\n idRole: RoleDetail.CUSTOMER_SUCCESS.id,\n idTaskType: 14,\n },\n {\n id: ReportService.EXPERT_ACCOUNTANT,\n label: 'Expert Comptable',\n idRole: RoleDetail.EXPERT_ACCOUNTANT.id,\n idTaskType: 15,\n },\n {\n id: ReportService.REFERENT_CLIENT,\n label: 'Référent client',\n idRole: RoleDetail.REFERENT_CLIENT.id,\n idTaskType: 13,\n },\n];\n"]}
1
+ {"version":3,"file":"ReportService.js","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportService.ts"],"names":[],"mappings":";;;AAAA,6CAA0C;AAI1C,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,uEAAmB,CAAA;IACnB,2DAAa,CAAA;IACb,yEAAoB,CAAA;IACpB,2EAAqB,CAAA;IACrB,uEAAmB,CAAA;AACrB,CAAC,EANW,aAAa,6BAAb,aAAa,QAMxB;AAEY,QAAA,iBAAiB,GAAe;IAC3C;;;;;;;;;;;SAWK;IACL;QACE,EAAE,EAAE,aAAa,CAAC,gBAAgB;QAClC,KAAK,EAAE,kBAAkB;QACzB,MAAM,EAAE,uBAAU,CAAC,gBAAgB,CAAC,EAAE;QACtC,UAAU,EAAE,EAAE;KACf;IACD;;;;;;;;;;;SAWK;CACN,CAAC","sourcesContent":["import { RoleDetail } from './RoleDetail';\n\nexport type ListReport = Array<{ label: string; id: number; idRole: number; idTaskType: number }>;\n\nexport enum ReportService {\n REFERENT_LITIGE = 1,\n COMPTABLE = 2,\n CUSTOMER_SUCCESS = 3,\n EXPERT_ACCOUNTANT = 4,\n REFERENT_CLIENT = 5,\n}\n\nexport const ReportServiceList: ListReport = [\n /* {\n id: ReportService.REFERENT_LITIGE,\n label: 'Référent litige',\n idRole: RoleDetail.REFERENT_LITIGE.id,\n idTaskType: 12,\n },\n {\n id: ReportService.COMPTABLE,\n label: 'Comptable',\n idRole: RoleDetail.FRONT_OFFICE.id,\n idTaskType: 16,\n }, */\n {\n id: ReportService.CUSTOMER_SUCCESS,\n label: 'Customer Success',\n idRole: RoleDetail.CUSTOMER_SUCCESS.id,\n idTaskType: 14,\n },\n /* {\n id: ReportService.EXPERT_ACCOUNTANT,\n label: 'Expert Comptable',\n idRole: RoleDetail.EXPERT_ACCOUNTANT.id,\n idTaskType: 15,\n },\n {\n id: ReportService.REFERENT_CLIENT,\n label: 'Référent client',\n idRole: RoleDetail.REFERENT_CLIENT.id,\n idTaskType: 13,\n }, */\n];\n"]}
@@ -1,6 +1,7 @@
1
1
  import { IReport } from '../../..';
2
2
  import { TFile } from '../file/TFile';
3
3
  export declare class CreateReport implements IReport {
4
+ idSource: number;
4
5
  idReportType?: number[];
5
6
  idSociety?: number;
6
7
  idFile?: number;
@@ -15,6 +16,7 @@ export declare class CreateReport implements IReport {
15
16
  action?: number;
16
17
  processed?: boolean;
17
18
  letterDate?: Date;
19
+ receivedAt?: Date;
18
20
  receivedFile?: TFile;
19
21
  responseFile?: TFile;
20
22
  token?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"CreateReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,YAAa,YAAW,OAAO;IAI1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AAC,EAAE,OAAO,CAAC;IAKtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,SAAS,CAAC,EAAE,OAAO,CAAC;IAIpB,UAAU,CAAC,EAAE,IAAI,CAAC;IAIlB,UAAU,CAAC,EAAE,IAAI,CAAC;IAIlB,YAAY,CAAC,EAAE,KAAK,CAAC;IAIrB,YAAY,CAAC,EAAE,KAAK,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -15,6 +15,11 @@ const utils_1 = require("../../../../utils");
15
15
  class CreateReport {
16
16
  }
17
17
  exports.CreateReport = CreateReport;
18
+ __decorate([
19
+ (0, utils_1.ApiProperty)(),
20
+ (0, class_validator_1.IsInt)(),
21
+ __metadata("design:type", Number)
22
+ ], CreateReport.prototype, "idSource", void 0);
18
23
  __decorate([
19
24
  (0, utils_1.ApiPropertyOptional)(),
20
25
  (0, class_validator_1.IsOptional)(),
@@ -93,6 +98,11 @@ __decorate([
93
98
  (0, class_validator_1.IsOptional)(),
94
99
  __metadata("design:type", Date)
95
100
  ], CreateReport.prototype, "letterDate", void 0);
101
+ __decorate([
102
+ (0, utils_1.ApiPropertyOptional)(),
103
+ (0, class_validator_1.IsOptional)(),
104
+ __metadata("design:type", Date)
105
+ ], CreateReport.prototype, "receivedAt", void 0);
96
106
  __decorate([
97
107
  (0, utils_1.ApiPropertyOptional)(),
98
108
  (0, class_validator_1.IsOptional)(),
@@ -1 +1 @@
1
- {"version":3,"file":"CreateReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAE9D,6CAAqE;AAGrE,MAAa,YAAY;CA6ExB;AA7ED,oCA6EC;AAzEC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;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AA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACI","sourcesContent":["import { IsInt, IsOptional, IsString } from 'class-validator';\nimport { IReport } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class CreateReport implements IReport {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idReportType?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idFile?: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idServiceConcerned?: number;\n\n @ApiProperty()\n @IsString()\n comment: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n declareSoupcons?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n state?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n informerjlb?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n ressenti?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n action?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n processed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n letterDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n receivedFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n responseFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string;\n}\n"]}
1
+ {"version":3,"file":"CreateReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAE9D,6CAAqE;AAGrE,MAAa,YAAY;CAqFxB;AArFD,oCAqFC;AAlFC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;8CACS;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E;8BACA,IAAI;gDAAC;AAIlB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;kDACQ;AAIrB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;kDACQ;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACI","sourcesContent":["import { IsInt, IsOptional, IsString } from 'class-validator';\nimport { IReport } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class CreateReport implements IReport {\n @ApiProperty()\n @IsInt()\n idSource: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idReportType?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idFile?: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idServiceConcerned?: number;\n\n @ApiProperty()\n @IsString()\n comment: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n declareSoupcons?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n state?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n informerjlb?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n ressenti?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n action?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n processed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n letterDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n receivedAt?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n receivedFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n responseFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string;\n}\n"]}
@@ -30,8 +30,10 @@ export interface IReport {
30
30
  ressenti?: number | null;
31
31
  action?: number | null;
32
32
  processed?: boolean | null;
33
+ receivedAt?: Date | null;
33
34
  createdAt?: Date | null;
34
35
  updatedAt?: Date | null;
36
+ deletedAt?: Date | null;
35
37
  society?: ISociety;
36
38
  file?: IFile;
37
39
  calendarEvent?: ICalendarEvent;
@@ -1 +1 @@
1
- {"version":3,"file":"IReport.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IReport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,MAAM,WAAW,OAAO;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC;IACvC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,SAAS,CAAC,EAA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AG,IAAI,CAAC;IAC/B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,WAAW,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACzB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,aAAa,CAAC,EAAE,cAAc,CAAC;IAC/B,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;IACtB,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;IAC5B,kBAAkB,CAAC,EAAE,mBAAmB,CAAC;IACzC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;CAC5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"IReport.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IReport.ts"],"names":[],"mappings":"","sourcesContent":["import { ReportTypeEnum } from '../../Enum/ReportType';\nimport { ICalendarEvent } from './ICalendarEvent';\nimport { IComment } from './IComment';\nimport { ICustomerAcceptance } from './ICustomerAcceptance';\nimport { IFile } from './IFile';\nimport { ILetter } from './ILetter';\nimport { IReportHistory } from './IReportHistory';\nimport { IReportMessage } from './IReportMessage';\nimport { ISociety } from './ISociety';\nimport { IUser } from './IUser';\n\n// report\nexport interface IReport {\n id?: number;\n idSociety?: number | null;\n idSource?: number | null;\n idReportType?: ReportTypeEnum[] | null;\n idCalendarEvent?: number;\n idUserConcerned?: number | null;\n idServiceConcerned?: number | null;\n idService?: number | null;\n idFile?: number | null;\n fileLink?: string;\n idLetterType?: number | null;\n declareSoupcons?: boolean | null;\n token?: string | null;\n state?: number | null;\n compensationAmount?: number | null;\n compensationDate?: Date | null;\n compensationType?: number | null;\n informerjlb?: boolean | null;\n ressenti?: number | null;\n action?: number | null;\n processed?: boolean | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n file?: IFile;\n calendarEvent?: ICalendarEvent;\n userConcerned?: IUser;\n comments?: IComment[];\n messages?: IReportMessage[];\n customerAcceptance?: ICustomerAcceptance;\n letter?: ILetter;\n history?: IReportHistory[];\n}\n"]}
1
+ {"version":3,"file":"IReport.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IReport.ts"],"names":[],"mappings":"","sourcesContent":["import { ReportTypeEnum } from '../../Enum/ReportType';\nimport { ICalendarEvent } from './ICalendarEvent';\nimport { IComment } from './IComment';\nimport { ICustomerAcceptance } from './ICustomerAcceptance';\nimport { IFile } from './IFile';\nimport { ILetter } from './ILetter';\nimport { IReportHistory } from './IReportHistory';\nimport { IReportMessage } from './IReportMessage';\nimport { ISociety } from './ISociety';\nimport { IUser } from './IUser';\n\n// report\nexport interface IReport {\n id?: number;\n idSociety?: number | null;\n idSource?: number | null;\n idReportType?: ReportTypeEnum[] | null;\n idCalendarEvent?: number;\n idUserConcerned?: number | null;\n idServiceConcerned?: number | null;\n idService?: number | null;\n idFile?: number | null;\n fileLink?: string;\n idLetterType?: number | null;\n declareSoupcons?: boolean | null;\n token?: string | null;\n state?: number | null;\n compensationAmount?: number | null;\n compensationDate?: Date | null;\n compensationType?: number | null;\n informerjlb?: boolean | null;\n ressenti?: number | null;\n action?: number | null;\n processed?: boolean | null;\n receivedAt?: Date | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n file?: IFile;\n calendarEvent?: ICalendarEvent;\n userConcerned?: IUser;\n comments?: IComment[];\n messages?: IReportMessage[];\n customerAcceptance?: ICustomerAcceptance;\n letter?: ILetter;\n history?: IReportHistory[];\n}\n"]}
@@ -8,35 +8,35 @@ export var ReportService;
8
8
  ReportService[ReportService["REFERENT_CLIENT"] = 5] = "REFERENT_CLIENT";
9
9
  })(ReportService || (ReportService = {}));
10
10
  export const ReportServiceList = [
11
- {
12
- id: ReportService.REFERENT_LITIGE,
13
- label: 'Référent litige',
14
- idRole: RoleDetail.REFERENT_LITIGE.id,
15
- idTaskType: 12,
11
+ /* {
12
+ id: ReportService.REFERENT_LITIGE,
13
+ label: 'Référent litige',
14
+ idRole: RoleDetail.REFERENT_LITIGE.id,
15
+ idTaskType: 12,
16
16
  },
17
17
  {
18
- id: ReportService.COMPTABLE,
19
- label: 'Comptable',
20
- idRole: RoleDetail.FRONT_OFFICE.id,
21
- idTaskType: 16,
22
- },
18
+ id: ReportService.COMPTABLE,
19
+ label: 'Comptable',
20
+ idRole: RoleDetail.FRONT_OFFICE.id,
21
+ idTaskType: 16,
22
+ }, */
23
23
  {
24
24
  id: ReportService.CUSTOMER_SUCCESS,
25
25
  label: 'Customer Success',
26
26
  idRole: RoleDetail.CUSTOMER_SUCCESS.id,
27
27
  idTaskType: 14,
28
28
  },
29
- {
30
- id: ReportService.EXPERT_ACCOUNTANT,
31
- label: 'Expert Comptable',
32
- idRole: RoleDetail.EXPERT_ACCOUNTANT.id,
33
- idTaskType: 15,
29
+ /* {
30
+ id: ReportService.EXPERT_ACCOUNTANT,
31
+ label: 'Expert Comptable',
32
+ idRole: RoleDetail.EXPERT_ACCOUNTANT.id,
33
+ idTaskType: 15,
34
34
  },
35
35
  {
36
- id: ReportService.REFERENT_CLIENT,
37
- label: 'Référent client',
38
- idRole: RoleDetail.REFERENT_CLIENT.id,
39
- idTaskType: 13,
40
- },
36
+ id: ReportService.REFERENT_CLIENT,
37
+ label: 'Référent client',
38
+ idRole: RoleDetail.REFERENT_CLIENT.id,
39
+ idTaskType: 13,
40
+ }, */
41
41
  ];
42
42
  //# sourceMappingURL=ReportService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReportService.js","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI1C,MAAM,CAAN,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,uEAAmB,CAAA;IACnB,2DAAa,CAAA;IACb,yEAAoB,CAAA;IACpB,2EAAqB,CAAA;IACrB,uEAAmB,CAAA;AACrB,CAAC,EANW,aAAa,KAAb,aAAa,QAMxB;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAe;IAC3C;QACE,EAAE,EAAE,aAAa,CAAC,eAAe;QACjC,KAAK,EAAE,iBAAiB;QACxB,MAAM,EAAE,UAAU,CAAC,eAAe,CAAC,EAAE;QACrC,UAAU,EAAE,EAAE;KACf;IACD;QACE,EAAE,EAAE,aAAa,CAAC,SAAS;QAC3B,KAAK,EAAE,WAAW;QAClB,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC,EAAE;QAClC,UAAU,EAAE,EAAE;KACf;IACD;QACE,EAAE,EAAE,aAAa,CAAC,gBAAgB;QAClC,KAAK,EAAE,kBAAkB;QACzB,MAAM,EAAE,UAAU,CAAC,gBAAgB,CAAC,EAAE;QACtC,UAAU,EAAE,EAAE;KACf;IACD;QACE,EAAE,EAAE,aAAa,CAAC,iBAAiB;QACnC,KAAK,EAAE,kBAAkB;QACzB,MAAM,EAAE,UAAU,CAAC,iBAAiB,CAAC,EAAE;QACvC,UAAU,EAAE,EAAE;KACf;IACD;QACE,EAAE,EAAE,aAAa,CAAC,eAAe;QACjC,KAAK,EAAE,iBAAiB;QACxB,MAAM,EAAE,UAAU,CAAC,eAAe,CAAC,EAAE;QACrC,UAAU,EAAE,EAAE;KACf;CACF,CAAC","sourcesContent":["import { RoleDetail } from './RoleDetail';\n\nexport type ListReport = Array<{ label: string; id: number; idRole: number; idTaskType: number }>;\n\nexport enum ReportService {\n REFERENT_LITIGE = 1,\n COMPTABLE = 2,\n CUSTOMER_SUCCESS = 3,\n EXPERT_ACCOUNTANT = 4,\n REFERENT_CLIENT = 5,\n}\n\nexport const ReportServiceList: ListReport = [\n {\n id: ReportService.REFERENT_LITIGE,\n label: 'Référent litige',\n idRole: RoleDetail.REFERENT_LITIGE.id,\n idTaskType: 12,\n },\n {\n id: ReportService.COMPTABLE,\n label: 'Comptable',\n idRole: RoleDetail.FRONT_OFFICE.id,\n idTaskType: 16,\n },\n {\n id: ReportService.CUSTOMER_SUCCESS,\n label: 'Customer Success',\n idRole: RoleDetail.CUSTOMER_SUCCESS.id,\n idTaskType: 14,\n },\n {\n id: ReportService.EXPERT_ACCOUNTANT,\n label: 'Expert Comptable',\n idRole: RoleDetail.EXPERT_ACCOUNTANT.id,\n idTaskType: 15,\n },\n {\n id: ReportService.REFERENT_CLIENT,\n label: 'Référent client',\n idRole: RoleDetail.REFERENT_CLIENT.id,\n idTaskType: 13,\n },\n];\n"]}
1
+ {"version":3,"file":"ReportService.js","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI1C,MAAM,CAAN,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,uEAAmB,CAAA;IACnB,2DAAa,CAAA;IACb,yEAAoB,CAAA;IACpB,2EAAqB,CAAA;IACrB,uEAAmB,CAAA;AACrB,CAAC,EANW,aAAa,KAAb,aAAa,QAMxB;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAe;IAC3C;;;;;;;;;;;SAWK;IACL;QACE,EAAE,EAAE,aAAa,CAAC,gBAAgB;QAClC,KAAK,EAAE,kBAAkB;QACzB,MAAM,EAAE,UAAU,CAAC,gBAAgB,CAAC,EAAE;QACtC,UAAU,EAAE,EAAE;KACf;IACD;;;;;;;;;;;SAWK;CACN,CAAC","sourcesContent":["import { RoleDetail } from './RoleDetail';\n\nexport type ListReport = Array<{ label: string; id: number; idRole: number; idTaskType: number }>;\n\nexport enum ReportService {\n REFERENT_LITIGE = 1,\n COMPTABLE = 2,\n CUSTOMER_SUCCESS = 3,\n EXPERT_ACCOUNTANT = 4,\n REFERENT_CLIENT = 5,\n}\n\nexport const ReportServiceList: ListReport = [\n /* {\n id: ReportService.REFERENT_LITIGE,\n label: 'Référent litige',\n idRole: RoleDetail.REFERENT_LITIGE.id,\n idTaskType: 12,\n },\n {\n id: ReportService.COMPTABLE,\n label: 'Comptable',\n idRole: RoleDetail.FRONT_OFFICE.id,\n idTaskType: 16,\n }, */\n {\n id: ReportService.CUSTOMER_SUCCESS,\n label: 'Customer Success',\n idRole: RoleDetail.CUSTOMER_SUCCESS.id,\n idTaskType: 14,\n },\n /* {\n id: ReportService.EXPERT_ACCOUNTANT,\n label: 'Expert Comptable',\n idRole: RoleDetail.EXPERT_ACCOUNTANT.id,\n idTaskType: 15,\n },\n {\n id: ReportService.REFERENT_CLIENT,\n label: 'Référent client',\n idRole: RoleDetail.REFERENT_CLIENT.id,\n idTaskType: 13,\n }, */\n];\n"]}
@@ -1,6 +1,7 @@
1
1
  import { IReport } from '../../..';
2
2
  import { TFile } from '../file/TFile';
3
3
  export declare class CreateReport implements IReport {
4
+ idSource: number;
4
5
  idReportType?: number[];
5
6
  idSociety?: number;
6
7
  idFile?: number;
@@ -15,6 +16,7 @@ export declare class CreateReport implements IReport {
15
16
  action?: number;
16
17
  processed?: boolean;
17
18
  letterDate?: Date;
19
+ receivedAt?: Date;
18
20
  receivedFile?: TFile;
19
21
  responseFile?: TFile;
20
22
  token?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"CreateReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,OAAO,EAAE,KAA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,OAAO,CAAC;IAK1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,WAAW,CAAC,EAAE,OAAO,CAAC;IAKtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,SAAS,CAAC,EAAE,OAAO,CAAC;IAIpB,UAAU,CAAC,EAAE,IAAI,CAAC;IAIlB,UAAU,CAAC,EAAE,IAAI,CAAC;IAIlB,YAAY,CAAC,EAAE,KAAK,CAAC;IAIrB,YAAY,CAAC,EAAE,KAAK,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  import { IsInt, IsOptional, IsString } from 'class-validator';
11
11
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
12
  export class CreateReport {
13
+ idSource;
13
14
  idReportType;
14
15
  idSociety;
15
16
  idFile;
@@ -24,10 +25,16 @@ export class CreateReport {
24
25
  action;
25
26
  processed;
26
27
  letterDate;
28
+ receivedAt;
27
29
  receivedFile;
28
30
  responseFile;
29
31
  token;
30
32
  }
33
+ __decorate([
34
+ ApiProperty(),
35
+ IsInt(),
36
+ __metadata("design:type", Number)
37
+ ], CreateReport.prototype, "idSource", void 0);
31
38
  __decorate([
32
39
  ApiPropertyOptional(),
33
40
  IsOptional(),
@@ -106,6 +113,11 @@ __decorate([
106
113
  IsOptional(),
107
114
  __metadata("design:type", Date)
108
115
  ], CreateReport.prototype, "letterDate", void 0);
116
+ __decorate([
117
+ ApiPropertyOptional(),
118
+ IsOptional(),
119
+ __metadata("design:type", Date)
120
+ ], CreateReport.prototype, "receivedAt", void 0);
109
121
  __decorate([
110
122
  ApiPropertyOptional(),
111
123
  IsOptional(),
@@ -1 +1 @@
1
- {"version":3,"file":"CreateReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EA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lB;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({ each: true })\n idReportType?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idFile?: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idServiceConcerned?: number;\n\n @ApiProperty()\n @IsString()\n comment: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n declareSoupcons?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n state?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n informerjlb?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n ressenti?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n action?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n processed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n letterDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n receivedFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n responseFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string;\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;IAGvB,QAAQ,CAAS;IAKjB,YAAY,CAAY;IAKxB,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,UAAU,CAAQ;IAIlB,YAAY,CAAS;IAIrB,YAAY,CAAS;IAKrB,KAAK,CAAU;CAChB;AAlFC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;8CACS;AAKjB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kDACE;AAKxB;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;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 @ApiProperty()\n @IsInt()\n idSource: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idReportType?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idFile?: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idServiceConcerned?: number;\n\n @ApiProperty()\n @IsString()\n comment: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n declareSoupcons?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n state?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n informerjlb?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n ressenti?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n action?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n processed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n letterDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n receivedAt?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n receivedFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n responseFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string;\n}\n"]}
@@ -30,8 +30,10 @@ export interface IReport {
30
30
  ressenti?: number | null;
31
31
  action?: number | null;
32
32
  processed?: boolean | null;
33
+ receivedAt?: Date | null;
33
34
  createdAt?: Date | null;
34
35
  updatedAt?: Date | null;
36
+ deletedAt?: Date | null;
35
37
  society?: ISociety;
36
38
  file?: IFile;
37
39
  calendarEvent?: ICalendarEvent;
@@ -1 +1 @@
1
- {"version":3,"file":"IReport.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IReport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACl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;IACjB,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;CAC5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"IReport.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IReport.ts"],"names":[],"mappings":"","sourcesContent":["import { ReportTypeEnum } from '../../Enum/ReportType';\nimport { ICalendarEvent } from './ICalendarEvent';\nimport { IComment } from './IComment';\nimport { ICustomerAcceptance } from './ICustomerAcceptance';\nimport { IFile } from './IFile';\nimport { ILetter } from './ILetter';\nimport { IReportHistory } from './IReportHistory';\nimport { IReportMessage } from './IReportMessage';\nimport { ISociety } from './ISociety';\nimport { IUser } from './IUser';\n\n// report\nexport interface IReport {\n id?: number;\n idSociety?: number | null;\n idSource?: number | null;\n idReportType?: ReportTypeEnum[] | null;\n idCalendarEvent?: number;\n idUserConcerned?: number | null;\n idServiceConcerned?: number | null;\n idService?: number | null;\n idFile?: number | null;\n fileLink?: string;\n idLetterType?: number | null;\n declareSoupcons?: boolean | null;\n token?: string | null;\n state?: number | null;\n compensationAmount?: number | null;\n compensationDate?: Date | null;\n compensationType?: number | null;\n informerjlb?: boolean | null;\n ressenti?: number | null;\n action?: number | null;\n processed?: boolean | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n file?: IFile;\n calendarEvent?: ICalendarEvent;\n userConcerned?: IUser;\n comments?: IComment[];\n messages?: IReportMessage[];\n customerAcceptance?: ICustomerAcceptance;\n letter?: ILetter;\n history?: IReportHistory[];\n}\n"]}
1
+ {"version":3,"file":"IReport.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IReport.ts"],"names":[],"mappings":"","sourcesContent":["import { ReportTypeEnum } from '../../Enum/ReportType';\nimport { ICalendarEvent } from './ICalendarEvent';\nimport { IComment } from './IComment';\nimport { ICustomerAcceptance } from './ICustomerAcceptance';\nimport { IFile } from './IFile';\nimport { ILetter } from './ILetter';\nimport { IReportHistory } from './IReportHistory';\nimport { IReportMessage } from './IReportMessage';\nimport { ISociety } from './ISociety';\nimport { IUser } from './IUser';\n\n// report\nexport interface IReport {\n id?: number;\n idSociety?: number | null;\n idSource?: number | null;\n idReportType?: ReportTypeEnum[] | null;\n idCalendarEvent?: number;\n idUserConcerned?: number | null;\n idServiceConcerned?: number | null;\n idService?: number | null;\n idFile?: number | null;\n fileLink?: string;\n idLetterType?: number | null;\n declareSoupcons?: boolean | null;\n token?: string | null;\n state?: number | null;\n compensationAmount?: number | null;\n compensationDate?: Date | null;\n compensationType?: number | null;\n informerjlb?: boolean | null;\n ressenti?: number | null;\n action?: number | null;\n processed?: boolean | null;\n receivedAt?: Date | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n file?: IFile;\n calendarEvent?: ICalendarEvent;\n userConcerned?: IUser;\n comments?: IComment[];\n messages?: IReportMessage[];\n customerAcceptance?: ICustomerAcceptance;\n letter?: ILetter;\n history?: IReportHistory[];\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.3.158-5",
3
+ "version": "1.3.158-7",
4
4
  "description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
5
5
  "homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
6
6
  "main": "dist/cjs/index.js",
@@ -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
  ];
@@ -4,6 +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
+
7
11
  @ApiPropertyOptional()
8
12
  @IsOptional()
9
13
  @IsInt({ each: true })
@@ -68,6 +72,10 @@ export class CreateReport implements IReport {
68
72
  @IsOptional()
69
73
  letterDate?: Date;
70
74
 
75
+ @ApiPropertyOptional()
76
+ @IsOptional()
77
+ receivedAt?: Date;
78
+
71
79
  @ApiPropertyOptional()
72
80
  @IsOptional()
73
81
  receivedFile?: TFile;
@@ -32,8 +32,10 @@ export interface IReport {
32
32
  ressenti?: number | null;
33
33
  action?: number | null;
34
34
  processed?: boolean | null;
35
+ receivedAt?: Date | null;
35
36
  createdAt?: Date | null;
36
37
  updatedAt?: Date | null;
38
+ deletedAt?: Date | null;
37
39
 
38
40
  // Associations
39
41
  society?: ISociety;