@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,4 +1,4 @@
1
- import { BasePaginateInterface, IGeneralLedgerAccount, IGeneralLedgerThirdParty, QueryGeneralLedgerAuxiliary, QueryGeneralLedgerAuxiliaryPdf, QueryGeneralLedgerThirdParty, ReadGeneralLedgerSummary, ReadIGeneralLedgerThirdPartyPaginated } from '../../types';
1
+ import { BasePaginateInterface, IGeneralLedgerAccount, IGeneralLedgerThirdParty, QueryGeneralLedgerAuxiliary, QueryGeneralLedgerThirdParty, ReadGeneralLedgerSummary, ReadIGeneralLedgerThirdPartyPaginated } from '../../types';
2
2
  import { QueryGeneralLedger } from '../../types/Interface/api/generalLedger/QueryGeneralLedger';
3
3
  import { Resource } from '../Resource';
4
4
  export declare class GeneralLedger extends Resource {
@@ -15,6 +15,5 @@ export declare class GeneralLedger extends Resource {
15
15
  getAuxiliary(params: QueryGeneralLedgerAuxiliary): Promise<BasePaginateInterface<IGeneralLedgerThirdParty[]>>;
16
16
  getAuxiliarySummaries(params: QueryGeneralLedgerAuxiliary): Promise<BasePaginateInterface<ReadGeneralLedgerSummary[]>>;
17
17
  getThirdParty(id: number, params: QueryGeneralLedgerThirdParty): Promise<ReadIGeneralLedgerThirdPartyPaginated>;
18
- getAuxiliaryPdf(params: QueryGeneralLedgerAuxiliaryPdf): Promise<Buffer>;
19
18
  }
20
19
  //# sourceMappingURL=GeneralLedger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GeneralLedger.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/GeneralLedger.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,wBAAwB,EACxB,2BAA2B,EAC3B,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EACxB,qCAAqC,EACtC,MAAM,aAAa,CAAC;AAC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,OAAO,CAAC,qCAAqC,CAAC;CAGhH"}
@@ -70,15 +70,6 @@ class GeneralLedger extends Resource_1.Resource {
70
70
  getThirdParty(id, params) {
71
71
  return this.axios.$get(`/general-ledger/third-parties/${id}`, { params });
72
72
  }
73
- getAuxiliaryPdf(params) {
74
- return this.axios.$get('/general-ledger/auxiliary/pdf', {
75
- params,
76
- responseType: 'arraybuffer',
77
- headers: {
78
- Accept: 'application/pdf',
79
- },
80
- });
81
- }
82
73
  }
83
74
  exports.GeneralLedger = GeneralLedger;
84
75
  //# sourceMappingURL=GeneralLedger.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GeneralLedger.js","sourceRoot":"","sources":["../../../../ts/api/resources/GeneralLedger.ts"],"names":[],"mappings":";;;AAWA,0CAAuC;AAEvC,MAAa,aAAc,SAAQ,mBAAQ;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;I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D,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;CACF;AAzFD,sCAyFC","sourcesContent":["import {\n BasePaginateInterface,\n IGeneralLedgerAccount,\n IGeneralLedgerThirdParty,\n QueryGeneralLedgerAuxiliary,\n QueryGeneralLedgerAuxiliaryPdf,\n QueryGeneralLedgerThirdParty,\n ReadGeneralLedgerSummary,\n ReadIGeneralLedgerThirdPartyPaginated,\n} from '../../types';\nimport { QueryGeneralLedger } from '../../types/Interface/api/generalLedger/QueryGeneralLedger';\nimport { Resource } from '../Resource';\n\nexport class GeneralLedger extends Resource {\n getBySociety(params: QueryGeneralLedger): Promise<BasePaginateInterface<IGeneralLedgerAccount[]>> {\n return this.axios.$get('/generalLedger', {\n params,\n });\n }\n\n getBalanceBySociety(params: QueryGeneralLedger): Promise<BasePaginateInterface<IGeneralLedgerAccount[]>> {\n return this.axios.$get('/generalLedger/balance', {\n params,\n });\n }\n\n /**\n * @deprecated use exportCsv instead\n */\n getCsv(params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$get('/generalLedger/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n exportCsv(idSociety: number, query: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$post(`/societies/${idSociety}/general-ledgers/csv`, null, {\n params: query,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n exportBalanceCsv(idSociety: number, params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$post(`/societies/${idSociety}/general-ledgers/balances/csv`, null, {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getPdf(idSociety: number, params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$get(`/societies/${idSociety}/general-ledger/pdf`, {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n exportBalancePdf(idSociety: number, params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$post(`/societies/${idSociety}/general-ledgers/balances/pdf`, null, {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getAuxiliary(params: QueryGeneralLedgerAuxiliary): Promise<BasePaginateInterface<IGeneralLedgerThirdParty[]>> {\n return this.axios.$get('/generalLedger/auxiliary', { params });\n }\n\n getAuxiliarySummaries(\n params: QueryGeneralLedgerAuxiliary,\n ): Promise<BasePaginateInterface<ReadGeneralLedgerSummary[]>> {\n return this.axios.$get('/general-ledger/auxiliary/summaries', { params });\n }\n\n getThirdParty(id: number, params: QueryGeneralLedgerThirdParty): Promise<ReadIGeneralLedgerThirdPartyPaginated> {\n return this.axios.$get(`/general-ledger/third-parties/${id}`, { params });\n }\n\n getAuxiliaryPdf(params: QueryGeneralLedgerAuxiliaryPdf): Promise<Buffer> {\n return this.axios.$get('/general-ledger/auxiliary/pdf', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n}\n"]}
1
+ {"version":3,"file":"GeneralLedger.js","sourceRoot":"","sources":["../../../../ts/api/resources/GeneralLedger.ts"],"names":[],"mappings":";;;AAUA,0CAAuC;AAEvC,MAAa,aAAc,SAAQ,mBAAQ;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;YA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CAAC,IAAI,CAAC,qCAAqC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED,aAAa,CAAC,EAAU,EAAE,MAAoC;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,iCAAiC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC5E,CAAC;CACF;AA/ED,sCA+EC","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,EAA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G,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAIvF,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,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"}
@@ -22,13 +22,6 @@ class UserMfa extends Resource_1.Resource {
22
22
  // Si userId est fourni, l'envoyer en query param, sinon vérifier l'user connecté
23
23
  return this.axios.$get('/mfa/is-enabled', userId ? { params: { userId } } : undefined);
24
24
  }
25
- ///// Mobile Approval MFA /////
26
- enableMobileMfa(userId) {
27
- return this.axios.$post('/mfa/enable/mobile-approval', { userId });
28
- }
29
- disableMobileMfa(userId) {
30
- return this.axios.$post('/mfa/disable/mobile-approval', { userId });
31
- }
32
25
  }
