@silexpert/core 1.3.160-3 → 1.3.160

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 (135) hide show
  1. package/dist/cjs/api/resources/GeneralLedger.d.ts +1 -2
  2. package/dist/cjs/api/resources/GeneralLedger.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/GeneralLedger.js +0 -9
  4. package/dist/cjs/api/resources/GeneralLedger.js.map +1 -1
  5. package/dist/cjs/api/resources/Mfa.d.ts +0 -2
  6. package/dist/cjs/api/resources/Mfa.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Mfa.js +0 -7
  8. package/dist/cjs/api/resources/Mfa.js.map +1 -1
  9. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
  10. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
  11. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
  12. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts +0 -1
  13. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
  14. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
  15. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +0 -1
  16. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
  17. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
  18. package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +0 -9
  19. package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
  20. package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +1 -30
  21. package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
  22. package/dist/cjs/types/Interface/api/revenueMovement.d.ts +9 -10
  23. package/dist/cjs/types/Interface/api/revenueMovement.d.ts.map +1 -1
  24. package/dist/cjs/types/Interface/api/revenueMovement.js +0 -272
  25. package/dist/cjs/types/Interface/api/revenueMovement.js.map +1 -1
  26. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts +1 -0
  27. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -1
  28. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js +11 -3
  29. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -1
  30. package/dist/cjs/types/Interface/models/IImmobilization.d.ts +0 -1
  31. package/dist/cjs/types/Interface/models/IImmobilization.d.ts.map +1 -1
  32. package/dist/cjs/types/Interface/models/IImmobilization.js.map +1 -1
  33. package/dist/cjs/types/Interface/models/IUser.d.ts +0 -1
  34. package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
  35. package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
  36. package/dist/cjs/types/index.d.ts +0 -5
  37. package/dist/cjs/types/index.d.ts.map +1 -1
  38. package/dist/cjs/types/index.js +0 -5
  39. package/dist/cjs/types/index.js.map +1 -1
  40. package/dist/mjs/api/resources/GeneralLedger.d.ts +1 -2
  41. package/dist/mjs/api/resources/GeneralLedger.d.ts.map +1 -1
  42. package/dist/mjs/api/resources/GeneralLedger.js +0 -9
  43. package/dist/mjs/api/resources/GeneralLedger.js.map +1 -1
  44. package/dist/mjs/api/resources/Mfa.d.ts +0 -2
  45. package/dist/mjs/api/resources/Mfa.d.ts.map +1 -1
  46. package/dist/mjs/api/resources/Mfa.js +0 -7
  47. package/dist/mjs/api/resources/Mfa.js.map +1 -1
  48. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
  49. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
  50. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
  51. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts +0 -1
  52. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
  53. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
  54. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +0 -1
  55. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
  56. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
  57. package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +0 -9
  58. package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
  59. package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +1 -34
  60. package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
  61. package/dist/mjs/types/Interface/api/revenueMovement.d.ts +9 -10
  62. package/dist/mjs/types/Interface/api/revenueMovement.d.ts.map +1 -1
  63. package/dist/mjs/types/Interface/api/revenueMovement.js +1 -303
  64. package/dist/mjs/types/Interface/api/revenueMovement.js.map +1 -1
  65. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts +1 -0
  66. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -1
  67. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js +13 -11
  68. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -1
  69. package/dist/mjs/types/Interface/models/IImmobilization.d.ts +0 -1
  70. package/dist/mjs/types/Interface/models/IImmobilization.d.ts.map +1 -1
  71. package/dist/mjs/types/Interface/models/IImmobilization.js.map +1 -1
  72. package/dist/mjs/types/Interface/models/IUser.d.ts +0 -1
  73. package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
  74. package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
  75. package/dist/mjs/types/index.d.ts +0 -5
  76. package/dist/mjs/types/index.d.ts.map +1 -1
  77. package/dist/mjs/types/index.js +0 -5
  78. package/dist/mjs/types/index.js.map +1 -1
  79. package/package.json +1 -1
  80. package/ts/api/resources/GeneralLedger.ts +0 -11
  81. package/ts/api/resources/Mfa.ts +0 -10
  82. package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +0 -10
  83. package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts +0 -1
  84. package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +0 -1
  85. package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +1 -26
  86. package/ts/types/Interface/api/revenueMovement.ts +9 -153
  87. package/ts/types/Interface/api/revenueSnapshotGenerate.ts +10 -11
  88. package/ts/types/Interface/models/IImmobilization.ts +0 -1
  89. package/ts/types/Interface/models/IUser.ts +0 -1
  90. package/ts/types/index.ts +0 -5
  91. package/dist/cjs/api/resources/LoginApproval.d.ts +0 -18
  92. package/dist/cjs/api/resources/LoginApproval.d.ts.map +0 -1
  93. package/dist/cjs/api/resources/LoginApproval.js +0 -20
  94. package/dist/cjs/api/resources/LoginApproval.js.map +0 -1
  95. package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
  96. package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
  97. package/dist/cjs/types/Enum/LoginApprovalStatus.js +0 -18
  98. package/dist/cjs/types/Enum/LoginApprovalStatus.js.map +0 -1
  99. package/dist/cjs/types/Enum/MfaMode.d.ts +0 -12
  100. package/dist/cjs/types/Enum/MfaMode.d.ts.map +0 -1
  101. package/dist/cjs/types/Enum/MfaMode.js +0 -16
  102. package/dist/cjs/types/Enum/MfaMode.js.map +0 -1
  103. package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts +0 -65
  104. package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
  105. package/dist/cjs/types/Interface/api/authentification/loginApproval.js +0 -3
  106. package/dist/cjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
  107. package/dist/cjs/types/Interface/models/ILoginApproval.d.ts +0 -31
  108. package/dist/cjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
  109. package/dist/cjs/types/Interface/models/ILoginApproval.js +0 -3
  110. package/dist/cjs/types/Interface/models/ILoginApproval.js.map +0 -1
  111. package/dist/mjs/api/resources/LoginApproval.d.ts +0 -18
  112. package/dist/mjs/api/resources/LoginApproval.d.ts.map +0 -1
  113. package/dist/mjs/api/resources/LoginApproval.js +0 -16
  114. package/dist/mjs/api/resources/LoginApproval.js.map +0 -1
  115. package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
  116. package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
  117. package/dist/mjs/types/Enum/LoginApprovalStatus.js +0 -15
  118. package/dist/mjs/types/Enum/LoginApprovalStatus.js.map +0 -1
  119. package/dist/mjs/types/Enum/MfaMode.d.ts +0 -12
  120. package/dist/mjs/types/Enum/MfaMode.d.ts.map +0 -1
  121. package/dist/mjs/types/Enum/MfaMode.js +0 -13
  122. package/dist/mjs/types/Enum/MfaMode.js.map +0 -1
  123. package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts +0 -65
  124. package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
  125. package/dist/mjs/types/Interface/api/authentification/loginApproval.js +0 -2
  126. package/dist/mjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
  127. package/dist/mjs/types/Interface/models/ILoginApproval.d.ts +0 -31
  128. package/dist/mjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
  129. package/dist/mjs/types/Interface/models/ILoginApproval.js +0 -2
  130. package/dist/mjs/types/Interface/models/ILoginApproval.js.map +0 -1
  131. package/ts/api/resources/LoginApproval.ts +0 -20
  132. package/ts/types/Enum/LoginApprovalStatus.ts +0 -13
  133. package/ts/types/Enum/MfaMode.ts +0 -11
  134. package/ts/types/Interface/api/authentification/loginApproval.ts +0 -69
  135. package/ts/types/Interface/models/ILoginApproval.ts +0 -31
