@mikemo-coposit/am-accounting-shared 0.0.16 → 0.0.18

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 (201) hide show
  1. package/dist/cjs/constants/common/index.d.ts +2 -0
  2. package/dist/cjs/constants/common/index.d.ts.map +1 -1
  3. package/dist/cjs/constants/common/package-version.constant.d.ts +2 -0
  4. package/dist/cjs/constants/common/package-version.constant.d.ts.map +1 -0
  5. package/dist/cjs/constants/common/pagination.constant.d.ts +3 -0
  6. package/dist/cjs/constants/common/pagination.constant.d.ts.map +1 -0
  7. package/dist/cjs/constants/property/index.d.ts +1 -0
  8. package/dist/cjs/constants/property/index.d.ts.map +1 -1
  9. package/dist/cjs/constants/property/property-initial-deposit-status.constant.d.ts +22 -0
  10. package/dist/cjs/constants/property/property-initial-deposit-status.constant.d.ts.map +1 -0
  11. package/dist/cjs/constants/property/property-status.constant.d.ts +14 -4
  12. package/dist/cjs/constants/property/property-status.constant.d.ts.map +1 -1
  13. package/dist/cjs/index.js +331 -184
  14. package/dist/cjs/schemas/cma/cma-search.rest.schemal.d.ts +153 -150
  15. package/dist/cjs/schemas/cma/cma-search.rest.schemal.d.ts.map +1 -1
  16. package/dist/cjs/schemas/cma/cma.rest.schema.d.ts +26 -0
  17. package/dist/cjs/schemas/cma/cma.rest.schema.d.ts.map +1 -1
  18. package/dist/cjs/schemas/cma-account-period/cma-account-period-close.rest.schema.d.ts +1 -1
  19. package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +49 -1
  20. package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts.map +1 -1
  21. package/dist/cjs/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +26 -0
  22. package/dist/cjs/schemas/cma-account-period/cma-account-period.rest.schema.d.ts.map +1 -1
  23. package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +50 -0
  24. package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts.map +1 -1
  25. package/dist/cjs/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts +1 -1
  26. package/dist/cjs/schemas/cma-transaction/clear-cma-transaction.rest.schema.d.ts +1 -1
  27. package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts +264 -232
  28. package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -1
  29. package/dist/cjs/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +2 -0
  30. package/dist/cjs/schemas/cma-transaction/cma-transaction.rest.schema.d.ts.map +1 -1
  31. package/dist/cjs/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts +1 -1
  32. package/dist/cjs/schemas/common/date/string-to-date.schema.d.ts +3 -1
  33. package/dist/cjs/schemas/common/date/string-to-date.schema.d.ts.map +1 -1
  34. package/dist/cjs/schemas/common/date/string-to-end-of-day.schema.d.ts +2 -1
  35. package/dist/cjs/schemas/common/date/string-to-end-of-day.schema.d.ts.map +1 -1
  36. package/dist/cjs/schemas/common/date/string-to-start-of-day.schema.d.ts +2 -1
  37. package/dist/cjs/schemas/common/date/string-to-start-of-day.schema.d.ts.map +1 -1
  38. package/dist/cjs/schemas/common/search/index.d.ts +1 -0
  39. package/dist/cjs/schemas/common/search/index.d.ts.map +1 -1
  40. package/dist/cjs/schemas/common/search/number-filter.schema.d.ts +144 -35
  41. package/dist/cjs/schemas/common/search/number-filter.schema.d.ts.map +1 -1
  42. package/dist/cjs/schemas/common/search/pagination-req.schema.d.ts.map +1 -1
  43. package/dist/cjs/schemas/common/search/status-filter.schema.d.ts +155 -0
  44. package/dist/cjs/schemas/common/search/status-filter.schema.d.ts.map +1 -0
  45. package/dist/cjs/schemas/common/search/string-filter.schema.d.ts +28 -0
  46. package/dist/cjs/schemas/common/search/string-filter.schema.d.ts.map +1 -1
  47. package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +101 -49
  48. package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts.map +1 -1
  49. package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +50 -24
  50. package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts.map +1 -1
  51. package/dist/cjs/schemas/mta-reconciliation/create-mta-reconciliation.rest.schema.d.ts +1 -1
  52. package/dist/cjs/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts +1 -1
  53. package/dist/cjs/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts +260 -191
  54. package/dist/cjs/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts.map +1 -1
  55. package/dist/cjs/schemas/mta-transaction/mta-transaction.entity.schema.d.ts +18 -16
  56. package/dist/cjs/schemas/mta-transaction/mta-transaction.entity.schema.d.ts.map +1 -1
  57. package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +7 -4
  58. package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts.map +1 -1
  59. package/dist/cjs/schemas/payout/common-payout-schemas/common-payout-source-details.entity.schema.d.ts.map +1 -1
  60. package/dist/cjs/schemas/payout/common-payout-schemas/common-payout-target-details.entity.schema.d.ts.map +1 -1
  61. package/dist/cjs/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.entity.schema.d.ts +4 -0
  62. package/dist/cjs/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.entity.schema.d.ts.map +1 -1
  63. package/dist/cjs/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.rest.schema.d.ts +234 -72
  64. package/dist/cjs/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.rest.schema.d.ts.map +1 -1
  65. package/dist/cjs/schemas/payout/payout-provision-data.entity.schema.d.ts +8 -4
  66. package/dist/cjs/schemas/payout/payout-provision-data.entity.schema.d.ts.map +1 -1
  67. package/dist/cjs/schemas/payout/payout-update.rest.schema.d.ts +3 -3
  68. package/dist/cjs/schemas/payout/payout.entity.schema.d.ts +8 -4
  69. package/dist/cjs/schemas/payout/payout.entity.schema.d.ts.map +1 -1
  70. package/dist/cjs/schemas/payout/payout.rest.schema.d.ts +924 -291
  71. package/dist/cjs/schemas/payout/payout.rest.schema.d.ts.map +1 -1
  72. package/dist/cjs/schemas/payout/settlement-payout/provision-data.settlement-payout.entity.schema.d.ts +4 -0
  73. package/dist/cjs/schemas/payout/settlement-payout/provision-data.settlement-payout.entity.schema.d.ts.map +1 -1
  74. package/dist/cjs/schemas/payout/settlement-payout/update.settlement-payout.rest.schema.d.ts +4 -4
  75. package/dist/cjs/schemas/payout/unknown-payout/provision-data.unknown-payout.entity.schema.d.ts +8 -8
  76. package/dist/cjs/schemas/payout/unknown-payout/update.unknown-payout.rest.schema.d.ts +2 -2
  77. package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +100 -29
  78. package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts.map +1 -1
  79. package/dist/cjs/schemas/property/property-search.rest.schema.d.ts +136 -113
  80. package/dist/cjs/schemas/property/property-search.rest.schema.d.ts.map +1 -1
  81. package/dist/cjs/schemas/property/property.entity.schema.d.ts +8 -4
  82. package/dist/cjs/schemas/property/property.entity.schema.d.ts.map +1 -1
  83. package/dist/cjs/schemas/property/property.rest.schema.d.ts +78 -24
  84. package/dist/cjs/schemas/property/property.rest.schema.d.ts.map +1 -1
  85. package/dist/cjs/schemas/report/bank-reconciliation-summary.schema.d.ts +2 -2
  86. package/dist/cjs/schemas/report/common-report-with-cma-selection.rest.schema.d.ts +2 -2
  87. package/dist/cjs/schemas/report/common-report.rest.schema.d.ts +2 -2
  88. package/dist/cjs/schemas/report/customer-ledger.rest.schema.d.ts +2 -2
  89. package/dist/cjs/schemas/report/payment-list.rest.schema.d.ts +2 -2
  90. package/dist/cjs/schemas/report/project-ledger.rest.schema.d.ts +2 -2
  91. package/dist/cjs/schemas/report/receipt-list.rest.schema.d.ts +2 -2
  92. package/dist/cjs/schemas/report/reconciled-items-list.rest.schema.d.ts +2 -2
  93. package/dist/cjs/schemas/report/trust-trial.rest.schema.d.ts +2 -2
  94. package/dist/cjs/schemas/report/unknown-receipt-ledger.schema.d.ts +2 -2
  95. package/dist/cjs/schemas/report/unreconciled-items-list.rest.schema.d.ts +2 -2
  96. package/dist/cjs/utils/date.util.d.ts.map +1 -1
  97. package/dist/cjs/utils/property.util.d.ts +12 -2
  98. package/dist/cjs/utils/property.util.d.ts.map +1 -1
  99. package/dist/cjs/utils/transaction.util.d.ts +2 -0
  100. package/dist/cjs/utils/transaction.util.d.ts.map +1 -1
  101. package/dist/esm/constants/common/index.d.ts +2 -0
  102. package/dist/esm/constants/common/index.d.ts.map +1 -1
  103. package/dist/esm/constants/common/package-version.constant.d.ts +2 -0
  104. package/dist/esm/constants/common/package-version.constant.d.ts.map +1 -0
  105. package/dist/esm/constants/common/pagination.constant.d.ts +3 -0
  106. package/dist/esm/constants/common/pagination.constant.d.ts.map +1 -0
  107. package/dist/esm/constants/property/index.d.ts +1 -0
  108. package/dist/esm/constants/property/index.d.ts.map +1 -1
  109. package/dist/esm/constants/property/property-initial-deposit-status.constant.d.ts +22 -0
  110. package/dist/esm/constants/property/property-initial-deposit-status.constant.d.ts.map +1 -0
  111. package/dist/esm/constants/property/property-status.constant.d.ts +14 -4
  112. package/dist/esm/constants/property/property-status.constant.d.ts.map +1 -1
  113. package/dist/esm/index.mjs +263 -164
  114. package/dist/esm/schemas/cma/cma-search.rest.schemal.d.ts +153 -150
  115. package/dist/esm/schemas/cma/cma-search.rest.schemal.d.ts.map +1 -1
  116. package/dist/esm/schemas/cma/cma.rest.schema.d.ts +26 -0
  117. package/dist/esm/schemas/cma/cma.rest.schema.d.ts.map +1 -1
  118. package/dist/esm/schemas/cma-account-period/cma-account-period-close.rest.schema.d.ts +1 -1
  119. package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +49 -1
  120. package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts.map +1 -1
  121. package/dist/esm/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +26 -0
  122. package/dist/esm/schemas/cma-account-period/cma-account-period.rest.schema.d.ts.map +1 -1
  123. package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +50 -0
  124. package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts.map +1 -1
  125. package/dist/esm/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts +1 -1
  126. package/dist/esm/schemas/cma-transaction/clear-cma-transaction.rest.schema.d.ts +1 -1
  127. package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts +264 -232
  128. package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -1
  129. package/dist/esm/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +2 -0
  130. package/dist/esm/schemas/cma-transaction/cma-transaction.rest.schema.d.ts.map +1 -1
  131. package/dist/esm/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts +1 -1
  132. package/dist/esm/schemas/common/date/string-to-date.schema.d.ts +3 -1
  133. package/dist/esm/schemas/common/date/string-to-date.schema.d.ts.map +1 -1
  134. package/dist/esm/schemas/common/date/string-to-end-of-day.schema.d.ts +2 -1
  135. package/dist/esm/schemas/common/date/string-to-end-of-day.schema.d.ts.map +1 -1
  136. package/dist/esm/schemas/common/date/string-to-start-of-day.schema.d.ts +2 -1
  137. package/dist/esm/schemas/common/date/string-to-start-of-day.schema.d.ts.map +1 -1
  138. package/dist/esm/schemas/common/search/index.d.ts +1 -0
  139. package/dist/esm/schemas/common/search/index.d.ts.map +1 -1
  140. package/dist/esm/schemas/common/search/number-filter.schema.d.ts +144 -35
  141. package/dist/esm/schemas/common/search/number-filter.schema.d.ts.map +1 -1
  142. package/dist/esm/schemas/common/search/pagination-req.schema.d.ts.map +1 -1
  143. package/dist/esm/schemas/common/search/status-filter.schema.d.ts +155 -0
  144. package/dist/esm/schemas/common/search/status-filter.schema.d.ts.map +1 -0
  145. package/dist/esm/schemas/common/search/string-filter.schema.d.ts +28 -0
  146. package/dist/esm/schemas/common/search/string-filter.schema.d.ts.map +1 -1
  147. package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +101 -49
  148. package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts.map +1 -1
  149. package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +50 -24
  150. package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts.map +1 -1
  151. package/dist/esm/schemas/mta-reconciliation/create-mta-reconciliation.rest.schema.d.ts +1 -1
  152. package/dist/esm/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts +1 -1
  153. package/dist/esm/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts +260 -191
  154. package/dist/esm/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts.map +1 -1
  155. package/dist/esm/schemas/mta-transaction/mta-transaction.entity.schema.d.ts +18 -16
  156. package/dist/esm/schemas/mta-transaction/mta-transaction.entity.schema.d.ts.map +1 -1
  157. package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +7 -4
  158. package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts.map +1 -1
  159. package/dist/esm/schemas/payout/common-payout-schemas/common-payout-source-details.entity.schema.d.ts.map +1 -1
  160. package/dist/esm/schemas/payout/common-payout-schemas/common-payout-target-details.entity.schema.d.ts.map +1 -1
  161. package/dist/esm/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.entity.schema.d.ts +4 -0
  162. package/dist/esm/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.entity.schema.d.ts.map +1 -1
  163. package/dist/esm/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.rest.schema.d.ts +234 -72
  164. package/dist/esm/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.rest.schema.d.ts.map +1 -1
  165. package/dist/esm/schemas/payout/payout-provision-data.entity.schema.d.ts +8 -4
  166. package/dist/esm/schemas/payout/payout-provision-data.entity.schema.d.ts.map +1 -1
  167. package/dist/esm/schemas/payout/payout-update.rest.schema.d.ts +3 -3
  168. package/dist/esm/schemas/payout/payout.entity.schema.d.ts +8 -4
  169. package/dist/esm/schemas/payout/payout.entity.schema.d.ts.map +1 -1
  170. package/dist/esm/schemas/payout/payout.rest.schema.d.ts +924 -291
  171. package/dist/esm/schemas/payout/payout.rest.schema.d.ts.map +1 -1
  172. package/dist/esm/schemas/payout/settlement-payout/provision-data.settlement-payout.entity.schema.d.ts +4 -0
  173. package/dist/esm/schemas/payout/settlement-payout/provision-data.settlement-payout.entity.schema.d.ts.map +1 -1
  174. package/dist/esm/schemas/payout/settlement-payout/update.settlement-payout.rest.schema.d.ts +4 -4
  175. package/dist/esm/schemas/payout/unknown-payout/provision-data.unknown-payout.entity.schema.d.ts +8 -8
  176. package/dist/esm/schemas/payout/unknown-payout/update.unknown-payout.rest.schema.d.ts +2 -2
  177. package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +100 -29
  178. package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts.map +1 -1
  179. package/dist/esm/schemas/property/property-search.rest.schema.d.ts +136 -113
  180. package/dist/esm/schemas/property/property-search.rest.schema.d.ts.map +1 -1
  181. package/dist/esm/schemas/property/property.entity.schema.d.ts +8 -4
  182. package/dist/esm/schemas/property/property.entity.schema.d.ts.map +1 -1
  183. package/dist/esm/schemas/property/property.rest.schema.d.ts +78 -24
  184. package/dist/esm/schemas/property/property.rest.schema.d.ts.map +1 -1
  185. package/dist/esm/schemas/report/bank-reconciliation-summary.schema.d.ts +2 -2
  186. package/dist/esm/schemas/report/common-report-with-cma-selection.rest.schema.d.ts +2 -2
  187. package/dist/esm/schemas/report/common-report.rest.schema.d.ts +2 -2
  188. package/dist/esm/schemas/report/customer-ledger.rest.schema.d.ts +2 -2
  189. package/dist/esm/schemas/report/payment-list.rest.schema.d.ts +2 -2
  190. package/dist/esm/schemas/report/project-ledger.rest.schema.d.ts +2 -2
  191. package/dist/esm/schemas/report/receipt-list.rest.schema.d.ts +2 -2
  192. package/dist/esm/schemas/report/reconciled-items-list.rest.schema.d.ts +2 -2
  193. package/dist/esm/schemas/report/trust-trial.rest.schema.d.ts +2 -2
  194. package/dist/esm/schemas/report/unknown-receipt-ledger.schema.d.ts +2 -2
  195. package/dist/esm/schemas/report/unreconciled-items-list.rest.schema.d.ts +2 -2
  196. package/dist/esm/utils/date.util.d.ts.map +1 -1
  197. package/dist/esm/utils/property.util.d.ts +12 -2
  198. package/dist/esm/utils/property.util.d.ts.map +1 -1
  199. package/dist/esm/utils/transaction.util.d.ts +2 -0
  200. package/dist/esm/utils/transaction.util.d.ts.map +1 -1
  201. package/package.json +17 -10
