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

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