@@ -1 +1 @@
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,wBAAwB,EAAE;YAC/C,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,MAA0B;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,EAAE;YAC3C,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,SAAS,CAAC,SAAiB,EAAE,KAAyB;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,sBAAsB,EAAE,IAAI,EAAE;YAC3E,MAAM,EAAE,KAAK;YACb,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,gBAAgB,CAAC,SAAiB,EAAE,MAA0B;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,+BAA+B,EAAE,IAAI,EAAE;YACpF,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gB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edgerAuxiliary,\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"]}
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,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,wBAAwB,EAAE;YAC/C,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,MAA0B;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,EAAE;YAC3C,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,SAAS,CAAC,SAAiB,EAAE,KAAyB;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SA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AE,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"]}
@@ -15,7 +15,5 @@ export declare class UserMfa extends Resource {
15
15
  isMfaEnabled(userId?: number): Promise<{
16
16
  isEnabled: boolean;
17
17
  }>;
18
- enableMobileMfa(userId: number): Promise<void>;
19
- disableMobileMfa(userId: number): Promise<void>;
20
18
  }
21
19
  //# sourceMappingURL=Mfa.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Mfa.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Mfa.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC7F,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,OAAQ,SAAQ,QAAQ;IACnC,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAIzE,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAIxE,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIzC,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;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AAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAIvG,YAAY,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,SAAS,EAAE,OAAO,CAAA;KAAE,CAAC;CAI/D"}