package/dist/cjs/index.js CHANGED
@@ -2646,6 +2646,7 @@ var __webpack_exports__ = {};
2646
2646
  commonPayoutSourceDetailEntitySchema: ()=>commonPayoutSourceDetailEntitySchema,
2647
2647
  CmaTransactionTypeToDisplayTextMapper: ()=>CmaTransactionTypeToDisplayTextMapper,
2648
2648
  mtaTransactionRestResSchema: ()=>mtaTransactionRestResSchema,
2649
+ statusFilterSchema: ()=>statusFilterSchema,
2649
2650
  unknownPayoutProvisionDataEntitySchema: ()=>unknownPayoutProvisionDataEntitySchema,
2650
2651
  payoutBankFileDownloadHistoryEntitySchema: ()=>payoutBankFileDownloadHistoryEntitySchema,
2651
2652
  menuSchema: ()=>menuSchema,
@@ -2658,7 +2659,7 @@ var __webpack_exports__ = {};
2658
2659
  mtaEntitySchema: ()=>mtaEntitySchema,
2659
2660
  mtaPaymentMethodAccountConfigSchema: ()=>mtaPaymentMethodAccountConfigSchema,
2660
2661
  settlementPayoutProvisionDataEntitySchema: ()=>settlementPayoutProvisionDataEntitySchema,
2661
- PropertyRestResStatus: ()=>PropertyRestResStatus,
2662
+ PropertyRestResStatus: ()=>property_status_constant_PropertyRestResStatus,
2662
2663
  TRANSACTION_CANCEL: ()=>TRANSACTION_CANCEL,
2663
2664
  mtaTransactionRestResBaseSchema: ()=>mtaTransactionRestResBaseSchema,
2664
2665
  mtaAccountPeriodRestResSchema: ()=>mtaAccountPeriodRestResSchema,
@@ -2674,6 +2675,7 @@ var __webpack_exports__ = {};
2674
2675
  payoutTransactionEntitySchema: ()=>payoutTransactionEntitySchema,
2675
2676
  safeParseDateFromStr: ()=>safeParseDateFromStr,
2676
2677
  stringToBoolSchema: ()=>stringToBoolSchema,
2678
+ validateGetPropertyNameFormat: ()=>validateGetPropertyNameFormat,
2677
2679
  createCmaReconciliationRestReqSchema: ()=>createCmaReconciliationRestReqSchema,
2678
2680
  cancelCmaTransactionRestReqSchema: ()=>cancelCmaTransactionRestReqSchema,
2679
2681
  createMtaRestReqSchema: ()=>createMtaRestReqSchema,
@@ -2709,6 +2711,8 @@ var __webpack_exports__ = {};
2709
2711
  bankCodeSchema: ()=>bankCodeSchema,
2710
2712
  boolFilterBaseSchema: ()=>boolFilterBaseSchema,
2711
2713
  updateSettlementPayoutRestReqSchema: ()=>updateSettlementPayoutRestReqSchema,
2714
+ bigIntSimpleFilterSchema: ()=>bigIntSimpleFilterSchema,
2715
+ PropertyInitialDepositStatusToDisplayTextMapper: ()=>PropertyInitialDepositStatusToDisplayTextMapper,
2712
2716
  projectMtaAllocationEntitySchema: ()=>projectMtaAllocationEntitySchema,
2713
2717
  projectMtaAllocationRestResSchema: ()=>projectMtaAllocationRestResSchema,
2714
2718
  projectRestResSchema: ()=>projectRestResSchema,
@@ -2716,6 +2720,7 @@ var __webpack_exports__ = {};
2716
2720
  CmaTransactionPaymentMethod: ()=>cma_payment_method_constant_CmaTransactionPaymentMethod,
2717
2721
  balanceRestResSchema: ()=>balanceRestResSchema,
2718
2722
  bigIntFilterSchema: ()=>bigIntFilterSchema,
2723
+ PACKAGE_VERSION: ()=>"0.0.18",
2719
2724
  stateCodeSchema: ()=>stateCodeSchema,
2720
2725
  queryModeSchema: ()=>queryModeSchema,
2721
2726
  settlementPayoutTargetDetailEntitySchema: ()=>settlementPayoutTargetDetailEntitySchema,
@@ -2733,6 +2738,7 @@ var __webpack_exports__ = {};
2733
2738
  isPaymentTransaction: ()=>isPaymentTransaction,
2734
2739
  sortReqSchema: ()=>sortReqSchema,
2735
2740
  MtaTransactionExtendedStatusToDisplayTextMapper: ()=>MtaTransactionExtendedStatusToDisplayTextMapper,
2741
+ intSimpleFilterSchema: ()=>intSimpleFilterSchema,
2736
2742
  dollarsToCentsSchema: ()=>dollarsToCentsSchema,
2737
2743
  cancelPayoutPaymentRestReqSchema: ()=>cancelPayoutPaymentRestReqSchema,
2738
2744
  payoutUpdateRestReqSchema: ()=>payoutUpdateRestReqSchema,
@@ -2746,8 +2752,9 @@ var __webpack_exports__ = {};
2746
2752
  maskBankAccountNumber: ()=>maskBankAccountNumber,
2747
2753
  dateTimeFilterBaseSchema: ()=>dateTimeFilterBaseSchema,
2748
2754
  mtaToCmaPayoutPaymentEntitySchema: ()=>mtaToCmaPayoutPaymentEntitySchema,
2749
- paymentListReportRestReqSchema: ()=>paymentListReportRestReqSchema,
2755
+ PropertyInitialDepositStatus: ()=>PropertyInitialDepositStatus,
2750
2756
  mtaToCmaPayoutTargetDetailEntitySchema: ()=>mtaToCmaPayoutTargetDetailEntitySchema,
2757
+ paymentListReportRestReqSchema: ()=>paymentListReportRestReqSchema,
2751
2758
  DATE_FORMATS: ()=>DATE_FORMATS,
2752
2759
  AmmoZeptoClient: ()=>AmmoZeptoClient,
2753
2760
  reconcileMtaTransactionRestReqSchema: ()=>reconcileMtaTransactionRestReqSchema,
@@ -2776,6 +2783,7 @@ var __webpack_exports__ = {};
2776
2783
  AccountPeriodStatus: ()=>account_period_constant_AccountPeriodStatus,
2777
2784
  mtaRestResBaseSchema: ()=>mtaRestResBaseSchema,
2778
2785
  allocateMtaToProjectRestReqSchema: ()=>allocateMtaToProjectRestReqSchema,
2786
+ bigIntObjectFilterSchema: ()=>bigIntObjectFilterSchema,
2779
2787
  PayoutSourceAccountType: ()=>payout_constant_PayoutSourceAccountType,
2780
2788
  boolFilterSchema: ()=>boolFilterSchema,
2781
2789
  centsToDollarsSchema: ()=>centsToDollarsSchema,
@@ -2790,12 +2798,14 @@ var __webpack_exports__ = {};
2790
2798
  stringToStartOfDaySchema: ()=>stringToStartOfDaySchema,
2791
2799
  payoutStatusSummaryRestResSchema: ()=>payoutStatusSummaryRestResSchema,
2792
2800
  DEFAULT_DATE_FORMAT_WITH_TIME: ()=>DEFAULT_DATE_FORMAT_WITH_TIME,
2801
+ DEFAULT_PAGE: ()=>1,
2793
2802
  DEFAULT_PAYOUT_SOURCE_DESCRIPTION: ()=>DEFAULT_PAYOUT_SOURCE_DESCRIPTION,
2794
2803
  updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema: ()=>updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema,
2795
2804
  cmaSearchRestReqSchema: ()=>cmaSearchRestReqSchema,
2796
2805
  isInterestTransaction: ()=>isInterestTransaction,
2797
2806
  propertyAccountsBalanceRestResSchema: ()=>propertyAccountsBalanceRestResSchema,
2798
2807
  developerEntitySchema: ()=>developerEntitySchema,
2808
+ PropertyStatusToDisplayTextMapper: ()=>PropertyStatusToDisplayTextMapper,
2799
2809
  createMtaReconciliationRestReqSchema: ()=>createMtaReconciliationRestReqSchema,
2800
2810
  updateUnknownPayoutRestReqSchema: ()=>updateUnknownPayoutRestReqSchema,
2801
2811
  MtaReceiptTransactionType: ()=>MtaReceiptTransactionType,
@@ -2808,8 +2818,10 @@ var __webpack_exports__ = {};
2808
2818
  MtaTransactionInputTypeToDisplayText: ()=>MtaTransactionInputTypeToDisplayText,
2809
2819
  updateMenuRestReqSchema: ()=>updateMenuRestReqSchema,
2810
2820
  cmaClosedAccountPeriodRestResSchema: ()=>cmaClosedAccountPeriodRestResSchema,
2821
+ intObjectFilterSchema: ()=>intObjectFilterSchema,
2811
2822
  cmaReconciliationRestResSchema: ()=>cmaReconciliationRestResSchema,
2812
2823
  mtaPaymentMethodEntitySchema: ()=>mtaPaymentMethodEntitySchema,
2824
+ intNullableObjectFilterSchema: ()=>intNullableObjectFilterSchema,
2813
2825
  confirmPayoutBankFileProcessedRestReqSchema: ()=>confirmPayoutBankFileProcessedRestReqSchema,
2814
2826
  parseToDayjs: ()=>parseToDayjs,
2815
2827
  payoutEntitySchema: ()=>payoutEntitySchema,
@@ -2819,6 +2831,7 @@ var __webpack_exports__ = {};
2819
2831
  propertyRestResSchema: ()=>propertyRestResSchema,
2820
2832
  getPropertyName: ()=>getPropertyName,
2821
2833
  generateMtaPaymentMethodFloatAccountConfigForZepto: ()=>generateMtaPaymentMethodFloatAccountConfigForZepto,
2834
+ bigIntNullableObjectFilterSchema: ()=>bigIntNullableObjectFilterSchema,
2822
2835
  stringToEndOfDaySchema: ()=>stringToEndOfDaySchema,
2823
2836
  AccountingCommonSyncStatus: ()=>AccountingCommonSyncStatus,
2824
2837
  CmaTransactionStatus: ()=>CmaTransactionStatus,
