@silexpert/core 1.3.157-2 → 1.3.157-auxiliary-1

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 (93) hide show
  1. package/dist/cjs/api/resources/ExercicePrestation.d.ts +6 -0
  2. package/dist/cjs/api/resources/ExercicePrestation.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/ExercicePrestation.js +8 -0
  4. package/dist/cjs/api/resources/ExercicePrestation.js.map +1 -1
  5. package/dist/cjs/api/resources/GeneralLedger.d.ts +2 -1
  6. package/dist/cjs/api/resources/GeneralLedger.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/GeneralLedger.js +9 -0
  8. package/dist/cjs/api/resources/GeneralLedger.js.map +1 -1
  9. package/dist/cjs/types/Enum/Card.d.ts +7 -1
  10. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  11. package/dist/cjs/types/Enum/Card.js +7 -0
  12. package/dist/cjs/types/Enum/Card.js.map +1 -1
  13. package/dist/cjs/types/Enum/MissionAcceptation.js +1 -1
  14. package/dist/cjs/types/Enum/MissionAcceptation.js.map +1 -1
  15. package/dist/cjs/types/Enum/PrestationType.js +16 -16
  16. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  17. package/dist/cjs/types/Enum/Proceding.d.ts +8 -0
  18. package/dist/cjs/types/Enum/Proceding.d.ts.map +1 -1
  19. package/dist/cjs/types/Enum/Proceding.js +10 -2
  20. package/dist/cjs/types/Enum/Proceding.js.map +1 -1
  21. package/dist/cjs/types/Interface/api/card/Query.d.ts +3 -0
  22. package/dist/cjs/types/Interface/api/card/Query.d.ts.map +1 -1
  23. package/dist/cjs/types/Interface/api/card/Query.js +10 -1
  24. package/dist/cjs/types/Interface/api/card/Query.js.map +1 -1
  25. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts +1 -0
  26. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
  27. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
  28. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +1 -0
  29. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
  30. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
  31. package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +8 -0
  32. package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
  33. package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +31 -1
  34. package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
  35. package/dist/cjs/types/Interface/api/revenueMovement.d.ts +3 -0
  36. package/dist/cjs/types/Interface/api/revenueMovement.d.ts.map +1 -1
  37. package/dist/cjs/types/Interface/api/revenueMovement.js.map +1 -1
  38. package/dist/cjs/types/Interface/models/IRevenueMovement.d.ts +3 -1
  39. package/dist/cjs/types/Interface/models/IRevenueMovement.d.ts.map +1 -1
  40. package/dist/cjs/types/Interface/models/IRevenueMovement.js.map +1 -1
  41. package/dist/mjs/api/resources/ExercicePrestation.d.ts +6 -0
  42. package/dist/mjs/api/resources/ExercicePrestation.d.ts.map +1 -1
  43. package/dist/mjs/api/resources/ExercicePrestation.js +8 -0
  44. package/dist/mjs/api/resources/ExercicePrestation.js.map +1 -1
  45. package/dist/mjs/api/resources/GeneralLedger.d.ts +2 -1
  46. package/dist/mjs/api/resources/GeneralLedger.d.ts.map +1 -1
  47. package/dist/mjs/api/resources/GeneralLedger.js +9 -0
  48. package/dist/mjs/api/resources/GeneralLedger.js.map +1 -1
  49. package/dist/mjs/types/Enum/Card.d.ts +7 -1
  50. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  51. package/dist/mjs/types/Enum/Card.js +7 -0
  52. package/dist/mjs/types/Enum/Card.js.map +1 -1
  53. package/dist/mjs/types/Enum/MissionAcceptation.js +1 -1
  54. package/dist/mjs/types/Enum/MissionAcceptation.js.map +1 -1
  55. package/dist/mjs/types/Enum/PrestationType.js +16 -16
  56. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  57. package/dist/mjs/types/Enum/Proceding.d.ts +8 -0
  58. package/dist/mjs/types/Enum/Proceding.d.ts.map +1 -1
  59. package/dist/mjs/types/Enum/Proceding.js +10 -2
  60. package/dist/mjs/types/Enum/Proceding.js.map +1 -1
  61. package/dist/mjs/types/Interface/api/card/Query.d.ts +3 -0
  62. package/dist/mjs/types/Interface/api/card/Query.d.ts.map +1 -1
  63. package/dist/mjs/types/Interface/api/card/Query.js +10 -2
  64. package/dist/mjs/types/Interface/api/card/Query.js.map +1 -1
  65. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts +1 -0
  66. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
  67. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
  68. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +1 -0
  69. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
  70. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
  71. package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +8 -0
  72. package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
  73. package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +35 -1
  74. package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
  75. package/dist/mjs/types/Interface/api/revenueMovement.d.ts +3 -0
  76. package/dist/mjs/types/Interface/api/revenueMovement.d.ts.map +1 -1
  77. package/dist/mjs/types/Interface/api/revenueMovement.js.map +1 -1
  78. package/dist/mjs/types/Interface/models/IRevenueMovement.d.ts +3 -1
  79. package/dist/mjs/types/Interface/models/IRevenueMovement.d.ts.map +1 -1
  80. package/dist/mjs/types/Interface/models/IRevenueMovement.js.map +1 -1
  81. package/package.json +1 -1
  82. package/ts/api/resources/ExercicePrestation.ts +9 -0
  83. package/ts/api/resources/GeneralLedger.ts +11 -0
  84. package/ts/types/Enum/Card.ts +7 -0
  85. package/ts/types/Enum/MissionAcceptation.ts +1 -1
  86. package/ts/types/Enum/PrestationType.ts +16 -16
  87. package/ts/types/Enum/Proceding.ts +10 -2
  88. package/ts/types/Interface/api/card/Query.ts +9 -2
  89. package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts +1 -0
  90. package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +1 -0
  91. package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +25 -1
  92. package/ts/types/Interface/api/revenueMovement.ts +3 -0
  93. package/ts/types/Interface/models/IRevenueMovement.ts +4 -1
@@ -43,5 +43,13 @@ export declare const Proceding: {
43
43
  id: number;
44
44
  name: string;
45
45
  };
46
+ DELISTING: {
47
+ id: number;
48
+ name: string;
49
+ };
50
+ AUTOMATIC_DELISTING: {
51
+ id: number;
52
+ name: string;
53
+ };
46
54
  };
47
55
  //# sourceMappingURL=Proceding.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Proceding.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Proceding.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CrB,CAAC"}
1
+ {"version":3,"file":"Proceding.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Proceding.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDrB,CAAC"}
@@ -20,7 +20,7 @@ exports.Proceding = {
20
20
  },
21
21
  CONTINUATION_OF_THE_ACTIVITY: {
22
22
  id: 5,
23
- name: 'Poursuite de l\'activité',
23
+ name: "Poursuite de l'activité",
24
24
  },
25
25
  DISSOLUTION: {
26
26
  id: 6,
@@ -44,7 +44,15 @@ exports.Proceding = {
44
44
  },
45
45
  ENTRY_ORDER: {
46
46
  id: 11,
47
- name: 'Saisie de l\'ordre',
47
+ name: "Saisie de l'ordre",
48
+ },
49
+ DELISTING: {
50
+ id: 12,
51
+ name: 'Radiation',
52
+ },
53
+ AUTOMATIC_DELISTING: {
54
+ id: 13,
55
+ name: "Radiation d'office",
48
56
  },
49
57
  };
50
58
  //# sourceMappingURL=Proceding.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Proceding.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Proceding.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG;IACvB,gBAAgB,EAAE;QAChB,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,yBAAyB;KAChC;IACD,iCAAiC,EAAE;QACjC,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,sCAAsC;KAC7C;IACD,8BAA8B,EAAE;QAC9B,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,qCAAqC;KAC5C;IACD,sBAAsB,EAAE;QACtB,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,2BAA2B;KAClC;IACD,4BAA4B,EAAE;QAC5B,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,0BAA0B;KACjC;IACD,WAAW,EAAE;QACX,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,2BAA2B;KAClC;IACD,WAAW,EAAE;QACX,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,iBAAiB;KACxB;IACD,cAAc,EAAE;QACd,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,gBAAgB;KACvB;IACD,cAAc,EAAE;QACd,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,iBAAiB;KACxB;IACD,YAAY,EAAE;QACZ,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,cAAc;KACrB;IACD,WAAW,EAAE;QACX,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,oBAAoB;KAC3B;CACF,CAAC","sourcesContent":["export const Proceding = {\n BACKUP_PROCEDURE: {\n id: 1,\n name: 'Procédure de sauvegarde',\n },\n JUDICIAL_REORGANIZATION_PROCEDURE: {\n id: 2,\n name: 'Procédure de redressement judiciaire',\n },\n JUDICIAL_LIQUIDATION_PROCEDURE: {\n id: 3,\n name: 'Procédure de liquidation judiciaire',\n },\n CONCILIATION_PROCEDURE: {\n id: 4,\n name: 'Procédure de conciliation',\n },\n CONTINUATION_OF_THE_ACTIVITY: {\n id: 5,\n name: 'Poursuite de l\\'activité',\n },\n DISSOLUTION: {\n id: 6,\n name: 'Dissolution / liquidation',\n },\n MOTHBALLING: {\n id: 7,\n name: 'Mise en sommeil',\n },\n EI_LIQUIDATION: {\n id: 8,\n name: 'Liquidation EI',\n },\n FISCAL_CONTROL: {\n id: 9,\n name: 'Contrôle fiscal',\n },\n REDRESSEMENT: {\n id: 10,\n name: 'Redressement',\n },\n ENTRY_ORDER: {\n id: 11,\n name: 'Saisie de l\\'ordre',\n },\n};\n"]}
1
+ {"version":3,"file":"Proceding.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Proceding.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG;IACvB,gBAAgB,EAAE;QAChB,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,yBAAyB;KAChC;IACD,iCAAiC,EAAE;QACjC,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,sCAAsC;KAC7C;IACD,8BAA8B,EAAE;QAC9B,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,qCAAqC;KAC5C;IACD,sBAAsB,EAAE;QACtB,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,2BAA2B;KAClC;IACD,4BAA4B,EAAE;QAC5B,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,yBAAyB;KAChC;IACD,WAAW,EAAE;QACX,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,2BAA2B;KAClC;IACD,WAAW,EAAE;QACX,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,iBAAiB;KACxB;IACD,cAAc,EAAE;QACd,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,gBAAgB;KACvB;IACD,cAAc,EAAE;QACd,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,iBAAiB;KACxB;IACD,YAAY,EAAE;QACZ,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,cAAc;KACrB;IACD,WAAW,EAAE;QACX,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,mBAAmB;KAC1B;IACD,SAAS,EAAE;QACT,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,WAAW;KAClB;IACD,mBAAmB,EAAE;QACnB,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,oBAAoB;KAC3B;CACF,CAAC","sourcesContent":["export const Proceding = {\n BACKUP_PROCEDURE: {\n id: 1,\n name: 'Procédure de sauvegarde',\n },\n JUDICIAL_REORGANIZATION_PROCEDURE: {\n id: 2,\n name: 'Procédure de redressement judiciaire',\n },\n JUDICIAL_LIQUIDATION_PROCEDURE: {\n id: 3,\n name: 'Procédure de liquidation judiciaire',\n },\n CONCILIATION_PROCEDURE: {\n id: 4,\n name: 'Procédure de conciliation',\n },\n CONTINUATION_OF_THE_ACTIVITY: {\n id: 5,\n name: \"Poursuite de l'activité\",\n },\n DISSOLUTION: {\n id: 6,\n name: 'Dissolution / liquidation',\n },\n MOTHBALLING: {\n id: 7,\n name: 'Mise en sommeil',\n },\n EI_LIQUIDATION: {\n id: 8,\n name: 'Liquidation EI',\n },\n FISCAL_CONTROL: {\n id: 9,\n name: 'Contrôle fiscal',\n },\n REDRESSEMENT: {\n id: 10,\n name: 'Redressement',\n },\n ENTRY_ORDER: {\n id: 11,\n name: \"Saisie de l'ordre\",\n },\n DELISTING: {\n id: 12,\n name: 'Radiation',\n },\n AUTOMATIC_DELISTING: {\n id: 13,\n name: \"Radiation d'office\",\n },\n};\n"]}
@@ -2,4 +2,7 @@ export declare class QueryInternalCardsStats {
2
2
  idTeam: number;
3
3
  date: Date;
4
4
  }