@@ -19,12 +19,5 @@ export class UserMfa extends Resource {
19
19
  // Si userId est fourni, l'envoyer en query param, sinon vérifier l'user connecté
20
20
  return this.axios.$get('/mfa/is-enabled', userId ? { params: { userId } } : undefined);
21
21
  }
22
- ///// Mobile Approval MFA /////
23
- enableMobileMfa(userId) {
24
- return this.axios.$post('/mfa/enable/mobile-approval', { userId });
25
- }
26
- disableMobileMfa(userId) {
27
- return this.axios.$post('/mfa/disable/mobile-approval', { userId });
28
- }
29
22
  }
30
23
  //# sourceMappingURL=Mfa.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Mfa.js","sourceRoot":"","sources":["../../../../ts/api/resources/Mfa.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,OAAQ,SAAQ,QAAQ;IACnC,SAAS,CAAC,MAAc,EAAE,SAAiB;QACzC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,iBAAiB,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,WAAW,CAAC,MAAc,EAAE,IAAY;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,mBAAmB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IACjE,CAAC;IAED,OAAO,CAAC,MAAc;QACpB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACtD,CAAC;IAED,UAAU,CAAC,MAAc,EAAE,IAAY;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,kBAAkB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IAChE,CAAC;IAED,kBAAkB,CAAC,MAAc,EAAE,YAAoB;QACrD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,2BAA2B,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC;IACjF,CAAC;IAED,YAAY,CAAC,MAAe;QAC1B,iFAAiF;QACjF,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IACzF,CAAC;IAED,+BAA+B;IAE/B,eAAe,CAAC,MAAc;QAC5B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,6BAA6B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACrE,CAAC;IAED,gBAAgB,CAAC,MAAc;QAC7B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,8BAA8B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACtE,CAAC;CACF","sourcesContent":["import { MfaSetupInitResult, MfaSetupVerifyResult } from '../../types/Interface/api/mfa/mfa';\nimport { Resource } from '../Resource';\n\nexport class UserMfa extends Resource {\n setupInit(userId: number, userEmail: string): Promise<MfaSetupInitResult> {\n return this.axios.$post('/mfa/setup/init', { userId, userEmail });\n }\n\n setupVerify(userId: number, code: string): Promise<MfaSetupVerifyResult> {\n return this.axios.$post('/mfa/setup/verify', { userId, code });\n }\n\n disable(userId: number): Promise<boolean> {\n return this.axios.$post('/mfa/disable', { userId });\n }\n\n verifyCode(userId: number, code: string): Promise<{ success: boolean; token?: string }> {\n return this.axios.$post('/mfa/verify/code', { userId, code });\n }\n\n verifyRecoveryCode(userId: number, recoveryCode: string): Promise<{ success: boolean; token?: string }> {\n return this.axios.$post('/mfa/verify/recovery-code', { userId, recoveryCode });\n }\n\n isMfaEnabled(userId?: number): Promise<{ isEnabled: boolean }> {\n // Si userId est fourni, l'envoyer en query param, sinon vérifier l'user connecté\n return this.axios.$get('/mfa/is-enabled', userId ? { params: { userId } } : undefined);\n }\n\n ///// Mobile Approval MFA /////\n\n enableMobileMfa(userId: number): Promise<void> {\n return this.axios.$post('/mfa/enable/mobile-approval', { userId });\n }\n\n disableMobileMfa(userId: number): Promise<void> {\n return this.axios.$post('/mfa/disable/mobile-approval', { userId });\n }\n}\n"]}