@@ -2839,12 +2852,15 @@ var __webpack_exports__ = {};
2839
2852
  createUnknownPayoutRestReqSchema: ()=>createUnknownPayoutRestReqSchema,
2840
2853
  markCmaTransactionAsClearedRestReqSchema: ()=>markCmaTransactionAsClearedRestReqSchema,
2841
2854
  createSettlementPayoutRestReqSchema: ()=>createSettlementPayoutRestReqSchema,
2855
+ DEFAULT_PAGE_SIZE: ()=>500,
2842
2856
  InputJsonValueSchema: ()=>InputJsonValueSchema,
2843
- updateCmaSettlementPayoutRestReqSchema: ()=>updateCmaSettlementPayoutRestReqSchema,
2844
2857
  MtaPayoutTransactionType: ()=>MtaPayoutTransactionType,
2845
2858
  cmaTransactionRestResBaseSchema: ()=>cmaTransactionRestResBaseSchema,
2859
+ updateCmaSettlementPayoutRestReqSchema: ()=>updateCmaSettlementPayoutRestReqSchema,
2860
+ statusNullableFilterSchema: ()=>statusNullableFilterSchema,
2846
2861
  cmaAccountPeriodClosingSummaryRestReqSchema: ()=>cmaAccountPeriodClosingSummaryRestReqSchema,
2847
2862
  maskBankAccount: ()=>maskBankAccount,
2863
+ stringNullableFilterSchema: ()=>stringNullableFilterSchema,
2848
2864
  createSettlementPayoutTargetAccountSchema: ()=>createSettlementPayoutTargetAccountSchema,
2849
2865
  approveMtaAllocationRestReqSchema: ()=>approveMtaAllocationRestReqSchema,
2850
2866
  createMenuRestReqSchema: ()=>createMenuRestReqSchema,
@@ -2863,6 +2879,7 @@ var __webpack_exports__ = {};
2863
2879
  MtaTransactionStatusToDisplayTextMapper: ()=>MtaTransactionStatusToDisplayTextMapper,
2864
2880
  payoutRestResBaseSchema: ()=>payoutRestResBaseSchema,
2865
2881
  updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema: ()=>updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema,
2882
+ isUnknownReceiptPaidOut: ()=>isUnknownReceiptPaidOut,
2866
2883
  mtaToCmaPayoutProvisionDataRestSchema: ()=>mtaToCmaPayoutProvisionDataRestSchema,
2867
2884
  CmaStatus: ()=>CmaStatus,
2868
2885
  MtaTransactionStatus: ()=>MtaTransactionStatus,
@@ -2877,8 +2894,8 @@ var __webpack_exports__ = {};
2877
2894
  paymentProviderEntitySchema: ()=>paymentProviderEntitySchema,
2878
2895
  isUnknownTransaction: ()=>isUnknownTransaction,
2879
2896
  cmaEntitySchema: ()=>cmaEntitySchema,
2880
- maskBankBsb: ()=>maskBankBsb,
2881
2897
  projectEntitySchema: ()=>projectEntitySchema,
2898
+ maskBankBsb: ()=>maskBankBsb,
2882
2899
  mtaRestResSchema: ()=>mtaRestResSchema,
2883
2900
  updateUnknownPayoutTargetDetailRestReqSchema: ()=>updateUnknownPayoutTargetDetailRestReqSchema,
2884
2901
  generateMtaPaymentMethodAccountConfigForZepto: ()=>generateMtaPaymentMethodAccountConfigForZepto,
@@ -3110,14 +3127,14 @@ var __webpack_exports__ = {};
3110
3127
  }({});
3111
3128
  const DEFAULT_PAYOUT_TARGET_BANK_REF = {
3112
3129
  [PayoutType.TRUST_TO_CMA_PAYOUT]: ()=>'CMA Payout',
3113
- [PayoutType.CMA_SETTLEMENT_PAYOUT]: ()=>'CMA Settlement',
3130
+ [PayoutType.CMA_SETTLEMENT_PAYOUT]: ()=>'CMA Installment',
3114
3131
  [PayoutType.TRUST_REFUND_PAYOUT]: ()=>'Refund',
3115
3132
  [PayoutType.TRUST_SETTLEMENT_PAYOUT]: ()=>'Settlement',
3116
3133
  [PayoutType.UNKNOWN_PAYOUT]: ()=>'Pay Unknown'
3117
3134
  };
3118
3135
  const DEFAULT_PAYOUT_TARGET_DESCRIPTION = {
3119
3136
  [PayoutType.TRUST_TO_CMA_PAYOUT]: ()=>'CMA Payout',
3120
- [PayoutType.CMA_SETTLEMENT_PAYOUT]: ()=>'CMA Settlement',
3137
+ [PayoutType.CMA_SETTLEMENT_PAYOUT]: ()=>'CMA Installment',
3121
3138
  [PayoutType.TRUST_REFUND_PAYOUT]: ()=>'Refund',
3122
3139
  [PayoutType.TRUST_SETTLEMENT_PAYOUT]: ()=>'Settlement',
3123
3140
  [PayoutType.UNKNOWN_PAYOUT]: ()=>'Pay Unknown'
@@ -3152,14 +3169,42 @@ var __webpack_exports__ = {};
3152
3169
  PENDING_TRUST_ACCOUNT: 'pending_trust_account',
3153
3170
  ...ProjectMtaAllocationStatus
3154
3171
  };
