@mikemo-coposit/am-accounting-shared 0.0.3 → 0.0.5

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 (513) hide show
  1. package/dist/cjs/constants/cma/cma.constant.d.ts +6 -0
  2. package/dist/cjs/constants/cma/cma.constant.d.ts.map +1 -0
  3. package/dist/cjs/constants/cma/index.d.ts +1 -1
  4. package/dist/cjs/constants/cma/index.d.ts.map +1 -1
  5. package/dist/cjs/constants/cma-transaction/cma-input-type.constant.d.ts +6 -0
  6. package/dist/cjs/constants/cma-transaction/cma-input-type.constant.d.ts.map +1 -0
  7. package/dist/cjs/constants/cma-transaction/cma-payment-method.constant.d.ts +4 -0
  8. package/dist/cjs/constants/cma-transaction/cma-payment-method.constant.d.ts.map +1 -0
  9. package/dist/cjs/constants/cma-transaction/cma-transaction-status.constant.d.ts +8 -0
  10. package/dist/cjs/constants/cma-transaction/cma-transaction-status.constant.d.ts.map +1 -0
  11. package/dist/cjs/constants/cma-transaction/cma-transaction-type.constant.d.ts +20 -0
  12. package/dist/cjs/constants/cma-transaction/cma-transaction-type.constant.d.ts.map +1 -0
  13. package/dist/cjs/constants/cma-transaction/index.d.ts +5 -0
  14. package/dist/cjs/constants/cma-transaction/index.d.ts.map +1 -0
  15. package/dist/cjs/constants/common/account-period.constant.d.ts +5 -0
  16. package/dist/cjs/constants/common/account-period.constant.d.ts.map +1 -0
  17. package/dist/cjs/constants/common/index.d.ts +2 -0
  18. package/dist/cjs/constants/common/index.d.ts.map +1 -1
  19. package/dist/cjs/constants/common/reconciliation.constant.d.ts +5 -0
  20. package/dist/cjs/constants/common/reconciliation.constant.d.ts.map +1 -0
  21. package/dist/cjs/constants/index.d.ts +3 -2
  22. package/dist/cjs/constants/index.d.ts.map +1 -1
  23. package/dist/cjs/constants/mta-transaction/index.d.ts +1 -0
  24. package/dist/cjs/constants/mta-transaction/index.d.ts.map +1 -1
  25. package/dist/cjs/constants/mta-transaction/mta-input-type.constant.d.ts +3 -1
  26. package/dist/cjs/constants/mta-transaction/mta-input-type.constant.d.ts.map +1 -1
  27. package/dist/cjs/constants/mta-transaction/mta-transaction-status.constant.d.ts +8 -0
  28. package/dist/cjs/constants/mta-transaction/mta-transaction-status.constant.d.ts.map +1 -0
  29. package/dist/cjs/constants/mta-transaction/mta-type.constant.d.ts +0 -4
  30. package/dist/cjs/constants/mta-transaction/mta-type.constant.d.ts.map +1 -1
  31. package/dist/cjs/constants/payout/index.d.ts +4 -0
  32. package/dist/cjs/constants/payout/index.d.ts.map +1 -0
  33. package/dist/cjs/constants/payout/payout-status.constant.d.ts +9 -0
  34. package/dist/cjs/constants/payout/payout-status.constant.d.ts.map +1 -0
  35. package/dist/cjs/constants/payout/payout-type.constant.d.ts +9 -0
  36. package/dist/cjs/constants/payout/payout-type.constant.d.ts.map +1 -0
  37. package/dist/cjs/constants/payout/payout.constant.d.ts +37 -0
  38. package/dist/cjs/constants/payout/payout.constant.d.ts.map +1 -0
  39. package/dist/cjs/constants/payout-bank-file/index.d.ts +2 -0
  40. package/dist/cjs/constants/payout-bank-file/index.d.ts.map +1 -0
  41. package/dist/cjs/constants/payout-bank-file/payout-bank-file-status.constant.d.ts +8 -0
  42. package/dist/cjs/constants/payout-bank-file/payout-bank-file-status.constant.d.ts.map +1 -0
  43. package/dist/cjs/index.js +1924 -743
  44. package/dist/cjs/schemas/cma/cma.entity.schema.d.ts +1093 -0
  45. package/dist/cjs/schemas/cma/cma.entity.schema.d.ts.map +1 -0
  46. package/dist/cjs/schemas/cma/cma.rest.schema.d.ts +759 -0
  47. package/dist/cjs/schemas/cma/cma.rest.schema.d.ts.map +1 -0
  48. package/dist/cjs/schemas/cma/create-cma.schema.d.ts +25 -0
  49. package/dist/cjs/schemas/cma/create-cma.schema.d.ts.map +1 -0
  50. package/dist/cjs/schemas/cma/index.d.ts +3 -3
  51. package/dist/cjs/schemas/cma/index.d.ts.map +1 -1
  52. package/dist/cjs/schemas/cma-account-period/cma-account-period-close.rest.schema.d.ts +19 -0
  53. package/dist/cjs/schemas/cma-account-period/cma-account-period-close.rest.schema.d.ts.map +1 -0
  54. package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +3637 -0
  55. package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts.map +1 -0
  56. package/dist/cjs/schemas/cma-account-period/cma-account-period.entity.schema.d.ts +46 -0
  57. package/dist/cjs/schemas/cma-account-period/cma-account-period.entity.schema.d.ts.map +1 -0
  58. package/dist/cjs/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +1105 -0
  59. package/dist/cjs/schemas/cma-account-period/cma-account-period.rest.schema.d.ts.map +1 -0
  60. package/dist/cjs/schemas/cma-account-period/index.d.ts +6 -0
  61. package/dist/cjs/schemas/cma-account-period/index.d.ts.map +1 -0
  62. package/dist/cjs/schemas/cma-account-period/update-cma-period-reconciled-to.schema.d.ts +19 -0
  63. package/dist/cjs/schemas/cma-account-period/update-cma-period-reconciled-to.schema.d.ts.map +1 -0
  64. package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.entity.schema.d.ts +37 -0
  65. package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.entity.schema.d.ts.map +1 -0
  66. package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +2238 -0
  67. package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts.map +1 -0
  68. package/dist/cjs/schemas/cma-reconciled-transaction/index.d.ts +3 -0
  69. package/dist/cjs/schemas/cma-reconciled-transaction/index.d.ts.map +1 -0
  70. package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.entity.schema.d.ts +61 -0
  71. package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.entity.schema.d.ts.map +1 -0
  72. package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts +71 -0
  73. package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts.map +1 -0
  74. package/dist/cjs/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts +16 -0
  75. package/dist/cjs/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts.map +1 -0
  76. package/dist/cjs/schemas/cma-reconciliation/index.d.ts +5 -0
  77. package/dist/cjs/schemas/cma-reconciliation/index.d.ts.map +1 -0
  78. package/dist/cjs/schemas/cma-reconciliation/update-cma-reconciliation-current-bank-balance.rest.schema.d.ts +13 -0
  79. package/dist/cjs/schemas/cma-reconciliation/update-cma-reconciliation-current-bank-balance.rest.schema.d.ts.map +1 -0
  80. package/dist/cjs/schemas/cma-transaction/cancel-cma-transaction.rest.schema.d.ts +16 -0
  81. package/dist/cjs/schemas/cma-transaction/cancel-cma-transaction.rest.schema.d.ts.map +1 -0
  82. package/dist/cjs/schemas/cma-transaction/clear-cma-transaction.rest.schema.d.ts +13 -0
  83. package/dist/cjs/schemas/cma-transaction/clear-cma-transaction.rest.schema.d.ts.map +1 -0
  84. package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts +815 -0
  85. package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -0
  86. package/dist/cjs/schemas/cma-transaction/cma-transaction.entity.schema.d.ts +1533 -44
  87. package/dist/cjs/schemas/cma-transaction/cma-transaction.entity.schema.d.ts.map +1 -1
  88. package/dist/cjs/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +836 -0
  89. package/dist/cjs/schemas/cma-transaction/cma-transaction.rest.schema.d.ts.map +1 -0
  90. package/dist/cjs/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts +38 -0
  91. package/dist/cjs/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts.map +1 -0
  92. package/dist/cjs/schemas/cma-transaction/index.d.ts +6 -0
  93. package/dist/cjs/schemas/cma-transaction/index.d.ts.map +1 -1
  94. package/dist/cjs/schemas/cma-transaction/reconcile-cma-transaction.rest.schema.d.ts +17 -0
  95. package/dist/cjs/schemas/cma-transaction/reconcile-cma-transaction.rest.schema.d.ts.map +1 -0
  96. package/dist/cjs/schemas/common/account/account-bsb.schma.d.ts +4 -0
  97. package/dist/cjs/schemas/common/account/account-bsb.schma.d.ts.map +1 -0
  98. package/dist/cjs/schemas/common/account/account-number.schma.d.ts +4 -0
  99. package/dist/cjs/schemas/common/account/account-number.schma.d.ts.map +1 -0
  100. package/dist/cjs/schemas/common/account/bank-code.schema.d.ts +4 -0
  101. package/dist/cjs/schemas/common/account/bank-code.schema.d.ts.map +1 -0
  102. package/dist/cjs/schemas/common/account/index.d.ts +5 -0
  103. package/dist/cjs/schemas/common/account/index.d.ts.map +1 -0
  104. package/dist/cjs/schemas/common/account/state-code.schema.d.ts +4 -0
  105. package/dist/cjs/schemas/common/account/state-code.schema.d.ts.map +1 -0
  106. package/dist/cjs/schemas/common/amount/cents-to-dollars.schema.d.ts +3 -0
  107. package/dist/cjs/schemas/common/amount/cents-to-dollars.schema.d.ts.map +1 -0
  108. package/dist/cjs/schemas/common/amount/dollars-to-cents.schema.d.ts +3 -0
  109. package/dist/cjs/schemas/common/amount/dollars-to-cents.schema.d.ts.map +1 -0
  110. package/dist/cjs/schemas/common/amount/index.d.ts +3 -0
  111. package/dist/cjs/schemas/common/amount/index.d.ts.map +1 -0
  112. package/dist/cjs/schemas/common/index.d.ts +4 -0
  113. package/dist/cjs/schemas/common/index.d.ts.map +1 -0
  114. package/dist/cjs/schemas/common/search/bool-filter.schema.d.ts +8 -0
  115. package/dist/cjs/schemas/common/search/bool-filter.schema.d.ts.map +1 -0
  116. package/dist/cjs/schemas/common/search/date-filter.schema.d.ts +32 -0
  117. package/dist/cjs/schemas/common/search/date-filter.schema.d.ts.map +1 -0
  118. package/dist/cjs/schemas/common/search/index.d.ts +6 -0
  119. package/dist/cjs/schemas/common/search/index.d.ts.map +1 -0
  120. package/dist/cjs/schemas/common/search/json-filter.schema.d.ts +31 -0
  121. package/dist/cjs/schemas/common/search/json-filter.schema.d.ts.map +1 -0
  122. package/dist/cjs/schemas/common/search/number-filter.schema.d.ts +66 -0
  123. package/dist/cjs/schemas/common/search/number-filter.schema.d.ts.map +1 -0
  124. package/dist/cjs/schemas/common/search/string-filter.schema.d.ts +41 -0
  125. package/dist/cjs/schemas/common/search/string-filter.schema.d.ts.map +1 -0
  126. package/dist/cjs/schemas/index.d.ts +7 -0
  127. package/dist/cjs/schemas/index.d.ts.map +1 -1
  128. package/dist/cjs/schemas/menu/create-menu.schema.d.ts +2 -2
  129. package/dist/cjs/schemas/menu/menu-res.schema.d.ts +16 -16
  130. package/dist/cjs/schemas/menu/update-menu.schema.d.ts +2 -2
  131. package/dist/cjs/schemas/mta/create-mta.rest.schema.d.ts +6 -6
  132. package/dist/cjs/schemas/mta/mta.entity.schema.d.ts +18 -18
  133. package/dist/cjs/schemas/mta/mta.rest.schema.d.ts +263 -478
  134. package/dist/cjs/schemas/mta/mta.rest.schema.d.ts.map +1 -1
  135. package/dist/cjs/schemas/mta-account-period/mta-account-period-close.rest.schema.d.ts +2 -2
  136. package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +1506 -1866
  137. package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts.map +1 -1
  138. package/dist/cjs/schemas/mta-account-period/mta-account-period.entity.schema.d.ts +10 -10
  139. package/dist/cjs/schemas/mta-account-period/mta-account-period.rest.schema.d.ts +327 -787
  140. package/dist/cjs/schemas/mta-account-period/mta-account-period.rest.schema.d.ts.map +1 -1
  141. package/dist/cjs/schemas/mta-account-period/update-mta-period-reconciled-to.schema.d.ts +4 -4
  142. package/dist/cjs/schemas/mta-account-period/update-mta-period-reconciled-to.schema.d.ts.map +1 -1
  143. package/dist/cjs/schemas/mta-payment-method/mta-payment-method.rest.schema.d.ts +55 -55
  144. package/dist/cjs/schemas/mta-payment-method/mta-payment-method.rest.schema.d.ts.map +1 -1
  145. package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.entity.schema.d.ts +7 -7
  146. package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +2035 -20
  147. package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts.map +1 -1
  148. package/dist/cjs/schemas/mta-reconciliation/create-mta-reconciliation.rest.schema.d.ts +4 -4
  149. package/dist/cjs/schemas/mta-reconciliation/create-mta-reconciliation.rest.schema.d.ts.map +1 -1
  150. package/dist/cjs/schemas/mta-reconciliation/mta-reconciliation.entity.schema.d.ts +12 -12
  151. package/dist/cjs/schemas/mta-reconciliation/mta-reconciliation.rest.schema.d.ts +22 -22
  152. package/dist/cjs/schemas/mta-reconciliation/mta-reconciliation.rest.schema.d.ts.map +1 -1
  153. package/dist/cjs/schemas/mta-reconciliation/update-mta-reconciliation-current-bank-balance.rest.schema.d.ts +2 -2
  154. package/dist/cjs/schemas/mta-reconciliation/update-mta-reconciliation-current-bank-balance.rest.schema.d.ts.map +1 -1
  155. package/dist/cjs/schemas/mta-transaction/assign-unknonw-receipt-to-property.rest.schema.d.ts +2 -2
  156. package/dist/cjs/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts +13 -15
  157. package/dist/cjs/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts.map +1 -1
  158. package/dist/cjs/schemas/mta-transaction/mta-transaction.entity.schema.d.ts +27 -24
  159. package/dist/cjs/schemas/mta-transaction/mta-transaction.entity.schema.d.ts.map +1 -1
  160. package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +465 -1623
  161. package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts.map +1 -1
  162. package/dist/cjs/schemas/payout/cancel-payout.rest.schema.d.ts +13 -0
  163. package/dist/cjs/schemas/payout/cancel-payout.rest.schema.d.ts.map +1 -0
  164. package/dist/cjs/schemas/payout/confirm-bank-file-processed.rest.schema.d.ts +19 -0
  165. package/dist/cjs/schemas/payout/confirm-bank-file-processed.rest.schema.d.ts.map +1 -0
  166. package/dist/cjs/schemas/payout/create-mta-to-cma-payout.rest.schema.d.ts +57 -0
  167. package/dist/cjs/schemas/payout/create-mta-to-cma-payout.rest.schema.d.ts.map +1 -0
  168. package/dist/cjs/schemas/payout/index.d.ts +8 -1
  169. package/dist/cjs/schemas/payout/index.d.ts.map +1 -1
  170. package/dist/cjs/schemas/payout/payout-provision-data.entity.schema.d.ts +787 -0
  171. package/dist/cjs/schemas/payout/payout-provision-data.entity.schema.d.ts.map +1 -0
  172. package/dist/cjs/schemas/payout/payout-provision-data.rest.schema.d.ts +14755 -0
  173. package/dist/cjs/schemas/payout/payout-provision-data.rest.schema.d.ts.map +1 -0
  174. package/dist/cjs/schemas/payout/payout-search.rest.schema.d.ts +260 -0
  175. package/dist/cjs/schemas/payout/payout-search.rest.schema.d.ts.map +1 -0
  176. package/dist/cjs/schemas/payout/payout-status-summary.rest.schema.d.ts +19 -0
  177. package/dist/cjs/schemas/payout/payout-status-summary.rest.schema.d.ts.map +1 -0
  178. package/dist/cjs/schemas/payout/payout.entity.schema.d.ts +403 -287
  179. package/dist/cjs/schemas/payout/payout.entity.schema.d.ts.map +1 -1
  180. package/dist/cjs/schemas/payout/payout.rest.create.schema.d.ts +20 -34
  181. package/dist/cjs/schemas/payout/payout.rest.create.schema.d.ts.map +1 -1
  182. package/dist/cjs/schemas/payout/payout.rest.list.schema.d.ts +403 -112
  183. package/dist/cjs/schemas/payout/payout.rest.list.schema.d.ts.map +1 -1
  184. package/dist/cjs/schemas/payout/payout.rest.schema.d.ts +36678 -0
  185. package/dist/cjs/schemas/payout/payout.rest.schema.d.ts.map +1 -0
  186. package/dist/cjs/schemas/payout/payout.rest.view.schema.d.ts +375 -128
  187. package/dist/cjs/schemas/payout/payout.rest.view.schema.d.ts.map +1 -1
  188. package/dist/cjs/schemas/payout-bank-file/index.d.ts +3 -0
  189. package/dist/cjs/schemas/payout-bank-file/index.d.ts.map +1 -0
  190. package/dist/cjs/schemas/payout-bank-file/payout-bank-file.entity.schema.d.ts +46 -0
  191. package/dist/cjs/schemas/payout-bank-file/payout-bank-file.entity.schema.d.ts.map +1 -0
  192. package/dist/cjs/schemas/payout-bank-file/payout-bank-file.rest.schem.d.ts +367 -0
  193. package/dist/cjs/schemas/payout-bank-file/payout-bank-file.rest.schem.d.ts.map +1 -0
  194. package/dist/cjs/schemas/payout-bank-file-download-history/index.d.ts +2 -0
  195. package/dist/cjs/schemas/payout-bank-file-download-history/index.d.ts.map +1 -0
  196. package/dist/cjs/schemas/payout-bank-file-download-history/payout-bank-file-download-histor.entity.schema.d.ts +108 -0
  197. package/dist/cjs/schemas/payout-bank-file-download-history/payout-bank-file-download-histor.entity.schema.d.ts.map +1 -0
  198. package/dist/cjs/schemas/payout-transaction/index.d.ts +3 -0
  199. package/dist/cjs/schemas/payout-transaction/index.d.ts.map +1 -0
  200. package/dist/cjs/schemas/payout-transaction/payout-transactin.entity.schema.d.ts +67 -0
  201. package/dist/cjs/schemas/payout-transaction/payout-transactin.entity.schema.d.ts.map +1 -0
  202. package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +7175 -0
  203. package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts.map +1 -0
  204. package/dist/cjs/schemas/project/project.entity.schema.d.ts +87 -7
  205. package/dist/cjs/schemas/project/project.entity.schema.d.ts.map +1 -1
  206. package/dist/cjs/schemas/project/project.rest.schema.d.ts +330 -327
  207. package/dist/cjs/schemas/project/project.rest.schema.d.ts.map +1 -1
  208. package/dist/cjs/schemas/project-mta-allocation/allocate-mta-to-project.schema.d.ts +2 -2
  209. package/dist/cjs/schemas/project-mta-allocation/project-mta-allocation.entity.schema.d.ts +4 -4
  210. package/dist/cjs/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts +99 -98
  211. package/dist/cjs/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts.map +1 -1
  212. package/dist/cjs/schemas/property/customer.entity.schema.d.ts +33 -0
  213. package/dist/cjs/schemas/property/customer.entity.schema.d.ts.map +1 -0
  214. package/dist/cjs/schemas/property/index.d.ts +3 -0
  215. package/dist/cjs/schemas/property/index.d.ts.map +1 -1
  216. package/dist/cjs/schemas/property/property-accounts-balance.rest.schema.d.ts +66 -0
  217. package/dist/cjs/schemas/property/property-accounts-balance.rest.schema.d.ts.map +1 -0
  218. package/dist/cjs/schemas/property/property-search.rest.schema.d.ts +864 -0
  219. package/dist/cjs/schemas/property/property-search.rest.schema.d.ts.map +1 -0
  220. package/dist/cjs/schemas/property/property.entity.schema.d.ts +734 -17
  221. package/dist/cjs/schemas/property/property.entity.schema.d.ts.map +1 -1
  222. package/dist/cjs/schemas/property/property.rest.schema.d.ts +2432 -1683
  223. package/dist/cjs/schemas/property/property.rest.schema.d.ts.map +1 -1
  224. package/dist/cjs/schemas/user/index.d.ts +1 -0
  225. package/dist/cjs/schemas/user/index.d.ts.map +1 -1
  226. package/dist/cjs/schemas/user/user.entity.schema.d.ts +2 -2
  227. package/dist/cjs/schemas/user/user.rest.schema.d.ts +35 -0
  228. package/dist/cjs/schemas/user/user.rest.schema.d.ts.map +1 -0
  229. package/dist/cjs/utils/amount.util.d.ts +2 -2
  230. package/dist/cjs/utils/amount.util.d.ts.map +1 -1
  231. package/dist/cjs/utils/bank-account.util.d.ts +17 -0
  232. package/dist/cjs/utils/bank-account.util.d.ts.map +1 -0
  233. package/dist/cjs/utils/index.d.ts +2 -0
  234. package/dist/cjs/utils/index.d.ts.map +1 -1
  235. package/dist/cjs/utils/property.util.d.ts +12 -0
  236. package/dist/cjs/utils/property.util.d.ts.map +1 -0
  237. package/dist/cjs/utils/transaction.util.d.ts +4 -2
  238. package/dist/cjs/utils/transaction.util.d.ts.map +1 -1
  239. package/dist/esm/constants/cma/cma.constant.d.ts +6 -0
  240. package/dist/esm/constants/cma/cma.constant.d.ts.map +1 -0
  241. package/dist/esm/constants/cma/index.d.ts +1 -1
  242. package/dist/esm/constants/cma/index.d.ts.map +1 -1
  243. package/dist/esm/constants/cma-transaction/cma-input-type.constant.d.ts +6 -0
  244. package/dist/esm/constants/cma-transaction/cma-input-type.constant.d.ts.map +1 -0
  245. package/dist/esm/constants/cma-transaction/cma-payment-method.constant.d.ts +4 -0
  246. package/dist/esm/constants/cma-transaction/cma-payment-method.constant.d.ts.map +1 -0
  247. package/dist/esm/constants/cma-transaction/cma-transaction-status.constant.d.ts +8 -0
  248. package/dist/esm/constants/cma-transaction/cma-transaction-status.constant.d.ts.map +1 -0
  249. package/dist/esm/constants/cma-transaction/cma-transaction-type.constant.d.ts +20 -0
  250. package/dist/esm/constants/cma-transaction/cma-transaction-type.constant.d.ts.map +1 -0
  251. package/dist/esm/constants/cma-transaction/index.d.ts +5 -0
  252. package/dist/esm/constants/cma-transaction/index.d.ts.map +1 -0
  253. package/dist/esm/constants/common/account-period.constant.d.ts +5 -0
  254. package/dist/esm/constants/common/account-period.constant.d.ts.map +1 -0
  255. package/dist/esm/constants/common/index.d.ts +2 -0
  256. package/dist/esm/constants/common/index.d.ts.map +1 -1
  257. package/dist/esm/constants/common/reconciliation.constant.d.ts +5 -0
  258. package/dist/esm/constants/common/reconciliation.constant.d.ts.map +1 -0
  259. package/dist/esm/constants/index.d.ts +3 -2
  260. package/dist/esm/constants/index.d.ts.map +1 -1
  261. package/dist/esm/constants/mta-transaction/index.d.ts +1 -0
  262. package/dist/esm/constants/mta-transaction/index.d.ts.map +1 -1
  263. package/dist/esm/constants/mta-transaction/mta-input-type.constant.d.ts +3 -1
  264. package/dist/esm/constants/mta-transaction/mta-input-type.constant.d.ts.map +1 -1
  265. package/dist/esm/constants/mta-transaction/mta-transaction-status.constant.d.ts +8 -0
  266. package/dist/esm/constants/mta-transaction/mta-transaction-status.constant.d.ts.map +1 -0
  267. package/dist/esm/constants/mta-transaction/mta-type.constant.d.ts +0 -4
  268. package/dist/esm/constants/mta-transaction/mta-type.constant.d.ts.map +1 -1
  269. package/dist/esm/constants/payout/index.d.ts +4 -0
  270. package/dist/esm/constants/payout/index.d.ts.map +1 -0
  271. package/dist/esm/constants/payout/payout-status.constant.d.ts +9 -0
  272. package/dist/esm/constants/payout/payout-status.constant.d.ts.map +1 -0
  273. package/dist/esm/constants/payout/payout-type.constant.d.ts +9 -0
  274. package/dist/esm/constants/payout/payout-type.constant.d.ts.map +1 -0
  275. package/dist/esm/constants/payout/payout.constant.d.ts +37 -0
  276. package/dist/esm/constants/payout/payout.constant.d.ts.map +1 -0
  277. package/dist/esm/constants/payout-bank-file/index.d.ts +2 -0
  278. package/dist/esm/constants/payout-bank-file/index.d.ts.map +1 -0
  279. package/dist/esm/constants/payout-bank-file/payout-bank-file-status.constant.d.ts +8 -0
  280. package/dist/esm/constants/payout-bank-file/payout-bank-file-status.constant.d.ts.map +1 -0
  281. package/dist/esm/index.mjs +1770 -889
  282. package/dist/esm/schemas/cma/cma.entity.schema.d.ts +1093 -0
  283. package/dist/esm/schemas/cma/cma.entity.schema.d.ts.map +1 -0
  284. package/dist/esm/schemas/cma/cma.rest.schema.d.ts +759 -0
  285. package/dist/esm/schemas/cma/cma.rest.schema.d.ts.map +1 -0
  286. package/dist/esm/schemas/cma/create-cma.schema.d.ts +25 -0
  287. package/dist/esm/schemas/cma/create-cma.schema.d.ts.map +1 -0
  288. package/dist/esm/schemas/cma/index.d.ts +3 -3
  289. package/dist/esm/schemas/cma/index.d.ts.map +1 -1
  290. package/dist/esm/schemas/cma-account-period/cma-account-period-close.rest.schema.d.ts +19 -0
  291. package/dist/esm/schemas/cma-account-period/cma-account-period-close.rest.schema.d.ts.map +1 -0
  292. package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +3637 -0
  293. package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts.map +1 -0
  294. package/dist/esm/schemas/cma-account-period/cma-account-period.entity.schema.d.ts +46 -0
  295. package/dist/esm/schemas/cma-account-period/cma-account-period.entity.schema.d.ts.map +1 -0
  296. package/dist/esm/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +1105 -0
  297. package/dist/esm/schemas/cma-account-period/cma-account-period.rest.schema.d.ts.map +1 -0
  298. package/dist/esm/schemas/cma-account-period/index.d.ts +6 -0
  299. package/dist/esm/schemas/cma-account-period/index.d.ts.map +1 -0
  300. package/dist/esm/schemas/cma-account-period/update-cma-period-reconciled-to.schema.d.ts +19 -0
  301. package/dist/esm/schemas/cma-account-period/update-cma-period-reconciled-to.schema.d.ts.map +1 -0
  302. package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.entity.schema.d.ts +37 -0
  303. package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.entity.schema.d.ts.map +1 -0
  304. package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +2238 -0
  305. package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts.map +1 -0
  306. package/dist/esm/schemas/cma-reconciled-transaction/index.d.ts +3 -0
  307. package/dist/esm/schemas/cma-reconciled-transaction/index.d.ts.map +1 -0
  308. package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.entity.schema.d.ts +61 -0
  309. package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.entity.schema.d.ts.map +1 -0
  310. package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts +71 -0
  311. package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts.map +1 -0
  312. package/dist/esm/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts +16 -0
  313. package/dist/esm/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts.map +1 -0
  314. package/dist/esm/schemas/cma-reconciliation/index.d.ts +5 -0
  315. package/dist/esm/schemas/cma-reconciliation/index.d.ts.map +1 -0
  316. package/dist/esm/schemas/cma-reconciliation/update-cma-reconciliation-current-bank-balance.rest.schema.d.ts +13 -0
  317. package/dist/esm/schemas/cma-reconciliation/update-cma-reconciliation-current-bank-balance.rest.schema.d.ts.map +1 -0
  318. package/dist/esm/schemas/cma-transaction/cancel-cma-transaction.rest.schema.d.ts +16 -0
  319. package/dist/esm/schemas/cma-transaction/cancel-cma-transaction.rest.schema.d.ts.map +1 -0
  320. package/dist/esm/schemas/cma-transaction/clear-cma-transaction.rest.schema.d.ts +13 -0
  321. package/dist/esm/schemas/cma-transaction/clear-cma-transaction.rest.schema.d.ts.map +1 -0
  322. package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts +815 -0
  323. package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -0
  324. package/dist/esm/schemas/cma-transaction/cma-transaction.entity.schema.d.ts +1533 -44
  325. package/dist/esm/schemas/cma-transaction/cma-transaction.entity.schema.d.ts.map +1 -1
  326. package/dist/esm/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +836 -0
  327. package/dist/esm/schemas/cma-transaction/cma-transaction.rest.schema.d.ts.map +1 -0
  328. package/dist/esm/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts +38 -0
  329. package/dist/esm/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts.map +1 -0
  330. package/dist/esm/schemas/cma-transaction/index.d.ts +6 -0
  331. package/dist/esm/schemas/cma-transaction/index.d.ts.map +1 -1
  332. package/dist/esm/schemas/cma-transaction/reconcile-cma-transaction.rest.schema.d.ts +17 -0
  333. package/dist/esm/schemas/cma-transaction/reconcile-cma-transaction.rest.schema.d.ts.map +1 -0
  334. package/dist/esm/schemas/common/account/account-bsb.schma.d.ts +4 -0
  335. package/dist/esm/schemas/common/account/account-bsb.schma.d.ts.map +1 -0
  336. package/dist/esm/schemas/common/account/account-number.schma.d.ts +4 -0
  337. package/dist/esm/schemas/common/account/account-number.schma.d.ts.map +1 -0
  338. package/dist/esm/schemas/common/account/bank-code.schema.d.ts +4 -0
  339. package/dist/esm/schemas/common/account/bank-code.schema.d.ts.map +1 -0
  340. package/dist/esm/schemas/common/account/index.d.ts +5 -0
  341. package/dist/esm/schemas/common/account/index.d.ts.map +1 -0
  342. package/dist/esm/schemas/common/account/state-code.schema.d.ts +4 -0
  343. package/dist/esm/schemas/common/account/state-code.schema.d.ts.map +1 -0
  344. package/dist/esm/schemas/common/amount/cents-to-dollars.schema.d.ts +3 -0
  345. package/dist/esm/schemas/common/amount/cents-to-dollars.schema.d.ts.map +1 -0
  346. package/dist/esm/schemas/common/amount/dollars-to-cents.schema.d.ts +3 -0
  347. package/dist/esm/schemas/common/amount/dollars-to-cents.schema.d.ts.map +1 -0
  348. package/dist/esm/schemas/common/amount/index.d.ts +3 -0
  349. package/dist/esm/schemas/common/amount/index.d.ts.map +1 -0
  350. package/dist/esm/schemas/common/index.d.ts +4 -0
  351. package/dist/esm/schemas/common/index.d.ts.map +1 -0
  352. package/dist/esm/schemas/common/search/bool-filter.schema.d.ts +8 -0
  353. package/dist/esm/schemas/common/search/bool-filter.schema.d.ts.map +1 -0
  354. package/dist/esm/schemas/common/search/date-filter.schema.d.ts +32 -0
  355. package/dist/esm/schemas/common/search/date-filter.schema.d.ts.map +1 -0
  356. package/dist/esm/schemas/common/search/index.d.ts +6 -0
  357. package/dist/esm/schemas/common/search/index.d.ts.map +1 -0
  358. package/dist/esm/schemas/common/search/json-filter.schema.d.ts +31 -0
  359. package/dist/esm/schemas/common/search/json-filter.schema.d.ts.map +1 -0
  360. package/dist/esm/schemas/common/search/number-filter.schema.d.ts +66 -0
  361. package/dist/esm/schemas/common/search/number-filter.schema.d.ts.map +1 -0
  362. package/dist/esm/schemas/common/search/string-filter.schema.d.ts +41 -0
  363. package/dist/esm/schemas/common/search/string-filter.schema.d.ts.map +1 -0
  364. package/dist/esm/schemas/index.d.ts +7 -0
  365. package/dist/esm/schemas/index.d.ts.map +1 -1
  366. package/dist/esm/schemas/menu/create-menu.schema.d.ts +2 -2
  367. package/dist/esm/schemas/menu/menu-res.schema.d.ts +16 -16
  368. package/dist/esm/schemas/menu/update-menu.schema.d.ts +2 -2
  369. package/dist/esm/schemas/mta/create-mta.rest.schema.d.ts +6 -6
  370. package/dist/esm/schemas/mta/mta.entity.schema.d.ts +18 -18
  371. package/dist/esm/schemas/mta/mta.rest.schema.d.ts +263 -478
  372. package/dist/esm/schemas/mta/mta.rest.schema.d.ts.map +1 -1
  373. package/dist/esm/schemas/mta-account-period/mta-account-period-close.rest.schema.d.ts +2 -2
  374. package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +1506 -1866
  375. package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts.map +1 -1
  376. package/dist/esm/schemas/mta-account-period/mta-account-period.entity.schema.d.ts +10 -10
  377. package/dist/esm/schemas/mta-account-period/mta-account-period.rest.schema.d.ts +327 -787
  378. package/dist/esm/schemas/mta-account-period/mta-account-period.rest.schema.d.ts.map +1 -1
  379. package/dist/esm/schemas/mta-account-period/update-mta-period-reconciled-to.schema.d.ts +4 -4
  380. package/dist/esm/schemas/mta-account-period/update-mta-period-reconciled-to.schema.d.ts.map +1 -1
  381. package/dist/esm/schemas/mta-payment-method/mta-payment-method.rest.schema.d.ts +55 -55
  382. package/dist/esm/schemas/mta-payment-method/mta-payment-method.rest.schema.d.ts.map +1 -1
  383. package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.entity.schema.d.ts +7 -7
  384. package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +2035 -20
  385. package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts.map +1 -1
  386. package/dist/esm/schemas/mta-reconciliation/create-mta-reconciliation.rest.schema.d.ts +4 -4
  387. package/dist/esm/schemas/mta-reconciliation/create-mta-reconciliation.rest.schema.d.ts.map +1 -1
  388. package/dist/esm/schemas/mta-reconciliation/mta-reconciliation.entity.schema.d.ts +12 -12
  389. package/dist/esm/schemas/mta-reconciliation/mta-reconciliation.rest.schema.d.ts +22 -22
  390. package/dist/esm/schemas/mta-reconciliation/mta-reconciliation.rest.schema.d.ts.map +1 -1
  391. package/dist/esm/schemas/mta-reconciliation/update-mta-reconciliation-current-bank-balance.rest.schema.d.ts +2 -2
  392. package/dist/esm/schemas/mta-reconciliation/update-mta-reconciliation-current-bank-balance.rest.schema.d.ts.map +1 -1
  393. package/dist/esm/schemas/mta-transaction/assign-unknonw-receipt-to-property.rest.schema.d.ts +2 -2
  394. package/dist/esm/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts +13 -15
  395. package/dist/esm/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts.map +1 -1
  396. package/dist/esm/schemas/mta-transaction/mta-transaction.entity.schema.d.ts +27 -24
  397. package/dist/esm/schemas/mta-transaction/mta-transaction.entity.schema.d.ts.map +1 -1
  398. package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +465 -1623
  399. package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts.map +1 -1
  400. package/dist/esm/schemas/payout/cancel-payout.rest.schema.d.ts +13 -0
  401. package/dist/esm/schemas/payout/cancel-payout.rest.schema.d.ts.map +1 -0
  402. package/dist/esm/schemas/payout/confirm-bank-file-processed.rest.schema.d.ts +19 -0
  403. package/dist/esm/schemas/payout/confirm-bank-file-processed.rest.schema.d.ts.map +1 -0
  404. package/dist/esm/schemas/payout/create-mta-to-cma-payout.rest.schema.d.ts +57 -0
  405. package/dist/esm/schemas/payout/create-mta-to-cma-payout.rest.schema.d.ts.map +1 -0
  406. package/dist/esm/schemas/payout/index.d.ts +8 -1
  407. package/dist/esm/schemas/payout/index.d.ts.map +1 -1
  408. package/dist/esm/schemas/payout/payout-provision-data.entity.schema.d.ts +787 -0
  409. package/dist/esm/schemas/payout/payout-provision-data.entity.schema.d.ts.map +1 -0
  410. package/dist/esm/schemas/payout/payout-provision-data.rest.schema.d.ts +14755 -0
  411. package/dist/esm/schemas/payout/payout-provision-data.rest.schema.d.ts.map +1 -0
  412. package/dist/esm/schemas/payout/payout-search.rest.schema.d.ts +260 -0
  413. package/dist/esm/schemas/payout/payout-search.rest.schema.d.ts.map +1 -0
  414. package/dist/esm/schemas/payout/payout-status-summary.rest.schema.d.ts +19 -0
  415. package/dist/esm/schemas/payout/payout-status-summary.rest.schema.d.ts.map +1 -0
  416. package/dist/esm/schemas/payout/payout.entity.schema.d.ts +403 -287
  417. package/dist/esm/schemas/payout/payout.entity.schema.d.ts.map +1 -1
  418. package/dist/esm/schemas/payout/payout.rest.create.schema.d.ts +20 -34
  419. package/dist/esm/schemas/payout/payout.rest.create.schema.d.ts.map +1 -1
  420. package/dist/esm/schemas/payout/payout.rest.list.schema.d.ts +403 -112
  421. package/dist/esm/schemas/payout/payout.rest.list.schema.d.ts.map +1 -1
  422. package/dist/esm/schemas/payout/payout.rest.schema.d.ts +36678 -0
  423. package/dist/esm/schemas/payout/payout.rest.schema.d.ts.map +1 -0
  424. package/dist/esm/schemas/payout/payout.rest.view.schema.d.ts +375 -128
  425. package/dist/esm/schemas/payout/payout.rest.view.schema.d.ts.map +1 -1
  426. package/dist/esm/schemas/payout-bank-file/index.d.ts +3 -0
  427. package/dist/esm/schemas/payout-bank-file/index.d.ts.map +1 -0
  428. package/dist/esm/schemas/payout-bank-file/payout-bank-file.entity.schema.d.ts +46 -0
  429. package/dist/esm/schemas/payout-bank-file/payout-bank-file.entity.schema.d.ts.map +1 -0
  430. package/dist/esm/schemas/payout-bank-file/payout-bank-file.rest.schem.d.ts +367 -0
  431. package/dist/esm/schemas/payout-bank-file/payout-bank-file.rest.schem.d.ts.map +1 -0
  432. package/dist/esm/schemas/payout-bank-file-download-history/index.d.ts +2 -0
  433. package/dist/esm/schemas/payout-bank-file-download-history/index.d.ts.map +1 -0
  434. package/dist/esm/schemas/payout-bank-file-download-history/payout-bank-file-download-histor.entity.schema.d.ts +108 -0
  435. package/dist/esm/schemas/payout-bank-file-download-history/payout-bank-file-download-histor.entity.schema.d.ts.map +1 -0
  436. package/dist/esm/schemas/payout-transaction/index.d.ts +3 -0
  437. package/dist/esm/schemas/payout-transaction/index.d.ts.map +1 -0
  438. package/dist/esm/schemas/payout-transaction/payout-transactin.entity.schema.d.ts +67 -0
  439. package/dist/esm/schemas/payout-transaction/payout-transactin.entity.schema.d.ts.map +1 -0
  440. package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +7175 -0
  441. package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts.map +1 -0
  442. package/dist/esm/schemas/project/project.entity.schema.d.ts +87 -7
  443. package/dist/esm/schemas/project/project.entity.schema.d.ts.map +1 -1
  444. package/dist/esm/schemas/project/project.rest.schema.d.ts +330 -327
  445. package/dist/esm/schemas/project/project.rest.schema.d.ts.map +1 -1
  446. package/dist/esm/schemas/project-mta-allocation/allocate-mta-to-project.schema.d.ts +2 -2
  447. package/dist/esm/schemas/project-mta-allocation/project-mta-allocation.entity.schema.d.ts +4 -4
  448. package/dist/esm/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts +99 -98
  449. package/dist/esm/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts.map +1 -1
  450. package/dist/esm/schemas/property/customer.entity.schema.d.ts +33 -0
  451. package/dist/esm/schemas/property/customer.entity.schema.d.ts.map +1 -0
  452. package/dist/esm/schemas/property/index.d.ts +3 -0
  453. package/dist/esm/schemas/property/index.d.ts.map +1 -1
  454. package/dist/esm/schemas/property/property-accounts-balance.rest.schema.d.ts +66 -0
  455. package/dist/esm/schemas/property/property-accounts-balance.rest.schema.d.ts.map +1 -0
  456. package/dist/esm/schemas/property/property-search.rest.schema.d.ts +864 -0
  457. package/dist/esm/schemas/property/property-search.rest.schema.d.ts.map +1 -0
  458. package/dist/esm/schemas/property/property.entity.schema.d.ts +734 -17
  459. package/dist/esm/schemas/property/property.entity.schema.d.ts.map +1 -1
  460. package/dist/esm/schemas/property/property.rest.schema.d.ts +2432 -1683
  461. package/dist/esm/schemas/property/property.rest.schema.d.ts.map +1 -1
  462. package/dist/esm/schemas/user/index.d.ts +1 -0
  463. package/dist/esm/schemas/user/index.d.ts.map +1 -1
  464. package/dist/esm/schemas/user/user.entity.schema.d.ts +2 -2
  465. package/dist/esm/schemas/user/user.rest.schema.d.ts +35 -0
  466. package/dist/esm/schemas/user/user.rest.schema.d.ts.map +1 -0
  467. package/dist/esm/utils/amount.util.d.ts +2 -2
  468. package/dist/esm/utils/amount.util.d.ts.map +1 -1
  469. package/dist/esm/utils/bank-account.util.d.ts +17 -0
  470. package/dist/esm/utils/bank-account.util.d.ts.map +1 -0
  471. package/dist/esm/utils/index.d.ts +2 -0
  472. package/dist/esm/utils/index.d.ts.map +1 -1
  473. package/dist/esm/utils/property.util.d.ts +12 -0
  474. package/dist/esm/utils/property.util.d.ts.map +1 -0
  475. package/dist/esm/utils/transaction.util.d.ts +4 -2
  476. package/dist/esm/utils/transaction.util.d.ts.map +1 -1
  477. package/package.json +5 -5
  478. package/dist/cjs/constants/cma/cma-account.constant.d.ts +0 -6
  479. package/dist/cjs/constants/cma/cma-account.constant.d.ts.map +0 -1
  480. package/dist/cjs/constants/mta-account-period/index.d.ts +0 -2
  481. package/dist/cjs/constants/mta-account-period/index.d.ts.map +0 -1
  482. package/dist/cjs/constants/mta-account-period/mta-account-period.constant.d.ts +0 -5
  483. package/dist/cjs/constants/mta-account-period/mta-account-period.constant.d.ts.map +0 -1
  484. package/dist/cjs/constants/mta-reconciliation/index.d.ts +0 -2
  485. package/dist/cjs/constants/mta-reconciliation/index.d.ts.map +0 -1
  486. package/dist/cjs/constants/mta-reconciliation/mta-reconciliation.constant.d.ts +0 -5
  487. package/dist/cjs/constants/mta-reconciliation/mta-reconciliation.constant.d.ts.map +0 -1
  488. package/dist/cjs/schemas/cma/cma-account-res.schema.d.ts +0 -67
  489. package/dist/cjs/schemas/cma/cma-account-res.schema.d.ts.map +0 -1
  490. package/dist/cjs/schemas/cma/cma-account.entity.schema.d.ts +0 -67
  491. package/dist/cjs/schemas/cma/cma-account.entity.schema.d.ts.map +0 -1
  492. package/dist/cjs/schemas/cma/create-cma-account.schema.d.ts +0 -24
  493. package/dist/cjs/schemas/cma/create-cma-account.schema.d.ts.map +0 -1
  494. package/dist/cjs/schemas/payout/payout.create.schema.d.ts +0 -157
  495. package/dist/cjs/schemas/payout/payout.create.schema.d.ts.map +0 -1
  496. package/dist/esm/constants/cma/cma-account.constant.d.ts +0 -6
  497. package/dist/esm/constants/cma/cma-account.constant.d.ts.map +0 -1
  498. package/dist/esm/constants/mta-account-period/index.d.ts +0 -2
  499. package/dist/esm/constants/mta-account-period/index.d.ts.map +0 -1
  500. package/dist/esm/constants/mta-account-period/mta-account-period.constant.d.ts +0 -5
  501. package/dist/esm/constants/mta-account-period/mta-account-period.constant.d.ts.map +0 -1
  502. package/dist/esm/constants/mta-reconciliation/index.d.ts +0 -2
  503. package/dist/esm/constants/mta-reconciliation/index.d.ts.map +0 -1
  504. package/dist/esm/constants/mta-reconciliation/mta-reconciliation.constant.d.ts +0 -5
  505. package/dist/esm/constants/mta-reconciliation/mta-reconciliation.constant.d.ts.map +0 -1
  506. package/dist/esm/schemas/cma/cma-account-res.schema.d.ts +0 -67
  507. package/dist/esm/schemas/cma/cma-account-res.schema.d.ts.map +0 -1
  508. package/dist/esm/schemas/cma/cma-account.entity.schema.d.ts +0 -67
  509. package/dist/esm/schemas/cma/cma-account.entity.schema.d.ts.map +0 -1
  510. package/dist/esm/schemas/cma/create-cma-account.schema.d.ts +0 -24
  511. package/dist/esm/schemas/cma/create-cma-account.schema.d.ts.map +0 -1
  512. package/dist/esm/schemas/payout/payout.create.schema.d.ts +0 -157
  513. package/dist/esm/schemas/payout/payout.create.schema.d.ts.map +0 -1