1
+ {"version":3,"file":"Mfa.js","sourceRoot":"","sources":["../../../../ts/api/resources/Mfa.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,OAAQ,SAAQ,QAAQ;IACnC,SAAS,CAAC,MAAc,EAAE,SAAiB;QACzC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,iBAAiB,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,WAAW,CAAC,MAAc,EAAE,IAAY;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,mBAAmB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IACjE,CAAC;IAED,OAAO,CAAC,MAAc;QACpB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACtD,CAAC;IAED,UAAU,CAAC,MAAc,EAAE,IAAY;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,kBAAkB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IAChE,CAAC;IAED,kBAAkB,CAAC,MAAc,EAAE,YAAoB;QACrD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,2BAA2B,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC;IACjF,CAAC;IAED,YAAY,CAAC,MAAe;QAC1B,iFAAiF;QACjF,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IACzF,CAAC;CACF","sourcesContent":["import { MfaSetupInitResult, MfaSetupVerifyResult } from '../../types/Interface/api/mfa/mfa';\nimport { Resource } from '../Resource';\n\nexport class UserMfa extends Resource {\n setupInit(userId: number, userEmail: string): Promise<MfaSetupInitResult> {\n return this.axios.$post('/mfa/setup/init', { userId, userEmail });\n }\n\n setupVerify(userId: number, code: string): Promise<MfaSetupVerifyResult> {\n return this.axios.$post('/mfa/setup/verify', { userId, code });\n }\n\n disable(userId: number): Promise<boolean> {\n return this.axios.$post('/mfa/disable', { userId });\n }\n\n verifyCode(userId: number, code: string): Promise<{ success: boolean; token?: string }> {\n return this.axios.$post('/mfa/verify/code', { userId, code });\n }\n\n verifyRecoveryCode(userId: number, recoveryCode: string): Promise<{ success: boolean; token?: string }> {\n return this.axios.$post('/mfa/verify/recovery-code', { userId, recoveryCode });\n }\n\n isMfaEnabled(userId?: number): Promise<{ isEnabled: boolean }> {\n // Si userId est fourni, l'envoyer en query param, sinon vérifier l'user connecté\n return this.axios.$get('/mfa/is-enabled', userId ? { params: { userId } } : undefined);\n }\n}\n"]}
@@ -1,17 +1,7 @@
1
1
  export interface IAuthenticationResponse {
2
- /** TOTP MFA requis (classique avec code à 6 chiffres) */
3
2
  requiresMfa?: boolean;
4
- /** Mobile approval MFA requis (validation sur l'app mobile) */
5
- requiresMobileApproval?: boolean;
6
- /** ID de la demande d'approbation (pour polling/tracking) */
7
- requestId?: string;
8
- /** Date d'expiration de la demande */
9
- expiresAt?: Date;
10
- /** ID de l'utilisateur */
11
3
  userId?: number;
12
- /** Message informatif */
13
4
  message?: string;
14
- /** Token JWT si authentification réussie */
15
5
  token?: string;
16
6
  }
17
7
  //# sourceMappingURL=AuthenticationResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AuthenticationResponse.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/AuthenticationResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uBAAuB;IACtC,yDAAyD;IACzD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,+DAA+D;IAC/D,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,0BAA0B;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"AuthenticationResponse.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/AuthenticationResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uBAAuB;IACtC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -1 +1 @@
1
- {"version":3,"file":"AuthenticationResponse.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/AuthenticationResponse.ts"],"names":[],"mappings":"","sourcesContent":["export interface IAuthenticationResponse {\n /** TOTP MFA requis (classique avec code à 6 chiffres) */\n requiresMfa?: boolean;\n /** Mobile approval MFA requis (validation sur l'app mobile) */\n requiresMobileApproval?: boolean;\n /** ID de la demande d'approbation (pour polling/tracking) */\n requestId?: string;\n /** Date d'expiration de la demande */\n expiresAt?: Date;\n /** ID de l'utilisateur */\n userId?: number;\n /** Message informatif */\n message?: string;\n /** Token JWT si authentification réussie */\n token?: string;\n}\n"]}
1
+ {"version":3,"file":"AuthenticationResponse.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/AuthenticationResponse.ts"],"names":[],"mappings":"","sourcesContent":["export interface IAuthenticationResponse {\n requiresMfa?: boolean;\n userId?: number;\n message?: string;\n token?: string;\n}\n"]}
@@ -13,6 +13,5 @@ export interface IGeneralLedgerAccountingEntry {
13
13
  exported?: Date;
14
14
  idAccountingTransaction: number;
15
15
  idBankAccount?: number;
16
- letter?: string | null;
17
16
  }