3155
- const PropertyRestResStatus = {
3156
- ACTIVE: 'active'
3172
+ const PropertyInitialDepositStatus = {
3173
+ INIT: 'init',
3174
+ PENDING_HOLDING_DEPOSIT: 'pending_holding_deposit',
3175
+ PENDING_APPROVAL: 'pending_approval',
3176
+ PENDING_SIGNING_DEPOSIT: 'pending_signing_deposit',
3177
+ FULFILLED: 'fulfilled',
3178
+ COMPLETED: 'completed'
3179
+ };
3180
+ const PropertyInitialDepositStatusToDisplayTextMapper = {
3181
+ [PropertyInitialDepositStatus.INIT]: 'Init',
3182
+ [PropertyInitialDepositStatus.PENDING_HOLDING_DEPOSIT]: 'Pending Holding Deposit',
3183
+ [PropertyInitialDepositStatus.PENDING_APPROVAL]: 'Pending HD Approval',
3184
+ [PropertyInitialDepositStatus.PENDING_SIGNING_DEPOSIT]: 'Pending Signing Deposit',
3185
+ [PropertyInitialDepositStatus.FULFILLED]: 'Initial Deposit Fulfilled',
3186
+ [PropertyInitialDepositStatus.COMPLETED]: 'Initial Deposit Completed'
3157
3187
  };
3188
+ var property_status_constant_PropertyRestResStatus = /*#__PURE__*/ function(PropertyRestResStatus) {
3189
+ PropertyRestResStatus["ALL"] = "all";
3190
+ PropertyRestResStatus["PENDING_PURCHASE_INFO"] = "pending_purchase_info";
3191
+ PropertyRestResStatus["NEED_CMA"] = "need_cma";
3192
+ PropertyRestResStatus["CMA_ASSIGNED"] = "cma_assigned";
3193
+ PropertyRestResStatus["PENDING_CONTRACT"] = "pending_contract";
3194
+ return PropertyRestResStatus;
3195
+ }({});
3158
3196
  const PropertyStage = {
3159
3197
  INITIAL_DEPOSIT: 'initial_deposit',
3160
3198
  STANDARD_SALE: 'standard_sale',
3161
3199
  COPOSIT_SALE: 'coposit_sale'
3162
3200
  };
3201
+ const PropertyStatusToDisplayTextMapper = {
3202
+ ["all"]: 'All',
3203
+ ["pending_purchase_info"]: 'Pending Purchase Info',
3204
+ ["need_cma"]: 'Need CMA',
3205
+ ["cma_assigned"]: 'CMA Assigned',
3206
+ ["pending_contract"]: 'Pending Contract'
3207
+ };
3163
3208
  var report_data_range_type_constant_ReportDataRangeType = /*#__PURE__*/ function(ReportDataRangeType) {
3164
3209
  ReportDataRangeType["SPECIFY_EXACT_DATES"] = "specify_exact_dates";
3165
3210
  ReportDataRangeType["ENTIRE_HISTORY_TO_DATE"] = "entire_history_to_date";
@@ -3173,75 +3218,70 @@ var __webpack_exports__ = {};
3173
3218
  }({});
3174
3219
  const external_zod_namespaceObject = require("zod");
3175
3220
  var external_zod_default = /*#__PURE__*/ __webpack_require__.n(external_zod_namespaceObject);
3221
+ const intSimpleFilterSchema = external_zod_namespaceObject.z.coerce.number().int();
3176
3222
  const intFilterBaseSchema = external_zod_namespaceObject.z.object({
3177
- equals: external_zod_namespaceObject.z.number().optional(),
3178
- in: external_zod_namespaceObject.z.number().array().optional(),
3179
- notIn: external_zod_namespaceObject.z.number().array().optional(),
3180
- lt: external_zod_namespaceObject.z.number().optional(),
3181
- lte: external_zod_namespaceObject.z.number().optional(),
3182
- gt: external_zod_namespaceObject.z.number().optional(),
3183
- gte: external_zod_namespaceObject.z.number().optional()
3184
- });
3185
- const intNullableFilterSchema = intFilterBaseSchema.extend({
3223
+ equals: intSimpleFilterSchema.optional(),
3224
+ in: intSimpleFilterSchema.array().optional(),
3225
+ notIn: intSimpleFilterSchema.array().optional(),
3226
+ lt: intSimpleFilterSchema.optional(),
3227
+ lte: intSimpleFilterSchema.optional(),
3228
+ gt: intSimpleFilterSchema.optional(),
3229
+ gte: intSimpleFilterSchema.optional()
3230
+ });
3231
+ const intNullableObjectFilterSchema = intFilterBaseSchema.extend({
3232
+ equals: intSimpleFilterSchema.nullish(),
3186
3233
  not: external_zod_namespaceObject.z.union([
3187
- external_zod_namespaceObject.z.coerce.number(),
3234
+ intSimpleFilterSchema,
3235
+ external_zod_namespaceObject.z["null"](),
3188
3236
  external_zod_namespaceObject.z.lazy(()=>intFilterBaseSchema)
3189
3237
  ]).optional()
3190
3238
  });
3191
- const intFilterSchema = intFilterBaseSchema.extend({
3239
+ const intObjectFilterSchema = intFilterBaseSchema.extend({
3192
3240
  not: external_zod_namespaceObject.z.union([
3193
- external_zod_namespaceObject.z.coerce.number(),
3241
+ intSimpleFilterSchema,
3194
3242
  external_zod_namespaceObject.z.lazy(()=>intFilterBaseSchema)
3195
3243
  ]).optional()
3196
3244
  });
3245
+ const intFilterSchema = external_zod_namespaceObject.z.union([
3246
+ external_zod_namespaceObject.z.lazy(()=>intObjectFilterSchema),
3247
+ intSimpleFilterSchema
3248
+ ]);
3249
+ const intNullableFilterSchema = external_zod_namespaceObject.z.union([
3250
+ external_zod_namespaceObject.z.lazy(()=>intNullableObjectFilterSchema),
3251
+ intSimpleFilterSchema
3252
+ ]);
3253
+ const bigIntSimpleFilterSchema = external_zod_namespaceObject.z.coerce.bigint();
3197
3254
  const bigIntFilterBaseSchema = external_zod_namespaceObject.z.object({
3198
- equals: external_zod_namespaceObject.z.union([
3199
- external_zod_namespaceObject.z.coerce.bigint(),
3200
- external_zod_namespaceObject.z.coerce.number()
3201
- ]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).optional(),
3202
- in: external_zod_namespaceObject.z.union([
3203
- external_zod_namespaceObject.z.coerce.bigint(),
3204
- external_zod_namespaceObject.z.coerce.number()
3205
- ]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).array().optional(),
3206
- notIn: external_zod_namespaceObject.z.union([
3207
- external_zod_namespaceObject.z.coerce.bigint(),
3208
- external_zod_namespaceObject.z.coerce.number()
3209
- ]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).array().optional(),
3210
- lt: external_zod_namespaceObject.z.union([
3211
- external_zod_namespaceObject.z.coerce.bigint(),
3212
- external_zod_namespaceObject.z.coerce.number()
3213
- ]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).optional(),
3214
- lte: external_zod_namespaceObject.z.union([
3215
- external_zod_namespaceObject.z.coerce.bigint(),
3216
- external_zod_namespaceObject.z.coerce.number()
3217
- ]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).optional(),
3218
- gt: external_zod_namespaceObject.z.union([
3219
- external_zod_namespaceObject.z.coerce.bigint(),
3220
- external_zod_namespaceObject.z.coerce.number()
3221
- ]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).optional(),
3222
- gte: external_zod_namespaceObject.z.union([
3223
- external_zod_namespaceObject.z.coerce.bigint(),
3224
- external_zod_namespaceObject.z.coerce.number()
3225
- ]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).optional()
3226
- });
3227
- const bigIntNullableFilterSchema = bigIntFilterBaseSchema.extend({
3255
+ equals: bigIntSimpleFilterSchema.optional(),
3256
+ in: bigIntSimpleFilterSchema.array().optional(),
3257
+ notIn: bigIntSimpleFilterSchema.array().optional(),
3258
+ lt: bigIntSimpleFilterSchema.optional(),
3259
+ lte: bigIntSimpleFilterSchema.optional(),
3260
+ gt: bigIntSimpleFilterSchema.optional(),
3261
+ gte: bigIntSimpleFilterSchema.optional()
3262
+ });
3263
+ const bigIntNullableObjectFilterSchema = bigIntFilterBaseSchema.extend({
3264
+ equals: bigIntSimpleFilterSchema.nullish(),
3228
3265
  not: external_zod_namespaceObject.z.union([
3229
- external_zod_namespaceObject.z.union([
3230
- external_zod_namespaceObject.z.coerce.bigint(),
3231
- external_zod_namespaceObject.z.coerce.number()
3232
- ]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()),
3266
+ bigIntSimpleFilterSchema,
3267
+ external_zod_namespaceObject.z["null"](),
3233
3268
  external_zod_namespaceObject.z.lazy(()=>bigIntFilterBaseSchema)
3234
3269
  ]).optional()
3235
3270
  });
3236
- const bigIntFilterSchema = bigIntFilterBaseSchema.extend({
3271
+ const bigIntObjectFilterSchema = bigIntFilterBaseSchema.extend({
3237
3272
  not: external_zod_namespaceObject.z.union([
3238
- external_zod_namespaceObject.z.union([
3239
- external_zod_namespaceObject.z.coerce.bigint(),
3240
- external_zod_namespaceObject.z.coerce.number()
3241
- ]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()),
3273
+ bigIntSimpleFilterSchema,
3242
3274
  external_zod_namespaceObject.z.lazy(()=>bigIntFilterBaseSchema)
3243
3275
  ]).optional()
3244
3276
  });
3277
+ const bigIntFilterSchema = external_zod_namespaceObject.z.union([
3278
+ external_zod_namespaceObject.z.lazy(()=>bigIntObjectFilterSchema),
3279
+ bigIntSimpleFilterSchema
3280
+ ]);
3281
+ const bigIntNullableFilterSchema = external_zod_namespaceObject.z.union([
3282
+ external_zod_namespaceObject.z.lazy(()=>bigIntNullableObjectFilterSchema),
3283
+ bigIntSimpleFilterSchema
3284
+ ]);
3245
3285
  const QueryMode = {
3246
3286
  DEFAULT: 'default',
3247
3287
  INSENSITIVE: 'insensitive'
@@ -3276,11 +3316,50 @@ var __webpack_exports__ = {};
3276
3316
  external_zod_namespaceObject.z.lazy(()=>StringFilterBaseSchema)
3277
3317
  ]).optional()
3278
3318
  });
3319
+ const stringNullableFilterSchema = external_zod_namespaceObject.z.strictObject({
3320
+ ...stringFilterSchema.shape,
3321
+ equals: external_zod_namespaceObject.z.string().nullish(),
3322
+ not: external_zod_namespaceObject.z.union([
3323
+ external_zod_namespaceObject.z.string(),
3324
+ external_zod_namespaceObject.z["null"](),
3325
+ external_zod_namespaceObject.z.lazy(()=>StringFilterBaseSchema)
3326
+ ]).optional()
3327
+ }).nullish();
3279
3328
  const simpleStringFilterSchema = external_zod_namespaceObject.z.strictObject({
3280
3329
  equals: external_zod_namespaceObject.z.string().optional(),
3281
3330
  not: external_zod_namespaceObject.z.string().optional(),
3282
3331
  mode: external_zod_namespaceObject.z.lazy(()=>queryModeSchema).optional()
3283
3332
  });
3333
+ const paginationReqSchema = external_zod_namespaceObject.z.object({
3334
+ page: external_zod_namespaceObject.z.coerce.number().prefault(1).pipe(external_zod_namespaceObject.z.int().positive()).optional(),
3335
+ pageSize: external_zod_namespaceObject.z.coerce.number().pipe(external_zod_namespaceObject.z.int().positive()).optional()
3336
+ });
3337
+ const sortReqSchema = external_zod_default().record(external_zod_default().string(), external_zod_default().string().transform((val)=>{
3338
+ if ('ascend' === val) return sort_order_constant_SortOrder.ASC;
3339
+ if ('descend' === val) return sort_order_constant_SortOrder.DESC;
3340
+ return val;
3341
+ }).pipe(external_zod_default()["enum"](sort_order_constant_SortOrder)));
3342
+ const statusFilterSchema = external_zod_namespaceObject.z.union([
3343
+ external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
3344
+ external_zod_namespaceObject.z.string()
3345
+ ]).transform((val)=>{
3346
+ if (null === val) return;
3347
+ if ('string' == typeof val && (val?.toLowerCase()?.trim() === 'all' || val?.trim() === '')) return;
3348
+ if ('object' == typeof val && val?.equals?.toLowerCase()?.trim() === 'all') return;
3349
+ if ('object' == typeof val && 0 === Object.keys(val).length) return;
3350
+ return val;
3351
+ }).optional();
3352
+ const statusNullableFilterSchema = external_zod_namespaceObject.z.union([
3353
+ external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
3354
+ external_zod_namespaceObject.z["null"](),
3355
+ external_zod_namespaceObject.z.string()
3356
+ ]).transform((val)=>{
3357
+ if (null === val) return null;
3358
+ if ('string' == typeof val && (val?.toLowerCase()?.trim() === 'all' || val?.trim() === '')) return;
3359
+ if ('object' == typeof val && val?.equals?.toLowerCase()?.trim() === 'all') return;
3360
+ if ('object' == typeof val && 0 === Object.keys(val).length) return;
3361
+ return val;
3362
+ }).nullish();
3284
3363
  const propertySearchRestReqSchema = external_zod_namespaceObject.z.object({
3285
3364
  id: external_zod_namespaceObject.z.union([
3286
3365
  external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
@@ -3314,22 +3393,16 @@ var __webpack_exports__ = {};
3314
3393
  external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
3315
3394
  external_zod_namespaceObject.z.string()
3316
3395
  ]).optional(),
3317
- mtaBalanceCents: external_zod_namespaceObject.z.union([
3318
- external_zod_namespaceObject.z.lazy(()=>bigIntFilterSchema),
3319
- external_zod_namespaceObject.z.bigint()
3320
- ]).optional(),
3321
- cmaBalanceCents: external_zod_namespaceObject.z.union([
3322
- external_zod_namespaceObject.z.lazy(()=>bigIntFilterSchema),
3323
- external_zod_namespaceObject.z.bigint()
3324
- ]).optional(),
3325
- balanceCents: external_zod_namespaceObject.z.union([
3326
- external_zod_namespaceObject.z.lazy(()=>bigIntFilterSchema),
3327
- external_zod_namespaceObject.z.bigint()
3328
- ]).optional(),
3329
- status: external_zod_namespaceObject.z.union([
3330
- external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
3396
+ mtaBalanceCents: bigIntFilterSchema.optional(),
3397
+ cmaBalanceCents: bigIntFilterSchema.optional(),
3398
+ balanceCents: bigIntFilterSchema.optional(),
3399
+ status: statusFilterSchema.optional(),
3400
+ cmaId: external_zod_namespaceObject.z.union([
3401
+ external_zod_namespaceObject.z.lazy(()=>stringNullableFilterSchema),
3331
3402
  external_zod_namespaceObject.z.string()
3332
- ]).optional()
3403
+ ]).optional(),
3404
+ ...paginationReqSchema.shape,
3405
+ sort: sortReqSchema.optional()
3333
3406
  });
3334
3407
  const cmaSearchRestReqSchema = external_zod_namespaceObject.z.object({
3335
3408
  id: external_zod_namespaceObject.z.union([
@@ -3364,10 +3437,7 @@ var __webpack_exports__ = {};
3364
3437
  external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
3365
3438
  external_zod_namespaceObject.z.string()
3366
3439
  ]).optional(),
3367
- balanceCents: external_zod_namespaceObject.z.union([
3368
- external_zod_namespaceObject.z.lazy(()=>bigIntFilterSchema),
3369
- external_zod_namespaceObject.z.bigint()
3370
- ]).optional(),
3440
+ balanceCents: bigIntFilterSchema.optional(),
3371
3441
  property: external_zod_namespaceObject.z.lazy(()=>propertySearchRestReqSchema).optional()
3372
3442
  });
3373
3443
  const cmaEntitySchema = external_zod_namespaceObject.z.object({
@@ -3430,6 +3500,10 @@ var __webpack_exports__ = {};
3430
3500
  const isCmaInterest = transaction.transactionType === CmaTransactionType.INTEREST;
3431
3501
  return isCmaInterest;
3432
3502
  };
3503
+ const isUnknownReceiptPaidOut = (transaction)=>{
3504
+ const t = transaction.subsequentTransactions?.find((t)=>t.transactionType === MtaTransactionType.UNKNOWN_PAYOUT);
3505
+ return !!t;
3506
+ };
3433
3507
  const isTransactionCancelable = (transaction)=>{
3434
3508
  if (transaction.isCanceled) return {
3435
3509
  isCancelable: false,
@@ -3469,14 +3543,22 @@ var __webpack_exports__ = {};
3469
3543
  isAssignable: false,
3470
3544
  reason: 'Transaction is refunded'
3471
3545
  };
3472
- if (isUnkonwn && transaction.transactionType === MtaTransactionType.TRANSACTION_CANCEL) return {
3546
+ if (transaction.transactionType === MtaTransactionType.TRANSACTION_CANCEL) return {
3473
3547
  isAssignable: false,
3474
3548
  reason: 'Cannot assign to property cancel transaction'
3475
3549
  };
3476
- if (isUnkonwn && transaction.transactionType === MtaTransactionType.ASSIGN_UNKNOWN_TO_CUSTOMER) return {
3550
+ if (transaction.transactionType === MtaTransactionType.ASSIGN_UNKNOWN_TO_CUSTOMER) return {
3477
3551
  isAssignable: false,
3478
3552
  reason: 'Transaction is already assigned to property'
3479
3553
  };
3554
+ if (isUnknownReceiptAssignedToProperty(transaction)) return {
3555
+ isAssignable: false,
3556
+ reason: 'Cannot assign to property transaction due to this unknown transaction has been assigned to property'
3557
+ };
3558
+ if (isUnknownReceiptPaidOut(transaction)) return {
3559
+ isAssignable: false,
3560
+ reason: 'Cannot assign to property transaction due to this unknown transaction has been paid out'
3561
+ };
3480
3562
  return {
3481
3563
  isAssignable: true
3482
3564
  };
@@ -3495,6 +3577,7 @@ var __webpack_exports__ = {};
3495
3577
  const transactionNumber = getTransactionNumber(transaction);
3496
3578
  const isCancelable = isTransactionCancelable(transaction);
3497
3579
  const isReconciled = transaction.reconciledTransactions?.length ? transaction.reconciledTransactions.length > 0 : false;
3580
+ const isPaidout = isUnknownReceiptPaidOut(transaction);
3498
3581
  return {
3499
3582
  isReceipt,
3500
3583
  isPayment,
@@ -3504,7 +3587,8 @@ var __webpack_exports__ = {};
3504
3587
  amountStr,
3505
3588
  transactionNumber,
3506
3589
  isCancelable: isCancelable.isCancelable,
3507
- isReconciled
3590
+ isReconciled,
3591
+ isPaidout
3508
3592
  };
3509
3593
  };
3510
3594
  const external_decimal_js_namespaceObject = require("decimal.js");
@@ -3751,6 +3835,8 @@ var __webpack_exports__ = {};
3751
3835
  stage: external_zod_namespaceObject.z.string(),
3752
3836
  status: external_zod_namespaceObject.z.string(),
3753
3837
  mtaId: external_zod_namespaceObject.z.string(),
3838
+ cmaId: external_zod_namespaceObject.z.string().nullish(),
3839
+ initialDepositStatus: external_zod_namespaceObject.z.string().nullish(),
3754
3840
  isArchived: external_zod_namespaceObject.z.boolean(),
3755
3841
  createdAt: external_zod_namespaceObject.z.coerce.date(),
3756
3842
  syncedAt: external_zod_namespaceObject.z.coerce.date(),
@@ -3787,7 +3873,7 @@ var __webpack_exports__ = {};
3787
3873
  inputType: external_zod_namespaceObject.z.literal(mta_input_type_constant_MtaTransactionInputType.PAYMENT).prefault(mta_input_type_constant_MtaTransactionInputType.PAYMENT),
3788
3874
  transactionType: external_zod_namespaceObject.z.literal(MtaTransactionType.TRUST_TO_CMA_PAYOUT).prefault(MtaTransactionType.TRUST_TO_CMA_PAYOUT),
3789
3875
  clearedAt: external_zod_namespaceObject.z.coerce.date().nullish()
3790
- }).passthrough();
3876
+ }).loose();
3791
3877
  const mtaToCmaPayoutTargetDetailEntitySchema = external_zod_namespaceObject.z.object({
3792
3878
  targetAccountId: external_zod_namespaceObject.z.string(),
3793
3879
  targetAccountType: external_zod_namespaceObject.z.literal(payout_constant_PayoutTargetAccountType.CMA).prefault(payout_constant_PayoutTargetAccountType.CMA),
@@ -3801,7 +3887,7 @@ var __webpack_exports__ = {};
3801
3887
  inputType: external_zod_namespaceObject.z.literal(cma_input_type_constant_CmaTransactionInputType.RECEIPT).prefault(cma_input_type_constant_CmaTransactionInputType.RECEIPT),
3802
3888
  transactionType: external_zod_namespaceObject.z.literal(CmaTransactionType.RECEIPT).prefault(MtaTransactionType.TRUST_TO_CMA_PAYOUT),
3803
3889
  clearedAt: external_zod_namespaceObject.z.coerce.date().nullish()
3804
- }).passthrough();
3890
+ }).loose();
3805
3891
  const mtaToCmaPayoutPaymentEntitySchema = external_zod_namespaceObject.z.looseObject({
3806
3892
  sourceDetail: mtaToCmaPayoutSourceDetailEntitySchema,
3807
3893
  targetDetail: mtaToCmaPayoutTargetDetailEntitySchema,
@@ -3822,7 +3908,7 @@ var __webpack_exports__ = {};
3822
3908
  bankRef: external_zod_namespaceObject.z.string().trim().min(1),
3823
3909
  propertyId: external_zod_namespaceObject.z.uuid().nullish(),
3824
3910
  clearedAt: external_zod_namespaceObject.z.coerce.date().nullish()
3825
- }).passthrough();
3911
+ }).loose();
3826
3912
  const commonPayoutSourceDetailEntitySchema = external_zod_namespaceObject.z.object({
3827
3913
  debitAmountCents: external_zod_namespaceObject.z.coerce.number(),
3828
3914
  sourceAccountId: external_zod_namespaceObject.z.string(),
@@ -3837,14 +3923,14 @@ var __webpack_exports__ = {};
3837
3923
  bankRef: external_zod_namespaceObject.z.string(),
3838
3924
  description: external_zod_namespaceObject.z.string(),
3839
3925
  clearedAt: external_zod_namespaceObject.z.coerce.date().nullish()
3840
- }).passthrough();
3926
+ }).loose();
3841
3927
  const settlementPayoutSourceDetailEntitySchema = commonPayoutSourceDetailEntitySchema.extend({
3842
3928
  propertyId: external_zod_namespaceObject.z.uuid()
3843
- }).passthrough();
3929
+ }).loose();
3844
3930
  const settlementPayoutTargetDetailEntitySchema = commonPayoutTargetDetailEntitySchema.extend({
3845
3931
  targetAccountType: external_zod_namespaceObject.z.literal(payout_constant_PayoutTargetAccountType.OTHER).prefault(payout_constant_PayoutTargetAccountType.OTHER),
3846
3932
  propertyId: external_zod_namespaceObject.z.uuid()
3847
- }).passthrough();
3933
+ }).loose();
3848
3934
  const settlementPayoutPaymentEntitySchema = external_zod_namespaceObject.z.looseObject({
3849
3935
  sourceDetail: settlementPayoutSourceDetailEntitySchema,
3850
3936
  targetDetail: settlementPayoutTargetDetailEntitySchema,
@@ -4115,7 +4201,9 @@ var __webpack_exports__ = {};
4115
4201
  date: dateStr,
4116
4202
  dayjs: external_dayjs_default()(dateStr).tz(timeZone)
4117
4203
  };
4118
- const parsedDate = external_dayjs_default()(dateStr?.trim(), format, timeZone, strict);
4204
+ let parsedDate = external_dayjs_default()(dateStr?.trim());
4205
+ if (dateStr.trim().endsWith('Z')) parsedDate = external_dayjs_default()(dateStr?.trim()).tz(timeZone);
4206
+ else external_dayjs_default()(dateStr?.trim(), format, timeZone, strict);
4119
4207
  if (!parsedDate.isValid()) return {
4120
4208
  isValid: false,
4121
4209
  date: null,
@@ -4143,6 +4231,7 @@ var __webpack_exports__ = {};
4143
4231
  return date;
4144
4232
  };
4145
4233
  const stringToDateSchema = external_zod_namespaceObject.z.union([
4234
+ external_zod_namespaceObject.z.custom((data)=>external_dayjs_default().isDayjs(data)),
4146
4235
  external_zod_namespaceObject.z.string(),
4147
4236
  external_zod_namespaceObject.z.date(),
4148
4237
  external_zod_namespaceObject.z.iso.datetime()
@@ -4165,6 +4254,7 @@ var __webpack_exports__ = {};
4165
4254
  closingDescription: external_zod_namespaceObject.z.string().optional()
4166
4255
  });
4167
4256
  const stringToEndOfDaySchema = external_zod_namespaceObject.z.union([
4257
+ external_zod_namespaceObject.z.custom((data)=>external_dayjs_default().isDayjs(data)),
4168
4258
  external_zod_namespaceObject.z.string(),
4169
4259
  external_zod_namespaceObject.z.date(),
4170
4260
  external_zod_namespaceObject.z.iso.datetime()
@@ -4298,10 +4388,6 @@ var __webpack_exports__ = {};
4298
4388
  external_zod_namespaceObject.z.lazy(()=>dateTimeFilterBaseSchema)
4299
4389
  ]).optional()
4300
4390
  });