@@ -0,0 +1,3637 @@
1
+ import { z } from 'zod';
2
+ export declare const cmaAccountPeriodClosingSummaryRestReqSchema: z.ZodObject<{
3
+ cmaAccountPeriodId: z.ZodString;
4
+ endDate: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, Date, string | Date>, z.ZodDate>;
5
+ }, "strip", z.ZodTypeAny, {
6
+ cmaAccountPeriodId: string;
7
+ endDate: Date;
8
+ }, {
9
+ cmaAccountPeriodId: string;
10
+ endDate: string | Date;
11
+ }>;
12
+ export type CmaAccountPeriodClosingSummaryRestReq = z.input<typeof cmaAccountPeriodClosingSummaryRestReqSchema>;
13
+ export declare const cmaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
14
+ startDate: z.ZodDate;
15
+ endDate: z.ZodDate;
16
+ bankStatementBalanceCents: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, number, number | bigint>, z.ZodNumber>;
17
+ currentTrustBalanceSummary: z.ZodObject<{
18
+ totalAmountCents: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, number, number | bigint>, z.ZodNumber>;
19
+ totalCreditAmountCents: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, number, number | bigint>, z.ZodNumber>;
20
+ totalDebitAmountCents: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, number, number | bigint>, z.ZodNumber>;
21
+ totalTransactionsCount: z.ZodNumber;
22
+ }, "strip", z.ZodTypeAny, {
23
+ totalAmountCents: number;
24
+ totalCreditAmountCents: number;
25
+ totalDebitAmountCents: number;
26
+ totalTransactionsCount: number;
27
+ }, {
28
+ totalAmountCents: number | bigint;
29
+ totalCreditAmountCents: number | bigint;
30
+ totalDebitAmountCents: number | bigint;
31
+ totalTransactionsCount: number;
32
+ }>;
33
+ reconciliations: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodArray<z.ZodObject<{
34
+ id: z.ZodString;
35
+ cmaAccountPeriodId: z.ZodString;
36
+ cmaId: z.ZodString;
37
+ reconciledTo: z.ZodDate;
38
+ reconciledAmountCents: z.ZodNullable<z.ZodBigInt>;
39
+ unreconciledAmountCents: z.ZodNullable<z.ZodBigInt>;
40
+ totalReconciledAmountCents: z.ZodNullable<z.ZodBigInt>;
41
+ closedAt: z.ZodNullable<z.ZodDate>;
42
+ createdBy: z.ZodString;
43
+ createdAt: z.ZodDate;
44
+ updatedBy: z.ZodNullable<z.ZodString>;
45
+ closedBy: z.ZodNullable<z.ZodString>;
46
+ editable: z.ZodBoolean;
47
+ status: z.ZodString;
48
+ isArchived: z.ZodBoolean;
49
+ } & {
50
+ closingBalanceCents: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBigInt, z.ZodNumber]>, number, string | number | bigint>, z.ZodNumber>>>;
51
+ bankStatementBalanceCents: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBigInt, z.ZodNumber]>, number, string | number | bigint>, z.ZodNumber>;
52
+ closingVarianceCents: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBigInt, z.ZodNumber]>, number, string | number | bigint>, z.ZodNumber>>>;
53
+ currentTrustBalanceCents: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBigInt, z.ZodNumber]>, number, string | number | bigint>, z.ZodNumber>>>;
54
+ currentReconciledBalanceCents: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBigInt, z.ZodNumber]>, number, string | number | bigint>, z.ZodNumber>>>;
55
+ currentVarianceCents: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBigInt, z.ZodNumber]>, number, string | number | bigint>, z.ZodNumber>>>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ id: string;
58
+ status: string;
59
+ isArchived: boolean;
60
+ createdBy: string;
61
+ createdAt: Date;
62
+ cmaId: string;
63
+ cmaAccountPeriodId: string;
64
+ reconciledTo: Date;
65
+ reconciledAmountCents: bigint | null;
66
+ unreconciledAmountCents: bigint | null;
67
+ totalReconciledAmountCents: bigint | null;
68
+ bankStatementBalanceCents: number;
69
+ closedAt: Date | null;
70
+ updatedBy: string | null;
71
+ closedBy: string | null;
72
+ editable: boolean;
73
+ closingBalanceCents?: number | null | undefined;
74
+ closingVarianceCents?: number | null | undefined;
75
+ currentTrustBalanceCents?: number | null | undefined;
76
+ currentReconciledBalanceCents?: number | null | undefined;
77
+ currentVarianceCents?: number | null | undefined;
78
+ }, {
79
+ id: string;
80
+ status: string;
81
+ isArchived: boolean;
82
+ createdBy: string;
83
+ createdAt: Date;
84
+ cmaId: string;
85
+ cmaAccountPeriodId: string;
86
+ reconciledTo: Date;
87
+ reconciledAmountCents: bigint | null;
88
+ unreconciledAmountCents: bigint | null;
89
+ totalReconciledAmountCents: bigint | null;
90
+ bankStatementBalanceCents: string | number | bigint;
91
+ closedAt: Date | null;
92
+ updatedBy: string | null;
93
+ closedBy: string | null;
94
+ editable: boolean;
95
+ closingBalanceCents?: string | number | bigint | null | undefined;
96
+ closingVarianceCents?: string | number | bigint | null | undefined;
97
+ currentTrustBalanceCents?: string | number | bigint | null | undefined;
98
+ currentReconciledBalanceCents?: string | number | bigint | null | undefined;
99
+ currentVarianceCents?: string | number | bigint | null | undefined;
100
+ }>, "many">>>>;
101
+ totalReconciledAmountSummary: z.ZodObject<{
102
+ totalReconciledAmountCents: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, number, number | bigint>, z.ZodNumber>;
103
+ totalReconciledCreditAmountCents: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, number, number | bigint>, z.ZodNumber>;
104
+ totalReconciledDebitAmountCents: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, number, number | bigint>, z.ZodNumber>;
105
+ totalReconciledTransactionsCount: z.ZodNumber;
106
+ }, "strip", z.ZodTypeAny, {
107
+ totalReconciledAmountCents: number;
108
+ totalReconciledCreditAmountCents: number;
109
+ totalReconciledDebitAmountCents: number;
110
+ totalReconciledTransactionsCount: number;
111
+ }, {
112
+ totalReconciledAmountCents: number | bigint;
113
+ totalReconciledCreditAmountCents: number | bigint;
114
+ totalReconciledDebitAmountCents: number | bigint;
115
+ totalReconciledTransactionsCount: number;
116
+ }>;
117
+ totalUnreconciledAmountSummary: z.ZodObject<{
118
+ totalUnreconciledAmountCents: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, number, number | bigint>, z.ZodNumber>;
119
+ totalUnreconciledCreditAmountCents: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, number, number | bigint>, z.ZodNumber>;
120
+ totalUnreconciledDebitAmountCents: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, number, number | bigint>, z.ZodNumber>;
121
+ totalUnreconciledTransactionsCount: z.ZodNumber;
122
+ }, "strip", z.ZodTypeAny, {
123
+ totalUnreconciledAmountCents: number;
124
+ totalUnreconciledCreditAmountCents: number;
125
+ totalUnreconciledDebitAmountCents: number;
126
+ totalUnreconciledTransactionsCount: number;
127
+ }, {
128
+ totalUnreconciledAmountCents: number | bigint;
129
+ totalUnreconciledCreditAmountCents: number | bigint;
130
+ totalUnreconciledDebitAmountCents: number | bigint;
131
+ totalUnreconciledTransactionsCount: number;
132
+ }>;
133
+ transactionsSummary: z.ZodObject<{
134
+ reconciledAmountCents: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, number, number | bigint>, z.ZodNumber>;
135
+ reconciledTransactions: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodArray<z.ZodType<{
136
+ id: string;
137
+ status: "clearing" | "cleared" | "reconciled";
138
+ isArchived: boolean;
139
+ createdAt: Date;
140
+ updatedAt: Date;
141
+ syncedAt: Date | null;
142
+ debitAmountCents: number;
143
+ creditAmountCents: number;
144
+ balanceCents: number;
145
+ description: string | null;
146
+ clearedAt: Date | null;
147
+ cmaId: string;
148
+ propertyId: string | null;
149
+ createType: string;
150
+ transactionType: string;
151
+ isCanceled: boolean;
152
+ isRefunded: boolean;
153
+ payoutId: string | null;
154
+ sequence: number;
155
+ inputType: import("../..").CmaTransactionInputType;
156
+ bankRef: string | null;
157
+ sourceTransactionId: string | null;
158
+ cancelType: string | null;
159
+ canceledAt: Date | null;
160
+ canceledReason: string | null;
161
+ createdBy?: string | {
162
+ id: string;
163
+ email: string;
164
+ fullName?: string | null | undefined;
165
+ firstName?: string | null | undefined;
166
+ lastName?: string | null | undefined;
167
+ } | null | undefined;
168
+ canceledBy?: string | {
169
+ id: string;
170
+ email: string;
171
+ fullName?: string | null | undefined;
172
+ firstName?: string | null | undefined;
173
+ lastName?: string | null | undefined;
174
+ } | null | undefined;
175
+ property?: {
176
+ id: string;
177
+ status: string;
178
+ isArchived: boolean;
179
+ createdAt: Date;
180
+ updatedAt: Date;
181
+ syncedAt: Date;
182
+ balanceCents: number | bigint;
183
+ customerId: string;
184
+ projectId: string;
185
+ lotDetail: string | null;
186
+ propertyAddress: string;
187
+ stage: string;
188
+ mtaId: string;
189
+ mtaBalanceCents: number | bigint;
190
+ cmaBalanceCents: number | bigint;
191
+ customer?: {
192
+ id: string;
193
+ status: string;
194
+ isArchived: boolean;
195
+ createdAt: Date;
196
+ updatedAt: Date;
197
+ fullName: string | null;
198
+ mobile: string | null;
199
+ email: string;
200
+ syncedAt: Date;
201
+ } | null | undefined;
202
+ buyerName?: string | null | undefined;
203
+ project?: {
204
+ id: string;
205
+ status: string;
206
+ isArchived: boolean;
207
+ createdAt: Date;
208
+ updatedAt: Date;
209
+ type: string;
210
+ syncedAt: Date;
211
+ mtaId: string | null;
212
+ name: string;
213
+ developerId: string;
214
+ state: string;
215
+ developer?: {
216
+ id: string;
217
+ status: string;
218
+ isArchived: boolean;
219
+ createdAt: Date;
220
+ updatedAt: Date;
221
+ syncedAt: Date;
222
+ companyName: string | null;
223
+ } | null | undefined;
224
+ } | null | undefined;
225
+ } | null | undefined;
226
+ } & {
227
+ cma?: z.output<typeof import("..").cmaEntitySchema> | null | undefined;
228
+ sourceTransaction?: Omit<{
229
+ id: string;
230
+ status: "clearing" | "cleared" | "reconciled";
231
+ isArchived: boolean;
232
+ createdAt: Date;
233
+ updatedAt: Date;
234
+ syncedAt: Date | null;
235
+ debitAmountCents: number;
236
+ creditAmountCents: number;
237
+ balanceCents: number;
238
+ description: string | null;
239
+ clearedAt: Date | null;
240
+ cmaId: string;
241
+ propertyId: string | null;
242
+ createType: string;
243
+ transactionType: string;
244
+ isCanceled: boolean;
245
+ isRefunded: boolean;
246
+ payoutId: string | null;
247
+ sequence: number;
248
+ inputType: import("../..").CmaTransactionInputType;
249
+ bankRef: string | null;
250
+ sourceTransactionId: string | null;
251
+ cancelType: string | null;
252
+ canceledAt: Date | null;
253
+ canceledReason: string | null;
254
+ createdBy?: string | {
255
+ id: string;
256
+ email: string;
257
+ fullName?: string | null | undefined;
258
+ firstName?: string | null | undefined;
259
+ lastName?: string | null | undefined;
260
+ } | null | undefined;
261
+ canceledBy?: string | {
262
+ id: string;
263
+ email: string;
264
+ fullName?: string | null | undefined;
265
+ firstName?: string | null | undefined;
266
+ lastName?: string | null | undefined;
267
+ } | null | undefined;
268
+ property?: {
269
+ id: string;
270
+ status: string;
271
+ isArchived: boolean;
272
+ createdAt: Date;
273
+ updatedAt: Date;
274
+ syncedAt: Date;
275
+ balanceCents: number | bigint;
276
+ customerId: string;
277
+ projectId: string;
278
+ lotDetail: string | null;
279
+ propertyAddress: string;
280
+ stage: string;
281
+ mtaId: string;
282
+ mtaBalanceCents: number | bigint;
283
+ cmaBalanceCents: number | bigint;
284
+ customer?: {
285
+ id: string;
286
+ status: string;
287
+ isArchived: boolean;
288
+ createdAt: Date;
289
+ updatedAt: Date;
290
+ fullName: string | null;
291
+ mobile: string | null;
292
+ email: string;
293
+ syncedAt: Date;
294
+ } | null | undefined;
295
+ buyerName?: string | null | undefined;
296
+ project?: {
297
+ id: string;
298
+ status: string;
299
+ isArchived: boolean;
300
+ createdAt: Date;
301
+ updatedAt: Date;
302
+ type: string;
303
+ syncedAt: Date;
304
+ mtaId: string | null;
305
+ name: string;
306
+ developerId: string;
307
+ state: string;
308
+ developer?: {
309
+ id: string;
310
+ status: string;
311
+ isArchived: boolean;
312
+ createdAt: Date;
313
+ updatedAt: Date;
314
+ syncedAt: Date;
315
+ companyName: string | null;
316
+ } | null | undefined;
317
+ } | null | undefined;
318
+ } | null | undefined;
319
+ } & any, "cma"> | null | undefined;
320
+ subsequentTransactions?: Omit<{
321
+ id: string;
322
+ status: "clearing" | "cleared" | "reconciled";
323
+ isArchived: boolean;
324
+ createdAt: Date;
325
+ updatedAt: Date;
326
+ syncedAt: Date | null;
327
+ debitAmountCents: number;
328
+ creditAmountCents: number;
329
+ balanceCents: number;
330
+ description: string | null;
331
+ clearedAt: Date | null;
332
+ cmaId: string;
333
+ propertyId: string | null;
334
+ createType: string;
335
+ transactionType: string;
336
+ isCanceled: boolean;
337
+ isRefunded: boolean;
338
+ payoutId: string | null;
339
+ sequence: number;
340
+ inputType: import("../..").CmaTransactionInputType;
341
+ bankRef: string | null;
342
+ sourceTransactionId: string | null;
343
+ cancelType: string | null;
344
+ canceledAt: Date | null;
345
+ canceledReason: string | null;
346
+ createdBy?: string | {
347
+ id: string;
348
+ email: string;
349
+ fullName?: string | null | undefined;
350
+ firstName?: string | null | undefined;
351
+ lastName?: string | null | undefined;
352
+ } | null | undefined;
353
+ canceledBy?: string | {
354
+ id: string;
355
+ email: string;
356
+ fullName?: string | null | undefined;
357
+ firstName?: string | null | undefined;
358
+ lastName?: string | null | undefined;
359
+ } | null | undefined;
360
+ property?: {
361
+ id: string;
362
+ status: string;
363
+ isArchived: boolean;
364
+ createdAt: Date;
365
+ updatedAt: Date;
366
+ syncedAt: Date;
367
+ balanceCents: number | bigint;
368
+ customerId: string;
369
+ projectId: string;
370
+ lotDetail: string | null;
371
+ propertyAddress: string;
372
+ stage: string;
373
+ mtaId: string;
374
+ mtaBalanceCents: number | bigint;
375
+ cmaBalanceCents: number | bigint;
376
+ customer?: {
377
+ id: string;
378
+ status: string;
379
+ isArchived: boolean;
380
+ createdAt: Date;
381
+ updatedAt: Date;
382
+ fullName: string | null;
383
+ mobile: string | null;
384
+ email: string;
385
+ syncedAt: Date;
386
+ } | null | undefined;
387
+ buyerName?: string | null | undefined;
388
+ project?: {
389
+ id: string;
390
+ status: string;
391
+ isArchived: boolean;
392
+ createdAt: Date;
393
+ updatedAt: Date;
394
+ type: string;
395
+ syncedAt: Date;
396
+ mtaId: string | null;
397
+ name: string;
398
+ developerId: string;
399
+ state: string;
400
+ developer?: {
401
+ id: string;
402
+ status: string;
403
+ isArchived: boolean;
404
+ createdAt: Date;
405
+ updatedAt: Date;
406
+ syncedAt: Date;
407
+ companyName: string | null;
408
+ } | null | undefined;
409
+ } | null | undefined;
410
+ } | null | undefined;
411
+ } & any, "cma">[] | null | undefined;
412
+ reconciledTransactions?: z.output<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
413
+ isReceipt?: boolean | null | undefined;
414
+ isPayment?: boolean | null | undefined;
415
+ isReconciled?: boolean | null | undefined;
416
+ amountStr?: string | null | undefined;
417
+ transactionNumber?: string | null | undefined;
418
+ isCancelable?: boolean | null | undefined;
419
+ payout?: z.output<typeof import("..").payoutEntitySchema> | null | undefined;
420
+ }, z.ZodTypeDef, {
421
+ id: string;
422
+ status: string;
423
+ isArchived: boolean;
424
+ createdAt: Date;
425
+ updatedAt: Date;
426
+ syncedAt: Date | null;
427
+ debitAmountCents: string | number | bigint;
428
+ creditAmountCents: string | number | bigint;
429
+ balanceCents: string | number | bigint;
430
+ description: string | null;
431
+ clearedAt: Date | null;
432
+ cmaId: string;
433
+ propertyId: string | null;
434
+ createType: string;
435
+ transactionType: string;
436
+ isCanceled: boolean;
437
+ isRefunded: boolean;
438
+ payoutId: string | null;
439
+ sequence: number;
440
+ inputType: string;
441
+ bankRef: string | null;
442
+ sourceTransactionId: string | null;
443
+ cancelType: string | null;
444
+ canceledAt: Date | null;
445
+ canceledReason: string | null;
446
+ createdBy?: string | {
447
+ id: string;
448
+ email: string;
449
+ fullName?: string | null | undefined;
450
+ firstName?: string | null | undefined;
451
+ lastName?: string | null | undefined;
452
+ } | null | undefined;
453
+ canceledBy?: string | {
454
+ id: string;
455
+ email: string;
456
+ fullName?: string | null | undefined;
457
+ firstName?: string | null | undefined;
458
+ lastName?: string | null | undefined;
459
+ } | null | undefined;
460
+ property?: {
461
+ id: string;
462
+ status: string;
463
+ isArchived: boolean;
464
+ createdAt: Date;
465
+ updatedAt: Date;
466
+ syncedAt: Date;
467
+ balanceCents: number | bigint;
468
+ customerId: string;
469
+ projectId: string;
470
+ lotDetail: string | null;
471
+ propertyAddress: string;
472
+ stage: string;
473
+ mtaId: string;
474
+ mtaBalanceCents: number | bigint;
475
+ cmaBalanceCents: number | bigint;
476
+ customer?: {
477
+ id: string;
478
+ status: string;
479
+ isArchived: boolean;
480
+ createdAt: Date;
481
+ updatedAt: Date;
482
+ fullName: string | null;
483
+ mobile: string | null;
484
+ email: string;
485
+ syncedAt: Date;
486
+ } | null | undefined;
487
+ buyerName?: string | null | undefined;
488
+ project?: {
489
+ id: string;
490
+ status: string;
491
+ isArchived: boolean;
492
+ createdAt: Date;
493
+ updatedAt: Date;
494
+ type: string;
495
+ syncedAt: Date;
496
+ mtaId: string | null;
497
+ name: string;
498
+ developerId: string;
499
+ state: string;
500
+ developer?: {
501
+ id: string;
502
+ status: string;
503
+ isArchived: boolean;
504
+ createdAt: Date;
505
+ updatedAt: Date;
506
+ syncedAt: Date;
507
+ companyName: string | null;
508
+ } | null | undefined;
509
+ } | null | undefined;
510
+ } | null | undefined;
511
+ } & {
512
+ cma?: z.input<typeof import("..").cmaEntitySchema> | null | undefined;
513
+ sourceTransaction?: ({
514
+ id: string;
515
+ status: string;
516
+ isArchived: boolean;
517
+ createdAt: Date;
518
+ updatedAt: Date;
519
+ syncedAt: Date | null;
520
+ debitAmountCents: string | number | bigint;
521
+ creditAmountCents: string | number | bigint;
522
+ balanceCents: string | number | bigint;
523
+ description: string | null;
524
+ clearedAt: Date | null;
525
+ cmaId: string;
526
+ propertyId: string | null;
527
+ createType: string;
528
+ transactionType: string;
529
+ isCanceled: boolean;
530
+ isRefunded: boolean;
531
+ payoutId: string | null;
532
+ sequence: number;
533
+ inputType: string;
534
+ bankRef: string | null;
535
+ sourceTransactionId: string | null;
536
+ cancelType: string | null;
537
+ canceledAt: Date | null;
538
+ canceledReason: string | null;
539
+ createdBy?: string | {
540
+ id: string;
541
+ email: string;
542
+ fullName?: string | null | undefined;
543
+ firstName?: string | null | undefined;
544
+ lastName?: string | null | undefined;
545
+ } | null | undefined;
546
+ canceledBy?: string | {
547
+ id: string;
548
+ email: string;
549
+ fullName?: string | null | undefined;
550
+ firstName?: string | null | undefined;
551
+ lastName?: string | null | undefined;
552
+ } | null | undefined;
553
+ property?: {
554
+ id: string;
555
+ status: string;
556
+ isArchived: boolean;
557
+ createdAt: Date;
558
+ updatedAt: Date;
559
+ syncedAt: Date;
560
+ balanceCents: number | bigint;
561
+ customerId: string;
562
+ projectId: string;
563
+ lotDetail: string | null;
564
+ propertyAddress: string;
565
+ stage: string;
566
+ mtaId: string;
567
+ mtaBalanceCents: number | bigint;
568
+ cmaBalanceCents: number | bigint;
569
+ customer?: {
570
+ id: string;
571
+ status: string;
572
+ isArchived: boolean;
573
+ createdAt: Date;
574
+ updatedAt: Date;
575
+ fullName: string | null;
576
+ mobile: string | null;
577
+ email: string;
578
+ syncedAt: Date;
579
+ } | null | undefined;
580
+ buyerName?: string | null | undefined;
581
+ project?: {
582
+ id: string;
583
+ status: string;
584
+ isArchived: boolean;
585
+ createdAt: Date;
586
+ updatedAt: Date;
587
+ type: string;
588
+ syncedAt: Date;
589
+ mtaId: string | null;
590
+ name: string;
591
+ developerId: string;
592
+ state: string;
593
+ developer?: {
594
+ id: string;
595
+ status: string;
596
+ isArchived: boolean;
597
+ createdAt: Date;
598
+ updatedAt: Date;
599
+ syncedAt: Date;
600
+ companyName: string | null;
601
+ } | null | undefined;
602
+ } | null | undefined;
603
+ } | null | undefined;
604
+ } & any) | null | undefined;
605
+ subsequentTransactions?: ({
606
+ id: string;
607
+ status: string;
608
+ isArchived: boolean;
609
+ createdAt: Date;
610
+ updatedAt: Date;
611
+ syncedAt: Date | null;
612
+ debitAmountCents: string | number | bigint;
613
+ creditAmountCents: string | number | bigint;
614
+ balanceCents: string | number | bigint;
615
+ description: string | null;
616
+ clearedAt: Date | null;
617
+ cmaId: string;
618
+ propertyId: string | null;
619
+ createType: string;
620
+ transactionType: string;
621
+ isCanceled: boolean;
622
+ isRefunded: boolean;
623
+ payoutId: string | null;
624
+ sequence: number;
625
+ inputType: string;
626
+ bankRef: string | null;
627
+ sourceTransactionId: string | null;
628
+ cancelType: string | null;
629
+ canceledAt: Date | null;
630
+ canceledReason: string | null;
631
+ createdBy?: string | {
632
+ id: string;
633
+ email: string;
634
+ fullName?: string | null | undefined;
635
+ firstName?: string | null | undefined;
636
+ lastName?: string | null | undefined;
637
+ } | null | undefined;
638
+ canceledBy?: string | {
639
+ id: string;
640
+ email: string;
641
+ fullName?: string | null | undefined;
642
+ firstName?: string | null | undefined;
643
+ lastName?: string | null | undefined;
644
+ } | null | undefined;
645
+ property?: {
646
+ id: string;
647
+ status: string;
648
+ isArchived: boolean;
649
+ createdAt: Date;
650
+ updatedAt: Date;
651
+ syncedAt: Date;
652
+ balanceCents: number | bigint;
653
+ customerId: string;
654
+ projectId: string;
655
+ lotDetail: string | null;
656
+ propertyAddress: string;
657
+ stage: string;
658
+ mtaId: string;
659
+ mtaBalanceCents: number | bigint;
660
+ cmaBalanceCents: number | bigint;
661
+ customer?: {
662
+ id: string;
663
+ status: string;
664
+ isArchived: boolean;
665
+ createdAt: Date;
666
+ updatedAt: Date;
667
+ fullName: string | null;
668
+ mobile: string | null;
669
+ email: string;
670
+ syncedAt: Date;
671
+ } | null | undefined;
672
+ buyerName?: string | null | undefined;
673
+ project?: {
674
+ id: string;
675
+ status: string;
676
+ isArchived: boolean;
677
+ createdAt: Date;
678
+ updatedAt: Date;
679
+ type: string;
680
+ syncedAt: Date;
681
+ mtaId: string | null;
682
+ name: string;
683
+ developerId: string;
684
+ state: string;
685
+ developer?: {
686
+ id: string;
687
+ status: string;
688
+ isArchived: boolean;
689
+ createdAt: Date;
690
+ updatedAt: Date;
691
+ syncedAt: Date;
692
+ companyName: string | null;
693
+ } | null | undefined;
694
+ } | null | undefined;
695
+ } | null | undefined;
696
+ } & any)[] | null | undefined;
697
+ reconciledTransactions?: z.input<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
698
+ payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
699
+ }>, "many">>>>;
700
+ unreconciledAmountCents: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, number, number | bigint>, z.ZodNumber>;
701
+ unreconciledTransactions: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodArray<z.ZodType<{
702
+ id: string;
703
+ status: "clearing" | "cleared" | "reconciled";
704
+ isArchived: boolean;
705
+ createdAt: Date;
706
+ updatedAt: Date;
707
+ syncedAt: Date | null;
708
+ debitAmountCents: number;
709
+ creditAmountCents: number;
710
+ balanceCents: number;
711
+ description: string | null;
712
+ clearedAt: Date | null;
713
+ cmaId: string;
714
+ propertyId: string | null;
715
+ createType: string;
716
+ transactionType: string;
717
+ isCanceled: boolean;
718
+ isRefunded: boolean;
719
+ payoutId: string | null;
720
+ sequence: number;
721
+ inputType: import("../..").CmaTransactionInputType;
722
+ bankRef: string | null;
723
+ sourceTransactionId: string | null;
724
+ cancelType: string | null;
725
+ canceledAt: Date | null;
726
+ canceledReason: string | null;
727
+ createdBy?: string | {
728
+ id: string;
729
+ email: string;
730
+ fullName?: string | null | undefined;
731
+ firstName?: string | null | undefined;
732
+ lastName?: string | null | undefined;
733
+ } | null | undefined;
734
+ canceledBy?: string | {
735
+ id: string;
736
+ email: string;
737
+ fullName?: string | null | undefined;
738
+ firstName?: string | null | undefined;
739
+ lastName?: string | null | undefined;
740
+ } | null | undefined;
741
+ property?: {
742
+ id: string;
743
+ status: string;
744
+ isArchived: boolean;
745
+ createdAt: Date;
746
+ updatedAt: Date;
747
+ syncedAt: Date;
748
+ balanceCents: number | bigint;
749
+ customerId: string;
750
+ projectId: string;
751
+ lotDetail: string | null;
752
+ propertyAddress: string;
753
+ stage: string;
754
+ mtaId: string;
755
+ mtaBalanceCents: number | bigint;
756
+ cmaBalanceCents: number | bigint;
757
+ customer?: {
758
+ id: string;
759
+ status: string;
760
+ isArchived: boolean;
761
+ createdAt: Date;
762
+ updatedAt: Date;
763
+ fullName: string | null;
764
+ mobile: string | null;
765
+ email: string;
766
+ syncedAt: Date;
767
+ } | null | undefined;
768
+ buyerName?: string | null | undefined;
769
+ project?: {
770
+ id: string;
771
+ status: string;
772
+ isArchived: boolean;
773
+ createdAt: Date;
774
+ updatedAt: Date;
775
+ type: string;
776
+ syncedAt: Date;
777
+ mtaId: string | null;
778
+ name: string;
779
+ developerId: string;
780
+ state: string;
781
+ developer?: {
782
+ id: string;
783
+ status: string;
784
+ isArchived: boolean;
785
+ createdAt: Date;
786
+ updatedAt: Date;
787
+ syncedAt: Date;
788
+ companyName: string | null;
789
+ } | null | undefined;
790
+ } | null | undefined;
791
+ } | null | undefined;
792
+ } & {
793
+ cma?: z.output<typeof import("..").cmaEntitySchema> | null | undefined;
794
+ sourceTransaction?: Omit<{
795
+ id: string;
796
+ status: "clearing" | "cleared" | "reconciled";
797
+ isArchived: boolean;
798
+ createdAt: Date;
799
+ updatedAt: Date;
800
+ syncedAt: Date | null;
801
+ debitAmountCents: number;
802
+ creditAmountCents: number;
803
+ balanceCents: number;
804
+ description: string | null;
805
+ clearedAt: Date | null;
806
+ cmaId: string;
807
+ propertyId: string | null;
808
+ createType: string;
809
+ transactionType: string;
810
+ isCanceled: boolean;
811
+ isRefunded: boolean;
812
+ payoutId: string | null;
813
+ sequence: number;
814
+ inputType: import("../..").CmaTransactionInputType;
815
+ bankRef: string | null;
816
+ sourceTransactionId: string | null;
817
+ cancelType: string | null;
818
+ canceledAt: Date | null;
819
+ canceledReason: string | null;
820
+ createdBy?: string | {
821
+ id: string;
822
+ email: string;
823
+ fullName?: string | null | undefined;
824
+ firstName?: string | null | undefined;
825
+ lastName?: string | null | undefined;
826
+ } | null | undefined;
827
+ canceledBy?: string | {
828
+ id: string;
829
+ email: string;
830
+ fullName?: string | null | undefined;
831
+ firstName?: string | null | undefined;
832
+ lastName?: string | null | undefined;
833
+ } | null | undefined;
834
+ property?: {
835
+ id: string;
836
+ status: string;
837
+ isArchived: boolean;
838
+ createdAt: Date;
839
+ updatedAt: Date;
840
+ syncedAt: Date;
841
+ balanceCents: number | bigint;
842
+ customerId: string;
843
+ projectId: string;
844
+ lotDetail: string | null;
845
+ propertyAddress: string;
846
+ stage: string;
847
+ mtaId: string;
848
+ mtaBalanceCents: number | bigint;
849
+ cmaBalanceCents: number | bigint;
850
+ customer?: {
851
+ id: string;
852
+ status: string;
853
+ isArchived: boolean;
854
+ createdAt: Date;
855
+ updatedAt: Date;
856
+ fullName: string | null;
857
+ mobile: string | null;
858
+ email: string;
859
+ syncedAt: Date;
860
+ } | null | undefined;
861
+ buyerName?: string | null | undefined;
862
+ project?: {
863
+ id: string;
864
+ status: string;
865
+ isArchived: boolean;
866
+ createdAt: Date;
867
+ updatedAt: Date;
868
+ type: string;
869
+ syncedAt: Date;
870
+ mtaId: string | null;
871
+ name: string;
872
+ developerId: string;
873
+ state: string;
874
+ developer?: {
875
+ id: string;
876
+ status: string;
877
+ isArchived: boolean;
878
+ createdAt: Date;
879
+ updatedAt: Date;
880
+ syncedAt: Date;
881
+ companyName: string | null;
882
+ } | null | undefined;
883
+ } | null | undefined;
884
+ } | null | undefined;
885
+ } & any, "cma"> | null | undefined;
886
+ subsequentTransactions?: Omit<{
887
+ id: string;
888
+ status: "clearing" | "cleared" | "reconciled";
889
+ isArchived: boolean;
890
+ createdAt: Date;
891
+ updatedAt: Date;
892
+ syncedAt: Date | null;
893
+ debitAmountCents: number;
894
+ creditAmountCents: number;
895
+ balanceCents: number;
896
+ description: string | null;
897
+ clearedAt: Date | null;
898
+ cmaId: string;
899
+ propertyId: string | null;
900
+ createType: string;
901
+ transactionType: string;
902
+ isCanceled: boolean;
903
+ isRefunded: boolean;
904
+ payoutId: string | null;
905
+ sequence: number;
906
+ inputType: import("../..").CmaTransactionInputType;
907
+ bankRef: string | null;
908
+ sourceTransactionId: string | null;
909
+ cancelType: string | null;
910
+ canceledAt: Date | null;
911
+ canceledReason: string | null;
912
+ createdBy?: string | {
913
+ id: string;
914
+ email: string;
915
+ fullName?: string | null | undefined;
916
+ firstName?: string | null | undefined;
917
+ lastName?: string | null | undefined;
918
+ } | null | undefined;
919
+ canceledBy?: string | {
920
+ id: string;
921
+ email: string;
922
+ fullName?: string | null | undefined;
923
+ firstName?: string | null | undefined;
924
+ lastName?: string | null | undefined;
925
+ } | null | undefined;
926
+ property?: {
927
+ id: string;
928
+ status: string;
929
+ isArchived: boolean;
930
+ createdAt: Date;
931
+ updatedAt: Date;
932
+ syncedAt: Date;
933
+ balanceCents: number | bigint;
934
+ customerId: string;
935
+ projectId: string;
936
+ lotDetail: string | null;
937
+ propertyAddress: string;
938
+ stage: string;
939
+ mtaId: string;
940
+ mtaBalanceCents: number | bigint;
941
+ cmaBalanceCents: number | bigint;
942
+ customer?: {
943
+ id: string;
944
+ status: string;
945
+ isArchived: boolean;
946
+ createdAt: Date;
947
+ updatedAt: Date;
948
+ fullName: string | null;
949
+ mobile: string | null;
950
+ email: string;
951
+ syncedAt: Date;
952
+ } | null | undefined;
953
+ buyerName?: string | null | undefined;
954
+ project?: {
955
+ id: string;
956
+ status: string;
957
+ isArchived: boolean;
958
+ createdAt: Date;
959
+ updatedAt: Date;
960
+ type: string;
961
+ syncedAt: Date;
962
+ mtaId: string | null;
963
+ name: string;
964
+ developerId: string;
965
+ state: string;
966
+ developer?: {
967
+ id: string;
968
+ status: string;
969
+ isArchived: boolean;
970
+ createdAt: Date;
971
+ updatedAt: Date;
972
+ syncedAt: Date;
973
+ companyName: string | null;
974
+ } | null | undefined;
975
+ } | null | undefined;
976
+ } | null | undefined;
977
+ } & any, "cma">[] | null | undefined;
978
+ reconciledTransactions?: z.output<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
979
+ isReceipt?: boolean | null | undefined;
980
+ isPayment?: boolean | null | undefined;
981
+ isReconciled?: boolean | null | undefined;
982
+ amountStr?: string | null | undefined;
983
+ transactionNumber?: string | null | undefined;
984
+ isCancelable?: boolean | null | undefined;
985
+ payout?: z.output<typeof import("..").payoutEntitySchema> | null | undefined;
986
+ }, z.ZodTypeDef, {
987
+ id: string;
988
+ status: string;
989
+ isArchived: boolean;
990
+ createdAt: Date;
991
+ updatedAt: Date;
992
+ syncedAt: Date | null;
993
+ debitAmountCents: string | number | bigint;
994
+ creditAmountCents: string | number | bigint;
995
+ balanceCents: string | number | bigint;
996
+ description: string | null;
997
+ clearedAt: Date | null;
998
+ cmaId: string;
999
+ propertyId: string | null;
1000
+ createType: string;
1001
+ transactionType: string;
1002
+ isCanceled: boolean;
1003
+ isRefunded: boolean;
1004
+ payoutId: string | null;
1005
+ sequence: number;
1006
+ inputType: string;
1007
+ bankRef: string | null;
1008
+ sourceTransactionId: string | null;
1009
+ cancelType: string | null;
1010
+ canceledAt: Date | null;
1011
+ canceledReason: string | null;
1012
+ createdBy?: string | {
1013
+ id: string;
1014
+ email: string;
1015
+ fullName?: string | null | undefined;
1016
+ firstName?: string | null | undefined;
1017
+ lastName?: string | null | undefined;
1018
+ } | null | undefined;
1019
+ canceledBy?: string | {
1020
+ id: string;
1021
+ email: string;
1022
+ fullName?: string | null | undefined;
1023
+ firstName?: string | null | undefined;
1024
+ lastName?: string | null | undefined;
1025
+ } | null | undefined;
1026
+ property?: {
1027
+ id: string;
1028
+ status: string;
1029
+ isArchived: boolean;
1030
+ createdAt: Date;
1031
+ updatedAt: Date;
1032
+ syncedAt: Date;
1033
+ balanceCents: number | bigint;
1034
+ customerId: string;
1035
+ projectId: string;
1036
+ lotDetail: string | null;
1037
+ propertyAddress: string;
1038
+ stage: string;
1039
+ mtaId: string;
1040
+ mtaBalanceCents: number | bigint;
1041
+ cmaBalanceCents: number | bigint;
1042
+ customer?: {
1043
+ id: string;
1044
+ status: string;
1045
+ isArchived: boolean;
1046
+ createdAt: Date;
1047
+ updatedAt: Date;
1048
+ fullName: string | null;
1049
+ mobile: string | null;
1050
+ email: string;
1051
+ syncedAt: Date;
1052
+ } | null | undefined;
1053
+ buyerName?: string | null | undefined;
1054
+ project?: {
1055
+ id: string;
1056
+ status: string;
1057
+ isArchived: boolean;
1058
+ createdAt: Date;
1059
+ updatedAt: Date;
1060
+ type: string;
1061
+ syncedAt: Date;
1062
+ mtaId: string | null;
1063
+ name: string;
1064
+ developerId: string;
1065
+ state: string;
1066
+ developer?: {
1067
+ id: string;
1068
+ status: string;
1069
+ isArchived: boolean;
1070
+ createdAt: Date;
1071
+ updatedAt: Date;
1072
+ syncedAt: Date;
1073
+ companyName: string | null;
1074
+ } | null | undefined;
1075
+ } | null | undefined;
1076
+ } | null | undefined;
1077
+ } & {
1078
+ cma?: z.input<typeof import("..").cmaEntitySchema> | null | undefined;
1079
+ sourceTransaction?: ({
1080
+ id: string;
1081
+ status: string;
1082
+ isArchived: boolean;
1083
+ createdAt: Date;
1084
+ updatedAt: Date;
1085
+ syncedAt: Date | null;
1086
+ debitAmountCents: string | number | bigint;
1087
+ creditAmountCents: string | number | bigint;
1088
+ balanceCents: string | number | bigint;
1089
+ description: string | null;
1090
+ clearedAt: Date | null;
1091
+ cmaId: string;
1092
+ propertyId: string | null;
1093
+ createType: string;
1094
+ transactionType: string;
1095
+ isCanceled: boolean;
1096
+ isRefunded: boolean;
1097
+ payoutId: string | null;
1098
+ sequence: number;
1099
+ inputType: string;
1100
+ bankRef: string | null;
1101
+ sourceTransactionId: string | null;
1102
+ cancelType: string | null;
1103
+ canceledAt: Date | null;
1104
+ canceledReason: string | null;
1105
+ createdBy?: string | {
1106
+ id: string;
1107
+ email: string;
1108
+ fullName?: string | null | undefined;
1109
+ firstName?: string | null | undefined;
1110
+ lastName?: string | null | undefined;
1111
+ } | null | undefined;
1112
+ canceledBy?: string | {
1113
+ id: string;
1114
+ email: string;
1115
+ fullName?: string | null | undefined;
1116
+ firstName?: string | null | undefined;
1117
+ lastName?: string | null | undefined;
1118
+ } | null | undefined;
1119
+ property?: {
1120
+ id: string;
1121
+ status: string;
1122
+ isArchived: boolean;
1123
+ createdAt: Date;
1124
+ updatedAt: Date;
1125
+ syncedAt: Date;
1126
+ balanceCents: number | bigint;
1127
+ customerId: string;
1128
+ projectId: string;
1129
+ lotDetail: string | null;
1130
+ propertyAddress: string;
1131
+ stage: string;
1132
+ mtaId: string;
1133
+ mtaBalanceCents: number | bigint;
1134
+ cmaBalanceCents: number | bigint;
1135
+ customer?: {
1136
+ id: string;
1137
+ status: string;
1138
+ isArchived: boolean;
1139
+ createdAt: Date;
1140
+ updatedAt: Date;
1141
+ fullName: string | null;
1142
+ mobile: string | null;
1143
+ email: string;
1144
+ syncedAt: Date;
1145
+ } | null | undefined;
1146
+ buyerName?: string | null | undefined;
1147
+ project?: {
1148
+ id: string;
1149
+ status: string;
1150
+ isArchived: boolean;
1151
+ createdAt: Date;
1152
+ updatedAt: Date;
1153
+ type: string;
1154
+ syncedAt: Date;
1155
+ mtaId: string | null;
1156
+ name: string;
1157
+ developerId: string;
1158
+ state: string;
1159
+ developer?: {
1160
+ id: string;
1161
+ status: string;
1162
+ isArchived: boolean;
1163
+ createdAt: Date;
1164
+ updatedAt: Date;
1165
+ syncedAt: Date;
1166
+ companyName: string | null;
1167
+ } | null | undefined;
1168
+ } | null | undefined;
1169
+ } | null | undefined;
1170
+ } & any) | null | undefined;
1171
+ subsequentTransactions?: ({
1172
+ id: string;
1173
+ status: string;
1174
+ isArchived: boolean;
1175
+ createdAt: Date;
1176
+ updatedAt: Date;
1177
+ syncedAt: Date | null;
1178
+ debitAmountCents: string | number | bigint;
1179
+ creditAmountCents: string | number | bigint;
1180
+ balanceCents: string | number | bigint;
1181
+ description: string | null;
1182
+ clearedAt: Date | null;
1183
+ cmaId: string;
1184
+ propertyId: string | null;
1185
+ createType: string;
1186
+ transactionType: string;
1187
+ isCanceled: boolean;
1188
+ isRefunded: boolean;
1189
+ payoutId: string | null;
1190
+ sequence: number;
1191
+ inputType: string;
1192
+ bankRef: string | null;
1193
+ sourceTransactionId: string | null;
1194
+ cancelType: string | null;
1195
+ canceledAt: Date | null;
1196
+ canceledReason: string | null;
1197
+ createdBy?: string | {
1198
+ id: string;
1199
+ email: string;
1200
+ fullName?: string | null | undefined;
1201
+ firstName?: string | null | undefined;
1202
+ lastName?: string | null | undefined;
1203
+ } | null | undefined;
1204
+ canceledBy?: string | {
1205
+ id: string;
1206
+ email: string;
1207
+ fullName?: string | null | undefined;
1208
+ firstName?: string | null | undefined;
1209
+ lastName?: string | null | undefined;
1210
+ } | null | undefined;
1211
+ property?: {
1212
+ id: string;
1213
+ status: string;
1214
+ isArchived: boolean;
1215
+ createdAt: Date;
1216
+ updatedAt: Date;
1217
+ syncedAt: Date;
1218
+ balanceCents: number | bigint;
1219
+ customerId: string;
1220
+ projectId: string;
1221
+ lotDetail: string | null;
1222
+ propertyAddress: string;
1223
+ stage: string;
1224
+ mtaId: string;
1225
+ mtaBalanceCents: number | bigint;
1226
+ cmaBalanceCents: number | bigint;
1227
+ customer?: {
1228
+ id: string;
1229
+ status: string;
1230
+ isArchived: boolean;
1231
+ createdAt: Date;
1232
+ updatedAt: Date;
1233
+ fullName: string | null;
1234
+ mobile: string | null;
1235
+ email: string;
1236
+ syncedAt: Date;
1237
+ } | null | undefined;
1238
+ buyerName?: string | null | undefined;
1239
+ project?: {
1240
+ id: string;
1241
+ status: string;
1242
+ isArchived: boolean;
1243
+ createdAt: Date;
1244
+ updatedAt: Date;
1245
+ type: string;
1246
+ syncedAt: Date;
1247
+ mtaId: string | null;
1248
+ name: string;
1249
+ developerId: string;
1250
+ state: string;
1251
+ developer?: {
1252
+ id: string;
1253
+ status: string;
1254
+ isArchived: boolean;
1255
+ createdAt: Date;
1256
+ updatedAt: Date;
1257
+ syncedAt: Date;
1258
+ companyName: string | null;
1259
+ } | null | undefined;
1260
+ } | null | undefined;
1261
+ } | null | undefined;
1262
+ } & any)[] | null | undefined;
1263
+ reconciledTransactions?: z.input<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
1264
+ payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
1265
+ }>, "many">>>>;
1266
+ }, "strip", z.ZodTypeAny, {
1267
+ reconciledAmountCents: number;
1268
+ unreconciledAmountCents: number;
1269
+ reconciledTransactions?: ({
1270
+ id: string;
1271
+ status: "clearing" | "cleared" | "reconciled";
1272
+ isArchived: boolean;
1273
+ createdAt: Date;
1274
+ updatedAt: Date;
1275
+ syncedAt: Date | null;
1276
+ debitAmountCents: number;
1277
+ creditAmountCents: number;
1278
+ balanceCents: number;
1279
+ description: string | null;
1280
+ clearedAt: Date | null;
1281
+ cmaId: string;
1282
+ propertyId: string | null;
1283
+ createType: string;
1284
+ transactionType: string;
1285
+ isCanceled: boolean;
1286
+ isRefunded: boolean;
1287
+ payoutId: string | null;
1288
+ sequence: number;
1289
+ inputType: import("../..").CmaTransactionInputType;
1290
+ bankRef: string | null;
1291
+ sourceTransactionId: string | null;
1292
+ cancelType: string | null;
1293
+ canceledAt: Date | null;
1294
+ canceledReason: string | null;
1295
+ createdBy?: string | {
1296
+ id: string;
1297
+ email: string;
1298
+ fullName?: string | null | undefined;
1299
+ firstName?: string | null | undefined;
1300
+ lastName?: string | null | undefined;
1301
+ } | null | undefined;
1302
+ canceledBy?: string | {
1303
+ id: string;
1304
+ email: string;
1305
+ fullName?: string | null | undefined;
1306
+ firstName?: string | null | undefined;
1307
+ lastName?: string | null | undefined;
1308
+ } | null | undefined;
1309
+ property?: {
1310
+ id: string;
1311
+ status: string;
1312
+ isArchived: boolean;
1313
+ createdAt: Date;
1314
+ updatedAt: Date;
1315
+ syncedAt: Date;
1316
+ balanceCents: number | bigint;
1317
+ customerId: string;
1318
+ projectId: string;
1319
+ lotDetail: string | null;
1320
+ propertyAddress: string;
1321
+ stage: string;
1322
+ mtaId: string;
1323
+ mtaBalanceCents: number | bigint;
1324
+ cmaBalanceCents: number | bigint;
1325
+ customer?: {
1326
+ id: string;
1327
+ status: string;
1328
+ isArchived: boolean;
1329
+ createdAt: Date;
1330
+ updatedAt: Date;
1331
+ fullName: string | null;
1332
+ mobile: string | null;
1333
+ email: string;
1334
+ syncedAt: Date;
1335
+ } | null | undefined;
1336
+ buyerName?: string | null | undefined;
1337
+ project?: {
1338
+ id: string;
1339
+ status: string;
1340
+ isArchived: boolean;
1341
+ createdAt: Date;
1342
+ updatedAt: Date;
1343
+ type: string;
1344
+ syncedAt: Date;
1345
+ mtaId: string | null;
1346
+ name: string;
1347
+ developerId: string;
1348
+ state: string;
1349
+ developer?: {
1350
+ id: string;
1351
+ status: string;
1352
+ isArchived: boolean;
1353
+ createdAt: Date;
1354
+ updatedAt: Date;
1355
+ syncedAt: Date;
1356
+ companyName: string | null;
1357
+ } | null | undefined;
1358
+ } | null | undefined;
1359
+ } | null | undefined;
1360
+ } & {
1361
+ cma?: z.output<typeof import("..").cmaEntitySchema> | null | undefined;
1362
+ sourceTransaction?: Omit<{
1363
+ id: string;
1364
+ status: "clearing" | "cleared" | "reconciled";
1365
+ isArchived: boolean;
1366
+ createdAt: Date;
1367
+ updatedAt: Date;
1368
+ syncedAt: Date | null;
1369
+ debitAmountCents: number;
1370
+ creditAmountCents: number;
1371
+ balanceCents: number;
1372
+ description: string | null;
1373
+ clearedAt: Date | null;
1374
+ cmaId: string;
1375
+ propertyId: string | null;
1376
+ createType: string;
1377
+ transactionType: string;
1378
+ isCanceled: boolean;
1379
+ isRefunded: boolean;
1380
+ payoutId: string | null;
1381
+ sequence: number;
1382
+ inputType: import("../..").CmaTransactionInputType;
1383
+ bankRef: string | null;
1384
+ sourceTransactionId: string | null;
1385
+ cancelType: string | null;
1386
+ canceledAt: Date | null;
1387
+ canceledReason: string | null;
1388
+ createdBy?: string | {
1389
+ id: string;
1390
+ email: string;
1391
+ fullName?: string | null | undefined;
1392
+ firstName?: string | null | undefined;
1393
+ lastName?: string | null | undefined;
1394
+ } | null | undefined;
1395
+ canceledBy?: string | {
1396
+ id: string;
1397
+ email: string;
1398
+ fullName?: string | null | undefined;
1399
+ firstName?: string | null | undefined;
1400
+ lastName?: string | null | undefined;
1401
+ } | null | undefined;
1402
+ property?: {
1403
+ id: string;
1404
+ status: string;
1405
+ isArchived: boolean;
1406
+ createdAt: Date;
1407
+ updatedAt: Date;
1408
+ syncedAt: Date;
1409
+ balanceCents: number | bigint;
1410
+ customerId: string;
1411
+ projectId: string;
1412
+ lotDetail: string | null;
1413
+ propertyAddress: string;
1414
+ stage: string;
1415
+ mtaId: string;
1416
+ mtaBalanceCents: number | bigint;
1417
+ cmaBalanceCents: number | bigint;
1418
+ customer?: {
1419
+ id: string;
1420
+ status: string;
1421
+ isArchived: boolean;
1422
+ createdAt: Date;
1423
+ updatedAt: Date;
1424
+ fullName: string | null;
1425
+ mobile: string | null;
1426
+ email: string;
1427
+ syncedAt: Date;
1428
+ } | null | undefined;
1429
+ buyerName?: string | null | undefined;
1430
+ project?: {
1431
+ id: string;
1432
+ status: string;
1433
+ isArchived: boolean;
1434
+ createdAt: Date;
1435
+ updatedAt: Date;
1436
+ type: string;
1437
+ syncedAt: Date;
1438
+ mtaId: string | null;
1439
+ name: string;
1440
+ developerId: string;
1441
+ state: string;
1442
+ developer?: {
1443
+ id: string;
1444
+ status: string;
1445
+ isArchived: boolean;
1446
+ createdAt: Date;
1447
+ updatedAt: Date;
1448
+ syncedAt: Date;
1449
+ companyName: string | null;
1450
+ } | null | undefined;
1451
+ } | null | undefined;
1452
+ } | null | undefined;
1453
+ } & any, "cma"> | null | undefined;
1454
+ subsequentTransactions?: Omit<{
1455
+ id: string;
1456
+ status: "clearing" | "cleared" | "reconciled";
1457
+ isArchived: boolean;
1458
+ createdAt: Date;
1459
+ updatedAt: Date;
1460
+ syncedAt: Date | null;
1461
+ debitAmountCents: number;
1462
+ creditAmountCents: number;
1463
+ balanceCents: number;
1464
+ description: string | null;
1465
+ clearedAt: Date | null;
1466
+ cmaId: string;
1467
+ propertyId: string | null;
1468
+ createType: string;
1469
+ transactionType: string;
1470
+ isCanceled: boolean;
1471
+ isRefunded: boolean;
1472
+ payoutId: string | null;
1473
+ sequence: number;
1474
+ inputType: import("../..").CmaTransactionInputType;
1475
+ bankRef: string | null;
1476
+ sourceTransactionId: string | null;
1477
+ cancelType: string | null;
1478
+ canceledAt: Date | null;
1479
+ canceledReason: string | null;
1480
+ createdBy?: string | {
1481
+ id: string;
1482
+ email: string;
1483
+ fullName?: string | null | undefined;
1484
+ firstName?: string | null | undefined;
1485
+ lastName?: string | null | undefined;
1486
+ } | null | undefined;
1487
+ canceledBy?: string | {
1488
+ id: string;
1489
+ email: string;
1490
+ fullName?: string | null | undefined;
1491
+ firstName?: string | null | undefined;
1492
+ lastName?: string | null | undefined;
1493
+ } | null | undefined;
1494
+ property?: {
1495
+ id: string;
1496
+ status: string;
1497
+ isArchived: boolean;
1498
+ createdAt: Date;
1499
+ updatedAt: Date;
1500
+ syncedAt: Date;
1501
+ balanceCents: number | bigint;
1502
+ customerId: string;
1503
+ projectId: string;
1504
+ lotDetail: string | null;
1505
+ propertyAddress: string;
1506
+ stage: string;
1507
+ mtaId: string;
1508
+ mtaBalanceCents: number | bigint;
1509
+ cmaBalanceCents: number | bigint;
1510
+ customer?: {
1511
+ id: string;
1512
+ status: string;
1513
+ isArchived: boolean;
1514
+ createdAt: Date;
1515
+ updatedAt: Date;
1516
+ fullName: string | null;
1517
+ mobile: string | null;
1518
+ email: string;
1519
+ syncedAt: Date;
1520
+ } | null | undefined;
1521
+ buyerName?: string | null | undefined;
1522
+ project?: {
1523
+ id: string;
1524
+ status: string;
1525
+ isArchived: boolean;
1526
+ createdAt: Date;
1527
+ updatedAt: Date;
1528
+ type: string;
1529
+ syncedAt: Date;
1530
+ mtaId: string | null;
1531
+ name: string;
1532
+ developerId: string;
1533
+ state: string;
1534
+ developer?: {
1535
+ id: string;
1536
+ status: string;
1537
+ isArchived: boolean;
1538
+ createdAt: Date;
1539
+ updatedAt: Date;
1540
+ syncedAt: Date;
1541
+ companyName: string | null;
1542
+ } | null | undefined;
1543
+ } | null | undefined;
1544
+ } | null | undefined;
1545
+ } & any, "cma">[] | null | undefined;
1546
+ reconciledTransactions?: z.output<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
1547
+ isReceipt?: boolean | null | undefined;
1548
+ isPayment?: boolean | null | undefined;
1549
+ isReconciled?: boolean | null | undefined;
1550
+ amountStr?: string | null | undefined;
1551
+ transactionNumber?: string | null | undefined;
1552
+ isCancelable?: boolean | null | undefined;
1553
+ payout?: z.output<typeof import("..").payoutEntitySchema> | null | undefined;
1554
+ })[] | null | undefined;
1555
+ unreconciledTransactions?: ({
1556
+ id: string;
1557
+ status: "clearing" | "cleared" | "reconciled";
1558
+ isArchived: boolean;
1559
+ createdAt: Date;
1560
+ updatedAt: Date;
1561
+ syncedAt: Date | null;
1562
+ debitAmountCents: number;
1563
+ creditAmountCents: number;
1564
+ balanceCents: number;
1565
+ description: string | null;
1566
+ clearedAt: Date | null;
1567
+ cmaId: string;
1568
+ propertyId: string | null;
1569
+ createType: string;
1570
+ transactionType: string;
1571
+ isCanceled: boolean;
1572
+ isRefunded: boolean;
1573
+ payoutId: string | null;
1574
+ sequence: number;
1575
+ inputType: import("../..").CmaTransactionInputType;
1576
+ bankRef: string | null;
1577
+ sourceTransactionId: string | null;
1578
+ cancelType: string | null;
1579
+ canceledAt: Date | null;
1580
+ canceledReason: string | null;
1581
+ createdBy?: string | {
1582
+ id: string;
1583
+ email: string;
1584
+ fullName?: string | null | undefined;
1585
+ firstName?: string | null | undefined;
1586
+ lastName?: string | null | undefined;
1587
+ } | null | undefined;
1588
+ canceledBy?: string | {
1589
+ id: string;
1590
+ email: string;
1591
+ fullName?: string | null | undefined;
1592
+ firstName?: string | null | undefined;
1593
+ lastName?: string | null | undefined;
1594
+ } | null | undefined;
1595
+ property?: {
1596
+ id: string;
1597
+ status: string;
1598
+ isArchived: boolean;
1599
+ createdAt: Date;
1600
+ updatedAt: Date;
1601
+ syncedAt: Date;
1602
+ balanceCents: number | bigint;
1603
+ customerId: string;
1604
+ projectId: string;
1605
+ lotDetail: string | null;
1606
+ propertyAddress: string;
1607
+ stage: string;
1608
+ mtaId: string;
1609
+ mtaBalanceCents: number | bigint;
1610
+ cmaBalanceCents: number | bigint;
1611
+ customer?: {
1612
+ id: string;
1613
+ status: string;
1614
+ isArchived: boolean;
1615
+ createdAt: Date;
1616
+ updatedAt: Date;
1617
+ fullName: string | null;
1618
+ mobile: string | null;
1619
+ email: string;
1620
+ syncedAt: Date;
1621
+ } | null | undefined;
1622
+ buyerName?: string | null | undefined;
1623
+ project?: {
1624
+ id: string;
1625
+ status: string;
1626
+ isArchived: boolean;
1627
+ createdAt: Date;
1628
+ updatedAt: Date;
1629
+ type: string;
1630
+ syncedAt: Date;
1631
+ mtaId: string | null;
1632
+ name: string;
1633
+ developerId: string;
1634
+ state: string;
1635
+ developer?: {
1636
+ id: string;
1637
+ status: string;
1638
+ isArchived: boolean;
1639
+ createdAt: Date;
1640
+ updatedAt: Date;
1641
+ syncedAt: Date;
1642
+ companyName: string | null;
1643
+ } | null | undefined;
1644
+ } | null | undefined;
1645
+ } | null | undefined;
1646
+ } & {
1647
+ cma?: z.output<typeof import("..").cmaEntitySchema> | null | undefined;
1648
+ sourceTransaction?: Omit<{
1649
+ id: string;
1650
+ status: "clearing" | "cleared" | "reconciled";
1651
+ isArchived: boolean;
1652
+ createdAt: Date;
1653
+ updatedAt: Date;
1654
+ syncedAt: Date | null;
1655
+ debitAmountCents: number;
1656
+ creditAmountCents: number;
1657
+ balanceCents: number;
1658
+ description: string | null;
1659
+ clearedAt: Date | null;
1660
+ cmaId: string;
1661
+ propertyId: string | null;
1662
+ createType: string;
1663
+ transactionType: string;
1664
+ isCanceled: boolean;
1665
+ isRefunded: boolean;
1666
+ payoutId: string | null;
1667
+ sequence: number;
1668
+ inputType: import("../..").CmaTransactionInputType;
1669
+ bankRef: string | null;
1670
+ sourceTransactionId: string | null;
1671
+ cancelType: string | null;
1672
+ canceledAt: Date | null;
1673
+ canceledReason: string | null;
1674
+ createdBy?: string | {
1675
+ id: string;
1676
+ email: string;
1677
+ fullName?: string | null | undefined;
1678
+ firstName?: string | null | undefined;
1679
+ lastName?: string | null | undefined;
1680
+ } | null | undefined;
1681
+ canceledBy?: string | {
1682
+ id: string;
1683
+ email: string;
1684
+ fullName?: string | null | undefined;
1685
+ firstName?: string | null | undefined;
1686
+ lastName?: string | null | undefined;
1687
+ } | null | undefined;
1688
+ property?: {
1689
+ id: string;
1690
+ status: string;
1691
+ isArchived: boolean;
1692
+ createdAt: Date;
1693
+ updatedAt: Date;
1694
+ syncedAt: Date;
1695
+ balanceCents: number | bigint;
1696
+ customerId: string;
1697
+ projectId: string;
1698
+ lotDetail: string | null;
1699
+ propertyAddress: string;
1700
+ stage: string;
1701
+ mtaId: string;
1702
+ mtaBalanceCents: number | bigint;
1703
+ cmaBalanceCents: number | bigint;
1704
+ customer?: {
1705
+ id: string;
1706
+ status: string;
1707
+ isArchived: boolean;
1708
+ createdAt: Date;
1709
+ updatedAt: Date;
1710
+ fullName: string | null;
1711
+ mobile: string | null;
1712
+ email: string;
1713
+ syncedAt: Date;
1714
+ } | null | undefined;
1715
+ buyerName?: string | null | undefined;
1716
+ project?: {
1717
+ id: string;
1718
+ status: string;
1719
+ isArchived: boolean;
1720
+ createdAt: Date;
1721
+ updatedAt: Date;
1722
+ type: string;
1723
+ syncedAt: Date;
1724
+ mtaId: string | null;
1725
+ name: string;
1726
+ developerId: string;
1727
+ state: string;
1728
+ developer?: {
1729
+ id: string;
1730
+ status: string;
1731
+ isArchived: boolean;
1732
+ createdAt: Date;
1733
+ updatedAt: Date;
1734
+ syncedAt: Date;
1735
+ companyName: string | null;
1736
+ } | null | undefined;
1737
+ } | null | undefined;
1738
+ } | null | undefined;
1739
+ } & any, "cma"> | null | undefined;
1740
+ subsequentTransactions?: Omit<{
1741
+ id: string;
1742
+ status: "clearing" | "cleared" | "reconciled";
1743
+ isArchived: boolean;
1744
+ createdAt: Date;
1745
+ updatedAt: Date;
1746
+ syncedAt: Date | null;
1747
+ debitAmountCents: number;
1748
+ creditAmountCents: number;
1749
+ balanceCents: number;
1750
+ description: string | null;
1751
+ clearedAt: Date | null;
1752
+ cmaId: string;
1753
+ propertyId: string | null;
1754
+ createType: string;
1755
+ transactionType: string;
1756
+ isCanceled: boolean;
1757
+ isRefunded: boolean;
1758
+ payoutId: string | null;
1759
+ sequence: number;
1760
+ inputType: import("../..").CmaTransactionInputType;
1761
+ bankRef: string | null;
1762
+ sourceTransactionId: string | null;
1763
+ cancelType: string | null;
1764
+ canceledAt: Date | null;
1765
+ canceledReason: string | null;
1766
+ createdBy?: string | {
1767
+ id: string;
1768
+ email: string;
1769
+ fullName?: string | null | undefined;
1770
+ firstName?: string | null | undefined;
1771
+ lastName?: string | null | undefined;
1772
+ } | null | undefined;
1773
+ canceledBy?: string | {
1774
+ id: string;
1775
+ email: string;
1776
+ fullName?: string | null | undefined;
1777
+ firstName?: string | null | undefined;
1778
+ lastName?: string | null | undefined;
1779
+ } | null | undefined;
1780
+ property?: {
1781
+ id: string;
1782
+ status: string;
1783
+ isArchived: boolean;
1784
+ createdAt: Date;
1785
+ updatedAt: Date;
1786
+ syncedAt: Date;
1787
+ balanceCents: number | bigint;
1788
+ customerId: string;
1789
+ projectId: string;
1790
+ lotDetail: string | null;
1791
+ propertyAddress: string;
1792
+ stage: string;
1793
+ mtaId: string;
1794
+ mtaBalanceCents: number | bigint;
1795
+ cmaBalanceCents: number | bigint;
1796
+ customer?: {
1797
+ id: string;
1798
+ status: string;
1799
+ isArchived: boolean;
1800
+ createdAt: Date;
1801
+ updatedAt: Date;
1802
+ fullName: string | null;
1803
+ mobile: string | null;
1804
+ email: string;
1805
+ syncedAt: Date;
1806
+ } | null | undefined;
1807
+ buyerName?: string | null | undefined;
1808
+ project?: {
1809
+ id: string;
1810
+ status: string;
1811
+ isArchived: boolean;
1812
+ createdAt: Date;
1813
+ updatedAt: Date;
1814
+ type: string;
1815
+ syncedAt: Date;
1816
+ mtaId: string | null;
1817
+ name: string;
1818
+ developerId: string;
1819
+ state: string;
1820
+ developer?: {
1821
+ id: string;
1822
+ status: string;
1823
+ isArchived: boolean;
1824
+ createdAt: Date;
1825
+ updatedAt: Date;
1826
+ syncedAt: Date;
1827
+ companyName: string | null;
1828
+ } | null | undefined;
1829
+ } | null | undefined;
1830
+ } | null | undefined;
1831
+ } & any, "cma">[] | null | undefined;
1832
+ reconciledTransactions?: z.output<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
1833
+ isReceipt?: boolean | null | undefined;
1834
+ isPayment?: boolean | null | undefined;
1835
+ isReconciled?: boolean | null | undefined;
1836
+ amountStr?: string | null | undefined;
1837
+ transactionNumber?: string | null | undefined;
1838
+ isCancelable?: boolean | null | undefined;
1839
+ payout?: z.output<typeof import("..").payoutEntitySchema> | null | undefined;
1840
+ })[] | null | undefined;
1841
+ }, {
1842
+ reconciledAmountCents: number | bigint;
1843
+ unreconciledAmountCents: number | bigint;
1844
+ reconciledTransactions?: ({
1845
+ id: string;
1846
+ status: string;
1847
+ isArchived: boolean;
1848
+ createdAt: Date;
1849
+ updatedAt: Date;
1850
+ syncedAt: Date | null;
1851
+ debitAmountCents: string | number | bigint;
1852
+ creditAmountCents: string | number | bigint;
1853
+ balanceCents: string | number | bigint;
1854
+ description: string | null;
1855
+ clearedAt: Date | null;
1856
+ cmaId: string;
1857
+ propertyId: string | null;
1858
+ createType: string;
1859
+ transactionType: string;
1860
+ isCanceled: boolean;
1861
+ isRefunded: boolean;
1862
+ payoutId: string | null;
1863
+ sequence: number;
1864
+ inputType: string;
1865
+ bankRef: string | null;
1866
+ sourceTransactionId: string | null;
1867
+ cancelType: string | null;
1868
+ canceledAt: Date | null;
1869
+ canceledReason: string | null;
1870
+ createdBy?: string | {
1871
+ id: string;
1872
+ email: string;
1873
+ fullName?: string | null | undefined;
1874
+ firstName?: string | null | undefined;
1875
+ lastName?: string | null | undefined;
1876
+ } | null | undefined;
1877
+ canceledBy?: string | {
1878
+ id: string;
1879
+ email: string;
1880
+ fullName?: string | null | undefined;
1881
+ firstName?: string | null | undefined;
1882
+ lastName?: string | null | undefined;
1883
+ } | null | undefined;
1884
+ property?: {
1885
+ id: string;
1886
+ status: string;
1887
+ isArchived: boolean;
1888
+ createdAt: Date;
1889
+ updatedAt: Date;
1890
+ syncedAt: Date;
1891
+ balanceCents: number | bigint;
1892
+ customerId: string;
1893
+ projectId: string;
1894
+ lotDetail: string | null;
1895
+ propertyAddress: string;
1896
+ stage: string;
1897
+ mtaId: string;
1898
+ mtaBalanceCents: number | bigint;
1899
+ cmaBalanceCents: number | bigint;
1900
+ customer?: {
1901
+ id: string;
1902
+ status: string;
1903
+ isArchived: boolean;
1904
+ createdAt: Date;
1905
+ updatedAt: Date;
1906
+ fullName: string | null;
1907
+ mobile: string | null;
1908
+ email: string;
1909
+ syncedAt: Date;
1910
+ } | null | undefined;
1911
+ buyerName?: string | null | undefined;
1912
+ project?: {
1913
+ id: string;
1914
+ status: string;
1915
+ isArchived: boolean;
1916
+ createdAt: Date;
1917
+ updatedAt: Date;
1918
+ type: string;
1919
+ syncedAt: Date;
1920
+ mtaId: string | null;
1921
+ name: string;
1922
+ developerId: string;
1923
+ state: string;
1924
+ developer?: {
1925
+ id: string;
1926
+ status: string;
1927
+ isArchived: boolean;
1928
+ createdAt: Date;
1929
+ updatedAt: Date;
1930
+ syncedAt: Date;
1931
+ companyName: string | null;
1932
+ } | null | undefined;
1933
+ } | null | undefined;
1934
+ } | null | undefined;
1935
+ } & {
1936
+ cma?: z.input<typeof import("..").cmaEntitySchema> | null | undefined;
1937
+ sourceTransaction?: ({
1938
+ id: string;
1939
+ status: string;
1940
+ isArchived: boolean;
1941
+ createdAt: Date;
1942
+ updatedAt: Date;
1943
+ syncedAt: Date | null;
1944
+ debitAmountCents: string | number | bigint;
1945
+ creditAmountCents: string | number | bigint;
1946
+ balanceCents: string | number | bigint;
1947
+ description: string | null;
1948
+ clearedAt: Date | null;
1949
+ cmaId: string;
1950
+ propertyId: string | null;
1951
+ createType: string;
1952
+ transactionType: string;
1953
+ isCanceled: boolean;
1954
+ isRefunded: boolean;
1955
+ payoutId: string | null;
1956
+ sequence: number;
1957
+ inputType: string;
1958
+ bankRef: string | null;
1959
+ sourceTransactionId: string | null;
1960
+ cancelType: string | null;
1961
+ canceledAt: Date | null;
1962
+ canceledReason: string | null;
1963
+ createdBy?: string | {
1964
+ id: string;
1965
+ email: string;
1966
+ fullName?: string | null | undefined;
1967
+ firstName?: string | null | undefined;
1968
+ lastName?: string | null | undefined;
1969
+ } | null | undefined;
1970
+ canceledBy?: string | {
1971
+ id: string;
1972
+ email: string;
1973
+ fullName?: string | null | undefined;
1974
+ firstName?: string | null | undefined;
1975
+ lastName?: string | null | undefined;
1976
+ } | null | undefined;
1977
+ property?: {
1978
+ id: string;
1979
+ status: string;
1980
+ isArchived: boolean;
1981
+ createdAt: Date;
1982
+ updatedAt: Date;
1983
+ syncedAt: Date;
1984
+ balanceCents: number | bigint;
1985
+ customerId: string;
1986
+ projectId: string;
1987
+ lotDetail: string | null;
1988
+ propertyAddress: string;
1989
+ stage: string;
1990
+ mtaId: string;
1991
+ mtaBalanceCents: number | bigint;
1992
+ cmaBalanceCents: number | bigint;
1993
+ customer?: {
1994
+ id: string;
1995
+ status: string;
1996
+ isArchived: boolean;
1997
+ createdAt: Date;
1998
+ updatedAt: Date;
1999
+ fullName: string | null;
2000
+ mobile: string | null;
2001
+ email: string;
2002
+ syncedAt: Date;
2003
+ } | null | undefined;
2004
+ buyerName?: string | null | undefined;
2005
+ project?: {
2006
+ id: string;
2007
+ status: string;
2008
+ isArchived: boolean;
2009
+ createdAt: Date;
2010
+ updatedAt: Date;
2011
+ type: string;
2012
+ syncedAt: Date;
2013
+ mtaId: string | null;
2014
+ name: string;
2015
+ developerId: string;
2016
+ state: string;
2017
+ developer?: {
2018
+ id: string;
2019
+ status: string;
2020
+ isArchived: boolean;
2021
+ createdAt: Date;
2022
+ updatedAt: Date;
2023
+ syncedAt: Date;
2024
+ companyName: string | null;
2025
+ } | null | undefined;
2026
+ } | null | undefined;
2027
+ } | null | undefined;
2028
+ } & any) | null | undefined;
2029
+ subsequentTransactions?: ({
2030
+ id: string;
2031
+ status: string;
2032
+ isArchived: boolean;
2033
+ createdAt: Date;
2034
+ updatedAt: Date;
2035
+ syncedAt: Date | null;
2036
+ debitAmountCents: string | number | bigint;
2037
+ creditAmountCents: string | number | bigint;
2038
+ balanceCents: string | number | bigint;
2039
+ description: string | null;
2040
+ clearedAt: Date | null;
2041
+ cmaId: string;
2042
+ propertyId: string | null;
2043
+ createType: string;
2044
+ transactionType: string;
2045
+ isCanceled: boolean;
2046
+ isRefunded: boolean;
2047
+ payoutId: string | null;
2048
+ sequence: number;
2049
+ inputType: string;
2050
+ bankRef: string | null;
2051
+ sourceTransactionId: string | null;
2052
+ cancelType: string | null;
2053
+ canceledAt: Date | null;
2054
+ canceledReason: string | null;
2055
+ createdBy?: string | {
2056
+ id: string;
2057
+ email: string;
2058
+ fullName?: string | null | undefined;
2059
+ firstName?: string | null | undefined;
2060
+ lastName?: string | null | undefined;
2061
+ } | null | undefined;
2062
+ canceledBy?: string | {
2063
+ id: string;
2064
+ email: string;
2065
+ fullName?: string | null | undefined;
2066
+ firstName?: string | null | undefined;
2067
+ lastName?: string | null | undefined;
2068
+ } | null | undefined;
2069
+ property?: {
2070
+ id: string;
2071
+ status: string;
2072
+ isArchived: boolean;
2073
+ createdAt: Date;
2074
+ updatedAt: Date;
2075
+ syncedAt: Date;
2076
+ balanceCents: number | bigint;
2077
+ customerId: string;
2078
+ projectId: string;
2079
+ lotDetail: string | null;
2080
+ propertyAddress: string;
2081
+ stage: string;
2082
+ mtaId: string;
2083
+ mtaBalanceCents: number | bigint;
2084
+ cmaBalanceCents: number | bigint;
2085
+ customer?: {
2086
+ id: string;
2087
+ status: string;
2088
+ isArchived: boolean;
2089
+ createdAt: Date;
2090
+ updatedAt: Date;
2091
+ fullName: string | null;
2092
+ mobile: string | null;
2093
+ email: string;
2094
+ syncedAt: Date;
2095
+ } | null | undefined;
2096
+ buyerName?: string | null | undefined;
2097
+ project?: {
2098
+ id: string;
2099
+ status: string;
2100
+ isArchived: boolean;
2101
+ createdAt: Date;
2102
+ updatedAt: Date;
2103
+ type: string;
2104
+ syncedAt: Date;
2105
+ mtaId: string | null;
2106
+ name: string;
2107
+ developerId: string;
2108
+ state: string;
2109
+ developer?: {
2110
+ id: string;
2111
+ status: string;
2112
+ isArchived: boolean;
2113
+ createdAt: Date;
2114
+ updatedAt: Date;
2115
+ syncedAt: Date;
2116
+ companyName: string | null;
2117
+ } | null | undefined;
2118
+ } | null | undefined;
2119
+ } | null | undefined;
2120
+ } & any)[] | null | undefined;
2121
+ reconciledTransactions?: z.input<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
2122
+ payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
2123
+ })[] | null | undefined;
2124
+ unreconciledTransactions?: ({
2125
+ id: string;
2126
+ status: string;
2127
+ isArchived: boolean;
2128
+ createdAt: Date;
2129
+ updatedAt: Date;
2130
+ syncedAt: Date | null;
2131
+ debitAmountCents: string | number | bigint;
2132
+ creditAmountCents: string | number | bigint;
2133
+ balanceCents: string | number | bigint;
2134
+ description: string | null;
2135
+ clearedAt: Date | null;
2136
+ cmaId: string;
2137
+ propertyId: string | null;
2138
+ createType: string;
2139
+ transactionType: string;
2140
+ isCanceled: boolean;
2141
+ isRefunded: boolean;
2142
+ payoutId: string | null;
2143
+ sequence: number;
2144
+ inputType: string;
2145
+ bankRef: string | null;
2146
+ sourceTransactionId: string | null;
2147
+ cancelType: string | null;
2148
+ canceledAt: Date | null;
2149
+ canceledReason: string | null;
2150
+ createdBy?: string | {
2151
+ id: string;
2152
+ email: string;
2153
+ fullName?: string | null | undefined;
2154
+ firstName?: string | null | undefined;
2155
+ lastName?: string | null | undefined;
2156
+ } | null | undefined;
2157
+ canceledBy?: string | {
2158
+ id: string;
2159
+ email: string;
2160
+ fullName?: string | null | undefined;
2161
+ firstName?: string | null | undefined;
2162
+ lastName?: string | null | undefined;
2163
+ } | null | undefined;
2164
+ property?: {
2165
+ id: string;
2166
+ status: string;
2167
+ isArchived: boolean;
2168
+ createdAt: Date;
2169
+ updatedAt: Date;
2170
+ syncedAt: Date;
2171
+ balanceCents: number | bigint;
2172
+ customerId: string;
2173
+ projectId: string;
2174
+ lotDetail: string | null;
2175
+ propertyAddress: string;
2176
+ stage: string;
2177
+ mtaId: string;
2178
+ mtaBalanceCents: number | bigint;
2179
+ cmaBalanceCents: number | bigint;
2180
+ customer?: {
2181
+ id: string;
2182
+ status: string;
2183
+ isArchived: boolean;
2184
+ createdAt: Date;
2185
+ updatedAt: Date;
2186
+ fullName: string | null;
2187
+ mobile: string | null;
2188
+ email: string;
2189
+ syncedAt: Date;
2190
+ } | null | undefined;
2191
+ buyerName?: string | null | undefined;
2192
+ project?: {
2193
+ id: string;
2194
+ status: string;
2195
+ isArchived: boolean;
2196
+ createdAt: Date;
2197
+ updatedAt: Date;
2198
+ type: string;
2199
+ syncedAt: Date;
2200
+ mtaId: string | null;
2201
+ name: string;
2202
+ developerId: string;
2203
+ state: string;
2204
+ developer?: {
2205
+ id: string;
2206
+ status: string;
2207
+ isArchived: boolean;
2208
+ createdAt: Date;
2209
+ updatedAt: Date;
2210
+ syncedAt: Date;
2211
+ companyName: string | null;
2212
+ } | null | undefined;
2213
+ } | null | undefined;
2214
+ } | null | undefined;
2215
+ } & {
2216
+ cma?: z.input<typeof import("..").cmaEntitySchema> | null | undefined;
2217
+ sourceTransaction?: ({
2218
+ id: string;
2219
+ status: string;
2220
+ isArchived: boolean;
2221
+ createdAt: Date;
2222
+ updatedAt: Date;
2223
+ syncedAt: Date | null;
2224
+ debitAmountCents: string | number | bigint;
2225
+ creditAmountCents: string | number | bigint;
2226
+ balanceCents: string | number | bigint;
2227
+ description: string | null;
2228
+ clearedAt: Date | null;
2229
+ cmaId: string;
2230
+ propertyId: string | null;
2231
+ createType: string;
2232
+ transactionType: string;
2233
+ isCanceled: boolean;
2234
+ isRefunded: boolean;
2235
+ payoutId: string | null;
2236
+ sequence: number;
2237
+ inputType: string;
2238
+ bankRef: string | null;
2239
+ sourceTransactionId: string | null;
2240
+ cancelType: string | null;
2241
+ canceledAt: Date | null;
2242
+ canceledReason: string | null;
2243
+ createdBy?: string | {
2244
+ id: string;
2245
+ email: string;
2246
+ fullName?: string | null | undefined;
2247
+ firstName?: string | null | undefined;
2248
+ lastName?: string | null | undefined;
2249
+ } | null | undefined;
2250
+ canceledBy?: string | {
2251
+ id: string;
2252
+ email: string;
2253
+ fullName?: string | null | undefined;
2254
+ firstName?: string | null | undefined;
2255
+ lastName?: string | null | undefined;
2256
+ } | null | undefined;
2257
+ property?: {
2258
+ id: string;
2259
+ status: string;
2260
+ isArchived: boolean;
2261
+ createdAt: Date;
2262
+ updatedAt: Date;
2263
+ syncedAt: Date;
2264
+ balanceCents: number | bigint;
2265
+ customerId: string;
2266
+ projectId: string;
2267
+ lotDetail: string | null;
2268
+ propertyAddress: string;
2269
+ stage: string;
2270
+ mtaId: string;
2271
+ mtaBalanceCents: number | bigint;
2272
+ cmaBalanceCents: number | bigint;
2273
+ customer?: {
2274
+ id: string;
2275
+ status: string;
2276
+ isArchived: boolean;
2277
+ createdAt: Date;
2278
+ updatedAt: Date;
2279
+ fullName: string | null;
2280
+ mobile: string | null;
2281
+ email: string;
2282
+ syncedAt: Date;
2283
+ } | null | undefined;
2284
+ buyerName?: string | null | undefined;
2285
+ project?: {
2286
+ id: string;
2287
+ status: string;
2288
+ isArchived: boolean;
2289
+ createdAt: Date;
2290
+ updatedAt: Date;
2291
+ type: string;
2292
+ syncedAt: Date;
2293
+ mtaId: string | null;
2294
+ name: string;
2295
+ developerId: string;
2296
+ state: string;
2297
+ developer?: {
2298
+ id: string;
2299
+ status: string;
2300
+ isArchived: boolean;
2301
+ createdAt: Date;
2302
+ updatedAt: Date;
2303
+ syncedAt: Date;
2304
+ companyName: string | null;
2305
+ } | null | undefined;
2306
+ } | null | undefined;
2307
+ } | null | undefined;
2308
+ } & any) | null | undefined;
2309
+ subsequentTransactions?: ({
2310
+ id: string;
2311
+ status: string;
2312
+ isArchived: boolean;
2313
+ createdAt: Date;
2314
+ updatedAt: Date;
2315
+ syncedAt: Date | null;
2316
+ debitAmountCents: string | number | bigint;
2317
+ creditAmountCents: string | number | bigint;
2318
+ balanceCents: string | number | bigint;
2319
+ description: string | null;
2320
+ clearedAt: Date | null;
2321
+ cmaId: string;
2322
+ propertyId: string | null;
2323
+ createType: string;
2324
+ transactionType: string;
2325
+ isCanceled: boolean;
2326
+ isRefunded: boolean;
2327
+ payoutId: string | null;
2328
+ sequence: number;
2329
+ inputType: string;
2330
+ bankRef: string | null;
2331
+ sourceTransactionId: string | null;
2332
+ cancelType: string | null;
2333
+ canceledAt: Date | null;
2334
+ canceledReason: string | null;
2335
+ createdBy?: string | {
2336
+ id: string;
2337
+ email: string;
2338
+ fullName?: string | null | undefined;
2339
+ firstName?: string | null | undefined;
2340
+ lastName?: string | null | undefined;
2341
+ } | null | undefined;
2342
+ canceledBy?: string | {
2343
+ id: string;
2344
+ email: string;
2345
+ fullName?: string | null | undefined;
2346
+ firstName?: string | null | undefined;
2347
+ lastName?: string | null | undefined;
2348
+ } | null | undefined;
2349
+ property?: {
2350
+ id: string;
2351
+ status: string;
2352
+ isArchived: boolean;
2353
+ createdAt: Date;
2354
+ updatedAt: Date;
2355
+ syncedAt: Date;
2356
+ balanceCents: number | bigint;
2357
+ customerId: string;
2358
+ projectId: string;
2359
+ lotDetail: string | null;
2360
+ propertyAddress: string;
2361
+ stage: string;
2362
+ mtaId: string;
2363
+ mtaBalanceCents: number | bigint;
2364
+ cmaBalanceCents: number | bigint;
2365
+ customer?: {
2366
+ id: string;
2367
+ status: string;
2368
+ isArchived: boolean;
2369
+ createdAt: Date;
2370
+ updatedAt: Date;
2371
+ fullName: string | null;
2372
+ mobile: string | null;
2373
+ email: string;
2374
+ syncedAt: Date;
2375
+ } | null | undefined;
2376
+ buyerName?: string | null | undefined;
2377
+ project?: {
2378
+ id: string;
2379
+ status: string;
2380
+ isArchived: boolean;
2381
+ createdAt: Date;
2382
+ updatedAt: Date;
2383
+ type: string;
2384
+ syncedAt: Date;
2385
+ mtaId: string | null;
2386
+ name: string;
2387
+ developerId: string;
2388
+ state: string;
2389
+ developer?: {
2390
+ id: string;
2391
+ status: string;
2392
+ isArchived: boolean;
2393
+ createdAt: Date;
2394
+ updatedAt: Date;
2395
+ syncedAt: Date;
2396
+ companyName: string | null;
2397
+ } | null | undefined;
2398
+ } | null | undefined;
2399
+ } | null | undefined;
2400
+ } & any)[] | null | undefined;
2401
+ reconciledTransactions?: z.input<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
2402
+ payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
2403
+ })[] | null | undefined;
2404
+ }>;
2405
+ }, "strip", z.ZodTypeAny, {
2406
+ endDate: Date;
2407
+ bankStatementBalanceCents: number;
2408
+ startDate: Date;
2409
+ currentTrustBalanceSummary: {
2410
+ totalAmountCents: number;
2411
+ totalCreditAmountCents: number;
2412
+ totalDebitAmountCents: number;
2413
+ totalTransactionsCount: number;
2414
+ };
2415
+ totalReconciledAmountSummary: {
2416
+ totalReconciledAmountCents: number;
2417
+ totalReconciledCreditAmountCents: number;
2418
+ totalReconciledDebitAmountCents: number;
2419
+ totalReconciledTransactionsCount: number;
2420
+ };
2421
+ totalUnreconciledAmountSummary: {
2422
+ totalUnreconciledAmountCents: number;
2423
+ totalUnreconciledCreditAmountCents: number;
2424
+ totalUnreconciledDebitAmountCents: number;
2425
+ totalUnreconciledTransactionsCount: number;
2426
+ };
2427
+ transactionsSummary: {
2428
+ reconciledAmountCents: number;
2429
+ unreconciledAmountCents: number;
2430
+ reconciledTransactions?: ({
2431
+ id: string;
2432
+ status: "clearing" | "cleared" | "reconciled";
2433
+ isArchived: boolean;
2434
+ createdAt: Date;
2435
+ updatedAt: Date;
2436
+ syncedAt: Date | null;
2437
+ debitAmountCents: number;
2438
+ creditAmountCents: number;
2439
+ balanceCents: number;
2440
+ description: string | null;
2441
+ clearedAt: Date | null;
2442
+ cmaId: string;
2443
+ propertyId: string | null;
2444
+ createType: string;
2445
+ transactionType: string;
2446
+ isCanceled: boolean;
2447
+ isRefunded: boolean;
2448
+ payoutId: string | null;
2449
+ sequence: number;
2450
+ inputType: import("../..").CmaTransactionInputType;
2451
+ bankRef: string | null;
2452
+ sourceTransactionId: string | null;
2453
+ cancelType: string | null;
2454
+ canceledAt: Date | null;
2455
+ canceledReason: string | null;
2456
+ createdBy?: string | {
2457
+ id: string;
2458
+ email: string;
2459
+ fullName?: string | null | undefined;
2460
+ firstName?: string | null | undefined;
2461
+ lastName?: string | null | undefined;
2462
+ } | null | undefined;
2463
+ canceledBy?: string | {
2464
+ id: string;
2465
+ email: string;
2466
+ fullName?: string | null | undefined;
2467
+ firstName?: string | null | undefined;
2468
+ lastName?: string | null | undefined;
2469
+ } | null | undefined;
2470
+ property?: {
2471
+ id: string;
2472
+ status: string;
2473
+ isArchived: boolean;
2474
+ createdAt: Date;
2475
+ updatedAt: Date;
2476
+ syncedAt: Date;
2477
+ balanceCents: number | bigint;
2478
+ customerId: string;
2479
+ projectId: string;
2480
+ lotDetail: string | null;
2481
+ propertyAddress: string;
2482
+ stage: string;
2483
+ mtaId: string;
2484
+ mtaBalanceCents: number | bigint;
2485
+ cmaBalanceCents: number | bigint;
2486
+ customer?: {
2487
+ id: string;
2488
+ status: string;
2489
+ isArchived: boolean;
2490
+ createdAt: Date;
2491
+ updatedAt: Date;
2492
+ fullName: string | null;
2493
+ mobile: string | null;
2494
+ email: string;
2495
+ syncedAt: Date;
2496
+ } | null | undefined;
2497
+ buyerName?: string | null | undefined;
2498
+ project?: {
2499
+ id: string;
2500
+ status: string;
2501
+ isArchived: boolean;
2502
+ createdAt: Date;
2503
+ updatedAt: Date;
2504
+ type: string;
2505
+ syncedAt: Date;
2506
+ mtaId: string | null;
2507
+ name: string;
2508
+ developerId: string;
2509
+ state: string;
2510
+ developer?: {
2511
+ id: string;
2512
+ status: string;
2513
+ isArchived: boolean;
2514
+ createdAt: Date;
2515
+ updatedAt: Date;
2516
+ syncedAt: Date;
2517
+ companyName: string | null;
2518
+ } | null | undefined;
2519
+ } | null | undefined;
2520
+ } | null | undefined;
2521
+ } & {
2522
+ cma?: z.output<typeof import("..").cmaEntitySchema> | null | undefined;
2523
+ sourceTransaction?: Omit<{
2524
+ id: string;
2525
+ status: "clearing" | "cleared" | "reconciled";
2526
+ isArchived: boolean;
2527
+ createdAt: Date;
2528
+ updatedAt: Date;
2529
+ syncedAt: Date | null;
2530
+ debitAmountCents: number;
2531
+ creditAmountCents: number;
2532
+ balanceCents: number;
2533
+ description: string | null;
2534
+ clearedAt: Date | null;
2535
+ cmaId: string;
2536
+ propertyId: string | null;
2537
+ createType: string;
2538
+ transactionType: string;
2539
+ isCanceled: boolean;
2540
+ isRefunded: boolean;
2541
+ payoutId: string | null;
2542
+ sequence: number;
2543
+ inputType: import("../..").CmaTransactionInputType;
2544
+ bankRef: string | null;
2545
+ sourceTransactionId: string | null;
2546
+ cancelType: string | null;
2547
+ canceledAt: Date | null;
2548
+ canceledReason: string | null;
2549
+ createdBy?: string | {
2550
+ id: string;
2551
+ email: string;
2552
+ fullName?: string | null | undefined;
2553
+ firstName?: string | null | undefined;
2554
+ lastName?: string | null | undefined;
2555
+ } | null | undefined;
2556
+ canceledBy?: string | {
2557
+ id: string;
2558
+ email: string;
2559
+ fullName?: string | null | undefined;
2560
+ firstName?: string | null | undefined;
2561
+ lastName?: string | null | undefined;
2562
+ } | null | undefined;
2563
+ property?: {
2564
+ id: string;
2565
+ status: string;
2566
+ isArchived: boolean;
2567
+ createdAt: Date;
2568
+ updatedAt: Date;
2569
+ syncedAt: Date;
2570
+ balanceCents: number | bigint;
2571
+ customerId: string;
2572
+ projectId: string;
2573
+ lotDetail: string | null;
2574
+ propertyAddress: string;
2575
+ stage: string;
2576
+ mtaId: string;
2577
+ mtaBalanceCents: number | bigint;
2578
+ cmaBalanceCents: number | bigint;
2579
+ customer?: {
2580
+ id: string;
2581
+ status: string;
2582
+ isArchived: boolean;
2583
+ createdAt: Date;
2584
+ updatedAt: Date;
2585
+ fullName: string | null;
2586
+ mobile: string | null;
2587
+ email: string;
2588
+ syncedAt: Date;
2589
+ } | null | undefined;
2590
+ buyerName?: string | null | undefined;
2591
+ project?: {
2592
+ id: string;
2593
+ status: string;
2594
+ isArchived: boolean;
2595
+ createdAt: Date;
2596
+ updatedAt: Date;
2597
+ type: string;
2598
+ syncedAt: Date;
2599
+ mtaId: string | null;
2600
+ name: string;
2601
+ developerId: string;
2602
+ state: string;
2603
+ developer?: {
2604
+ id: string;
2605
+ status: string;
2606
+ isArchived: boolean;
2607
+ createdAt: Date;
2608
+ updatedAt: Date;
2609
+ syncedAt: Date;
2610
+ companyName: string | null;
2611
+ } | null | undefined;
2612
+ } | null | undefined;
2613
+ } | null | undefined;
2614
+ } & any, "cma"> | null | undefined;
2615
+ subsequentTransactions?: Omit<{
2616
+ id: string;
2617
+ status: "clearing" | "cleared" | "reconciled";
2618
+ isArchived: boolean;
2619
+ createdAt: Date;
2620
+ updatedAt: Date;
2621
+ syncedAt: Date | null;
2622
+ debitAmountCents: number;
2623
+ creditAmountCents: number;
2624
+ balanceCents: number;
2625
+ description: string | null;
2626
+ clearedAt: Date | null;
2627
+ cmaId: string;
2628
+ propertyId: string | null;
2629
+ createType: string;
2630
+ transactionType: string;
2631
+ isCanceled: boolean;
2632
+ isRefunded: boolean;
2633
+ payoutId: string | null;
2634
+ sequence: number;
2635
+ inputType: import("../..").CmaTransactionInputType;
2636
+ bankRef: string | null;
2637
+ sourceTransactionId: string | null;
2638
+ cancelType: string | null;
2639
+ canceledAt: Date | null;
2640
+ canceledReason: string | null;
2641
+ createdBy?: string | {
2642
+ id: string;
2643
+ email: string;
2644
+ fullName?: string | null | undefined;
2645
+ firstName?: string | null | undefined;
2646
+ lastName?: string | null | undefined;
2647
+ } | null | undefined;
2648
+ canceledBy?: string | {
2649
+ id: string;
2650
+ email: string;
2651
+ fullName?: string | null | undefined;
2652
+ firstName?: string | null | undefined;
2653
+ lastName?: string | null | undefined;
2654
+ } | null | undefined;
2655
+ property?: {
2656
+ id: string;
2657
+ status: string;
2658
+ isArchived: boolean;
2659
+ createdAt: Date;
2660
+ updatedAt: Date;
2661
+ syncedAt: Date;
2662
+ balanceCents: number | bigint;
2663
+ customerId: string;
2664
+ projectId: string;
2665
+ lotDetail: string | null;
2666
+ propertyAddress: string;
2667
+ stage: string;
2668
+ mtaId: string;
2669
+ mtaBalanceCents: number | bigint;
2670
+ cmaBalanceCents: number | bigint;
2671
+ customer?: {
2672
+ id: string;
2673
+ status: string;
2674
+ isArchived: boolean;
2675
+ createdAt: Date;
2676
+ updatedAt: Date;
2677
+ fullName: string | null;
2678
+ mobile: string | null;
2679
+ email: string;
2680
+ syncedAt: Date;
2681
+ } | null | undefined;
2682
+ buyerName?: string | null | undefined;
2683
+ project?: {
2684
+ id: string;
2685
+ status: string;
2686
+ isArchived: boolean;
2687
+ createdAt: Date;
2688
+ updatedAt: Date;
2689
+ type: string;
2690
+ syncedAt: Date;
2691
+ mtaId: string | null;
2692
+ name: string;
2693
+ developerId: string;
2694
+ state: string;
2695
+ developer?: {
2696
+ id: string;
2697
+ status: string;
2698
+ isArchived: boolean;
2699
+ createdAt: Date;
2700
+ updatedAt: Date;
2701
+ syncedAt: Date;
2702
+ companyName: string | null;
2703
+ } | null | undefined;
2704
+ } | null | undefined;
2705
+ } | null | undefined;
2706
+ } & any, "cma">[] | null | undefined;
2707
+ reconciledTransactions?: z.output<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
2708
+ isReceipt?: boolean | null | undefined;
2709
+ isPayment?: boolean | null | undefined;
2710
+ isReconciled?: boolean | null | undefined;
2711
+ amountStr?: string | null | undefined;
2712
+ transactionNumber?: string | null | undefined;
2713
+ isCancelable?: boolean | null | undefined;
2714
+ payout?: z.output<typeof import("..").payoutEntitySchema> | null | undefined;
2715
+ })[] | null | undefined;
2716
+ unreconciledTransactions?: ({
2717
+ id: string;
2718
+ status: "clearing" | "cleared" | "reconciled";
2719
+ isArchived: boolean;
2720
+ createdAt: Date;
2721
+ updatedAt: Date;
2722
+ syncedAt: Date | null;
2723
+ debitAmountCents: number;
2724
+ creditAmountCents: number;
2725
+ balanceCents: number;
2726
+ description: string | null;
2727
+ clearedAt: Date | null;
2728
+ cmaId: string;
2729
+ propertyId: string | null;
2730
+ createType: string;
2731
+ transactionType: string;
2732
+ isCanceled: boolean;
2733
+ isRefunded: boolean;
2734
+ payoutId: string | null;
2735
+ sequence: number;
2736
+ inputType: import("../..").CmaTransactionInputType;
2737
+ bankRef: string | null;
2738
+ sourceTransactionId: string | null;
2739
+ cancelType: string | null;
2740
+ canceledAt: Date | null;
2741
+ canceledReason: string | null;
2742
+ createdBy?: string | {
2743
+ id: string;
2744
+ email: string;
2745
+ fullName?: string | null | undefined;
2746
+ firstName?: string | null | undefined;
2747
+ lastName?: string | null | undefined;
2748
+ } | null | undefined;
2749
+ canceledBy?: string | {
2750
+ id: string;
2751
+ email: string;
2752
+ fullName?: string | null | undefined;
2753
+ firstName?: string | null | undefined;
2754
+ lastName?: string | null | undefined;
2755
+ } | null | undefined;
2756
+ property?: {
2757
+ id: string;
2758
+ status: string;
2759
+ isArchived: boolean;
2760
+ createdAt: Date;
2761
+ updatedAt: Date;
2762
+ syncedAt: Date;
2763
+ balanceCents: number | bigint;
2764
+ customerId: string;
2765
+ projectId: string;
2766
+ lotDetail: string | null;
2767
+ propertyAddress: string;
2768
+ stage: string;
2769
+ mtaId: string;
2770
+ mtaBalanceCents: number | bigint;
2771
+ cmaBalanceCents: number | bigint;
2772
+ customer?: {
2773
+ id: string;
2774
+ status: string;
2775
+ isArchived: boolean;
2776
+ createdAt: Date;
2777
+ updatedAt: Date;
2778
+ fullName: string | null;
2779
+ mobile: string | null;
2780
+ email: string;
2781
+ syncedAt: Date;
2782
+ } | null | undefined;
2783
+ buyerName?: string | null | undefined;
2784
+ project?: {
2785
+ id: string;
2786
+ status: string;
2787
+ isArchived: boolean;
2788
+ createdAt: Date;
2789
+ updatedAt: Date;
2790
+ type: string;
2791
+ syncedAt: Date;
2792
+ mtaId: string | null;
2793
+ name: string;
2794
+ developerId: string;
2795
+ state: string;
2796
+ developer?: {
2797
+ id: string;
2798
+ status: string;
2799
+ isArchived: boolean;
2800
+ createdAt: Date;
2801
+ updatedAt: Date;
2802
+ syncedAt: Date;
2803
+ companyName: string | null;
2804
+ } | null | undefined;
2805
+ } | null | undefined;
2806
+ } | null | undefined;
2807
+ } & {
2808
+ cma?: z.output<typeof import("..").cmaEntitySchema> | null | undefined;
2809
+ sourceTransaction?: Omit<{
2810
+ id: string;
2811
+ status: "clearing" | "cleared" | "reconciled";
2812
+ isArchived: boolean;
2813
+ createdAt: Date;
2814
+ updatedAt: Date;
2815
+ syncedAt: Date | null;
2816
+ debitAmountCents: number;
2817
+ creditAmountCents: number;
2818
+ balanceCents: number;
2819
+ description: string | null;
2820
+ clearedAt: Date | null;
2821
+ cmaId: string;
2822
+ propertyId: string | null;
2823
+ createType: string;
2824
+ transactionType: string;
2825
+ isCanceled: boolean;
2826
+ isRefunded: boolean;
2827
+ payoutId: string | null;
2828
+ sequence: number;
2829
+ inputType: import("../..").CmaTransactionInputType;
2830
+ bankRef: string | null;
2831
+ sourceTransactionId: string | null;
2832
+ cancelType: string | null;
2833
+ canceledAt: Date | null;
2834
+ canceledReason: string | null;
2835
+ createdBy?: string | {
2836
+ id: string;
2837
+ email: string;
2838
+ fullName?: string | null | undefined;
2839
+ firstName?: string | null | undefined;
2840
+ lastName?: string | null | undefined;
2841
+ } | null | undefined;
2842
+ canceledBy?: string | {
2843
+ id: string;
2844
+ email: string;
2845
+ fullName?: string | null | undefined;
2846
+ firstName?: string | null | undefined;
2847
+ lastName?: string | null | undefined;
2848
+ } | null | undefined;
2849
+ property?: {
2850
+ id: string;
2851
+ status: string;
2852
+ isArchived: boolean;
2853
+ createdAt: Date;
2854
+ updatedAt: Date;
2855
+ syncedAt: Date;
2856
+ balanceCents: number | bigint;
2857
+ customerId: string;
2858
+ projectId: string;
2859
+ lotDetail: string | null;
2860
+ propertyAddress: string;
2861
+ stage: string;
2862
+ mtaId: string;
2863
+ mtaBalanceCents: number | bigint;
2864
+ cmaBalanceCents: number | bigint;
2865
+ customer?: {
2866
+ id: string;
2867
+ status: string;
2868
+ isArchived: boolean;
2869
+ createdAt: Date;
2870
+ updatedAt: Date;
2871
+ fullName: string | null;
2872
+ mobile: string | null;
2873
+ email: string;
2874
+ syncedAt: Date;
2875
+ } | null | undefined;
2876
+ buyerName?: string | null | undefined;
2877
+ project?: {
2878
+ id: string;
2879
+ status: string;
2880
+ isArchived: boolean;
2881
+ createdAt: Date;
2882
+ updatedAt: Date;
2883
+ type: string;
2884
+ syncedAt: Date;
2885
+ mtaId: string | null;
2886
+ name: string;
2887
+ developerId: string;
2888
+ state: string;
2889
+ developer?: {
2890
+ id: string;
2891
+ status: string;
2892
+ isArchived: boolean;
2893
+ createdAt: Date;
2894
+ updatedAt: Date;
2895
+ syncedAt: Date;
2896
+ companyName: string | null;
2897
+ } | null | undefined;
2898
+ } | null | undefined;
2899
+ } | null | undefined;
2900
+ } & any, "cma"> | null | undefined;
2901
+ subsequentTransactions?: Omit<{
2902
+ id: string;
2903
+ status: "clearing" | "cleared" | "reconciled";
2904
+ isArchived: boolean;
2905
+ createdAt: Date;
2906
+ updatedAt: Date;
2907
+ syncedAt: Date | null;
2908
+ debitAmountCents: number;
2909
+ creditAmountCents: number;
2910
+ balanceCents: number;
2911
+ description: string | null;
2912
+ clearedAt: Date | null;
2913
+ cmaId: string;
2914
+ propertyId: string | null;
2915
+ createType: string;
2916
+ transactionType: string;
2917
+ isCanceled: boolean;
2918
+ isRefunded: boolean;
2919
+ payoutId: string | null;
2920
+ sequence: number;
2921
+ inputType: import("../..").CmaTransactionInputType;
2922
+ bankRef: string | null;
2923
+ sourceTransactionId: string | null;
2924
+ cancelType: string | null;
2925
+ canceledAt: Date | null;
2926
+ canceledReason: string | null;
2927
+ createdBy?: string | {
2928
+ id: string;
2929
+ email: string;
2930
+ fullName?: string | null | undefined;
2931
+ firstName?: string | null | undefined;
2932
+ lastName?: string | null | undefined;
2933
+ } | null | undefined;
2934
+ canceledBy?: string | {
2935
+ id: string;
2936
+ email: string;
2937
+ fullName?: string | null | undefined;
2938
+ firstName?: string | null | undefined;
2939
+ lastName?: string | null | undefined;
2940
+ } | null | undefined;
2941
+ property?: {
2942
+ id: string;
2943
+ status: string;
2944
+ isArchived: boolean;
2945
+ createdAt: Date;
2946
+ updatedAt: Date;
2947
+ syncedAt: Date;
2948
+ balanceCents: number | bigint;
2949
+ customerId: string;
2950
+ projectId: string;
2951
+ lotDetail: string | null;
2952
+ propertyAddress: string;
2953
+ stage: string;
2954
+ mtaId: string;
2955
+ mtaBalanceCents: number | bigint;
2956
+ cmaBalanceCents: number | bigint;
2957
+ customer?: {
2958
+ id: string;
2959
+ status: string;
2960
+ isArchived: boolean;
2961
+ createdAt: Date;
2962
+ updatedAt: Date;
2963
+ fullName: string | null;
2964
+ mobile: string | null;
2965
+ email: string;
2966
+ syncedAt: Date;
2967
+ } | null | undefined;
2968
+ buyerName?: string | null | undefined;
2969
+ project?: {
2970
+ id: string;
2971
+ status: string;
2972
+ isArchived: boolean;
2973
+ createdAt: Date;
2974
+ updatedAt: Date;
2975
+ type: string;
2976
+ syncedAt: Date;
2977
+ mtaId: string | null;
2978
+ name: string;
2979
+ developerId: string;
2980
+ state: string;
2981
+ developer?: {
2982
+ id: string;
2983
+ status: string;
2984
+ isArchived: boolean;
2985
+ createdAt: Date;
2986
+ updatedAt: Date;
2987
+ syncedAt: Date;
2988
+ companyName: string | null;
2989
+ } | null | undefined;
2990
+ } | null | undefined;
2991
+ } | null | undefined;
2992
+ } & any, "cma">[] | null | undefined;
2993
+ reconciledTransactions?: z.output<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
2994
+ isReceipt?: boolean | null | undefined;
2995
+ isPayment?: boolean | null | undefined;
2996
+ isReconciled?: boolean | null | undefined;
2997
+ amountStr?: string | null | undefined;
2998
+ transactionNumber?: string | null | undefined;
2999
+ isCancelable?: boolean | null | undefined;
3000
+ payout?: z.output<typeof import("..").payoutEntitySchema> | null | undefined;
3001
+ })[] | null | undefined;
3002
+ };
3003
+ reconciliations?: {
3004
+ id: string;
3005
+ status: string;
3006
+ isArchived: boolean;
3007
+ createdBy: string;
3008
+ createdAt: Date;
3009
+ cmaId: string;
3010
+ cmaAccountPeriodId: string;
3011
+ reconciledTo: Date;
3012
+ reconciledAmountCents: bigint | null;
3013
+ unreconciledAmountCents: bigint | null;
3014
+ totalReconciledAmountCents: bigint | null;
3015
+ bankStatementBalanceCents: number;
3016
+ closedAt: Date | null;
3017
+ updatedBy: string | null;
3018
+ closedBy: string | null;
3019
+ editable: boolean;
3020
+ closingBalanceCents?: number | null | undefined;
3021
+ closingVarianceCents?: number | null | undefined;
3022
+ currentTrustBalanceCents?: number | null | undefined;
3023
+ currentReconciledBalanceCents?: number | null | undefined;
3024
+ currentVarianceCents?: number | null | undefined;
3025
+ }[] | null | undefined;
3026
+ }, {
3027
+ endDate: Date;
3028
+ bankStatementBalanceCents: number | bigint;
3029
+ startDate: Date;
3030
+ currentTrustBalanceSummary: {
3031
+ totalAmountCents: number | bigint;
3032
+ totalCreditAmountCents: number | bigint;
3033
+ totalDebitAmountCents: number | bigint;
3034
+ totalTransactionsCount: number;
3035
+ };
3036
+ totalReconciledAmountSummary: {
3037
+ totalReconciledAmountCents: number | bigint;
3038
+ totalReconciledCreditAmountCents: number | bigint;
3039
+ totalReconciledDebitAmountCents: number | bigint;
3040
+ totalReconciledTransactionsCount: number;
3041
+ };
3042
+ totalUnreconciledAmountSummary: {
3043
+ totalUnreconciledAmountCents: number | bigint;
3044
+ totalUnreconciledCreditAmountCents: number | bigint;
3045
+ totalUnreconciledDebitAmountCents: number | bigint;
3046
+ totalUnreconciledTransactionsCount: number;
3047
+ };
3048
+ transactionsSummary: {
3049
+ reconciledAmountCents: number | bigint;
3050
+ unreconciledAmountCents: number | bigint;
3051
+ reconciledTransactions?: ({
3052
+ id: string;
3053
+ status: string;
3054
+ isArchived: boolean;
3055
+ createdAt: Date;
3056
+ updatedAt: Date;
3057
+ syncedAt: Date | null;
3058
+ debitAmountCents: string | number | bigint;
3059
+ creditAmountCents: string | number | bigint;
3060
+ balanceCents: string | number | bigint;
3061
+ description: string | null;
3062
+ clearedAt: Date | null;
3063
+ cmaId: string;
3064
+ propertyId: string | null;
3065
+ createType: string;
3066
+ transactionType: string;
3067
+ isCanceled: boolean;
3068
+ isRefunded: boolean;
3069
+ payoutId: string | null;
3070
+ sequence: number;
3071
+ inputType: string;
3072
+ bankRef: string | null;
3073
+ sourceTransactionId: string | null;
3074
+ cancelType: string | null;
3075
+ canceledAt: Date | null;
3076
+ canceledReason: string | null;
3077
+ createdBy?: string | {
3078
+ id: string;
3079
+ email: string;
3080
+ fullName?: string | null | undefined;
3081
+ firstName?: string | null | undefined;
3082
+ lastName?: string | null | undefined;
3083
+ } | null | undefined;
3084
+ canceledBy?: string | {
3085
+ id: string;
3086
+ email: string;
3087
+ fullName?: string | null | undefined;
3088
+ firstName?: string | null | undefined;
3089
+ lastName?: string | null | undefined;
3090
+ } | null | undefined;
3091
+ property?: {
3092
+ id: string;
3093
+ status: string;
3094
+ isArchived: boolean;
3095
+ createdAt: Date;
3096
+ updatedAt: Date;
3097
+ syncedAt: Date;
3098
+ balanceCents: number | bigint;
3099
+ customerId: string;
3100
+ projectId: string;
3101
+ lotDetail: string | null;
3102
+ propertyAddress: string;
3103
+ stage: string;
3104
+ mtaId: string;
3105
+ mtaBalanceCents: number | bigint;
3106
+ cmaBalanceCents: number | bigint;
3107
+ customer?: {
3108
+ id: string;
3109
+ status: string;
3110
+ isArchived: boolean;
3111
+ createdAt: Date;
3112
+ updatedAt: Date;
3113
+ fullName: string | null;
3114
+ mobile: string | null;
3115
+ email: string;
3116
+ syncedAt: Date;
3117
+ } | null | undefined;
3118
+ buyerName?: string | null | undefined;
3119
+ project?: {
3120
+ id: string;
3121
+ status: string;
3122
+ isArchived: boolean;
3123
+ createdAt: Date;
3124
+ updatedAt: Date;
3125
+ type: string;
3126
+ syncedAt: Date;
3127
+ mtaId: string | null;
3128
+ name: string;
3129
+ developerId: string;
3130
+ state: string;
3131
+ developer?: {
3132
+ id: string;
3133
+ status: string;
3134
+ isArchived: boolean;
3135
+ createdAt: Date;
3136
+ updatedAt: Date;
3137
+ syncedAt: Date;
3138
+ companyName: string | null;
3139
+ } | null | undefined;
3140
+ } | null | undefined;
3141
+ } | null | undefined;
3142
+ } & {
3143
+ cma?: z.input<typeof import("..").cmaEntitySchema> | null | undefined;
3144
+ sourceTransaction?: ({
3145
+ id: string;
3146
+ status: string;
3147
+ isArchived: boolean;
3148
+ createdAt: Date;
3149
+ updatedAt: Date;
3150
+ syncedAt: Date | null;
3151
+ debitAmountCents: string | number | bigint;
3152
+ creditAmountCents: string | number | bigint;
3153
+ balanceCents: string | number | bigint;
3154
+ description: string | null;
3155
+ clearedAt: Date | null;
3156
+ cmaId: string;
3157
+ propertyId: string | null;
3158
+ createType: string;
3159
+ transactionType: string;
3160
+ isCanceled: boolean;
3161
+ isRefunded: boolean;
3162
+ payoutId: string | null;
3163
+ sequence: number;
3164
+ inputType: string;
3165
+ bankRef: string | null;
3166
+ sourceTransactionId: string | null;
3167
+ cancelType: string | null;
3168
+ canceledAt: Date | null;
3169
+ canceledReason: string | null;
3170
+ createdBy?: string | {
3171
+ id: string;
3172
+ email: string;
3173
+ fullName?: string | null | undefined;
3174
+ firstName?: string | null | undefined;
3175
+ lastName?: string | null | undefined;
3176
+ } | null | undefined;
3177
+ canceledBy?: string | {
3178
+ id: string;
3179
+ email: string;
3180
+ fullName?: string | null | undefined;
3181
+ firstName?: string | null | undefined;
3182
+ lastName?: string | null | undefined;
3183
+ } | null | undefined;
3184
+ property?: {
3185
+ id: string;
3186
+ status: string;
3187
+ isArchived: boolean;
3188
+ createdAt: Date;
3189
+ updatedAt: Date;
3190
+ syncedAt: Date;
3191
+ balanceCents: number | bigint;
3192
+ customerId: string;
3193
+ projectId: string;
3194
+ lotDetail: string | null;
3195
+ propertyAddress: string;
3196
+ stage: string;
3197
+ mtaId: string;
3198
+ mtaBalanceCents: number | bigint;
3199
+ cmaBalanceCents: number | bigint;
3200
+ customer?: {
3201
+ id: string;
3202
+ status: string;
3203
+ isArchived: boolean;
3204
+ createdAt: Date;
3205
+ updatedAt: Date;
3206
+ fullName: string | null;
3207
+ mobile: string | null;
3208
+ email: string;
3209
+ syncedAt: Date;
3210
+ } | null | undefined;
3211
+ buyerName?: string | null | undefined;
3212
+ project?: {
3213
+ id: string;
3214
+ status: string;
3215
+ isArchived: boolean;
3216
+ createdAt: Date;
3217
+ updatedAt: Date;
3218
+ type: string;
3219
+ syncedAt: Date;
3220
+ mtaId: string | null;
3221
+ name: string;
3222
+ developerId: string;
3223
+ state: string;
3224
+ developer?: {
3225
+ id: string;
3226
+ status: string;
3227
+ isArchived: boolean;
3228
+ createdAt: Date;
3229
+ updatedAt: Date;
3230
+ syncedAt: Date;
3231
+ companyName: string | null;
3232
+ } | null | undefined;
3233
+ } | null | undefined;
3234
+ } | null | undefined;
3235
+ } & any) | null | undefined;
3236
+ subsequentTransactions?: ({
3237
+ id: string;
3238
+ status: string;
3239
+ isArchived: boolean;
3240
+ createdAt: Date;
3241
+ updatedAt: Date;
3242
+ syncedAt: Date | null;
3243
+ debitAmountCents: string | number | bigint;
3244
+ creditAmountCents: string | number | bigint;
3245
+ balanceCents: string | number | bigint;
3246
+ description: string | null;
3247
+ clearedAt: Date | null;
3248
+ cmaId: string;
3249
+ propertyId: string | null;
3250
+ createType: string;
3251
+ transactionType: string;
3252
+ isCanceled: boolean;
3253
+ isRefunded: boolean;
3254
+ payoutId: string | null;
3255
+ sequence: number;
3256
+ inputType: string;
3257
+ bankRef: string | null;
3258
+ sourceTransactionId: string | null;
3259
+ cancelType: string | null;
3260
+ canceledAt: Date | null;
3261
+ canceledReason: string | null;
3262
+ createdBy?: string | {
3263
+ id: string;
3264
+ email: string;
3265
+ fullName?: string | null | undefined;
3266
+ firstName?: string | null | undefined;
3267
+ lastName?: string | null | undefined;
3268
+ } | null | undefined;
3269
+ canceledBy?: string | {
3270
+ id: string;
3271
+ email: string;
3272
+ fullName?: string | null | undefined;
3273
+ firstName?: string | null | undefined;
3274
+ lastName?: string | null | undefined;
3275
+ } | null | undefined;
3276
+ property?: {
3277
+ id: string;
3278
+ status: string;
3279
+ isArchived: boolean;
3280
+ createdAt: Date;
3281
+ updatedAt: Date;
3282
+ syncedAt: Date;
3283
+ balanceCents: number | bigint;
3284
+ customerId: string;
3285
+ projectId: string;
3286
+ lotDetail: string | null;
3287
+ propertyAddress: string;
3288
+ stage: string;
3289
+ mtaId: string;
3290
+ mtaBalanceCents: number | bigint;
3291
+ cmaBalanceCents: number | bigint;
3292
+ customer?: {
3293
+ id: string;
3294
+ status: string;
3295
+ isArchived: boolean;
3296
+ createdAt: Date;
3297
+ updatedAt: Date;
3298
+ fullName: string | null;
3299
+ mobile: string | null;
3300
+ email: string;
3301
+ syncedAt: Date;
3302
+ } | null | undefined;
3303
+ buyerName?: string | null | undefined;
3304
+ project?: {
3305
+ id: string;
3306
+ status: string;
3307
+ isArchived: boolean;
3308
+ createdAt: Date;
3309
+ updatedAt: Date;
3310
+ type: string;
3311
+ syncedAt: Date;
3312
+ mtaId: string | null;
3313
+ name: string;
3314
+ developerId: string;
3315
+ state: string;
3316
+ developer?: {
3317
+ id: string;
3318
+ status: string;
3319
+ isArchived: boolean;
3320
+ createdAt: Date;
3321
+ updatedAt: Date;
3322
+ syncedAt: Date;
3323
+ companyName: string | null;
3324
+ } | null | undefined;
3325
+ } | null | undefined;
3326
+ } | null | undefined;
3327
+ } & any)[] | null | undefined;
3328
+ reconciledTransactions?: z.input<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
3329
+ payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
3330
+ })[] | null | undefined;
3331
+ unreconciledTransactions?: ({
3332
+ id: string;
3333
+ status: string;
3334
+ isArchived: boolean;
3335
+ createdAt: Date;
3336
+ updatedAt: Date;
3337
+ syncedAt: Date | null;
3338
+ debitAmountCents: string | number | bigint;
3339
+ creditAmountCents: string | number | bigint;
3340
+ balanceCents: string | number | bigint;
3341
+ description: string | null;
3342
+ clearedAt: Date | null;
3343
+ cmaId: string;
3344
+ propertyId: string | null;
3345
+ createType: string;
3346
+ transactionType: string;
3347
+ isCanceled: boolean;
3348
+ isRefunded: boolean;
3349
+ payoutId: string | null;
3350
+ sequence: number;
3351
+ inputType: string;
3352
+ bankRef: string | null;
3353
+ sourceTransactionId: string | null;
3354
+ cancelType: string | null;
3355
+ canceledAt: Date | null;
3356
+ canceledReason: string | null;
3357
+ createdBy?: string | {
3358
+ id: string;
3359
+ email: string;
3360
+ fullName?: string | null | undefined;
3361
+ firstName?: string | null | undefined;
3362
+ lastName?: string | null | undefined;
3363
+ } | null | undefined;
3364
+ canceledBy?: string | {
3365
+ id: string;
3366
+ email: string;
3367
+ fullName?: string | null | undefined;
3368
+ firstName?: string | null | undefined;
3369
+ lastName?: string | null | undefined;
3370
+ } | null | undefined;
3371
+ property?: {
3372
+ id: string;
3373
+ status: string;
3374
+ isArchived: boolean;
3375
+ createdAt: Date;
3376
+ updatedAt: Date;
3377
+ syncedAt: Date;
3378
+ balanceCents: number | bigint;
3379
+ customerId: string;
3380
+ projectId: string;
3381
+ lotDetail: string | null;
3382
+ propertyAddress: string;
3383
+ stage: string;
3384
+ mtaId: string;
3385
+ mtaBalanceCents: number | bigint;
3386
+ cmaBalanceCents: number | bigint;
3387
+ customer?: {
3388
+ id: string;
3389
+ status: string;
3390
+ isArchived: boolean;
3391
+ createdAt: Date;
3392
+ updatedAt: Date;
3393
+ fullName: string | null;
3394
+ mobile: string | null;
3395
+ email: string;
3396
+ syncedAt: Date;
3397
+ } | null | undefined;
3398
+ buyerName?: string | null | undefined;
3399
+ project?: {
3400
+ id: string;
3401
+ status: string;
3402
+ isArchived: boolean;
3403
+ createdAt: Date;
3404
+ updatedAt: Date;
3405
+ type: string;
3406
+ syncedAt: Date;
3407
+ mtaId: string | null;
3408
+ name: string;
3409
+ developerId: string;
3410
+ state: string;
3411
+ developer?: {
3412
+ id: string;
3413
+ status: string;
3414
+ isArchived: boolean;
3415
+ createdAt: Date;
3416
+ updatedAt: Date;
3417
+ syncedAt: Date;
3418
+ companyName: string | null;
3419
+ } | null | undefined;
3420
+ } | null | undefined;
3421
+ } | null | undefined;
3422
+ } & {
3423
+ cma?: z.input<typeof import("..").cmaEntitySchema> | null | undefined;
3424
+ sourceTransaction?: ({
3425
+ id: string;
3426
+ status: string;
3427
+ isArchived: boolean;
3428
+ createdAt: Date;
3429
+ updatedAt: Date;
3430
+ syncedAt: Date | null;
3431
+ debitAmountCents: string | number | bigint;
3432
+ creditAmountCents: string | number | bigint;
3433
+ balanceCents: string | number | bigint;
3434
+ description: string | null;
3435
+ clearedAt: Date | null;
3436
+ cmaId: string;
3437
+ propertyId: string | null;
3438
+ createType: string;
3439
+ transactionType: string;
3440
+ isCanceled: boolean;
3441
+ isRefunded: boolean;
3442
+ payoutId: string | null;
3443
+ sequence: number;
3444
+ inputType: string;
3445
+ bankRef: string | null;
3446
+ sourceTransactionId: string | null;
3447
+ cancelType: string | null;
3448
+ canceledAt: Date | null;
3449
+ canceledReason: string | null;
3450
+ createdBy?: string | {
3451
+ id: string;
3452
+ email: string;
3453
+ fullName?: string | null | undefined;
3454
+ firstName?: string | null | undefined;
3455
+ lastName?: string | null | undefined;
3456
+ } | null | undefined;
3457
+ canceledBy?: string | {
3458
+ id: string;
3459
+ email: string;
3460
+ fullName?: string | null | undefined;
3461
+ firstName?: string | null | undefined;
3462
+ lastName?: string | null | undefined;
3463
+ } | null | undefined;
3464
+ property?: {
3465
+ id: string;
3466
+ status: string;
3467
+ isArchived: boolean;
3468
+ createdAt: Date;
3469
+ updatedAt: Date;
3470
+ syncedAt: Date;
3471
+ balanceCents: number | bigint;
3472
+ customerId: string;
3473
+ projectId: string;
3474
+ lotDetail: string | null;
3475
+ propertyAddress: string;
3476
+ stage: string;
3477
+ mtaId: string;
3478
+ mtaBalanceCents: number | bigint;
3479
+ cmaBalanceCents: number | bigint;
3480
+ customer?: {
3481
+ id: string;
3482
+ status: string;
3483
+ isArchived: boolean;
3484
+ createdAt: Date;
3485
+ updatedAt: Date;
3486
+ fullName: string | null;
3487
+ mobile: string | null;
3488
+ email: string;
3489
+ syncedAt: Date;
3490
+ } | null | undefined;
3491
+ buyerName?: string | null | undefined;
3492
+ project?: {
3493
+ id: string;
3494
+ status: string;
3495
+ isArchived: boolean;
3496
+ createdAt: Date;
3497
+ updatedAt: Date;
3498
+ type: string;
3499
+ syncedAt: Date;
3500
+ mtaId: string | null;
3501
+ name: string;
3502
+ developerId: string;
3503
+ state: string;
3504
+ developer?: {
3505
+ id: string;
3506
+ status: string;
3507
+ isArchived: boolean;
3508
+ createdAt: Date;
3509
+ updatedAt: Date;
3510
+ syncedAt: Date;
3511
+ companyName: string | null;
3512
+ } | null | undefined;
3513
+ } | null | undefined;
3514
+ } | null | undefined;
3515
+ } & any) | null | undefined;
3516
+ subsequentTransactions?: ({
3517
+ id: string;
3518
+ status: string;
3519
+ isArchived: boolean;
3520
+ createdAt: Date;
3521
+ updatedAt: Date;
3522
+ syncedAt: Date | null;
3523
+ debitAmountCents: string | number | bigint;
3524
+ creditAmountCents: string | number | bigint;
3525
+ balanceCents: string | number | bigint;
3526
+ description: string | null;
3527
+ clearedAt: Date | null;
3528
+ cmaId: string;
3529
+ propertyId: string | null;
3530
+ createType: string;
3531
+ transactionType: string;
3532
+ isCanceled: boolean;
3533
+ isRefunded: boolean;
3534
+ payoutId: string | null;
3535
+ sequence: number;
3536
+ inputType: string;
3537
+ bankRef: string | null;
3538
+ sourceTransactionId: string | null;
3539
+ cancelType: string | null;
3540
+ canceledAt: Date | null;
3541
+ canceledReason: string | null;
3542
+ createdBy?: string | {
3543
+ id: string;
3544
+ email: string;
3545
+ fullName?: string | null | undefined;
3546
+ firstName?: string | null | undefined;
3547
+ lastName?: string | null | undefined;
3548
+ } | null | undefined;
3549
+ canceledBy?: string | {
3550
+ id: string;
3551
+ email: string;
3552
+ fullName?: string | null | undefined;
3553
+ firstName?: string | null | undefined;
3554
+ lastName?: string | null | undefined;
3555
+ } | null | undefined;
3556
+ property?: {
3557
+ id: string;
3558
+ status: string;
3559
+ isArchived: boolean;
3560
+ createdAt: Date;
3561
+ updatedAt: Date;
3562
+ syncedAt: Date;
3563
+ balanceCents: number | bigint;
3564
+ customerId: string;
3565
+ projectId: string;
3566
+ lotDetail: string | null;
3567
+ propertyAddress: string;
3568
+ stage: string;
3569
+ mtaId: string;
3570
+ mtaBalanceCents: number | bigint;
3571
+ cmaBalanceCents: number | bigint;
3572
+ customer?: {
3573
+ id: string;
3574
+ status: string;
3575
+ isArchived: boolean;
3576
+ createdAt: Date;
3577
+ updatedAt: Date;
3578
+ fullName: string | null;
3579
+ mobile: string | null;
3580
+ email: string;
3581
+ syncedAt: Date;
3582
+ } | null | undefined;
3583
+ buyerName?: string | null | undefined;
3584
+ project?: {
3585
+ id: string;
3586
+ status: string;
3587
+ isArchived: boolean;
3588
+ createdAt: Date;
3589
+ updatedAt: Date;
3590
+ type: string;
3591
+ syncedAt: Date;
3592
+ mtaId: string | null;
3593
+ name: string;
3594
+ developerId: string;
3595
+ state: string;
3596
+ developer?: {
3597
+ id: string;
3598
+ status: string;
3599
+ isArchived: boolean;
3600
+ createdAt: Date;
3601
+ updatedAt: Date;
3602
+ syncedAt: Date;
3603
+ companyName: string | null;
3604
+ } | null | undefined;
3605
+ } | null | undefined;
3606
+ } | null | undefined;
3607
+ } & any)[] | null | undefined;
3608
+ reconciledTransactions?: z.input<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
3609
+ payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
3610
+ })[] | null | undefined;
3611
+ };
3612
+ reconciliations?: {
3613
+ id: string;
3614
+ status: string;
3615
+ isArchived: boolean;
3616
+ createdBy: string;
3617
+ createdAt: Date;
3618
+ cmaId: string;
3619
+ cmaAccountPeriodId: string;
3620
+ reconciledTo: Date;
3621
+ reconciledAmountCents: bigint | null;
3622
+ unreconciledAmountCents: bigint | null;
3623
+ totalReconciledAmountCents: bigint | null;
3624
+ bankStatementBalanceCents: string | number | bigint;
3625
+ closedAt: Date | null;
3626
+ updatedBy: string | null;
3627
+ closedBy: string | null;
3628
+ editable: boolean;
3629
+ closingBalanceCents?: string | number | bigint | null | undefined;
3630
+ closingVarianceCents?: string | number | bigint | null | undefined;
3631
+ currentTrustBalanceCents?: string | number | bigint | null | undefined;
3632
+ currentReconciledBalanceCents?: string | number | bigint | null | undefined;
3633
+ currentVarianceCents?: string | number | bigint | null | undefined;
3634
+ }[] | null | undefined;
3635
+ }>;
3636
+ export type CmaAccountPeriodClosingSummaryRestRes = z.infer<typeof cmaAccountPeriodClosingSummaryRestResSchema>;
3637
+ //# sourceMappingURL=cma-account-period-closing-summary.rest.schema.d.ts.map