5
+ export declare class QueryCronCards {
6
+ idSociety?: number;
7
+ }
5
8
  //# sourceMappingURL=Query.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/Query.ts"],"names":[],"mappings":"AAGA,qBAAa,uBAAuB;IAGlC,MAAM,EAAE,MAAM,CAAC;IAIf,IAAI,EAAE,IAAI,CAAC;CACZ"}
1
+ {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/Query.ts"],"names":[],"mappings":"AAGA,qBAAa,uBAAuB;IAGlC,MAAM,EAAE,MAAM,CAAC;IAIf,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,qBAAa,cAAc;IAIjB,SAAS,CAAC,EAAE,MAAM,CAAC;CAC5B"}
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.QueryInternalCardsStats = void 0;
12
+ exports.QueryCronCards = exports.QueryInternalCardsStats = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const utils_1 = require("../../../../utils");
15
15
  class QueryInternalCardsStats {
@@ -25,4 +25,13 @@ __decorate([
25
25
  (0, class_validator_1.IsDate)(),
26
26
  __metadata("design:type", Date)
27
27
  ], QueryInternalCardsStats.prototype, "date", void 0);
28
+ class QueryCronCards {
29
+ }
30
+ exports.QueryCronCards = QueryCronCards;
31
+ __decorate([
32
+ (0, utils_1.ApiPropertyOptional)(),
33
+ (0, class_validator_1.IsOptional)(),
34
+ (0, class_validator_1.IsInt)(),
35
+ __metadata("design:type", Number)
36
+ ], QueryCronCards.prototype, "idSociety", void 0);
28
37
  //# sourceMappingURL=Query.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgD;AAChD,6CAAgD;AAEhD,MAAa,uBAAuB;CAQnC;AARD,0DAQC;AALC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;uDACO;AAIf;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACH,IAAI;qDAAC","sourcesContent":["import { IsDate, IsInt } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class QueryInternalCardsStats {\n @ApiProperty()\n @IsInt()\n idTeam: number;\n\n @ApiProperty()\n @IsDate()\n date: Date;\n}\n"]}
1
+ {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4D;AAC5D,6CAAqE;AAErE,MAAa,uBAAuB;CAQnC;AARD,0DAQC;AALC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;uDACO;AAIf;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACH,IAAI;qDAAC;AAGb,MAAa,cAAc;CAK1B;AALD,wCAKC;AADS;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;iDACmB","sourcesContent":["import { IsDate, IsInt, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryInternalCardsStats {\n @ApiProperty()\n @IsInt()\n idTeam: number;\n\n @ApiProperty()\n @IsDate()\n date: Date;\n}\n\nexport class QueryCronCards {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idSociety?: number;\n}\n"]}
@@ -13,5 +13,6 @@ export interface IGeneralLedgerAccountingEntry {
13
13
  exported?: Date;
14
14
  idAccountingTransaction: number;
15
15
  idBankAccount?: number;
16
+ letter?: string | null;
16
17
  }
17
18
  //# sourceMappingURL=IGeneralLedgerAccountingEntry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IGeneralLedgerAccountingEntry.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEtE,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB,uBAAuB,EAAE,MAAM,CAAC;IAChC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
1
+ {"version":3,"file":"IGeneralLedgerAccountingEntry.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEtE,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB,uBAAuB,EAAE,MAAM,CAAC;IAChC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"IGeneralLedgerAccountingEntry.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts"],"names":[],"mappings":"","sourcesContent":["import { AccountingJournal, ILettering, IThirdParty } from '../../..';\n\nexport interface IGeneralLedgerAccountingEntry {\n id: number;\n designation: string;\n invoiceNumber?: string;\n journal: AccountingJournal;\n dateValue: string;\n credit: number;\n debit: number;\n intermediateSolde: number;\n thirdParty?: IThirdParty;\n lettering?: ILettering;\n exported?: Date;\n idAccountingTransaction: number;\n idBankAccount?: number;\n}\n"]}
1
+ {"version":3,"file":"IGeneralLedgerAccountingEntry.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts"],"names":[],"mappings":"","sourcesContent":["import { AccountingJournal, ILettering, IThirdParty } from '../../..';\n\nexport interface IGeneralLedgerAccountingEntry {\n id: number;\n designation: string;\n invoiceNumber?: string;\n journal: AccountingJournal;\n dateValue: string;\n credit: number;\n debit: number;\n intermediateSolde: number;\n thirdParty?: IThirdParty;\n lettering?: ILettering;\n exported?: Date;\n idAccountingTransaction: number;\n idBankAccount?: number;\n letter?: string | null;\n}\n"]}
@@ -27,6 +27,7 @@ export interface ReadGeneralLedgerSummary {
27
27
  debit: number;
28
28
  balance: number;
29
29
  identifier: string;
30
+ initialBalance: number;
30
31
  entries?: IGeneralLedgerAccountingEntry[];
31
32
  }
32
33
  export declare class QueryGeneralLedgerThirdParty {
@@ -1 +1 @@
1
- {"version":3,"file":"IGeneralLedgerThirdParty.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,6BAA6B,EAAE,CAAC;IACzC,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,qCAAqC;IACpD,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,YAAY,CAAC,6BAA6B,CAAC,CAAC;IACrD,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,6BAA6B,EAAE,CAAC;CAC3C;AAED,qBAAa,4BAA4B;IAGvC,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,SAAS,EAAE,MAAM,CAAC;IAKlB,IAAI,EAAE,MAAM,CAAK;IAKjB,KAAK,EAAE,MAAM,CAAO;IAMpB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB"}
1
+ {"version":3,"file":"IGeneralLedgerThirdParty.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,6BAA6B,EAAE,CAAC;IACzC,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,qCAAqC;IACpD,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,YAAY,CAAC,6BAA6B,CAAC,CAAC;IACrD,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,6BAA6B,EAAE,CAAC;CAC3C;AAED,qBAAa,4BAA4B;IAGvC,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,SAAS,EAAE,MAAM,CAAC;IAKlB,IAAI,EAAE,MAAM,CAAK;IAKjB,KAAK,EAAE,MAAM,CAAO;IAMpB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"IGeneralLedgerThirdParty.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgF;AAChF,6CAAqE;AAGrE,sFAA2E;AAkC3E,MAAa,4BAA4B;IAAzC;QAgBE,SAAI,GAAW,CAAC,CAAC;QAKjB,UAAK,GAAW,GAAG,CAAC;IAOtB,CAAC;CAAA;AA5BD,oEA4BC;AAzBC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;+DACG;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;6DACC;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;+DACO;AAKlB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACM;AAKjB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACS;AAMpB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mEACW","sourcesContent":["import { IsBoolean, IsDateString, IsNumber, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IGeneralLedgerAccountingEntry } from './IGeneralLedgerAccountingEntry';\nimport { BasePaginate } from '../BasePaginate';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport interface IGeneralLedgerThirdParty {\n idThirdParty: number;\n name: string;\n totalCredit: number;\n totalDebit: number;\n totalSolde: number;\n entries: IGeneralLedgerAccountingEntry[];\n identifier: string;\n initialBalance: number;\n}\n\nexport interface ReadIGeneralLedgerThirdPartyPaginated {\n idThirdParty: number;\n name: string;\n totalCredit: number;\n totalDebit: number;\n totalSolde: number;\n entries: BasePaginate<IGeneralLedgerAccountingEntry>;\n identifier: string;\n initialBalance: number;\n}\n\nexport interface ReadGeneralLedgerSummary {\n idThirdParty: number;\n name: string;\n credit: number;\n debit: number;\n balance: number;\n identifier: string;\n entries?: IGeneralLedgerAccountingEntry[];\n}\n\nexport class QueryGeneralLedgerThirdParty {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsOptional()\n @IsNumber()\n page: number = 1;\n\n @ApiProperty()\n @IsOptional()\n @IsNumber()\n limit: number = 100;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n}\n"]}
1
+ {"version":3,"file":"IGeneralLedgerThirdParty.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgF;AAChF,6CAAqE;AAGrE,sFAA2E;AAmC3E,MAAa,4BAA4B;IAAzC;QAgBE,SAAI,GAAW,CAAC,CAAC;QAKjB,UAAK,GAAW,GAAG,CAAC;IAOtB,CAAC;CAAA;AA5BD,oEA4BC;AAzBC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;+DACG;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;6DACC;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;+DACO;AAKlB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACM;AAKjB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACS;AAMpB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mEACW","sourcesContent":["import { IsBoolean, IsDateString, IsNumber, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IGeneralLedgerAccountingEntry } from './IGeneralLedgerAccountingEntry';\nimport { BasePaginate } from '../BasePaginate';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport interface IGeneralLedgerThirdParty {\n idThirdParty: number;\n name: string;\n totalCredit: number;\n totalDebit: number;\n totalSolde: number;\n entries: IGeneralLedgerAccountingEntry[];\n identifier: string;\n initialBalance: number;\n}\n\nexport interface ReadIGeneralLedgerThirdPartyPaginated {\n idThirdParty: number;\n name: string;\n totalCredit: number;\n totalDebit: number;\n totalSolde: number;\n entries: BasePaginate<IGeneralLedgerAccountingEntry>;\n identifier: string;\n initialBalance: number;\n}\n\nexport interface ReadGeneralLedgerSummary {\n idThirdParty: number;\n name: string;\n credit: number;\n debit: number;\n balance: number;\n identifier: string;\n initialBalance: number;\n entries?: IGeneralLedgerAccountingEntry[];\n}\n\nexport class QueryGeneralLedgerThirdParty {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsOptional()\n @IsNumber()\n page: number = 1;\n\n @ApiProperty()\n @IsOptional()\n @IsNumber()\n limit: number = 100;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n}\n"]}
@@ -1,3 +1,4 @@
1
+ import { ThirdPartyType } from '../../../Enum/ThirdPartyType';
1
2
  export declare class QueryGeneralLedgerAuxiliary {
2
3
  dateStart: string;
3
4
  dateEnd: string;
@@ -9,4 +10,11 @@ export declare class QueryGeneralLedgerAuxiliary {
9
10
  search?: string;
10
11
  idThirdParty?: number;
11
12
  }
13
+ export declare class QueryGeneralLedgerAuxiliaryPdf {
14
+ startDate: string;
15
+ endDate: string;
16
+ idThirdPartyType?: ThirdPartyType;
17
+ idThirdParty?: number[];
18
+ omitLettering?: boolean;
19
+ }
12
20
  //# sourceMappingURL=QueryGeneralLedgerAuxiliary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryGeneralLedgerAuxiliary.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":"AAMA,qBAAa,2BAA2B;IAGtC,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,gBAAgB,EAAE,MAAM,CAAC;IAKzB,KAAK,EAAE,MAAM,CAAC;IAKd,IAAI,EAAE,MAAM,CAAC;IAMb,aAAa,CAAC,EAAE,OAAO,CAAC;IAMxB,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
1
+ {"version":3,"file":"QueryGeneralLedgerAuxiliary.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,qBAAa,2BAA2B;IAGtC,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,gBAAgB,EAAE,MAAM,CAAC;IAKzB,KAAK,EAAE,MAAM,CAAC;IAKd,IAAI,EAAE,MAAM,CAAC;IAMb,aAAa,CAAC,EAAE,OAAO,CAAC;IAMxB,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,8BAA8B;IAGzC,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,gBAAgB,CAAC,EAAE,cAAc,CAAC;IAIlC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAMxB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB"}
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.QueryGeneralLedgerAuxiliary = void 0;
12
+ exports.QueryGeneralLedgerAuxiliaryPdf = exports.QueryGeneralLedgerAuxiliary = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const utils_1 = require("../../../../utils");
15
15
  const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
@@ -71,4 +71,34 @@ __decorate([
71
71
  (0, class_validator_1.IsOptional)(),
72
72
  __metadata("design:type", Number)
73
73
  ], QueryGeneralLedgerAuxiliary.prototype, "idThirdParty", void 0);
74
+ class QueryGeneralLedgerAuxiliaryPdf {
75
+ }
76
+ exports.QueryGeneralLedgerAuxiliaryPdf = QueryGeneralLedgerAuxiliaryPdf;
77
+ __decorate([
78
+ (0, utils_1.ApiProperty)(),
79
+ (0, class_validator_1.IsDateString)(),
80
+ __metadata("design:type", String)
81
+ ], QueryGeneralLedgerAuxiliaryPdf.prototype, "startDate", void 0);
82
+ __decorate([
83
+ (0, utils_1.ApiProperty)(),
84
+ (0, class_validator_1.IsDateString)(),
85
+ __metadata("design:type", String)
86
+ ], QueryGeneralLedgerAuxiliaryPdf.prototype, "endDate", void 0);
87
+ __decorate([
88
+ (0, utils_1.ApiPropertyOptional)(),
89
+ (0, class_validator_1.IsOptional)(),
90
+ __metadata("design:type", Number)
91
+ ], QueryGeneralLedgerAuxiliaryPdf.prototype, "idThirdPartyType", void 0);
92
+ __decorate([
93
+ (0, utils_1.ApiPropertyOptional)(),
94
+ (0, class_validator_1.IsOptional)(),
95
+ __metadata("design:type", Array)
96
+ ], QueryGeneralLedgerAuxiliaryPdf.prototype, "idThirdParty", void 0);
97
+ __decorate([
98
+ (0, utils_1.ApiPropertyOptional)({ describe: 'If set to true, it will search only entries with no lettering' }),
99
+ (0, class_validator_1.IsBoolean)(),
100
+ (0, boolean_transform_1.ToBoolean)(),
101
+ (0, class_validator_1.IsOptional)(),
102
+ __metadata("design:type", Boolean)
103
+ ], QueryGeneralLedgerAuxiliaryPdf.prototype, "omitLettering", void 0);
74
104
  //# sourceMappingURL=QueryGeneralLedgerAuxiliary.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryGeneralLedgerAuxiliary.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgG;AAChG,6CAAqE;AACrE,sFAA2E;AAC3E,8GAAmG;AACnG,iEAA8D;AAE9D,MAAa,2BAA2B;CA4CvC;AA5CD,kEA4CC;AAzCC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,qDAAqB,GAAE;;8DACN;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,qDAAqB,GAAE;;4DACR;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,+BAAc,CAAC;;qEACE;AAKzB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAG,EAAC,CAAC,CAAC;;0DACO;AAKd;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAG,EAAC,CAAC,CAAC;;yDACM;AAMb;IAJC,IAAA,2BAAmB,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,+DAA+D,EAAE,CAAC;IAClH,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kEACW;AAMxB;IAJC,IAAA,2BAAmB,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACtC,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACQ;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACG;AAKhB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACS","sourcesContent":["import { IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\nimport { ThirdPartyType } from '../../../Enum/ThirdPartyType';\n\nexport class QueryGeneralLedgerAuxiliary {\n @ApiProperty()\n @IsFormattedDateString()\n dateStart: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n dateEnd: string;\n\n @ApiProperty()\n @IsEnum(ThirdPartyType)\n idThirdPartyType: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n limit: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n page: number;\n\n @ApiPropertyOptional({ default: false, describe: 'If set to true, it will search only entries with no lettering' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n\n @ApiPropertyOptional({ default: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n}\n"]}
1
+ {"version":3,"file":"QueryGeneralLedgerAuxiliary.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8G;AAC9G,6CAAqE;AACrE,sFAA2E;AAC3E,8GAAmG;AACnG,iEAA8D;AAE9D,MAAa,2BAA2B;CA4CvC;AA5CD,kEA4CC;AAzCC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,qDAAqB,GAAE;;8DACN;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,qDAAqB,GAAE;;4DACR;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,+BAAc,CAAC;;qEACE;AAKzB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAG,EAAC,CAAC,CAAC;;0DACO;AAKd;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAG,EAAC,CAAC,CAAC;;yDACM;AAMb;IAJC,IAAA,2BAAmB,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,+DAA+D,EAAE,CAAC;IAClH,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kEACW;AAMxB;IAJC,IAAA,2BAAmB,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACtC,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACQ;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACG;AAKhB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACS;AAGxB,MAAa,8BAA8B;CAsB1C;AAtBD,wEAsBC;AAnBC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;iEACG;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;+DACC;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;wEACqB;AAIlC;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;oEACW;AAMxB;IAJC,IAAA,2BAAmB,EAAC,EAAE,QAAQ,EAAE,+DAA+D,EAAE,CAAC;IAClG,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACW","sourcesContent":["import { IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber, IsDateString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\nimport { ThirdPartyType } from '../../../Enum/ThirdPartyType';\n\nexport class QueryGeneralLedgerAuxiliary {\n @ApiProperty()\n @IsFormattedDateString()\n dateStart: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n dateEnd: string;\n\n @ApiProperty()\n @IsEnum(ThirdPartyType)\n idThirdPartyType: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n limit: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n page: number;\n\n @ApiPropertyOptional({ default: false, describe: 'If set to true, it will search only entries with no lettering' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n\n @ApiPropertyOptional({ default: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n}\n\nexport class QueryGeneralLedgerAuxiliaryPdf {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n idThirdPartyType?: ThirdPartyType;\n\n @ApiPropertyOptional()\n @IsOptional()\n idThirdParty?: number[];\n\n @ApiPropertyOptional({ describe: 'If set to true, it will search only entries with no lettering' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n}\n"]}
@@ -8,6 +8,7 @@ export interface ICreateRevenueMovementRequest {
8
8
  idExercice?: number;
9
9
  idPrestation?: number;
10
10
  idTerminationList?: number;
11
+ idChurnMovement?: number;
11
12
  amount: number;
12
13
  mrr: number;
13
14
  arr: number;
@@ -21,6 +22,7 @@ export interface ICreateRevenueMovementRequest {
21
22
  export interface IUpdateRevenueMovementRequest {
22
23
  type?: RevenueMovementType;
23
24
  idTerminationList?: number;
25
+ idChurnMovement?: number;
24
26
  amount?: number;
25
27
  mrr?: number;
26
28
  arr?: number;
@@ -36,6 +38,7 @@ export interface IGetRevenueMovementsRequest {
36
38
  idExercice?: number;
37
39
  idPrestation?: number;
38
40
  idTerminationList?: number;
41
+ idChurnMovement?: number;
39
42
  type?: RevenueMovementType[];
40
43
  startDate?: Date | string;
41
44
  endDate?: Date | string;
@@ -1 +1 @@
1
- {"version":3,"file":"revenueMovement.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueMovement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,mBAAmB,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,GAA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C1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC7B,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
@@ -1 +1 @@
1
- {"version":3,"file":"revenueMovement.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueMovement.ts"],"names":[],"mappings":"","sourcesContent":["import { RevenueMovementType } from '../../Enum/Revenue';\n\n/**\n * DTO pour créer un mouvement de revenu\n */\nexport interface ICreateRevenueMovementRequest {\n type: RevenueMovementType;\n idSociety: number;\n idExercice?: number;\n idPrestation?: number;\n idTerminationList?: number;\n amount: number;\n mrr: number;\n arr: number;\n movementDate: Date;\n description?: string;\n metadata?: Record<string, any>;\n}\n\n/**\n * DTO pour mettre à jour un mouvement de revenu\n */\nexport interface IUpdateRevenueMovementRequest {\n type?: RevenueMovementType;\n idTerminationList?: number;\n amount?: number;\n mrr?: number;\n arr?: number;\n movementDate?: Date | string;\n description?: string;\n metadata?: Record<string, any>;\n}\n\n/**\n * Filtres pour récupérer les mouvements de revenu\n */\nexport interface IGetRevenueMovementsRequest {\n idSociety?: number;\n idExercice?: number;\n idPrestation?: number;\n idTerminationList?: number;\n type?: RevenueMovementType[];\n startDate?: Date | string;\n endDate?: Date | string;\n page?: number;\n limit?: number;\n}\n\n/**\n * Réponse paginée pour les mouvements de revenu\n */\nexport interface IGetRevenueMovementsResponse {\n movements: any[]; // IRevenueMovement[]\n total: number;\n page: number;\n limit: number;\n totalPages: number;\n}\n\n/**\n * DTO pour générer un snapshot de revenu\n */\nexport interface IGenerateSnapshotRequest {\n date?: string;\n idSociety?: number;\n idExercice?: number;\n}\n\n/**\n * DTO pour générer tous les snapshots de revenu\n */\nexport interface IGenerateAllSnapshotsRequest {\n date?: string;\n}\n"]}
1
+ {"version":3,"file":"revenueMovement.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueMovement.ts"],"names":[],"mappings":"","sourcesContent":["import { RevenueMovementType } from '../../Enum/Revenue';\n\n/**\n * DTO pour créer un mouvement de revenu\n */\nexport interface ICreateRevenueMovementRequest {\n type: RevenueMovementType;\n idSociety: number;\n idExercice?: number;\n idPrestation?: number;\n idTerminationList?: number;\n idChurnMovement?: number;\n amount: number;\n mrr: number;\n arr: number;\n movementDate: Date;\n description?: string;\n metadata?: Record<string, any>;\n}\n\n/**\n * DTO pour mettre à jour un mouvement de revenu\n */\nexport interface IUpdateRevenueMovementRequest {\n type?: RevenueMovementType;\n idTerminationList?: number;\n idChurnMovement?: number;\n amount?: number;\n mrr?: number;\n arr?: number;\n movementDate?: Date | string;\n description?: string;\n metadata?: Record<string, any>;\n}\n\n/**\n * Filtres pour récupérer les mouvements de revenu\n */\nexport interface IGetRevenueMovementsRequest {\n idSociety?: number;\n idExercice?: number;\n idPrestation?: number;\n idTerminationList?: number;\n idChurnMovement?: number;\n type?: RevenueMovementType[];\n startDate?: Date | string;\n endDate?: Date | string;\n page?: number;\n limit?: number;\n}\n\n/**\n * Réponse paginée pour les mouvements de revenu\n */\nexport interface IGetRevenueMovementsResponse {\n movements: any[]; // IRevenueMovement[]\n total: number;\n page: number;\n limit: number;\n totalPages: number;\n}\n\n/**\n * DTO pour générer un snapshot de revenu\n */\nexport interface IGenerateSnapshotRequest {\n date?: string;\n idSociety?: number;\n idExercice?: number;\n}\n\n/**\n * DTO pour générer tous les snapshots de revenu\n */\nexport interface IGenerateAllSnapshotsRequest {\n date?: string;\n}\n"]}
@@ -13,8 +13,10 @@ export interface IRevenueMovement {
13
13
  idExercice?: number | null;
14
14
  /** ID de la prestation concernée (optionnel) */
15
15
  idPrestation?: number | null;
16
- /** ID de la résiliation qui a annulé ce mouvement (pour traçabilité) */
16
+ /** ID de la résiliation qui a créé un CHURN pour ce mouvement (traçabilité métier) */
17
17
  idTerminationList?: number | null;
18
+ /** ID du mouvement CHURN qui a annulé ce mouvement (traçabilité technique - lien direct au CHURN) */
19
+ idChurnMovement?: number | null;
18
20
  /** Montant du mouvement (en centimes) */
19
21
  amount: number;
20
22
  /** Montant MRR (Monthly Recurring Revenue) en centimes */
@@ -1 +1 @@
1
- {"version":3,"file":"IRevenueMovement.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IRevenueMovement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,6BAA6B;IAC7B,EAAE,EAAE,MAAM,CAAC;IAEX,0DAA0D;IAC1D,IAAI,EAAE,mBAAmB,CAAC;IAE1B,iCAAiC;IACjC,SAAS,EAAE,MAAM,CAAC;IAElB,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,gDAAgD;IAChD,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,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,GAAG,EAAE,MAAM,CAAC;IAEZ,yDAAyD;IACzD,GAAG,EAAE,MAAM,CAAC;IAEZ,wBAAwB;IACxB,YAAY,EAAE,IAAI,CAAC;IAEnB,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,wCAAwC;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IAEtC,uBAAuB;IACvB,SAAS,EAAE,IAAI,CAAC;IAEhB,0BAA0B;IAC1B,SAAS,EAAE,IAAI,CAAC;IAEhB,wCAAwC;IACxC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"IRevenueMovement.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IRevenueMovement.ts"],"names":[],"mappings":"","sourcesContent":["import { RevenueMovementType } from '../../Enum/Revenue';\n\n/**\n * Interface pour les mouvements de revenus (bookings, churn, provisions, etc.)\n */\nexport interface IRevenueMovement {\n /** ID unique du mouvement */\n id: number;\n\n /** Type de mouvement (booking, churn, provision, etc.) */\n type: RevenueMovementType;\n\n /** ID de la société concernée */\n idSociety: number;\n\n /** ID de l'exercice concerné (optionnel) */\n idExercice?: number | null;\n\n /** ID de la prestation concernée (optionnel) */\n idPrestation?: number | null;\n\n /** ID de la résiliation qui a annulé ce mouvement (pour traçabilité) */\n idTerminationList?: number | null;\n\n /** Montant du mouvement (en centimes) */\n amount: number;\n\n /** Montant MRR (Monthly Recurring Revenue) en centimes */\n mrr: number;\n\n /** Montant ARR (Annual Recurring Revenue) en centimes */\n arr: number;\n\n /** Date du mouvement */\n movementDate: Date;\n\n /** Description/commentaire du mouvement */\n description?: string | null;\n\n /** Métadonnées additionnelles (JSON) */\n metadata?: Record<string, any> | null;\n\n /** Date de création */\n createdAt: Date;\n\n /** Date de mise à jour */\n updatedAt: Date;\n\n /** Date de suppression (soft delete) */\n deletedAt?: Date | null;\n}\n"]}
1
+ {"version":3,"file":"IRevenueMovement.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IRevenueMovement.ts"],"names":[],"mappings":"","sourcesContent":["import { RevenueMovementType } from '../../Enum/Revenue';\n\n/**\n * Interface pour les mouvements de revenus (bookings, churn, provisions, etc.)\n */\nexport interface IRevenueMovement {\n /** ID unique du mouvement */\n id: number;\n\n /** Type de mouvement (booking, churn, provision, etc.) */\n type: RevenueMovementType;\n\n /** ID de la société concernée */\n idSociety: number;\n\n /** ID de l'exercice concerné (optionnel) */\n idExercice?: number | null;\n\n /** ID de la prestation concernée (optionnel) */\n idPrestation?: number | null;\n\n /** ID de la résiliation qui a créé un CHURN pour ce mouvement (traçabilité métier) */\n idTerminationList?: number | null;\n\n /** ID du mouvement CHURN qui a annulé ce mouvement (traçabilité technique - lien direct au CHURN) */\n idChurnMovement?: number | null;\n\n /** Montant du mouvement (en centimes) */\n amount: number;\n\n /** Montant MRR (Monthly Recurring Revenue) en centimes */\n mrr: number;\n\n /** Montant ARR (Annual Recurring Revenue) en centimes */\n arr: number;\n\n /** Date du mouvement */\n movementDate: Date;\n\n /** Description/commentaire du mouvement */\n description?: string | null;\n\n /** Métadonnées additionnelles (JSON) */\n metadata?: Record<string, any> | null;\n\n /** Date de création */\n createdAt: Date;\n\n /** Date de mise à jour */\n updatedAt: Date;\n\n /** Date de suppression (soft delete) */\n deletedAt?: Date | null;\n}\n"]}
@@ -13,6 +13,12 @@ export declare class ExercicePrestation extends Resource {
13
13
  * @returns { IExercicePrestation }
14
14
  */
15
15
  get(params: QueryGetExercicePrestation): Promise<IExercicePrestation>;
16
+ /**
17
+ * Récupère toutes les prestations d'un exercice
18
+ * @param { QueryGetExercicePrestation } params
19
+ * @returns { IExercicePrestation[] }
20
+ */
21
+ getAll(params: QueryGetExercicePrestation): Promise<IExercicePrestation[]>;
16
22
  /**
17
23
  * Update un exercicePrestation tous les éléments lié à celle-ci.
18
24
  * @param { number } params
@@ -1 +1 @@
1
- {"version":3,"file":"ExercicePrestation.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/ExercicePrestation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAE7G,qBAAa,kBAAmB,SAAQ,QAAQ;IAC9C;;;;OAIG;IACI,MAAM,CAAC,MAAM,EAAE,6BAA6B,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAIlF;;;;OAIG;IACI,GAAG,CAAC,MAAM,EAAE,0BAA0B,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAI5E;;;;;OAKG;IACI,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAG9F"}
1
+ {"version":3,"file":"ExercicePrestation.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/ExercicePrestation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAE7G,qBAAa,kBAAmB,SAAQ,QAAQ;IAC9C;;;;OAIG;IACI,MAAM,CAAC,MAAM,EAAE,6BAA6B,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAIlF;;;;OAIG;IACI,GAAG,CAAC,MAAM,EAAE,0BAA0B,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAI5E;;;;OAIG;IACI,MAAM,CAAC,MAAM,EAAE,0BAA0B,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAIjF;;;;;OAKG;IACI,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAG9F"}
@@ -16,6 +16,14 @@ export class ExercicePrestation extends Resource {
16
16
  get(params) {
17
17
  return this.axios.$get('/exercice-prestation', { params });
18
18
  }
19
+ /**
20
+ * Récupère toutes les prestations d'un exercice
21
+ * @param { QueryGetExercicePrestation } params
22
+ * @returns { IExercicePrestation[] }
23
+ */
24
+ getAll(params) {
25
+ return this.axios.$get('/exercice-prestation/all', { params });
26
+ }
19
27
  /**
20
28
  * Update un exercicePrestation tous les éléments lié à celle-ci.
21
29
  * @param { number } params
@@ -1 +1 @@
1
- {"version":3,"file":"ExercicePrestation.js","sourceRoot":"","sources":["../../../../ts/api/resources/ExercicePrestation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,kBAAmB,SAAQ,QAAQ;IAC9C;;;;OAIG;IACI,MAAM,CAAC,MAAqC;QACjD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;IAC1D,CAAC;IAED;;;;OAIG;IACI,GAAG,CAAC,MAAkC;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,EAAU,EAAE,MAAoC;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,EAAE,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IACtE,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { IExercicePrestation, QueryCreateExercicePrestation, QueryGetExercicePrestation } from '../../types';\n\nexport class ExercicePrestation extends Resource {\n /**\n * Crée un exercicePrestation tous les éléments lié à celle-ci.\n * @param { QueryCreateExercicePrestation } params\n * @returns { IExercicePrestation }\n */\n public create(params: QueryCreateExercicePrestation): Promise<IExercicePrestation> {\n return this.axios.$post('/exercice-prestation', params);\n }\n\n /**\n * Récupère un exercicePrestation\n * @param { QueryGetExercicePrestation } params\n * @returns { IExercicePrestation }\n */\n public get(params: QueryGetExercicePrestation): Promise<IExercicePrestation> {\n return this.axios.$get('/exercice-prestation', { params });\n }\n\n /**\n * Update un exercicePrestation tous les éléments lié à celle-ci.\n * @param { number } params\n * @param { Partial<IExercicePrestation> } params\n * @returns { IExercicePrestation }\n */\n public update(id: number, params: Partial<IExercicePrestation>): Promise<IExercicePrestation> {\n return this.axios.$put(`/exercice-prestation/${id}`, { ...params });\n }\n}\n"]}
1
+ {"version":3,"file":"ExercicePrestation.js","sourceRoot":"","sources":["../../../../ts/api/resources/ExercicePrestation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,kBAAmB,SAAQ,QAAQ;IAC9C;;;;OAIG;IACI,MAAM,CAAC,MAAqC;QACjD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;IAC1D,CAAC;IAED;;;;OAIG;IACI,GAAG,CAAC,MAAkC;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED;;;;OAIG;IACI,MAAM,CAAC,MAAkC;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,EAAU,EAAE,MAAoC;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,EAAE,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IACtE,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { IExercicePrestation, QueryCreateExercicePrestation, QueryGetExercicePrestation } from '../../types';\n\nexport class ExercicePrestation extends Resource {\n /**\n * Crée un exercicePrestation tous les éléments lié à celle-ci.\n * @param { QueryCreateExercicePrestation } params\n * @returns { IExercicePrestation }\n */\n public create(params: QueryCreateExercicePrestation): Promise<IExercicePrestation> {\n return this.axios.$post('/exercice-prestation', params);\n }\n\n /**\n * Récupère un exercicePrestation\n * @param { QueryGetExercicePrestation } params\n * @returns { IExercicePrestation }\n */\n public get(params: QueryGetExercicePrestation): Promise<IExercicePrestation> {\n return this.axios.$get('/exercice-prestation', { params });\n }\n\n /**\n * Récupère toutes les prestations d'un exercice\n * @param { QueryGetExercicePrestation } params\n * @returns { IExercicePrestation[] }\n */\n public getAll(params: QueryGetExercicePrestation): Promise<IExercicePrestation[]> {\n return this.axios.$get('/exercice-prestation/all', { params });\n }\n\n /**\n * Update un exercicePrestation tous les éléments lié à celle-ci.\n * @param { number } params\n * @param { Partial<IExercicePrestation> } params\n * @returns { IExercicePrestation }\n */\n public update(id: number, params: Partial<IExercicePrestation>): Promise<IExercicePrestation> {\n return this.axios.$put(`/exercice-prestation/${id}`, { ...params });\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { BasePaginateInterface, IGeneralLedgerAccount, IGeneralLedgerThirdParty, QueryGeneralLedgerAuxiliary, QueryGeneralLedgerThirdParty, ReadGeneralLedgerSummary, ReadIGeneralLedgerThirdPartyPaginated } from '../../types';
1
+ import { BasePaginateInterface, IGeneralLedgerAccount, IGeneralLedgerThirdParty, QueryGeneralLedgerAuxiliary, QueryGeneralLedgerAuxiliaryPdf, QueryGeneralLedgerThirdParty, ReadGeneralLedgerSummary, ReadIGeneralLedgerThirdPartyPaginated } from '../../types';
2
2
  import { QueryGeneralLedger } from '../../types/Interface/api/generalLedger/QueryGeneralLedger';
3
3
  import { Resource } from '../Resource';
4
4
  export declare class GeneralLedger extends Resource {
@@ -15,5 +15,6 @@ export declare class GeneralLedger extends Resource {
15
15
  getAuxiliary(params: QueryGeneralLedgerAuxiliary): Promise<BasePaginateInterface<IGeneralLedgerThirdParty[]>>;
16
16
  getAuxiliarySummaries(params: QueryGeneralLedgerAuxiliary): Promise<BasePaginateInterface<ReadGeneralLedgerSummary[]>>;
17
17
  getThirdParty(id: number, params: QueryGeneralLedgerThirdParty): Promise<ReadIGeneralLedgerThirdPartyPaginated>;
18
+ getAuxiliaryPdf(params: QueryGeneralLedgerAuxiliaryPdf): Promise<Buffer>;
18
19
  }
19
20
  //# sourceMappingURL=GeneralLedger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GeneralLedger.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/GeneralLedger.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,wBAAwB,EACxB,2BAA2B,EAC3B,4BAA4B,EAC5B,wBAAwB,EACxB,qCAAqC,EACtC,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,kBAAkB,EAAE,MAAM,4DAA4D,CAAC;AAChG,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,aAAc,SAAQ,QAAQ;IACzC,YAAY,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,qBAAqB,CAAC,qBAAqB,EAAE,CAAC,CAAC;IAMjG,mBAAmB,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,qBAAqB,CAAC,qBAAqB,EAAE,CAAC,CAAC;IAMxG;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC;IAUnD,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC;IAUxE,gBAAgB,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC;IAUhF,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC;IAUtE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AC,MAAM,CAAC;IAUhF,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC;IAUtE,gBAAgB,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC;IAUhF,YAAY,CAAC,MAAM,EAAE,2BAA2B,GAAG,OAAO,CAAC,qBAAqB,CAAC,wBAAwB,EAAE,CAAC,CAAC;IAI7G,qBAAqB,CACnB,MAAM,EAAE,2BAA2B,GAClC,OAAO,CAAC,qBAAqB,CAAC,wBAAwB,EAAE,CAAC,CAAC;IAI7D,aAAa,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,4BAA4B,GAAG,OAAO,CAAC,qCAAqC,CAAC;IAI/G,eAAe,CAAC,MAAM,EAAE,8BAA8B,GAAG,OAAO,CAAC,MAAM,CAAC;CASzE"}
@@ -67,5 +67,14 @@ export class GeneralLedger extends Resource {
67
67
  getThirdParty(id, params) {
68
68
  return this.axios.$get(`/general-ledger/third-parties/${id}`, { params });
69
69
  }
70
+ getAuxiliaryPdf(params) {
71
+ return this.axios.$get('/general-ledger/auxiliary/pdf', {
72
+ params,
73
+ responseType: 'arraybuffer',
74
+ headers: {
75
+ Accept: 'application/pdf',
76
+ },
77
+ });
78
+ }
70
79
  }
71
80
  //# sourceMappingURL=GeneralLedger.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GeneralLedger.js","sourceRoot":"","sources":["../../../../ts/api/resources/GeneralLedger.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,aAAc,SAAQ,QAAQ;IACzC,YAAY,CAAC,MAA0B;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,EAAE;YACvC,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IAED,mBAAmB,CAAC,MAA0B;QAC5C,OA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E,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,YAAY,CAAC,MAAmC;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACjE,CAAC;IAED,qBAAqB,CACnB,MAAmC;QAEnC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,qCAAqC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED,aAAa,CAAC,EAAU,EAAE,MAAoC;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,iCAAiC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC5E,CAAC;CACF","sourcesContent":["import {\n BasePaginateInterface,\n IGeneralLedgerAccount,\n IGeneralLedgerThirdParty,\n QueryGeneralLedgerAuxiliary,\n QueryGeneralLedgerThirdParty,\n ReadGeneralLedgerSummary,\n ReadIGeneralLedgerThirdPartyPaginated,\n} from '../../types';\nimport { QueryGeneralLedger } from '../../types/Interface/api/generalLedger/QueryGeneralLedger';\nimport { Resource } from '../Resource';\n\nexport class GeneralLedger extends Resource {\n getBySociety(params: QueryGeneralLedger): Promise<BasePaginateInterface<IGeneralLedgerAccount[]>> {\n return this.axios.$get('/generalLedger', {\n params,\n });\n }\n\n getBalanceBySociety(params: QueryGeneralLedger): Promise<BasePaginateInterface<IGeneralLedgerAccount[]>> {\n return this.axios.$get('/generalLedger/balance', {\n params,\n });\n }\n\n /**\n * @deprecated use exportCsv instead\n */\n getCsv(params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$get('/generalLedger/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n exportCsv(idSociety: number, query: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$post(`/societies/${idSociety}/general-ledgers/csv`, null, {\n params: query,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n exportBalanceCsv(idSociety: number, params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$post(`/societies/${idSociety}/general-ledgers/balances/csv`, null, {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getPdf(idSociety: number, params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$get(`/societies/${idSociety}/general-ledger/pdf`, {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n exportBalancePdf(idSociety: number, params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$post(`/societies/${idSociety}/general-ledgers/balances/pdf`, null, {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getAuxiliary(params: QueryGeneralLedgerAuxiliary): Promise<BasePaginateInterface<IGeneralLedgerThirdParty[]>> {\n return this.axios.$get('/generalLedger/auxiliary', { params });\n }\n\n getAuxiliarySummaries(\n params: QueryGeneralLedgerAuxiliary,\n ): Promise<BasePaginateInterface<ReadGeneralLedgerSummary[]>> {\n return this.axios.$get('/general-ledger/auxiliary/summaries', { params });\n }\n\n getThirdParty(id: number, params: QueryGeneralLedgerThirdParty): Promise<ReadIGeneralLedgerThirdPartyPaginated> {\n return this.axios.$get(`/general-ledger/third-parties/${id}`, { params });\n }\n}\n"]}
1
+ {"version":3,"file":"GeneralLedger.js","sourceRoot":"","sources":["../../../../ts/api/resources/GeneralLedger.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,aAAc,SAAQ,QAAQ;IACzC,YAAY,CAAC,MAA0B;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,EAAE;YACvC,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IAED,mBAAmB,CAAC,MAA0B;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,w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AAC;IAED,YAAY,CAAC,MAAmC;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACjE,CAAC;IAED,qBAAqB,CACnB,MAAmC;QAEnC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,qCAAqC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED,aAAa,CAAC,EAAU,EAAE,MAAoC;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,iCAAiC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED,eAAe,CAAC,MAAsC;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,+BAA+B,EAAE;YACtD,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import {\n BasePaginateInterface,\n IGeneralLedgerAccount,\n IGeneralLedgerThirdParty,\n QueryGeneralLedgerAuxiliary,\n QueryGeneralLedgerAuxiliaryPdf,\n QueryGeneralLedgerThirdParty,\n ReadGeneralLedgerSummary,\n ReadIGeneralLedgerThirdPartyPaginated,\n} from '../../types';\nimport { QueryGeneralLedger } from '../../types/Interface/api/generalLedger/QueryGeneralLedger';\nimport { Resource } from '../Resource';\n\nexport class GeneralLedger extends Resource {\n getBySociety(params: QueryGeneralLedger): Promise<BasePaginateInterface<IGeneralLedgerAccount[]>> {\n return this.axios.$get('/generalLedger', {\n params,\n });\n }\n\n getBalanceBySociety(params: QueryGeneralLedger): Promise<BasePaginateInterface<IGeneralLedgerAccount[]>> {\n return this.axios.$get('/generalLedger/balance', {\n params,\n });\n }\n\n /**\n * @deprecated use exportCsv instead\n */\n getCsv(params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$get('/generalLedger/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n exportCsv(idSociety: number, query: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$post(`/societies/${idSociety}/general-ledgers/csv`, null, {\n params: query,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n exportBalanceCsv(idSociety: number, params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$post(`/societies/${idSociety}/general-ledgers/balances/csv`, null, {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getPdf(idSociety: number, params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$get(`/societies/${idSociety}/general-ledger/pdf`, {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n exportBalancePdf(idSociety: number, params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$post(`/societies/${idSociety}/general-ledgers/balances/pdf`, null, {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getAuxiliary(params: QueryGeneralLedgerAuxiliary): Promise<BasePaginateInterface<IGeneralLedgerThirdParty[]>> {\n return this.axios.$get('/generalLedger/auxiliary', { params });\n }\n\n getAuxiliarySummaries(\n params: QueryGeneralLedgerAuxiliary,\n ): Promise<BasePaginateInterface<ReadGeneralLedgerSummary[]>> {\n return this.axios.$get('/general-ledger/auxiliary/summaries', { params });\n }\n\n getThirdParty(id: number, params: QueryGeneralLedgerThirdParty): Promise<ReadIGeneralLedgerThirdPartyPaginated> {\n return this.axios.$get(`/general-ledger/third-parties/${id}`, { params });\n }\n\n getAuxiliaryPdf(params: QueryGeneralLedgerAuxiliaryPdf): Promise<Buffer> {\n return this.axios.$get('/general-ledger/auxiliary/pdf', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n}\n"]}
@@ -30,7 +30,8 @@ export declare enum CardType {
30
30
  ADVANCE_SIMPLIFIED_VAT_PREPARATION = 28,// Acompte de TVA préparation
31
31
  ADVANCE_SIMPLIFIED_VAT_SEND_SIE = 29,// Acompte de TVA envoi SIE
32
32
  VAT_SEND_SIE = 30,// TVA envoi SIE
33
- ADVANCE_IS_SEND_SIE = 31
33
+ ADVANCE_IS_SEND_SIE = 31,// Acompte IS envoi SIE
34
+ CUT_OFF_ORI_M_1 = 32
34
35
  }
35
36
  export declare enum CardState {
36
37
  TODO = 1,
@@ -210,6 +211,11 @@ export declare const CardTypeLabel: readonly [{
210
211
  readonly label: "Acompte de TVA envoi SIE";
211
212
  readonly refLabel: "AVTS";
212
213
  readonly groupId: CardGroupEnum.VAT_GROUP;
214
+ }, {
215
+ readonly id: CardType.CUT_OFF_ORI_M_1;
216
+ readonly label: "Cut-off ORI M-1";
217
+ readonly refLabel: "COOM1";
218
+ readonly groupId: CardGroupEnum.CUT_OFF;
213
219
  }];
214
220
  export interface UserCardsStats {
215
221
  idType: CardType;
@@ -1 +1 @@
1
- {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,oBAAY,QAAQ;IAClB,aAAa,IAAI;IACjB,0BAA0B,IAAI;IAC9B,yBAAyB,IAAI;IAC7B,yBAAyB,IAAI;IAC7B,qBAAqB,IAAI;IACzB,eAAe,IAAI;IAEnB,mCAAmC,IAAI;IACvC,wBAAwB,IAAI;IAC5B,kBAAkB,KAAK,CAAE,uBAAuB;IAChD,mBAAmB,KAAK,CAAE,wBAAwB;IAClD,kBAAkB,KAAK,CAAE,kBAAkB;IAC3C,uBAAuB,KAAK,CAAE,4BAA4B;IAC1D,+BAA+B,KAAK,CAAE,gCAAgC;IACtE,eAAe,KAAK,CAAE,gBAAgB;IACtC,sBAAsB,KAAK,CAAE,yBA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,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2LhB,CAAC;AAEX,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,QAAQ,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,aAAa,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,cAAc,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -33,6 +33,7 @@ export var CardType;
33
33
  CardType[CardType["ADVANCE_SIMPLIFIED_VAT_SEND_SIE"] = 29] = "ADVANCE_SIMPLIFIED_VAT_SEND_SIE";
34
34
  CardType[CardType["VAT_SEND_SIE"] = 30] = "VAT_SEND_SIE";
35
35
  CardType[CardType["ADVANCE_IS_SEND_SIE"] = 31] = "ADVANCE_IS_SEND_SIE";
36
+ CardType[CardType["CUT_OFF_ORI_M_1"] = 32] = "CUT_OFF_ORI_M_1";
36
37
  })(CardType || (CardType = {}));
37
38
  export var CardState;
38
39
  (function (CardState) {
@@ -312,5 +313,11 @@ export const CardTypeLabel = [
312
313
  refLabel: 'AVTS',
313
314
  groupId: CardGroupEnum.VAT_GROUP,
314
315
  },
316
+ {
317
+ id: CardType.CUT_OFF_ORI_M_1,
318
+ label: 'Cut-off ORI M-1',
319
+ refLabel: 'COOM1',
320
+ groupId: CardGroupEnum.CUT_OFF,
321
+ },
315
322
  ];
316
323
  //# sourceMappingURL=Card.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,CAAN,IAAY,QAgCX;AAhCD,WAAY,QAAQ;IAClB,yDAAiB,CAAA;IACjB,mFAA8B,CAAA;IAC9B,iFAA6B,CAAA;IAC7B,iFAA6B,CAAA;IAC7B,yEAAyB,CAAA;IACzB,6DAAmB,CAAA;IACnB,4BAA4B;IAC5B,qGAAuC,CAAA;IACvC,+EAA4B,CAAA;IAC5B,oEAAuB,CAAA;IACvB,sEAAwB,CAAA;IACxB,oEAAuB,CAAA;IACvB,8EAA4B,CAAA;IAC5B,8FAAoC,CAAA;IACpC,8DAAoB,CAAA;IACpB,4EAA2B,CAAA;IAC3B,sDAAgB,CAAA;IAChB,4EAA2B,CAAA;IAC3B,sCAAQ,CAAA;IACR,8EAA4B,CAAA;IAC5B,8CAAY,CAAA;IACZ,kFAA8B,CAAA;IAC9B,4EAA2B,CAAA;IAC3B,kFAA8B,CAAA;IAC9B,0EAA0B,CAAA;IAC1B,wFAAiC,CAAA;IACjC,8FAAoC,CAAA;IACpC,oGAAuC,CAAA;IACvC,8FAAoC,CAAA;IACpC,wDAAiB,CAAA;IACjB,sEAAwB,CAAA;AAC1B,CAAC,EAhCW,QAAQ,KAAR,QAAQ,QAgCnB;AAED,MAAM,CAAN,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,yCAAQ,CAAA;IACR,uDAAe,CAAA;IACf,yCAAQ,CAAA;IACR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CAAiC;QACxC,QAAQ,EAAE,MAAM;QAChB,OAAO,EAAE,aAAa,CAAC,GAAG;KAC3B;IACD;QACE,EAAE,EAAE,QAAQ,CAAC,OAAO;QACpB,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,aAAa,CAAC,OAAO;KAC/B;IACD;QACE,EAAE,EAAE,QAAQ,CAAC,kCAAkC;QAC/C,KAAK,EAAE,4BAA4B;QACnC,QAAQ,EAAE,MAAM;QAChB,OAAO,EAAE,aAAa,CAAC,SAAS;KACjC;IACD;QACE,EAAE,EAAE,QAAQ,CAAC,+BAA+B;QAC5C,KAAK,EAAE,0BAA0B;QACjC,QAAQ,EAAE,MAAM;QAChB,OAAO,EAAE,aAAa,CAAC,SAAS;KACjC;CACO,CAAC","sourcesContent":["import { Role } from './Role';\nimport { TeamType } from './TeamType';\n\nexport enum CardType {\n BALANCE_SHEET = 1,\n BALANCE_SHEET_INTERMEDIATE = 2,\n BALANCE_SHEET_PREVISIONAL = 3,\n BALANCE_SHEET_LIQUIDATION = 4,\n BALANCE_SHEET_EXPRESS = 5,\n VAT_PREPARATION = 6,\n // REINFORCED_CHECKLIST = 7,\n CHECK_BALANCE_ANNOTATION_NEW_CLIENT = 8,\n CHECK_BALANCE_ANNOTATION = 9,\n SETUP_BANK_ACCOUNT = 10, // Mise en place banque\n UPDATE_BANK_BALANCE = 11, // MAJ du solde bancaire\n UPDATE_ANNOTATIONS = 12, // MAJ Annotations\n CONTROL_REVISION_SURVEY = 13, // Contrôle/Revision/Sondage\n SETUP_AND_INTEGRATION_N_MINUS_1 = 14, // Paramétrage & Intégration N-1\n VAT_REFUSED_SIE = 15, // TVA Refus SIE\n ADVANCE_IS_PREPARATION = 16, // Acompte IS préparation\n VAT_EXPRESS = 17, // TVA EXPRESS\n ADVANCE_IS_REFUSED_SIE = 18, // Acompte IS Refus SIE\n CLR = 19, // CLR\n CLR_EXCEPTIONAL_MISSION = 20, // CLR mission exceptionnelle (V2)\n CUT_OFF = 21, // Cut Off\n BALANCE_SHEET_PREPARATION = 22, // Préparation et Formalisation du Bilan\n BALANCE_SHEET_SEND_SIE = 23, // Envoi du bilan SIE\n BALANCE_SHEET_REFUSED_SIE = 24, // Bilan Refus SIE\n VAT_REFUSED_BY_CLIENT = 25, // TVA Refus client\n ADVANCE_IS_REFUSED_BY_CLIENT = 26, // Acompte IS Refus client\n BALANCE_SHEET_REFUSED_BY_CLIENT = 27, // Bilan Refus client\n ADVANCE_SIMPLIFIED_VAT_PREPARATION = 28, // Acompte de TVA préparation\n ADVANCE_SIMPLIFIED_VAT_SEND_SIE = 29, // Acompte de TVA envoi SIE\n VAT_SEND_SIE = 30, // TVA envoi SIE\n ADVANCE_IS_SEND_SIE = 31, // Acompte IS envoi SIE\n}\n\nexport enum CardState {\n TODO = 1,\n IN_PROGRESS = 2,\n DONE = 3,\n NOT_DONE = 4,\n WAITING_CLIENT = 5,\n INCOMPLETE = 6\n}\n\nexport enum CardGroupEnum {\n BALANCE_SHEET_GROUP = 1,\n VAT_GROUP = 2,\n ACCEPTATION_GROUP = 4,\n CARRY_FORWARD = 5, // A nouveaux\n BANK = 6,\n ANNOTATION = 7,\n CLR = 8,\n CUT_OFF = 9,\n ADVANCE_IS_GROUP = 10,\n}\n\nexport interface CardGroupType {\n id: CardGroupEnum;\n label: string;\n types: CardType[];\n roles: Role[];\n maxByDay?: number;\n teamType: TeamType;\n}\n\nexport const CardGroup: readonly CardGroupType[] = [\n {\n id: CardGroupEnum.BALANCE_SHEET_GROUP,\n label: 'Bilans',\n types: [\n CardType.BALANCE_SHEET_PREPARATION,\n CardType.BALANCE_SHEET_SEND_SIE,\n CardType.BALANCE_SHEET_REFUSED_SIE,\n CardType.BALANCE_SHEET_REFUSED_BY_CLIENT\n ],\n roles: [Role.ACCOUNTANT],\n teamType: TeamType.BALANCESHEET,\n maxByDay: 3,\n },\n {\n id: CardGroupEnum.VAT_GROUP,\n label: 'Déclarations',\n types: [\n CardType.VAT_PREPARATION,\n CardType.VAT_SEND_SIE,\n CardType.VAT_REFUSED_SIE,\n CardType.VAT_REFUSED_BY_CLIENT,\n CardType.VAT_EXPRESS,\n CardType.ADVANCE_SIMPLIFIED_VAT_PREPARATION,\n CardType.ADVANCE_SIMPLIFIED_VAT_SEND_SIE,\n ],\n roles: [Role.ACCOUNTANT],\n teamType: TeamType.VAT,\n maxByDay: 6,\n },\n {\n id: CardGroupEnum.ADVANCE_IS_GROUP,\n label: 'Acomptes IS',\n types: [\n CardType.ADVANCE_IS_PREPARATION,\n CardType.ADVANCE_IS_SEND_SIE,\n CardType.ADVANCE_IS_REFUSED_SIE,\n CardType.ADVANCE_IS_REFUSED_BY_CLIENT,\n ],\n roles: [Role.ACCOUNTANT],\n teamType: TeamType.VAT,\n maxByDay: 4,\n },\n {\n id: CardGroupEnum.BANK,\n label: 'Banque',\n types: [CardType.SETUP_BANK_ACCOUNT, CardType.UPDATE_BANK_BALANCE],\n roles: [Role.ACCOUNTANT],\n maxByDay: 3,\n teamType: TeamType.BANK,\n },\n {\n id: CardGroupEnum.ANNOTATION,\n label: 'Annotations',\n types: [CardType.UPDATE_ANNOTATIONS, CardType.CONTROL_REVISION_SURVEY],\n roles: [Role.ACCOUNTANT],\n maxByDay: 3,\n teamType: TeamType.ANNOTATION,\n },\n {\n id: CardGroupEnum.CLR,\n label: 'CLR',\n types: [CardType.CLR, CardType.CLR_EXCEPTIONAL_MISSION, CardType.SETUP_AND_INTEGRATION_N_MINUS_1],\n roles: [Role.ACCOUNTANT],\n maxByDay: 3,\n teamType: TeamType.CLR,\n },\n {\n id: CardGroupEnum.CUT_OFF,\n label: 'Cut Off',\n types: [CardType.CUT_OFF],\n roles: [Role.ACCOUNTANT],\n maxByDay: 3,\n teamType: TeamType.CUT_OFF,\n },\n] as const;\n\nexport const CardTypeLabel = [\n {\n id: CardType.BALANCE_SHEET,\n label: 'Bilan',\n refLabel: 'B',\n groupId: CardGroupEnum.BALANCE_SHEET_GROUP,\n },\n {\n id: CardType.BALANCE_SHEET_INTERMEDIATE,\n label: 'Bilan inter.',\n refLabel: 'BI',\n groupId: CardGroupEnum.BALANCE_SHEET_GROUP,\n },\n {\n id: CardType.BALANCE_SHEET_PREVISIONAL,\n label: 'Bilan prévi.',\n refLabel: 'BP',\n groupId: CardGroupEnum.BALANCE_SHEET_GROUP,\n },\n {\n id: CardType.BALANCE_SHEET_LIQUIDATION,\n label: 'Bilan liquid.',\n refLabel: 'BL',\n groupId: CardGroupEnum.BALANCE_SHEET_GROUP,\n },\n {\n id: CardType.BALANCE_SHEET_EXPRESS,\n label: 'Bilan express',\n refLabel: 'BE',\n groupId: CardGroupEnum.BALANCE_SHEET_GROUP,\n },\n {\n id: CardType.BALANCE_SHEET_PREPARATION,\n label: 'Préparation et Formalisation du Bilan',\n refLabel: 'PFB',\n groupId: CardGroupEnum.BALANCE_SHEET_GROUP,\n },\n {\n id: CardType.BALANCE_SHEET_SEND_SIE,\n label: 'Envoi du bilan SIE',\n refLabel: 'EBS',\n groupId: CardGroupEnum.BALANCE_SHEET_GROUP,\n },\n {\n id: CardType.BALANCE_SHEET_REFUSED_SIE,\n label: 'Bilan Refus SIE',\n refLabel: 'BRS',\n groupId: CardGroupEnum.BALANCE_SHEET_GROUP,\n },\n {\n id: CardType.BALANCE_SHEET_REFUSED_BY_CLIENT,\n label: 'Bilan Refus client',\n refLabel: 'BRC',\n groupId: CardGroupEnum.BALANCE_SHEET_GROUP,\n },\n {\n id: CardType.VAT_PREPARATION,\n label: 'Préparation TVA',\n refLabel: 'TVAP',\n groupId: CardGroupEnum.VAT_GROUP,\n },\n {\n id: CardType.VAT_SEND_SIE,\n label: 'Envoi TVA SIE',\n refLabel: 'TVAS',\n groupId: CardGroupEnum.VAT_GROUP,\n },\n {\n id: CardType.VAT_EXPRESS,\n label: 'TVA EXPRESS',\n refLabel: 'TVAE',\n groupId: CardGroupEnum.VAT_GROUP,\n },\n {\n id: CardType.VAT_REFUSED_SIE,\n label: 'TVA Refus SIE',\n refLabel: 'TVARS',\n groupId: CardGroupEnum.VAT_GROUP,\n },\n {\n id: CardType.VAT_REFUSED_BY_CLIENT,\n label: 'TVA Refus client',\n refLabel: 'TVARC',\n groupId: CardGroupEnum.VAT_GROUP,\n },\n {\n id: CardType.ADVANCE_IS_PREPARATION,\n label: 'Acompte IS préparation',\n refLabel: 'AIS',\n groupId: CardGroupEnum.ADVANCE_IS_GROUP,\n },\n {\n id: CardType.ADVANCE_IS_SEND_SIE,\n label: 'Acompte IS envoi SIE',\n refLabel: 'AIS-SIE',\n groupId: CardGroupEnum.ADVANCE_IS_GROUP,\n },\n {\n id: CardType.ADVANCE_IS_REFUSED_SIE,\n label: 'Acompte IS Refus SIE',\n refLabel: 'ARS',\n groupId: CardGroupEnum.ADVANCE_IS_GROUP,\n },\n {\n id: CardType.ADVANCE_IS_REFUSED_BY_CLIENT,\n label: 'Acompte IS Refus Client',\n refLabel: 'ARC',\n groupId: CardGroupEnum.ADVANCE_IS_GROUP,\n },\n {\n id: CardType.CHECK_BALANCE_ANNOTATION_NEW_CLIENT,\n label: 'Contrôle solde bancaire & mise en place annotation nouveau client',\n refLabel: 'LABNC',\n groupId: CardGroupEnum.ACCEPTATION_GROUP,\n },\n {\n id: CardType.CHECK_BALANCE_ANNOTATION,\n label: 'Contrôle solde bancaire & contrôle annotations client',\n refLabel: 'LABC',\n groupId: CardGroupEnum.ACCEPTATION_GROUP,\n },\n {\n id: CardType.SETUP_BANK_ACCOUNT,\n label: 'Mise en place banque',\n refLabel: 'MPB',\n groupId: CardGroupEnum.BANK,\n },\n {\n id: CardType.UPDATE_BANK_BALANCE,\n label: 'MAJ du solde bancaire',\n refLabel: 'MSB',\n groupId: CardGroupEnum.BANK,\n },\n {\n id: CardType.UPDATE_ANNOTATIONS,\n label: 'MAJ Annotations',\n refLabel: 'MA',\n groupId: CardGroupEnum.ANNOTATION,\n },\n {\n id: CardType.CONTROL_REVISION_SURVEY,\n label: 'Contrôle/Revision/Sondage',\n refLabel: 'CRS',\n groupId: CardGroupEnum.ANNOTATION,\n },\n {\n id: CardType.SETUP_AND_INTEGRATION_N_MINUS_1,\n label: 'Paramétrage & Intégration N-1',\n refLabel: 'PIN1',\n groupId: CardGroupEnum.CLR,\n },\n {\n id: CardType.CLR,\n label: 'CLR',\n refLabel: 'CLR',\n groupId: CardGroupEnum.CLR,\n },\n {\n id: CardType.CLR_EXCEPTIONAL_MISSION,\n label: 'CLR mission exceptionnelle (V2)',\n refLabel: 'CLRM',\n groupId: CardGroupEnum.CLR,\n },\n {\n id: CardType.CUT_OFF,\n label: 'Cut Off',\n refLabel: 'CO',\n groupId: CardGroupEnum.CUT_OFF,\n },\n {\n id: CardType.ADVANCE_SIMPLIFIED_VAT_PREPARATION,\n label: 'Acompte de TVA préparation',\n refLabel: 'AVTP',\n groupId: CardGroupEnum.VAT_GROUP,\n },\n {\n id: CardType.ADVANCE_SIMPLIFIED_VAT_SEND_SIE,\n label: 'Acompte de TVA envoi SIE',\n refLabel: 'AVTS',\n groupId: CardGroupEnum.VAT_GROUP,\n },\n] as const;\n\nexport interface UserCardsStats {\n idType: CardType;\n nbTodo: number;\n nbDone: number;\n nbInProgress: number;\n nbNotDone: number;\n nbPostponed: number;\n}\n\nexport interface CardsStatsGroup {\n idGroup: CardGroupEnum;\n totalTodo: number;\n totalDone: number;\n totalInProgress: number;\n totalNotDone: number;\n totalPostponed: number;\n averageTime: number;\n details: UserCardsStats[];\n}\n\nexport interface InternalCardStats {\n societies: number[];\n type: string;\n}\n"]}
1
+ {"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,CAAN,IAAY,QAiCX;AAjCD,WAAY,QAAQ;IAClB,yDAAiB,CAAA;IACjB,mFAA8B,CAAA;IAC9B,iFAA6B,CAAA;IAC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ACjC;IACD;QACE,EAAE,EAAE,QAAQ,CAAC,eAAe;QAC5B,KAAK,EAAE,iBAAiB;QACxB,QAAQ,EAAE,OAAO;QACjB,OAAO,EAAE,aAAa,CAAC,OAAO;KAC/B;CACO,CAAC","sourcesContent":["import { Role } from './Role';\nimport { TeamType } from './TeamType';\n\nexport enum CardType {\n BALANCE_SHEET = 1,\n BALANCE_SHEET_INTERMEDIATE = 2,\n BALANCE_SHEET_PREVISIONAL = 3,\n BALANCE_SHEET_LIQUIDATION = 4,\n BALANCE_SHEET_EXPRESS = 5,\n VAT_PREPARATION = 6,\n // REINFORCED_CHECKLIST = 7,\n CHECK_BALANCE_ANNOTATION_NEW_CLIENT = 8,\n CHECK_BALANCE_ANNOTATION = 9,\n SETUP_BANK_ACCOUNT = 10, // Mise en place banque\n UPDATE_BANK_BALANCE = 11, // MAJ du solde bancaire\n UPDATE_ANNOTATIONS = 12, // MAJ Annotations\n CONTROL_REVISION_SURVEY = 13, // Contrôle/Revision/Sondage\n SETUP_AND_INTEGRATION_N_MINUS_1 = 14, // Paramétrage & Intégration N-1\n VAT_REFUSED_SIE = 15, // TVA Refus SIE\n ADVANCE_IS_PREPARATION = 16, // Acompte IS préparation\n VAT_EXPRESS = 17, // TVA EXPRESS\n ADVANCE_IS_REFUSED_SIE = 18, // Acompte IS Refus SIE\n CLR = 19, // CLR\n CLR_EXCEPTIONAL_MISSION = 20, // CLR mission exceptionnelle (V2)\n CUT_OFF = 21, // Cut Off\n BALANCE_SHEET_PREPARATION = 22, // Préparation et Formalisation du Bilan\n BALANCE_SHEET_SEND_SIE = 23, // Envoi du bilan SIE\n BALANCE_SHEET_REFUSED_SIE = 24, // Bilan Refus SIE\n VAT_REFUSED_BY_CLIENT = 25, // TVA Refus client\n ADVANCE_IS_REFUSED_BY_CLIENT = 26, // Acompte IS Refus client\n BALANCE_SHEET_REFUSED_BY_CLIENT = 27, // Bilan Refus client\n ADVANCE_SIMPLIFIED_VAT_PREPARATION = 28, // Acompte de TVA préparation\n ADVANCE_SIMPLIFIED_VAT_SEND_SIE = 29, // Acompte de TVA envoi SIE\n VAT_SEND_SIE = 30, // TVA envoi SIE\n ADVANCE_IS_SEND_SIE = 31, // Acompte IS envoi SIE\n CUT_OFF_ORI_M_1 = 32, // Cut-off ORI M-1\n}\n\nexport enum CardState {\n TODO = 1,\n IN_PROGRESS = 2,\n DONE = 3,\n NOT_DONE = 4,\n WAITING_CLIENT = 5,\n INCOMPLETE = 6\n}\n\nexport enum CardGroupEnum {\n BALANCE_SHEET_GROUP = 1,\n VAT_GROUP = 2,\n ACCEPTATION_GROUP = 4,\n CARRY_FORWARD = 5, // A nouveaux\n BANK = 6,\n ANNOTATION = 7,\n CLR = 8,\n CUT_OFF = 9,\n ADVANCE_IS_GROUP = 10,\n}\n\nexport interface CardGroupType {\n id: CardGroupEnum;\n label: string;\n types: CardType[];\n roles: Role[];\n maxByDay?: number;\n teamType: TeamType;\n}\n\nexport const CardGroup: readonly CardGroupType[] = [\n {\n id: CardGroupEnum.BALANCE_SHEET_GROUP,\n label: 'Bilans',\n types: [\n CardType.BALANCE_SHEET_PREPARATION,\n CardType.BALANCE_SHEET_SEND_SIE,\n CardType.BALANCE_SHEET_REFUSED_SIE,\n CardType.BALANCE_SHEET_REFUSED_BY_CLIENT\n ],\n roles: [Role.ACCOUNTANT],\n teamType: TeamType.BALANCESHEET,\n maxByDay: 3,\n },\n {\n id: CardGroupEnum.VAT_GROUP,\n label: 'Déclarations',\n types: [\n CardType.VAT_PREPARATION,\n CardType.VAT_SEND_SIE,\n CardType.VAT_REFUSED_SIE,\n CardType.VAT_REFUSED_BY_CLIENT,\n CardType.VAT_EXPRESS,\n CardType.ADVANCE_SIMPLIFIED_VAT_PREPARATION,\n CardType.ADVANCE_SIMPLIFIED_VAT_SEND_SIE,\n ],\n roles: [Role.ACCOUNTANT],\n teamType: TeamType.VAT,\n maxByDay: 6,\n },\n {\n id: CardGroupEnum.ADVANCE_IS_GROUP,\n label: 'Acomptes IS',\n types: [\n CardType.ADVANCE_IS_PREPARATION,\n CardType.ADVANCE_IS_SEND_SIE,\n CardType.ADVANCE_IS_REFUSED_SIE,\n CardType.ADVANCE_IS_REFUSED_BY_CLIENT,\n ],\n roles: [Role.ACCOUNTANT],\n teamType: TeamType.VAT,\n maxByDay: 4,\n },\n {\n id: CardGroupEnum.BANK,\n label: 'Banque',\n types: [CardType.SETUP_BANK_ACCOUNT, CardType.UPDATE_BANK_BALANCE],\n roles: [Role.ACCOUNTANT],\n maxByDay: 3,\n teamType: TeamType.BANK,\n },\n {\n id: CardGroupEnum.ANNOTATION,\n label: 'Annotations',\n types: [CardType.UPDATE_ANNOTATIONS, CardType.CONTROL_REVISION_SURVEY],\n roles: [Role.ACCOUNTANT],\n maxByDay: 3,\n teamType: TeamType.ANNOTATION,\n },\n {\n id: CardGroupEnum.CLR,\n label: 'CLR',\n types: [CardType.CLR, CardType.CLR_EXCEPTIONAL_MISSION, CardType.SETUP_AND_INTEGRATION_N_MINUS_1],\n roles: [Role.ACCOUNTANT],\n maxByDay: 3,\n teamType: TeamType.CLR,\n },\n {\n id: CardGroupEnum.CUT_OFF,\n label: 'Cut Off',\n types: [CardType.CUT_OFF],\n roles: [Role.ACCOUNTANT],\n maxByDay: 3,\n teamType: TeamType.CUT_OFF,\n },\n] as const;\n\nexport const CardTypeLabel = [\n {\n id: CardType.BALANCE_SHEET,\n label: 'Bilan',\n refLabel: 'B',\n groupId: CardGroupEnum.BALANCE_SHEET_GROUP,\n },\n {\n id: CardType.BALANCE_SHEET_INTERMEDIATE,\n label: 'Bilan inter.',\n refLabel: 'BI',\n groupId: CardGroupEnum.BALANCE_SHEET_GROUP,\n },\n {\n id: CardType.BALANCE_SHEET_PREVISIONAL,\n label: 'Bilan prévi.',\n refLabel: 'BP',\n groupId: CardGroupEnum.BALANCE_SHEET_GROUP,\n },\n {\n id: CardType.BALANCE_SHEET_LIQUIDATION,\n label: 'Bilan liquid.',\n refLabel: 'BL',\n groupId: CardGroupEnum.BALANCE_SHEET_GROUP,\n },\n {\n id: CardType.BALANCE_SHEET_EXPRESS,\n label: 'Bilan express',\n refLabel: 'BE',\n groupId: CardGroupEnum.BALANCE_SHEET_GROUP,\n },\n {\n id: CardType.BALANCE_SHEET_PREPARATION,\n label: 'Préparation et Formalisation du Bilan',\n refLabel: 'PFB',\n groupId: CardGroupEnum.BALANCE_SHEET_GROUP,\n },\n {\n id: CardType.BALANCE_SHEET_SEND_SIE,\n label: 'Envoi du bilan SIE',\n refLabel: 'EBS',\n groupId: CardGroupEnum.BALANCE_SHEET_GROUP,\n },\n {\n id: CardType.BALANCE_SHEET_REFUSED_SIE,\n label: 'Bilan Refus SIE',\n refLabel: 'BRS',\n groupId: CardGroupEnum.BALANCE_SHEET_GROUP,\n },\n {\n id: CardType.BALANCE_SHEET_REFUSED_BY_CLIENT,\n label: 'Bilan Refus client',\n refLabel: 'BRC',\n groupId: CardGroupEnum.BALANCE_SHEET_GROUP,\n },\n {\n id: CardType.VAT_PREPARATION,\n label: 'Préparation TVA',\n refLabel: 'TVAP',\n groupId: CardGroupEnum.VAT_GROUP,\n },\n {\n id: CardType.VAT_SEND_SIE,\n label: 'Envoi TVA SIE',\n refLabel: 'TVAS',\n groupId: CardGroupEnum.VAT_GROUP,\n },\n {\n id: CardType.VAT_EXPRESS,\n label: 'TVA EXPRESS',\n refLabel: 'TVAE',\n groupId: CardGroupEnum.VAT_GROUP,\n },\n {\n id: CardType.VAT_REFUSED_SIE,\n label: 'TVA Refus SIE',\n refLabel: 'TVARS',\n groupId: CardGroupEnum.VAT_GROUP,\n },\n {\n id: CardType.VAT_REFUSED_BY_CLIENT,\n label: 'TVA Refus client',\n refLabel: 'TVARC',\n groupId: CardGroupEnum.VAT_GROUP,\n },\n {\n id: CardType.ADVANCE_IS_PREPARATION,\n label: 'Acompte IS préparation',\n refLabel: 'AIS',\n groupId: CardGroupEnum.ADVANCE_IS_GROUP,\n },\n {\n id: CardType.ADVANCE_IS_SEND_SIE,\n label: 'Acompte IS envoi SIE',\n refLabel: 'AIS-SIE',\n groupId: CardGroupEnum.ADVANCE_IS_GROUP,\n },\n {\n id: CardType.ADVANCE_IS_REFUSED_SIE,\n label: 'Acompte IS Refus SIE',\n refLabel: 'ARS',\n groupId: CardGroupEnum.ADVANCE_IS_GROUP,\n },\n {\n id: CardType.ADVANCE_IS_REFUSED_BY_CLIENT,\n label: 'Acompte IS Refus Client',\n refLabel: 'ARC',\n groupId: CardGroupEnum.ADVANCE_IS_GROUP,\n },\n {\n id: CardType.CHECK_BALANCE_ANNOTATION_NEW_CLIENT,\n label: 'Contrôle solde bancaire & mise en place annotation nouveau client',\n refLabel: 'LABNC',\n groupId: CardGroupEnum.ACCEPTATION_GROUP,\n },\n {\n id: CardType.CHECK_BALANCE_ANNOTATION,\n label: 'Contrôle solde bancaire & contrôle annotations client',\n refLabel: 'LABC',\n groupId: CardGroupEnum.ACCEPTATION_GROUP,\n },\n {\n id: CardType.SETUP_BANK_ACCOUNT,\n label: 'Mise en place banque',\n refLabel: 'MPB',\n groupId: CardGroupEnum.BANK,\n },\n {\n id: CardType.UPDATE_BANK_BALANCE,\n label: 'MAJ du solde bancaire',\n refLabel: 'MSB',\n groupId: CardGroupEnum.BANK,\n },\n {\n id: CardType.UPDATE_ANNOTATIONS,\n label: 'MAJ Annotations',\n refLabel: 'MA',\n groupId: CardGroupEnum.ANNOTATION,\n },\n {\n id: CardType.CONTROL_REVISION_SURVEY,\n label: 'Contrôle/Revision/Sondage',\n refLabel: 'CRS',\n groupId: CardGroupEnum.ANNOTATION,\n },\n {\n id: CardType.SETUP_AND_INTEGRATION_N_MINUS_1,\n label: 'Paramétrage & Intégration N-1',\n refLabel: 'PIN1',\n groupId: CardGroupEnum.CLR,\n },\n {\n id: CardType.CLR,\n label: 'CLR',\n refLabel: 'CLR',\n groupId: CardGroupEnum.CLR,\n },\n {\n id: CardType.CLR_EXCEPTIONAL_MISSION,\n label: 'CLR mission exceptionnelle (V2)',\n refLabel: 'CLRM',\n groupId: CardGroupEnum.CLR,\n },\n {\n id: CardType.CUT_OFF,\n label: 'Cut Off',\n refLabel: 'CO',\n groupId: CardGroupEnum.CUT_OFF,\n },\n {\n id: CardType.ADVANCE_SIMPLIFIED_VAT_PREPARATION,\n label: 'Acompte de TVA préparation',\n refLabel: 'AVTP',\n groupId: CardGroupEnum.VAT_GROUP,\n },\n {\n id: CardType.ADVANCE_SIMPLIFIED_VAT_SEND_SIE,\n label: 'Acompte de TVA envoi SIE',\n refLabel: 'AVTS',\n groupId: CardGroupEnum.VAT_GROUP,\n },\n {\n id: CardType.CUT_OFF_ORI_M_1,\n label: 'Cut-off ORI M-1',\n refLabel: 'COOM1',\n groupId: CardGroupEnum.CUT_OFF,\n },\n] as const;\n\nexport interface UserCardsStats {\n idType: CardType;\n nbTodo: number;\n nbDone: number;\n nbInProgress: number;\n nbNotDone: number;\n nbPostponed: number;\n}\n\nexport interface CardsStatsGroup {\n idGroup: CardGroupEnum;\n totalTodo: number;\n totalDone: number;\n totalInProgress: number;\n totalNotDone: number;\n totalPostponed: number;\n averageTime: number;\n details: UserCardsStats[];\n}\n\nexport interface InternalCardStats {\n societies: number[];\n type: string;\n}\n"]}
@@ -6,7 +6,7 @@ export const MissionAcceptationState = {
6
6
  WAITING_CONFORMITY: 2,
7
7
  };
8
8
  export const MissionAcceptationList = [
9
- { text: 'En attente', value: MissionAcceptationState.WAITING, color: '' },
9
+ { text: 'En attente', value: null, color: '' },
10
10
  { text: 'Accepté', value: MissionAcceptationState.ACCEPTED, color: 'success' },
11
11
  { text: 'Non accepté', value: MissionAcceptationState.NOT_ACCEPTED, color: 'error' },
12
12
  { text: 'Attente conformité', value: MissionAcceptationState.WAITING_CONFORMITY, color: 'primary' },