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

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 (431) hide show
  1. package/dist/cjs/constants/cma-transaction/cma-input-type.constant.d.ts +3 -1
  2. package/dist/cjs/constants/cma-transaction/cma-input-type.constant.d.ts.map +1 -1
  3. package/dist/cjs/constants/cma-transaction/cma-transaction-status.constant.d.ts +8 -0
  4. package/dist/cjs/constants/cma-transaction/cma-transaction-status.constant.d.ts.map +1 -0
  5. package/dist/cjs/constants/cma-transaction/cma-transaction-type.constant.d.ts +8 -8
  6. package/dist/cjs/constants/cma-transaction/cma-transaction-type.constant.d.ts.map +1 -1
  7. package/dist/cjs/constants/cma-transaction/index.d.ts +1 -0
  8. package/dist/cjs/constants/cma-transaction/index.d.ts.map +1 -1
  9. package/dist/cjs/constants/index.d.ts +2 -2
  10. package/dist/cjs/constants/index.d.ts.map +1 -1
  11. package/dist/cjs/constants/mta-transaction/index.d.ts +1 -0
  12. package/dist/cjs/constants/mta-transaction/index.d.ts.map +1 -1
  13. package/dist/cjs/constants/mta-transaction/mta-input-type.constant.d.ts +3 -1
  14. package/dist/cjs/constants/mta-transaction/mta-input-type.constant.d.ts.map +1 -1
  15. package/dist/cjs/constants/mta-transaction/mta-transaction-status.constant.d.ts +8 -0
  16. package/dist/cjs/constants/mta-transaction/mta-transaction-status.constant.d.ts.map +1 -0
  17. package/dist/cjs/constants/mta-transaction/mta-type.constant.d.ts +0 -4
  18. package/dist/cjs/constants/mta-transaction/mta-type.constant.d.ts.map +1 -1
  19. package/dist/cjs/constants/payout/index.d.ts +4 -0
  20. package/dist/cjs/constants/payout/index.d.ts.map +1 -0
  21. package/dist/cjs/constants/payout/payout-status.constant.d.ts +9 -0
  22. package/dist/cjs/constants/payout/payout-status.constant.d.ts.map +1 -0
  23. package/dist/cjs/constants/payout/payout-type.constant.d.ts +9 -0
  24. package/dist/cjs/constants/payout/payout-type.constant.d.ts.map +1 -0
  25. package/dist/cjs/constants/payout/payout.constant.d.ts +37 -0
  26. package/dist/cjs/constants/payout/payout.constant.d.ts.map +1 -0
  27. package/dist/cjs/constants/payout-bank-file/index.d.ts +2 -0
  28. package/dist/cjs/constants/payout-bank-file/index.d.ts.map +1 -0
  29. package/dist/cjs/constants/payout-bank-file/payout-bank-file-status.constant.d.ts +8 -0
  30. package/dist/cjs/constants/payout-bank-file/payout-bank-file-status.constant.d.ts.map +1 -0
  31. package/dist/cjs/index.js +1549 -781
  32. package/dist/cjs/schemas/cma/cma.entity.schema.d.ts +1053 -24
  33. package/dist/cjs/schemas/cma/cma.entity.schema.d.ts.map +1 -1
  34. package/dist/cjs/schemas/cma/cma.rest.schema.d.ts +759 -0
  35. package/dist/cjs/schemas/cma/cma.rest.schema.d.ts.map +1 -0
  36. package/dist/cjs/schemas/cma/create-cma.schema.d.ts +4 -4
  37. package/dist/cjs/schemas/cma/index.d.ts +1 -1
  38. package/dist/cjs/schemas/cma/index.d.ts.map +1 -1
  39. package/dist/cjs/schemas/cma-account-period/cma-account-period-close.rest.schema.d.ts +2 -2
  40. package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +1561 -2305
  41. package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts.map +1 -1
  42. package/dist/cjs/schemas/cma-account-period/cma-account-period.entity.schema.d.ts +10 -10
  43. package/dist/cjs/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +623 -570
  44. package/dist/cjs/schemas/cma-account-period/cma-account-period.rest.schema.d.ts.map +1 -1
  45. package/dist/cjs/schemas/cma-account-period/update-cma-period-reconciled-to.schema.d.ts +4 -4
  46. package/dist/cjs/schemas/cma-account-period/update-cma-period-reconciled-to.schema.d.ts.map +1 -1
  47. package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.entity.schema.d.ts +8 -8
  48. package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +2210 -21
  49. package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts.map +1 -1
  50. package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.entity.schema.d.ts +12 -12
  51. package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts +24 -24
  52. package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts.map +1 -1
  53. package/dist/cjs/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts +2 -2
  54. package/dist/cjs/schemas/cma-reconciliation/update-cma-reconciliation-current-bank-balance.rest.schema.d.ts +2 -2
  55. package/dist/cjs/schemas/cma-reconciliation/update-cma-reconciliation-current-bank-balance.rest.schema.d.ts.map +1 -1
  56. package/dist/cjs/schemas/cma-transaction/clear-cma-transaction.rest.schema.d.ts +13 -0
  57. package/dist/cjs/schemas/cma-transaction/clear-cma-transaction.rest.schema.d.ts.map +1 -0
  58. package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts +815 -0
  59. package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -0
  60. package/dist/cjs/schemas/cma-transaction/cma-transaction.entity.schema.d.ts +1495 -12
  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 +456 -826
  63. package/dist/cjs/schemas/cma-transaction/cma-transaction.rest.schema.d.ts.map +1 -1
  64. package/dist/cjs/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts +6 -6
  65. package/dist/cjs/schemas/cma-transaction/index.d.ts +2 -0
  66. package/dist/cjs/schemas/cma-transaction/index.d.ts.map +1 -1
  67. package/dist/cjs/schemas/common/account/account-bsb.schma.d.ts +4 -0
  68. package/dist/cjs/schemas/common/account/account-bsb.schma.d.ts.map +1 -0
  69. package/dist/cjs/schemas/common/account/account-number.schma.d.ts +4 -0
  70. package/dist/cjs/schemas/common/account/account-number.schma.d.ts.map +1 -0
  71. package/dist/cjs/schemas/common/account/bank-code.schema.d.ts +4 -0
  72. package/dist/cjs/schemas/common/account/bank-code.schema.d.ts.map +1 -0
  73. package/dist/cjs/schemas/common/account/index.d.ts +5 -0
  74. package/dist/cjs/schemas/common/account/index.d.ts.map +1 -0
  75. package/dist/cjs/schemas/common/account/state-code.schema.d.ts +4 -0
  76. package/dist/cjs/schemas/common/account/state-code.schema.d.ts.map +1 -0
  77. package/dist/cjs/schemas/common/amount/cents-to-dollars.schema.d.ts +3 -0
  78. package/dist/cjs/schemas/common/amount/cents-to-dollars.schema.d.ts.map +1 -0
  79. package/dist/cjs/schemas/common/amount/dollars-to-cents.schema.d.ts +3 -0
  80. package/dist/cjs/schemas/common/amount/dollars-to-cents.schema.d.ts.map +1 -0
  81. package/dist/cjs/schemas/common/amount/index.d.ts +3 -0
  82. package/dist/cjs/schemas/common/amount/index.d.ts.map +1 -0
  83. package/dist/cjs/schemas/common/index.d.ts +4 -0
  84. package/dist/cjs/schemas/common/index.d.ts.map +1 -0
  85. package/dist/cjs/schemas/common/search/bool-filter.schema.d.ts +8 -0
  86. package/dist/cjs/schemas/common/search/bool-filter.schema.d.ts.map +1 -0
  87. package/dist/cjs/schemas/common/search/date-filter.schema.d.ts +32 -0
  88. package/dist/cjs/schemas/common/search/date-filter.schema.d.ts.map +1 -0
  89. package/dist/cjs/schemas/common/search/index.d.ts +6 -0
  90. package/dist/cjs/schemas/common/search/index.d.ts.map +1 -0
  91. package/dist/cjs/schemas/common/search/json-filter.schema.d.ts +31 -0
  92. package/dist/cjs/schemas/common/search/json-filter.schema.d.ts.map +1 -0
  93. package/dist/cjs/schemas/common/search/number-filter.schema.d.ts +66 -0
  94. package/dist/cjs/schemas/common/search/number-filter.schema.d.ts.map +1 -0
  95. package/dist/cjs/schemas/common/search/string-filter.schema.d.ts +41 -0
  96. package/dist/cjs/schemas/common/search/string-filter.schema.d.ts.map +1 -0
  97. package/dist/cjs/schemas/developer/developer.enity.schema.d.ts +2 -2
  98. package/dist/cjs/schemas/index.d.ts +4 -0
  99. package/dist/cjs/schemas/index.d.ts.map +1 -1
  100. package/dist/cjs/schemas/mta/create-mta.rest.schema.d.ts +6 -6
  101. package/dist/cjs/schemas/mta/mta.entity.schema.d.ts +12 -12
  102. package/dist/cjs/schemas/mta/mta.rest.schema.d.ts +211 -426
  103. package/dist/cjs/schemas/mta/mta.rest.schema.d.ts.map +1 -1
  104. package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +1444 -2200
  105. package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts.map +1 -1
  106. package/dist/cjs/schemas/mta-account-period/mta-account-period.entity.schema.d.ts +8 -8
  107. package/dist/cjs/schemas/mta-account-period/mta-account-period.rest.schema.d.ts +215 -675
  108. package/dist/cjs/schemas/mta-account-period/mta-account-period.rest.schema.d.ts.map +1 -1
  109. package/dist/cjs/schemas/mta-account-period/update-mta-period-reconciled-to.schema.d.ts +4 -4
  110. package/dist/cjs/schemas/mta-account-period/update-mta-period-reconciled-to.schema.d.ts.map +1 -1
  111. package/dist/cjs/schemas/mta-payment-method/mta-payment-method.rest.schema.d.ts +24 -24
  112. package/dist/cjs/schemas/mta-payment-method/mta-payment-method.rest.schema.d.ts.map +1 -1
  113. package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.entity.schema.d.ts +8 -8
  114. package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +2036 -21
  115. package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts.map +1 -1
  116. package/dist/cjs/schemas/mta-reconciliation/create-mta-reconciliation.rest.schema.d.ts +4 -4
  117. package/dist/cjs/schemas/mta-reconciliation/create-mta-reconciliation.rest.schema.d.ts.map +1 -1
  118. package/dist/cjs/schemas/mta-reconciliation/mta-reconciliation.entity.schema.d.ts +10 -10
  119. package/dist/cjs/schemas/mta-reconciliation/mta-reconciliation.rest.schema.d.ts +22 -22
  120. package/dist/cjs/schemas/mta-reconciliation/mta-reconciliation.rest.schema.d.ts.map +1 -1
  121. package/dist/cjs/schemas/mta-reconciliation/update-mta-reconciliation-current-bank-balance.rest.schema.d.ts +2 -2
  122. package/dist/cjs/schemas/mta-reconciliation/update-mta-reconciliation-current-bank-balance.rest.schema.d.ts.map +1 -1
  123. package/dist/cjs/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts +8 -10
  124. package/dist/cjs/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts.map +1 -1
  125. package/dist/cjs/schemas/mta-transaction/mta-transaction.entity.schema.d.ts +15 -12
  126. package/dist/cjs/schemas/mta-transaction/mta-transaction.entity.schema.d.ts.map +1 -1
  127. package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +439 -817
  128. package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts.map +1 -1
  129. package/dist/cjs/schemas/payout/cancel-payout.rest.schema.d.ts +13 -0
  130. package/dist/cjs/schemas/payout/cancel-payout.rest.schema.d.ts.map +1 -0
  131. package/dist/cjs/schemas/payout/confirm-bank-file-processed.rest.schema.d.ts +19 -0
  132. package/dist/cjs/schemas/payout/confirm-bank-file-processed.rest.schema.d.ts.map +1 -0
  133. package/dist/cjs/schemas/payout/create-mta-to-cma-payout.rest.schema.d.ts +57 -0
  134. package/dist/cjs/schemas/payout/create-mta-to-cma-payout.rest.schema.d.ts.map +1 -0
  135. package/dist/cjs/schemas/payout/create-settlement-payout.rest.schema.d.ts +416 -0
  136. package/dist/cjs/schemas/payout/create-settlement-payout.rest.schema.d.ts.map +1 -0
  137. package/dist/cjs/schemas/payout/index.d.ts +9 -1
  138. package/dist/cjs/schemas/payout/index.d.ts.map +1 -1
  139. package/dist/cjs/schemas/payout/payout-provision-data.entity.schema.d.ts +787 -0
  140. package/dist/cjs/schemas/payout/payout-provision-data.entity.schema.d.ts.map +1 -0
  141. package/dist/cjs/schemas/payout/payout-provision-data.rest.schema.d.ts +14755 -0
  142. package/dist/cjs/schemas/payout/payout-provision-data.rest.schema.d.ts.map +1 -0
  143. package/dist/cjs/schemas/payout/payout-search.rest.schema.d.ts +260 -0
  144. package/dist/cjs/schemas/payout/payout-search.rest.schema.d.ts.map +1 -0
  145. package/dist/cjs/schemas/payout/payout-status-summary.rest.schema.d.ts +19 -0
  146. package/dist/cjs/schemas/payout/payout-status-summary.rest.schema.d.ts.map +1 -0
  147. package/dist/cjs/schemas/payout/payout.entity.schema.d.ts +401 -285
  148. package/dist/cjs/schemas/payout/payout.entity.schema.d.ts.map +1 -1
  149. package/dist/cjs/schemas/payout/payout.rest.create.schema.d.ts +12 -26
  150. package/dist/cjs/schemas/payout/payout.rest.create.schema.d.ts.map +1 -1
  151. package/dist/cjs/schemas/payout/payout.rest.list.schema.d.ts +401 -110
  152. package/dist/cjs/schemas/payout/payout.rest.list.schema.d.ts.map +1 -1
  153. package/dist/cjs/schemas/payout/payout.rest.schema.d.ts +36678 -0
  154. package/dist/cjs/schemas/payout/payout.rest.schema.d.ts.map +1 -0
  155. package/dist/cjs/schemas/payout/payout.rest.view.schema.d.ts +361 -114
  156. package/dist/cjs/schemas/payout/payout.rest.view.schema.d.ts.map +1 -1
  157. package/dist/cjs/schemas/payout-bank-file/index.d.ts +3 -0
  158. package/dist/cjs/schemas/payout-bank-file/index.d.ts.map +1 -0
  159. package/dist/cjs/schemas/payout-bank-file/payout-bank-file.entity.schema.d.ts +46 -0
  160. package/dist/cjs/schemas/payout-bank-file/payout-bank-file.entity.schema.d.ts.map +1 -0
  161. package/dist/cjs/schemas/payout-bank-file/payout-bank-file.rest.schem.d.ts +367 -0
  162. package/dist/cjs/schemas/payout-bank-file/payout-bank-file.rest.schem.d.ts.map +1 -0
  163. package/dist/cjs/schemas/payout-bank-file-download-history/index.d.ts +2 -0
  164. package/dist/cjs/schemas/payout-bank-file-download-history/index.d.ts.map +1 -0
  165. package/dist/cjs/schemas/payout-bank-file-download-history/payout-bank-file-download-histor.entity.schema.d.ts +108 -0
  166. package/dist/cjs/schemas/payout-bank-file-download-history/payout-bank-file-download-histor.entity.schema.d.ts.map +1 -0
  167. package/dist/cjs/schemas/payout-transaction/index.d.ts +3 -0
  168. package/dist/cjs/schemas/payout-transaction/index.d.ts.map +1 -0
  169. package/dist/cjs/schemas/payout-transaction/payout-transactin.entity.schema.d.ts +67 -0
  170. package/dist/cjs/schemas/payout-transaction/payout-transactin.entity.schema.d.ts.map +1 -0
  171. package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +7175 -0
  172. package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts.map +1 -0
  173. package/dist/cjs/schemas/project/project.entity.schema.d.ts +86 -6
  174. package/dist/cjs/schemas/project/project.entity.schema.d.ts.map +1 -1
  175. package/dist/cjs/schemas/project/project.rest.schema.d.ts +218 -215
  176. package/dist/cjs/schemas/project/project.rest.schema.d.ts.map +1 -1
  177. package/dist/cjs/schemas/project-mta-allocation/project-mta-allocation.entity.schema.d.ts +2 -2
  178. package/dist/cjs/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts +72 -71
  179. package/dist/cjs/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts.map +1 -1
  180. package/dist/cjs/schemas/property/customer.entity.schema.d.ts +7 -7
  181. package/dist/cjs/schemas/property/index.d.ts +1 -0
  182. package/dist/cjs/schemas/property/index.d.ts.map +1 -1
  183. package/dist/cjs/schemas/property/property-accounts-balance.rest.schema.d.ts +4 -4
  184. package/dist/cjs/schemas/property/property-search.rest.schema.d.ts +864 -0
  185. package/dist/cjs/schemas/property/property-search.rest.schema.d.ts.map +1 -0
  186. package/dist/cjs/schemas/property/property.entity.schema.d.ts +734 -17
  187. package/dist/cjs/schemas/property/property.entity.schema.d.ts.map +1 -1
  188. package/dist/cjs/schemas/property/property.rest.schema.d.ts +2479 -984
  189. package/dist/cjs/schemas/property/property.rest.schema.d.ts.map +1 -1
  190. package/dist/cjs/schemas/user/index.d.ts +1 -0
  191. package/dist/cjs/schemas/user/index.d.ts.map +1 -1
  192. package/dist/cjs/schemas/user/user.entity.schema.d.ts +4 -4
  193. package/dist/cjs/schemas/user/user.rest.schema.d.ts +35 -0
  194. package/dist/cjs/schemas/user/user.rest.schema.d.ts.map +1 -0
  195. package/dist/cjs/utils/amount.util.d.ts +2 -2
  196. package/dist/cjs/utils/amount.util.d.ts.map +1 -1
  197. package/dist/cjs/utils/bank-account.util.d.ts +17 -0
  198. package/dist/cjs/utils/bank-account.util.d.ts.map +1 -0
  199. package/dist/cjs/utils/index.d.ts +2 -0
  200. package/dist/cjs/utils/index.d.ts.map +1 -1
  201. package/dist/cjs/utils/property.util.d.ts +12 -0
  202. package/dist/cjs/utils/property.util.d.ts.map +1 -0
  203. package/dist/cjs/utils/transaction.util.d.ts.map +1 -1
  204. package/dist/esm/constants/cma-transaction/cma-input-type.constant.d.ts +3 -1
  205. package/dist/esm/constants/cma-transaction/cma-input-type.constant.d.ts.map +1 -1
  206. package/dist/esm/constants/cma-transaction/cma-transaction-status.constant.d.ts +8 -0
  207. package/dist/esm/constants/cma-transaction/cma-transaction-status.constant.d.ts.map +1 -0
  208. package/dist/esm/constants/cma-transaction/cma-transaction-type.constant.d.ts +8 -8
  209. package/dist/esm/constants/cma-transaction/cma-transaction-type.constant.d.ts.map +1 -1
  210. package/dist/esm/constants/cma-transaction/index.d.ts +1 -0
  211. package/dist/esm/constants/cma-transaction/index.d.ts.map +1 -1
  212. package/dist/esm/constants/index.d.ts +2 -2
  213. package/dist/esm/constants/index.d.ts.map +1 -1
  214. package/dist/esm/constants/mta-transaction/index.d.ts +1 -0
  215. package/dist/esm/constants/mta-transaction/index.d.ts.map +1 -1
  216. package/dist/esm/constants/mta-transaction/mta-input-type.constant.d.ts +3 -1
  217. package/dist/esm/constants/mta-transaction/mta-input-type.constant.d.ts.map +1 -1
  218. package/dist/esm/constants/mta-transaction/mta-transaction-status.constant.d.ts +8 -0
  219. package/dist/esm/constants/mta-transaction/mta-transaction-status.constant.d.ts.map +1 -0
  220. package/dist/esm/constants/mta-transaction/mta-type.constant.d.ts +0 -4
  221. package/dist/esm/constants/mta-transaction/mta-type.constant.d.ts.map +1 -1
  222. package/dist/esm/constants/payout/index.d.ts +4 -0
  223. package/dist/esm/constants/payout/index.d.ts.map +1 -0
  224. package/dist/esm/constants/payout/payout-status.constant.d.ts +9 -0
  225. package/dist/esm/constants/payout/payout-status.constant.d.ts.map +1 -0
  226. package/dist/esm/constants/payout/payout-type.constant.d.ts +9 -0
  227. package/dist/esm/constants/payout/payout-type.constant.d.ts.map +1 -0
  228. package/dist/esm/constants/payout/payout.constant.d.ts +37 -0
  229. package/dist/esm/constants/payout/payout.constant.d.ts.map +1 -0
  230. package/dist/esm/constants/payout-bank-file/index.d.ts +2 -0
  231. package/dist/esm/constants/payout-bank-file/index.d.ts.map +1 -0
  232. package/dist/esm/constants/payout-bank-file/payout-bank-file-status.constant.d.ts +8 -0
  233. package/dist/esm/constants/payout-bank-file/payout-bank-file-status.constant.d.ts.map +1 -0
  234. package/dist/esm/index.mjs +1699 -1159
  235. package/dist/esm/schemas/cma/cma.entity.schema.d.ts +1053 -24
  236. package/dist/esm/schemas/cma/cma.entity.schema.d.ts.map +1 -1
  237. package/dist/esm/schemas/cma/cma.rest.schema.d.ts +759 -0
  238. package/dist/esm/schemas/cma/cma.rest.schema.d.ts.map +1 -0
  239. package/dist/esm/schemas/cma/create-cma.schema.d.ts +4 -4
  240. package/dist/esm/schemas/cma/index.d.ts +1 -1
  241. package/dist/esm/schemas/cma/index.d.ts.map +1 -1
  242. package/dist/esm/schemas/cma-account-period/cma-account-period-close.rest.schema.d.ts +2 -2
  243. package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +1561 -2305
  244. package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts.map +1 -1
  245. package/dist/esm/schemas/cma-account-period/cma-account-period.entity.schema.d.ts +10 -10
  246. package/dist/esm/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +623 -570
  247. package/dist/esm/schemas/cma-account-period/cma-account-period.rest.schema.d.ts.map +1 -1
  248. package/dist/esm/schemas/cma-account-period/update-cma-period-reconciled-to.schema.d.ts +4 -4
  249. package/dist/esm/schemas/cma-account-period/update-cma-period-reconciled-to.schema.d.ts.map +1 -1
  250. package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.entity.schema.d.ts +8 -8
  251. package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +2210 -21
  252. package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts.map +1 -1
  253. package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.entity.schema.d.ts +12 -12
  254. package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts +24 -24
  255. package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts.map +1 -1
  256. package/dist/esm/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts +2 -2
  257. package/dist/esm/schemas/cma-reconciliation/update-cma-reconciliation-current-bank-balance.rest.schema.d.ts +2 -2
  258. package/dist/esm/schemas/cma-reconciliation/update-cma-reconciliation-current-bank-balance.rest.schema.d.ts.map +1 -1
  259. package/dist/esm/schemas/cma-transaction/clear-cma-transaction.rest.schema.d.ts +13 -0
  260. package/dist/esm/schemas/cma-transaction/clear-cma-transaction.rest.schema.d.ts.map +1 -0
  261. package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts +815 -0
  262. package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -0
  263. package/dist/esm/schemas/cma-transaction/cma-transaction.entity.schema.d.ts +1495 -12
  264. package/dist/esm/schemas/cma-transaction/cma-transaction.entity.schema.d.ts.map +1 -1
  265. package/dist/esm/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +456 -826
  266. package/dist/esm/schemas/cma-transaction/cma-transaction.rest.schema.d.ts.map +1 -1
  267. package/dist/esm/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts +6 -6
  268. package/dist/esm/schemas/cma-transaction/index.d.ts +2 -0
  269. package/dist/esm/schemas/cma-transaction/index.d.ts.map +1 -1
  270. package/dist/esm/schemas/common/account/account-bsb.schma.d.ts +4 -0
  271. package/dist/esm/schemas/common/account/account-bsb.schma.d.ts.map +1 -0
  272. package/dist/esm/schemas/common/account/account-number.schma.d.ts +4 -0
  273. package/dist/esm/schemas/common/account/account-number.schma.d.ts.map +1 -0
  274. package/dist/esm/schemas/common/account/bank-code.schema.d.ts +4 -0
  275. package/dist/esm/schemas/common/account/bank-code.schema.d.ts.map +1 -0
  276. package/dist/esm/schemas/common/account/index.d.ts +5 -0
  277. package/dist/esm/schemas/common/account/index.d.ts.map +1 -0
  278. package/dist/esm/schemas/common/account/state-code.schema.d.ts +4 -0
  279. package/dist/esm/schemas/common/account/state-code.schema.d.ts.map +1 -0
  280. package/dist/esm/schemas/common/amount/cents-to-dollars.schema.d.ts +3 -0
  281. package/dist/esm/schemas/common/amount/cents-to-dollars.schema.d.ts.map +1 -0
  282. package/dist/esm/schemas/common/amount/dollars-to-cents.schema.d.ts +3 -0
  283. package/dist/esm/schemas/common/amount/dollars-to-cents.schema.d.ts.map +1 -0
  284. package/dist/esm/schemas/common/amount/index.d.ts +3 -0
  285. package/dist/esm/schemas/common/amount/index.d.ts.map +1 -0
  286. package/dist/esm/schemas/common/index.d.ts +4 -0
  287. package/dist/esm/schemas/common/index.d.ts.map +1 -0
  288. package/dist/esm/schemas/common/search/bool-filter.schema.d.ts +8 -0
  289. package/dist/esm/schemas/common/search/bool-filter.schema.d.ts.map +1 -0
  290. package/dist/esm/schemas/common/search/date-filter.schema.d.ts +32 -0
  291. package/dist/esm/schemas/common/search/date-filter.schema.d.ts.map +1 -0
  292. package/dist/esm/schemas/common/search/index.d.ts +6 -0
  293. package/dist/esm/schemas/common/search/index.d.ts.map +1 -0
  294. package/dist/esm/schemas/common/search/json-filter.schema.d.ts +31 -0
  295. package/dist/esm/schemas/common/search/json-filter.schema.d.ts.map +1 -0
  296. package/dist/esm/schemas/common/search/number-filter.schema.d.ts +66 -0
  297. package/dist/esm/schemas/common/search/number-filter.schema.d.ts.map +1 -0
  298. package/dist/esm/schemas/common/search/string-filter.schema.d.ts +41 -0
  299. package/dist/esm/schemas/common/search/string-filter.schema.d.ts.map +1 -0
  300. package/dist/esm/schemas/developer/developer.enity.schema.d.ts +2 -2
  301. package/dist/esm/schemas/index.d.ts +4 -0
  302. package/dist/esm/schemas/index.d.ts.map +1 -1
  303. package/dist/esm/schemas/mta/create-mta.rest.schema.d.ts +6 -6
  304. package/dist/esm/schemas/mta/mta.entity.schema.d.ts +12 -12
  305. package/dist/esm/schemas/mta/mta.rest.schema.d.ts +211 -426
  306. package/dist/esm/schemas/mta/mta.rest.schema.d.ts.map +1 -1
  307. package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +1444 -2200
  308. package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts.map +1 -1
  309. package/dist/esm/schemas/mta-account-period/mta-account-period.entity.schema.d.ts +8 -8
  310. package/dist/esm/schemas/mta-account-period/mta-account-period.rest.schema.d.ts +215 -675
  311. package/dist/esm/schemas/mta-account-period/mta-account-period.rest.schema.d.ts.map +1 -1
  312. package/dist/esm/schemas/mta-account-period/update-mta-period-reconciled-to.schema.d.ts +4 -4
  313. package/dist/esm/schemas/mta-account-period/update-mta-period-reconciled-to.schema.d.ts.map +1 -1
  314. package/dist/esm/schemas/mta-payment-method/mta-payment-method.rest.schema.d.ts +24 -24
  315. package/dist/esm/schemas/mta-payment-method/mta-payment-method.rest.schema.d.ts.map +1 -1
  316. package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.entity.schema.d.ts +8 -8
  317. package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +2036 -21
  318. package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts.map +1 -1
  319. package/dist/esm/schemas/mta-reconciliation/create-mta-reconciliation.rest.schema.d.ts +4 -4
  320. package/dist/esm/schemas/mta-reconciliation/create-mta-reconciliation.rest.schema.d.ts.map +1 -1
  321. package/dist/esm/schemas/mta-reconciliation/mta-reconciliation.entity.schema.d.ts +10 -10
  322. package/dist/esm/schemas/mta-reconciliation/mta-reconciliation.rest.schema.d.ts +22 -22
  323. package/dist/esm/schemas/mta-reconciliation/mta-reconciliation.rest.schema.d.ts.map +1 -1
  324. package/dist/esm/schemas/mta-reconciliation/update-mta-reconciliation-current-bank-balance.rest.schema.d.ts +2 -2
  325. package/dist/esm/schemas/mta-reconciliation/update-mta-reconciliation-current-bank-balance.rest.schema.d.ts.map +1 -1
  326. package/dist/esm/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts +8 -10
  327. package/dist/esm/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts.map +1 -1
  328. package/dist/esm/schemas/mta-transaction/mta-transaction.entity.schema.d.ts +15 -12
  329. package/dist/esm/schemas/mta-transaction/mta-transaction.entity.schema.d.ts.map +1 -1
  330. package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +439 -817
  331. package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts.map +1 -1
  332. package/dist/esm/schemas/payout/cancel-payout.rest.schema.d.ts +13 -0
  333. package/dist/esm/schemas/payout/cancel-payout.rest.schema.d.ts.map +1 -0
  334. package/dist/esm/schemas/payout/confirm-bank-file-processed.rest.schema.d.ts +19 -0
  335. package/dist/esm/schemas/payout/confirm-bank-file-processed.rest.schema.d.ts.map +1 -0
  336. package/dist/esm/schemas/payout/create-mta-to-cma-payout.rest.schema.d.ts +57 -0
  337. package/dist/esm/schemas/payout/create-mta-to-cma-payout.rest.schema.d.ts.map +1 -0
  338. package/dist/esm/schemas/payout/create-settlement-payout.rest.schema.d.ts +416 -0
  339. package/dist/esm/schemas/payout/create-settlement-payout.rest.schema.d.ts.map +1 -0
  340. package/dist/esm/schemas/payout/index.d.ts +9 -1
  341. package/dist/esm/schemas/payout/index.d.ts.map +1 -1
  342. package/dist/esm/schemas/payout/payout-provision-data.entity.schema.d.ts +787 -0
  343. package/dist/esm/schemas/payout/payout-provision-data.entity.schema.d.ts.map +1 -0
  344. package/dist/esm/schemas/payout/payout-provision-data.rest.schema.d.ts +14755 -0
  345. package/dist/esm/schemas/payout/payout-provision-data.rest.schema.d.ts.map +1 -0
  346. package/dist/esm/schemas/payout/payout-search.rest.schema.d.ts +260 -0
  347. package/dist/esm/schemas/payout/payout-search.rest.schema.d.ts.map +1 -0
  348. package/dist/esm/schemas/payout/payout-status-summary.rest.schema.d.ts +19 -0
  349. package/dist/esm/schemas/payout/payout-status-summary.rest.schema.d.ts.map +1 -0
  350. package/dist/esm/schemas/payout/payout.entity.schema.d.ts +401 -285
  351. package/dist/esm/schemas/payout/payout.entity.schema.d.ts.map +1 -1
  352. package/dist/esm/schemas/payout/payout.rest.create.schema.d.ts +12 -26
  353. package/dist/esm/schemas/payout/payout.rest.create.schema.d.ts.map +1 -1
  354. package/dist/esm/schemas/payout/payout.rest.list.schema.d.ts +401 -110
  355. package/dist/esm/schemas/payout/payout.rest.list.schema.d.ts.map +1 -1
  356. package/dist/esm/schemas/payout/payout.rest.schema.d.ts +36678 -0
  357. package/dist/esm/schemas/payout/payout.rest.schema.d.ts.map +1 -0
  358. package/dist/esm/schemas/payout/payout.rest.view.schema.d.ts +361 -114
  359. package/dist/esm/schemas/payout/payout.rest.view.schema.d.ts.map +1 -1
  360. package/dist/esm/schemas/payout-bank-file/index.d.ts +3 -0
  361. package/dist/esm/schemas/payout-bank-file/index.d.ts.map +1 -0
  362. package/dist/esm/schemas/payout-bank-file/payout-bank-file.entity.schema.d.ts +46 -0
  363. package/dist/esm/schemas/payout-bank-file/payout-bank-file.entity.schema.d.ts.map +1 -0
  364. package/dist/esm/schemas/payout-bank-file/payout-bank-file.rest.schem.d.ts +367 -0
  365. package/dist/esm/schemas/payout-bank-file/payout-bank-file.rest.schem.d.ts.map +1 -0
  366. package/dist/esm/schemas/payout-bank-file-download-history/index.d.ts +2 -0
  367. package/dist/esm/schemas/payout-bank-file-download-history/index.d.ts.map +1 -0
  368. package/dist/esm/schemas/payout-bank-file-download-history/payout-bank-file-download-histor.entity.schema.d.ts +108 -0
  369. package/dist/esm/schemas/payout-bank-file-download-history/payout-bank-file-download-histor.entity.schema.d.ts.map +1 -0
  370. package/dist/esm/schemas/payout-transaction/index.d.ts +3 -0
  371. package/dist/esm/schemas/payout-transaction/index.d.ts.map +1 -0
  372. package/dist/esm/schemas/payout-transaction/payout-transactin.entity.schema.d.ts +67 -0
  373. package/dist/esm/schemas/payout-transaction/payout-transactin.entity.schema.d.ts.map +1 -0
  374. package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +7175 -0
  375. package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts.map +1 -0
  376. package/dist/esm/schemas/project/project.entity.schema.d.ts +86 -6
  377. package/dist/esm/schemas/project/project.entity.schema.d.ts.map +1 -1
  378. package/dist/esm/schemas/project/project.rest.schema.d.ts +218 -215
  379. package/dist/esm/schemas/project/project.rest.schema.d.ts.map +1 -1
  380. package/dist/esm/schemas/project-mta-allocation/project-mta-allocation.entity.schema.d.ts +2 -2
  381. package/dist/esm/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts +72 -71
  382. package/dist/esm/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts.map +1 -1
  383. package/dist/esm/schemas/property/customer.entity.schema.d.ts +7 -7
  384. package/dist/esm/schemas/property/index.d.ts +1 -0
  385. package/dist/esm/schemas/property/index.d.ts.map +1 -1
  386. package/dist/esm/schemas/property/property-accounts-balance.rest.schema.d.ts +4 -4
  387. package/dist/esm/schemas/property/property-search.rest.schema.d.ts +864 -0
  388. package/dist/esm/schemas/property/property-search.rest.schema.d.ts.map +1 -0
  389. package/dist/esm/schemas/property/property.entity.schema.d.ts +734 -17
  390. package/dist/esm/schemas/property/property.entity.schema.d.ts.map +1 -1
  391. package/dist/esm/schemas/property/property.rest.schema.d.ts +2479 -984
  392. package/dist/esm/schemas/property/property.rest.schema.d.ts.map +1 -1
  393. package/dist/esm/schemas/user/index.d.ts +1 -0
  394. package/dist/esm/schemas/user/index.d.ts.map +1 -1
  395. package/dist/esm/schemas/user/user.entity.schema.d.ts +4 -4
  396. package/dist/esm/schemas/user/user.rest.schema.d.ts +35 -0
  397. package/dist/esm/schemas/user/user.rest.schema.d.ts.map +1 -0
  398. package/dist/esm/utils/amount.util.d.ts +2 -2
  399. package/dist/esm/utils/amount.util.d.ts.map +1 -1
  400. package/dist/esm/utils/bank-account.util.d.ts +17 -0
  401. package/dist/esm/utils/bank-account.util.d.ts.map +1 -0
  402. package/dist/esm/utils/index.d.ts +2 -0
  403. package/dist/esm/utils/index.d.ts.map +1 -1
  404. package/dist/esm/utils/property.util.d.ts +12 -0
  405. package/dist/esm/utils/property.util.d.ts.map +1 -0
  406. package/dist/esm/utils/transaction.util.d.ts.map +1 -1
  407. package/package.json +5 -5
  408. package/dist/cjs/constants/mta-account-period/index.d.ts +0 -2
  409. package/dist/cjs/constants/mta-account-period/index.d.ts.map +0 -1
  410. package/dist/cjs/constants/mta-account-period/mta-account-period.constant.d.ts +0 -5
  411. package/dist/cjs/constants/mta-account-period/mta-account-period.constant.d.ts.map +0 -1
  412. package/dist/cjs/constants/mta-reconciliation/index.d.ts +0 -2
  413. package/dist/cjs/constants/mta-reconciliation/index.d.ts.map +0 -1
  414. package/dist/cjs/constants/mta-reconciliation/mta-reconciliation.constant.d.ts +0 -5
  415. package/dist/cjs/constants/mta-reconciliation/mta-reconciliation.constant.d.ts.map +0 -1
  416. package/dist/cjs/schemas/cma/cma-res.schema.d.ts +0 -333
  417. package/dist/cjs/schemas/cma/cma-res.schema.d.ts.map +0 -1
  418. package/dist/cjs/schemas/payout/payout.create.schema.d.ts +0 -157
  419. package/dist/cjs/schemas/payout/payout.create.schema.d.ts.map +0 -1
  420. package/dist/esm/constants/mta-account-period/index.d.ts +0 -2
  421. package/dist/esm/constants/mta-account-period/index.d.ts.map +0 -1
  422. package/dist/esm/constants/mta-account-period/mta-account-period.constant.d.ts +0 -5
  423. package/dist/esm/constants/mta-account-period/mta-account-period.constant.d.ts.map +0 -1
  424. package/dist/esm/constants/mta-reconciliation/index.d.ts +0 -2
  425. package/dist/esm/constants/mta-reconciliation/index.d.ts.map +0 -1
  426. package/dist/esm/constants/mta-reconciliation/mta-reconciliation.constant.d.ts +0 -5
  427. package/dist/esm/constants/mta-reconciliation/mta-reconciliation.constant.d.ts.map +0 -1
  428. package/dist/esm/schemas/cma/cma-res.schema.d.ts +0 -333
  429. package/dist/esm/schemas/cma/cma-res.schema.d.ts.map +0 -1
  430. package/dist/esm/schemas/payout/payout.create.schema.d.ts +0 -157
  431. package/dist/esm/schemas/payout/payout.create.schema.d.ts.map +0 -1