33
26
  exports.UserMfa = UserMfa;
34
27
  //# sourceMappingURL=Mfa.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Mfa.js","sourceRoot":"","sources":["../../../../ts/api/resources/Mfa.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAEvC,MAAa,OAAQ,SAAQ,mBAAQ;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;AAnCD,0BAmCC","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,0CAAuC;AAEvC,MAAa,OAAQ,SAAQ,mBAAQ;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;AAzBD,0BAyBC","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,qDAAgF;AAChF,6CAAqE;AAGrE,sFAA2E;AAmC3E,MAAa,4BAA4B;IAAzC;QAgBE,SAAI,GAAW,CAAC,CAAC;QAKjB,UAAK,GAAW,GAAG,CAAC;IAOtB,CAAC;CAAA;AA5BD,oEA4BC;AAzBC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;+DACG;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;6DACC;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;+DACO;AAKlB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACM;AAKjB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACS;AAMpB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mEACW","sourcesContent":["import { IsBoolean, IsDateString, IsNumber, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IGeneralLedgerAccountingEntry } from './IGeneralLedgerAccountingEntry';\nimport { BasePaginate } from '../BasePaginate';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport interface IGeneralLedgerThirdParty {\n idThirdParty: number;\n name: string;\n totalCredit: number;\n totalDebit: number;\n totalSolde: number;\n entries: IGeneralLedgerAccountingEntry[];\n identifier: string;\n initialBalance: number;\n}\n\nexport interface ReadIGeneralLedgerThirdPartyPaginated {\n idThirdParty: number;\n name: string;\n totalCredit: number;\n totalDebit: number;\n totalSolde: number;\n entries: BasePaginate<IGeneralLedgerAccountingEntry>;\n identifier: string;\n initialBalance: number;\n}\n\nexport interface ReadGeneralLedgerSummary {\n idThirdParty: number;\n name: string;\n credit: number;\n debit: number;\n balance: number;\n identifier: string;\n initialBalance: number;\n entries?: IGeneralLedgerAccountingEntry[];\n}\n\nexport class QueryGeneralLedgerThirdParty {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsOptional()\n @IsNumber()\n page: number = 1;\n\n @ApiProperty()\n @IsOptional()\n @IsNumber()\n limit: number = 100;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n}\n"]}
