@silexpert/core 1.1.287 → 1.1.289

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 (78) hide show
  1. package/dist/cjs/api/resources/Society.d.ts +3 -1
  2. package/dist/cjs/api/resources/Society.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Society.js +8 -0
  4. package/dist/cjs/api/resources/Society.js.map +1 -1
  5. package/dist/cjs/api/resources/Task.d.ts +2 -2
  6. package/dist/cjs/api/resources/Task.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Task.js +2 -4
  8. package/dist/cjs/api/resources/Task.js.map +1 -1
  9. package/dist/cjs/types/Enum/Contest.d.ts +2 -12
  10. package/dist/cjs/types/Enum/Contest.d.ts.map +1 -1
  11. package/dist/cjs/types/Enum/Contest.js +2 -12
  12. package/dist/cjs/types/Enum/Contest.js.map +1 -1
  13. package/dist/cjs/types/Enum/Ged.d.ts +2 -1
  14. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  15. package/dist/cjs/types/Enum/Ged.js +2 -0
  16. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  17. package/dist/cjs/types/Interface/api/contest/Create.d.ts.map +1 -1
  18. package/dist/cjs/types/Interface/api/contest/Create.js +4 -24
  19. package/dist/cjs/types/Interface/api/contest/Create.js.map +1 -1
  20. package/dist/cjs/types/Interface/api/letter/CreateLetter.d.ts +3 -0
  21. package/dist/cjs/types/Interface/api/letter/CreateLetter.d.ts.map +1 -1
  22. package/dist/cjs/types/Interface/api/letter/CreateLetter.js +9 -1
  23. package/dist/cjs/types/Interface/api/letter/CreateLetter.js.map +1 -1
  24. package/dist/cjs/types/Interface/api/society/QuerySociety.d.ts +7 -0
  25. package/dist/cjs/types/Interface/api/society/QuerySociety.d.ts.map +1 -1
  26. package/dist/cjs/types/Interface/api/society/QuerySociety.js +28 -1
  27. package/dist/cjs/types/Interface/api/society/QuerySociety.js.map +1 -1
  28. package/dist/cjs/types/Interface/api/task/QueryPaginatedTask.d.ts +1 -0
  29. package/dist/cjs/types/Interface/api/task/QueryPaginatedTask.d.ts.map +1 -1
  30. package/dist/cjs/types/Interface/api/task/QueryPaginatedTask.js +7 -0
  31. package/dist/cjs/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
  32. package/dist/cjs/types/Interface/models/IFile.d.ts +2 -1
  33. package/dist/cjs/types/Interface/models/IFile.d.ts.map +1 -1
  34. package/dist/cjs/types/Interface/models/IFile.js.map +1 -1
  35. package/dist/mjs/api/resources/Society.d.ts +3 -1
  36. package/dist/mjs/api/resources/Society.d.ts.map +1 -1
  37. package/dist/mjs/api/resources/Society.js +8 -0
  38. package/dist/mjs/api/resources/Society.js.map +1 -1
  39. package/dist/mjs/api/resources/Task.d.ts +2 -2
  40. package/dist/mjs/api/resources/Task.d.ts.map +1 -1
  41. package/dist/mjs/api/resources/Task.js +2 -1
  42. package/dist/mjs/api/resources/Task.js.map +1 -1
  43. package/dist/mjs/types/Enum/Contest.d.ts +2 -12
  44. package/dist/mjs/types/Enum/Contest.d.ts.map +1 -1
  45. package/dist/mjs/types/Enum/Contest.js +2 -12
  46. package/dist/mjs/types/Enum/Contest.js.map +1 -1
  47. package/dist/mjs/types/Enum/Ged.d.ts +2 -1
  48. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  49. package/dist/mjs/types/Enum/Ged.js +2 -0
  50. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  51. package/dist/mjs/types/Interface/api/contest/Create.d.ts.map +1 -1
  52. package/dist/mjs/types/Interface/api/contest/Create.js +4 -24
  53. package/dist/mjs/types/Interface/api/contest/Create.js.map +1 -1
  54. package/dist/mjs/types/Interface/api/letter/CreateLetter.d.ts +3 -0
  55. package/dist/mjs/types/Interface/api/letter/CreateLetter.d.ts.map +1 -1
  56. package/dist/mjs/types/Interface/api/letter/CreateLetter.js +8 -0
  57. package/dist/mjs/types/Interface/api/letter/CreateLetter.js.map +1 -1
  58. package/dist/mjs/types/Interface/api/society/QuerySociety.d.ts +7 -0
  59. package/dist/mjs/types/Interface/api/society/QuerySociety.d.ts.map +1 -1
  60. package/dist/mjs/types/Interface/api/society/QuerySociety.js +32 -2
  61. package/dist/mjs/types/Interface/api/society/QuerySociety.js.map +1 -1
  62. package/dist/mjs/types/Interface/api/task/QueryPaginatedTask.d.ts +1 -0
  63. package/dist/mjs/types/Interface/api/task/QueryPaginatedTask.d.ts.map +1 -1
  64. package/dist/mjs/types/Interface/api/task/QueryPaginatedTask.js +8 -0
  65. package/dist/mjs/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
  66. package/dist/mjs/types/Interface/models/IFile.d.ts +2 -1
  67. package/dist/mjs/types/Interface/models/IFile.d.ts.map +1 -1
  68. package/dist/mjs/types/Interface/models/IFile.js.map +1 -1
  69. package/package.json +1 -1
  70. package/ts/api/resources/Society.ts +11 -1
  71. package/ts/api/resources/Task.ts +3 -2
  72. package/ts/types/Enum/Contest.ts +2 -12
  73. package/ts/types/Enum/Ged.ts +2 -0
  74. package/ts/types/Interface/api/contest/Create.ts +4 -24
  75. package/ts/types/Interface/api/letter/CreateLetter.ts +7 -0
  76. package/ts/types/Interface/api/society/QuerySociety.ts +25 -2
  77. package/ts/types/Interface/api/task/QueryPaginatedTask.ts +6 -0
  78. package/ts/types/Interface/models/IFile.ts +2 -1