@@ -1,7 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { cmaAccountPeriodRestResSchema } from '../cma-account-period';
3
- import { cmaTransactionRestResSchema } from '../cma-transaction/cma-transaction.rest.schema';
4
- declare const cmaReconciledTransactionRestResBaseSchema: z.ZodObject<{
2
+ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
5
3
  id: z.ZodString;
6
4
  cmaTransactionId: z.ZodString;
7
5
  accountPeriodId: z.ZodNullable<z.ZodString>;
@@ -12,38 +10,2229 @@ declare const cmaReconciledTransactionRestResBaseSchema: z.ZodObject<{
12
10
  createdBy: z.ZodString;
13
11
  createdAt: z.ZodDate;
14
12
  updatedAt: z.ZodDate;
13
+ } & {
14
+ cmaTransaction: z.ZodOptional<z.ZodLazy<z.ZodType<{
15
+ id: string;
16
+ status: "clearing" | "cleared" | "reconciled";
17
+ isArchived: boolean;
18
+ createdAt: Date;
19
+ updatedAt: Date;
20
+ syncedAt: Date | null;
21
+ debitAmountCents: number;
22
+ creditAmountCents: number;
23
+ balanceCents: number;
24
+ description: string | null;
25
+ clearedAt: Date | null;
26
+ cmaId: string;
27
+ propertyId: string | null;
28
+ createType: string;
29
+ transactionType: string;
30
+ isCanceled: boolean;
31
+ isRefunded: boolean;
32
+ payoutId: string | null;
33
+ sequence: number;
34
+ inputType: import("../..").CmaTransactionInputType;
35
+ bankRef: string | null;
36
+ sourceTransactionId: string | null;
37
+ cancelType: string | null;
38
+ canceledAt: Date | null;
39
+ canceledReason: string | null;
40
+ createdBy?: string | {
41
+ id: string;
42
+ email: string;
43
+ fullName?: string | null | undefined;
44
+ firstName?: string | null | undefined;
45
+ lastName?: string | null | undefined;
46
+ } | null | undefined;
47
+ canceledBy?: string | {
48
+ id: string;
49
+ email: string;
50
+ fullName?: string | null | undefined;
51
+ firstName?: string | null | undefined;
52
+ lastName?: string | null | undefined;
53
+ } | null | undefined;
54
+ property?: {
55
+ id: string;
56
+ status: string;
57
+ isArchived: boolean;
58
+ createdAt: Date;
59
+ updatedAt: Date;
60
+ syncedAt: Date;
61
+ balanceCents: number | bigint;
62
+ customerId: string;
63
+ projectId: string;
64
+ lotDetail: string | null;
65
+ propertyAddress: string;
66
+ stage: string;
67
+ mtaId: string;
68
+ mtaBalanceCents: number | bigint;
69
+ cmaBalanceCents: number | bigint;
70
+ customer?: {
71
+ id: string;
72
+ status: string;
73
+ isArchived: boolean;
74
+ createdAt: Date;
75
+ updatedAt: Date;
76
+ fullName: string | null;
77
+ mobile: string | null;
78
+ email: string;
79
+ syncedAt: Date;
80
+ } | null | undefined;
81
+ buyerName?: string | null | undefined;
82
+ project?: {
83
+ id: string;
84
+ status: string;
85
+ isArchived: boolean;
86
+ createdAt: Date;
87
+ updatedAt: Date;
88
+ type: string;
89
+ syncedAt: Date;
90
+ mtaId: string | null;
91
+ name: string;
92
+ developerId: string;
93
+ state: string;
94
+ developer?: {
95
+ id: string;
96
+ status: string;
97
+ isArchived: boolean;
98
+ createdAt: Date;
99
+ updatedAt: Date;
100
+ syncedAt: Date;
101
+ companyName: string | null;
102
+ } | null | undefined;
103
+ } | null | undefined;
104
+ } | null | undefined;
105
+ } & {
106
+ cma?: z.output<typeof import("..").cmaEntitySchema> | null | undefined;
107
+ sourceTransaction?: Omit<{
108
+ id: string;
109
+ status: "clearing" | "cleared" | "reconciled";
110
+ isArchived: boolean;
111
+ createdAt: Date;
112
+ updatedAt: Date;
113
+ syncedAt: Date | null;
114
+ debitAmountCents: number;
115
+ creditAmountCents: number;
116
+ balanceCents: number;
117
+ description: string | null;
118
+ clearedAt: Date | null;
119
+ cmaId: string;
120
+ propertyId: string | null;
121
+ createType: string;
122
+ transactionType: string;
123
+ isCanceled: boolean;
124
+ isRefunded: boolean;
125
+ payoutId: string | null;
126
+ sequence: number;
127
+ inputType: import("../..").CmaTransactionInputType;
128
+ bankRef: string | null;
129
+ sourceTransactionId: string | null;
130
+ cancelType: string | null;
131
+ canceledAt: Date | null;
132
+ canceledReason: string | null;
133
+ createdBy?: string | {
134
+ id: string;
135
+ email: string;
136
+ fullName?: string | null | undefined;
137
+ firstName?: string | null | undefined;
138
+ lastName?: string | null | undefined;
139
+ } | null | undefined;
140
+ canceledBy?: string | {
141
+ id: string;
142
+ email: string;
143
+ fullName?: string | null | undefined;
144
+ firstName?: string | null | undefined;
145
+ lastName?: string | null | undefined;
146
+ } | null | undefined;
147
+ property?: {
148
+ id: string;
149
+ status: string;
150
+ isArchived: boolean;
151
+ createdAt: Date;
152
+ updatedAt: Date;
153
+ syncedAt: Date;
154
+ balanceCents: number | bigint;
155
+ customerId: string;
156
+ projectId: string;
157
+ lotDetail: string | null;
158
+ propertyAddress: string;
159
+ stage: string;
160
+ mtaId: string;
161
+ mtaBalanceCents: number | bigint;
162
+ cmaBalanceCents: number | bigint;
163
+ customer?: {
164
+ id: string;
165
+ status: string;
166
+ isArchived: boolean;
167
+ createdAt: Date;
168
+ updatedAt: Date;
169
+ fullName: string | null;
170
+ mobile: string | null;
171
+ email: string;
172
+ syncedAt: Date;
173
+ } | null | undefined;
174
+ buyerName?: string | null | undefined;
175
+ project?: {
176
+ id: string;
177
+ status: string;
178
+ isArchived: boolean;
179
+ createdAt: Date;
180
+ updatedAt: Date;
181
+ type: string;
182
+ syncedAt: Date;
183
+ mtaId: string | null;
184
+ name: string;
185
+ developerId: string;
186
+ state: string;
187
+ developer?: {
188
+ id: string;
189
+ status: string;
190
+ isArchived: boolean;
191
+ createdAt: Date;
192
+ updatedAt: Date;
193
+ syncedAt: Date;
194
+ companyName: string | null;
195
+ } | null | undefined;
196
+ } | null | undefined;
197
+ } | null | undefined;
198
+ } & any, "cma"> | null | undefined;
199
+ subsequentTransactions?: Omit<{
200
+ id: string;
201
+ status: "clearing" | "cleared" | "reconciled";
202
+ isArchived: boolean;
203
+ createdAt: Date;
204
+ updatedAt: Date;
205
+ syncedAt: Date | null;
206
+ debitAmountCents: number;
207
+ creditAmountCents: number;
208
+ balanceCents: number;
209
+ description: string | null;
210
+ clearedAt: Date | null;
211
+ cmaId: string;
212
+ propertyId: string | null;
213
+ createType: string;
214
+ transactionType: string;
215
+ isCanceled: boolean;
216
+ isRefunded: boolean;
217
+ payoutId: string | null;
218
+ sequence: number;
219
+ inputType: import("../..").CmaTransactionInputType;
220
+ bankRef: string | null;
221
+ sourceTransactionId: string | null;
222
+ cancelType: string | null;
223
+ canceledAt: Date | null;
224
+ canceledReason: string | null;
225
+ createdBy?: string | {
226
+ id: string;
227
+ email: string;
228
+ fullName?: string | null | undefined;
229
+ firstName?: string | null | undefined;
230
+ lastName?: string | null | undefined;
231
+ } | null | undefined;
232
+ canceledBy?: string | {
233
+ id: string;
234
+ email: string;
235
+ fullName?: string | null | undefined;
236
+ firstName?: string | null | undefined;
237
+ lastName?: string | null | undefined;
238
+ } | null | undefined;
239
+ property?: {
240
+ id: string;
241
+ status: string;
242
+ isArchived: boolean;
243
+ createdAt: Date;
244
+ updatedAt: Date;
245
+ syncedAt: Date;
246
+ balanceCents: number | bigint;
247
+ customerId: string;
248
+ projectId: string;
249
+ lotDetail: string | null;
250
+ propertyAddress: string;
251
+ stage: string;
252
+ mtaId: string;
253
+ mtaBalanceCents: number | bigint;
254
+ cmaBalanceCents: number | bigint;
255
+ customer?: {
256
+ id: string;
257
+ status: string;
258
+ isArchived: boolean;
259
+ createdAt: Date;
260
+ updatedAt: Date;
261
+ fullName: string | null;
262
+ mobile: string | null;
263
+ email: string;
264
+ syncedAt: Date;
265
+ } | null | undefined;
266
+ buyerName?: string | null | undefined;
267
+ project?: {
268
+ id: string;
269
+ status: string;
270
+ isArchived: boolean;
271
+ createdAt: Date;
272
+ updatedAt: Date;
273
+ type: string;
274
+ syncedAt: Date;
275
+ mtaId: string | null;
276
+ name: string;
277
+ developerId: string;
278
+ state: string;
279
+ developer?: {
280
+ id: string;
281
+ status: string;
282
+ isArchived: boolean;
283
+ createdAt: Date;
284
+ updatedAt: Date;
285
+ syncedAt: Date;
286
+ companyName: string | null;
287
+ } | null | undefined;
288
+ } | null | undefined;
289
+ } | null | undefined;
290
+ } & any, "cma">[] | null | undefined;
291
+ reconciledTransactions?: z.output<typeof cmaReconciledTransactionRestResSchema>[] | null | undefined;
292
+ isReceipt?: boolean | null | undefined;
293
+ isPayment?: boolean | null | undefined;
294
+ isReconciled?: boolean | null | undefined;
295
+ amountStr?: string | null | undefined;
296
+ transactionNumber?: string | null | undefined;
297
+ isCancelable?: boolean | null | undefined;
298
+ payout?: z.output<typeof import("..").payoutEntitySchema> | null | undefined;
299
+ }, z.ZodTypeDef, {
300
+ id: string;
301
+ status: string;
302
+ isArchived: boolean;
303
+ createdAt: Date;
304
+ updatedAt: Date;
305
+ syncedAt: Date | null;
306
+ debitAmountCents: string | number | bigint;
307
+ creditAmountCents: string | number | bigint;
308
+ balanceCents: string | number | bigint;
309
+ description: string | null;
310
+ clearedAt: Date | null;
311
+ cmaId: string;
312
+ propertyId: string | null;
313
+ createType: string;
314
+ transactionType: string;
315
+ isCanceled: boolean;
316
+ isRefunded: boolean;
317
+ payoutId: string | null;
318
+ sequence: number;
319
+ inputType: string;
320
+ bankRef: string | null;
321
+ sourceTransactionId: string | null;
322
+ cancelType: string | null;
323
+ canceledAt: Date | null;
324
+ canceledReason: string | null;
325
+ createdBy?: string | {
326
+ id: string;
327
+ email: string;
328
+ fullName?: string | null | undefined;
329
+ firstName?: string | null | undefined;
330
+ lastName?: string | null | undefined;
331
+ } | null | undefined;
332
+ canceledBy?: string | {
333
+ id: string;
334
+ email: string;
335
+ fullName?: string | null | undefined;
336
+ firstName?: string | null | undefined;
337
+ lastName?: string | null | undefined;
338
+ } | null | undefined;
339
+ property?: {
340
+ id: string;
341
+ status: string;
342
+ isArchived: boolean;
343
+ createdAt: Date;
344
+ updatedAt: Date;
345
+ syncedAt: Date;
346
+ balanceCents: number | bigint;
347
+ customerId: string;
348
+ projectId: string;
349
+ lotDetail: string | null;
350
+ propertyAddress: string;
351
+ stage: string;
352
+ mtaId: string;
353
+ mtaBalanceCents: number | bigint;
354
+ cmaBalanceCents: number | bigint;
355
+ customer?: {
356
+ id: string;
357
+ status: string;
358
+ isArchived: boolean;
359
+ createdAt: Date;
360
+ updatedAt: Date;
361
+ fullName: string | null;
362
+ mobile: string | null;
363
+ email: string;
364
+ syncedAt: Date;
365
+ } | null | undefined;
366
+ buyerName?: string | null | undefined;
367
+ project?: {
368
+ id: string;
369
+ status: string;
370
+ isArchived: boolean;
371
+ createdAt: Date;
372
+ updatedAt: Date;
373
+ type: string;
374
+ syncedAt: Date;
375
+ mtaId: string | null;
376
+ name: string;
377
+ developerId: string;
378
+ state: string;
379
+ developer?: {
380
+ id: string;
381
+ status: string;
382
+ isArchived: boolean;
383
+ createdAt: Date;
384
+ updatedAt: Date;
385
+ syncedAt: Date;
386
+ companyName: string | null;
387
+ } | null | undefined;
388
+ } | null | undefined;
389
+ } | null | undefined;
390
+ } & {
391
+ cma?: z.input<typeof import("..").cmaEntitySchema> | null | undefined;
392
+ sourceTransaction?: ({
393
+ id: string;
394
+ status: string;
395
+ isArchived: boolean;
396
+ createdAt: Date;
397
+ updatedAt: Date;
398
+ syncedAt: Date | null;
399
+ debitAmountCents: string | number | bigint;
400
+ creditAmountCents: string | number | bigint;
401
+ balanceCents: string | number | bigint;
402
+ description: string | null;
403
+ clearedAt: Date | null;
404
+ cmaId: string;
405
+ propertyId: string | null;
406
+ createType: string;
407
+ transactionType: string;
408
+ isCanceled: boolean;
409
+ isRefunded: boolean;
410
+ payoutId: string | null;
411
+ sequence: number;
412
+ inputType: string;
413
+ bankRef: string | null;
414
+ sourceTransactionId: string | null;
415
+ cancelType: string | null;
416
+ canceledAt: Date | null;
417
+ canceledReason: string | null;
418
+ createdBy?: string | {
419
+ id: string;
420
+ email: string;
421
+ fullName?: string | null | undefined;
422
+ firstName?: string | null | undefined;
423
+ lastName?: string | null | undefined;
424
+ } | null | undefined;
425
+ canceledBy?: string | {
426
+ id: string;
427
+ email: string;
428
+ fullName?: string | null | undefined;
429
+ firstName?: string | null | undefined;
430
+ lastName?: string | null | undefined;
431
+ } | null | undefined;
432
+ property?: {
433
+ id: string;
434
+ status: string;
435
+ isArchived: boolean;
436
+ createdAt: Date;
437
+ updatedAt: Date;
438
+ syncedAt: Date;
439
+ balanceCents: number | bigint;
440
+ customerId: string;
441
+ projectId: string;
442
+ lotDetail: string | null;
443
+ propertyAddress: string;
444
+ stage: string;
445
+ mtaId: string;
446
+ mtaBalanceCents: number | bigint;
447
+ cmaBalanceCents: number | bigint;
448
+ customer?: {
449
+ id: string;
450
+ status: string;
451
+ isArchived: boolean;
452
+ createdAt: Date;
453
+ updatedAt: Date;
454
+ fullName: string | null;
455
+ mobile: string | null;
456
+ email: string;
457
+ syncedAt: Date;
458
+ } | null | undefined;
459
+ buyerName?: string | null | undefined;
460
+ project?: {
461
+ id: string;
462
+ status: string;
463
+ isArchived: boolean;
464
+ createdAt: Date;
465
+ updatedAt: Date;
466
+ type: string;
467
+ syncedAt: Date;
468
+ mtaId: string | null;
469
+ name: string;
470
+ developerId: string;
471
+ state: string;
472
+ developer?: {
473
+ id: string;
474
+ status: string;
475
+ isArchived: boolean;
476
+ createdAt: Date;
477
+ updatedAt: Date;
478
+ syncedAt: Date;
479
+ companyName: string | null;
480
+ } | null | undefined;
481
+ } | null | undefined;
482
+ } | null | undefined;
483
+ } & any) | null | undefined;
484
+ subsequentTransactions?: ({
485
+ id: string;
486
+ status: string;
487
+ isArchived: boolean;
488
+ createdAt: Date;
489
+ updatedAt: Date;
490
+ syncedAt: Date | null;
491
+ debitAmountCents: string | number | bigint;
492
+ creditAmountCents: string | number | bigint;
493
+ balanceCents: string | number | bigint;
494
+ description: string | null;
495
+ clearedAt: Date | null;
496
+ cmaId: string;
497
+ propertyId: string | null;
498
+ createType: string;
499
+ transactionType: string;
500
+ isCanceled: boolean;
501
+ isRefunded: boolean;
502
+ payoutId: string | null;
503
+ sequence: number;
504
+ inputType: string;
505
+ bankRef: string | null;
506
+ sourceTransactionId: string | null;
507
+ cancelType: string | null;
508
+ canceledAt: Date | null;
509
+ canceledReason: string | null;
510
+ createdBy?: string | {
511
+ id: string;
512
+ email: string;
513
+ fullName?: string | null | undefined;
514
+ firstName?: string | null | undefined;
515
+ lastName?: string | null | undefined;
516
+ } | null | undefined;
517
+ canceledBy?: string | {
518
+ id: string;
519
+ email: string;
520
+ fullName?: string | null | undefined;
521
+ firstName?: string | null | undefined;
522
+ lastName?: string | null | undefined;
523
+ } | null | undefined;
524
+ property?: {
525
+ id: string;
526
+ status: string;
527
+ isArchived: boolean;
528
+ createdAt: Date;
529
+ updatedAt: Date;
530
+ syncedAt: Date;
531
+ balanceCents: number | bigint;
532
+ customerId: string;
533
+ projectId: string;
534
+ lotDetail: string | null;
535
+ propertyAddress: string;
536
+ stage: string;
537
+ mtaId: string;
538
+ mtaBalanceCents: number | bigint;
539
+ cmaBalanceCents: number | bigint;
540
+ customer?: {
541
+ id: string;
542
+ status: string;
543
+ isArchived: boolean;
544
+ createdAt: Date;
545
+ updatedAt: Date;
546
+ fullName: string | null;
547
+ mobile: string | null;
548
+ email: string;
549
+ syncedAt: Date;
550
+ } | null | undefined;
551
+ buyerName?: string | null | undefined;
552
+ project?: {
553
+ id: string;
554
+ status: string;
555
+ isArchived: boolean;
556
+ createdAt: Date;
557
+ updatedAt: Date;
558
+ type: string;
559
+ syncedAt: Date;
560
+ mtaId: string | null;
561
+ name: string;
562
+ developerId: string;
563
+ state: string;
564
+ developer?: {
565
+ id: string;
566
+ status: string;
567
+ isArchived: boolean;
568
+ createdAt: Date;
569
+ updatedAt: Date;
570
+ syncedAt: Date;
571
+ companyName: string | null;
572
+ } | null | undefined;
573
+ } | null | undefined;
574
+ } | null | undefined;
575
+ } & any)[] | null | undefined;
576
+ reconciledTransactions?: z.input<typeof cmaReconciledTransactionRestResSchema>[] | null | undefined;
577
+ payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
578
+ }>>>;
579
+ accountPeriod: z.ZodOptional<z.ZodLazy<z.ZodObject<{
580
+ id: z.ZodString;
581
+ startDate: z.ZodDate;
582
+ endDate: z.ZodNullable<z.ZodDate>;
583
+ closedBy: z.ZodNullable<z.ZodString>;
584
+ closedAt: z.ZodNullable<z.ZodDate>;
585
+ isArchived: z.ZodBoolean;
586
+ createdAt: z.ZodDate;
587
+ updatedAt: z.ZodDate;
588
+ cmaId: z.ZodString;
589
+ closingDescription: z.ZodNullable<z.ZodString>;
590
+ } & {
591
+ openingBalanceCents: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBigInt, z.ZodNumber]>, number, string | number | bigint>, z.ZodNumber>;
592
+ closingBalanceCents: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBigInt, z.ZodNumber]>, number, string | number | bigint>, z.ZodNumber>>>;
593
+ reconciledAmountCents: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBigInt, z.ZodNumber]>, number, string | number | bigint>, z.ZodNumber>>>;
594
+ totalReconciledAmountCents: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBigInt, z.ZodNumber]>, number, string | number | bigint>, z.ZodNumber>>>;
595
+ unreconciledAmountCents: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBigInt, z.ZodNumber]>, number, string | number | bigint>, z.ZodNumber>>>;
596
+ status: z.ZodPipeline<z.ZodString, z.ZodNativeEnum<typeof import("../..").AccountPeriodStatus>>;
597
+ } & {
598
+ cma: z.ZodOptional<z.ZodLazy<z.ZodObject<{
599
+ id: z.ZodString;
600
+ cmaSeq: z.ZodNumber;
601
+ country: z.ZodString;
602
+ description: z.ZodNullable<z.ZodString>;
603
+ accountName: z.ZodString;
604
+ propertyId: z.ZodString;
605
+ currentReceiveSeq: z.ZodNumber;
606
+ currentPayoutSeq: z.ZodNumber;
607
+ payoutId: z.ZodNumber;
608
+ isArchived: z.ZodBoolean;
609
+ createdAt: z.ZodDate;
610
+ updatedAt: z.ZodDate;
611
+ createdBy: z.ZodString;
612
+ } & {
613
+ balanceCents: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBigInt, z.ZodNumber]>, number, string | number | bigint>, z.ZodNumber>;
614
+ stateCode: z.ZodPipeline<z.ZodString, z.ZodNativeEnum<typeof import("@mikemo-coposit/am-zshared").AuStateCode>>;
615
+ bankCode: z.ZodPipeline<z.ZodString, z.ZodNativeEnum<typeof import("@mikemo-coposit/am-zshared").AuTrustAccountBankCode>>;
616
+ accountNumber: z.ZodEffects<z.ZodString, string | null, string>;
617
+ bsb: z.ZodEffects<z.ZodString, string | null, string>;
618
+ status: z.ZodPipeline<z.ZodString, z.ZodNativeEnum<{
619
+ readonly ACTIVE: "active";
620
+ readonly INACTIVE: "inactive";
621
+ }>>;
622
+ } & {
623
+ property: z.ZodLazy<z.ZodOptional<z.ZodObject<Omit<{
624
+ id: z.ZodString;
625
+ customerId: z.ZodString;
626
+ projectId: z.ZodString;
627
+ buyerName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
628
+ lotDetail: z.ZodNullable<z.ZodString>;
629
+ propertyAddress: z.ZodString;
630
+ balanceCents: z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>;
631
+ cmaBalanceCents: z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>;
632
+ mtaBalanceCents: z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>;
633
+ stage: z.ZodString;
634
+ status: z.ZodString;
635
+ mtaId: z.ZodString;
636
+ isArchived: z.ZodBoolean;
637
+ createdAt: z.ZodDate;
638
+ syncedAt: z.ZodDate;
639
+ updatedAt: z.ZodDate;
640
+ } & {
641
+ project: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
642
+ id: z.ZodString;
643
+ name: z.ZodString;
644
+ developerId: z.ZodString;
645
+ mtaId: z.ZodNullable<z.ZodString>;
646
+ state: z.ZodString;
647
+ type: z.ZodString;
648
+ status: z.ZodString;
649
+ isArchived: z.ZodBoolean;
650
+ createdAt: z.ZodDate;
651
+ syncedAt: z.ZodDate;
652
+ updatedAt: z.ZodDate;
653
+ } & {
654
+ developer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
655
+ id: z.ZodString;
656
+ companyName: z.ZodNullable<z.ZodString>;
657
+ status: z.ZodString;
658
+ isArchived: z.ZodBoolean;
659
+ createdAt: z.ZodDate;
660
+ syncedAt: z.ZodDate;
661
+ updatedAt: z.ZodDate;
662
+ }, "strip", z.ZodTypeAny, {
663
+ id: string;
664
+ status: string;
665
+ isArchived: boolean;
666
+ createdAt: Date;
667
+ updatedAt: Date;
668
+ syncedAt: Date;
669
+ companyName: string | null;
670
+ }, {
671
+ id: string;
672
+ status: string;
673
+ isArchived: boolean;
674
+ createdAt: Date;
675
+ updatedAt: Date;
676
+ syncedAt: Date;
677
+ companyName: string | null;
678
+ }>>>;
679
+ }, "strip", z.ZodTypeAny, {
680
+ id: string;
681
+ status: string;
682
+ isArchived: boolean;
683
+ createdAt: Date;
684
+ updatedAt: Date;
685
+ type: string;
686
+ syncedAt: Date;
687
+ mtaId: string | null;
688
+ name: string;
689
+ developerId: string;
690
+ state: string;
691
+ developer?: {
692
+ id: string;
693
+ status: string;
694
+ isArchived: boolean;
695
+ createdAt: Date;
696
+ updatedAt: Date;
697
+ syncedAt: Date;
698
+ companyName: string | null;
699
+ } | null | undefined;
700
+ }, {
701
+ id: string;
702
+ status: string;
703
+ isArchived: boolean;
704
+ createdAt: Date;
705
+ updatedAt: Date;
706
+ type: string;
707
+ syncedAt: Date;
708
+ mtaId: string | null;
709
+ name: string;
710
+ developerId: string;
711
+ state: string;
712
+ developer?: {
713
+ id: string;
714
+ status: string;
715
+ isArchived: boolean;
716
+ createdAt: Date;
717
+ updatedAt: Date;
718
+ syncedAt: Date;
719
+ companyName: string | null;
720
+ } | null | undefined;
721
+ }>>>>;
722
+ customer: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
723
+ id: z.ZodString;
724
+ fullName: z.ZodNullable<z.ZodString>;
725
+ mobile: z.ZodNullable<z.ZodString>;
726
+ email: z.ZodString;
727
+ status: z.ZodString;
728
+ isArchived: z.ZodBoolean;
729
+ createdAt: z.ZodDate;
730
+ syncedAt: z.ZodDate;
731
+ updatedAt: z.ZodDate;
732
+ }, "strip", z.ZodTypeAny, {
733
+ id: string;
734
+ status: string;
735
+ isArchived: boolean;
736
+ createdAt: Date;
737
+ updatedAt: Date;
738
+ fullName: string | null;
739
+ mobile: string | null;
740
+ email: string;
741
+ syncedAt: Date;
742
+ }, {
743
+ id: string;
744
+ status: string;
745
+ isArchived: boolean;
746
+ createdAt: Date;
747
+ updatedAt: Date;
748
+ fullName: string | null;
749
+ mobile: string | null;
750
+ email: string;
751
+ syncedAt: Date;
752
+ }>>>>;
753
+ cma: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
754
+ id: z.ZodString;
755
+ cmaSeq: z.ZodNumber;
756
+ country: z.ZodString;
757
+ stateCode: z.ZodString;
758
+ description: z.ZodNullable<z.ZodString>;
759
+ bankCode: z.ZodString;
760
+ bsb: z.ZodString;
761
+ accountNumber: z.ZodString;
762
+ accountName: z.ZodString;
763
+ propertyId: z.ZodString;
764
+ balanceCents: z.ZodBigInt;
765
+ currentReceiveSeq: z.ZodNumber;
766
+ currentPayoutSeq: z.ZodNumber;
767
+ payoutId: z.ZodNumber;
768
+ status: z.ZodString;
769
+ isArchived: z.ZodBoolean;
770
+ createdAt: z.ZodDate;
771
+ updatedAt: z.ZodDate;
772
+ createdBy: z.ZodString;
773
+ }, "strip", z.ZodTypeAny, {
774
+ id: string;
775
+ status: string;
776
+ isArchived: boolean;
777
+ createdBy: string;
778
+ createdAt: Date;
779
+ updatedAt: Date;
780
+ balanceCents: bigint;
781
+ description: string | null;
782
+ propertyId: string;
783
+ payoutId: number;
784
+ bsb: string;
785
+ accountNumber: string;
786
+ cmaSeq: number;
787
+ country: string;
788
+ stateCode: string;
789
+ bankCode: string;
790
+ accountName: string;
791
+ currentReceiveSeq: number;
792
+ currentPayoutSeq: number;
793
+ }, {
794
+ id: string;
795
+ status: string;
796
+ isArchived: boolean;
797
+ createdBy: string;
798
+ createdAt: Date;
799
+ updatedAt: Date;
800
+ balanceCents: bigint;
801
+ description: string | null;
802
+ propertyId: string;
803
+ payoutId: number;
804
+ bsb: string;
805
+ accountNumber: string;
806
+ cmaSeq: number;
807
+ country: string;
808
+ stateCode: string;
809
+ bankCode: string;
810
+ accountName: string;
811
+ currentReceiveSeq: number;
812
+ currentPayoutSeq: number;
813
+ }>>>>;
814
+ mta: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
815
+ id: z.ZodString;
816
+ name: z.ZodString;
817
+ country: z.ZodString;
818
+ stateCode: z.ZodString;
819
+ bankCode: z.ZodString;
820
+ subsidiaryId: z.ZodString;
821
+ bsb: z.ZodString;
822
+ accountNumber: z.ZodString;
823
+ balanceCents: z.ZodBigInt;
824
+ currentReceiveSeq: z.ZodNumber;
825
+ currentPayoutSeq: z.ZodNumber;
826
+ status: z.ZodString;
827
+ isArchived: z.ZodBoolean;
828
+ createdAt: z.ZodDate;
829
+ syncedAt: z.ZodNullable<z.ZodDate>;
830
+ updatedAt: z.ZodDate;
831
+ createdBy: z.ZodNullable<z.ZodString>;
832
+ updatedBy: z.ZodNullable<z.ZodString>;
833
+ }, "strip", z.ZodTypeAny, {
834
+ id: string;
835
+ status: string;
836
+ isArchived: boolean;
837
+ createdBy: string | null;
838
+ createdAt: Date;
839
+ updatedAt: Date;
840
+ syncedAt: Date | null;
841
+ balanceCents: bigint;
842
+ name: string;
843
+ bsb: string;
844
+ accountNumber: string;
845
+ updatedBy: string | null;
846
+ country: string;
847
+ stateCode: string;
848
+ bankCode: string;
849
+ currentReceiveSeq: number;
850
+ currentPayoutSeq: number;
851
+ subsidiaryId: string;
852
+ }, {
853
+ id: string;
854
+ status: string;
855
+ isArchived: boolean;
856
+ createdBy: string | null;
857
+ createdAt: Date;
858
+ updatedAt: Date;
859
+ syncedAt: Date | null;
860
+ balanceCents: bigint;
861
+ name: string;
862
+ bsb: string;
863
+ accountNumber: string;
864
+ updatedBy: string | null;
865
+ country: string;
866
+ stateCode: string;
867
+ bankCode: string;
868
+ currentReceiveSeq: number;
869
+ currentPayoutSeq: number;
870
+ subsidiaryId: string;
871
+ }>>>>;
872
+ cmaTransactions: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodArray<z.ZodObject<{
873
+ id: z.ZodString;
874
+ cmaId: z.ZodString;
875
+ sequence: z.ZodNumber;
876
+ propertyId: z.ZodNullable<z.ZodString>;
877
+ payoutId: z.ZodNullable<z.ZodString>;
878
+ inputType: z.ZodString;
879
+ creditAmountCents: z.ZodBigInt;
880
+ debitAmountCents: z.ZodBigInt;
881
+ balanceCents: z.ZodBigInt;
882
+ createType: z.ZodString;
883
+ bankRef: z.ZodNullable<z.ZodString>;
884
+ description: z.ZodNullable<z.ZodString>;
885
+ transactionType: z.ZodString;
886
+ status: z.ZodString;
887
+ isCanceled: z.ZodBoolean;
888
+ isArchived: z.ZodBoolean;
889
+ isRefunded: z.ZodBoolean;
890
+ clearedAt: z.ZodNullable<z.ZodDate>;
891
+ createdAt: z.ZodDate;
892
+ syncedAt: z.ZodNullable<z.ZodDate>;
893
+ updatedAt: z.ZodDate;
894
+ sourceTransactionId: z.ZodNullable<z.ZodString>;
895
+ cancelType: z.ZodNullable<z.ZodString>;
896
+ canceledBy: z.ZodNullable<z.ZodString>;
897
+ canceledAt: z.ZodNullable<z.ZodDate>;
898
+ canceledReason: z.ZodNullable<z.ZodString>;
899
+ createdBy: z.ZodString;
900
+ }, "strip", z.ZodTypeAny, {
901
+ id: string;
902
+ status: string;
903
+ isArchived: boolean;
904
+ createdBy: string;
905
+ createdAt: Date;
906
+ updatedAt: Date;
907
+ syncedAt: Date | null;
908
+ debitAmountCents: bigint;
909
+ creditAmountCents: bigint;
910
+ balanceCents: bigint;
911
+ description: string | null;
912
+ clearedAt: Date | null;
913
+ cmaId: string;
914
+ propertyId: string | null;
915
+ createType: string;
916
+ transactionType: string;
917
+ isCanceled: boolean;
918
+ isRefunded: boolean;
919
+ payoutId: string | null;
920
+ sequence: number;
921
+ inputType: string;
922
+ bankRef: string | null;
923
+ sourceTransactionId: string | null;
924
+ cancelType: string | null;
925
+ canceledBy: string | null;
926
+ canceledAt: Date | null;
927
+ canceledReason: string | null;
928
+ }, {
929
+ id: string;
930
+ status: string;
931
+ isArchived: boolean;
932
+ createdBy: string;
933
+ createdAt: Date;
934
+ updatedAt: Date;
935
+ syncedAt: Date | null;
936
+ debitAmountCents: bigint;
937
+ creditAmountCents: bigint;
938
+ balanceCents: bigint;
939
+ description: string | null;
940
+ clearedAt: Date | null;
941
+ cmaId: string;
942
+ propertyId: string | null;
943
+ createType: string;
944
+ transactionType: string;
945
+ isCanceled: boolean;
946
+ isRefunded: boolean;
947
+ payoutId: string | null;
948
+ sequence: number;
949
+ inputType: string;
950
+ bankRef: string | null;
951
+ sourceTransactionId: string | null;
952
+ cancelType: string | null;
953
+ canceledBy: string | null;
954
+ canceledAt: Date | null;
955
+ canceledReason: string | null;
956
+ }>, "many">>>>;
957
+ mtaTransactions: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodArray<z.ZodObject<{
958
+ id: z.ZodString;
959
+ referenceId: z.ZodNullable<z.ZodString>;
960
+ sequence: z.ZodNumber;
961
+ mtaId: z.ZodString;
962
+ propertyId: z.ZodNullable<z.ZodString>;
963
+ inputType: z.ZodString;
964
+ transactionType: z.ZodString;
965
+ creditAmountCents: z.ZodBigInt;
966
+ debitAmountCents: z.ZodBigInt;
967
+ balanceCents: z.ZodBigInt;
968
+ bankRef: z.ZodNullable<z.ZodString>;
969
+ description: z.ZodNullable<z.ZodString>;
970
+ status: z.ZodString;
971
+ isRefunded: z.ZodBoolean;
972
+ isCanceled: z.ZodBoolean;
973
+ isArchived: z.ZodBoolean;
974
+ clearedAt: z.ZodNullable<z.ZodDate>;
975
+ createdAt: z.ZodDate;
976
+ syncedAt: z.ZodDate;
977
+ updatedAt: z.ZodDate;
978
+ note: z.ZodNullable<z.ZodString>;
979
+ sourceTransactionId: z.ZodNullable<z.ZodString>;
980
+ cancelType: z.ZodNullable<z.ZodString>;
981
+ canceledBy: z.ZodNullable<z.ZodString>;
982
+ canceledAt: z.ZodNullable<z.ZodDate>;
983
+ canceledReason: z.ZodNullable<z.ZodString>;
984
+ createdBy: z.ZodNullable<z.ZodString>;
985
+ payoutId: z.ZodNullable<z.ZodString>;
986
+ }, "strip", z.ZodTypeAny, {
987
+ id: string;
988
+ status: string;
989
+ isArchived: boolean;
990
+ createdBy: string | null;
991
+ createdAt: Date;
992
+ updatedAt: Date;
993
+ syncedAt: Date;
994
+ debitAmountCents: bigint;
995
+ creditAmountCents: bigint;
996
+ balanceCents: bigint;
997
+ mtaId: string;
998
+ description: string | null;
999
+ clearedAt: Date | null;
1000
+ propertyId: string | null;
1001
+ transactionType: string;
1002
+ isCanceled: boolean;
1003
+ isRefunded: boolean;
1004
+ payoutId: string | null;
1005
+ sequence: number;
1006
+ inputType: string;
1007
+ bankRef: string | null;
1008
+ sourceTransactionId: string | null;
1009
+ cancelType: string | null;
1010
+ canceledBy: string | null;
1011
+ canceledAt: Date | null;
1012
+ canceledReason: string | null;
1013
+ referenceId: string | null;
1014
+ note: string | null;
1015
+ }, {
1016
+ id: string;
1017
+ status: string;
1018
+ isArchived: boolean;
1019
+ createdBy: string | null;
1020
+ createdAt: Date;
1021
+ updatedAt: Date;
1022
+ syncedAt: Date;
1023
+ debitAmountCents: bigint;
1024
+ creditAmountCents: bigint;
1025
+ balanceCents: bigint;
1026
+ mtaId: string;
1027
+ description: string | null;
1028
+ clearedAt: Date | null;
1029
+ propertyId: string | null;
1030
+ transactionType: string;
1031
+ isCanceled: boolean;
1032
+ isRefunded: boolean;
1033
+ payoutId: string | null;
1034
+ sequence: number;
1035
+ inputType: string;
1036
+ bankRef: string | null;
1037
+ sourceTransactionId: string | null;
1038
+ cancelType: string | null;
1039
+ canceledBy: string | null;
1040
+ canceledAt: Date | null;
1041
+ canceledReason: string | null;
1042
+ referenceId: string | null;
1043
+ note: string | null;
1044
+ }>, "many">>>>;
1045
+ }, "cma" | "mta" | "cmaTransactions" | "mtaTransactions">, "strip", z.ZodTypeAny, {
1046
+ id: string;
1047
+ status: string;
1048
+ isArchived: boolean;
1049
+ createdAt: Date;
1050
+ updatedAt: Date;
1051
+ syncedAt: Date;
1052
+ balanceCents: number | bigint;
1053
+ customerId: string;
1054
+ projectId: string;
1055
+ lotDetail: string | null;
1056
+ propertyAddress: string;
1057
+ stage: string;
1058
+ mtaId: string;
1059
+ mtaBalanceCents: number | bigint;
1060
+ cmaBalanceCents: number | bigint;
1061
+ customer?: {
1062
+ id: string;
1063
+ status: string;
1064
+ isArchived: boolean;
1065
+ createdAt: Date;
1066
+ updatedAt: Date;
1067
+ fullName: string | null;
1068
+ mobile: string | null;
1069
+ email: string;
1070
+ syncedAt: Date;
1071
+ } | null | undefined;
1072
+ buyerName?: string | null | undefined;
1073
+ project?: {
1074
+ id: string;
1075
+ status: string;
1076
+ isArchived: boolean;
1077
+ createdAt: Date;
1078
+ updatedAt: Date;
1079
+ type: string;
1080
+ syncedAt: Date;
1081
+ mtaId: string | null;
1082
+ name: string;
1083
+ developerId: string;
1084
+ state: string;
1085
+ developer?: {
1086
+ id: string;
1087
+ status: string;
1088
+ isArchived: boolean;
1089
+ createdAt: Date;
1090
+ updatedAt: Date;
1091
+ syncedAt: Date;
1092
+ companyName: string | null;
1093
+ } | null | undefined;
1094
+ } | null | undefined;
1095
+ }, {
1096
+ id: string;
1097
+ status: string;
1098
+ isArchived: boolean;
1099
+ createdAt: Date;
1100
+ updatedAt: Date;
1101
+ syncedAt: Date;
1102
+ balanceCents: number | bigint;
1103
+ customerId: string;
1104
+ projectId: string;
1105
+ lotDetail: string | null;
1106
+ propertyAddress: string;
1107
+ stage: string;
1108
+ mtaId: string;
1109
+ mtaBalanceCents: number | bigint;
1110
+ cmaBalanceCents: number | bigint;
1111
+ customer?: {
1112
+ id: string;
1113
+ status: string;
1114
+ isArchived: boolean;
1115
+ createdAt: Date;
1116
+ updatedAt: Date;
1117
+ fullName: string | null;
1118
+ mobile: string | null;
1119
+ email: string;
1120
+ syncedAt: Date;
1121
+ } | null | undefined;
1122
+ buyerName?: string | null | undefined;
1123
+ project?: {
1124
+ id: string;
1125
+ status: string;
1126
+ isArchived: boolean;
1127
+ createdAt: Date;
1128
+ updatedAt: Date;
1129
+ type: string;
1130
+ syncedAt: Date;
1131
+ mtaId: string | null;
1132
+ name: string;
1133
+ developerId: string;
1134
+ state: string;
1135
+ developer?: {
1136
+ id: string;
1137
+ status: string;
1138
+ isArchived: boolean;
1139
+ createdAt: Date;
1140
+ updatedAt: Date;
1141
+ syncedAt: Date;
1142
+ companyName: string | null;
1143
+ } | null | undefined;
1144
+ } | null | undefined;
1145
+ }>>>;
1146
+ }, "strip", z.ZodTypeAny, {
1147
+ id: string;
1148
+ status: "active" | "inactive";
1149
+ isArchived: boolean;
1150
+ createdBy: string;
1151
+ createdAt: Date;
1152
+ updatedAt: Date;
1153
+ balanceCents: number;
1154
+ description: string | null;
1155
+ propertyId: string;
1156
+ payoutId: number;
1157
+ bsb: string | null;
1158
+ accountNumber: string | null;
1159
+ cmaSeq: number;
1160
+ country: string;
1161
+ stateCode: import("@mikemo-coposit/am-zshared").AuStateCode;
1162
+ bankCode: import("@mikemo-coposit/am-zshared").AuTrustAccountBankCode;
1163
+ accountName: string;
1164
+ currentReceiveSeq: number;
1165
+ currentPayoutSeq: number;
1166
+ property?: {
1167
+ id: string;
1168
+ status: string;
1169
+ isArchived: boolean;
1170
+ createdAt: Date;
1171
+ updatedAt: Date;
1172
+ syncedAt: Date;
1173
+ balanceCents: number | bigint;
1174
+ customerId: string;
1175
+ projectId: string;
1176
+ lotDetail: string | null;
1177
+ propertyAddress: string;
1178
+ stage: string;
1179
+ mtaId: string;
1180
+ mtaBalanceCents: number | bigint;
1181
+ cmaBalanceCents: number | bigint;
1182
+ customer?: {
1183
+ id: string;
1184
+ status: string;
1185
+ isArchived: boolean;
1186
+ createdAt: Date;
1187
+ updatedAt: Date;
1188
+ fullName: string | null;
1189
+ mobile: string | null;
1190
+ email: string;
1191
+ syncedAt: Date;
1192
+ } | null | undefined;
1193
+ buyerName?: string | null | undefined;
1194
+ project?: {
1195
+ id: string;
1196
+ status: string;
1197
+ isArchived: boolean;
1198
+ createdAt: Date;
1199
+ updatedAt: Date;
1200
+ type: string;
1201
+ syncedAt: Date;
1202
+ mtaId: string | null;
1203
+ name: string;
1204
+ developerId: string;
1205
+ state: string;
1206
+ developer?: {
1207
+ id: string;
1208
+ status: string;
1209
+ isArchived: boolean;
1210
+ createdAt: Date;
1211
+ updatedAt: Date;
1212
+ syncedAt: Date;
1213
+ companyName: string | null;
1214
+ } | null | undefined;
1215
+ } | null | undefined;
1216
+ } | undefined;
1217
+ }, {
1218
+ id: string;
1219
+ status: string;
1220
+ isArchived: boolean;
1221
+ createdBy: string;
1222
+ createdAt: Date;
1223
+ updatedAt: Date;
1224
+ balanceCents: string | number | bigint;
1225
+ description: string | null;
1226
+ propertyId: string;
1227
+ payoutId: number;
1228
+ bsb: string;
1229
+ accountNumber: string;
1230
+ cmaSeq: number;
1231
+ country: string;
1232
+ stateCode: string;
1233
+ bankCode: string;
1234
+ accountName: string;
1235
+ currentReceiveSeq: number;
1236
+ currentPayoutSeq: number;
1237
+ property?: {
1238
+ id: string;
1239
+ status: string;
1240
+ isArchived: boolean;
1241
+ createdAt: Date;
1242
+ updatedAt: Date;
1243
+ syncedAt: Date;
1244
+ balanceCents: number | bigint;
1245
+ customerId: string;
1246
+ projectId: string;
1247
+ lotDetail: string | null;
1248
+ propertyAddress: string;
1249
+ stage: string;
1250
+ mtaId: string;
1251
+ mtaBalanceCents: number | bigint;
1252
+ cmaBalanceCents: number | bigint;
1253
+ customer?: {
1254
+ id: string;
1255
+ status: string;
1256
+ isArchived: boolean;
1257
+ createdAt: Date;
1258
+ updatedAt: Date;
1259
+ fullName: string | null;
1260
+ mobile: string | null;
1261
+ email: string;
1262
+ syncedAt: Date;
1263
+ } | null | undefined;
1264
+ buyerName?: string | null | undefined;
1265
+ project?: {
1266
+ id: string;
1267
+ status: string;
1268
+ isArchived: boolean;
1269
+ createdAt: Date;
1270
+ updatedAt: Date;
1271
+ type: string;
1272
+ syncedAt: Date;
1273
+ mtaId: string | null;
1274
+ name: string;
1275
+ developerId: string;
1276
+ state: string;
1277
+ developer?: {
1278
+ id: string;
1279
+ status: string;
1280
+ isArchived: boolean;
1281
+ createdAt: Date;
1282
+ updatedAt: Date;
1283
+ syncedAt: Date;
1284
+ companyName: string | null;
1285
+ } | null | undefined;
1286
+ } | null | undefined;
1287
+ } | undefined;
1288
+ }>>>;
1289
+ }, "strip", z.ZodTypeAny, {
1290
+ id: string;
1291
+ status: import("../..").AccountPeriodStatus;
1292
+ isArchived: boolean;
1293
+ createdAt: Date;
1294
+ updatedAt: Date;
1295
+ cmaId: string;
1296
+ endDate: Date | null;
1297
+ closingDescription: string | null;
1298
+ closedAt: Date | null;
1299
+ closedBy: string | null;
1300
+ startDate: Date;
1301
+ openingBalanceCents: number;
1302
+ cma?: {
1303
+ id: string;
1304
+ status: "active" | "inactive";
1305
+ isArchived: boolean;
1306
+ createdBy: string;
1307
+ createdAt: Date;
1308
+ updatedAt: Date;
1309
+ balanceCents: number;
1310
+ description: string | null;
1311
+ propertyId: string;
1312
+ payoutId: number;
1313
+ bsb: string | null;
1314
+ accountNumber: string | null;
1315
+ cmaSeq: number;
1316
+ country: string;
1317
+ stateCode: import("@mikemo-coposit/am-zshared").AuStateCode;
1318
+ bankCode: import("@mikemo-coposit/am-zshared").AuTrustAccountBankCode;
1319
+ accountName: string;
1320
+ currentReceiveSeq: number;
1321
+ currentPayoutSeq: number;
1322
+ property?: {
1323
+ id: string;
1324
+ status: string;
1325
+ isArchived: boolean;
1326
+ createdAt: Date;
1327
+ updatedAt: Date;
1328
+ syncedAt: Date;
1329
+ balanceCents: number | bigint;
1330
+ customerId: string;
1331
+ projectId: string;
1332
+ lotDetail: string | null;
1333
+ propertyAddress: string;
1334
+ stage: string;
1335
+ mtaId: string;
1336
+ mtaBalanceCents: number | bigint;
1337
+ cmaBalanceCents: number | bigint;
1338
+ customer?: {
1339
+ id: string;
1340
+ status: string;
1341
+ isArchived: boolean;
1342
+ createdAt: Date;
1343
+ updatedAt: Date;
1344
+ fullName: string | null;
1345
+ mobile: string | null;
1346
+ email: string;
1347
+ syncedAt: Date;
1348
+ } | null | undefined;
1349
+ buyerName?: string | null | undefined;
1350
+ project?: {
1351
+ id: string;
1352
+ status: string;
1353
+ isArchived: boolean;
1354
+ createdAt: Date;
1355
+ updatedAt: Date;
1356
+ type: string;
1357
+ syncedAt: Date;
1358
+ mtaId: string | null;
1359
+ name: string;
1360
+ developerId: string;
1361
+ state: string;
1362
+ developer?: {
1363
+ id: string;
1364
+ status: string;
1365
+ isArchived: boolean;
1366
+ createdAt: Date;
1367
+ updatedAt: Date;
1368
+ syncedAt: Date;
1369
+ companyName: string | null;
1370
+ } | null | undefined;
1371
+ } | null | undefined;
1372
+ } | undefined;
1373
+ } | undefined;
1374
+ closingBalanceCents?: number | null | undefined;
1375
+ reconciledAmountCents?: number | null | undefined;
1376
+ unreconciledAmountCents?: number | null | undefined;
1377
+ totalReconciledAmountCents?: number | null | undefined;
1378
+ }, {
1379
+ id: string;
1380
+ status: string;
1381
+ isArchived: boolean;
1382
+ createdAt: Date;
1383
+ updatedAt: Date;
1384
+ cmaId: string;
1385
+ endDate: Date | null;
1386
+ closingDescription: string | null;
1387
+ closedAt: Date | null;
1388
+ closedBy: string | null;
1389
+ startDate: Date;
1390
+ openingBalanceCents: string | number | bigint;
1391
+ cma?: {
1392
+ id: string;
1393
+ status: string;
1394
+ isArchived: boolean;
1395
+ createdBy: string;
1396
+ createdAt: Date;
1397
+ updatedAt: Date;
1398
+ balanceCents: string | number | bigint;
1399
+ description: string | null;
1400
+ propertyId: string;
1401
+ payoutId: number;
1402
+ bsb: string;
1403
+ accountNumber: string;
1404
+ cmaSeq: number;
1405
+ country: string;
1406
+ stateCode: string;
1407
+ bankCode: string;
1408
+ accountName: string;
1409
+ currentReceiveSeq: number;
1410
+ currentPayoutSeq: number;
1411
+ property?: {
1412
+ id: string;
1413
+ status: string;
1414
+ isArchived: boolean;
1415
+ createdAt: Date;
1416
+ updatedAt: Date;
1417
+ syncedAt: Date;
1418
+ balanceCents: number | bigint;
1419
+ customerId: string;
1420
+ projectId: string;
1421
+ lotDetail: string | null;
1422
+ propertyAddress: string;
1423
+ stage: string;
1424
+ mtaId: string;
1425
+ mtaBalanceCents: number | bigint;
1426
+ cmaBalanceCents: number | bigint;
1427
+ customer?: {
1428
+ id: string;
1429
+ status: string;
1430
+ isArchived: boolean;
1431
+ createdAt: Date;
1432
+ updatedAt: Date;
1433
+ fullName: string | null;
1434
+ mobile: string | null;
1435
+ email: string;
1436
+ syncedAt: Date;
1437
+ } | null | undefined;
1438
+ buyerName?: string | null | undefined;
1439
+ project?: {
1440
+ id: string;
1441
+ status: string;
1442
+ isArchived: boolean;
1443
+ createdAt: Date;
1444
+ updatedAt: Date;
1445
+ type: string;
1446
+ syncedAt: Date;
1447
+ mtaId: string | null;
1448
+ name: string;
1449
+ developerId: string;
1450
+ state: string;
1451
+ developer?: {
1452
+ id: string;
1453
+ status: string;
1454
+ isArchived: boolean;
1455
+ createdAt: Date;
1456
+ updatedAt: Date;
1457
+ syncedAt: Date;
1458
+ companyName: string | null;
1459
+ } | null | undefined;
1460
+ } | null | undefined;
1461
+ } | undefined;
1462
+ } | undefined;
1463
+ closingBalanceCents?: string | number | bigint | null | undefined;
1464
+ reconciledAmountCents?: string | number | bigint | null | undefined;
1465
+ unreconciledAmountCents?: string | number | bigint | null | undefined;
1466
+ totalReconciledAmountCents?: string | number | bigint | null | undefined;
1467
+ }>>>;
15
1468
  }, "strip", z.ZodTypeAny, {
16
1469
  id: string;
17
- status: string;
18
- isArchived: boolean;
19
- createdAt: Date;
20
- updatedAt: Date;
21
- createdBy: string;
22
1470
  cmaTransactionId: string;
23
1471
  accountPeriodId: string | null;
24
1472
  reconciledByReconciliationId: string;
25
1473
  reconciledAt: Date;
26
- }, {
27
- id: string;
28
1474
  status: string;
29
1475
  isArchived: boolean;
1476
+ createdBy: string;
30
1477
  createdAt: Date;
31
1478
  updatedAt: Date;
32
- createdBy: string;
1479
+ cmaTransaction?: ({
1480
+ id: string;
1481
+ status: "clearing" | "cleared" | "reconciled";
1482
+ isArchived: boolean;
1483
+ createdAt: Date;
1484
+ updatedAt: Date;
1485
+ syncedAt: Date | null;
1486
+ debitAmountCents: number;
1487
+ creditAmountCents: number;
1488
+ balanceCents: number;
1489
+ description: string | null;
1490
+ clearedAt: Date | null;
1491
+ cmaId: string;
1492
+ propertyId: string | null;
1493
+ createType: string;
1494
+ transactionType: string;
1495
+ isCanceled: boolean;
1496
+ isRefunded: boolean;
1497
+ payoutId: string | null;
1498
+ sequence: number;
1499
+ inputType: import("../..").CmaTransactionInputType;
1500
+ bankRef: string | null;
1501
+ sourceTransactionId: string | null;
1502
+ cancelType: string | null;
1503
+ canceledAt: Date | null;
1504
+ canceledReason: string | null;
1505
+ createdBy?: string | {
1506
+ id: string;
1507
+ email: string;
1508
+ fullName?: string | null | undefined;
1509
+ firstName?: string | null | undefined;
1510
+ lastName?: string | null | undefined;
1511
+ } | null | undefined;
1512
+ canceledBy?: string | {
1513
+ id: string;
1514
+ email: string;
1515
+ fullName?: string | null | undefined;
1516
+ firstName?: string | null | undefined;
1517
+ lastName?: string | null | undefined;
1518
+ } | null | undefined;
1519
+ property?: {
1520
+ id: string;
1521
+ status: string;
1522
+ isArchived: boolean;
1523
+ createdAt: Date;
1524
+ updatedAt: Date;
1525
+ syncedAt: Date;
1526
+ balanceCents: number | bigint;
1527
+ customerId: string;
1528
+ projectId: string;
1529
+ lotDetail: string | null;
1530
+ propertyAddress: string;
1531
+ stage: string;
1532
+ mtaId: string;
1533
+ mtaBalanceCents: number | bigint;
1534
+ cmaBalanceCents: number | bigint;
1535
+ customer?: {
1536
+ id: string;
1537
+ status: string;
1538
+ isArchived: boolean;
1539
+ createdAt: Date;
1540
+ updatedAt: Date;
1541
+ fullName: string | null;
1542
+ mobile: string | null;
1543
+ email: string;
1544
+ syncedAt: Date;
1545
+ } | null | undefined;
1546
+ buyerName?: string | null | undefined;
1547
+ project?: {
1548
+ id: string;
1549
+ status: string;
1550
+ isArchived: boolean;
1551
+ createdAt: Date;
1552
+ updatedAt: Date;
1553
+ type: string;
1554
+ syncedAt: Date;
1555
+ mtaId: string | null;
1556
+ name: string;
1557
+ developerId: string;
1558
+ state: string;
1559
+ developer?: {
1560
+ id: string;
1561
+ status: string;
1562
+ isArchived: boolean;
1563
+ createdAt: Date;
1564
+ updatedAt: Date;
1565
+ syncedAt: Date;
1566
+ companyName: string | null;
1567
+ } | null | undefined;
1568
+ } | null | undefined;
1569
+ } | null | undefined;
1570
+ } & {
1571
+ cma?: z.output<typeof import("..").cmaEntitySchema> | null | undefined;
1572
+ sourceTransaction?: Omit<{
1573
+ id: string;
1574
+ status: "clearing" | "cleared" | "reconciled";
1575
+ isArchived: boolean;
1576
+ createdAt: Date;
1577
+ updatedAt: Date;
1578
+ syncedAt: Date | null;
1579
+ debitAmountCents: number;
1580
+ creditAmountCents: number;
1581
+ balanceCents: number;
1582
+ description: string | null;
1583
+ clearedAt: Date | null;
1584
+ cmaId: string;
1585
+ propertyId: string | null;
1586
+ createType: string;
1587
+ transactionType: string;
1588
+ isCanceled: boolean;
1589
+ isRefunded: boolean;
1590
+ payoutId: string | null;
1591
+ sequence: number;
1592
+ inputType: import("../..").CmaTransactionInputType;
1593
+ bankRef: string | null;
1594
+ sourceTransactionId: string | null;
1595
+ cancelType: string | null;
1596
+ canceledAt: Date | null;
1597
+ canceledReason: string | null;
1598
+ createdBy?: string | {
1599
+ id: string;
1600
+ email: string;
1601
+ fullName?: string | null | undefined;
1602
+ firstName?: string | null | undefined;
1603
+ lastName?: string | null | undefined;
1604
+ } | null | undefined;
1605
+ canceledBy?: string | {
1606
+ id: string;
1607
+ email: string;
1608
+ fullName?: string | null | undefined;
1609
+ firstName?: string | null | undefined;
1610
+ lastName?: string | null | undefined;
1611
+ } | null | undefined;
1612
+ property?: {
1613
+ id: string;
1614
+ status: string;
1615
+ isArchived: boolean;
1616
+ createdAt: Date;
1617
+ updatedAt: Date;
1618
+ syncedAt: Date;
1619
+ balanceCents: number | bigint;
1620
+ customerId: string;
1621
+ projectId: string;
1622
+ lotDetail: string | null;
1623
+ propertyAddress: string;
1624
+ stage: string;
1625
+ mtaId: string;
1626
+ mtaBalanceCents: number | bigint;
1627
+ cmaBalanceCents: number | bigint;
1628
+ customer?: {
1629
+ id: string;
1630
+ status: string;
1631
+ isArchived: boolean;
1632
+ createdAt: Date;
1633
+ updatedAt: Date;
1634
+ fullName: string | null;
1635
+ mobile: string | null;
1636
+ email: string;
1637
+ syncedAt: Date;
1638
+ } | null | undefined;
1639
+ buyerName?: string | null | undefined;
1640
+ project?: {
1641
+ id: string;
1642
+ status: string;
1643
+ isArchived: boolean;
1644
+ createdAt: Date;
1645
+ updatedAt: Date;
1646
+ type: string;
1647
+ syncedAt: Date;
1648
+ mtaId: string | null;
1649
+ name: string;
1650
+ developerId: string;
1651
+ state: string;
1652
+ developer?: {
1653
+ id: string;
1654
+ status: string;
1655
+ isArchived: boolean;
1656
+ createdAt: Date;
1657
+ updatedAt: Date;
1658
+ syncedAt: Date;
1659
+ companyName: string | null;
1660
+ } | null | undefined;
1661
+ } | null | undefined;
1662
+ } | null | undefined;
1663
+ } & any, "cma"> | null | undefined;
1664
+ subsequentTransactions?: Omit<{
1665
+ id: string;
1666
+ status: "clearing" | "cleared" | "reconciled";
1667
+ isArchived: boolean;
1668
+ createdAt: Date;
1669
+ updatedAt: Date;
1670
+ syncedAt: Date | null;
1671
+ debitAmountCents: number;
1672
+ creditAmountCents: number;
1673
+ balanceCents: number;
1674
+ description: string | null;
1675
+ clearedAt: Date | null;
1676
+ cmaId: string;
1677
+ propertyId: string | null;
1678
+ createType: string;
1679
+ transactionType: string;
1680
+ isCanceled: boolean;
1681
+ isRefunded: boolean;
1682
+ payoutId: string | null;
1683
+ sequence: number;
1684
+ inputType: import("../..").CmaTransactionInputType;
1685
+ bankRef: string | null;
1686
+ sourceTransactionId: string | null;
1687
+ cancelType: string | null;
1688
+ canceledAt: Date | null;
1689
+ canceledReason: string | null;
1690
+ createdBy?: string | {
1691
+ id: string;
1692
+ email: string;
1693
+ fullName?: string | null | undefined;
1694
+ firstName?: string | null | undefined;
1695
+ lastName?: string | null | undefined;
1696
+ } | null | undefined;
1697
+ canceledBy?: string | {
1698
+ id: string;
1699
+ email: string;
1700
+ fullName?: string | null | undefined;
1701
+ firstName?: string | null | undefined;
1702
+ lastName?: string | null | undefined;
1703
+ } | null | undefined;
1704
+ property?: {
1705
+ id: string;
1706
+ status: string;
1707
+ isArchived: boolean;
1708
+ createdAt: Date;
1709
+ updatedAt: Date;
1710
+ syncedAt: Date;
1711
+ balanceCents: number | bigint;
1712
+ customerId: string;
1713
+ projectId: string;
1714
+ lotDetail: string | null;
1715
+ propertyAddress: string;
1716
+ stage: string;
1717
+ mtaId: string;
1718
+ mtaBalanceCents: number | bigint;
1719
+ cmaBalanceCents: number | bigint;
1720
+ customer?: {
1721
+ id: string;
1722
+ status: string;
1723
+ isArchived: boolean;
1724
+ createdAt: Date;
1725
+ updatedAt: Date;
1726
+ fullName: string | null;
1727
+ mobile: string | null;
1728
+ email: string;
1729
+ syncedAt: Date;
1730
+ } | null | undefined;
1731
+ buyerName?: string | null | undefined;
1732
+ project?: {
1733
+ id: string;
1734
+ status: string;
1735
+ isArchived: boolean;
1736
+ createdAt: Date;
1737
+ updatedAt: Date;
1738
+ type: string;
1739
+ syncedAt: Date;
1740
+ mtaId: string | null;
1741
+ name: string;
1742
+ developerId: string;
1743
+ state: string;
1744
+ developer?: {
1745
+ id: string;
1746
+ status: string;
1747
+ isArchived: boolean;
1748
+ createdAt: Date;
1749
+ updatedAt: Date;
1750
+ syncedAt: Date;
1751
+ companyName: string | null;
1752
+ } | null | undefined;
1753
+ } | null | undefined;
1754
+ } | null | undefined;
1755
+ } & any, "cma">[] | null | undefined;
1756
+ reconciledTransactions?: z.output<typeof cmaReconciledTransactionRestResSchema>[] | null | undefined;
1757
+ isReceipt?: boolean | null | undefined;
1758
+ isPayment?: boolean | null | undefined;
1759
+ isReconciled?: boolean | null | undefined;
1760
+ amountStr?: string | null | undefined;
1761
+ transactionNumber?: string | null | undefined;
1762
+ isCancelable?: boolean | null | undefined;
1763
+ payout?: z.output<typeof import("..").payoutEntitySchema> | null | undefined;
1764
+ }) | undefined;
1765
+ accountPeriod?: {
1766
+ id: string;
1767
+ status: import("../..").AccountPeriodStatus;
1768
+ isArchived: boolean;
1769
+ createdAt: Date;
1770
+ updatedAt: Date;
1771
+ cmaId: string;
1772
+ endDate: Date | null;
1773
+ closingDescription: string | null;
1774
+ closedAt: Date | null;
1775
+ closedBy: string | null;
1776
+ startDate: Date;
1777
+ openingBalanceCents: number;
1778
+ cma?: {
1779
+ id: string;
1780
+ status: "active" | "inactive";
1781
+ isArchived: boolean;
1782
+ createdBy: string;
1783
+ createdAt: Date;
1784
+ updatedAt: Date;
1785
+ balanceCents: number;
1786
+ description: string | null;
1787
+ propertyId: string;
1788
+ payoutId: number;
1789
+ bsb: string | null;
1790
+ accountNumber: string | null;
1791
+ cmaSeq: number;
1792
+ country: string;
1793
+ stateCode: import("@mikemo-coposit/am-zshared").AuStateCode;
1794
+ bankCode: import("@mikemo-coposit/am-zshared").AuTrustAccountBankCode;
1795
+ accountName: string;
1796
+ currentReceiveSeq: number;
1797
+ currentPayoutSeq: number;
1798
+ property?: {
1799
+ id: string;
1800
+ status: string;
1801
+ isArchived: boolean;
1802
+ createdAt: Date;
1803
+ updatedAt: Date;
1804
+ syncedAt: Date;
1805
+ balanceCents: number | bigint;
1806
+ customerId: string;
1807
+ projectId: string;
1808
+ lotDetail: string | null;
1809
+ propertyAddress: string;
1810
+ stage: string;
1811
+ mtaId: string;
1812
+ mtaBalanceCents: number | bigint;
1813
+ cmaBalanceCents: number | bigint;
1814
+ customer?: {
1815
+ id: string;
1816
+ status: string;
1817
+ isArchived: boolean;
1818
+ createdAt: Date;
1819
+ updatedAt: Date;
1820
+ fullName: string | null;
1821
+ mobile: string | null;
1822
+ email: string;
1823
+ syncedAt: Date;
1824
+ } | null | undefined;
1825
+ buyerName?: string | null | undefined;
1826
+ project?: {
1827
+ id: string;
1828
+ status: string;
1829
+ isArchived: boolean;
1830
+ createdAt: Date;
1831
+ updatedAt: Date;
1832
+ type: string;
1833
+ syncedAt: Date;
1834
+ mtaId: string | null;
1835
+ name: string;
1836
+ developerId: string;
1837
+ state: string;
1838
+ developer?: {
1839
+ id: string;
1840
+ status: string;
1841
+ isArchived: boolean;
1842
+ createdAt: Date;
1843
+ updatedAt: Date;
1844
+ syncedAt: Date;
1845
+ companyName: string | null;
1846
+ } | null | undefined;
1847
+ } | null | undefined;
1848
+ } | undefined;
1849
+ } | undefined;
1850
+ closingBalanceCents?: number | null | undefined;
1851
+ reconciledAmountCents?: number | null | undefined;
1852
+ unreconciledAmountCents?: number | null | undefined;
1853
+ totalReconciledAmountCents?: number | null | undefined;
1854
+ } | undefined;
1855
+ }, {
1856
+ id: string;
33
1857
  cmaTransactionId: string;
34
1858
  accountPeriodId: string | null;
35
1859
  reconciledByReconciliationId: string;
36
1860
  reconciledAt: Date;
1861
+ status: string;
1862
+ isArchived: boolean;
1863
+ createdBy: string;
1864
+ createdAt: Date;
1865
+ updatedAt: Date;
1866
+ cmaTransaction?: ({
1867
+ id: string;
1868
+ status: string;
1869
+ isArchived: boolean;
1870
+ createdAt: Date;
1871
+ updatedAt: Date;
1872
+ syncedAt: Date | null;
1873
+ debitAmountCents: string | number | bigint;
1874
+ creditAmountCents: string | number | bigint;
1875
+ balanceCents: string | number | bigint;
1876
+ description: string | null;
1877
+ clearedAt: Date | null;
1878
+ cmaId: string;
1879
+ propertyId: string | null;
1880
+ createType: string;
1881
+ transactionType: string;
1882
+ isCanceled: boolean;
1883
+ isRefunded: boolean;
1884
+ payoutId: string | null;
1885
+ sequence: number;
1886
+ inputType: string;
1887
+ bankRef: string | null;
1888
+ sourceTransactionId: string | null;
1889
+ cancelType: string | null;
1890
+ canceledAt: Date | null;
1891
+ canceledReason: string | null;
1892
+ createdBy?: string | {
1893
+ id: string;
1894
+ email: string;
1895
+ fullName?: string | null | undefined;
1896
+ firstName?: string | null | undefined;
1897
+ lastName?: string | null | undefined;
1898
+ } | null | undefined;
1899
+ canceledBy?: string | {
1900
+ id: string;
1901
+ email: string;
1902
+ fullName?: string | null | undefined;
1903
+ firstName?: string | null | undefined;
1904
+ lastName?: string | null | undefined;
1905
+ } | null | undefined;
1906
+ property?: {
1907
+ id: string;
1908
+ status: string;
1909
+ isArchived: boolean;
1910
+ createdAt: Date;
1911
+ updatedAt: Date;
1912
+ syncedAt: Date;
1913
+ balanceCents: number | bigint;
1914
+ customerId: string;
1915
+ projectId: string;
1916
+ lotDetail: string | null;
1917
+ propertyAddress: string;
1918
+ stage: string;
1919
+ mtaId: string;
1920
+ mtaBalanceCents: number | bigint;
1921
+ cmaBalanceCents: number | bigint;
1922
+ customer?: {
1923
+ id: string;
1924
+ status: string;
1925
+ isArchived: boolean;
1926
+ createdAt: Date;
1927
+ updatedAt: Date;
1928
+ fullName: string | null;
1929
+ mobile: string | null;
1930
+ email: string;
1931
+ syncedAt: Date;
1932
+ } | null | undefined;
1933
+ buyerName?: string | null | undefined;
1934
+ project?: {
1935
+ id: string;
1936
+ status: string;
1937
+ isArchived: boolean;
1938
+ createdAt: Date;
1939
+ updatedAt: Date;
1940
+ type: string;
1941
+ syncedAt: Date;
1942
+ mtaId: string | null;
1943
+ name: string;
1944
+ developerId: string;
1945
+ state: string;
1946
+ developer?: {
1947
+ id: string;
1948
+ status: string;
1949
+ isArchived: boolean;
1950
+ createdAt: Date;
1951
+ updatedAt: Date;
1952
+ syncedAt: Date;
1953
+ companyName: string | null;
1954
+ } | null | undefined;
1955
+ } | null | undefined;
1956
+ } | null | undefined;
1957
+ } & {
1958
+ cma?: z.input<typeof import("..").cmaEntitySchema> | null | undefined;
1959
+ sourceTransaction?: ({
1960
+ id: string;
1961
+ status: string;
1962
+ isArchived: boolean;
1963
+ createdAt: Date;
1964
+ updatedAt: Date;
1965
+ syncedAt: Date | null;
1966
+ debitAmountCents: string | number | bigint;
1967
+ creditAmountCents: string | number | bigint;
1968
+ balanceCents: string | number | bigint;
1969
+ description: string | null;
1970
+ clearedAt: Date | null;
1971
+ cmaId: string;
1972
+ propertyId: string | null;
1973
+ createType: string;
1974
+ transactionType: string;
1975
+ isCanceled: boolean;
1976
+ isRefunded: boolean;
1977
+ payoutId: string | null;
1978
+ sequence: number;
1979
+ inputType: string;
1980
+ bankRef: string | null;
1981
+ sourceTransactionId: string | null;
1982
+ cancelType: string | null;
1983
+ canceledAt: Date | null;
1984
+ canceledReason: string | null;
1985
+ createdBy?: string | {
1986
+ id: string;
1987
+ email: string;
1988
+ fullName?: string | null | undefined;
1989
+ firstName?: string | null | undefined;
1990
+ lastName?: string | null | undefined;
1991
+ } | null | undefined;
1992
+ canceledBy?: string | {
1993
+ id: string;
1994
+ email: string;
1995
+ fullName?: string | null | undefined;
1996
+ firstName?: string | null | undefined;
1997
+ lastName?: string | null | undefined;
1998
+ } | null | undefined;
1999
+ property?: {
2000
+ id: string;
2001
+ status: string;
2002
+ isArchived: boolean;
2003
+ createdAt: Date;
2004
+ updatedAt: Date;
2005
+ syncedAt: Date;
2006
+ balanceCents: number | bigint;
2007
+ customerId: string;
2008
+ projectId: string;
2009
+ lotDetail: string | null;
2010
+ propertyAddress: string;
2011
+ stage: string;
2012
+ mtaId: string;
2013
+ mtaBalanceCents: number | bigint;
2014
+ cmaBalanceCents: number | bigint;
2015
+ customer?: {
2016
+ id: string;
2017
+ status: string;
2018
+ isArchived: boolean;
2019
+ createdAt: Date;
2020
+ updatedAt: Date;
2021
+ fullName: string | null;
2022
+ mobile: string | null;
2023
+ email: string;
2024
+ syncedAt: Date;
2025
+ } | null | undefined;
2026
+ buyerName?: string | null | undefined;
2027
+ project?: {
2028
+ id: string;
2029
+ status: string;
2030
+ isArchived: boolean;
2031
+ createdAt: Date;
2032
+ updatedAt: Date;
2033
+ type: string;
2034
+ syncedAt: Date;
2035
+ mtaId: string | null;
2036
+ name: string;
2037
+ developerId: string;
2038
+ state: string;
2039
+ developer?: {
2040
+ id: string;
2041
+ status: string;
2042
+ isArchived: boolean;
2043
+ createdAt: Date;
2044
+ updatedAt: Date;
2045
+ syncedAt: Date;
2046
+ companyName: string | null;
2047
+ } | null | undefined;
2048
+ } | null | undefined;
2049
+ } | null | undefined;
2050
+ } & any) | null | undefined;
2051
+ subsequentTransactions?: ({
2052
+ id: string;
2053
+ status: string;
2054
+ isArchived: boolean;
2055
+ createdAt: Date;
2056
+ updatedAt: Date;
2057
+ syncedAt: Date | null;
2058
+ debitAmountCents: string | number | bigint;
2059
+ creditAmountCents: string | number | bigint;
2060
+ balanceCents: string | number | bigint;
2061
+ description: string | null;
2062
+ clearedAt: Date | null;
2063
+ cmaId: string;
2064
+ propertyId: string | null;
2065
+ createType: string;
2066
+ transactionType: string;
2067
+ isCanceled: boolean;
2068
+ isRefunded: boolean;
2069
+ payoutId: string | null;
2070
+ sequence: number;
2071
+ inputType: string;
2072
+ bankRef: string | null;
2073
+ sourceTransactionId: string | null;
2074
+ cancelType: string | null;
2075
+ canceledAt: Date | null;
2076
+ canceledReason: string | null;
2077
+ createdBy?: string | {
2078
+ id: string;
2079
+ email: string;
2080
+ fullName?: string | null | undefined;
2081
+ firstName?: string | null | undefined;
2082
+ lastName?: string | null | undefined;
2083
+ } | null | undefined;
2084
+ canceledBy?: string | {
2085
+ id: string;
2086
+ email: string;
2087
+ fullName?: string | null | undefined;
2088
+ firstName?: string | null | undefined;
2089
+ lastName?: string | null | undefined;
2090
+ } | null | undefined;
2091
+ property?: {
2092
+ id: string;
2093
+ status: string;
2094
+ isArchived: boolean;
2095
+ createdAt: Date;
2096
+ updatedAt: Date;
2097
+ syncedAt: Date;
2098
+ balanceCents: number | bigint;
2099
+ customerId: string;
2100
+ projectId: string;
2101
+ lotDetail: string | null;
2102
+ propertyAddress: string;
2103
+ stage: string;
2104
+ mtaId: string;
2105
+ mtaBalanceCents: number | bigint;
2106
+ cmaBalanceCents: number | bigint;
2107
+ customer?: {
2108
+ id: string;
2109
+ status: string;
2110
+ isArchived: boolean;
2111
+ createdAt: Date;
2112
+ updatedAt: Date;
2113
+ fullName: string | null;
2114
+ mobile: string | null;
2115
+ email: string;
2116
+ syncedAt: Date;
2117
+ } | null | undefined;
2118
+ buyerName?: string | null | undefined;
2119
+ project?: {
2120
+ id: string;
2121
+ status: string;
2122
+ isArchived: boolean;
2123
+ createdAt: Date;
2124
+ updatedAt: Date;
2125
+ type: string;
2126
+ syncedAt: Date;
2127
+ mtaId: string | null;
2128
+ name: string;
2129
+ developerId: string;
2130
+ state: string;
2131
+ developer?: {
2132
+ id: string;
2133
+ status: string;
2134
+ isArchived: boolean;
2135
+ createdAt: Date;
2136
+ updatedAt: Date;
2137
+ syncedAt: Date;
2138
+ companyName: string | null;
2139
+ } | null | undefined;
2140
+ } | null | undefined;
2141
+ } | null | undefined;
2142
+ } & any)[] | null | undefined;
2143
+ reconciledTransactions?: z.input<typeof cmaReconciledTransactionRestResSchema>[] | null | undefined;
2144
+ payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
2145
+ }) | undefined;
2146
+ accountPeriod?: {
2147
+ id: string;
2148
+ status: string;
2149
+ isArchived: boolean;
2150
+ createdAt: Date;
2151
+ updatedAt: Date;
2152
+ cmaId: string;
2153
+ endDate: Date | null;
2154
+ closingDescription: string | null;
2155
+ closedAt: Date | null;
2156
+ closedBy: string | null;
2157
+ startDate: Date;
2158
+ openingBalanceCents: string | number | bigint;
2159
+ cma?: {
2160
+ id: string;
2161
+ status: string;
2162
+ isArchived: boolean;
2163
+ createdBy: string;
2164
+ createdAt: Date;
2165
+ updatedAt: Date;
2166
+ balanceCents: string | number | bigint;
2167
+ description: string | null;
2168
+ propertyId: string;
2169
+ payoutId: number;
2170
+ bsb: string;
2171
+ accountNumber: string;
2172
+ cmaSeq: number;
2173
+ country: string;
2174
+ stateCode: string;
2175
+ bankCode: string;
2176
+ accountName: string;
2177
+ currentReceiveSeq: number;
2178
+ currentPayoutSeq: number;
2179
+ property?: {
2180
+ id: string;
2181
+ status: string;
2182
+ isArchived: boolean;
2183
+ createdAt: Date;
2184
+ updatedAt: Date;
2185
+ syncedAt: Date;
2186
+ balanceCents: number | bigint;
2187
+ customerId: string;
2188
+ projectId: string;
2189
+ lotDetail: string | null;
2190
+ propertyAddress: string;
2191
+ stage: string;
2192
+ mtaId: string;
2193
+ mtaBalanceCents: number | bigint;
2194
+ cmaBalanceCents: number | bigint;
2195
+ customer?: {
2196
+ id: string;
2197
+ status: string;
2198
+ isArchived: boolean;
2199
+ createdAt: Date;
2200
+ updatedAt: Date;
2201
+ fullName: string | null;
2202
+ mobile: string | null;
2203
+ email: string;
2204
+ syncedAt: Date;
2205
+ } | null | undefined;
2206
+ buyerName?: string | null | undefined;
2207
+ project?: {
2208
+ id: string;
2209
+ status: string;
2210
+ isArchived: boolean;
2211
+ createdAt: Date;
2212
+ updatedAt: Date;
2213
+ type: string;
2214
+ syncedAt: Date;
2215
+ mtaId: string | null;
2216
+ name: string;
2217
+ developerId: string;
2218
+ state: string;
2219
+ developer?: {
2220
+ id: string;
2221
+ status: string;
2222
+ isArchived: boolean;
2223
+ createdAt: Date;
2224
+ updatedAt: Date;
2225
+ syncedAt: Date;
2226
+ companyName: string | null;
2227
+ } | null | undefined;
2228
+ } | null | undefined;
2229
+ } | undefined;
2230
+ } | undefined;
2231
+ closingBalanceCents?: string | number | bigint | null | undefined;
2232
+ reconciledAmountCents?: string | number | bigint | null | undefined;
2233
+ unreconciledAmountCents?: string | number | bigint | null | undefined;
2234
+ totalReconciledAmountCents?: string | number | bigint | null | undefined;
2235
+ } | undefined;
37
2236
  }>;
38
- type Input = z.input<typeof cmaReconciledTransactionRestResBaseSchema> & {
39
- cmaTransaction?: z.input<typeof cmaTransactionRestResSchema> | null | undefined;
40
- accountPeriod?: z.input<typeof cmaAccountPeriodRestResSchema> | null | undefined;
41
- };
42
- type Output = z.output<typeof cmaReconciledTransactionRestResBaseSchema> & {
43
- cmaTransaction?: z.output<typeof cmaTransactionRestResSchema> | null | undefined;
44
- accountPeriod?: z.output<typeof cmaAccountPeriodRestResSchema> | null | undefined;
45
- };
46
- export declare const cmaReconciledTransactionRestResSchema: z.ZodType<Output, z.ZodTypeDef, Input>;
47
2237
  export type CmaReconciledTransactionRestRes = z.infer<typeof cmaReconciledTransactionRestResSchema>;
48
- export {};
49
2238
  //# sourceMappingURL=cma-reconciled-transaction.rest.schema.d.ts.map