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

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