1
+ {"version":3,"file":"IGeneralLedgerThirdParty.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgF;AAChF,6CAAqE;AAGrE,sFAA2E;AAkC3E,MAAa,4BAA4B;IAAzC;QAgBE,SAAI,GAAW,CAAC,CAAC;QAKjB,UAAK,GAAW,GAAG,CAAC;IAOtB,CAAC;CAAA;AA5BD,oEA4BC;AAzBC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;+DACG;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;6DACC;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;+DACO;AAKlB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACM;AAKjB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACS;AAMpB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mEACW","sourcesContent":["import { IsBoolean, IsDateString, IsNumber, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IGeneralLedgerAccountingEntry } from './IGeneralLedgerAccountingEntry';\nimport { BasePaginate } from '../BasePaginate';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport interface IGeneralLedgerThirdParty {\n idThirdParty: number;\n name: string;\n totalCredit: number;\n totalDebit: number;\n totalSolde: number;\n entries: IGeneralLedgerAccountingEntry[];\n identifier: string;\n initialBalance: number;\n}\n\nexport interface ReadIGeneralLedgerThirdPartyPaginated {\n idThirdParty: number;\n name: string;\n totalCredit: number;\n totalDebit: number;\n totalSolde: number;\n entries: BasePaginate<IGeneralLedgerAccountingEntry>;\n identifier: string;\n initialBalance: number;\n}\n\nexport interface ReadGeneralLedgerSummary {\n idThirdParty: number;\n name: string;\n credit: number;\n debit: number;\n balance: number;\n identifier: string;\n entries?: IGeneralLedgerAccountingEntry[];\n}\n\nexport class QueryGeneralLedgerThirdParty {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsOptional()\n @IsNumber()\n page: number = 1;\n\n @ApiProperty()\n @IsOptional()\n @IsNumber()\n limit: number = 100;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n}\n"]}
@@ -1,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"}
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.QueryGeneralLedgerAuxiliaryPdf = exports.QueryGeneralLedgerAuxiliary = void 0;
12
+ exports.QueryGeneralLedgerAuxiliary = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const utils_1 = require("../../../../utils");
15
15
  const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
@@ -71,33 +71,4 @@ __decorate([
71
71
  (0, class_validator_1.IsOptional)(),
72
72
  __metadata("design:type", Number)
73
73
  ], QueryGeneralLedgerAuxiliary.prototype, "idThirdParty", void 0);