@@ -116,4 +116,12 @@ __decorate([
116
116
  IsInt(),
117
117
  __metadata("design:type", Number)
118
118
  ], CreateLetter.prototype, "idMail", void 0);
119
+ export class BulkCreateLetter {
120
+ letters;
121
+ }
122
+ __decorate([
123
+ ApiProperty(),
124
+ IsString(),
125
+ __metadata("design:type", String)
126
+ ], BulkCreateLetter.prototype, "letters", void 0);
119
127
  //# sourceMappingURL=CreateLetter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateLetter.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/letter/CreateLetter.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAA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,EAAE;IACZ,QAAQ,EAAE;;8CACS;AAEpB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;kDACgB;AAExB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;oDACkB;AAE1B;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;oDACkB;AAE1B;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4CACU","sourcesContent":["import { IsBoolean, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ILetter } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateLetter implements ILetter {\n @ApiProperty()\n @IsInt()\n idLetterType: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idReport?: number;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n letterDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n complement?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isLRAR?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDone?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n state?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n needResponse?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n needResponseType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n ARNumber?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idAccountant?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idReceivedFile?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idResponseFile?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idMail?: number;\n}\n"]}
1
+ {"version":3,"file":"CreateLetter.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/letter/CreateLetter.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEzE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,YAAY;IAGrB,YAAY,CAAS;IAKrB,QAAQ,CAAU;IAIlB,SAAS,CAAS;IAGlB,UAAU,CAAO;IAKjB,UAAU,CAAU;IAMpB,MAAM,CAAW;IAMjB,MAAM,CAAW;IAKjB,KAAK,CAAU;IAMf,YAAY,CAAW;IAKvB,gBAAgB,CAAU;IAK1B,QAAQ,CAAU;IAKlB,YAAY,CAAU;IAKtB,cAAc,CAAU;IAKxB,cAAc,CAAU;IAKxB,MAAM,CAAU;CACnB;AAzEC;IAAC,WAAW,EAAE;IACb,KAAK,EAAE;;kDACe;AAEvB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;8CACY;AAEpB;IAAC,WAAW,EAAE;IACb,KAAK,EAAE;;+CACY;AAEpB;IAAC,WAAW,EAAE;8BACA,IAAI;gDAAC;AAEnB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;gDACW;AAEtB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;4CACO;AAEnB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;4CACO;AAEnB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;2CACS;AAEjB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;kDACa;AAEzB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;sDACoB;AAE5B;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;8CACS;AAEpB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;kDACgB;AAExB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;oDACkB;AAE1B;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;oDACkB;AAE1B;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4CACU;AAGpB,MAAM,OAAO,gBAAgB;IAGzB,OAAO,CAAS;CAEnB;AAJC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;iDACO","sourcesContent":["import { IsBoolean, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ILetter } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateLetter implements ILetter {\n @ApiProperty()\n @IsInt()\n idLetterType: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idReport?: number;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n letterDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n complement?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isLRAR?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDone?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n state?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n needResponse?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n needResponseType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n ARNumber?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idAccountant?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idReceivedFile?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idResponseFile?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idMail?: number;\n}\n\nexport class BulkCreateLetter {\n @ApiProperty()\n @IsString()\n letters: string;\n\n}"]}
@@ -1,6 +1,13 @@
1
+ import { AccountingJournal } from '../../../Enum/AccountingJournal';
1
2
  export declare class QuerySociety {
2
3
  id?: number;
3
4
  attributes?: string[];
4
5
  include?: string[];
5
6
  }