4301
- const paginationReqSchema = external_zod_namespaceObject.z.object({
4302
- page: external_zod_namespaceObject.z.coerce.number().prefault(1).pipe(external_zod_namespaceObject.z.int().positive()).optional(),
4303
- pageSize: external_zod_namespaceObject.z.coerce.number().pipe(external_zod_namespaceObject.z.int().positive()).optional()
4304
- });
4305
4391
  const stringToBoolSchema = external_zod_namespaceObject.z.union([
4306
4392
  external_zod_namespaceObject.z.boolean(),
4307
4393
  external_zod_namespaceObject.z.string()
@@ -4356,10 +4442,7 @@ var __webpack_exports__ = {};
4356
4442
  property: external_zod_namespaceObject.z.union([
4357
4443
  external_zod_namespaceObject.z.lazy(()=>propertySearchRestReqSchema)
4358
4444
  ]).optional(),
4359
- sequence: external_zod_namespaceObject.z.union([
4360
- external_zod_namespaceObject.z.lazy(()=>intFilterSchema),
4361
- external_zod_namespaceObject.z.number().int()
4362
- ]).optional(),
4445
+ sequence: intFilterSchema.optional(),
4363
4446
  createType: external_zod_namespaceObject.z.union([
4364
4447
  external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
4365
4448
  external_zod_namespaceObject.z.string()
@@ -4380,6 +4463,10 @@ var __webpack_exports__ = {};
4380
4463
  external_zod_namespaceObject.z.lazy(()=>dateTimeFilterSchema),
4381
4464
  external_zod_namespaceObject.z.string()
4382
4465
  ]).optional(),
4466
+ createdAt: external_zod_namespaceObject.z.union([
4467
+ external_zod_namespaceObject.z.lazy(()=>dateTimeFilterSchema),
4468
+ external_zod_namespaceObject.z.string()
4469
+ ]).optional(),
4383
4470
  transactionType: external_zod_namespaceObject.z.union([
4384
4471
  external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
4385
4472
  external_zod_namespaceObject.z.string()
@@ -4392,22 +4479,14 @@ var __webpack_exports__ = {};
4392
4479
  external_zod_namespaceObject.z.lazy(()=>boolFilterSchema),
4393
4480
  external_zod_namespaceObject.z.boolean()
4394
4481
  ]).optional(),
4395
- status: external_zod_namespaceObject.z.union([
4396
- external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
4397
- external_zod_namespaceObject.z.string()
4398
- ]).optional(),
4482
+ status: statusFilterSchema,
4399
4483
  payoutId: external_zod_namespaceObject.z.union([
4400
4484
  external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
4401
4485
  external_zod_namespaceObject.z.string()
4402
4486
  ]).optional(),
4403
- creditAmountCents: external_zod_namespaceObject.z.union([
4404
- external_zod_namespaceObject.z.lazy(()=>bigIntFilterSchema),
4405
- external_zod_namespaceObject.z.bigint()
4406
- ]).optional(),
4407
- debitAmountCents: external_zod_namespaceObject.z.union([
4408
- external_zod_namespaceObject.z.lazy(()=>bigIntFilterSchema),
4409
- external_zod_namespaceObject.z.bigint()
4410
- ]).optional()
4487
+ creditAmountCents: bigIntFilterSchema.optional(),
4488
+ debitAmountCents: bigIntFilterSchema.optional(),
4489
+ sort: external_zod_namespaceObject.z.lazy(()=>sortReqSchema).optional()
4411
4490
  }).and(paginationReqSchema.optional());
4412
4491
  const createCmaTransactionRestReqSchema = external_zod_namespaceObject.z.object({
4413
4492
  amount: external_zod_namespaceObject.z.number().positive().transform(fromDollarsToCents).pipe(external_zod_namespaceObject.z.bigint()),
@@ -4437,6 +4516,7 @@ var __webpack_exports__ = {};
4437
4516
  error: 'Account number must be all digits'
4438
4517
  });
4439
4518
  const stringToStartOfDaySchema = external_zod_namespaceObject.z.union([
4519
+ external_zod_namespaceObject.z.custom((data)=>external_dayjs_default().isDayjs(data)),
4440
4520
  external_zod_namespaceObject.z.string(),
4441
4521
  external_zod_namespaceObject.z.date(),
4442
4522
  external_zod_namespaceObject.z.iso.datetime()
@@ -4480,11 +4560,6 @@ var __webpack_exports__ = {};
4480
4560
  total: external_zod_namespaceObject.z.coerce.number()
4481
4561
  })
4482
4562
  });
4483
- const sortReqSchema = external_zod_default().record(external_zod_default().string(), external_zod_default().string().transform((val)=>{
4484
- if ('ascend' === val) return sort_order_constant_SortOrder.ASC;
4485
- if ('descend' === val) return sort_order_constant_SortOrder.DESC;
4486
- return val;
4487
- }).pipe(external_zod_default()["enum"](sort_order_constant_SortOrder)));
4488
4563
  const createMenuRestReqSchema = external_zod_namespaceObject.z.object({
4489
4564
  parentId: external_zod_namespaceObject.z.string().optional(),
4490
4565
  label: external_zod_namespaceObject.z.string(),
@@ -4717,11 +4792,12 @@ var __webpack_exports__ = {};
4717
4792
  isReconciled: external_zod_namespaceObject.z.boolean().optional(),
4718
4793
  isAssignableToProperty: external_zod_namespaceObject.z.boolean().nullish(),
4719
4794
  isAssignedToProperty: external_zod_namespaceObject.z.boolean().nullish(),
4795
+ isPaidout: external_zod_namespaceObject.z.boolean().optional(),
4720
4796
  isCancelable: external_zod_namespaceObject.z.boolean().nullish(),
4721
4797
  amountStr: external_zod_namespaceObject.z.string().optional(),
4722
4798
  transactionNumber: external_zod_namespaceObject.z.string().optional()
4723
4799
  }).transform((obj)=>{
4724
- const { isUnknown, isAssignedToProperty, isReceipt, isPayment, isAssignableToProperty, amountStr, transactionNumber } = getTransactionStatus(obj);
4800
+ const { isUnknown, isAssignedToProperty, isReceipt, isPayment, isAssignableToProperty, amountStr, transactionNumber, isPaidout } = getTransactionStatus(obj);
4725
4801
  return {
4726
4802
  ...obj,
4727
4803
  isUnknown,
@@ -4729,6 +4805,7 @@ var __webpack_exports__ = {};
4729
4805
  isPayment,
4730
4806
  isAssignableToProperty,
4731
4807
  isAssignedToProperty,
4808
+ isPaidout,
4732
4809
  amountStr,
4733
4810
  transactionNumber
4734
4811
  };
@@ -4854,7 +4931,7 @@ var __webpack_exports__ = {};
4854
4931
  external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
4855
4932
  external_zod_namespaceObject.z.string()
4856
4933
  ]).optional(),
4857
- sequence: external_zod_namespaceObject.z.coerce.number().optional(),
4934
+ sequence: intFilterSchema.optional(),
4858
4935
  propertyId: external_zod_namespaceObject.z.union([
4859
4936
  external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
4860
4937
  external_zod_namespaceObject.z.string()
@@ -4891,22 +4968,13 @@ var __webpack_exports__ = {};
4891
4968
  external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
4892
4969
  external_zod_namespaceObject.z.string()
4893
4970
  ]).optional(),
4894
- status: external_zod_namespaceObject.z.union([
4895
- external_zod_namespaceObject.z.lazy(()=>simpleStringFilterSchema),
4896
- external_zod_namespaceObject.z.string()
4897
- ]).optional(),
4971
+ status: statusFilterSchema.optional(),
4898
4972
  payoutId: external_zod_namespaceObject.z.union([
4899
4973
  external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
4900
4974
  external_zod_namespaceObject.z.string()
4901
4975
  ]).optional(),
4902
- creditAmountCents: external_zod_namespaceObject.z.union([
4903
- external_zod_namespaceObject.z.lazy(()=>bigIntFilterSchema),
4904
- external_zod_namespaceObject.z.bigint()
4905
- ]).optional(),
4906
- debitAmountCents: external_zod_namespaceObject.z.union([
4907
- external_zod_namespaceObject.z.lazy(()=>bigIntFilterSchema),
4908
- external_zod_namespaceObject.z.bigint()
4909
- ]).optional(),
4976
+ creditAmountCents: bigIntFilterSchema.optional(),
4977
+ debitAmountCents: bigIntFilterSchema.optional(),
4910
4978
  property: external_zod_namespaceObject.z.lazy(()=>propertySearchRestReqSchema).optional().nullable(),
4911
4979
  sort: external_zod_namespaceObject.z.lazy(()=>sortReqSchema).optional()
4912
4980
  }).and(paginationReqSchema.optional());
@@ -5014,11 +5082,11 @@ var __webpack_exports__ = {};
5014
5082
  debitAmountCents: centsToDollarsSchema,
5015
5083
  property: external_zod_namespaceObject.z.lazy(()=>propertyRestResBaseSchema).nullish(),
5016
5084
  mtaTransaction: external_zod_namespaceObject.z.lazy(()=>mtaTransactionRestResSchema).nullish()
