@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"}
@@ -17,7 +17,7 @@ export const Proceding = {
17
17
  },
18
18
  CONTINUATION_OF_THE_ACTIVITY: {
19
19
  id: 5,
20
- name: 'Poursuite de l\'activité',
20
+ name: "Poursuite de l'activité",
21
21
  },
22
22
  DISSOLUTION: {
23
23
  id: 6,
@@ -41,7 +41,15 @@ export const Proceding = {
41
41
  },
42
42
  ENTRY_ORDER: {
43
43
  id: 11,
44
- name: 'Saisie de l\'ordre',
44
+ name: "Saisie de l'ordre",
45
+ },
46
+ DELISTING: {
47
+ id: 12,
48
+ name: 'Radiation',
49
+ },
50
+ AUTOMATIC_DELISTING: {
51
+ id: 13,
52
+ name: "Radiation d'office",
45
53
  },
46
54
  };
47
55
  //# sourceMappingURL=Proceding.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Proceding.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Proceding.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,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,MAAM,CAAC,MAAM,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"}
@@ -7,8 +7,8 @@ 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 { IsDate, IsInt } from 'class-validator';
11
- import { ApiProperty } from '../../../../utils';
10
+ import { IsDate, IsInt, IsOptional } from 'class-validator';
11
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
12
  export class QueryInternalCardsStats {
13
13
  idTeam;
14
14
  date;
@@ -23,4 +23,12 @@ __decorate([
23
23
  IsDate(),
24
24
  __metadata("design:type", Date)
25
25
  ], QueryInternalCardsStats.prototype, "date", void 0);
26
+ export class QueryCronCards {
27
+ }
28
+ __decorate([
29
+ ApiPropertyOptional(),
30
+ IsOptional(),
31
+ IsInt(),
32
+ __metadata("design:type", Number)
33
+ ], QueryCronCards.prototype, "idSociety", void 0);
26
34
  //# sourceMappingURL=Query.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,uBAAuB;IAGlC,MAAM,CAAS;IAIf,IAAI,CAAO;CACZ;AALC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;uDACO;AAIf;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;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,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,uBAAuB;IAGlC,MAAM,CAAS;IAIf,IAAI,CAAO;CACZ;AALC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;uDACO;AAIf;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACH,IAAI;qDAAC;AAGb,MAAM,OAAO,cAAc;CAK1B;AADS;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;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,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAkC3E,MAAM,OAAO,4BAA4B;IAGvC,SAAS,CAAS;IAIlB,OAAO,CAAS;IAIhB,SAAS,CAAS;IAKlB,IAAI,GAAW,CAAC,CAAC;IAKjB,KAAK,GAAW,GAAG,CAAC;IAMpB,aAAa,CAAW;CACzB;AAzBC;IAFC,WAAW,EAAE;IACb,YAAY,EAAE;;+DACG;AAIlB;IAFC,WAAW,EAAE;IACb,YAAY,EAAE;;6DACC;AAIhB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;+DACO;AAKlB;IAHC,WAAW,EAAE;IACb,UAAU,EAAE;IACZ,QAAQ,EAAE;;0DACM;AAKjB;IAHC,WAAW,EAAE;IACb,UAAU,EAAE;IACZ,QAAQ,EAAE;;2DACS;AAMpB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;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,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAmC3E,MAAM,OAAO,4BAA4B;IAGvC,SAAS,CAAS;IAIlB,OAAO,CAAS;IAIhB,SAAS,CAAS;IAKlB,IAAI,GAAW,CAAC,CAAC;IAKjB,KAAK,GAAW,GAAG,CAAC;IAMpB,aAAa,CAAW;CACzB;AAzBC;IAFC,WAAW,EAAE;IACb,YAAY,EAAE;;+DACG;AAIlB;IAFC,WAAW,EAAE;IACb,YAAY,EAAE;;6DACC;AAIhB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;+DACO;AAKlB;IAHC,WAAW,EAAE;IACb,UAAU,EAAE;IACZ,QAAQ,EAAE;;0DACM;AAKjB;IAHC,WAAW,EAAE;IACb,UAAU,EAAE;IACZ,QAAQ,EAAE;;2DACS;AAMpB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;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"}
@@ -7,7 +7,7 @@ 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 { IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber } from 'class-validator';
10
+ import { IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber, IsDateString } from 'class-validator';
11
11
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
12
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
13
13
  import { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';
@@ -76,4 +76,38 @@ __decorate([
76
76
  IsOptional(),
77
77
  __metadata("design:type", Number)
78
78
  ], QueryGeneralLedgerAuxiliary.prototype, "idThirdParty", void 0);
79
+ export class QueryGeneralLedgerAuxiliaryPdf {
80
+ startDate;
81
+ endDate;
82
+ idThirdPartyType;
83
+ idThirdParty;
84
+ omitLettering;
85
+ }
86
+ __decorate([
87
+ ApiProperty(),
88
+ IsDateString(),
89
+ __metadata("design:type", String)
90
+ ], QueryGeneralLedgerAuxiliaryPdf.prototype, "startDate", void 0);
91
+ __decorate([
92
+ ApiProperty(),
93
+ IsDateString(),
94
+ __metadata("design:type", String)
95
+ ], QueryGeneralLedgerAuxiliaryPdf.prototype, "endDate", void 0);
96
+ __decorate([
97
+ ApiPropertyOptional(),
98
+ IsOptional(),
99
+ __metadata("design:type", Number)
100
+ ], QueryGeneralLedgerAuxiliaryPdf.prototype, "idThirdPartyType", void 0);
101
+ __decorate([
102
+ ApiPropertyOptional(),
103
+ IsOptional(),
104
+ __metadata("design:type", Array)
105
+ ], QueryGeneralLedgerAuxiliaryPdf.prototype, "idThirdParty", void 0);
106
+ __decorate([
107
+ ApiPropertyOptional({ describe: 'If set to true, it will search only entries with no lettering' }),
108
+ IsBoolean(),
109
+ ToBoolean(),
110
+ IsOptional(),
111
+ __metadata("design:type", Boolean)
112
+ ], QueryGeneralLedgerAuxiliaryPdf.prototype, "omitLettering", void 0);
79
113
  //# sourceMappingURL=QueryGeneralLedgerAuxiliary.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryGeneralLedgerAuxiliary.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChG,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,MAAM,OAAO,2BAA2B;IAGtC,SAAS,CAAS;IAIlB,OAAO,CAAS;IAIhB,gBAAgB,CAAS;IAKzB,KAAK,CAAS;IAKd,IAAI,CAAS;IAMb,aAAa,CAAW;IAMxB,UAAU,CAAW;IAKrB,MAAM,CAAU;IAKhB,YAAY,CAAU;CACvB;AAzCC;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;8DACN;AAIlB;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;4DACR;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,cAAc,CAAC;;qEACE;AAKzB;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;0DACO;AAKd;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;yDACM;AAMb;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,+DAA+D,EAAE,CAAC;IAClH,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;kEACW;AAMxB;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACtC,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;+DACQ;AAKrB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;2DACG;AAKhB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;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,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC9G,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,MAAM,OAAO,2BAA2B;IAGtC,SAAS,CAAS;IAIlB,OAAO,CAAS;IAIhB,gBAAgB,CAAS;IAKzB,KAAK,CAAS;IAKd,IAAI,CAAS;IAMb,aAAa,CAAW;IAMxB,UAAU,CAAW;IAKrB,MAAM,CAAU;IAKhB,YAAY,CAAU;CACvB;AAzCC;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;8DACN;AAIlB;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;4DACR;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,cAAc,CAAC;;qEACE;AAKzB;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;0DACO;AAKd;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;yDACM;AAMb;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,+DAA+D,EAAE,CAAC;IAClH,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;kEACW;AAMxB;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACtC,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;+DACQ;AAKrB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;2DACG;AAKhB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;iEACS;AAGxB,MAAM,OAAO,8BAA8B;IAGzC,SAAS,CAAS;IAIlB,OAAO,CAAS;IAIhB,gBAAgB,CAAkB;IAIlC,YAAY,CAAY;IAMxB,aAAa,CAAW;CACzB;AAnBC;IAFC,WAAW,EAAE;IACb,YAAY,EAAE;;iEACG;AAIlB;IAFC,WAAW,EAAE;IACb,YAAY,EAAE;;+DACC;AAIhB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;wEACqB;AAIlC;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;oEACW;AAMxB;IAJC,mBAAmB,CAAC,EAAE,QAAQ,EAAE,+DAA+D,EAAE,CAAC;IAClG,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;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,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,IAAI,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,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
+ {"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,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,IAAI,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,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,CAAC;IAE7B,wEAAwE;IACxE,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAElC,yCAAyC;IACzC,MAAM,EAAE,MAAM,CAAC;IAEf,0DAA0D;IAC1D,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
+ {"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,CAAC;IAE7B,sFAAsF;IACtF,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAElC,qGAAqG;IACrG,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC,yCAAyC;IACzC,MAAM,EAAE,MAAM,CAAC;IAEf,0DAA0D;IAC1D,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"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.3.157-2",
3
+ "version": "1.3.157-auxiliary-1",
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",
@@ -20,6 +20,15 @@ export class ExercicePrestation extends Resource {
20
20
  return this.axios.$get('/exercice-prestation', { params });
21
21
  }
22
22
 
23
+ /**
24
+ * Récupère toutes les prestations d'un exercice
25
+ * @param { QueryGetExercicePrestation } params
26
+ * @returns { IExercicePrestation[] }
27
+ */
28
+ public getAll(params: QueryGetExercicePrestation): Promise<IExercicePrestation[]> {
29
+ return this.axios.$get('/exercice-prestation/all', { params });
30
+ }
31
+
23
32
  /**
24
33
  * Update un exercicePrestation tous les éléments lié à celle-ci.
25
34
  * @param { number } params
@@ -3,6 +3,7 @@ import {
3
3
  IGeneralLedgerAccount,
4
4
  IGeneralLedgerThirdParty,
5
5
  QueryGeneralLedgerAuxiliary,
6
+ QueryGeneralLedgerAuxiliaryPdf,
6
7
  QueryGeneralLedgerThirdParty,
7
8
  ReadGeneralLedgerSummary,
8
9
  ReadIGeneralLedgerThirdPartyPaginated,
@@ -89,4 +90,14 @@ export class GeneralLedger extends Resource {
89
90
  getThirdParty(id: number, params: QueryGeneralLedgerThirdParty): Promise<ReadIGeneralLedgerThirdPartyPaginated> {
90
91
  return this.axios.$get(`/general-ledger/third-parties/${id}`, { params });
91
92
  }
93
+
94
+ getAuxiliaryPdf(params: QueryGeneralLedgerAuxiliaryPdf): Promise<Buffer> {
95
+ return this.axios.$get('/general-ledger/auxiliary/pdf', {
96
+ params,
97
+ responseType: 'arraybuffer',
98
+ headers: {
99
+ Accept: 'application/pdf',
100
+ },
101
+ });
102
+ }
92
103
  }
@@ -33,6 +33,7 @@ export enum CardType {
33
33
  ADVANCE_SIMPLIFIED_VAT_SEND_SIE = 29, // Acompte de TVA envoi SIE
34
34
  VAT_SEND_SIE = 30, // TVA envoi SIE
35
35
  ADVANCE_IS_SEND_SIE = 31, // Acompte IS envoi SIE
36
+ CUT_OFF_ORI_M_1 = 32, // Cut-off ORI M-1
36
37
  }
37
38
 
38
39
  export enum CardState {
@@ -323,6 +324,12 @@ export const CardTypeLabel = [
323
324
  refLabel: 'AVTS',
324
325
  groupId: CardGroupEnum.VAT_GROUP,
325
326
  },
327
+ {
328
+ id: CardType.CUT_OFF_ORI_M_1,
329
+ label: 'Cut-off ORI M-1',
330
+ refLabel: 'COOM1',
331
+ groupId: CardGroupEnum.CUT_OFF,
332
+ },
326
333
  ] as const;
327
334
 
328
335
  export interface UserCardsStats {
@@ -7,7 +7,7 @@ export const MissionAcceptationState: { [key: string]: number | null } = {
7
7
  };
8
8
 
9
9
  export const MissionAcceptationList: Array<{ text: string; value: number | null; color: string }> = [
10
- { text: 'En attente', value: MissionAcceptationState.WAITING, color: '' },
10
+ { text: 'En attente', value: null, color: '' },
11
11
  { text: 'Accepté', value: MissionAcceptationState.ACCEPTED, color: 'success' },
12
12
  { text: 'Non accepté', value: MissionAcceptationState.NOT_ACCEPTED, color: 'error' },
13
13
  { text: 'Attente conformité', value: MissionAcceptationState.WAITING_CONFORMITY, color: 'primary' },
@@ -1175,7 +1175,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1175
1175
  },
1176
1176
  CESSION_ACTIONS: {
1177
1177
  id: 51,
1178
- name: 'Cession d\'actions',
1178
+ name: "Cession d'actions",
1179
1179
  isComptable: false,
1180
1180
  isJuridique: true,
1181
1181
  isSocial: false,
@@ -1232,7 +1232,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1232
1232
  },
1233
1233
  MODIFICATION_DIRIGEANT_OU_COMMISSAIRE_AU_COMPTE_SASU_EURL: {
1234
1234
  id: 54,
1235
- name: 'Modification d\'un dirigeant ou d\'un commissaire aux compte (SASU / EURL)',
1235
+ name: "Modification d'un dirigeant ou d'un commissaire aux compte (SASU / EURL)",
1236
1236
  isComptable: false,
1237
1237
  isJuridique: true,
1238
1238
  isSocial: false,
@@ -1384,7 +1384,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1384
1384
  },
1385
1385
  MODIFICATION_OBJET_SOCIAL_EURL_SASU: {
1386
1386
  id: 62,
1387
- name: 'Modification de l\'objet social (EURL/SASU)',
1387
+ name: "Modification de l'objet social (EURL/SASU)",
1388
1388
  isComptable: false,
1389
1389
  isJuridique: true,
1390
1390
  isSocial: false,
@@ -1726,7 +1726,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1726
1726
  },
1727
1727
  CREATION_DOSSIER_INFORMATIQUE_PAR_SALARIE: {
1728
1728
  id: 80,
1729
- name: 'Création d\'un dossier informatique par salarié',
1729
+ name: "Création d'un dossier informatique par salarié",
1730
1730
  isComptable: false,
1731
1731
  isJuridique: false,
1732
1732
  isSocial: true,
@@ -1745,7 +1745,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1745
1745
  },
1746
1746
  ETABLISSEMENT_CONTRAT_TRAVAIL: {
1747
1747
  id: 81,
1748
- name: 'Etablissement d\'un contrat de travail',
1748
+ name: "Etablissement d'un contrat de travail",
1749
1749
  isComptable: false,
1750
1750
  isJuridique: false,
1751
1751
  isSocial: true,
@@ -1802,7 +1802,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1802
1802
  },
1803
1803
  TAXE_APPRENTISSAGE_ET_FORMATION_CONTINUE: {
1804
1804
  id: 84,
1805
- name: 'Taxe d\'apprentissage et formation continue',
1805
+ name: "Taxe d'apprentissage et formation continue",
1806
1806
  isComptable: false,
1807
1807
  isJuridique: false,
1808
1808
  isSocial: true,
@@ -2031,7 +2031,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2031
2031
  },
2032
2032
  ATTESTATION_CA: {
2033
2033
  id: 97,
2034
- name: 'Attestation de chiffre d\'affaires',
2034
+ name: "Attestation de chiffre d'affaires",
2035
2035
  isComptable: true,
2036
2036
  isJuridique: false,
2037
2037
  isSocial: false,
@@ -2069,7 +2069,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2069
2069
  },
2070
2070
  MAJ_ADRESSE_PERSONNELLE_DIRIGEANT_SUR_KBIS: {
2071
2071
  id: 99,
2072
- name: 'Mise à jour de l\'adresse personnelle du dirigeant sur le Kbis',
2072
+ name: "Mise à jour de l'adresse personnelle du dirigeant sur le Kbis",
2073
2073
  isComptable: false,
2074
2074
  isJuridique: true,
2075
2075
  isSocial: false,
@@ -2107,7 +2107,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2107
2107
  },
2108
2108
  MODIFICATION_OBJET_SOCIAL_SARL_SAS_SCI: {
2109
2109
  id: 103,
2110
- name: 'Modification de l\'objet social (SARL/SAS/SCI)',
2110
+ name: "Modification de l'objet social (SARL/SAS/SCI)",
2111
2111
  isComptable: false,
2112
2112
  isJuridique: true,
2113
2113
  isSocial: false,
@@ -2164,7 +2164,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2164
2164
  },
2165
2165
  MODIFICATION_DIRIGEANT_OU_COMMISSAIRE_AU_COMPTE_SAS_SARL_SCI: {
2166
2166
  id: 106,
2167
- name: 'Modification d’un dirigeant ou d\'un commissaire aux compte (SAS / SARL / SCI)',
2167
+ name: "Modification d’un dirigeant ou d'un commissaire aux compte (SAS / SARL / SCI)",
2168
2168
  isComptable: false,
2169
2169
  isJuridique: true,
2170
2170
  isSocial: false,
@@ -2734,7 +2734,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2734
2734
  },
2735
2735
  CONTRAT_APPORT_EN_NATURE: {
2736
2736
  id: 138,
2737
- name: 'Contrat d\'apport en nature',
2737
+ name: "Contrat d'apport en nature",
2738
2738
  isComptable: false,
2739
2739
  isJuridique: true,
2740
2740
  isSocial: false,
@@ -3323,7 +3323,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3323
3323
  },
3324
3324
  DECLARATION_IR: {
3325
3325
  id: 206,
3326
- name: 'Déclaration d\'IR',
3326
+ name: "Déclaration d'IR",
3327
3327
  isComptable: true,
3328
3328
  isJuridique: false,
3329
3329
  isSocial: false,
@@ -3437,7 +3437,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3437
3437
  },
3438
3438
  STATUTS_FREE: {
3439
3439
  id: PrestationType.STATUTS_FREE,
3440
- name: 'Statuts - Just\' Statuts',
3440
+ name: "Statuts - Just' Statuts",
3441
3441
  isComptable: true,
3442
3442
  isJuridique: true,
3443
3443
  isSocial: false,
@@ -3456,7 +3456,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3456
3456
  },
3457
3457
  STATUTS_OPTION_1: {
3458
3458
  id: PrestationType.STATUTS_OPTION_1,
3459
- name: 'Statuts - Just\' Création',
3459
+ name: "Statuts - Just' Création",
3460
3460
  isComptable: true,
3461
3461
  isJuridique: true,
3462
3462
  isSocial: false,
@@ -3475,7 +3475,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3475
3475
  },
3476
3476
  STATUTS_OPTION_2: {
3477
3477
  id: PrestationType.STATUTS_OPTION_2,
3478
- name: 'Statuts - Full\'Créa',
3478
+ name: "Statuts - Full'Créa",
3479
3479
  isComptable: true,
3480
3480
  isJuridique: true,
3481
3481
  isSocial: false,
@@ -3673,7 +3673,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3673
3673
  inAverageCart: false,
3674
3674
  isBack: false,
3675
3675
  minimumPrice: null,
3676
- price: 50,
3676
+ price: 80,
3677
3677
  isCatalog: true,
3678
3678
  isPlannable: false,
3679
3679
  hidden: false,
@@ -17,7 +17,7 @@ export const Proceding = {
17
17
  },
18
18
  CONTINUATION_OF_THE_ACTIVITY: {
19
19
  id: 5,
20
- name: 'Poursuite de l\'activité',
20
+ name: "Poursuite de l'activité",
21
21
  },
22
22
  DISSOLUTION: {
23
23
  id: 6,
@@ -41,6 +41,14 @@ export const Proceding = {
41
41
  },
42
42
  ENTRY_ORDER: {
43
43
  id: 11,
44
- name: 'Saisie de l\'ordre',
44
+ name: "Saisie de l'ordre",
45
+ },
46
+ DELISTING: {
47
+ id: 12,
48
+ name: 'Radiation',
49
+ },
50
+ AUTOMATIC_DELISTING: {
51
+ id: 13,
52
+ name: "Radiation d'office",
45
53
  },
46
54
  };
@@ -1,5 +1,5 @@
1
- import { IsDate, IsInt } from 'class-validator';
2
- import { ApiProperty } from '../../../../utils';
1
+ import { IsDate, IsInt, IsOptional } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
 
4
4
  export class QueryInternalCardsStats {
5
5
  @ApiProperty()
@@ -10,3 +10,10 @@ export class QueryInternalCardsStats {
10
10
  @IsDate()
11
11
  date: Date;
12
12
  }
13
+
14
+ export class QueryCronCards {
15
+ @ApiPropertyOptional()
16
+ @IsOptional()
17
+ @IsInt()
18
+ declare idSociety?: number;
19
+ }
@@ -14,4 +14,5 @@ export interface IGeneralLedgerAccountingEntry {
14
14
  exported?: Date;
15
15
  idAccountingTransaction: number;
16
16
  idBankAccount?: number;
17
+ letter?: string | null;
17
18
  }
@@ -33,6 +33,7 @@ export interface ReadGeneralLedgerSummary {
33
33
  debit: number;
34
34
  balance: number;
35
35
  identifier: string;
36
+ initialBalance: number;
36
37
  entries?: IGeneralLedgerAccountingEntry[];
37
38
  }
38
39