18
17
  //# 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;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,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;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 letter?: string | null;\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}\n"]}
@@ -27,7 +27,6 @@ export interface ReadGeneralLedgerSummary {
27
27
  debit: number;
28
28
  balance: number;
29
29
  identifier: string;
30
- initialBalance: number;
31
30
  entries?: IGeneralLedgerAccountingEntry[];
32
31
  }
33
32
  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,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
+ {"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 +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;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
+ {"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,4 +1,3 @@
1
- import { ThirdPartyType } from '../../../Enum/ThirdPartyType';
2
1
  export declare class QueryGeneralLedgerAuxiliary {
3
2
  dateStart: string;
4
3
  dateEnd: string;
@@ -10,12 +9,4 @@ export declare class QueryGeneralLedgerAuxiliary {
10
9
  search?: string;
11
10
  idThirdParty?: number;
12
11
  }
13
- export type LetteringState = 'all' | 'only' | 'none';
14
- export declare class QueryGeneralLedgerAuxiliaryPdf {
15
- startDate: string;
16
- endDate: string;
17
- idThirdPartyType?: ThirdPartyType;
18
- idThirdParty?: number[];
19
- lettering?: LetteringState;
20
- }
21
12
  //# 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":"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,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC;AAErD,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;IAKxB,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B"}
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"}
@@ -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, IsDateString } from 'class-validator';
10
+ import { IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber } 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,37 +76,4 @@ __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
- lettering;
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(),
108
- IsEnum(['all', 'only', 'none']),
109
- IsOptional(),
110
- __metadata("design:type", String)
111
- ], QueryGeneralLedgerAuxiliaryPdf.prototype, "lettering", void 0);
112
79
  //# 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,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,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AAU,EAAE;;wEACqB;AAIlC;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;oEACW;AAKxB;IAHC,mBAAmB,EAAE;IACrB,MAAM,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,UAAU,EAAE;;iEACc","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 type LetteringState = 'all' | 'only' | 'none';\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()\n @IsEnum(['all', 'only', 'none'])\n @IsOptional()\n lettering?: LetteringState;\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,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"]}
@@ -2,7 +2,7 @@ import { RevenueMovementType } from '../../Enum/Revenue';
2
2
  /**
3
3
  * DTO pour créer un mouvement de revenu
4
4
  */