74
- class QueryGeneralLedgerAuxiliaryPdf {
75
- }
76
- exports.QueryGeneralLedgerAuxiliaryPdf = QueryGeneralLedgerAuxiliaryPdf;
77
- __decorate([
78
- (0, utils_1.ApiProperty)(),
79
- (0, class_validator_1.IsDateString)(),
80
- __metadata("design:type", String)
81
- ], QueryGeneralLedgerAuxiliaryPdf.prototype, "startDate", void 0);
82
- __decorate([
83
- (0, utils_1.ApiProperty)(),
84
- (0, class_validator_1.IsDateString)(),
85
- __metadata("design:type", String)
86
- ], QueryGeneralLedgerAuxiliaryPdf.prototype, "endDate", void 0);
87
- __decorate([
88
- (0, utils_1.ApiPropertyOptional)(),
89
- (0, class_validator_1.IsOptional)(),
90
- __metadata("design:type", Number)
91
- ], QueryGeneralLedgerAuxiliaryPdf.prototype, "idThirdPartyType", void 0);
92
- __decorate([
93
- (0, utils_1.ApiPropertyOptional)(),
94
- (0, class_validator_1.IsOptional)(),
95
- __metadata("design:type", Array)
96
- ], QueryGeneralLedgerAuxiliaryPdf.prototype, "idThirdParty", void 0);
97
- __decorate([
98
- (0, utils_1.ApiPropertyOptional)(),
99
- (0, class_validator_1.IsEnum)(['all', 'only', 'none']),
100
- (0, class_validator_1.IsOptional)(),
101
- __metadata("design:type", String)
102
- ], QueryGeneralLedgerAuxiliaryPdf.prototype, "lettering", void 0);
103
74
  //# sourceMappingURL=QueryGeneralLedgerAuxiliary.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryGeneralLedgerAuxiliary.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8G;AAC9G,6CAAqE;AACrE,sFAA2E;AAC3E,8GAAmG;AACnG,iEAA8D;AAE9D,MAAa,2BAA2B;CA4CvC;AA5CD,kEA4CC;AAzCC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,qDAAqB,GAAE;;8DACN;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,qDAAqB,GAAE;;4DACR;AAIhB;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ent":["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,qDAAgG;AAChG,6CAAqE;AACrE,sFAA2E;AAC3E,8GAAmG;AACnG,iEAA8D;AAE9D,MAAa,2BAA2B;CA4CvC;AA5CD,kEA4CC;AAzCC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,qDAAqB,GAAE;;8DACN;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,qDAAqB,GAAE;;4DACR;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,+BAAc,CAAC;;qEACE;AAKzB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAG,EAAC,CAAC,CAAC;;0DACO;AAKd;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAG,EAAC,CAAC,CAAC;;yDACM;AAMb;IAJC,IAAA,2BAAmB,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,+DAA+D,EAAE,CAAC;IAClH,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kEACW;AAMxB;IAJC,IAAA,2BAAmB,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACtC,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACQ;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACG;AAKhB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACS","sourcesContent":["import { IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\nimport { ThirdPartyType } from '../../../Enum/ThirdPartyType';\n\nexport class QueryGeneralLedgerAuxiliary {\n @ApiProperty()\n @IsFormattedDateString()\n dateStart: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n dateEnd: string;\n\n @ApiProperty()\n @IsEnum(ThirdPartyType)\n idThirdPartyType: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n limit: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n page: number;\n\n @ApiPropertyOptional({ default: false, describe: 'If set to true, it will search only entries with no lettering' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n\n @ApiPropertyOptional({ default: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n}\n"]}
@@ -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":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAGzD;;GAEG;AACH,qBAAa,6BAA6B;IAGxC,IAAI,EAAE,mBAAmB,CAAC;IAI1B,SAAS,EAAE,MAAM,CAAC;IAKlB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,eAAe,CAAC,EAAE,MAAM,CAAC;IAIzB,MAAM,EAAE,MAAM,CAAC;IAIf,GAAG,EAAE,MAAM,CAAC;IAIZ,GAAG,EAAE,MAAM,CAAC;IAIZ,YAAY,EAAE,IAAI,CAAC;IAKnB,W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;IAKd,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,qBAAa,4BAA4B;IAIvC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,qBAAa,2BAA2B;IAItC,SAAS,EAAE,MAAM,CAAC;IAKlB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,iBAAiB,EAAE,IAAI,EAAE,CAAC;IAC1B,eAAe,EAAE,IAAI,EAAE,CAAC;IACxB,gBAAgB,EAAE;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,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
+ {"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,C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