5017
- }).passthrough();
5085
+ }).loose();
5018
5086
  const mtaToCmaPayoutTargetDetailRestSchema = mtaToCmaPayoutTargetDetailEntitySchema.extend({
5019
5087
  creditAmountCents: centsToDollarsSchema,
5020
5088
  cma: external_zod_namespaceObject.z.lazy(()=>cmaRestResSchema).nullish()
5021
- }).passthrough();
5089
+ }).loose();
5022
5090
  const mtaToCmaPayoutPaymentRestSchema = external_zod_namespaceObject.z.looseObject({
5023
5091
  sourceDetail: mtaToCmaPayoutSourceDetailRestSchema,
5024
5092
  targetDetail: mtaToCmaPayoutTargetDetailRestSchema
@@ -5027,7 +5095,7 @@ var __webpack_exports__ = {};
5027
5095
  mta: external_zod_namespaceObject.z.lazy(()=>mtaEntitySchema).nullish(),
5028
5096
  payments: mtaToCmaPayoutPaymentRestSchema.array(),
5029
5097
  payoutType: external_zod_namespaceObject.z.literal(PayoutType.TRUST_TO_CMA_PAYOUT).prefault(PayoutType.TRUST_TO_CMA_PAYOUT)
5030
- }).passthrough();
5098
+ }).loose();
5031
5099
  const updateMtaToCmaPayoutRestReqSchema = external_zod_namespaceObject.z.object({
5032
5100
  payoutId: external_zod_namespaceObject.z.uuid(),
5033
5101
  bankRef: external_zod_namespaceObject.z.string().trim().min(1),
@@ -5782,7 +5850,7 @@ var __webpack_exports__ = {};
5782
5850
  asap,
5783
5851
  isIterable
5784
5852
  };
5785
- function AxiosError(message, code, config, request, response) {
5853
+ function AxiosError_AxiosError(message, code, config, request, response) {
5786
5854
  Error.call(this);
5787
5855
  if (Error.captureStackTrace) Error.captureStackTrace(this, this.constructor);
5788
5856
  else this.stack = new Error().stack;
@@ -5796,7 +5864,7 @@ var __webpack_exports__ = {};
5796
5864
  this.status = response.status ? response.status : null;
5797
5865
  }
5798
5866
  }
5799
- utils.inherits(AxiosError, Error, {
5867
+ utils.inherits(AxiosError_AxiosError, Error, {
5800
5868
  toJSON: function() {
5801
5869
  return {
5802
5870
  message: this.message,
@@ -5813,7 +5881,7 @@ var __webpack_exports__ = {};
5813
5881
  };
5814
5882
  }
5815
5883
  });
5816
- const AxiosError_prototype = AxiosError.prototype;
5884
+ const AxiosError_prototype = AxiosError_AxiosError.prototype;
5817
5885
  const AxiosError_descriptors = {};
5818
5886
  [
5819
5887
  'ERR_BAD_OPTION_VALUE',
@@ -5833,22 +5901,22 @@ var __webpack_exports__ = {};
5833
5901
  value: code
5834
5902
  };
5835
5903
  });
5836
- Object.defineProperties(AxiosError, AxiosError_descriptors);
5904
+ Object.defineProperties(AxiosError_AxiosError, AxiosError_descriptors);
5837
5905
  Object.defineProperty(AxiosError_prototype, 'isAxiosError', {
5838
5906
  value: true
5839
5907
  });
5840
- AxiosError.from = (error, code, config, request, response, customProps)=>{
5908
+ AxiosError_AxiosError.from = (error, code, config, request, response, customProps)=>{
5841
5909
  const axiosError = Object.create(AxiosError_prototype);
5842
5910
  utils.toFlatObject(error, axiosError, function(obj) {
5843
5911
  return obj !== Error.prototype;
5844
5912
  }, (prop)=>'isAxiosError' !== prop);
5845
- AxiosError.call(axiosError, error.message, code, config, request, response);
5913
+ AxiosError_AxiosError.call(axiosError, error.message, code, config, request, response);
5846
5914
  axiosError.cause = error;
5847
5915
  axiosError.name = error.name;
5848
5916
  customProps && Object.assign(axiosError, customProps);
5849
5917
  return axiosError;
5850
5918
  };
5851
- const core_AxiosError = AxiosError;
5919
+ const AxiosError = AxiosError_AxiosError;
5852
5920
  var form_data = __webpack_require__("./node_modules/.pnpm/form-data@4.0.4/node_modules/form-data/lib/form_data.js");
5853
5921
  const classes_FormData = form_data;
5854
5922
  function isVisitable(thing) {
@@ -5891,7 +5959,7 @@ var __webpack_exports__ = {};
5891
5959
  if (null === value) return '';
5892
5960
  if (utils.isDate(value)) return value.toISOString();
5893
5961
  if (utils.isBoolean(value)) return value.toString();
5894
- if (!useBlob && utils.isBlob(value)) throw new core_AxiosError('Blob is not supported. Use a Buffer instead.');
5962
+ if (!useBlob && utils.isBlob(value)) throw new AxiosError('Blob is not supported. Use a Buffer instead.');
5895
5963
  if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) return useBlob && 'function' == typeof Blob ? new Blob([
5896
5964
  value
5897
5965
  ]) : Buffer.from(value);
@@ -6188,7 +6256,7 @@ var __webpack_exports__ = {};
6188
6256
  return JSON.parse(data);
6189
6257
  } catch (e) {
6190
6258
  if (strictJSONParsing) {
6191
- if ('SyntaxError' === e.name) throw core_AxiosError.from(e, core_AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
6259
+ if ('SyntaxError' === e.name) throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
6192
6260
  throw e;
6193
6261
  }
6194
6262
  }
@@ -6485,19 +6553,19 @@ var __webpack_exports__ = {};
6485
6553
  return !!(value && value.__CANCEL__);
6486
6554
  }
6487
6555
  function CanceledError(message, config, request) {
6488
- core_AxiosError.call(this, null == message ? 'canceled' : message, core_AxiosError.ERR_CANCELED, config, request);
6556
+ AxiosError.call(this, null == message ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);
6489
6557
  this.name = 'CanceledError';
6490
6558
  }
6491
- utils.inherits(CanceledError, core_AxiosError, {
6559
+ utils.inherits(CanceledError, AxiosError, {
6492
6560
  __CANCEL__: true
6493
6561
  });
6494
6562
  const cancel_CanceledError = CanceledError;
6495
6563
  function settle(resolve, reject, response) {
6496
6564
  const validateStatus = response.config.validateStatus;
6497
6565
  if (!response.status || !validateStatus || validateStatus(response.status)) resolve(response);
6498
- else reject(new core_AxiosError('Request failed with status code ' + response.status, [
6499
- core_AxiosError.ERR_BAD_REQUEST,
6500
- core_AxiosError.ERR_BAD_RESPONSE
6566
+ else reject(new AxiosError('Request failed with status code ' + response.status, [
6567
+ AxiosError.ERR_BAD_REQUEST,
6568
+ AxiosError.ERR_BAD_RESPONSE
6501
6569
  ][Math.floor(response.status / 100) - 4], response.config, response.request, response));
6502
6570
  }
6503
6571
  function isAbsoluteURL(url) {
@@ -6517,7 +6585,6 @@ var __webpack_exports__ = {};
6517
6585
  var external_util_ = __webpack_require__("util");
6518
6586
  var follow_redirects = __webpack_require__("./node_modules/.pnpm/follow-redirects@1.15.11/node_modules/follow-redirects/index.js");
6519
6587
  const external_zlib_namespaceObject = require("zlib");
6520
- const VERSION = "1.11.0";
6521
6588
  function parseProtocol(url) {
6522
6589
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
6523
6590
  return match && match[1] || '';
@@ -6530,13 +6597,13 @@ var __webpack_exports__ = {};
6530
6597
  if ('data' === protocol) {
6531
6598
  uri = protocol.length ? uri.slice(protocol.length + 1) : uri;
6532
6599
  const match = DATA_URL_PATTERN.exec(uri);
6533
- if (!match) throw new core_AxiosError('Invalid URL', core_AxiosError.ERR_INVALID_URL);
6600
+ if (!match) throw new AxiosError('Invalid URL', AxiosError.ERR_INVALID_URL);
6534
6601
  const mime = match[1];
6535
6602
  const isBase64 = match[2];
6536
6603
  const body = match[3];
6537
6604
  const buffer = Buffer.from(decodeURIComponent(body), isBase64 ? 'base64' : 'utf8');
6538
6605
  if (asBlob) {
6539
- if (!_Blob) throw new core_AxiosError('Blob is not supported', core_AxiosError.ERR_NOT_SUPPORT);
6606
+ if (!_Blob) throw new AxiosError('Blob is not supported', AxiosError.ERR_NOT_SUPPORT);
6540
6607
  return new _Blob([
6541
6608
  buffer
6542
6609
  ], {
@@ -6545,7 +6612,7 @@ var __webpack_exports__ = {};
6545
6612
  }
6546
6613
  return buffer;
6547
6614
  }
6548
- throw new core_AxiosError('Unsupported protocol ' + protocol, core_AxiosError.ERR_NOT_SUPPORT);
6615
+ throw new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_NOT_SUPPORT);
6549
6616
  }
6550
6617
  var external_stream_ = __webpack_require__("stream");
6551
6618
  const kInternals = Symbol('internals');
@@ -6973,7 +7040,7 @@ var __webpack_exports__ = {};
6973
7040
  Blob: config.env && config.env.Blob
6974
7041
  });
6975
7042
  } catch (err) {
6976
- throw core_AxiosError.from(err, core_AxiosError.ERR_BAD_REQUEST, config);
7043
+ throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config);
6977
7044
  }
6978
7045
  if ('text' === responseType) {
6979
7046
  convertedData = convertedData.toString(responseEncoding);
@@ -6987,9 +7054,9 @@ var __webpack_exports__ = {};
6987
7054
  config
6988
7055
  });
6989
7056
  }
6990
- if (-1 === supportedProtocols.indexOf(protocol)) return reject(new core_AxiosError('Unsupported protocol ' + protocol, core_AxiosError.ERR_BAD_REQUEST, config));
7057
+ if (-1 === supportedProtocols.indexOf(protocol)) return reject(new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_BAD_REQUEST, config));
6991
7058
  const headers = AxiosHeaders.from(config.headers).normalize();
6992
- headers.set('User-Agent', 'axios/' + VERSION, false);
7059
+ headers.set('User-Agent', "axios/1.11.0", false);
6993
7060
  const { onUploadProgress, onDownloadProgress } = config;
6994
7061
  const maxRate = config.maxRate;
6995
7062
  let maxUploadRate;
@@ -6999,7 +7066,7 @@ var __webpack_exports__ = {};
6999
7066
  data = helpers_formDataToStream(data, (formHeaders)=>{
7000
7067
  headers.set(formHeaders);
7001
7068
  }, {
7002
- tag: `axios-${VERSION}-boundary`,
7069
+ tag: "axios-1.11.0-boundary",
7003
7070
  boundary: userBoundary && userBoundary[1] || void 0
7004
7071
  });
7005
7072
  } else if (utils.isFormData(data) && utils.isFunction(data.getHeaders)) {
@@ -7016,11 +7083,11 @@ var __webpack_exports__ = {};
7016
7083
  if (Buffer.isBuffer(data)) ;
7017
7084
  else if (utils.isArrayBuffer(data)) data = Buffer.from(new Uint8Array(data));
7018
7085
  else {
7019
- if (!utils.isString(data)) return reject(new core_AxiosError('Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream', core_AxiosError.ERR_BAD_REQUEST, config));
7086
+ if (!utils.isString(data)) return reject(new AxiosError('Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream', AxiosError.ERR_BAD_REQUEST, config));
7020
7087
  data = Buffer.from(data, 'utf-8');
7021
7088
  }
7022
7089
  headers.setContentLength(data.length, false);
7023
- if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) return reject(new core_AxiosError('Request body larger than maxBodyLength limit', core_AxiosError.ERR_BAD_REQUEST, config));
7090
+ if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) return reject(new AxiosError('Request body larger than maxBodyLength limit', AxiosError.ERR_BAD_REQUEST, config));
7024
7091
  }
7025
7092
  const contentLength = utils.toFiniteNumber(headers.getContentLength());
7026
7093
  if (utils.isArray(maxRate)) {
@@ -7157,18 +7224,18 @@ var __webpack_exports__ = {};
7157
7224
  if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
7158
7225
  rejected = true;
7159
7226
  responseStream.destroy();
7160
- reject(new core_AxiosError('maxContentLength size of ' + config.maxContentLength + ' exceeded', core_AxiosError.ERR_BAD_RESPONSE, config, lastRequest));
7227
+ reject(new AxiosError('maxContentLength size of ' + config.maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, lastRequest));
7161
7228
  }
7162
7229
  });
7163
7230
  responseStream.on('aborted', function() {
7164
7231
  if (rejected) return;
7165
- const err = new core_AxiosError('stream has been aborted', core_AxiosError.ERR_BAD_RESPONSE, config, lastRequest);
7232
+ const err = new AxiosError('stream has been aborted', AxiosError.ERR_BAD_RESPONSE, config, lastRequest);
7166
7233
  responseStream.destroy(err);
7167
7234
  reject(err);
7168
7235
  });
7169
7236
  responseStream.on('error', function(err) {
7170
7237
  if (req.destroyed) return;
7171
- reject(core_AxiosError.from(err, null, config, lastRequest));
7238
+ reject(AxiosError.from(err, null, config, lastRequest));
7172
7239
  });