7
+ export declare class QueryAccountingExport {
8
+ startDate: string;
9
+ endDate: string;
10
+ idsAccountingJournal?: AccountingJournal[];
11
+ shouldReexport?: boolean;
12
+ }
6
13
  //# sourceMappingURL=QuerySociety.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QuerySociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/QuerySociety.ts"],"names":[],"mappings":"AAGA,qBAAa,YAAY;IAErB,EAAE,CAAC,EAAE,MAAM,CAAC;IAIZ,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAKtB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB"}
1
+ {"version":3,"file":"QuerySociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/QuerySociety.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAGpE,qBAAa,YAAY;IAErB,EAAE,CAAC,EAAE,MAAM,CAAC;IAIZ,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAKtB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,qBAAa,qBAAqB;IAG9B,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAKhB,oBAAoB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAM3C,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B"}
@@ -7,8 +7,9 @@ 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 { IsIn, IsOptional } from 'class-validator';
11
- import { ApiPropertyOptional } from '../../../../utils/decorators';
10
+ import { IsArray, IsBoolean, IsDateString, IsIn, IsOptional } from 'class-validator';
11
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
12
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
12
13
  export class QuerySociety {
13
14
  id;
14
15
  attributes;
@@ -29,4 +30,33 @@ __decorate([
29
30
  IsIn(['prestation', 'gedFile', 'brandType', 'societyGescom', 'societyBank', 'societyDetails', 'oldExpertInfo', 'activity', 'follows', 'compta', 'subscriptionType', 'nafCode', 'connector', 'societyCgv', 'societyConfig', 'exercices', 'businessPartners'], { each: true }),
30
31
  __metadata("design:type", Array)
31
32
  ], QuerySociety.prototype, "include", void 0);
33
+ export class QueryAccountingExport {
34
+ startDate;
35
+ endDate;
36
+ idsAccountingJournal;
37
+ shouldReexport;
38
+ }
39
+ __decorate([
40
+ ApiProperty(),
41
+ IsDateString(),
42
+ __metadata("design:type", String)
43
+ ], QueryAccountingExport.prototype, "startDate", void 0);
44
+ __decorate([
45
+ ApiProperty(),
46
+ IsDateString(),
47
+ __metadata("design:type", String)
48
+ ], QueryAccountingExport.prototype, "endDate", void 0);
49
+ __decorate([
50
+ ApiPropertyOptional(),
51
+ IsArray(),
52
+ IsOptional(),
53
+ __metadata("design:type", Array)
54
+ ], QueryAccountingExport.prototype, "idsAccountingJournal", void 0);
55
+ __decorate([
56
+ ApiPropertyOptional(),
57
+ IsBoolean(),
58
+ ToBoolean(),
59
+ IsOptional(),
60
+ __metadata("design:type", Boolean)
61
+ ], QueryAccountingExport.prototype, "shouldReexport", void 0);
32
62
  //# sourceMappingURL=QuerySociety.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QuerySociety.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/QuerySociety.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,MAAM,OAAO,YAAY;IAErB,EAAE,CAAU;IAIZ,UAAU,CAAY;IAKtB,OAAO,CAAY;CACtB;AAXC;IAAC,mBAAmB,EAAE;;wCACR;AAEd;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;gDACW;AAExB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,IAAI,CAAC,CAAC,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,gBAAgB,EAAE,eAAe,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,kBAAkB,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,WAAW,EAAE,kBAAkB,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;6CACxP","sourcesContent":["import { IsIn, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils/decorators';\n\nexport class QuerySociety {\n @ApiPropertyOptional()\n id?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsIn(['prestation', 'gedFile', 'brandType', 'societyGescom', 'societyBank', 'societyDetails', 'oldExpertInfo', 'activity', 'follows', 'compta', 'subscriptionType', 'nafCode', 'connector', 'societyCgv', 'societyConfig', 'exercices', 'businessPartners'], { each: true })\n include?: string[];\n}\n"]}
1
+ {"version":3,"file":"QuerySociety.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/QuerySociety.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACrF,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEhF,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,YAAY;IAErB,EAAE,CAAU;IAIZ,UAAU,CAAY;IAKtB,OAAO,CAAY;CACtB;AAXC;IAAC,mBAAmB,EAAE;;wCACR;AAEd;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;gDACW;AAExB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,IAAI,CAAC,CAAC,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,gBAAgB,EAAE,eAAe,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,kBAAkB,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,WAAW,EAAE,kBAAkB,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;6CACxP;AAGvB,MAAM,OAAO,qBAAqB;IAG9B,SAAS,CAAS;IAIlB,OAAO,CAAS;IAKhB,oBAAoB,CAAuB;IAM3C,cAAc,CAAW;CAC5B;AAlBC;IAAC,WAAW,EAAE;IACb,YAAY,EAAE;;wDACK;AAEpB;IAAC,WAAW,EAAE;IACb,YAAY,EAAE;;sDACG;AAElB;IAAC,mBAAmB,EAAE;IACrB,OAAO,EAAE;IACT,UAAU,EAAE;;mEACgC;AAE7C;IAAC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;6DACc","sourcesContent":["import { IsArray, IsBoolean, IsDateString, IsIn, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\nimport { AccountingJournal } from '../../../Enum/AccountingJournal';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QuerySociety {\n @ApiPropertyOptional()\n id?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsIn(['prestation', 'gedFile', 'brandType', 'societyGescom', 'societyBank', 'societyDetails', 'oldExpertInfo', 'activity', 'follows', 'compta', 'subscriptionType', 'nafCode', 'connector', 'societyCgv', 'societyConfig', 'exercices', 'businessPartners'], { each: true })\n include?: string[];\n}\n\nexport class QueryAccountingExport {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsArray()\n @IsOptional()\n idsAccountingJournal?: AccountingJournal[];\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n shouldReexport?: boolean;\n}"]}
@@ -18,5 +18,6 @@ export declare class QueryPaginatedTask {
18
18
  isLate?: boolean;
19
19
  isProcessed?: boolean;
20
20
  include?: string[];
21
+ allAtFirst?: boolean;
21
22
  }
22
23
  //# sourceMappingURL=QueryPaginatedTask.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaginatedTask.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/task/QueryPaginatedTask.ts"],"names":[],"mappings":"AAMA,qBAAa,kBAAkB;IAG3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IAKnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,MAAM,CAAC;IAMf,SAAS,CAAC,sBAAS;IAKnB,OAAO,CAAC,EAAE,MAAM,CAAe;IAK/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,SAAS,CAAC,EAAE,MAAM,CAAC;I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AAO,CAAC;IAQtB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAMnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB"}
@@ -30,6 +30,7 @@ export class QueryPaginatedTask {
30
30
  isLate;
31
31
  isProcessed;
32
32
  include;
33
+ allAtFirst;
33
34
  }
34
35
  __decorate([
35
36
  ApiPropertyOptional(),
@@ -152,4 +153,11 @@ __decorate([
152
153
  IsIn(['society', 'comments', 'notification', 'mail', 'user', 'userWhoCreated', 'userWhoProcessed', 'userWhoRefused', 'mailAutoSentForLate', 'taskAttachment'], { each: true }),
153
154
  __metadata("design:type", Array)
154
155
  ], QueryPaginatedTask.prototype, "include", void 0);
156
+ __decorate([
157
+ ApiPropertyOptional(),
158
+ IsOptional(),
159
+ IsBoolean(),
160
+ ToBoolean(),
161
+ __metadata("design:type", Boolean)
162
+ ], QueryPaginatedTask.prototype, "allAtFirst", void 0);
155
163
  //# sourceMappingURL=QueryPaginatedTask.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaginatedTask.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/task/QueryPaginatedTask.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GACxE,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,kBAAkB;IAG3B,QAAQ,CAAW;IAKnB,UAAU,CAAU;IAKpB,MAAM,CAAU;IAKhB,KAAK,CAAU;IAMf,SAAS,GAAI,KAAK,CAAC;IAKnB,OAAO,GAAY,WAAW,CAAC;IAK/B,MAAM,CAAU;IAKhB,SAAS,CAAU;IAKnB,kBAAkB,CAAU;IAK5B,gBAAgB,CAAY;IAK5B,MAAM,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AEtB;IAAC,mBAAmB,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IACnC,UAAU,EAAE;IACZ,QAAQ,EAAE;;gDACS;AAEpB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,CAAC;QACR,IAAI,EAAE,IAAI;KACX,CAAC;;sDACsB;AAExB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACK,IAAI;qDAAC;AAEnB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACG,IAAI;mDAAC;AAEjB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;kDACO;AAEnB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;uDACY;AAExB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,CAAC;QACR,IAAI,EAAE,IAAI;KACX,CAAC;IACD,IAAI,CAAC,CAAC,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,gBAAgB,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;mDAC1J","sourcesContent":["import {\n IsBoolean, IsNumber, IsOptional, IsString, IsInt, IsDate, IsIn, IsArray,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryPaginatedTask {\n @ApiPropertyOptional()\n @IsOptional()\n isIntern?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTaskType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n state?: number;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDeleted? = false;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string = 'createdAt';\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional({ description: 'roles for filter tasks' })\n @IsOptional()\n @IsInt()\n idService?: number;\n\n @ApiPropertyOptional({ description: 'user who terminate the task' })\n @IsOptional()\n @IsInt()\n idUserWhoProcessed?: number;\n\n @ApiPropertyOptional({ description: 'user who create the task' })\n @IsOptional()\n @IsArray()\n idUserWhoCreated?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRole?: number;\n\n @ApiPropertyOptional({ default: 25 })\n @IsOptional()\n @IsNumber()\n limit?: number = 25;\n\n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsNumber()\n page?: number = 1;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n endDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isLate?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isProcessed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['society', 'comments', 'notification', 'mail', 'user', 'userWhoCreated', 'userWhoProcessed', 'userWhoRefused', 'mailAutoSentForLate', 'taskAttachment'], { each: true })\n include?: string[];\n}\n"]}
1
+ {"version":3,"file":"QueryPaginatedTask.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/task/QueryPaginatedTask.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,M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E,gBAAgB,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;mDAC1J;AAErB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;sDACW","sourcesContent":["import {\n IsBoolean, IsNumber, IsOptional, IsString, IsInt, IsDate, IsIn, IsArray,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryPaginatedTask {\n @ApiPropertyOptional()\n @IsOptional()\n isIntern?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTaskType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n state?: number;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDeleted? = false;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string = 'createdAt';\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional({ description: 'roles for filter tasks' })\n @IsOptional()\n @IsInt()\n idService?: number;\n\n @ApiPropertyOptional({ description: 'user who terminate the task' })\n @IsOptional()\n @IsInt()\n idUserWhoProcessed?: number;\n\n @ApiPropertyOptional({ description: 'user who create the task' })\n @IsOptional()\n @IsArray()\n idUserWhoCreated?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRole?: number;\n\n @ApiPropertyOptional({ default: 25 })\n @IsOptional()\n @IsNumber()\n limit?: number = 25;\n\n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsNumber()\n page?: number = 1;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n endDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isLate?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isProcessed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['society', 'comments', 'notification', 'mail', 'user', 'userWhoCreated', 'userWhoProcessed', 'userWhoRefused', 'mailAutoSentForLate', 'taskAttachment'], { each: true })\n include?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n allAtFirst?: boolean;\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  import { IAttachmentFile } from './IAttachmentFile';
2
2
  import { IFolderFile } from './IFolderFile';
3
3
  import { IFileType } from './IFileType';
4
- import { ICommercialMail, IMail } from '../..';
4
+ import { ICommercialMail, IMail, IMailAttachment } from '../..';
5
5
  export interface IFile {
6
6
  id?: number;
7
7
  name?: string;
@@ -16,5 +16,6 @@ export interface IFile {
16
16
  fileType?: IFileType;
17
17
  commercialMails?: ICommercialMail[];
18
18
  mails?: IMail[];
19
+ mailAttachment?: IMailAttachment | null;
19
20
  }
20
21
  //# sourceMappingURL=IFile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IFile.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAG/C,MAAM,WAAW,KAAK;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,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AAC,EAAE,KAAK,EAAE,CAAC;IAChB,cAAc,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;CACzC"}
@@ -1 +1 @@
1
- {"version":3,"file":"IFile.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IFile.ts"],"names":[],"mappings":"","sourcesContent":["import { IAttachmentFile } from './IAttachmentFile';\nimport { IFolderFile } from './IFolderFile';\nimport { IFileType } from './IFileType';\nimport { ICommercialMail, IMail } from '../..';\n\n// files\nexport interface IFile {\n id?: number;\n name?: string;\n token?: string;\n idFolderFile: number;\n idSociety?: number | null;\n idFileType: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n attachmentFile?: IAttachmentFile;\n folderFile?: IFolderFile;\n fileType?: IFileType;\n commercialMails?: ICommercialMail[];\n mails?: IMail[];\n}\n"]}
1
+ {"version":3,"file":"IFile.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IFile.ts"],"names":[],"mappings":"","sourcesContent":["import { IAttachmentFile } from './IAttachmentFile';\nimport { IFolderFile } from './IFolderFile';\nimport { IFileType } from './IFileType';\nimport { ICommercialMail, IMail, IMailAttachment } from '../..';\n\n// files\nexport interface IFile {\n id?: number;\n name?: string;\n token?: string;\n idFolderFile: number;\n idSociety?: number | null;\n idFileType: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n attachmentFile?: IAttachmentFile;\n folderFile?: IFolderFile;\n fileType?: IFileType;\n commercialMails?: ICommercialMail[];\n mails?: IMail[];\n mailAttachment?: IMailAttachment | null;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.1.287",
3
+ "version": "1.1.289",
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",
@@ -23,6 +23,7 @@ import {
23
23
  UpdateUserSociety,
24
24
  QueryArchivedSociety,
25
25
  QueryExportSociety,
26
+ QueryAccountingExport,
26
27
  } from '../../types';
27
28
  import { CancelToken } from 'axios';
28
29
 
@@ -114,7 +115,7 @@ export class Society extends Resource {
114
115
  }
115
116
 
116
117
  getArchived(query: QueryArchivedSociety): Promise<ISociety[]> {
117
- return this.axios.$get('/society/archived', { params: query });
118
+ return this.axios.$get('/society/archived', { params: query });
118
119
  }
119
120
 
120
121
  public getPaginatedNewJuridical(params: QueryPaginatedSociety, cancelToken?: CancelToken): Promise<BasePaginate<ISociety>> {
@@ -136,4 +137,13 @@ export class Society extends Resource {
136
137
  responseType: 'blob',
137
138
  });
138
139
  }
140
+
141
+ exportAccountancy(idSociety: number, query: QueryAccountingExport): Promise<Buffer> {
142
+ return this.axios.$post(`/societies/${idSociety}/accounting/exports`, { params: query }, {
143
+ responseType: 'arraybuffer',
144
+ headers: {
145
+ Accept: 'application/octet-stream',
146
+ },
147
+ });
148
+ }
139
149
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse, CancelToken } from 'axios';
1
+ import { AxiosResponse } from 'axios';
2
2
  import { Resource } from '../Resource';
3
3
  import {
4
4
  QueryPaginatedTask,
@@ -19,9 +19,10 @@ export class Task extends Resource {
19
19
  return this.axios.$get('/tasks/count-tasks-by-user', { params });
20
20
  }
21
21
 
22
- public getPaginated(params: QueryPaginatedTask, cancelToken?: CancelToken): Promise<Task[]> {
22
+ public getPaginated(params: QueryPaginatedTask, signal?: AbortSignal): Promise<Task[]> {
23
23
  return this.axios.$get('/tasks/paginated', {
24
24
  params,
25
+ ...(signal ? { signal } : {}),
25
26
  });
26
27
  }
27
28
 
@@ -1,15 +1,5 @@
1
1
  export enum ContestType {
2
2
  ENTREPRENEUR = 1,
3
- OLYMPICS_1 = 2,
4
- OLYMPICS_2 = 3,
5
- OLYMPICS_3 = 4,
6
- OLYMPICS_4 = 5,
7
- OLYMPICS_5 = 6,
8
- OLYMPICS_6 = 7,
9
- OLYMPICS_7 = 8,
10
- OLYMPICS_8 = 9,
11
- OLYMPICS_9 = 10,
12
- OLYMPICS_10 = 11,
13
- OLYMPICS_11 = 12,
14
- OLYMPICS_12 = 13,
3
+ BIKE_1 = 2,
4
+ BIKE_2 = 3,
15
5
  }
@@ -50,6 +50,7 @@ export enum GedFolder {
50
50
  EXIT_DOCUMENT = 44,
51
51
  JEDECLARE_MANDATES = 45,
52
52
  COMPANY_PASSWORD_SERVICE = 46,
53
+ FEC = 47,
53
54
  }
54
55
 
55
56
  export enum TypeFile {
@@ -362,6 +363,7 @@ export const GedFolderList: Array<{ id: GedFolder, isVisibleForClient: boolean;
362
363
  { id: GedFolder.EXIT_DOCUMENT, name: 'Documents de sorties', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
363
364
  { id: GedFolder.JEDECLARE_MANDATES, name: 'Mandat JeDeclare', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
364
365
  { id: GedFolder.COMPANY_PASSWORD_SERVICE, name: 'Mot de passe service entreprise', isVisibleForClient: false, idGedCategory: GedCategory.COMPANY },
366
+ { id: GedFolder.FEC, name: 'Fec', isVisibleForClient: false, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
365
367
  ];
366
368
 
367
369
  export const gedCategoryWithName: Array<{ idGedCategory: number, name: string }> = [
@@ -114,18 +114,8 @@ export class CreateGeneriqueContestResult {
114
114
  @IsNumber()
115
115
  @IsIn([
116
116
  ContestType.ENTREPRENEUR,
117
- ContestType.OLYMPICS_1,
118
- ContestType.OLYMPICS_2,
119
- ContestType.OLYMPICS_3,
120
- ContestType.OLYMPICS_4,
121
- ContestType.OLYMPICS_5,
122
- ContestType.OLYMPICS_6,
123
- ContestType.OLYMPICS_7,
124
- ContestType.OLYMPICS_8,
125
- ContestType.OLYMPICS_9,
126
- ContestType.OLYMPICS_10,
127
- ContestType.OLYMPICS_11,
128
- ContestType.OLYMPICS_12,
117
+ ContestType.BIKE_1,
118
+ ContestType.BIKE_2,
129
119
  ])
130
120
  idTypeContest: number;
131
121
 
@@ -158,18 +148,8 @@ export class CreateEmail {
158
148
  @IsNumber()
159
149
  @IsIn([
160
150
  ContestType.ENTREPRENEUR,
161
- ContestType.OLYMPICS_1,
162
- ContestType.OLYMPICS_2,
163
- ContestType.OLYMPICS_3,
164
- ContestType.OLYMPICS_4,
165
- ContestType.OLYMPICS_5,
166
- ContestType.OLYMPICS_6,
167
- ContestType.OLYMPICS_7,
168
- ContestType.OLYMPICS_8,
169
- ContestType.OLYMPICS_9,
170
- ContestType.OLYMPICS_10,
171
- ContestType.OLYMPICS_11,
172
- ContestType.OLYMPICS_12,
151
+ ContestType.BIKE_1,
152
+ ContestType.BIKE_2,
173
153
  ])
174
154
  idTypeContest: number;
175
155
 
@@ -78,3 +78,10 @@ export class CreateLetter implements ILetter {
78
78
  @IsInt()
79
79
  idMail?: number;
80
80
  }
81
+
82
+ export class BulkCreateLetter {
83
+ @ApiProperty()
84
+ @IsString()
85
+ letters: string;
86
+
87
+ }
@@ -1,5 +1,7 @@
1
- import { IsIn, IsOptional } from 'class-validator';
2
- import { ApiPropertyOptional } from '../../../../utils/decorators';
1
+ import { IsArray, IsBoolean, IsDateString, IsIn, IsOptional } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
3
+ import { AccountingJournal } from '../../../Enum/AccountingJournal';
4
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
3
5
 
4
6
  export class QuerySociety {
5
7
  @ApiPropertyOptional()
@@ -14,3 +16,24 @@ export class QuerySociety {
14
16
  @IsIn(['prestation', 'gedFile', 'brandType', 'societyGescom', 'societyBank', 'societyDetails', 'oldExpertInfo', 'activity', 'follows', 'compta', 'subscriptionType', 'nafCode', 'connector', 'societyCgv', 'societyConfig', 'exercices', 'businessPartners'], { each: true })
15
17
  include?: string[];
16
18
  }
19
+
20
+ export class QueryAccountingExport {
21
+ @ApiProperty()
22
+ @IsDateString()
23
+ startDate: string;
24
+
25
+ @ApiProperty()
26
+ @IsDateString()
27
+ endDate: string;
28
+
29
+ @ApiPropertyOptional()
30
+ @IsArray()
31
+ @IsOptional()
32
+ idsAccountingJournal?: AccountingJournal[];
33
+
34
+ @ApiPropertyOptional()
35
+ @IsBoolean()
36
+ @ToBoolean()
37
+ @IsOptional()
38
+ shouldReexport?: boolean;
39
+ }
@@ -106,4 +106,10 @@ export class QueryPaginatedTask {
106
106
  })
107
107
  @IsIn(['society', 'comments', 'notification', 'mail', 'user', 'userWhoCreated', 'userWhoProcessed', 'userWhoRefused', 'mailAutoSentForLate', 'taskAttachment'], { each: true })
108
108
  include?: string[];
109
+
110
+ @ApiPropertyOptional()
111
+ @IsOptional()
112
+ @IsBoolean()
113
+ @ToBoolean()
114
+ allAtFirst?: boolean;
109
115
  }
@@ -1,7 +1,7 @@
1
1
  import { IAttachmentFile } from './IAttachmentFile';
2
2
  import { IFolderFile } from './IFolderFile';
3
3
  import { IFileType } from './IFileType';
4
- import { ICommercialMail, IMail } from '../..';
4
+ import { ICommercialMail, IMail, IMailAttachment } from '../..';
5
5
 
6
6
  // files
7
7
  export interface IFile {
@@ -20,4 +20,5 @@ export interface IFile {
20
20
  fileType?: IFileType;
21
21
  commercialMails?: ICommercialMail[];
22
22
  mails?: IMail[];
23
+ mailAttachment?: IMailAttachment | null;
23
24
  }