5
- export declare class ICreateRevenueMovementRequest {
5
+ export interface ICreateRevenueMovementRequest {
6
6
  type: RevenueMovementType;
7
7
  idSociety: number;
8
8
  idExercice?: number;
@@ -19,7 +19,7 @@ export declare class ICreateRevenueMovementRequest {
19
19
  /**
20
20
  * DTO pour mettre à jour un mouvement de revenu
21
21
  */
22
- export declare class IUpdateRevenueMovementRequest {
22
+ export interface IUpdateRevenueMovementRequest {
23
23
  type?: RevenueMovementType;
24
24
  idTerminationList?: number;
25
25
  idChurnMovement?: number;
@@ -33,7 +33,7 @@ export declare class IUpdateRevenueMovementRequest {
33
33
  /**
34
34
  * Filtres pour récupérer les mouvements de revenu
35
35
  */
36
- export declare class IGetRevenueMovementsRequest {
36
+ export interface IGetRevenueMovementsRequest {
37
37
  idSociety?: number;
38
38
  idExercice?: number;
39
39
  idPrestation?: number;
@@ -58,7 +58,7 @@ export interface IGetRevenueMovementsResponse {
58
58
  /**
59
59
  * DTO pour générer un snapshot de revenu
60
60
  */
61
- export declare class IGenerateSnapshotRequest {
61
+ export interface IGenerateSnapshotRequest {
62
62
  date?: string;
63
63
  idSociety?: number;
64
64
  idExercice?: number;
@@ -66,25 +66,24 @@ export declare class IGenerateSnapshotRequest {
66
66
  /**
67
67
  * DTO pour générer tous les snapshots de revenu
68
68
  */
69
- export declare class IGenerateAllSnapshotsRequest {
69
+ export interface IGenerateAllSnapshotsRequest {
70
70
  date?: string;
71
71
  }
72
72
  /**
73
73
  * DTO pour gérer la rétroactivité des mouvements de revenu
74
74
  */
75
- export declare class IManageRetroactivityRequest {
75
+ export interface IManageRetroactivityRequest {
76
76
  idSociety: number;
77
77
  idExercice?: number;
78
- date?: Date;
79
78
  }
80
79
  /**
81
80
  * Réponse pour la gestion de la rétroactivité
82
81
  */
83
82
  export interface IManageRetroactivityResponse {
84
83
  idSociety: number;
85
- idExercice: number[];
86
- exerciceStartDate: Date[];
87
- exerciceEndDate: Date[];
84
+ idExercice: number;
85
+ exerciceStartDate: Date;
86
+ exerciceEndDate: Date;
88
87
  movementsCreated: {
89
88
  bookings: number;
90
89
  churns: number;
@@ -1 +1 @@
1
- {"version":3,"file":"revenueMovement.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueMovement.ts"],"names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CAAC;QACf,YAAY,EAAE,MAAM,CAAC;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;IACF,oBAAoB,EAAE,MAAM,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,IAAI,EAAE,IAAI,CAAC;QACX,MAAM,EAAE,MAAM,CAAC;QACf,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;KACb,EAAE,CAAC;CACL"}
@@ -1,304 +1,2 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- var __metadata = (this && this.__metadata) || function (k, v) {
8
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
- };
10
- import { IsDate, IsInt, IsOptional, IsEnum, IsNumber, IsString, IsObject, IsArray } from 'class-validator';
11
- import { RevenueMovementType } from '../../Enum/Revenue';
12
- import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
13
- /**
14
- * DTO pour créer un mouvement de revenu
15
- */
16
- export class ICreateRevenueMovementRequest {
17
- type;
18
- idSociety;
19
- idExercice;
20
- idPrestation;
21
- idTerminationList;
22
- idChurnMovement;
23
- amount;
24
- mrr;
25
- arr;
26
- movementDate;
27
- description;
28
- metadata;
29
- }
30
- __decorate([
31
- ApiProperty(),
32
- IsEnum(RevenueMovementType),
33
- __metadata("design:type", Number)
34
- ], ICreateRevenueMovementRequest.prototype, "type", void 0);
35
- __decorate([
36
- ApiProperty(),
37
- IsInt(),
38
- __metadata("design:type", Number)
39
- ], ICreateRevenueMovementRequest.prototype, "idSociety", void 0);
40
- __decorate([
41
- ApiPropertyOptional(),
42
- IsOptional(),
43
- IsInt(),
44
- __metadata("design:type", Number)
45
- ], ICreateRevenueMovementRequest.prototype, "idExercice", void 0);
46
- __decorate([
47
- ApiPropertyOptional(),
48
- IsOptional(),
49
- IsInt(),
50
- __metadata("design:type", Number)
51
- ], ICreateRevenueMovementRequest.prototype, "idPrestation", void 0);
52
- __decorate([
53
- ApiPropertyOptional(),
54
- IsOptional(),
55
- IsInt(),
56
- __metadata("design:type", Number)
57
- ], ICreateRevenueMovementRequest.prototype, "idTerminationList", void 0);
58
- __decorate([
59
- ApiPropertyOptional(),
60
- IsOptional(),
61
- IsInt(),
62
- __metadata("design:type", Number)
63
- ], ICreateRevenueMovementRequest.prototype, "idChurnMovement", void 0);
64
- __decorate([
65
- ApiProperty(),
66
- IsInt(),
67
- __metadata("design:type", Number)
68
- ], ICreateRevenueMovementRequest.prototype, "amount", void 0);
69
- __decorate([
70
- ApiProperty(),
71
- IsInt(),
72
- __metadata("design:type", Number)
73
- ], ICreateRevenueMovementRequest.prototype, "mrr", void 0);
74
- __decorate([
75
- ApiProperty(),
76
- IsInt(),
77
- __metadata("design:type", Number)
78
- ], ICreateRevenueMovementRequest.prototype, "arr", void 0);
79
- __decorate([
80
- ApiProperty(),
81
- IsDate(),
82
- __metadata("design:type", Date)
83
- ], ICreateRevenueMovementRequest.prototype, "movementDate", void 0);
84
- __decorate([
85
- ApiPropertyOptional(),
86
- IsOptional(),
87
- IsString(),
88
- __metadata("design:type", String)
89
- ], ICreateRevenueMovementRequest.prototype, "description", void 0);
90
- __decorate([
91
- ApiPropertyOptional(),
92
- IsOptional(),
93
- IsObject(),
94
- __metadata("design:type", Object)
95
- ], ICreateRevenueMovementRequest.prototype, "metadata", void 0);
96
- /**
97
- * DTO pour mettre à jour un mouvement de revenu
98
- */
99
- export class IUpdateRevenueMovementRequest {
100
- type;
101
- idTerminationList;
102
- idChurnMovement;
103
- amount;
104
- mrr;
105
- arr;
106
- movementDate;
107
- description;
108
- metadata;
109
- }
110
- __decorate([
111
- ApiPropertyOptional(),
112
- IsOptional(),
113
- IsEnum(RevenueMovementType),
114
- __metadata("design:type", Number)
115
- ], IUpdateRevenueMovementRequest.prototype, "type", void 0);
116
- __decorate([
117
- ApiPropertyOptional(),
118
- IsOptional(),
119
- IsInt(),
120
- __metadata("design:type", Number)
121
- ], IUpdateRevenueMovementRequest.prototype, "idTerminationList", void 0);
122
- __decorate([
123
- ApiPropertyOptional(),
124
- IsOptional(),
125
- IsInt(),
126
- __metadata("design:type", Number)
127
- ], IUpdateRevenueMovementRequest.prototype, "idChurnMovement", void 0);
128
- __decorate([
129
- ApiPropertyOptional(),
130
- IsOptional(),
131
- IsNumber(),
132
- __metadata("design:type", Number)
133
- ], IUpdateRevenueMovementRequest.prototype, "amount", void 0);
134
- __decorate([
135
- ApiPropertyOptional(),
136
- IsOptional(),
137
- IsInt(),
138
- __metadata("design:type", Number)
139
- ], IUpdateRevenueMovementRequest.prototype, "mrr", void 0);
140
- __decorate([
141
- ApiPropertyOptional(),
142
- IsOptional(),
143
- IsInt(),
144
- __metadata("design:type", Number)
145
- ], IUpdateRevenueMovementRequest.prototype, "arr", void 0);
146
- __decorate([
147
- ApiPropertyOptional(),
148
- IsOptional(),
149
- IsDate(),
150
- __metadata("design:type", Object)
151
- ], IUpdateRevenueMovementRequest.prototype, "movementDate", void 0);
152
- __decorate([
153
- ApiPropertyOptional(),
154
- IsOptional(),
155
- IsString(),
156
- __metadata("design:type", String)
157
- ], IUpdateRevenueMovementRequest.prototype, "description", void 0);
158
- __decorate([
159
- ApiPropertyOptional(),
160
- IsOptional(),
161
- IsObject(),
162
- __metadata("design:type", Object)
163
- ], IUpdateRevenueMovementRequest.prototype, "metadata", void 0);
164
- /**
165
- * Filtres pour récupérer les mouvements de revenu
166
- */
167
- export class IGetRevenueMovementsRequest {
168
- idSociety;
169
- idExercice;
170
- idPrestation;
171
- idTerminationList;
172
- idChurnMovement;
173
- type;
174
- startDate;
175
- endDate;
176
- page;
177
- limit;
178
- }
179
- __decorate([
180
- ApiPropertyOptional(),
181
- IsOptional(),
182
- IsInt(),
183
- __metadata("design:type", Number)
184
- ], IGetRevenueMovementsRequest.prototype, "idSociety", void 0);
185
- __decorate([
186
- ApiPropertyOptional(),
187
- IsOptional(),
188
- IsInt(),
189
- __metadata("design:type", Number)
190
- ], IGetRevenueMovementsRequest.prototype, "idExercice", void 0);
191
- __decorate([
192
- ApiPropertyOptional(),
193
- IsOptional(),
194
- IsInt(),
195
- __metadata("design:type", Number)
196
- ], IGetRevenueMovementsRequest.prototype, "idPrestation", void 0);
197
- __decorate([
198
- ApiPropertyOptional(),
199
- IsOptional(),
200
- IsInt(),
201
- __metadata("design:type", Number)
202
- ], IGetRevenueMovementsRequest.prototype, "idTerminationList", void 0);
203
- __decorate([
204
- ApiPropertyOptional(),
205
- IsOptional(),
206
- IsInt(),
207
- __metadata("design:type", Number)
208
- ], IGetRevenueMovementsRequest.prototype, "idChurnMovement", void 0);
209
- __decorate([
210
- ApiPropertyOptional(),
211
- IsOptional(),
212
- IsArray(),
213
- IsEnum(RevenueMovementType, { each: true }),
214
- __metadata("design:type", Array)
215
- ], IGetRevenueMovementsRequest.prototype, "type", void 0);
216
- __decorate([
217
- ApiPropertyOptional(),
218
- IsOptional(),
219
- IsDate(),
220
- __metadata("design:type", Object)
221
- ], IGetRevenueMovementsRequest.prototype, "startDate", void 0);
222
- __decorate([
223
- ApiPropertyOptional(),
224
- IsOptional(),
225
- IsDate(),
226
- __metadata("design:type", Object)
227
- ], IGetRevenueMovementsRequest.prototype, "endDate", void 0);
228
- __decorate([
229
- ApiPropertyOptional(),
230
- IsOptional(),
231
- IsInt(),
232
- __metadata("design:type", Number)
233
- ], IGetRevenueMovementsRequest.prototype, "page", void 0);
234
- __decorate([
235
- ApiPropertyOptional(),
236
- IsOptional(),
237
- IsInt(),
238
- __metadata("design:type", Number)
239
- ], IGetRevenueMovementsRequest.prototype, "limit", void 0);
240
- /**
241
- * DTO pour générer un snapshot de revenu
242
- */
243
- export class IGenerateSnapshotRequest {
244
- date;
245
- idSociety;
246
- idExercice;
247
- }
248
- __decorate([
249
- ApiPropertyOptional(),
250
- IsOptional(),
251
- IsDate(),
252
- __metadata("design:type", String)
253
- ], IGenerateSnapshotRequest.prototype, "date", void 0);
254
- __decorate([
255
- ApiPropertyOptional(),
256
- IsOptional(),
257
- IsInt(),
258
- __metadata("design:type", Number)
259
- ], IGenerateSnapshotRequest.prototype, "idSociety", void 0);
260
- __decorate([
261
- ApiPropertyOptional(),
262
- IsOptional(),
263
- IsInt(),
264
- __metadata("design:type", Number)
265
- ], IGenerateSnapshotRequest.prototype, "idExercice", void 0);
266
- /**
267
- * DTO pour générer tous les snapshots de revenu
268
- */
269
- export class IGenerateAllSnapshotsRequest {
270
- date;
271
- }
272
- __decorate([
273
- ApiPropertyOptional(),
274
- IsOptional(),
275
- IsDate(),
276
- __metadata("design:type", String)
277
- ], IGenerateAllSnapshotsRequest.prototype, "date", void 0);
278
- /**
279
- * DTO pour gérer la rétroactivité des mouvements de revenu
280
- */
281
- export class IManageRetroactivityRequest {
282
- idSociety;
283
- idExercice;
284
- date;
285
- }
286
- __decorate([
287
- ApiPropertyOptional(),
288
- IsOptional(),
289
- IsInt(),
290
- __metadata("design:type", Number)
291
- ], IManageRetroactivityRequest.prototype, "idSociety", void 0);
292
- __decorate([
293
- ApiPropertyOptional(),
294
- IsOptional(),
295
- IsInt(),
296
- __metadata("design:type", Number)
297
- ], IManageRetroactivityRequest.prototype, "idExercice", void 0);
298
- __decorate([
299
- ApiPropertyOptional(),
300
- IsOptional(),
301
- IsDate(),
302
- __metadata("design:type", Date)
303
- ], IManageRetroactivityRequest.prototype, "date", void 0);
1
+ export {};
304
2
  //# sourceMappingURL=revenueMovement.js.map