7173
7240
  responseStream.on('end', function() {
7174
7241
  try {
@@ -7179,7 +7246,7 @@ var __webpack_exports__ = {};
7179
7246
  }
7180
7247
  response.data = responseData;
7181
7248
  } catch (err) {
7182
- return reject(core_AxiosError.from(err, null, config, response.request, response));
7249
+ return reject(AxiosError.from(err, null, config, response.request, response));
7183
7250
  }
7184
7251
  settle(resolve, reject, response);
7185
7252
  });
@@ -7196,20 +7263,20 @@ var __webpack_exports__ = {};
7196
7263
  req.destroy(err);
7197
7264
  });
7198
7265
  req.on('error', function(err) {
7199
- reject(core_AxiosError.from(err, null, config, req));
7266
+ reject(AxiosError.from(err, null, config, req));
7200
7267
  });
7201
7268
  req.on('socket', function(socket) {
7202
7269
  socket.setKeepAlive(true, 60000);
7203
7270
  });
7204
7271
  if (config.timeout) {
7205
7272
  const timeout = parseInt(config.timeout, 10);
7206
- if (Number.isNaN(timeout)) return void reject(new core_AxiosError('error trying to parse `config.timeout` to int', core_AxiosError.ERR_BAD_OPTION_VALUE, config, req));
7273
+ if (Number.isNaN(timeout)) return void reject(new AxiosError('error trying to parse `config.timeout` to int', AxiosError.ERR_BAD_OPTION_VALUE, config, req));
7207
7274
  req.setTimeout(timeout, function() {
7208
7275
  if (isDone) return;
7209
7276
  let timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
7210
7277
  const transitional = config.transitional || defaults_transitional;
7211
7278
  if (config.timeoutErrorMessage) timeoutErrorMessage = config.timeoutErrorMessage;
7212
- reject(new core_AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? core_AxiosError.ETIMEDOUT : core_AxiosError.ECONNABORTED, config, req));
7279
+ reject(new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, req));
7213
7280
  abort();
7214
7281
  });
7215
7282
  }
@@ -7403,18 +7470,18 @@ var __webpack_exports__ = {};
7403
7470
  };
7404
7471
  request.onabort = function() {
7405
7472
  if (!request) return;
7406
- reject(new core_AxiosError('Request aborted', core_AxiosError.ECONNABORTED, config, request));
7473
+ reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));
7407
7474
  request = null;
7408
7475
  };
7409
7476
  request.onerror = function() {
7410
- reject(new core_AxiosError('Network Error', core_AxiosError.ERR_NETWORK, config, request));
7477
+ reject(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request));
7411
7478
  request = null;
7412
7479
  };
7413
7480
  request.ontimeout = function() {
7414
7481
  let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';
7415
7482
  const transitional = _config.transitional || defaults_transitional;
7416
7483
  if (_config.timeoutErrorMessage) timeoutErrorMessage = _config.timeoutErrorMessage;
7417
- reject(new core_AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? core_AxiosError.ETIMEDOUT : core_AxiosError.ECONNABORTED, config, request));
7484
+ reject(new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, request));
7418
7485
  request = null;
7419
7486
  };
7420
7487
  void 0 === requestData && requestHeaders.setContentType(null);
@@ -7443,11 +7510,11 @@ var __webpack_exports__ = {};
7443
7510
  if (_config.signal) _config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);
7444
7511
  }
7445
7512
  const protocol = parseProtocol(_config.url);
7446
- if (protocol && -1 === platform.protocols.indexOf(protocol)) return void reject(new core_AxiosError('Unsupported protocol ' + protocol + ':', core_AxiosError.ERR_BAD_REQUEST, config));
7513
+ if (protocol && -1 === platform.protocols.indexOf(protocol)) return void reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));
7447
7514
  request.send(requestData || null);
7448
7515
  });
7449
7516
  };
7450
- const composeSignals = (signals, timeout)=>{
7517
+ const composeSignals_composeSignals = (signals, timeout)=>{
7451
7518
  const { length } = signals = signals ? signals.filter(Boolean) : [];
7452
7519
  if (timeout || length) {
7453
7520
  let controller = new AbortController();
@@ -7457,12 +7524,12 @@ var __webpack_exports__ = {};
7457
7524
  aborted = true;
7458
7525
  unsubscribe();
7459
7526
  const err = reason instanceof Error ? reason : this.reason;
7460
- controller.abort(err instanceof core_AxiosError ? err : new cancel_CanceledError(err instanceof Error ? err.message : err));
7527
+ controller.abort(err instanceof AxiosError ? err : new cancel_CanceledError(err instanceof Error ? err.message : err));
7461
7528
  }
7462
7529
  };
7463
7530
  let timer = timeout && setTimeout(()=>{
7464
7531
  timer = null;
7465
- onabort(new core_AxiosError(`timeout ${timeout} of ms exceeded`, core_AxiosError.ETIMEDOUT));
7532
+ onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT));
7466
7533
  }, timeout);
7467
7534
  const unsubscribe = ()=>{
7468
7535
  if (signals) {
@@ -7480,7 +7547,7 @@ var __webpack_exports__ = {};
7480
7547
  return signal;
7481
7548
  }
7482
7549
  };
7483
- const helpers_composeSignals = composeSignals;
7550
+ const composeSignals = composeSignals_composeSignals;
7484
7551
  const streamChunk = function*(chunk, chunkSize) {
7485
7552
  let len = chunk.byteLength;
7486
7553
  if (!chunkSize || len < chunkSize) return void (yield chunk);
@@ -7582,7 +7649,7 @@ var __webpack_exports__ = {};
7582
7649
  'stream'
7583
7650
  ].forEach((type)=>{
7584
7651
  resolvers[type] || (resolvers[type] = utils.isFunction(res[type]) ? (res)=>res[type]() : (_, config)=>{
7585
- throw new core_AxiosError(`Response type '${type}' is not supported`, core_AxiosError.ERR_NOT_SUPPORT, config);
7652
+ throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
7586
7653
  });
7587
7654
  });
7588
7655
  })(new Response);
@@ -7607,7 +7674,7 @@ var __webpack_exports__ = {};
7607
7674
  const adapters_fetch = isFetchSupported && (async (config)=>{
7608
7675
  let { url, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, withCredentials = 'same-origin', fetchOptions } = resolveConfig(config);
7609
7676
  responseType = responseType ? (responseType + '').toLowerCase() : 'text';
7610
- let composedSignal = helpers_composeSignals([
7677
+ let composedSignal = composeSignals([
7611
7678
  signal,
7612
7679
  cancelToken && cancelToken.toAbortSignal()
7613
7680
  ], timeout);
@@ -7674,10 +7741,10 @@ var __webpack_exports__ = {};
7674
7741
  });
7675
7742
  } catch (err) {
7676
7743
  unsubscribe && unsubscribe();
7677
- if (err && 'TypeError' === err.name && /Load failed|fetch/i.test(err.message)) throw Object.assign(new core_AxiosError('Network Error', core_AxiosError.ERR_NETWORK, config, request), {
7744
+ if (err && 'TypeError' === err.name && /Load failed|fetch/i.test(err.message)) throw Object.assign(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request), {
7678
7745
  cause: err.cause || err
7679
7746
  });
7680
- throw core_AxiosError.from(err, err && err.code, config, request);
7747
+ throw AxiosError.from(err, err && err.code, config, request);
7681
7748
  }
7682
7749
  });
7683
7750
  const knownAdapters = {
@@ -7714,7 +7781,7 @@ var __webpack_exports__ = {};
7714
7781
  adapter = nameOrAdapter;
7715
7782
  if (!isResolvedHandle(nameOrAdapter)) {
7716
7783
  adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
7717
- if (void 0 === adapter) throw new core_AxiosError(`Unknown adapter '${id}'`);
7784
+ if (void 0 === adapter) throw new AxiosError(`Unknown adapter '${id}'`);
7718
7785
  }
7719
7786
  if (adapter) break;
7720
7787
  rejectedReasons[id || '#' + i] = adapter;
@@ -7722,7 +7789,7 @@ var __webpack_exports__ = {};
7722
7789
  if (!adapter) {
7723
7790
  const reasons = Object.entries(rejectedReasons).map(([id, state])=>`adapter ${id} ` + (false === state ? 'is not supported by the environment' : 'is not available in the build'));
7724
7791
  let s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified';
7725
- throw new core_AxiosError("There is no suitable adapter to dispatch the request " + s, 'ERR_NOT_SUPPORT');
7792
+ throw new AxiosError("There is no suitable adapter to dispatch the request " + s, 'ERR_NOT_SUPPORT');
7726
7793
  }
7727
7794
  return adapter;
7728
7795
  },
@@ -7774,10 +7841,10 @@ var __webpack_exports__ = {};
7774
7841
  const deprecatedWarnings = {};
7775
7842
  validators.transitional = function(validator, version, message) {
7776
7843
  function formatMessage(opt, desc) {
7777
- return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
7844
+ return "[Axios v1.11.0] Transitional option '" + opt + '\'' + desc + (message ? '. ' + message : '');
7778
7845
  }
7779
7846
  return (value, opt, opts)=>{
7780
- if (false === validator) throw new core_AxiosError(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), core_AxiosError.ERR_DEPRECATED);
7847
+ if (false === validator) throw new AxiosError(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), AxiosError.ERR_DEPRECATED);
7781
7848
  if (version && !deprecatedWarnings[opt]) {
7782
7849
  deprecatedWarnings[opt] = true;
7783
7850
  console.warn(formatMessage(opt, ' has been deprecated since v' + version + ' and will be removed in the near future'));
@@ -7792,7 +7859,7 @@ var __webpack_exports__ = {};
7792
7859
  };
7793
7860
  };
7794
7861
  function assertOptions(options, schema, allowUnknown) {
7795
- if ('object' != typeof options) throw new core_AxiosError('options must be an object', core_AxiosError.ERR_BAD_OPTION_VALUE);
7862
+ if ('object' != typeof options) throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);
7796
7863
  const keys = Object.keys(options);
7797
7864
  let i = keys.length;
7798
7865
  while(i-- > 0){
@@ -7801,10 +7868,10 @@ var __webpack_exports__ = {};
7801
7868
  if (validator) {
7802
7869
  const value = options[opt];
7803
7870
  const result = void 0 === value || validator(value, opt, options);
7804
- if (true !== result) throw new core_AxiosError('option ' + opt + ' must be ' + result, core_AxiosError.ERR_BAD_OPTION_VALUE);
7871
+ if (true !== result) throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);
7805
7872
  continue;
7806
7873
  }
7807
- if (true !== allowUnknown) throw new core_AxiosError('Unknown option ' + opt, core_AxiosError.ERR_BAD_OPTION);
7874
+ if (true !== allowUnknown) throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);
7808
7875
  }
7809
7876
  }
7810
7877
  const helpers_validator = {
@@ -8130,9 +8197,9 @@ var __webpack_exports__ = {};
8130
8197
  axios.CanceledError = cancel_CanceledError;
8131
8198
  axios.CancelToken = CancelToken;
8132
8199
  axios.isCancel = isCancel;
8133
- axios.VERSION = VERSION;
8200
+ axios.VERSION = "1.11.0";
8134
8201
  axios.toFormData = helpers_toFormData;
8135
- axios.AxiosError = core_AxiosError;
8202
+ axios.AxiosError = AxiosError;
8136
8203
  axios.Cancel = axios.CanceledError;
8137
8204
  axios.all = function(promises) {
8138
8205
  return Promise.all(promises);
@@ -8202,6 +8269,22 @@ var __webpack_exports__ = {};
8202
8269
  }
8203
8270
  };
8204
8271
  };
8272
+ const validateGetPropertyNameFormat = (template)=>{
8273
+ const validVariables = [
8274
+ 'lotDetail',
8275
+ 'buyerName',
8276
+ 'projectName',
8277
+ 'developerName',
8278
+ 'propertyAddress'
8279
+ ];
8280
+ const variableRegex = /\{\{([^}]+)\}\}/g;
8281
+ const matches = template.matchAll(variableRegex);
8282
+ for (const match of matches){
8283
+ const variable = match[1];
8284
+ if (!validVariables.includes(variable)) throw new Error(`Invalid template variable: ${variable}. Valid variables are: ${validVariables.join(', ')}`);
8285
+ }
8286
+ return template;
8287
+ };
8205
8288
  const getPropertyName = (property, options)=>{
8206
8289
  const { project, buyerName } = property;
8207
8290
  let lotDetail = property.lotDetail?.trim();
@@ -8213,7 +8296,26 @@ var __webpack_exports__ = {};
8213
8296
  lotDetail = `Unit ${lotDetail}`;
8214
8297
  } else lotDetail = `Lot ${lotDetail}`;
8215
8298
  else lotDetail = 'Lot N/A';
8299
+ if (options?.format) {
8300
+ const template = validateGetPropertyNameFormat(options.format);
8301
+ const templateVariables = {
8302
+ lotDetail,
8303
+ buyerName: buyerName || '',
8304
+ projectName: project?.name || '',
8305
+ developerName: project?.developer?.companyName || '',
8306
+ propertyAddress: property.propertyAddress || ''
8307
+ };
8308
+ let result = template;
8309
+ Object.entries(templateVariables).forEach(([key, value])=>{
8310
+ const placeholder = `{{${key}}}`;
8311
+ result = result.replace(new RegExp(placeholder, 'g'), value);
8312
+ });
8313
+ result = result.replace(/\{\{[^}]+\}\}/g, '').trim();
8314
+ return result || 'Nill';
8315
+ }
8216
8316
  const { target = 'payout' } = options || {};
8317
+ let separator = ' ';
8318
+ if (options?.separator) separator = options.separator;
8217
8319
  let names = [];
8218
8320
  if ('cma' === target || 'mta' === target) {
8219
8321
  names = [
@@ -8235,8 +8337,19 @@ var __webpack_exports__ = {};
8235
8337
  lotDetail,
8236
8338
  property.propertyAddress
8237
8339
  ];
8340
+ if ('ownership' === target) {
8341
+ if (!options?.separator) separator = ' - ';
8342
+ let first = project?.name;
8343
+ if (project?.name && project?.developer?.companyName) first = `${project?.name} (${project?.developer?.companyName})`;
8344
+ let second = lotDetail;
8345
+ if (lotDetail && buyerName) second = `${lotDetail} ${buyerName}`;
8346
+ names = [
8347
+ first,
8348
+ second
8349
+ ];
8350
+ }
8238
8351
  names = names.filter(Boolean);
8239
- return names.length > 0 ? names.join(' ') : 'Nill';
8352
+ return names.length > 0 ? names.join(separator) : 'Nill';
8240
8353
  };
8241
8354
  })();
8242
8355
  exports.ASSIGN_UNKNOWN_TO_CUSTOMER = __webpack_exports__.ASSIGN_UNKNOWN_TO_CUSTOMER;
@@ -8262,6 +8375,8 @@ exports.DATE_FORMATS = __webpack_exports__.DATE_FORMATS;
8262
8375
  exports.DEFAULT_DATE_FORMAT = __webpack_exports__.DEFAULT_DATE_FORMAT;
8263
8376
  exports.DEFAULT_DATE_FORMAT_WITH_TIME = __webpack_exports__.DEFAULT_DATE_FORMAT_WITH_TIME;
8264
8377
  exports.DEFAULT_DATE_TIME_ZONE = __webpack_exports__.DEFAULT_DATE_TIME_ZONE;
8378
+ exports.DEFAULT_PAGE = __webpack_exports__.DEFAULT_PAGE;
8379
+ exports.DEFAULT_PAGE_SIZE = __webpack_exports__.DEFAULT_PAGE_SIZE;
8265
8380
  exports.DEFAULT_PAYOUT_SOURCE_BANK_REF = __webpack_exports__.DEFAULT_PAYOUT_SOURCE_BANK_REF;
8266
8381
  exports.DEFAULT_PAYOUT_SOURCE_DESCRIPTION = __webpack_exports__.DEFAULT_PAYOUT_SOURCE_DESCRIPTION;
8267
8382
  exports.DEFAULT_PAYOUT_TARGET_BANK_REF = __webpack_exports__.DEFAULT_PAYOUT_TARGET_BANK_REF;
@@ -8284,6 +8399,7 @@ exports.MtaTransactionStatusToDisplayTextMapper = __webpack_exports__.MtaTransac
8284
8399
  exports.MtaTransactionType = __webpack_exports__.MtaTransactionType;
8285
8400
  exports.MtaTransactionTypeToDisplayTextMapper = __webpack_exports__.MtaTransactionTypeToDisplayTextMapper;
8286
8401
  exports.MtaUnknownTransactionType = __webpack_exports__.MtaUnknownTransactionType;
8402
+ exports.PACKAGE_VERSION = __webpack_exports__.PACKAGE_VERSION;
8287
8403
  exports.PaymentMethod = __webpack_exports__.PaymentMethod;
8288
8404
  exports.PayoutBankFileStatus = __webpack_exports__.PayoutBankFileStatus;
8289
8405
  exports.PayoutSourceAccountType = __webpack_exports__.PayoutSourceAccountType;
@@ -8292,8 +8408,11 @@ exports.PayoutTargetAccountType = __webpack_exports__.PayoutTargetAccountType;
8292
8408
  exports.PayoutType = __webpack_exports__.PayoutType;
8293
8409
  exports.ProjectApplyStatusRestRes = __webpack_exports__.ProjectApplyStatusRestRes;
8294
8410
  exports.ProjectMtaAllocationStatus = __webpack_exports__.ProjectMtaAllocationStatus;
8411
+ exports.PropertyInitialDepositStatus = __webpack_exports__.PropertyInitialDepositStatus;
8412
+ exports.PropertyInitialDepositStatusToDisplayTextMapper = __webpack_exports__.PropertyInitialDepositStatusToDisplayTextMapper;
8295
8413
  exports.PropertyRestResStatus = __webpack_exports__.PropertyRestResStatus;
8296
8414
  exports.PropertyStage = __webpack_exports__.PropertyStage;
8415
+ exports.PropertyStatusToDisplayTextMapper = __webpack_exports__.PropertyStatusToDisplayTextMapper;
8297
8416
  exports.QueryMode = __webpack_exports__.QueryMode;
8298
8417
  exports.ReconcileTransactionAction = __webpack_exports__.ReconcileTransactionAction;
8299
8418
  exports.ReconciliationStatus = __webpack_exports__.ReconciliationStatus;
@@ -8315,6 +8434,9 @@ exports.bankCodeSchema = __webpack_exports__.bankCodeSchema;
8315
8434
  exports.bankReconciliationSummaryRestReqSchema = __webpack_exports__.bankReconciliationSummaryRestReqSchema;
8316
8435
  exports.bigIntFilterSchema = __webpack_exports__.bigIntFilterSchema;
8317
8436
  exports.bigIntNullableFilterSchema = __webpack_exports__.bigIntNullableFilterSchema;
8437
+ exports.bigIntNullableObjectFilterSchema = __webpack_exports__.bigIntNullableObjectFilterSchema;
8438
+ exports.bigIntObjectFilterSchema = __webpack_exports__.bigIntObjectFilterSchema;
8439
+ exports.bigIntSimpleFilterSchema = __webpack_exports__.bigIntSimpleFilterSchema;
8318
8440
  exports.boolFilterBaseSchema = __webpack_exports__.boolFilterBaseSchema;
8319
8441
  exports.boolFilterSchema = __webpack_exports__.boolFilterSchema;
8320
8442
  exports.cancelCmaTransactionRestReqSchema = __webpack_exports__.cancelCmaTransactionRestReqSchema;
@@ -8381,12 +8503,16 @@ exports.getTransactionNumber = __webpack_exports__.getTransactionNumber;
8381
8503
  exports.getTransactionStatus = __webpack_exports__.getTransactionStatus;
8382
8504
  exports.intFilterSchema = __webpack_exports__.intFilterSchema;
8383
8505
  exports.intNullableFilterSchema = __webpack_exports__.intNullableFilterSchema;
8506
+ exports.intNullableObjectFilterSchema = __webpack_exports__.intNullableObjectFilterSchema;
8507
+ exports.intObjectFilterSchema = __webpack_exports__.intObjectFilterSchema;
8508
+ exports.intSimpleFilterSchema = __webpack_exports__.intSimpleFilterSchema;
8384
8509
  exports.isInterestTransaction = __webpack_exports__.isInterestTransaction;
8385
8510
  exports.isPaymentTransaction = __webpack_exports__.isPaymentTransaction;
8386
8511
  exports.isReceiptTransaction = __webpack_exports__.isReceiptTransaction;
8387
8512
  exports.isTransactionAssignable = __webpack_exports__.isTransactionAssignable;
8388
8513
  exports.isTransactionCancelable = __webpack_exports__.isTransactionCancelable;
8389
8514
  exports.isUnknownReceiptAssignedToProperty = __webpack_exports__.isUnknownReceiptAssignedToProperty;
8515
+ exports.isUnknownReceiptPaidOut = __webpack_exports__.isUnknownReceiptPaidOut;
8390
8516
  exports.isUnknownTransaction = __webpack_exports__.isUnknownTransaction;
8391
8517
  exports.markCmaTransactionAsClearedRestReqSchema = __webpack_exports__.markCmaTransactionAsClearedRestReqSchema;
8392
8518
  exports.maskBankAccount = __webpack_exports__.maskBankAccount;
@@ -8474,7 +8600,10 @@ exports.settlementPayoutTargetDetailEntitySchema = __webpack_exports__.settlemen
8474
8600
  exports.simpleStringFilterSchema = __webpack_exports__.simpleStringFilterSchema;
8475
8601
  exports.sortReqSchema = __webpack_exports__.sortReqSchema;
8476
8602
  exports.stateCodeSchema = __webpack_exports__.stateCodeSchema;
8603
+ exports.statusFilterSchema = __webpack_exports__.statusFilterSchema;
8604
+ exports.statusNullableFilterSchema = __webpack_exports__.statusNullableFilterSchema;
8477
8605
  exports.stringFilterSchema = __webpack_exports__.stringFilterSchema;
8606
+ exports.stringNullableFilterSchema = __webpack_exports__.stringNullableFilterSchema;
8478
8607
  exports.stringToBoolSchema = __webpack_exports__.stringToBoolSchema;
8479
8608
  exports.stringToDateSchema = __webpack_exports__.stringToDateSchema;
8480
8609
  exports.stringToEndOfDaySchema = __webpack_exports__.stringToEndOfDaySchema;
@@ -8499,6 +8628,7 @@ exports.updateUnknownPayoutRestReqSchema = __webpack_exports__.updateUnknownPayo
8499
8628
  exports.updateUnknownPayoutTargetDetailRestReqSchema = __webpack_exports__.updateUnknownPayoutTargetDetailRestReqSchema;
8500
8629
  exports.userEntitySchema = __webpack_exports__.userEntitySchema;
8501
8630
  exports.userRestResSchema = __webpack_exports__.userRestResSchema;
8631
+ exports.validateGetPropertyNameFormat = __webpack_exports__.validateGetPropertyNameFormat;
8502
8632
  for(var __webpack_i__ in __webpack_exports__)if (-1 === [
8503
8633
  "ASSIGN_UNKNOWN_TO_CUSTOMER",
8504
8634
  "AccountPeriodStatus",
@@ -8523,6 +8653,8 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
8523
8653
  "DEFAULT_DATE_FORMAT",
8524
8654
  "DEFAULT_DATE_FORMAT_WITH_TIME",
8525
8655
  "DEFAULT_DATE_TIME_ZONE",
8656
+ "DEFAULT_PAGE",
8657
+ "DEFAULT_PAGE_SIZE",
8526
8658
  "DEFAULT_PAYOUT_SOURCE_BANK_REF",
8527
8659
  "DEFAULT_PAYOUT_SOURCE_DESCRIPTION",
8528
8660
  "DEFAULT_PAYOUT_TARGET_BANK_REF",
@@ -8545,6 +8677,7 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
8545
8677
  "MtaTransactionType",
8546
8678
  "MtaTransactionTypeToDisplayTextMapper",
8547
8679
  "MtaUnknownTransactionType",
8680
+ "PACKAGE_VERSION",
8548
8681
  "PaymentMethod",
8549
8682
  "PayoutBankFileStatus",
8550
8683
  "PayoutSourceAccountType",
@@ -8553,8 +8686,11 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
8553
8686
  "PayoutType",
8554
8687
  "ProjectApplyStatusRestRes",
8555
8688
  "ProjectMtaAllocationStatus",
8689
+ "PropertyInitialDepositStatus",
8690
+ "PropertyInitialDepositStatusToDisplayTextMapper",
8556
8691
  "PropertyRestResStatus",
8557
8692
  "PropertyStage",
8693
+ "PropertyStatusToDisplayTextMapper",
8558
8694
  "QueryMode",
8559
8695
  "ReconcileTransactionAction",
8560
8696
  "ReconciliationStatus",
@@ -8576,6 +8712,9 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
8576
8712
  "bankReconciliationSummaryRestReqSchema",
8577
8713
  "bigIntFilterSchema",
8578
8714
  "bigIntNullableFilterSchema",
8715
+ "bigIntNullableObjectFilterSchema",
8716
+ "bigIntObjectFilterSchema",
8717
+ "bigIntSimpleFilterSchema",
8579
8718
  "boolFilterBaseSchema",
8580
8719
  "boolFilterSchema",
8581
8720
  "cancelCmaTransactionRestReqSchema",
@@ -8642,12 +8781,16 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
8642
8781
  "getTransactionStatus",
8643
8782
  "intFilterSchema",
8644
8783
  "intNullableFilterSchema",
8784
+ "intNullableObjectFilterSchema",
8785
+ "intObjectFilterSchema",
8786
+ "intSimpleFilterSchema",
8645
8787
  "isInterestTransaction",
8646
8788
  "isPaymentTransaction",
8647
8789
  "isReceiptTransaction",
8648
8790
  "isTransactionAssignable",
8649
8791
  "isTransactionCancelable",
8650
8792
  "isUnknownReceiptAssignedToProperty",
8793
+ "isUnknownReceiptPaidOut",
8651
8794
  "isUnknownTransaction",
8652
8795
  "markCmaTransactionAsClearedRestReqSchema",
8653
8796
  "maskBankAccount",
@@ -8735,7 +8878,10 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
8735
8878
  "simpleStringFilterSchema",
8736
8879
  "sortReqSchema",
8737
8880
  "stateCodeSchema",
8881
+ "statusFilterSchema",
8882
+ "statusNullableFilterSchema",
8738
8883
  "stringFilterSchema",
8884
+ "stringNullableFilterSchema",
8739
8885
  "stringToBoolSchema",
8740
8886
  "stringToDateSchema",
8741
8887
  "stringToEndOfDaySchema",
@@ -8759,7 +8905,8 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
8759
8905
  "updateUnknownPayoutRestReqSchema",
8760
8906
  "updateUnknownPayoutTargetDetailRestReqSchema",
8761
8907
  "userEntitySchema",
8762
- "userRestResSchema"
8908
+ "userRestResSchema",
8909
+ "validateGetPropertyNameFormat"
8763
8910
  ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
8764
8911
  Object.defineProperty(exports, '__esModule', {
8765
8912
  value: true