@mikemo-coposit/am-accounting-shared 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/constants/cma/cma.constant.d.ts +6 -0
- package/dist/cjs/constants/cma/cma.constant.d.ts.map +1 -0
- package/dist/cjs/constants/cma/index.d.ts +1 -1
- package/dist/cjs/constants/cma/index.d.ts.map +1 -1
- package/dist/cjs/constants/cma-transaction/cma-input-type.constant.d.ts +6 -0
- package/dist/cjs/constants/cma-transaction/cma-input-type.constant.d.ts.map +1 -0
- package/dist/cjs/constants/cma-transaction/cma-payment-method.constant.d.ts +4 -0
- package/dist/cjs/constants/cma-transaction/cma-payment-method.constant.d.ts.map +1 -0
- package/dist/cjs/constants/cma-transaction/cma-transaction-status.constant.d.ts +8 -0
- package/dist/cjs/constants/cma-transaction/cma-transaction-status.constant.d.ts.map +1 -0
- package/dist/cjs/constants/cma-transaction/cma-transaction-type.constant.d.ts +20 -0
- package/dist/cjs/constants/cma-transaction/cma-transaction-type.constant.d.ts.map +1 -0
- package/dist/cjs/constants/cma-transaction/index.d.ts +5 -0
- package/dist/cjs/constants/cma-transaction/index.d.ts.map +1 -0
- package/dist/cjs/constants/common/account-period.constant.d.ts +5 -0
- package/dist/cjs/constants/common/account-period.constant.d.ts.map +1 -0
- package/dist/cjs/constants/common/index.d.ts +2 -0
- package/dist/cjs/constants/common/index.d.ts.map +1 -1
- package/dist/cjs/constants/common/reconciliation.constant.d.ts +5 -0
- package/dist/cjs/constants/common/reconciliation.constant.d.ts.map +1 -0
- package/dist/cjs/constants/index.d.ts +3 -2
- package/dist/cjs/constants/index.d.ts.map +1 -1
- package/dist/cjs/constants/mta-transaction/index.d.ts +1 -0
- package/dist/cjs/constants/mta-transaction/index.d.ts.map +1 -1
- package/dist/cjs/constants/mta-transaction/mta-input-type.constant.d.ts +3 -1
- package/dist/cjs/constants/mta-transaction/mta-input-type.constant.d.ts.map +1 -1
- package/dist/cjs/constants/mta-transaction/mta-transaction-status.constant.d.ts +8 -0
- package/dist/cjs/constants/mta-transaction/mta-transaction-status.constant.d.ts.map +1 -0
- package/dist/cjs/constants/mta-transaction/mta-type.constant.d.ts +0 -4
- package/dist/cjs/constants/mta-transaction/mta-type.constant.d.ts.map +1 -1
- package/dist/cjs/constants/payout/index.d.ts +4 -0
- package/dist/cjs/constants/payout/index.d.ts.map +1 -0
- package/dist/cjs/constants/payout/payout-status.constant.d.ts +9 -0
- package/dist/cjs/constants/payout/payout-status.constant.d.ts.map +1 -0
- package/dist/cjs/constants/payout/payout-type.constant.d.ts +9 -0
- package/dist/cjs/constants/payout/payout-type.constant.d.ts.map +1 -0
- package/dist/cjs/constants/payout/payout.constant.d.ts +37 -0
- package/dist/cjs/constants/payout/payout.constant.d.ts.map +1 -0
- package/dist/cjs/constants/payout-bank-file/index.d.ts +2 -0
- package/dist/cjs/constants/payout-bank-file/index.d.ts.map +1 -0
- package/dist/cjs/constants/payout-bank-file/payout-bank-file-status.constant.d.ts +8 -0
- package/dist/cjs/constants/payout-bank-file/payout-bank-file-status.constant.d.ts.map +1 -0
- package/dist/cjs/index.js +1924 -743
- package/dist/cjs/schemas/cma/cma.entity.schema.d.ts +1093 -0
- package/dist/cjs/schemas/cma/cma.entity.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma/cma.rest.schema.d.ts +759 -0
- package/dist/cjs/schemas/cma/cma.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma/create-cma.schema.d.ts +25 -0
- package/dist/cjs/schemas/cma/create-cma.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma/index.d.ts +3 -3
- package/dist/cjs/schemas/cma/index.d.ts.map +1 -1
- package/dist/cjs/schemas/cma-account-period/cma-account-period-close.rest.schema.d.ts +19 -0
- package/dist/cjs/schemas/cma-account-period/cma-account-period-close.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +3637 -0
- package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-account-period/cma-account-period.entity.schema.d.ts +46 -0
- package/dist/cjs/schemas/cma-account-period/cma-account-period.entity.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +1105 -0
- package/dist/cjs/schemas/cma-account-period/cma-account-period.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-account-period/index.d.ts +6 -0
- package/dist/cjs/schemas/cma-account-period/index.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-account-period/update-cma-period-reconciled-to.schema.d.ts +19 -0
- package/dist/cjs/schemas/cma-account-period/update-cma-period-reconciled-to.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.entity.schema.d.ts +37 -0
- package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.entity.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +2238 -0
- package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-reconciled-transaction/index.d.ts +3 -0
- package/dist/cjs/schemas/cma-reconciled-transaction/index.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.entity.schema.d.ts +61 -0
- package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.entity.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts +71 -0
- package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts +16 -0
- package/dist/cjs/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-reconciliation/index.d.ts +5 -0
- package/dist/cjs/schemas/cma-reconciliation/index.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-reconciliation/update-cma-reconciliation-current-bank-balance.rest.schema.d.ts +13 -0
- package/dist/cjs/schemas/cma-reconciliation/update-cma-reconciliation-current-bank-balance.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-transaction/cancel-cma-transaction.rest.schema.d.ts +16 -0
- package/dist/cjs/schemas/cma-transaction/cancel-cma-transaction.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-transaction/clear-cma-transaction.rest.schema.d.ts +13 -0
- package/dist/cjs/schemas/cma-transaction/clear-cma-transaction.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts +815 -0
- package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-transaction/cma-transaction.entity.schema.d.ts +1533 -44
- package/dist/cjs/schemas/cma-transaction/cma-transaction.entity.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +836 -0
- package/dist/cjs/schemas/cma-transaction/cma-transaction.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts +38 -0
- package/dist/cjs/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-transaction/index.d.ts +6 -0
- package/dist/cjs/schemas/cma-transaction/index.d.ts.map +1 -1
- package/dist/cjs/schemas/cma-transaction/reconcile-cma-transaction.rest.schema.d.ts +17 -0
- package/dist/cjs/schemas/cma-transaction/reconcile-cma-transaction.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/common/account/account-bsb.schma.d.ts +4 -0
- package/dist/cjs/schemas/common/account/account-bsb.schma.d.ts.map +1 -0
- package/dist/cjs/schemas/common/account/account-number.schma.d.ts +4 -0
- package/dist/cjs/schemas/common/account/account-number.schma.d.ts.map +1 -0
- package/dist/cjs/schemas/common/account/bank-code.schema.d.ts +4 -0
- package/dist/cjs/schemas/common/account/bank-code.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/common/account/index.d.ts +5 -0
- package/dist/cjs/schemas/common/account/index.d.ts.map +1 -0
- package/dist/cjs/schemas/common/account/state-code.schema.d.ts +4 -0
- package/dist/cjs/schemas/common/account/state-code.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/common/amount/cents-to-dollars.schema.d.ts +3 -0
- package/dist/cjs/schemas/common/amount/cents-to-dollars.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/common/amount/dollars-to-cents.schema.d.ts +3 -0
- package/dist/cjs/schemas/common/amount/dollars-to-cents.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/common/amount/index.d.ts +3 -0
- package/dist/cjs/schemas/common/amount/index.d.ts.map +1 -0
- package/dist/cjs/schemas/common/index.d.ts +4 -0
- package/dist/cjs/schemas/common/index.d.ts.map +1 -0
- package/dist/cjs/schemas/common/search/bool-filter.schema.d.ts +8 -0
- package/dist/cjs/schemas/common/search/bool-filter.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/common/search/date-filter.schema.d.ts +32 -0
- package/dist/cjs/schemas/common/search/date-filter.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/common/search/index.d.ts +6 -0
- package/dist/cjs/schemas/common/search/index.d.ts.map +1 -0
- package/dist/cjs/schemas/common/search/json-filter.schema.d.ts +31 -0
- package/dist/cjs/schemas/common/search/json-filter.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/common/search/number-filter.schema.d.ts +66 -0
- package/dist/cjs/schemas/common/search/number-filter.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/common/search/string-filter.schema.d.ts +41 -0
- package/dist/cjs/schemas/common/search/string-filter.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/index.d.ts +7 -0
- package/dist/cjs/schemas/index.d.ts.map +1 -1
- package/dist/cjs/schemas/menu/create-menu.schema.d.ts +2 -2
- package/dist/cjs/schemas/menu/menu-res.schema.d.ts +16 -16
- package/dist/cjs/schemas/menu/update-menu.schema.d.ts +2 -2
- package/dist/cjs/schemas/mta/create-mta.rest.schema.d.ts +6 -6
- package/dist/cjs/schemas/mta/mta.entity.schema.d.ts +18 -18
- package/dist/cjs/schemas/mta/mta.rest.schema.d.ts +263 -478
- package/dist/cjs/schemas/mta/mta.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-account-period/mta-account-period-close.rest.schema.d.ts +2 -2
- package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +1506 -1866
- package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-account-period/mta-account-period.entity.schema.d.ts +10 -10
- package/dist/cjs/schemas/mta-account-period/mta-account-period.rest.schema.d.ts +327 -787
- package/dist/cjs/schemas/mta-account-period/mta-account-period.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-account-period/update-mta-period-reconciled-to.schema.d.ts +4 -4
- package/dist/cjs/schemas/mta-account-period/update-mta-period-reconciled-to.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-payment-method/mta-payment-method.rest.schema.d.ts +55 -55
- package/dist/cjs/schemas/mta-payment-method/mta-payment-method.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.entity.schema.d.ts +7 -7
- package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +2035 -20
- package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-reconciliation/create-mta-reconciliation.rest.schema.d.ts +4 -4
- package/dist/cjs/schemas/mta-reconciliation/create-mta-reconciliation.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-reconciliation/mta-reconciliation.entity.schema.d.ts +12 -12
- package/dist/cjs/schemas/mta-reconciliation/mta-reconciliation.rest.schema.d.ts +22 -22
- package/dist/cjs/schemas/mta-reconciliation/mta-reconciliation.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-reconciliation/update-mta-reconciliation-current-bank-balance.rest.schema.d.ts +2 -2
- package/dist/cjs/schemas/mta-reconciliation/update-mta-reconciliation-current-bank-balance.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-transaction/assign-unknonw-receipt-to-property.rest.schema.d.ts +2 -2
- package/dist/cjs/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts +13 -15
- package/dist/cjs/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-transaction/mta-transaction.entity.schema.d.ts +27 -24
- package/dist/cjs/schemas/mta-transaction/mta-transaction.entity.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +465 -1623
- package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout/cancel-payout.rest.schema.d.ts +13 -0
- package/dist/cjs/schemas/payout/cancel-payout.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/payout/confirm-bank-file-processed.rest.schema.d.ts +19 -0
- package/dist/cjs/schemas/payout/confirm-bank-file-processed.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/payout/create-mta-to-cma-payout.rest.schema.d.ts +57 -0
- package/dist/cjs/schemas/payout/create-mta-to-cma-payout.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/payout/index.d.ts +8 -1
- package/dist/cjs/schemas/payout/index.d.ts.map +1 -1
- package/dist/cjs/schemas/payout/payout-provision-data.entity.schema.d.ts +787 -0
- package/dist/cjs/schemas/payout/payout-provision-data.entity.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/payout/payout-provision-data.rest.schema.d.ts +14755 -0
- package/dist/cjs/schemas/payout/payout-provision-data.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/payout/payout-search.rest.schema.d.ts +260 -0
- package/dist/cjs/schemas/payout/payout-search.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/payout/payout-status-summary.rest.schema.d.ts +19 -0
- package/dist/cjs/schemas/payout/payout-status-summary.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/payout/payout.entity.schema.d.ts +403 -287
- package/dist/cjs/schemas/payout/payout.entity.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout/payout.rest.create.schema.d.ts +20 -34
- package/dist/cjs/schemas/payout/payout.rest.create.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout/payout.rest.list.schema.d.ts +403 -112
- package/dist/cjs/schemas/payout/payout.rest.list.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout/payout.rest.schema.d.ts +36678 -0
- package/dist/cjs/schemas/payout/payout.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/payout/payout.rest.view.schema.d.ts +375 -128
- package/dist/cjs/schemas/payout/payout.rest.view.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout-bank-file/index.d.ts +3 -0
- package/dist/cjs/schemas/payout-bank-file/index.d.ts.map +1 -0
- package/dist/cjs/schemas/payout-bank-file/payout-bank-file.entity.schema.d.ts +46 -0
- package/dist/cjs/schemas/payout-bank-file/payout-bank-file.entity.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/payout-bank-file/payout-bank-file.rest.schem.d.ts +367 -0
- package/dist/cjs/schemas/payout-bank-file/payout-bank-file.rest.schem.d.ts.map +1 -0
- package/dist/cjs/schemas/payout-bank-file-download-history/index.d.ts +2 -0
- package/dist/cjs/schemas/payout-bank-file-download-history/index.d.ts.map +1 -0
- package/dist/cjs/schemas/payout-bank-file-download-history/payout-bank-file-download-histor.entity.schema.d.ts +108 -0
- package/dist/cjs/schemas/payout-bank-file-download-history/payout-bank-file-download-histor.entity.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/payout-transaction/index.d.ts +3 -0
- package/dist/cjs/schemas/payout-transaction/index.d.ts.map +1 -0
- package/dist/cjs/schemas/payout-transaction/payout-transactin.entity.schema.d.ts +67 -0
- package/dist/cjs/schemas/payout-transaction/payout-transactin.entity.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +7175 -0
- package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts.map +1 -0
- package/dist/cjs/schemas/project/project.entity.schema.d.ts +87 -7
- package/dist/cjs/schemas/project/project.entity.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/project/project.rest.schema.d.ts +330 -327
- package/dist/cjs/schemas/project/project.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/project-mta-allocation/allocate-mta-to-project.schema.d.ts +2 -2
- package/dist/cjs/schemas/project-mta-allocation/project-mta-allocation.entity.schema.d.ts +4 -4
- package/dist/cjs/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts +99 -98
- package/dist/cjs/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/property/customer.entity.schema.d.ts +33 -0
- package/dist/cjs/schemas/property/customer.entity.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/property/index.d.ts +3 -0
- package/dist/cjs/schemas/property/index.d.ts.map +1 -1
- package/dist/cjs/schemas/property/property-accounts-balance.rest.schema.d.ts +66 -0
- package/dist/cjs/schemas/property/property-accounts-balance.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/property/property-search.rest.schema.d.ts +864 -0
- package/dist/cjs/schemas/property/property-search.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/property/property.entity.schema.d.ts +734 -17
- package/dist/cjs/schemas/property/property.entity.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/property/property.rest.schema.d.ts +2432 -1683
- package/dist/cjs/schemas/property/property.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/user/index.d.ts +1 -0
- package/dist/cjs/schemas/user/index.d.ts.map +1 -1
- package/dist/cjs/schemas/user/user.entity.schema.d.ts +2 -2
- package/dist/cjs/schemas/user/user.rest.schema.d.ts +35 -0
- package/dist/cjs/schemas/user/user.rest.schema.d.ts.map +1 -0
- package/dist/cjs/utils/amount.util.d.ts +2 -2
- package/dist/cjs/utils/amount.util.d.ts.map +1 -1
- package/dist/cjs/utils/bank-account.util.d.ts +17 -0
- package/dist/cjs/utils/bank-account.util.d.ts.map +1 -0
- package/dist/cjs/utils/index.d.ts +2 -0
- package/dist/cjs/utils/index.d.ts.map +1 -1
- package/dist/cjs/utils/property.util.d.ts +12 -0
- package/dist/cjs/utils/property.util.d.ts.map +1 -0
- package/dist/cjs/utils/transaction.util.d.ts +4 -2
- package/dist/cjs/utils/transaction.util.d.ts.map +1 -1
- package/dist/esm/constants/cma/cma.constant.d.ts +6 -0
- package/dist/esm/constants/cma/cma.constant.d.ts.map +1 -0
- package/dist/esm/constants/cma/index.d.ts +1 -1
- package/dist/esm/constants/cma/index.d.ts.map +1 -1
- package/dist/esm/constants/cma-transaction/cma-input-type.constant.d.ts +6 -0
- package/dist/esm/constants/cma-transaction/cma-input-type.constant.d.ts.map +1 -0
- package/dist/esm/constants/cma-transaction/cma-payment-method.constant.d.ts +4 -0
- package/dist/esm/constants/cma-transaction/cma-payment-method.constant.d.ts.map +1 -0
- package/dist/esm/constants/cma-transaction/cma-transaction-status.constant.d.ts +8 -0
- package/dist/esm/constants/cma-transaction/cma-transaction-status.constant.d.ts.map +1 -0
- package/dist/esm/constants/cma-transaction/cma-transaction-type.constant.d.ts +20 -0
- package/dist/esm/constants/cma-transaction/cma-transaction-type.constant.d.ts.map +1 -0
- package/dist/esm/constants/cma-transaction/index.d.ts +5 -0
- package/dist/esm/constants/cma-transaction/index.d.ts.map +1 -0
- package/dist/esm/constants/common/account-period.constant.d.ts +5 -0
- package/dist/esm/constants/common/account-period.constant.d.ts.map +1 -0
- package/dist/esm/constants/common/index.d.ts +2 -0
- package/dist/esm/constants/common/index.d.ts.map +1 -1
- package/dist/esm/constants/common/reconciliation.constant.d.ts +5 -0
- package/dist/esm/constants/common/reconciliation.constant.d.ts.map +1 -0
- package/dist/esm/constants/index.d.ts +3 -2
- package/dist/esm/constants/index.d.ts.map +1 -1
- package/dist/esm/constants/mta-transaction/index.d.ts +1 -0
- package/dist/esm/constants/mta-transaction/index.d.ts.map +1 -1
- package/dist/esm/constants/mta-transaction/mta-input-type.constant.d.ts +3 -1
- package/dist/esm/constants/mta-transaction/mta-input-type.constant.d.ts.map +1 -1
- package/dist/esm/constants/mta-transaction/mta-transaction-status.constant.d.ts +8 -0
- package/dist/esm/constants/mta-transaction/mta-transaction-status.constant.d.ts.map +1 -0
- package/dist/esm/constants/mta-transaction/mta-type.constant.d.ts +0 -4
- package/dist/esm/constants/mta-transaction/mta-type.constant.d.ts.map +1 -1
- package/dist/esm/constants/payout/index.d.ts +4 -0
- package/dist/esm/constants/payout/index.d.ts.map +1 -0
- package/dist/esm/constants/payout/payout-status.constant.d.ts +9 -0
- package/dist/esm/constants/payout/payout-status.constant.d.ts.map +1 -0
- package/dist/esm/constants/payout/payout-type.constant.d.ts +9 -0
- package/dist/esm/constants/payout/payout-type.constant.d.ts.map +1 -0
- package/dist/esm/constants/payout/payout.constant.d.ts +37 -0
- package/dist/esm/constants/payout/payout.constant.d.ts.map +1 -0
- package/dist/esm/constants/payout-bank-file/index.d.ts +2 -0
- package/dist/esm/constants/payout-bank-file/index.d.ts.map +1 -0
- package/dist/esm/constants/payout-bank-file/payout-bank-file-status.constant.d.ts +8 -0
- package/dist/esm/constants/payout-bank-file/payout-bank-file-status.constant.d.ts.map +1 -0
- package/dist/esm/index.mjs +1770 -889
- package/dist/esm/schemas/cma/cma.entity.schema.d.ts +1093 -0
- package/dist/esm/schemas/cma/cma.entity.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma/cma.rest.schema.d.ts +759 -0
- package/dist/esm/schemas/cma/cma.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma/create-cma.schema.d.ts +25 -0
- package/dist/esm/schemas/cma/create-cma.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma/index.d.ts +3 -3
- package/dist/esm/schemas/cma/index.d.ts.map +1 -1
- package/dist/esm/schemas/cma-account-period/cma-account-period-close.rest.schema.d.ts +19 -0
- package/dist/esm/schemas/cma-account-period/cma-account-period-close.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +3637 -0
- package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-account-period/cma-account-period.entity.schema.d.ts +46 -0
- package/dist/esm/schemas/cma-account-period/cma-account-period.entity.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +1105 -0
- package/dist/esm/schemas/cma-account-period/cma-account-period.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-account-period/index.d.ts +6 -0
- package/dist/esm/schemas/cma-account-period/index.d.ts.map +1 -0
- package/dist/esm/schemas/cma-account-period/update-cma-period-reconciled-to.schema.d.ts +19 -0
- package/dist/esm/schemas/cma-account-period/update-cma-period-reconciled-to.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.entity.schema.d.ts +37 -0
- package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.entity.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +2238 -0
- package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-reconciled-transaction/index.d.ts +3 -0
- package/dist/esm/schemas/cma-reconciled-transaction/index.d.ts.map +1 -0
- package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.entity.schema.d.ts +61 -0
- package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.entity.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts +71 -0
- package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts +16 -0
- package/dist/esm/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-reconciliation/index.d.ts +5 -0
- package/dist/esm/schemas/cma-reconciliation/index.d.ts.map +1 -0
- package/dist/esm/schemas/cma-reconciliation/update-cma-reconciliation-current-bank-balance.rest.schema.d.ts +13 -0
- package/dist/esm/schemas/cma-reconciliation/update-cma-reconciliation-current-bank-balance.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-transaction/cancel-cma-transaction.rest.schema.d.ts +16 -0
- package/dist/esm/schemas/cma-transaction/cancel-cma-transaction.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-transaction/clear-cma-transaction.rest.schema.d.ts +13 -0
- package/dist/esm/schemas/cma-transaction/clear-cma-transaction.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts +815 -0
- package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-transaction/cma-transaction.entity.schema.d.ts +1533 -44
- package/dist/esm/schemas/cma-transaction/cma-transaction.entity.schema.d.ts.map +1 -1
- package/dist/esm/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +836 -0
- package/dist/esm/schemas/cma-transaction/cma-transaction.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts +38 -0
- package/dist/esm/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-transaction/index.d.ts +6 -0
- package/dist/esm/schemas/cma-transaction/index.d.ts.map +1 -1
- package/dist/esm/schemas/cma-transaction/reconcile-cma-transaction.rest.schema.d.ts +17 -0
- package/dist/esm/schemas/cma-transaction/reconcile-cma-transaction.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/common/account/account-bsb.schma.d.ts +4 -0
- package/dist/esm/schemas/common/account/account-bsb.schma.d.ts.map +1 -0
- package/dist/esm/schemas/common/account/account-number.schma.d.ts +4 -0
- package/dist/esm/schemas/common/account/account-number.schma.d.ts.map +1 -0
- package/dist/esm/schemas/common/account/bank-code.schema.d.ts +4 -0
- package/dist/esm/schemas/common/account/bank-code.schema.d.ts.map +1 -0
- package/dist/esm/schemas/common/account/index.d.ts +5 -0
- package/dist/esm/schemas/common/account/index.d.ts.map +1 -0
- package/dist/esm/schemas/common/account/state-code.schema.d.ts +4 -0
- package/dist/esm/schemas/common/account/state-code.schema.d.ts.map +1 -0
- package/dist/esm/schemas/common/amount/cents-to-dollars.schema.d.ts +3 -0
- package/dist/esm/schemas/common/amount/cents-to-dollars.schema.d.ts.map +1 -0
- package/dist/esm/schemas/common/amount/dollars-to-cents.schema.d.ts +3 -0
- package/dist/esm/schemas/common/amount/dollars-to-cents.schema.d.ts.map +1 -0
- package/dist/esm/schemas/common/amount/index.d.ts +3 -0
- package/dist/esm/schemas/common/amount/index.d.ts.map +1 -0
- package/dist/esm/schemas/common/index.d.ts +4 -0
- package/dist/esm/schemas/common/index.d.ts.map +1 -0
- package/dist/esm/schemas/common/search/bool-filter.schema.d.ts +8 -0
- package/dist/esm/schemas/common/search/bool-filter.schema.d.ts.map +1 -0
- package/dist/esm/schemas/common/search/date-filter.schema.d.ts +32 -0
- package/dist/esm/schemas/common/search/date-filter.schema.d.ts.map +1 -0
- package/dist/esm/schemas/common/search/index.d.ts +6 -0
- package/dist/esm/schemas/common/search/index.d.ts.map +1 -0
- package/dist/esm/schemas/common/search/json-filter.schema.d.ts +31 -0
- package/dist/esm/schemas/common/search/json-filter.schema.d.ts.map +1 -0
- package/dist/esm/schemas/common/search/number-filter.schema.d.ts +66 -0
- package/dist/esm/schemas/common/search/number-filter.schema.d.ts.map +1 -0
- package/dist/esm/schemas/common/search/string-filter.schema.d.ts +41 -0
- package/dist/esm/schemas/common/search/string-filter.schema.d.ts.map +1 -0
- package/dist/esm/schemas/index.d.ts +7 -0
- package/dist/esm/schemas/index.d.ts.map +1 -1
- package/dist/esm/schemas/menu/create-menu.schema.d.ts +2 -2
- package/dist/esm/schemas/menu/menu-res.schema.d.ts +16 -16
- package/dist/esm/schemas/menu/update-menu.schema.d.ts +2 -2
- package/dist/esm/schemas/mta/create-mta.rest.schema.d.ts +6 -6
- package/dist/esm/schemas/mta/mta.entity.schema.d.ts +18 -18
- package/dist/esm/schemas/mta/mta.rest.schema.d.ts +263 -478
- package/dist/esm/schemas/mta/mta.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/mta-account-period/mta-account-period-close.rest.schema.d.ts +2 -2
- package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +1506 -1866
- package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/mta-account-period/mta-account-period.entity.schema.d.ts +10 -10
- package/dist/esm/schemas/mta-account-period/mta-account-period.rest.schema.d.ts +327 -787
- package/dist/esm/schemas/mta-account-period/mta-account-period.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/mta-account-period/update-mta-period-reconciled-to.schema.d.ts +4 -4
- package/dist/esm/schemas/mta-account-period/update-mta-period-reconciled-to.schema.d.ts.map +1 -1
- package/dist/esm/schemas/mta-payment-method/mta-payment-method.rest.schema.d.ts +55 -55
- package/dist/esm/schemas/mta-payment-method/mta-payment-method.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.entity.schema.d.ts +7 -7
- package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +2035 -20
- package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/mta-reconciliation/create-mta-reconciliation.rest.schema.d.ts +4 -4
- package/dist/esm/schemas/mta-reconciliation/create-mta-reconciliation.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/mta-reconciliation/mta-reconciliation.entity.schema.d.ts +12 -12
- package/dist/esm/schemas/mta-reconciliation/mta-reconciliation.rest.schema.d.ts +22 -22
- package/dist/esm/schemas/mta-reconciliation/mta-reconciliation.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/mta-reconciliation/update-mta-reconciliation-current-bank-balance.rest.schema.d.ts +2 -2
- package/dist/esm/schemas/mta-reconciliation/update-mta-reconciliation-current-bank-balance.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/mta-transaction/assign-unknonw-receipt-to-property.rest.schema.d.ts +2 -2
- package/dist/esm/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts +13 -15
- package/dist/esm/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/mta-transaction/mta-transaction.entity.schema.d.ts +27 -24
- package/dist/esm/schemas/mta-transaction/mta-transaction.entity.schema.d.ts.map +1 -1
- package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +465 -1623
- package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout/cancel-payout.rest.schema.d.ts +13 -0
- package/dist/esm/schemas/payout/cancel-payout.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/payout/confirm-bank-file-processed.rest.schema.d.ts +19 -0
- package/dist/esm/schemas/payout/confirm-bank-file-processed.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/payout/create-mta-to-cma-payout.rest.schema.d.ts +57 -0
- package/dist/esm/schemas/payout/create-mta-to-cma-payout.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/payout/index.d.ts +8 -1
- package/dist/esm/schemas/payout/index.d.ts.map +1 -1
- package/dist/esm/schemas/payout/payout-provision-data.entity.schema.d.ts +787 -0
- package/dist/esm/schemas/payout/payout-provision-data.entity.schema.d.ts.map +1 -0
- package/dist/esm/schemas/payout/payout-provision-data.rest.schema.d.ts +14755 -0
- package/dist/esm/schemas/payout/payout-provision-data.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/payout/payout-search.rest.schema.d.ts +260 -0
- package/dist/esm/schemas/payout/payout-search.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/payout/payout-status-summary.rest.schema.d.ts +19 -0
- package/dist/esm/schemas/payout/payout-status-summary.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/payout/payout.entity.schema.d.ts +403 -287
- package/dist/esm/schemas/payout/payout.entity.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout/payout.rest.create.schema.d.ts +20 -34
- package/dist/esm/schemas/payout/payout.rest.create.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout/payout.rest.list.schema.d.ts +403 -112
- package/dist/esm/schemas/payout/payout.rest.list.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout/payout.rest.schema.d.ts +36678 -0
- package/dist/esm/schemas/payout/payout.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/payout/payout.rest.view.schema.d.ts +375 -128
- package/dist/esm/schemas/payout/payout.rest.view.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout-bank-file/index.d.ts +3 -0
- package/dist/esm/schemas/payout-bank-file/index.d.ts.map +1 -0
- package/dist/esm/schemas/payout-bank-file/payout-bank-file.entity.schema.d.ts +46 -0
- package/dist/esm/schemas/payout-bank-file/payout-bank-file.entity.schema.d.ts.map +1 -0
- package/dist/esm/schemas/payout-bank-file/payout-bank-file.rest.schem.d.ts +367 -0
- package/dist/esm/schemas/payout-bank-file/payout-bank-file.rest.schem.d.ts.map +1 -0
- package/dist/esm/schemas/payout-bank-file-download-history/index.d.ts +2 -0
- package/dist/esm/schemas/payout-bank-file-download-history/index.d.ts.map +1 -0
- package/dist/esm/schemas/payout-bank-file-download-history/payout-bank-file-download-histor.entity.schema.d.ts +108 -0
- package/dist/esm/schemas/payout-bank-file-download-history/payout-bank-file-download-histor.entity.schema.d.ts.map +1 -0
- package/dist/esm/schemas/payout-transaction/index.d.ts +3 -0
- package/dist/esm/schemas/payout-transaction/index.d.ts.map +1 -0
- package/dist/esm/schemas/payout-transaction/payout-transactin.entity.schema.d.ts +67 -0
- package/dist/esm/schemas/payout-transaction/payout-transactin.entity.schema.d.ts.map +1 -0
- package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +7175 -0
- package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts.map +1 -0
- package/dist/esm/schemas/project/project.entity.schema.d.ts +87 -7
- package/dist/esm/schemas/project/project.entity.schema.d.ts.map +1 -1
- package/dist/esm/schemas/project/project.rest.schema.d.ts +330 -327
- package/dist/esm/schemas/project/project.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/project-mta-allocation/allocate-mta-to-project.schema.d.ts +2 -2
- package/dist/esm/schemas/project-mta-allocation/project-mta-allocation.entity.schema.d.ts +4 -4
- package/dist/esm/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts +99 -98
- package/dist/esm/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/property/customer.entity.schema.d.ts +33 -0
- package/dist/esm/schemas/property/customer.entity.schema.d.ts.map +1 -0
- package/dist/esm/schemas/property/index.d.ts +3 -0
- package/dist/esm/schemas/property/index.d.ts.map +1 -1
- package/dist/esm/schemas/property/property-accounts-balance.rest.schema.d.ts +66 -0
- package/dist/esm/schemas/property/property-accounts-balance.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/property/property-search.rest.schema.d.ts +864 -0
- package/dist/esm/schemas/property/property-search.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/property/property.entity.schema.d.ts +734 -17
- package/dist/esm/schemas/property/property.entity.schema.d.ts.map +1 -1
- package/dist/esm/schemas/property/property.rest.schema.d.ts +2432 -1683
- package/dist/esm/schemas/property/property.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/user/index.d.ts +1 -0
- package/dist/esm/schemas/user/index.d.ts.map +1 -1
- package/dist/esm/schemas/user/user.entity.schema.d.ts +2 -2
- package/dist/esm/schemas/user/user.rest.schema.d.ts +35 -0
- package/dist/esm/schemas/user/user.rest.schema.d.ts.map +1 -0
- package/dist/esm/utils/amount.util.d.ts +2 -2
- package/dist/esm/utils/amount.util.d.ts.map +1 -1
- package/dist/esm/utils/bank-account.util.d.ts +17 -0
- package/dist/esm/utils/bank-account.util.d.ts.map +1 -0
- package/dist/esm/utils/index.d.ts +2 -0
- package/dist/esm/utils/index.d.ts.map +1 -1
- package/dist/esm/utils/property.util.d.ts +12 -0
- package/dist/esm/utils/property.util.d.ts.map +1 -0
- package/dist/esm/utils/transaction.util.d.ts +4 -2
- package/dist/esm/utils/transaction.util.d.ts.map +1 -1
- package/package.json +5 -5
- package/dist/cjs/constants/cma/cma-account.constant.d.ts +0 -6
- package/dist/cjs/constants/cma/cma-account.constant.d.ts.map +0 -1
- package/dist/cjs/constants/mta-account-period/index.d.ts +0 -2
- package/dist/cjs/constants/mta-account-period/index.d.ts.map +0 -1
- package/dist/cjs/constants/mta-account-period/mta-account-period.constant.d.ts +0 -5
- package/dist/cjs/constants/mta-account-period/mta-account-period.constant.d.ts.map +0 -1
- package/dist/cjs/constants/mta-reconciliation/index.d.ts +0 -2
- package/dist/cjs/constants/mta-reconciliation/index.d.ts.map +0 -1
- package/dist/cjs/constants/mta-reconciliation/mta-reconciliation.constant.d.ts +0 -5
- package/dist/cjs/constants/mta-reconciliation/mta-reconciliation.constant.d.ts.map +0 -1
- package/dist/cjs/schemas/cma/cma-account-res.schema.d.ts +0 -67
- package/dist/cjs/schemas/cma/cma-account-res.schema.d.ts.map +0 -1
- package/dist/cjs/schemas/cma/cma-account.entity.schema.d.ts +0 -67
- package/dist/cjs/schemas/cma/cma-account.entity.schema.d.ts.map +0 -1
- package/dist/cjs/schemas/cma/create-cma-account.schema.d.ts +0 -24
- package/dist/cjs/schemas/cma/create-cma-account.schema.d.ts.map +0 -1
- package/dist/cjs/schemas/payout/payout.create.schema.d.ts +0 -157
- package/dist/cjs/schemas/payout/payout.create.schema.d.ts.map +0 -1
- package/dist/esm/constants/cma/cma-account.constant.d.ts +0 -6
- package/dist/esm/constants/cma/cma-account.constant.d.ts.map +0 -1
- package/dist/esm/constants/mta-account-period/index.d.ts +0 -2
- package/dist/esm/constants/mta-account-period/index.d.ts.map +0 -1
- package/dist/esm/constants/mta-account-period/mta-account-period.constant.d.ts +0 -5
- package/dist/esm/constants/mta-account-period/mta-account-period.constant.d.ts.map +0 -1
- package/dist/esm/constants/mta-reconciliation/index.d.ts +0 -2
- package/dist/esm/constants/mta-reconciliation/index.d.ts.map +0 -1
- package/dist/esm/constants/mta-reconciliation/mta-reconciliation.constant.d.ts +0 -5
- package/dist/esm/constants/mta-reconciliation/mta-reconciliation.constant.d.ts.map +0 -1
- package/dist/esm/schemas/cma/cma-account-res.schema.d.ts +0 -67
- package/dist/esm/schemas/cma/cma-account-res.schema.d.ts.map +0 -1
- package/dist/esm/schemas/cma/cma-account.entity.schema.d.ts +0 -67
- package/dist/esm/schemas/cma/cma-account.entity.schema.d.ts.map +0 -1
- package/dist/esm/schemas/cma/create-cma-account.schema.d.ts +0 -24
- package/dist/esm/schemas/cma/create-cma-account.schema.d.ts.map +0 -1
- package/dist/esm/schemas/payout/payout.create.schema.d.ts +0 -157
- package/dist/esm/schemas/payout/payout.create.schema.d.ts.map +0 -1
package/dist/cjs/index.js
CHANGED
|
@@ -2616,105 +2616,205 @@ var __webpack_exports__ = {};
|
|
|
2616
2616
|
"use strict";
|
|
2617
2617
|
__webpack_require__.r(__webpack_exports__);
|
|
2618
2618
|
__webpack_require__.d(__webpack_exports__, {
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2619
|
+
getTransactionNumber: ()=>getTransactionNumber,
|
|
2620
|
+
payoutMtaToCmaProvisionDataEntitySchema: ()=>payoutMtaToCmaProvisionDataEntitySchema,
|
|
2621
|
+
createMtaTransactionRestReqSchema: ()=>createMtaTransactionRestReqSchema,
|
|
2622
|
+
DEFAULT_PAYOUT_SOURCE_BANK_REF: ()=>DEFAULT_PAYOUT_SOURCE_BANK_REF,
|
|
2623
|
+
dateTimeFilterSchema: ()=>dateTimeFilterSchema,
|
|
2624
|
+
accountBsbMaskedSchema: ()=>accountBsbMaskedSchema,
|
|
2625
|
+
CmaTransactionType: ()=>CmaTransactionType,
|
|
2626
|
+
formatBankBsb: ()=>formatBankBsb,
|
|
2627
|
+
MtaTransactionTypeToDisplayTextMapper: ()=>MtaTransactionTypeToDisplayTextMapper,
|
|
2628
|
+
mtaAccountPeriodCloseRestReqSchema: ()=>mtaAccountPeriodCloseRestReqSchema,
|
|
2629
|
+
cancelMtaTransactionRestReqSchema: ()=>cancelMtaTransactionRestReqSchema,
|
|
2630
|
+
MenuStatus: ()=>MenuStatus,
|
|
2631
|
+
PayoutStatus: ()=>PayoutStatus,
|
|
2632
|
+
mtaPaymentMethodRestResSchema: ()=>mtaPaymentMethodRestResSchema,
|
|
2633
|
+
CmaReceiptTransactionType: ()=>CmaReceiptTransactionType,
|
|
2634
|
+
payoutTargetDetailsBaseEntitySchema: ()=>payoutTargetDetailsBaseEntitySchema,
|
|
2635
|
+
cmaReconciliationEntitySchema: ()=>cmaReconciliationEntitySchema,
|
|
2636
|
+
PayoutType: ()=>PayoutType,
|
|
2637
|
+
updateCmaAccountPeriodReconciledToRestReqSchema: ()=>updateCmaAccountPeriodReconciledToRestReqSchema,
|
|
2638
|
+
CmaTransactionInputType: ()=>cma_input_type_constant_CmaTransactionInputType,
|
|
2622
2639
|
ReconcileTransactionAction: ()=>reconcile_transaction_action_constant_ReconcileTransactionAction,
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
AmmoZeptoClient: ()=>AmmoZeptoClient,
|
|
2626
|
-
payoutRestReqSchema: ()=>payoutRestReqSchema,
|
|
2627
|
-
projectEntitySchema: ()=>projectEntitySchema,
|
|
2628
|
-
updateMenuRestReqSchema: ()=>updateMenuRestReqSchema,
|
|
2629
|
-
updateMtaRestReqSchema: ()=>updateMtaRestReqSchema,
|
|
2640
|
+
createCmaTransactionRestReqSchema: ()=>createCmaTransactionRestReqSchema,
|
|
2641
|
+
cmaAccountPeriodRestResSchema: ()=>cmaAccountPeriodRestResSchema,
|
|
2630
2642
|
mtaReconciliationEntitySchema: ()=>mtaReconciliationEntitySchema,
|
|
2643
|
+
cmaReconciledTransactionEntitySchema: ()=>cmaReconciledTransactionEntitySchema,
|
|
2644
|
+
payoutTargetDetailsEntitySchema: ()=>payoutTargetDetailsEntitySchema,
|
|
2645
|
+
propertyNestedEntitySchema: ()=>propertyNestedEntitySchema,
|
|
2646
|
+
cmaTransactionNestedSchema: ()=>cmaTransactionNestedSchema,
|
|
2647
|
+
AmmoZeptoBankAccounts: ()=>AmmoZeptoBankAccounts,
|
|
2648
|
+
DEFAULT_PAYOUT_TARGET_DESCRIPTION: ()=>DEFAULT_PAYOUT_TARGET_DESCRIPTION,
|
|
2649
|
+
payoutProvisionDataEntitySchema: ()=>payoutProvisionDataEntitySchema,
|
|
2650
|
+
cmaTransactionEntitySchema: ()=>cmaTransactionEntitySchema,
|
|
2651
|
+
PayoutTargetAccountType: ()=>payout_constant_PayoutTargetAccountType,
|
|
2652
|
+
AccountPeriodStatus: ()=>account_period_constant_AccountPeriodStatus,
|
|
2653
|
+
CmaTransactionTypeToDisplayTextMapper: ()=>CmaTransactionTypeToDisplayTextMapper,
|
|
2654
|
+
mtaRestResBaseSchema: ()=>mtaRestResBaseSchema,
|
|
2631
2655
|
mtaTransactionRestResSchema: ()=>mtaTransactionRestResSchema,
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2656
|
+
allocateMtaToProjectRestReqSchema: ()=>allocateMtaToProjectRestReqSchema,
|
|
2657
|
+
updateMtaAccountPeriodReconciledToRestReqSchema: ()=>updateMtaAccountPeriodReconciledToRestReqSchema,
|
|
2658
|
+
PayoutSourceAccountType: ()=>payout_constant_PayoutSourceAccountType,
|
|
2659
|
+
boolFilterSchema: ()=>boolFilterSchema,
|
|
2660
|
+
centsToDollarsSchema: ()=>centsToDollarsSchema,
|
|
2661
|
+
payoutRestReqSchema: ()=>payoutRestReqSchema,
|
|
2662
|
+
payoutBankFileDownloadHistoryEntitySchema: ()=>payoutBankFileDownloadHistoryEntitySchema,
|
|
2663
|
+
formatCurrency: ()=>formatCurrency,
|
|
2639
2664
|
menuSchema: ()=>menuSchema,
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
isUnknownReceiptAssignedToProperty: ()=>isUnknownReceiptAssignedToProperty,
|
|
2645
|
-
AccountingCommonStatus: ()=>common_status_constant_AccountingCommonStatus,
|
|
2646
|
-
MtaTransactionInputType: ()=>mta_input_type_constant_MtaTransactionInputType,
|
|
2665
|
+
getTransactionStatus: ()=>getTransactionStatus,
|
|
2666
|
+
ASSIGN_UNKNOWN_TO_CUSTOMER: ()=>ASSIGN_UNKNOWN_TO_CUSTOMER,
|
|
2667
|
+
mtaReconciledTransactionRestResSchema: ()=>mtaReconciledTransactionRestResSchema,
|
|
2668
|
+
basePayoutItemShape: ()=>basePayoutItemShape,
|
|
2647
2669
|
isReceiptTransaction: ()=>isReceiptTransaction,
|
|
2648
|
-
mtaAccountPeriodRestResSchema: ()=>mtaAccountPeriodRestResSchema,
|
|
2649
2670
|
mtaEntitySchema: ()=>mtaEntitySchema,
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2671
|
+
mtaPaymentMethodAccountConfigSchema: ()=>mtaPaymentMethodAccountConfigSchema,
|
|
2672
|
+
DEFAULT_PAYOUT_SOURCE_DESCRIPTION: ()=>DEFAULT_PAYOUT_SOURCE_DESCRIPTION,
|
|
2673
|
+
payoutSourceDetailsEntitySchema: ()=>payoutSourceDetailsEntitySchema,
|
|
2674
|
+
payoutStatusSummaryRestResSchema: ()=>payoutStatusSummaryRestResSchema,
|
|
2675
|
+
PropertyRestResStatus: ()=>PropertyRestResStatus,
|
|
2676
|
+
TRANSACTION_CANCEL: ()=>TRANSACTION_CANCEL,
|
|
2677
|
+
mtaTransactionRestResBaseSchema: ()=>mtaTransactionRestResBaseSchema,
|
|
2678
|
+
mtaAccountPeriodRestResSchema: ()=>mtaAccountPeriodRestResSchema,
|
|
2679
|
+
isInterestTransaction: ()=>isInterestTransaction,
|
|
2680
|
+
JsonNullableFilterSchema: ()=>JsonNullableFilterSchema,
|
|
2681
|
+
payoutCmaTargetDetailsRestSchema: ()=>payoutCmaTargetDetailsRestSchema,
|
|
2682
|
+
developerEntitySchema: ()=>developerEntitySchema,
|
|
2683
|
+
isUnknownReceiptAssignedToProperty: ()=>isUnknownReceiptAssignedToProperty,
|
|
2684
|
+
payoutSourceDetailsRestResBaseSchema: ()=>payoutSourceDetailsRestResBaseSchema,
|
|
2685
|
+
propertyAccountsBalanceRestResSchema: ()=>propertyAccountsBalanceRestResSchema,
|
|
2686
|
+
updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema: ()=>updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema,
|
|
2663
2687
|
mtaReconciliationRestResSchema: ()=>mtaReconciliationRestResSchema,
|
|
2664
|
-
|
|
2688
|
+
createMtaReconciliationRestReqSchema: ()=>createMtaReconciliationRestReqSchema,
|
|
2689
|
+
MtaReceiptTransactionType: ()=>MtaReceiptTransactionType,
|
|
2690
|
+
projectNestedEntitySchema: ()=>projectNestedEntitySchema,
|
|
2665
2691
|
propertyEntitySchema: ()=>propertyEntitySchema,
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2692
|
+
intFilterSchema: ()=>intFilterSchema,
|
|
2693
|
+
payoutRestResSchema: ()=>payoutRestResSchema,
|
|
2694
|
+
reconcileCmaTransactionRestReqSchema: ()=>reconcileCmaTransactionRestReqSchema,
|
|
2695
|
+
MtaStatus: ()=>mta_MtaStatus,
|
|
2696
|
+
cmaRestResBaseSchema: ()=>cmaRestResBaseSchema,
|
|
2697
|
+
payoutTargetDetailsRestResBaseSchema: ()=>payoutTargetDetailsRestResBaseSchema,
|
|
2698
|
+
StringFilterBaseSchema: ()=>StringFilterBaseSchema,
|
|
2699
|
+
cmaClosedAccountPeriodRestResSchema: ()=>cmaClosedAccountPeriodRestResSchema,
|
|
2700
|
+
payoutItemReqSchema: ()=>payoutItemReqSchema,
|
|
2701
|
+
cmaReconciliationRestResSchema: ()=>cmaReconciliationRestResSchema,
|
|
2672
2702
|
mtaPaymentMethodEntitySchema: ()=>mtaPaymentMethodEntitySchema,
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2703
|
+
payoutTransactionEntitySchema: ()=>payoutTransactionEntitySchema,
|
|
2704
|
+
updateMenuRestReqSchema: ()=>updateMenuRestReqSchema,
|
|
2705
|
+
payoutMtaToCmaTargetDetailsEntitySchema: ()=>payoutMtaToCmaTargetDetailsEntitySchema,
|
|
2706
|
+
payoutEntitySchema: ()=>payoutEntitySchema,
|
|
2707
|
+
payoutSourceDetailsRestSchema: ()=>payoutSourceDetailsRestSchema,
|
|
2708
|
+
cmaRestResSchema: ()=>cmaRestResSchema,
|
|
2709
|
+
DEFAULT_PAYOUT_TARGET_BANK_REF: ()=>DEFAULT_PAYOUT_TARGET_BANK_REF,
|
|
2710
|
+
createCmaReconciliationRestReqSchema: ()=>createCmaReconciliationRestReqSchema,
|
|
2711
|
+
cancelCmaTransactionRestReqSchema: ()=>cancelCmaTransactionRestReqSchema,
|
|
2712
|
+
getPropertyName: ()=>getPropertyName,
|
|
2713
|
+
generateMtaPaymentMethodFloatAccountConfigForZepto: ()=>generateMtaPaymentMethodFloatAccountConfigForZepto,
|
|
2714
|
+
createMtaRestReqSchema: ()=>createMtaRestReqSchema,
|
|
2715
|
+
ProjectApplyStatusRestRes: ()=>ProjectApplyStatusRestRes,
|
|
2716
|
+
customerEntitySchema: ()=>customerEntitySchema,
|
|
2717
|
+
AccountingCommonSyncStatus: ()=>AccountingCommonSyncStatus,
|
|
2718
|
+
propertyRestResSchema: ()=>propertyRestResSchema,
|
|
2719
|
+
CmaTransactionStatus: ()=>CmaTransactionStatus,
|
|
2720
|
+
createMtaToCmaPayoutRestReqSchema: ()=>createMtaToCmaPayoutRestReqSchema,
|
|
2721
|
+
payoutBankFileRestResSchema: ()=>payoutBankFileRestResSchema,
|
|
2722
|
+
MtaTransactionInputType: ()=>mta_input_type_constant_MtaTransactionInputType,
|
|
2723
|
+
createCmaRestReqSchema: ()=>createCmaRestReqSchema,
|
|
2724
|
+
payoutBankFileEntitySchema: ()=>payoutBankFileEntitySchema,
|
|
2725
|
+
accountNumberValidationSchema: ()=>accountNumberValidationSchema,
|
|
2726
|
+
AccountingCommonStatus: ()=>common_status_constant_AccountingCommonStatus,
|
|
2682
2727
|
mtaAccountPeriodClosingSummaryRestResSchema: ()=>mtaAccountPeriodClosingSummaryRestResSchema,
|
|
2728
|
+
displayBankAccount: ()=>displayBankAccount,
|
|
2729
|
+
menuRestResSchema: ()=>menuRestResSchema,
|
|
2730
|
+
propertySearchRestReqSchema: ()=>propertySearchRestReqSchema,
|
|
2683
2731
|
mtaTransactionEntitySchema: ()=>mtaTransactionEntitySchema,
|
|
2684
|
-
|
|
2732
|
+
propertyRestResBaseSchema: ()=>propertyRestResBaseSchema,
|
|
2685
2733
|
getTransactionAmountStr: ()=>getTransactionAmountStr,
|
|
2686
|
-
|
|
2734
|
+
cmaAccountPeriodEntitySchema: ()=>cmaAccountPeriodEntitySchema,
|
|
2735
|
+
userEntitySchema: ()=>userEntitySchema,
|
|
2736
|
+
cmaAccountPeriodCloseRestReqSchema: ()=>cmaAccountPeriodCloseRestReqSchema,
|
|
2737
|
+
payoutOtherProvisionDataEntitySchema: ()=>payoutOtherProvisionDataEntitySchema,
|
|
2738
|
+
markCmaTransactionAsClearedRestReqSchema: ()=>markCmaTransactionAsClearedRestReqSchema,
|
|
2739
|
+
userRestResSchema: ()=>userRestResSchema,
|
|
2740
|
+
payoutDetailRestResSchema: ()=>payoutDetailRestResSchema,
|
|
2741
|
+
payoutPaymentItemSchema: ()=>payoutPaymentItemSchema,
|
|
2742
|
+
InputJsonValueSchema: ()=>InputJsonValueSchema,
|
|
2743
|
+
MtaPayoutTransactionType: ()=>MtaPayoutTransactionType,
|
|
2744
|
+
cmaTransactionRestResBaseSchema: ()=>cmaTransactionRestResBaseSchema,
|
|
2745
|
+
payoutSearchRestReqSchema: ()=>payoutSearchRestReqSchema,
|
|
2746
|
+
CmaTransactionStatusToDisplayTextMapper: ()=>CmaTransactionStatusToDisplayTextMapper,
|
|
2747
|
+
updateMtaRestReqSchema: ()=>updateMtaRestReqSchema,
|
|
2748
|
+
payoutListRestResSchema: ()=>payoutListRestResSchema,
|
|
2749
|
+
MtaTransactionType: ()=>MtaTransactionType,
|
|
2750
|
+
cmaAccountPeriodClosingSummaryRestReqSchema: ()=>cmaAccountPeriodClosingSummaryRestReqSchema,
|
|
2751
|
+
maskBankAccount: ()=>maskBankAccount,
|
|
2752
|
+
payoutTransactionRestResSchema: ()=>payoutTransactionRestResSchema,
|
|
2753
|
+
approveMtaAllocationRestReqSchema: ()=>approveMtaAllocationRestReqSchema,
|
|
2754
|
+
confirmBankFileProcessedRestReqSchema: ()=>confirmBankFileProcessedRestReqSchema,
|
|
2755
|
+
isTransactionCancelable: ()=>isTransactionCancelable,
|
|
2756
|
+
bankCodeSchema: ()=>bankCodeSchema,
|
|
2757
|
+
boolFilterBaseSchema: ()=>boolFilterBaseSchema,
|
|
2758
|
+
createMenuRestReqSchema: ()=>createMenuRestReqSchema,
|
|
2759
|
+
isTransactionAssignable: ()=>isTransactionAssignable,
|
|
2760
|
+
ProjectMtaAllocationStatus: ()=>ProjectMtaAllocationStatus,
|
|
2761
|
+
cancelPayoutRestReqSchema: ()=>cancelPayoutRestReqSchema,
|
|
2762
|
+
mtaClosedAccountPeriodRestResSchema: ()=>mtaClosedAccountPeriodRestResSchema,
|
|
2687
2763
|
projectMtaAllocationEntitySchema: ()=>projectMtaAllocationEntitySchema,
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
payoutSourceDetailsSchema: ()=>payoutSourceDetailsSchema,
|
|
2694
|
-
menuRestResSchema: ()=>menuRestResSchema,
|
|
2695
|
-
payoutTargetDetailsSchema: ()=>payoutTargetDetailsSchema,
|
|
2764
|
+
projectMtaAllocationRestResSchema: ()=>projectMtaAllocationRestResSchema,
|
|
2765
|
+
CmaTransactionPaymentMethod: ()=>cma_payment_method_constant_CmaTransactionPaymentMethod,
|
|
2766
|
+
balanceRestResSchema: ()=>balanceRestResSchema,
|
|
2767
|
+
bigIntFilterSchema: ()=>bigIntFilterSchema,
|
|
2768
|
+
payoutCmaSourceDetailsRestSchema: ()=>payoutCmaSourceDetailsRestSchema,
|
|
2696
2769
|
projectRestResSchema: ()=>projectRestResSchema,
|
|
2697
|
-
isTransactionAssignable: ()=>isTransactionAssignable,
|
|
2698
2770
|
mtaListItemRestResSchema: ()=>mtaListItemRestResSchema,
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2771
|
+
MtaTransactionPaymentMethod: ()=>mta_payment_method_constant_MtaTransactionPaymentMethod,
|
|
2772
|
+
cmaReconciledTransactionRestResSchema: ()=>cmaReconciledTransactionRestResSchema,
|
|
2773
|
+
stateCodeSchema: ()=>stateCodeSchema,
|
|
2774
|
+
stringFilterSchema: ()=>stringFilterSchema,
|
|
2775
|
+
MtaTransactionStatusToDisplayTextMapper: ()=>MtaTransactionStatusToDisplayTextMapper,
|
|
2704
2776
|
PropertyStage: ()=>PropertyStage,
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
payoutDetailRestResSchema: ()=>payoutDetailRestResSchema,
|
|
2708
|
-
payoutPaymentItemSchema: ()=>payoutPaymentItemSchema,
|
|
2709
|
-
reconcileMtaTransactionRestReqSchema: ()=>reconcileMtaTransactionRestReqSchema,
|
|
2710
|
-
AccountingCommonSyncStatus: ()=>AccountingCommonSyncStatus,
|
|
2711
|
-
mtaAccountPeriodCloseRestReqSchema: ()=>mtaAccountPeriodCloseRestReqSchema,
|
|
2712
|
-
mtaReconciledTransactionEntitySchema: ()=>mtaReconciledTransactionEntitySchema,
|
|
2713
|
-
MtaReceiptTransactionType: ()=>MtaReceiptTransactionType,
|
|
2714
|
-
payoutRestResSchema: ()=>payoutRestResSchema,
|
|
2777
|
+
accountBsbValidationSchema: ()=>accountBsbValidationSchema,
|
|
2778
|
+
payoutRestResBaseSchema: ()=>payoutRestResBaseSchema,
|
|
2715
2779
|
updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema: ()=>updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema,
|
|
2716
|
-
|
|
2717
|
-
|
|
2780
|
+
payoutTargetDetailsRestSchema: ()=>payoutTargetDetailsRestSchema,
|
|
2781
|
+
cmaAccountPeriodRestResBaseSchema: ()=>cmaAccountPeriodRestResBaseSchema,
|
|
2782
|
+
cmaAccountPeriodClosingSummaryRestResSchema: ()=>cmaAccountPeriodClosingSummaryRestResSchema,
|
|
2783
|
+
cmaTransactionRestResSchema: ()=>cmaTransactionRestResSchema,
|
|
2784
|
+
CmaStatus: ()=>CmaStatus,
|
|
2785
|
+
MtaTransactionStatus: ()=>MtaTransactionStatus,
|
|
2786
|
+
accountNumberMaskedSchema: ()=>accountNumberMaskedSchema,
|
|
2787
|
+
cmaTransactionSearchRestReqSchema: ()=>cmaTransactionSearchRestReqSchema,
|
|
2788
|
+
fromDollarsToCents: ()=>fromDollarsToCents,
|
|
2789
|
+
PayoutBankFileStatus: ()=>PayoutBankFileStatus,
|
|
2790
|
+
isPaymentTransaction: ()=>isPaymentTransaction,
|
|
2791
|
+
dollarsToCentsSchema: ()=>dollarsToCentsSchema,
|
|
2792
|
+
payoutOtherTargetDetailsRestSchema: ()=>payoutOtherTargetDetailsRestSchema,
|
|
2793
|
+
cmaNestedEntitySchema: ()=>cmaNestedEntitySchema,
|
|
2794
|
+
payoutMtaSourceDetailsRestSchema: ()=>payoutMtaSourceDetailsRestSchema,
|
|
2795
|
+
mtaAccountPeriodClosingSummaryRestReqSchema: ()=>mtaAccountPeriodClosingSummaryRestReqSchema,
|
|
2796
|
+
CmaPayoutTransactionType: ()=>CmaPayoutTransactionType,
|
|
2797
|
+
MenuType: ()=>MenuType,
|
|
2798
|
+
ReconciliationStatus: ()=>reconciliation_constant_ReconciliationStatus,
|
|
2799
|
+
assignUnknownReceiptToPropertyRestReqSchema: ()=>assignUnknownReceiptToPropertyRestReqSchema,
|
|
2800
|
+
fromCentsToDollars: ()=>fromCentsToDollars,
|
|
2801
|
+
maskString: ()=>maskString,
|
|
2802
|
+
mtaAccountPeriodEntitySchema: ()=>mtaAccountPeriodEntitySchema,
|
|
2803
|
+
mtaPaymentMethodFloatAccountConfigSchema: ()=>mtaPaymentMethodFloatAccountConfigSchema,
|
|
2804
|
+
mtaReconciledTransactionEntitySchema: ()=>mtaReconciledTransactionEntitySchema,
|
|
2805
|
+
isUnknownTransaction: ()=>isUnknownTransaction,
|
|
2806
|
+
cmaEntitySchema: ()=>cmaEntitySchema,
|
|
2807
|
+
maskBankBsb: ()=>maskBankBsb,
|
|
2808
|
+
paymentProviderEntitySchema: ()=>paymentProviderEntitySchema,
|
|
2809
|
+
maskBankAccountNumber: ()=>maskBankAccountNumber,
|
|
2810
|
+
dateTimeFilterBaseSchema: ()=>dateTimeFilterBaseSchema,
|
|
2811
|
+
mtaRestResSchema: ()=>mtaRestResSchema,
|
|
2812
|
+
payoutMtaToCmaRestResSchema: ()=>payoutMtaToCmaRestResSchema,
|
|
2813
|
+
projectEntitySchema: ()=>projectEntitySchema,
|
|
2814
|
+
generateMtaPaymentMethodAccountConfigForZepto: ()=>generateMtaPaymentMethodAccountConfigForZepto,
|
|
2815
|
+
payoutOtherTargetDetailsEntitySchema: ()=>payoutOtherTargetDetailsEntitySchema,
|
|
2816
|
+
AmmoZeptoClient: ()=>AmmoZeptoClient,
|
|
2817
|
+
reconcileMtaTransactionRestReqSchema: ()=>reconcileMtaTransactionRestReqSchema
|
|
2718
2818
|
});
|
|
2719
2819
|
var common_utils_namespaceObject = {};
|
|
2720
2820
|
__webpack_require__.r(common_utils_namespaceObject);
|
|
@@ -2725,10 +2825,55 @@ var __webpack_exports__ = {};
|
|
|
2725
2825
|
navigator: ()=>_navigator,
|
|
2726
2826
|
origin: ()=>utils_origin
|
|
2727
2827
|
});
|
|
2728
|
-
const
|
|
2828
|
+
const CmaStatus = {
|
|
2729
2829
|
ACTIVE: 'active',
|
|
2730
2830
|
INACTIVE: 'inactive'
|
|
2731
2831
|
};
|
|
2832
|
+
var cma_input_type_constant_CmaTransactionInputType = /*#__PURE__*/ function(CmaTransactionInputType) {
|
|
2833
|
+
CmaTransactionInputType["MANUAL"] = "manual";
|
|
2834
|
+
CmaTransactionInputType["SYSTEM"] = "system";
|
|
2835
|
+
CmaTransactionInputType["FROM_PAYOUT"] = "from_payout";
|
|
2836
|
+
return CmaTransactionInputType;
|
|
2837
|
+
}({});
|
|
2838
|
+
var cma_payment_method_constant_CmaTransactionPaymentMethod = /*#__PURE__*/ function(CmaTransactionPaymentMethod) {
|
|
2839
|
+
CmaTransactionPaymentMethod["EFT"] = "EFT";
|
|
2840
|
+
return CmaTransactionPaymentMethod;
|
|
2841
|
+
}({});
|
|
2842
|
+
const CmaTransactionStatus = {
|
|
2843
|
+
CLEARING: 'clearing',
|
|
2844
|
+
CLEARED: 'cleared',
|
|
2845
|
+
RECONCILED: 'reconciled'
|
|
2846
|
+
};
|
|
2847
|
+
const CmaTransactionStatusToDisplayTextMapper = {
|
|
2848
|
+
[CmaTransactionStatus.CLEARING]: 'Clearing',
|
|
2849
|
+
[CmaTransactionStatus.CLEARED]: 'Cleared',
|
|
2850
|
+
[CmaTransactionStatus.RECONCILED]: 'Reconciled'
|
|
2851
|
+
};
|
|
2852
|
+
const CmaReceiptTransactionType = {
|
|
2853
|
+
INTEREST: 'interest',
|
|
2854
|
+
RECEIPT: 'receipt'
|
|
2855
|
+
};
|
|
2856
|
+
const CmaPayoutTransactionType = {
|
|
2857
|
+
CMA_SETTLEMENT_PAYOUT: 'cma_settlement_payout',
|
|
2858
|
+
CMA_REFUND_PAYOUT: 'cma_refund_payout'
|
|
2859
|
+
};
|
|
2860
|
+
const CmaTransactionType = {
|
|
2861
|
+
...CmaReceiptTransactionType,
|
|
2862
|
+
...CmaPayoutTransactionType,
|
|
2863
|
+
TRANSACTION_CANCEL: 'transaction_cancel'
|
|
2864
|
+
};
|
|
2865
|
+
const CmaTransactionTypeToDisplayTextMapper = {
|
|
2866
|
+
[CmaTransactionType.INTEREST]: 'Interest',
|
|
2867
|
+
[CmaTransactionType.RECEIPT]: 'Receipt',
|
|
2868
|
+
[CmaTransactionType.CMA_SETTLEMENT_PAYOUT]: 'CMA Settlement Payout',
|
|
2869
|
+
[CmaTransactionType.CMA_REFUND_PAYOUT]: 'CMA Refund Payout',
|
|
2870
|
+
[CmaTransactionType.TRANSACTION_CANCEL]: 'Transaction Cancel'
|
|
2871
|
+
};
|
|
2872
|
+
var account_period_constant_AccountPeriodStatus = /*#__PURE__*/ function(AccountPeriodStatus) {
|
|
2873
|
+
AccountPeriodStatus["OPEN"] = "open";
|
|
2874
|
+
AccountPeriodStatus["CLOSED"] = "closed";
|
|
2875
|
+
return AccountPeriodStatus;
|
|
2876
|
+
}({});
|
|
2732
2877
|
var common_status_constant_AccountingCommonStatus = /*#__PURE__*/ function(AccountingCommonStatus) {
|
|
2733
2878
|
AccountingCommonStatus["ACTIVE"] = "active";
|
|
2734
2879
|
AccountingCommonStatus["INACTIVE"] = "inactive";
|
|
@@ -2744,6 +2889,11 @@ var __webpack_exports__ = {};
|
|
|
2744
2889
|
ReconcileTransactionAction["UNRECONCILE"] = "unreconcile";
|
|
2745
2890
|
return ReconcileTransactionAction;
|
|
2746
2891
|
}({});
|
|
2892
|
+
var reconciliation_constant_ReconciliationStatus = /*#__PURE__*/ function(ReconciliationStatus) {
|
|
2893
|
+
ReconciliationStatus["FINAL_IN_ACCOUNT_PERIOD"] = "final-in-account-period";
|
|
2894
|
+
ReconciliationStatus["COMPLETED"] = "completed";
|
|
2895
|
+
return ReconciliationStatus;
|
|
2896
|
+
}({});
|
|
2747
2897
|
const MenuStatus = {
|
|
2748
2898
|
ACTIVE: 'active',
|
|
2749
2899
|
DISABLED: 'disabled'
|
|
@@ -2758,39 +2908,39 @@ var __webpack_exports__ = {};
|
|
|
2758
2908
|
MtaStatus["INACTIVE"] = "inactive";
|
|
2759
2909
|
return MtaStatus;
|
|
2760
2910
|
}({});
|
|
2761
|
-
var mta_account_period_constant_MtaAccountPeriodStatus = /*#__PURE__*/ function(MtaAccountPeriodStatus) {
|
|
2762
|
-
MtaAccountPeriodStatus["OPEN"] = "open";
|
|
2763
|
-
MtaAccountPeriodStatus["CLOSED"] = "closed";
|
|
2764
|
-
return MtaAccountPeriodStatus;
|
|
2765
|
-
}({});
|
|
2766
|
-
var mta_reconciliation_constant_MtaReconciliationStatus = /*#__PURE__*/ function(MtaReconciliationStatus) {
|
|
2767
|
-
MtaReconciliationStatus["FINAL_IN_ACCOUNT_PERIOD"] = "final-in-account-period";
|
|
2768
|
-
MtaReconciliationStatus["COMPLETED"] = "completed";
|
|
2769
|
-
return MtaReconciliationStatus;
|
|
2770
|
-
}({});
|
|
2771
2911
|
var mta_input_type_constant_MtaTransactionInputType = /*#__PURE__*/ function(MtaTransactionInputType) {
|
|
2772
2912
|
MtaTransactionInputType["UNKNOWN"] = "unknown";
|
|
2773
2913
|
MtaTransactionInputType["CUSTOMER"] = "customer";
|
|
2774
2914
|
MtaTransactionInputType["SYSTEM"] = "system";
|
|
2915
|
+
MtaTransactionInputType["PAYOUT"] = "payout";
|
|
2916
|
+
MtaTransactionInputType["MANUAL"] = "manual";
|
|
2775
2917
|
return MtaTransactionInputType;
|
|
2776
2918
|
}({});
|
|
2777
2919
|
var mta_payment_method_constant_MtaTransactionPaymentMethod = /*#__PURE__*/ function(MtaTransactionPaymentMethod) {
|
|
2778
2920
|
MtaTransactionPaymentMethod["EFT"] = "EFT";
|
|
2779
2921
|
return MtaTransactionPaymentMethod;
|
|
2780
2922
|
}({});
|
|
2923
|
+
const MtaTransactionStatus = {
|
|
2924
|
+
CLEARING: 'clearing',
|
|
2925
|
+
CLEARED: 'cleared',
|
|
2926
|
+
RECONCILED: 'reconciled'
|
|
2927
|
+
};
|
|
2928
|
+
const MtaTransactionStatusToDisplayTextMapper = {
|
|
2929
|
+
[MtaTransactionStatus.CLEARING]: 'Clearing',
|
|
2930
|
+
[MtaTransactionStatus.CLEARED]: 'Cleared',
|
|
2931
|
+
[MtaTransactionStatus.RECONCILED]: 'Reconciled'
|
|
2932
|
+
};
|
|
2781
2933
|
const MtaReceiptTransactionType = {
|
|
2782
2934
|
UNKNOWN: 'unknown',
|
|
2783
2935
|
HOLDING_DEPOSIT: 'holding_deposit',
|
|
2784
2936
|
SIGNING_DEPOSIT: 'signing_deposit',
|
|
2785
|
-
WEEKLY_PAYMENT: 'weekly_payment'
|
|
2786
|
-
INTEREST: 'interest'
|
|
2937
|
+
WEEKLY_PAYMENT: 'weekly_payment'
|
|
2787
2938
|
};
|
|
2788
2939
|
const ASSIGN_UNKNOWN_TO_CUSTOMER = 'assign_unknown_to_customer';
|
|
2789
2940
|
const TRANSACTION_CANCEL = 'transaction_cancel';
|
|
2790
2941
|
const MtaPayoutTransactionType = {
|
|
2791
2942
|
TRUST_TO_CMA_PAYOUT: 'trust_to_cma_payout',
|
|
2792
2943
|
TRUST_SETTLEMENT_PAYOUT: 'trust_settlement_payout',
|
|
2793
|
-
CMA_SETTLEMENT_PAYOUT: 'cma_settlement_payout',
|
|
2794
2944
|
TRUST_REFUND_PAYOUT: 'trust_refund_payout',
|
|
2795
2945
|
UNKNOWN_PAYOUT: 'unknown_payout'
|
|
2796
2946
|
};
|
|
@@ -2805,15 +2955,71 @@ var __webpack_exports__ = {};
|
|
|
2805
2955
|
[MtaTransactionType.HOLDING_DEPOSIT]: 'Holding Deposit',
|
|
2806
2956
|
[MtaTransactionType.SIGNING_DEPOSIT]: 'Signing Deposit',
|
|
2807
2957
|
[MtaTransactionType.WEEKLY_PAYMENT]: 'Weekly Payment',
|
|
2808
|
-
[MtaTransactionType.INTEREST]: 'Interest',
|
|
2809
2958
|
[MtaTransactionType.TRUST_TO_CMA_PAYOUT]: 'Trust to CMA Payout',
|
|
2810
2959
|
[MtaTransactionType.TRUST_SETTLEMENT_PAYOUT]: 'Trust Settlement Payout',
|
|
2811
|
-
[MtaTransactionType.CMA_SETTLEMENT_PAYOUT]: 'CMA Settlement Payout',
|
|
2812
2960
|
[MtaTransactionType.TRUST_REFUND_PAYOUT]: 'Trust Refund Payout',
|
|
2813
2961
|
[MtaTransactionType.UNKNOWN_PAYOUT]: 'Unknown Payout',
|
|
2814
2962
|
[MtaTransactionType.ASSIGN_UNKNOWN_TO_CUSTOMER]: 'Assign Unknown',
|
|
2815
2963
|
[MtaTransactionType.TRANSACTION_CANCEL]: 'Cancel Transaction'
|
|
2816
2964
|
};
|
|
2965
|
+
const PayoutStatus = {
|
|
2966
|
+
PENDING: 'pending',
|
|
2967
|
+
PROCESSING: 'processing',
|
|
2968
|
+
CLEARING: 'clearing',
|
|
2969
|
+
COMPLETED: 'completed',
|
|
2970
|
+
CANCELLED: 'cancelled'
|
|
2971
|
+
};
|
|
2972
|
+
const PayoutType = {
|
|
2973
|
+
TRUST_TO_CMA_PAYOUT: 'trust_to_cma_payout',
|
|
2974
|
+
TRUST_SETTLEMENT_PAYOUT: 'trust_settlement_payout',
|
|
2975
|
+
CMA_SETTLEMENT_PAYOUT: 'cma_settlement_payout',
|
|
2976
|
+
TRUST_REFUND_PAYOUT: 'trust_refund_payout',
|
|
2977
|
+
UNKNOWN_PAYOUT: 'unknown_payout'
|
|
2978
|
+
};
|
|
2979
|
+
var payout_constant_PayoutSourceAccountType = /*#__PURE__*/ function(PayoutSourceAccountType) {
|
|
2980
|
+
PayoutSourceAccountType["CMA"] = "cma";
|
|
2981
|
+
PayoutSourceAccountType["MTA"] = "mta";
|
|
2982
|
+
return PayoutSourceAccountType;
|
|
2983
|
+
}({});
|
|
2984
|
+
var payout_constant_PayoutTargetAccountType = /*#__PURE__*/ function(PayoutTargetAccountType) {
|
|
2985
|
+
PayoutTargetAccountType["CMA"] = "cma";
|
|
2986
|
+
PayoutTargetAccountType["OTHER"] = "other";
|
|
2987
|
+
return PayoutTargetAccountType;
|
|
2988
|
+
}({});
|
|
2989
|
+
const DEFAULT_PAYOUT_TARGET_BANK_REF = {
|
|
2990
|
+
[PayoutType.TRUST_TO_CMA_PAYOUT]: ()=>'CMA Payout',
|
|
2991
|
+
[PayoutType.CMA_SETTLEMENT_PAYOUT]: ()=>'CMA Settlement',
|
|
2992
|
+
[PayoutType.TRUST_REFUND_PAYOUT]: ()=>'Refund',
|
|
2993
|
+
[PayoutType.TRUST_SETTLEMENT_PAYOUT]: ()=>'Settlement',
|
|
2994
|
+
[PayoutType.UNKNOWN_PAYOUT]: ()=>'Pay Unknown'
|
|
2995
|
+
};
|
|
2996
|
+
const DEFAULT_PAYOUT_TARGET_DESCRIPTION = {
|
|
2997
|
+
[PayoutType.TRUST_TO_CMA_PAYOUT]: ()=>'CMA Payout',
|
|
2998
|
+
[PayoutType.CMA_SETTLEMENT_PAYOUT]: ()=>'CMA Settlement',
|
|
2999
|
+
[PayoutType.TRUST_REFUND_PAYOUT]: ()=>'Refund',
|
|
3000
|
+
[PayoutType.TRUST_SETTLEMENT_PAYOUT]: ()=>'Settlement',
|
|
3001
|
+
[PayoutType.UNKNOWN_PAYOUT]: ()=>'Pay Unknown'
|
|
3002
|
+
};
|
|
3003
|
+
const DEFAULT_PAYOUT_SOURCE_BANK_REF = {
|
|
3004
|
+
[PayoutType.TRUST_TO_CMA_PAYOUT]: ()=>'CMA Investment',
|
|
3005
|
+
[PayoutType.CMA_SETTLEMENT_PAYOUT]: ()=>'CMA Settlement',
|
|
3006
|
+
[PayoutType.TRUST_REFUND_PAYOUT]: ()=>'Refund',
|
|
3007
|
+
[PayoutType.TRUST_SETTLEMENT_PAYOUT]: ()=>'Settlement',
|
|
3008
|
+
[PayoutType.UNKNOWN_PAYOUT]: ()=>'Pay Unknown'
|
|
3009
|
+
};
|
|
3010
|
+
const DEFAULT_PAYOUT_SOURCE_DESCRIPTION = {
|
|
3011
|
+
[PayoutType.TRUST_TO_CMA_PAYOUT]: ()=>'CMA Investment',
|
|
3012
|
+
[PayoutType.CMA_SETTLEMENT_PAYOUT]: ()=>'CMA Settlement',
|
|
3013
|
+
[PayoutType.TRUST_REFUND_PAYOUT]: ()=>'Refund',
|
|
3014
|
+
[PayoutType.TRUST_SETTLEMENT_PAYOUT]: ()=>'Settlement',
|
|
3015
|
+
[PayoutType.UNKNOWN_PAYOUT]: ()=>'Pay Unknown'
|
|
3016
|
+
};
|
|
3017
|
+
const PayoutBankFileStatus = {
|
|
3018
|
+
GENERATED: 'generated',
|
|
3019
|
+
DOWNLOADED: 'downloaded',
|
|
3020
|
+
PROCESSED: 'processed',
|
|
3021
|
+
ARCHIVED: 'archived'
|
|
3022
|
+
};
|
|
2817
3023
|
const ProjectMtaAllocationStatus = {
|
|
2818
3024
|
PENDING_APPROVAL: 'pending_approval',
|
|
2819
3025
|
APPROVED: 'approved',
|
|
@@ -2833,148 +3039,83 @@ var __webpack_exports__ = {};
|
|
|
2833
3039
|
COPOSIT_SALE: "coposit_sale"
|
|
2834
3040
|
};
|
|
2835
3041
|
const external_zod_namespaceObject = require("zod");
|
|
2836
|
-
const
|
|
2837
|
-
id: external_zod_namespaceObject.z.string(),
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
payoutId: external_zod_namespaceObject.z.number().int().nonnegative(),
|
|
2844
|
-
stateCode: external_zod_namespaceObject.z.string(),
|
|
2845
|
-
bankCode: external_zod_namespaceObject.z.string(),
|
|
2846
|
-
bsb: external_zod_namespaceObject.z.string(),
|
|
2847
|
-
accountNumber: external_zod_namespaceObject.z.string(),
|
|
2848
|
-
accountName: external_zod_namespaceObject.z.string(),
|
|
2849
|
-
status: external_zod_namespaceObject.z.nativeEnum(CMAStatus),
|
|
2850
|
-
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
2851
|
-
createdAt: external_zod_namespaceObject.z.date(),
|
|
2852
|
-
updatedAt: external_zod_namespaceObject.z.date(),
|
|
2853
|
-
createdBy: external_zod_namespaceObject.z.string(),
|
|
2854
|
-
developerCompanyName: external_zod_namespaceObject.z.string(),
|
|
2855
|
-
buyerName: external_zod_namespaceObject.z.string()
|
|
2856
|
-
}).strip();
|
|
2857
|
-
const cmaEntitySchema = external_zod_namespaceObject.z.object({
|
|
2858
|
-
id: external_zod_namespaceObject.z.string(),
|
|
2859
|
-
cmaSeq: external_zod_namespaceObject.z.number().int().gte(0),
|
|
2860
|
-
propertyId: external_zod_namespaceObject.z.string(),
|
|
2861
|
-
balanceCents: external_zod_namespaceObject.z.union([
|
|
2862
|
-
external_zod_namespaceObject.z.bigint(),
|
|
2863
|
-
external_zod_namespaceObject.z.number()
|
|
2864
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()),
|
|
2865
|
-
currentReceiveSeq: external_zod_namespaceObject.z.number().int().gte(0),
|
|
2866
|
-
currentPayoutSeq: external_zod_namespaceObject.z.number().int().gte(0),
|
|
2867
|
-
payoutId: external_zod_namespaceObject.z.number().int().gte(0),
|
|
2868
|
-
stateCode: external_zod_namespaceObject.z.string(),
|
|
2869
|
-
bankCode: external_zod_namespaceObject.z.string(),
|
|
2870
|
-
bsb: external_zod_namespaceObject.z.string(),
|
|
2871
|
-
accountNumber: external_zod_namespaceObject.z.string(),
|
|
2872
|
-
accountName: external_zod_namespaceObject.z.string(),
|
|
2873
|
-
status: external_zod_namespaceObject.z.nativeEnum(CMAStatus),
|
|
3042
|
+
const cmaReconciledTransactionEntitySchema = external_zod_namespaceObject.z.object({
|
|
3043
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3044
|
+
cmaTransactionId: external_zod_namespaceObject.z.string(),
|
|
3045
|
+
accountPeriodId: external_zod_namespaceObject.z.string().nullable(),
|
|
3046
|
+
reconciledByReconciliationId: external_zod_namespaceObject.z.string(),
|
|
3047
|
+
reconciledAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3048
|
+
status: external_zod_namespaceObject.z.string(),
|
|
2874
3049
|
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
2875
|
-
createdAt: external_zod_namespaceObject.z.date(),
|
|
2876
|
-
updatedAt: external_zod_namespaceObject.z.date(),
|
|
2877
3050
|
createdBy: external_zod_namespaceObject.z.string(),
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
}).strip();
|
|
2881
|
-
const createCMARestReqSchema = external_zod_namespaceObject.z.object({
|
|
2882
|
-
propertyId: external_zod_namespaceObject.z.string(),
|
|
2883
|
-
accountName: external_zod_namespaceObject.z.string(),
|
|
2884
|
-
bankCode: external_zod_namespaceObject.z.string(),
|
|
2885
|
-
bsb: external_zod_namespaceObject.z.string(),
|
|
2886
|
-
accountNumber: external_zod_namespaceObject.z.string()
|
|
3051
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3052
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
2887
3053
|
});
|
|
2888
3054
|
const cmaTransactionEntitySchema = external_zod_namespaceObject.z.object({
|
|
2889
3055
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
2890
3056
|
cmaId: external_zod_namespaceObject.z.string(),
|
|
2891
|
-
sequence: external_zod_namespaceObject.z.number(),
|
|
3057
|
+
sequence: external_zod_namespaceObject.z.number().int(),
|
|
3058
|
+
propertyId: external_zod_namespaceObject.z.string().nullable(),
|
|
3059
|
+
payoutId: external_zod_namespaceObject.z.string().nullable(),
|
|
3060
|
+
inputType: external_zod_namespaceObject.z.string(),
|
|
2892
3061
|
creditAmountCents: external_zod_namespaceObject.z.bigint(),
|
|
2893
3062
|
debitAmountCents: external_zod_namespaceObject.z.bigint(),
|
|
2894
3063
|
balanceCents: external_zod_namespaceObject.z.bigint(),
|
|
2895
3064
|
createType: external_zod_namespaceObject.z.string(),
|
|
2896
|
-
bankRef: external_zod_namespaceObject.z.string().nullable()
|
|
2897
|
-
description: external_zod_namespaceObject.z.string().nullable()
|
|
3065
|
+
bankRef: external_zod_namespaceObject.z.string().nullable(),
|
|
3066
|
+
description: external_zod_namespaceObject.z.string().nullable(),
|
|
2898
3067
|
transactionType: external_zod_namespaceObject.z.string(),
|
|
2899
|
-
status: external_zod_namespaceObject.z.string()
|
|
2900
|
-
isCanceled: external_zod_namespaceObject.z.boolean()
|
|
2901
|
-
isArchived: external_zod_namespaceObject.z.boolean()
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
3068
|
+
status: external_zod_namespaceObject.z.string(),
|
|
3069
|
+
isCanceled: external_zod_namespaceObject.z.boolean(),
|
|
3070
|
+
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3071
|
+
isRefunded: external_zod_namespaceObject.z.boolean(),
|
|
3072
|
+
clearedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
3073
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3074
|
+
syncedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
3075
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3076
|
+
sourceTransactionId: external_zod_namespaceObject.z.string().nullable(),
|
|
3077
|
+
cancelType: external_zod_namespaceObject.z.string().nullable(),
|
|
3078
|
+
canceledBy: external_zod_namespaceObject.z.string().nullable(),
|
|
3079
|
+
canceledAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
3080
|
+
canceledReason: external_zod_namespaceObject.z.string().nullable(),
|
|
3081
|
+
createdBy: external_zod_namespaceObject.z.string()
|
|
2912
3082
|
});
|
|
2913
|
-
const
|
|
3083
|
+
const cmaTransactionNestedSchema = external_zod_namespaceObject.z.object({
|
|
3084
|
+
property: external_zod_namespaceObject.z.lazy(()=>propertyNestedEntitySchema),
|
|
3085
|
+
cma: external_zod_namespaceObject.z.lazy(()=>cmaEntitySchema),
|
|
3086
|
+
sourceTransaction: external_zod_namespaceObject.z.lazy(()=>cmaTransactionEntitySchema).optional(),
|
|
3087
|
+
subsequentTransactions: external_zod_namespaceObject.z.lazy(()=>cmaTransactionEntitySchema.array()).optional(),
|
|
3088
|
+
reconciledTransactions: external_zod_namespaceObject.z.lazy(()=>cmaReconciledTransactionEntitySchema.array()).optional()
|
|
3089
|
+
});
|
|
3090
|
+
const mtaTransactionEntitySchema = external_zod_namespaceObject.z.object({
|
|
2914
3091
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
2915
|
-
|
|
3092
|
+
referenceId: external_zod_namespaceObject.z.string().nullable(),
|
|
3093
|
+
sequence: external_zod_namespaceObject.z.number().int(),
|
|
3094
|
+
mtaId: external_zod_namespaceObject.z.string(),
|
|
3095
|
+
propertyId: external_zod_namespaceObject.z.string().nullable(),
|
|
3096
|
+
inputType: external_zod_namespaceObject.z.string(),
|
|
3097
|
+
transactionType: external_zod_namespaceObject.z.string(),
|
|
3098
|
+
creditAmountCents: external_zod_namespaceObject.z.bigint(),
|
|
3099
|
+
debitAmountCents: external_zod_namespaceObject.z.bigint(),
|
|
3100
|
+
balanceCents: external_zod_namespaceObject.z.bigint(),
|
|
3101
|
+
bankRef: external_zod_namespaceObject.z.string().nullable(),
|
|
3102
|
+
description: external_zod_namespaceObject.z.string().nullable(),
|
|
2916
3103
|
status: external_zod_namespaceObject.z.string(),
|
|
3104
|
+
isRefunded: external_zod_namespaceObject.z.boolean(),
|
|
3105
|
+
isCanceled: external_zod_namespaceObject.z.boolean(),
|
|
2917
3106
|
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3107
|
+
clearedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
2918
3108
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
2919
3109
|
syncedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
2920
|
-
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
path: external_zod_namespaceObject.z.string().optional(),
|
|
2930
|
-
type: external_zod_namespaceObject.z.nativeEnum(MenuType),
|
|
2931
|
-
permissionKey: external_zod_namespaceObject.z.string().min(1, 'Permission key is required'),
|
|
2932
|
-
sort: external_zod_namespaceObject.z.number().optional().default(99),
|
|
2933
|
-
status: external_zod_namespaceObject.z.nativeEnum(MenuStatus).default(MenuStatus.ACTIVE)
|
|
2934
|
-
});
|
|
2935
|
-
const menuSchema = external_zod_namespaceObject.z.object({
|
|
2936
|
-
id: external_zod_namespaceObject.z.string(),
|
|
2937
|
-
parentId: external_zod_namespaceObject.z.string().nullish(),
|
|
2938
|
-
label: external_zod_namespaceObject.z.string(),
|
|
2939
|
-
title: external_zod_namespaceObject.z.string().nullish(),
|
|
2940
|
-
section: external_zod_namespaceObject.z.string().nullish(),
|
|
2941
|
-
icon: external_zod_namespaceObject.z.string().nullish(),
|
|
2942
|
-
path: external_zod_namespaceObject.z.string().nullish(),
|
|
2943
|
-
absolutePath: external_zod_namespaceObject.z.string().nullish(),
|
|
2944
|
-
type: external_zod_namespaceObject.z.nativeEnum(MenuType),
|
|
2945
|
-
permissionKey: external_zod_namespaceObject.z.string().nullish(),
|
|
2946
|
-
sort: external_zod_namespaceObject.z.number().nullish(),
|
|
2947
|
-
show: external_zod_namespaceObject.z.boolean().nullish(),
|
|
2948
|
-
status: external_zod_namespaceObject.z.nativeEnum(MenuStatus),
|
|
2949
|
-
createdAt: external_zod_namespaceObject.z.date(),
|
|
2950
|
-
updatedAt: external_zod_namespaceObject.z.date(),
|
|
2951
|
-
isArchived: external_zod_namespaceObject.z.boolean()
|
|
2952
|
-
});
|
|
2953
|
-
const menuRestResSchema = menuSchema.extend({
|
|
2954
|
-
children: external_zod_namespaceObject.z.array(menuSchema).optional()
|
|
2955
|
-
});
|
|
2956
|
-
const updateMenuRestReqSchema = createMenuRestReqSchema.extend({
|
|
2957
|
-
id: external_zod_namespaceObject.z.string()
|
|
2958
|
-
});
|
|
2959
|
-
const am_zshared_namespaceObject = require("@mikemo-coposit/am-zshared");
|
|
2960
|
-
const createMtaRestReqSchema = external_zod_namespaceObject.z.object({
|
|
2961
|
-
name: external_zod_namespaceObject.z.string().trim().min(1),
|
|
2962
|
-
country: external_zod_namespaceObject.z.string().refine((val)=>'Australia' === val, {
|
|
2963
|
-
message: 'Country must be Australia'
|
|
2964
|
-
}),
|
|
2965
|
-
stateCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuStateCode),
|
|
2966
|
-
bankCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuTrustAccountBankCode),
|
|
2967
|
-
bsb: external_zod_namespaceObject.z.string().length(6).regex(/^\d+$/, {
|
|
2968
|
-
message: 'BSB must be all digits'
|
|
2969
|
-
}),
|
|
2970
|
-
accountNumber: external_zod_namespaceObject.z.string().min(6).max(10).regex(/^\d+$/, {
|
|
2971
|
-
message: 'Account number must be all digits'
|
|
2972
|
-
}),
|
|
2973
|
-
directDebitBankAccountId: external_zod_namespaceObject.z.string().uuid(),
|
|
2974
|
-
directDebitProviderCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.PaymentProviderCode),
|
|
2975
|
-
payIdBankAccountId: external_zod_namespaceObject.z.string().uuid(),
|
|
2976
|
-
payIdProviderCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.PaymentProviderCode),
|
|
2977
|
-
zeptoBankAccountId: external_zod_namespaceObject.z.string().uuid()
|
|
3110
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3111
|
+
note: external_zod_namespaceObject.z.string().nullable(),
|
|
3112
|
+
sourceTransactionId: external_zod_namespaceObject.z.string().nullable(),
|
|
3113
|
+
cancelType: external_zod_namespaceObject.z.string().nullable(),
|
|
3114
|
+
canceledBy: external_zod_namespaceObject.z.string().nullable(),
|
|
3115
|
+
canceledAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
3116
|
+
canceledReason: external_zod_namespaceObject.z.string().nullable(),
|
|
3117
|
+
createdBy: external_zod_namespaceObject.z.string().uuid().nullable(),
|
|
3118
|
+
payoutId: external_zod_namespaceObject.z.string().uuid().nullable()
|
|
2978
3119
|
});
|
|
2979
3120
|
const mtaEntitySchema = external_zod_namespaceObject.z.object({
|
|
2980
3121
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
@@ -2996,6 +3137,101 @@ var __webpack_exports__ = {};
|
|
|
2996
3137
|
createdBy: external_zod_namespaceObject.z.string().nullable(),
|
|
2997
3138
|
updatedBy: external_zod_namespaceObject.z.string().nullable()
|
|
2998
3139
|
});
|
|
3140
|
+
const developerEntitySchema = external_zod_namespaceObject.z.object({
|
|
3141
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3142
|
+
companyName: external_zod_namespaceObject.z.string().nullable(),
|
|
3143
|
+
status: external_zod_namespaceObject.z.string(),
|
|
3144
|
+
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3145
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3146
|
+
syncedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3147
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3148
|
+
});
|
|
3149
|
+
const projectEntitySchema = external_zod_namespaceObject.z.object({
|
|
3150
|
+
id: external_zod_namespaceObject.z.string(),
|
|
3151
|
+
name: external_zod_namespaceObject.z.string(),
|
|
3152
|
+
developerId: external_zod_namespaceObject.z.string(),
|
|
3153
|
+
mtaId: external_zod_namespaceObject.z.string().nullable(),
|
|
3154
|
+
state: external_zod_namespaceObject.z.string(),
|
|
3155
|
+
type: external_zod_namespaceObject.z.string(),
|
|
3156
|
+
status: external_zod_namespaceObject.z.string(),
|
|
3157
|
+
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3158
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3159
|
+
syncedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3160
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3161
|
+
});
|
|
3162
|
+
const projectNestedEntitySchema = projectEntitySchema.extend({
|
|
3163
|
+
developer: developerEntitySchema.nullish()
|
|
3164
|
+
});
|
|
3165
|
+
const customerEntitySchema = external_zod_namespaceObject.z.object({
|
|
3166
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3167
|
+
fullName: external_zod_namespaceObject.z.string().nullable(),
|
|
3168
|
+
mobile: external_zod_namespaceObject.z.string().nullable(),
|
|
3169
|
+
email: external_zod_namespaceObject.z.string(),
|
|
3170
|
+
status: external_zod_namespaceObject.z.string(),
|
|
3171
|
+
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3172
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3173
|
+
syncedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3174
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3175
|
+
});
|
|
3176
|
+
const propertyEntitySchema = external_zod_namespaceObject.z.object({
|
|
3177
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3178
|
+
customerId: external_zod_namespaceObject.z.string(),
|
|
3179
|
+
projectId: external_zod_namespaceObject.z.string(),
|
|
3180
|
+
buyerName: external_zod_namespaceObject.z.string().optional().nullable(),
|
|
3181
|
+
lotDetail: external_zod_namespaceObject.z.string().nullable(),
|
|
3182
|
+
propertyAddress: external_zod_namespaceObject.z.string(),
|
|
3183
|
+
balanceCents: external_zod_namespaceObject.z.union([
|
|
3184
|
+
external_zod_namespaceObject.z.bigint(),
|
|
3185
|
+
external_zod_namespaceObject.z.number()
|
|
3186
|
+
]),
|
|
3187
|
+
cmaBalanceCents: external_zod_namespaceObject.z.union([
|
|
3188
|
+
external_zod_namespaceObject.z.bigint(),
|
|
3189
|
+
external_zod_namespaceObject.z.number()
|
|
3190
|
+
]),
|
|
3191
|
+
mtaBalanceCents: external_zod_namespaceObject.z.union([
|
|
3192
|
+
external_zod_namespaceObject.z.bigint(),
|
|
3193
|
+
external_zod_namespaceObject.z.number()
|
|
3194
|
+
]),
|
|
3195
|
+
stage: external_zod_namespaceObject.z.string(),
|
|
3196
|
+
status: external_zod_namespaceObject.z.string(),
|
|
3197
|
+
mtaId: external_zod_namespaceObject.z.string(),
|
|
3198
|
+
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3199
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3200
|
+
syncedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3201
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3202
|
+
});
|
|
3203
|
+
const propertyNestedEntitySchema = propertyEntitySchema.extend({
|
|
3204
|
+
project: external_zod_namespaceObject.z.lazy(()=>projectNestedEntitySchema).nullish(),
|
|
3205
|
+
customer: external_zod_namespaceObject.z.lazy(()=>customerEntitySchema).nullish(),
|
|
3206
|
+
cma: external_zod_namespaceObject.z.lazy(()=>cmaEntitySchema).nullish(),
|
|
3207
|
+
mta: external_zod_namespaceObject.z.lazy(()=>mtaEntitySchema).nullish(),
|
|
3208
|
+
cmaTransactions: external_zod_namespaceObject.z.lazy(()=>cmaTransactionEntitySchema.array()).nullish(),
|
|
3209
|
+
mtaTransactions: external_zod_namespaceObject.z.lazy(()=>mtaTransactionEntitySchema.array()).nullish()
|
|
3210
|
+
});
|
|
3211
|
+
const cmaEntitySchema = external_zod_namespaceObject.z.object({
|
|
3212
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3213
|
+
cmaSeq: external_zod_namespaceObject.z.number().int(),
|
|
3214
|
+
country: external_zod_namespaceObject.z.string(),
|
|
3215
|
+
stateCode: external_zod_namespaceObject.z.string(),
|
|
3216
|
+
description: external_zod_namespaceObject.z.string().nullable(),
|
|
3217
|
+
bankCode: external_zod_namespaceObject.z.string(),
|
|
3218
|
+
bsb: external_zod_namespaceObject.z.string(),
|
|
3219
|
+
accountNumber: external_zod_namespaceObject.z.string(),
|
|
3220
|
+
accountName: external_zod_namespaceObject.z.string(),
|
|
3221
|
+
propertyId: external_zod_namespaceObject.z.string(),
|
|
3222
|
+
balanceCents: external_zod_namespaceObject.z.bigint(),
|
|
3223
|
+
currentReceiveSeq: external_zod_namespaceObject.z.number().int(),
|
|
3224
|
+
currentPayoutSeq: external_zod_namespaceObject.z.number().int(),
|
|
3225
|
+
payoutId: external_zod_namespaceObject.z.number().int(),
|
|
3226
|
+
status: external_zod_namespaceObject.z.string(),
|
|
3227
|
+
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3228
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3229
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3230
|
+
createdBy: external_zod_namespaceObject.z.string()
|
|
3231
|
+
});
|
|
3232
|
+
const cmaNestedEntitySchema = external_zod_namespaceObject.z.object({
|
|
3233
|
+
property: external_zod_namespaceObject.z.lazy(()=>propertyNestedEntitySchema).nullish()
|
|
3234
|
+
});
|
|
2999
3235
|
const maskString = (input, options = {})=>{
|
|
3000
3236
|
if (!input) return '';
|
|
3001
3237
|
const { visibleStart = 0, visibleEnd = 2, maskChar = '*' } = options;
|
|
@@ -3009,72 +3245,97 @@ var __webpack_exports__ = {};
|
|
|
3009
3245
|
const masked = maskChar.repeat(length - actualVisibleStart - actualVisibleEnd);
|
|
3010
3246
|
return start + masked + end;
|
|
3011
3247
|
};
|
|
3012
|
-
const
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3248
|
+
const maskBankBsb = (bsb)=>{
|
|
3249
|
+
if (!bsb) return null;
|
|
3250
|
+
const bsbString = bsb.toString().replace(/[^\d*]/g, '');
|
|
3251
|
+
return maskString(bsbString, {
|
|
3252
|
+
visibleStart: 0,
|
|
3253
|
+
visibleEnd: 3
|
|
3254
|
+
})?.replace(/^(\*+)(\d{3})$/, '$1-$2');
|
|
3255
|
+
};
|
|
3256
|
+
const formatBankBsb = (bsb)=>{
|
|
3257
|
+
if (!bsb) return null;
|
|
3258
|
+
return bsb.toString().replace(/^(\d{3})(\d{3})$/, '$1-$2');
|
|
3259
|
+
};
|
|
3260
|
+
const maskBankAccountNumber = (accountNumber)=>{
|
|
3261
|
+
if (!accountNumber) return null;
|
|
3262
|
+
return maskString(accountNumber?.toString().replace(/[^\d*]/g, ''), {
|
|
3263
|
+
visibleStart: 0,
|
|
3264
|
+
visibleEnd: 2
|
|
3265
|
+
});
|
|
3266
|
+
};
|
|
3267
|
+
const displayBankAccount = (payload)=>{
|
|
3268
|
+
if (payload?.masked === false) {
|
|
3269
|
+
const bsb = payload.bsb?.toString()?.replace(/^(\d{3})(\d{3})$/, '$1-$2');
|
|
3270
|
+
return `${bsb} ${payload.accountNumber}`;
|
|
3271
|
+
}
|
|
3272
|
+
return `${maskBankBsb(payload.bsb)} ${maskBankAccountNumber(payload.accountNumber)}`;
|
|
3273
|
+
};
|
|
3274
|
+
const maskBankAccount = (payload)=>({
|
|
3275
|
+
bsb: maskBankBsb(payload.bsb),
|
|
3276
|
+
accountNumber: maskBankAccountNumber(payload.accountNumber),
|
|
3277
|
+
account: `${maskBankBsb(payload.bsb)} ${maskBankAccountNumber(payload.accountNumber)}`
|
|
3278
|
+
});
|
|
3279
|
+
const accountBsbMaskedSchema = external_zod_namespaceObject.z.string().transform(maskBankBsb);
|
|
3280
|
+
const accountBsbValidationSchema = external_zod_namespaceObject.z.coerce.string().min(1, 'BSB is required').length(6, 'BSB must be 6 digits').regex(/^\d+$/, {
|
|
3281
|
+
message: 'BSB must be all digits'
|
|
3026
3282
|
});
|
|
3027
|
-
const
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
providerCode: external_zod_namespaceObject.z.string(),
|
|
3031
|
-
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3032
|
-
settings: external_zod_namespaceObject.z.string(),
|
|
3033
|
-
status: external_zod_namespaceObject.z.string(),
|
|
3034
|
-
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3035
|
-
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3283
|
+
const accountNumberMaskedSchema = external_zod_namespaceObject.z.string().transform(maskBankAccountNumber);
|
|
3284
|
+
const accountNumberValidationSchema = external_zod_namespaceObject.z.coerce.string().min(1, 'Account Number is required').max(9, 'Account Number must be less than 9 digits').regex(/^\d+$/, {
|
|
3285
|
+
message: 'Account number must be all digits'
|
|
3036
3286
|
});
|
|
3037
|
-
const
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3287
|
+
const am_zshared_namespaceObject = require("@mikemo-coposit/am-zshared");
|
|
3288
|
+
const bankCodeSchema = external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuTrustAccountBankCode));
|
|
3289
|
+
const stateCodeSchema = external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuStateCode));
|
|
3290
|
+
const fromCentsToDollars = (amount)=>Number(amount) / 100;
|
|
3291
|
+
const fromDollarsToCents = (amount)=>100n * BigInt(amount);
|
|
3292
|
+
const centsToDollarsSchema = external_zod_namespaceObject.z.union([
|
|
3293
|
+
external_zod_namespaceObject.z.string(),
|
|
3294
|
+
external_zod_namespaceObject.z.bigint(),
|
|
3295
|
+
external_zod_namespaceObject.z.number()
|
|
3296
|
+
]).transform(fromCentsToDollars).pipe(external_zod_namespaceObject.z.number());
|
|
3297
|
+
const cmaRestResBaseSchema = cmaEntitySchema.extend({
|
|
3298
|
+
balanceCents: centsToDollarsSchema,
|
|
3299
|
+
stateCode: stateCodeSchema,
|
|
3300
|
+
bankCode: bankCodeSchema,
|
|
3301
|
+
accountNumber: accountNumberMaskedSchema,
|
|
3302
|
+
bsb: accountBsbMaskedSchema,
|
|
3303
|
+
status: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(CmaStatus))
|
|
3043
3304
|
});
|
|
3044
|
-
const
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3305
|
+
const cmaRestResSchema = cmaRestResBaseSchema.extend({
|
|
3306
|
+
property: external_zod_namespaceObject.z.lazy(()=>propertyNestedEntitySchema.omit({
|
|
3307
|
+
cma: true,
|
|
3308
|
+
mta: true,
|
|
3309
|
+
cmaTransactions: true,
|
|
3310
|
+
mtaTransactions: true
|
|
3311
|
+
}).optional())
|
|
3312
|
+
});
|
|
3313
|
+
const createCmaRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3314
|
+
propertyId: external_zod_namespaceObject.z.string().uuid(),
|
|
3315
|
+
accountName: external_zod_namespaceObject.z.string(),
|
|
3316
|
+
bankCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuTrustAccountBankCode),
|
|
3317
|
+
bsb: external_zod_namespaceObject.z.string().length(6).regex(/^\d+$/, {
|
|
3318
|
+
message: 'BSB must be all digits'
|
|
3319
|
+
}),
|
|
3320
|
+
accountNumber: external_zod_namespaceObject.z.string().min(6).max(10).regex(/^\d+$/, {
|
|
3321
|
+
message: 'Account number must be all digits'
|
|
3048
3322
|
})
|
|
3049
3323
|
});
|
|
3050
|
-
const
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3324
|
+
const external_dayjs_namespaceObject = require("dayjs");
|
|
3325
|
+
var external_dayjs_default = /*#__PURE__*/ __webpack_require__.n(external_dayjs_namespaceObject);
|
|
3326
|
+
const cmaAccountPeriodCloseRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3327
|
+
cmaId: external_zod_namespaceObject.z.string().uuid(),
|
|
3328
|
+
cmaAccountPeriodId: external_zod_namespaceObject.z.string().uuid(),
|
|
3329
|
+
endDate: external_zod_namespaceObject.z.union([
|
|
3330
|
+
external_zod_namespaceObject.z.string(),
|
|
3331
|
+
external_zod_namespaceObject.z.date()
|
|
3332
|
+
]).transform((date)=>external_dayjs_default()(date).endOf('day').toDate()).pipe(external_zod_namespaceObject.z.date()),
|
|
3333
|
+
closingDescription: external_zod_namespaceObject.z.string().optional()
|
|
3061
3334
|
});
|
|
3062
|
-
const
|
|
3063
|
-
paymentProvider: external_zod_namespaceObject.z.lazy(()=>paymentProviderEntitySchema).optional(),
|
|
3064
|
-
mta: external_zod_namespaceObject.z.lazy(()=>mtaEntitySchema).optional(),
|
|
3065
|
-
account: external_zod_namespaceObject.z.string().transform((val)=>{
|
|
3066
|
-
if ('string' == typeof val) return JSON.parse(val);
|
|
3067
|
-
return val;
|
|
3068
|
-
}).pipe(mtaPaymentMethodAccountConfigSchema),
|
|
3069
|
-
floatAccount: external_zod_namespaceObject.z.string().nullable().transform((val)=>{
|
|
3070
|
-
if ('string' == typeof val) return JSON.parse(val);
|
|
3071
|
-
return val;
|
|
3072
|
-
}).pipe(mtaPaymentMethodFloatAccountConfigSchema).nullish()
|
|
3073
|
-
}).strip();
|
|
3074
|
-
const mtaReconciliationEntitySchema = external_zod_namespaceObject.z.object({
|
|
3335
|
+
const cmaReconciliationEntitySchema = external_zod_namespaceObject.z.object({
|
|
3075
3336
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3076
|
-
|
|
3077
|
-
|
|
3337
|
+
cmaAccountPeriodId: external_zod_namespaceObject.z.string(),
|
|
3338
|
+
cmaId: external_zod_namespaceObject.z.string(),
|
|
3078
3339
|
closingBalanceCents: external_zod_namespaceObject.z.bigint().nullable(),
|
|
3079
3340
|
reconciledTo: external_zod_namespaceObject.z.coerce.date(),
|
|
3080
3341
|
reconciledAmountCents: external_zod_namespaceObject.z.bigint().nullable(),
|
|
@@ -3091,74 +3352,14 @@ var __webpack_exports__ = {};
|
|
|
3091
3352
|
status: external_zod_namespaceObject.z.string(),
|
|
3092
3353
|
isArchived: external_zod_namespaceObject.z.boolean()
|
|
3093
3354
|
});
|
|
3094
|
-
const
|
|
3095
|
-
closingBalanceCents:
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
external_zod_namespaceObject.z.number()
|
|
3102
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()),
|
|
3103
|
-
closingVarianceCents: external_zod_namespaceObject.z.union([
|
|
3104
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3105
|
-
external_zod_namespaceObject.z.number()
|
|
3106
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish(),
|
|
3107
|
-
currentTrustBalanceCents: external_zod_namespaceObject.z.union([
|
|
3108
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3109
|
-
external_zod_namespaceObject.z.number()
|
|
3110
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish(),
|
|
3111
|
-
currentReconciledBalanceCents: external_zod_namespaceObject.z.union([
|
|
3112
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3113
|
-
external_zod_namespaceObject.z.number()
|
|
3114
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish(),
|
|
3115
|
-
currentVarianceCents: external_zod_namespaceObject.z.union([
|
|
3116
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3117
|
-
external_zod_namespaceObject.z.number()
|
|
3118
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish()
|
|
3119
|
-
});
|
|
3120
|
-
const mtaRestResSchema = mtaEntitySchema.extend({
|
|
3121
|
-
stateCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuStateCode),
|
|
3122
|
-
bankCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuTrustAccountBankCode),
|
|
3123
|
-
accountNumber: external_zod_namespaceObject.z.string().transform((arg)=>maskString(arg, {
|
|
3124
|
-
visibleStart: 0,
|
|
3125
|
-
visibleEnd: 2
|
|
3126
|
-
})),
|
|
3127
|
-
bsb: external_zod_namespaceObject.z.string().transform((arg)=>maskString(arg, {
|
|
3128
|
-
visibleStart: 0,
|
|
3129
|
-
visibleEnd: 3
|
|
3130
|
-
})?.replace(/^(\*+)(\d{3})$/, '$1-$2')),
|
|
3131
|
-
subsidiaryId: external_zod_namespaceObject.z.string(),
|
|
3132
|
-
balanceCents: external_zod_namespaceObject.z.union([
|
|
3133
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3134
|
-
external_zod_namespaceObject.z.number()
|
|
3135
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()),
|
|
3136
|
-
paymentMethods: external_zod_namespaceObject.z.lazy(()=>external_zod_namespaceObject.z.array(mtaPaymentMethodRestResSchema)).optional(),
|
|
3137
|
-
accountPeriods: external_zod_namespaceObject.z.lazy(()=>mtaAccountPeriodEntitySchema.array().optional())
|
|
3138
|
-
});
|
|
3139
|
-
const mtaListItemRestResSchema = mtaRestResSchema.omit({
|
|
3140
|
-
paymentMethods: true,
|
|
3141
|
-
accountPeriods: true
|
|
3142
|
-
}).extend({
|
|
3143
|
-
currentReconciliation: external_zod_namespaceObject.z.lazy(()=>mtaReconciliationRestResSchema).nullish()
|
|
3355
|
+
const cmaReconciliationRestResSchema = cmaReconciliationEntitySchema.extend({
|
|
3356
|
+
closingBalanceCents: centsToDollarsSchema.nullish(),
|
|
3357
|
+
bankStatementBalanceCents: centsToDollarsSchema,
|
|
3358
|
+
closingVarianceCents: centsToDollarsSchema.nullish(),
|
|
3359
|
+
currentTrustBalanceCents: centsToDollarsSchema.nullish(),
|
|
3360
|
+
currentReconciledBalanceCents: centsToDollarsSchema.nullish(),
|
|
3361
|
+
currentVarianceCents: centsToDollarsSchema.nullish()
|
|
3144
3362
|
});
|
|
3145
|
-
const updateMtaRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3146
|
-
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3147
|
-
name: external_zod_namespaceObject.z.string().trim().min(1)
|
|
3148
|
-
}).strip();
|
|
3149
|
-
const external_dayjs_namespaceObject = require("dayjs");
|
|
3150
|
-
var external_dayjs_default = /*#__PURE__*/ __webpack_require__.n(external_dayjs_namespaceObject);
|
|
3151
|
-
const mtaAccountPeriodCloseRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3152
|
-
mtaId: external_zod_namespaceObject.z.string().uuid(),
|
|
3153
|
-
mtaAccountPeriodId: external_zod_namespaceObject.z.string().uuid(),
|
|
3154
|
-
endDate: external_zod_namespaceObject.z.union([
|
|
3155
|
-
external_zod_namespaceObject.z.string(),
|
|
3156
|
-
external_zod_namespaceObject.z.date()
|
|
3157
|
-
]).transform((date)=>external_dayjs_default()(date).endOf('day').toDate()).pipe(external_zod_namespaceObject.z.date()),
|
|
3158
|
-
closingDescription: external_zod_namespaceObject.z.string().optional()
|
|
3159
|
-
});
|
|
3160
|
-
const fromCentsToDollars = (amount)=>Number(amount) / 100;
|
|
3161
|
-
const fromDollarsToCents = (amount)=>100n * BigInt(amount);
|
|
3162
3363
|
const formatCurrency = (amount, options)=>{
|
|
3163
3364
|
const { locale = 'en-AU', defaultValue = null, currency = 'AUD', style = 'currency', ...rest } = options || {};
|
|
3164
3365
|
const num = Number(amount);
|
|
@@ -3170,8 +3371,16 @@ var __webpack_exports__ = {};
|
|
|
3170
3371
|
});
|
|
3171
3372
|
};
|
|
3172
3373
|
const isUnknownTransaction = (transaction)=>transaction.transactionType === MtaTransactionType.UNKNOWN;
|
|
3173
|
-
const isReceiptTransaction = (transaction)=>
|
|
3174
|
-
|
|
3374
|
+
const isReceiptTransaction = (transaction)=>{
|
|
3375
|
+
const isMtaReceipt = Object.values(MtaReceiptTransactionType).includes(transaction.transactionType);
|
|
3376
|
+
const isCmaReceipt = Object.values(CmaReceiptTransactionType).includes(transaction.transactionType);
|
|
3377
|
+
return isMtaReceipt || isCmaReceipt;
|
|
3378
|
+
};
|
|
3379
|
+
const isPaymentTransaction = (transaction)=>{
|
|
3380
|
+
const isMtaPayment = Object.values(MtaPayoutTransactionType).includes(transaction.transactionType);
|
|
3381
|
+
const isCmaPayment = Object.values(CmaPayoutTransactionType).includes(transaction.transactionType);
|
|
3382
|
+
return isMtaPayment || isCmaPayment;
|
|
3383
|
+
};
|
|
3175
3384
|
const getTransactionAmountStr = (transaction)=>{
|
|
3176
3385
|
if (!transaction) return;
|
|
3177
3386
|
const debitAmountCents = Number(transaction.debitAmountCents);
|
|
@@ -3186,11 +3395,16 @@ var __webpack_exports__ = {};
|
|
|
3186
3395
|
if (index > -1) return true;
|
|
3187
3396
|
return false;
|
|
3188
3397
|
};
|
|
3398
|
+
const isInterestTransaction = (transaction)=>{
|
|
3399
|
+
const isCmaInterest = transaction.transactionType === CmaTransactionType.INTEREST;
|
|
3400
|
+
return isCmaInterest;
|
|
3401
|
+
};
|
|
3189
3402
|
const isTransactionCancelable = (transaction)=>{
|
|
3190
3403
|
const isUnkonwn = isUnknownTransaction(transaction);
|
|
3191
|
-
|
|
3404
|
+
const isInterest = isInterestTransaction(transaction);
|
|
3405
|
+
if (true !== isUnkonwn && true !== isInterest) return {
|
|
3192
3406
|
isCancelable: false,
|
|
3193
|
-
reason: 'Transaction is not unknown'
|
|
3407
|
+
reason: 'Transaction is not unknown or interest'
|
|
3194
3408
|
};
|
|
3195
3409
|
if (transaction.isCanceled) return {
|
|
3196
3410
|
isCancelable: false,
|
|
@@ -3239,7 +3453,7 @@ var __webpack_exports__ = {};
|
|
|
3239
3453
|
};
|
|
3240
3454
|
};
|
|
3241
3455
|
const getTransactionNumber = (transaction)=>{
|
|
3242
|
-
if (transaction.transactionType === MtaTransactionType.TRANSACTION_CANCEL) return `(${transaction.sequence})`;
|
|
3456
|
+
if (transaction.transactionType === MtaTransactionType.TRANSACTION_CANCEL || transaction.transactionType === CmaTransactionType.TRANSACTION_CANCEL) return `(${transaction.sequence})`;
|
|
3243
3457
|
return `${transaction.sequence}`;
|
|
3244
3458
|
};
|
|
3245
3459
|
const getTransactionStatus = (transaction)=>{
|
|
@@ -3264,52 +3478,109 @@ var __webpack_exports__ = {};
|
|
|
3264
3478
|
isReconciled
|
|
3265
3479
|
};
|
|
3266
3480
|
};
|
|
3267
|
-
const
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
closingBalanceCents: external_zod_namespaceObject.z.
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3481
|
+
const cmaAccountPeriodEntitySchema = external_zod_namespaceObject.z.object({
|
|
3482
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3483
|
+
startDate: external_zod_namespaceObject.z.coerce.date(),
|
|
3484
|
+
endDate: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
3485
|
+
openingBalanceCents: external_zod_namespaceObject.z.bigint(),
|
|
3486
|
+
closingBalanceCents: external_zod_namespaceObject.z.bigint().nullable(),
|
|
3487
|
+
status: external_zod_namespaceObject.z.string(),
|
|
3488
|
+
closedBy: external_zod_namespaceObject.z.string().nullable(),
|
|
3489
|
+
closedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
3490
|
+
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3491
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3492
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3493
|
+
cmaId: external_zod_namespaceObject.z.string(),
|
|
3494
|
+
closingDescription: external_zod_namespaceObject.z.string().nullable()
|
|
3276
3495
|
});
|
|
3277
|
-
const
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3285
|
-
external_zod_namespaceObject.z.number()
|
|
3286
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish(),
|
|
3287
|
-
unreconciledAmountCents: external_zod_namespaceObject.z.union([
|
|
3288
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3289
|
-
external_zod_namespaceObject.z.number()
|
|
3290
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish()
|
|
3496
|
+
const cmaAccountPeriodRestResBaseSchema = cmaAccountPeriodEntitySchema.extend({
|
|
3497
|
+
openingBalanceCents: centsToDollarsSchema,
|
|
3498
|
+
closingBalanceCents: centsToDollarsSchema.nullish(),
|
|
3499
|
+
reconciledAmountCents: centsToDollarsSchema.nullish(),
|
|
3500
|
+
totalReconciledAmountCents: centsToDollarsSchema.nullish(),
|
|
3501
|
+
unreconciledAmountCents: centsToDollarsSchema.nullish(),
|
|
3502
|
+
status: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(account_period_constant_AccountPeriodStatus))
|
|
3291
3503
|
});
|
|
3292
|
-
const
|
|
3293
|
-
|
|
3294
|
-
}).extend({
|
|
3295
|
-
currentReconciliation: external_zod_namespaceObject.z.lazy(()=>mtaReconciliationRestResSchema).nullish()
|
|
3504
|
+
const cmaAccountPeriodRestResSchema = cmaAccountPeriodRestResBaseSchema.extend({
|
|
3505
|
+
cma: external_zod_namespaceObject.z.lazy(()=>cmaRestResSchema).optional()
|
|
3296
3506
|
});
|
|
3297
|
-
const
|
|
3507
|
+
const cmaClosedAccountPeriodRestResSchema = cmaAccountPeriodEntitySchema.extend({
|
|
3508
|
+
currentReconciliation: external_zod_namespaceObject.z.lazy(()=>cmaReconciliationRestResSchema).nullish()
|
|
3509
|
+
});
|
|
3510
|
+
const cmaReconciledTransactionRestResSchema = cmaReconciledTransactionEntitySchema.extend({
|
|
3511
|
+
cmaTransaction: external_zod_namespaceObject.z.lazy(()=>cmaTransactionRestResSchema).optional(),
|
|
3512
|
+
accountPeriod: external_zod_namespaceObject.z.lazy(()=>cmaAccountPeriodRestResSchema).optional()
|
|
3513
|
+
});
|
|
3514
|
+
const payoutSourceDetailsEntitySchema = external_zod_namespaceObject.z.object({
|
|
3515
|
+
sourceAccountId: external_zod_namespaceObject.z.string(),
|
|
3516
|
+
sourceAccountType: external_zod_namespaceObject.z.string(),
|
|
3517
|
+
sourceAccountName: external_zod_namespaceObject.z.string(),
|
|
3518
|
+
sourceBsb: external_zod_namespaceObject.z.string(),
|
|
3519
|
+
sourceAccountNumber: external_zod_namespaceObject.z.string(),
|
|
3520
|
+
sourceAccountStateCode: external_zod_namespaceObject.z.string(),
|
|
3521
|
+
sourceAccountBankCode: external_zod_namespaceObject.z.string(),
|
|
3522
|
+
debitAmountCents: external_zod_namespaceObject.z.coerce.bigint(),
|
|
3523
|
+
description: external_zod_namespaceObject.z.string(),
|
|
3524
|
+
bankRef: external_zod_namespaceObject.z.string(),
|
|
3525
|
+
transactionType: external_zod_namespaceObject.z.string().nullish()
|
|
3526
|
+
}).passthrough();
|
|
3527
|
+
const payoutTargetDetailsBaseEntitySchema = external_zod_namespaceObject.z.object({
|
|
3528
|
+
targetBsb: external_zod_namespaceObject.z.string().nullish(),
|
|
3529
|
+
targetAccountType: external_zod_namespaceObject.z.string().nullish(),
|
|
3530
|
+
targetAccountNumber: external_zod_namespaceObject.z.string().nullish(),
|
|
3531
|
+
targetAccountName: external_zod_namespaceObject.z.string().nullish(),
|
|
3532
|
+
creditAmountCents: external_zod_namespaceObject.z.coerce.bigint(),
|
|
3533
|
+
description: external_zod_namespaceObject.z.string().trim().min(1),
|
|
3534
|
+
bankRef: external_zod_namespaceObject.z.string().nullish(),
|
|
3535
|
+
transactionType: external_zod_namespaceObject.z.string().nullish()
|
|
3536
|
+
}).passthrough();
|
|
3537
|
+
const payoutMtaToCmaTargetDetailsEntitySchema = payoutTargetDetailsBaseEntitySchema.extend({
|
|
3538
|
+
targetAccountId: external_zod_namespaceObject.z.string().uuid(),
|
|
3539
|
+
targetAccountType: external_zod_namespaceObject.z.literal(payout_constant_PayoutTargetAccountType.CMA),
|
|
3540
|
+
targetBsb: external_zod_namespaceObject.z.string(),
|
|
3541
|
+
targetAccountNumber: external_zod_namespaceObject.z.string(),
|
|
3542
|
+
targetAccountName: external_zod_namespaceObject.z.string()
|
|
3543
|
+
}).passthrough();
|
|
3544
|
+
const payoutOtherTargetDetailsEntitySchema = payoutTargetDetailsBaseEntitySchema.extend({
|
|
3545
|
+
targetAccountType: external_zod_namespaceObject.z.literal(payout_constant_PayoutTargetAccountType.OTHER),
|
|
3546
|
+
sourcePropertyId: external_zod_namespaceObject.z.string().uuid().optional()
|
|
3547
|
+
});
|
|
3548
|
+
const payoutTargetDetailsEntitySchema = external_zod_namespaceObject.z.discriminatedUnion('targetAccountType', [
|
|
3549
|
+
payoutMtaToCmaTargetDetailsEntitySchema,
|
|
3550
|
+
payoutOtherTargetDetailsEntitySchema
|
|
3551
|
+
]);
|
|
3552
|
+
const payoutMtaToCmaProvisionDataEntitySchema = external_zod_namespaceObject.z.object({
|
|
3553
|
+
sourceDetails: payoutSourceDetailsEntitySchema,
|
|
3554
|
+
targetDetails: payoutMtaToCmaTargetDetailsEntitySchema.array()
|
|
3555
|
+
});
|
|
3556
|
+
const payoutOtherProvisionDataEntitySchema = external_zod_namespaceObject.z.object({
|
|
3557
|
+
projectId: external_zod_namespaceObject.z.string().uuid().optional(),
|
|
3558
|
+
sourceDetails: payoutSourceDetailsEntitySchema,
|
|
3559
|
+
targetDetails: payoutOtherTargetDetailsEntitySchema.array()
|
|
3560
|
+
});
|
|
3561
|
+
const payoutProvisionDataEntitySchema = external_zod_namespaceObject.z.object({
|
|
3562
|
+
sourceDetails: payoutSourceDetailsEntitySchema,
|
|
3563
|
+
targetDetails: payoutTargetDetailsEntitySchema.array()
|
|
3564
|
+
}).passthrough();
|
|
3565
|
+
const payoutEntitySchema = external_zod_namespaceObject.z.object({
|
|
3298
3566
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3567
|
+
sequence: external_zod_namespaceObject.z.number().int(),
|
|
3568
|
+
payoutType: external_zod_namespaceObject.z.string(),
|
|
3569
|
+
sourceAccountType: external_zod_namespaceObject.z.string(),
|
|
3570
|
+
sourceAccountId: external_zod_namespaceObject.z.string(),
|
|
3571
|
+
totalAmountCents: external_zod_namespaceObject.z.bigint(),
|
|
3572
|
+
description: external_zod_namespaceObject.z.string().nullable(),
|
|
3303
3573
|
status: external_zod_namespaceObject.z.string(),
|
|
3304
|
-
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3305
|
-
createdBy: external_zod_namespaceObject.z.string(),
|
|
3306
3574
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3307
|
-
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3575
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3576
|
+
createdBy: external_zod_namespaceObject.z.string(),
|
|
3577
|
+
updatedBy: external_zod_namespaceObject.z.string().nullable(),
|
|
3578
|
+
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3579
|
+
provisionDetails: payoutProvisionDataEntitySchema,
|
|
3580
|
+
bankRef: external_zod_namespaceObject.z.string().nullable(),
|
|
3581
|
+
canceledAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
3582
|
+
canceledBy: external_zod_namespaceObject.z.string().nullable(),
|
|
3583
|
+
canceledReason: external_zod_namespaceObject.z.string().nullable()
|
|
3313
3584
|
});
|
|
3314
3585
|
const userEntitySchema = external_zod_namespaceObject.z.object({
|
|
3315
3586
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
@@ -3328,163 +3599,621 @@ var __webpack_exports__ = {};
|
|
|
3328
3599
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3329
3600
|
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3330
3601
|
});
|
|
3331
|
-
const
|
|
3602
|
+
const userRestResSchema = userEntitySchema.pick({
|
|
3603
|
+
id: true,
|
|
3604
|
+
email: true,
|
|
3605
|
+
firstName: true,
|
|
3606
|
+
lastName: true
|
|
3607
|
+
}).extend({
|
|
3608
|
+
fullName: external_zod_namespaceObject.z.string().nullish(),
|
|
3609
|
+
email: external_zod_namespaceObject.z.string().email(),
|
|
3610
|
+
firstName: external_zod_namespaceObject.z.string().nullish(),
|
|
3611
|
+
lastName: external_zod_namespaceObject.z.string().nullish()
|
|
3612
|
+
}).superRefine((data)=>{
|
|
3613
|
+
const name = [
|
|
3614
|
+
data.firstName,
|
|
3615
|
+
data.lastName
|
|
3616
|
+
].filter(Boolean).join(' ').trim();
|
|
3617
|
+
if (name) data.fullName = name;
|
|
3618
|
+
});
|
|
3619
|
+
const cmaTransactionRestResBaseSchema = cmaTransactionEntitySchema.extend({
|
|
3620
|
+
creditAmountCents: centsToDollarsSchema,
|
|
3621
|
+
debitAmountCents: centsToDollarsSchema,
|
|
3622
|
+
balanceCents: centsToDollarsSchema,
|
|
3623
|
+
inputType: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(cma_input_type_constant_CmaTransactionInputType)),
|
|
3624
|
+
transactionType: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(CmaTransactionType)),
|
|
3625
|
+
createdBy: external_zod_namespaceObject.z.union([
|
|
3626
|
+
external_zod_namespaceObject.z.string().uuid(),
|
|
3627
|
+
userRestResSchema
|
|
3628
|
+
]).nullish(),
|
|
3629
|
+
canceledBy: external_zod_namespaceObject.z.union([
|
|
3630
|
+
external_zod_namespaceObject.z.string().uuid(),
|
|
3631
|
+
userRestResSchema
|
|
3632
|
+
]).nullish(),
|
|
3633
|
+
property: external_zod_namespaceObject.z.lazy(()=>propertyNestedEntitySchema.omit({
|
|
3634
|
+
cma: true,
|
|
3635
|
+
mta: true,
|
|
3636
|
+
cmaTransactions: true,
|
|
3637
|
+
mtaTransactions: true
|
|
3638
|
+
})).nullish(),
|
|
3639
|
+
status: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(CmaTransactionStatus))
|
|
3640
|
+
});
|
|
3641
|
+
const cmaTransactionRestResSchema = cmaTransactionRestResBaseSchema.extend({
|
|
3642
|
+
cma: external_zod_namespaceObject.z.lazy(()=>cmaEntitySchema).nullish(),
|
|
3643
|
+
sourceTransaction: external_zod_namespaceObject.z.lazy(()=>cmaTransactionRestResSchema).nullish(),
|
|
3644
|
+
subsequentTransactions: external_zod_namespaceObject.z.lazy(()=>cmaTransactionRestResSchema.array()).nullish(),
|
|
3645
|
+
reconciledTransactions: external_zod_namespaceObject.z.lazy(()=>cmaReconciledTransactionRestResSchema.array()).nullish(),
|
|
3646
|
+
isReceipt: external_zod_namespaceObject.z.boolean().optional(),
|
|
3647
|
+
isPayment: external_zod_namespaceObject.z.boolean().optional(),
|
|
3648
|
+
isReconciled: external_zod_namespaceObject.z.boolean().optional(),
|
|
3649
|
+
isCancelable: external_zod_namespaceObject.z.boolean().nullish(),
|
|
3650
|
+
amountStr: external_zod_namespaceObject.z.string().optional(),
|
|
3651
|
+
transactionNumber: external_zod_namespaceObject.z.string().optional(),
|
|
3652
|
+
payout: external_zod_namespaceObject.z.lazy(()=>payoutEntitySchema).nullish()
|
|
3653
|
+
}).transform((obj)=>{
|
|
3654
|
+
const { isReceipt, isPayment, amountStr, isCancelable, transactionNumber } = getTransactionStatus(obj);
|
|
3655
|
+
return {
|
|
3656
|
+
...obj,
|
|
3657
|
+
isReceipt,
|
|
3658
|
+
isPayment,
|
|
3659
|
+
isCancelable,
|
|
3660
|
+
amountStr,
|
|
3661
|
+
transactionNumber
|
|
3662
|
+
};
|
|
3663
|
+
});
|
|
3664
|
+
const cmaAccountPeriodClosingSummaryRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3665
|
+
cmaAccountPeriodId: external_zod_namespaceObject.z.string().uuid(),
|
|
3666
|
+
endDate: external_zod_namespaceObject.z.union([
|
|
3667
|
+
external_zod_namespaceObject.z.string(),
|
|
3668
|
+
external_zod_namespaceObject.z.date()
|
|
3669
|
+
]).transform((arg)=>external_dayjs_default()(arg).endOf('day').toDate()).pipe(external_zod_namespaceObject.z.date())
|
|
3670
|
+
});
|
|
3671
|
+
const cmaAccountPeriodClosingSummaryRestResSchema = external_zod_namespaceObject.z.object({
|
|
3672
|
+
startDate: external_zod_namespaceObject.z.date(),
|
|
3673
|
+
endDate: external_zod_namespaceObject.z.date(),
|
|
3674
|
+
bankStatementBalanceCents: external_zod_namespaceObject.z.union([
|
|
3675
|
+
external_zod_namespaceObject.z.bigint(),
|
|
3676
|
+
external_zod_namespaceObject.z.number()
|
|
3677
|
+
]).transform(fromCentsToDollars).pipe(external_zod_namespaceObject.z.number()),
|
|
3678
|
+
currentTrustBalanceSummary: external_zod_namespaceObject.z.object({
|
|
3679
|
+
totalAmountCents: external_zod_namespaceObject.z.union([
|
|
3680
|
+
external_zod_namespaceObject.z.bigint(),
|
|
3681
|
+
external_zod_namespaceObject.z.number()
|
|
3682
|
+
]).transform(fromCentsToDollars).pipe(external_zod_namespaceObject.z.number()),
|
|
3683
|
+
totalCreditAmountCents: external_zod_namespaceObject.z.union([
|
|
3684
|
+
external_zod_namespaceObject.z.bigint(),
|
|
3685
|
+
external_zod_namespaceObject.z.number()
|
|
3686
|
+
]).transform(fromCentsToDollars).pipe(external_zod_namespaceObject.z.number()),
|
|
3687
|
+
totalDebitAmountCents: external_zod_namespaceObject.z.union([
|
|
3688
|
+
external_zod_namespaceObject.z.bigint(),
|
|
3689
|
+
external_zod_namespaceObject.z.number()
|
|
3690
|
+
]).transform(fromCentsToDollars).pipe(external_zod_namespaceObject.z.number()),
|
|
3691
|
+
totalTransactionsCount: external_zod_namespaceObject.z.number()
|
|
3692
|
+
}),
|
|
3693
|
+
reconciliations: external_zod_namespaceObject.z.lazy(()=>cmaReconciliationRestResSchema.array()).nullish(),
|
|
3694
|
+
totalReconciledAmountSummary: external_zod_namespaceObject.z.object({
|
|
3695
|
+
totalReconciledAmountCents: external_zod_namespaceObject.z.union([
|
|
3696
|
+
external_zod_namespaceObject.z.bigint(),
|
|
3697
|
+
external_zod_namespaceObject.z.number()
|
|
3698
|
+
]).transform(fromCentsToDollars).pipe(external_zod_namespaceObject.z.number()),
|
|
3699
|
+
totalReconciledCreditAmountCents: external_zod_namespaceObject.z.union([
|
|
3700
|
+
external_zod_namespaceObject.z.bigint(),
|
|
3701
|
+
external_zod_namespaceObject.z.number()
|
|
3702
|
+
]).transform(fromCentsToDollars).pipe(external_zod_namespaceObject.z.number()),
|
|
3703
|
+
totalReconciledDebitAmountCents: external_zod_namespaceObject.z.union([
|
|
3704
|
+
external_zod_namespaceObject.z.bigint(),
|
|
3705
|
+
external_zod_namespaceObject.z.number()
|
|
3706
|
+
]).transform(fromCentsToDollars).pipe(external_zod_namespaceObject.z.number()),
|
|
3707
|
+
totalReconciledTransactionsCount: external_zod_namespaceObject.z.number()
|
|
3708
|
+
}),
|
|
3709
|
+
totalUnreconciledAmountSummary: external_zod_namespaceObject.z.object({
|
|
3710
|
+
totalUnreconciledAmountCents: external_zod_namespaceObject.z.union([
|
|
3711
|
+
external_zod_namespaceObject.z.bigint(),
|
|
3712
|
+
external_zod_namespaceObject.z.number()
|
|
3713
|
+
]).transform(fromCentsToDollars).pipe(external_zod_namespaceObject.z.number()),
|
|
3714
|
+
totalUnreconciledCreditAmountCents: external_zod_namespaceObject.z.union([
|
|
3715
|
+
external_zod_namespaceObject.z.bigint(),
|
|
3716
|
+
external_zod_namespaceObject.z.number()
|
|
3717
|
+
]).transform(fromCentsToDollars).pipe(external_zod_namespaceObject.z.number()),
|
|
3718
|
+
totalUnreconciledDebitAmountCents: external_zod_namespaceObject.z.union([
|
|
3719
|
+
external_zod_namespaceObject.z.bigint(),
|
|
3720
|
+
external_zod_namespaceObject.z.number()
|
|
3721
|
+
]).transform(fromCentsToDollars).pipe(external_zod_namespaceObject.z.number()),
|
|
3722
|
+
totalUnreconciledTransactionsCount: external_zod_namespaceObject.z.number()
|
|
3723
|
+
}),
|
|
3724
|
+
transactionsSummary: external_zod_namespaceObject.z.object({
|
|
3725
|
+
reconciledAmountCents: external_zod_namespaceObject.z.union([
|
|
3726
|
+
external_zod_namespaceObject.z.bigint(),
|
|
3727
|
+
external_zod_namespaceObject.z.number()
|
|
3728
|
+
]).transform(fromCentsToDollars).pipe(external_zod_namespaceObject.z.number()),
|
|
3729
|
+
reconciledTransactions: external_zod_namespaceObject.z.lazy(()=>cmaTransactionRestResSchema.array()).nullish(),
|
|
3730
|
+
unreconciledAmountCents: external_zod_namespaceObject.z.union([
|
|
3731
|
+
external_zod_namespaceObject.z.bigint(),
|
|
3732
|
+
external_zod_namespaceObject.z.number()
|
|
3733
|
+
]).transform(fromCentsToDollars).pipe(external_zod_namespaceObject.z.number()),
|
|
3734
|
+
unreconciledTransactions: external_zod_namespaceObject.z.lazy(()=>cmaTransactionRestResSchema.array()).nullish()
|
|
3735
|
+
})
|
|
3736
|
+
});
|
|
3737
|
+
const dollarsToCentsSchema = external_zod_namespaceObject.z.union([
|
|
3738
|
+
external_zod_namespaceObject.z.string(),
|
|
3739
|
+
external_zod_namespaceObject.z.bigint(),
|
|
3740
|
+
external_zod_namespaceObject.z.number()
|
|
3741
|
+
]).transform(fromDollarsToCents).pipe(external_zod_namespaceObject.z.bigint());
|
|
3742
|
+
const updateCmaAccountPeriodReconciledToRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3743
|
+
cmaAccountPeriodId: external_zod_namespaceObject.z.string().uuid(),
|
|
3744
|
+
reconciledTo: external_zod_namespaceObject.z.union([
|
|
3745
|
+
external_zod_namespaceObject.z.string(),
|
|
3746
|
+
external_zod_namespaceObject.z.date()
|
|
3747
|
+
]).transform((arg)=>external_dayjs_default()(arg).endOf('day').toDate()),
|
|
3748
|
+
bankStatementBalanceCents: dollarsToCentsSchema,
|
|
3749
|
+
lastUpdatedAt: external_zod_namespaceObject.z.union([
|
|
3750
|
+
external_zod_namespaceObject.z.string().datetime(),
|
|
3751
|
+
external_zod_namespaceObject.z.date()
|
|
3752
|
+
]).pipe(external_zod_namespaceObject.z.coerce.date())
|
|
3753
|
+
});
|
|
3754
|
+
const createCmaReconciliationRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3755
|
+
bankStatementBalanceCents: external_zod_namespaceObject.z.union([
|
|
3756
|
+
external_zod_namespaceObject.z.bigint(),
|
|
3757
|
+
external_zod_namespaceObject.z.number()
|
|
3758
|
+
]).transform((arg)=>100n * BigInt(arg)).pipe(external_zod_namespaceObject.z.bigint()),
|
|
3759
|
+
reconciledTo: external_zod_namespaceObject.z.union([
|
|
3760
|
+
external_zod_namespaceObject.z.string(),
|
|
3761
|
+
external_zod_namespaceObject.z.date()
|
|
3762
|
+
]).transform((arg)=>external_dayjs_default()(arg).endOf('day').toDate()).pipe(external_zod_namespaceObject.z.coerce.date()),
|
|
3763
|
+
cmaAccountPeriodId: external_zod_namespaceObject.z.string().uuid()
|
|
3764
|
+
});
|
|
3765
|
+
const updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3766
|
+
cmaReconciliationId: external_zod_namespaceObject.z.string().uuid(),
|
|
3767
|
+
bankStatementBalanceCents: dollarsToCentsSchema
|
|
3768
|
+
});
|
|
3769
|
+
const cancelCmaTransactionRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3770
|
+
transactionId: external_zod_namespaceObject.z.string().uuid(),
|
|
3771
|
+
description: external_zod_namespaceObject.z.string().transform((val)=>val.trim()).nullish(),
|
|
3772
|
+
reason: external_zod_namespaceObject.z.string().transform((val)=>val.trim()).nullish()
|
|
3773
|
+
});
|
|
3774
|
+
const markCmaTransactionAsClearedRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3775
|
+
transactionId: external_zod_namespaceObject.z.string().uuid(),
|
|
3776
|
+
clearedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3777
|
+
});
|
|
3778
|
+
const boolFilterBaseSchema = external_zod_namespaceObject.z.object({
|
|
3779
|
+
equals: external_zod_namespaceObject.z.boolean().optional(),
|
|
3780
|
+
not: external_zod_namespaceObject.z.union([
|
|
3781
|
+
external_zod_namespaceObject.z.boolean(),
|
|
3782
|
+
external_zod_namespaceObject.z.lazy(()=>boolFilterBaseSchema)
|
|
3783
|
+
]).optional()
|
|
3784
|
+
}).strict();
|
|
3785
|
+
const boolFilterSchema = boolFilterBaseSchema.extend({
|
|
3786
|
+
not: external_zod_namespaceObject.z.union([
|
|
3787
|
+
external_zod_namespaceObject.z.boolean(),
|
|
3788
|
+
external_zod_namespaceObject.z.lazy(()=>boolFilterBaseSchema)
|
|
3789
|
+
]).optional()
|
|
3790
|
+
});
|
|
3791
|
+
const intFilterBaseSchema = external_zod_namespaceObject.z.object({
|
|
3792
|
+
equals: external_zod_namespaceObject.z.number().optional(),
|
|
3793
|
+
in: external_zod_namespaceObject.z.number().array().optional(),
|
|
3794
|
+
notIn: external_zod_namespaceObject.z.number().array().optional(),
|
|
3795
|
+
lt: external_zod_namespaceObject.z.number().optional(),
|
|
3796
|
+
lte: external_zod_namespaceObject.z.number().optional(),
|
|
3797
|
+
gt: external_zod_namespaceObject.z.number().optional(),
|
|
3798
|
+
gte: external_zod_namespaceObject.z.number().optional()
|
|
3799
|
+
});
|
|
3800
|
+
const intFilterSchema = intFilterBaseSchema.extend({
|
|
3801
|
+
not: external_zod_namespaceObject.z.union([
|
|
3802
|
+
external_zod_namespaceObject.z.coerce.number(),
|
|
3803
|
+
external_zod_namespaceObject.z.lazy(()=>intFilterBaseSchema)
|
|
3804
|
+
]).optional()
|
|
3805
|
+
});
|
|
3806
|
+
const bigIntFilterBaseSchema = external_zod_namespaceObject.z.object({
|
|
3807
|
+
equals: external_zod_namespaceObject.z.union([
|
|
3808
|
+
external_zod_namespaceObject.z.coerce.bigint(),
|
|
3809
|
+
external_zod_namespaceObject.z.coerce.number()
|
|
3810
|
+
]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).optional(),
|
|
3811
|
+
in: external_zod_namespaceObject.z.union([
|
|
3812
|
+
external_zod_namespaceObject.z.coerce.bigint(),
|
|
3813
|
+
external_zod_namespaceObject.z.coerce.number()
|
|
3814
|
+
]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).array().optional(),
|
|
3815
|
+
notIn: external_zod_namespaceObject.z.union([
|
|
3816
|
+
external_zod_namespaceObject.z.coerce.bigint(),
|
|
3817
|
+
external_zod_namespaceObject.z.coerce.number()
|
|
3818
|
+
]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).array().optional(),
|
|
3819
|
+
lt: external_zod_namespaceObject.z.union([
|
|
3820
|
+
external_zod_namespaceObject.z.coerce.bigint(),
|
|
3821
|
+
external_zod_namespaceObject.z.coerce.number()
|
|
3822
|
+
]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).optional(),
|
|
3823
|
+
lte: external_zod_namespaceObject.z.union([
|
|
3824
|
+
external_zod_namespaceObject.z.coerce.bigint(),
|
|
3825
|
+
external_zod_namespaceObject.z.coerce.number()
|
|
3826
|
+
]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).optional(),
|
|
3827
|
+
gt: external_zod_namespaceObject.z.union([
|
|
3828
|
+
external_zod_namespaceObject.z.coerce.bigint(),
|
|
3829
|
+
external_zod_namespaceObject.z.coerce.number()
|
|
3830
|
+
]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).optional(),
|
|
3831
|
+
gte: external_zod_namespaceObject.z.union([
|
|
3832
|
+
external_zod_namespaceObject.z.coerce.bigint(),
|
|
3833
|
+
external_zod_namespaceObject.z.coerce.number()
|
|
3834
|
+
]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).optional()
|
|
3835
|
+
});
|
|
3836
|
+
const bigIntFilterSchema = bigIntFilterBaseSchema.extend({
|
|
3837
|
+
not: external_zod_namespaceObject.z.union([
|
|
3838
|
+
external_zod_namespaceObject.z.union([
|
|
3839
|
+
external_zod_namespaceObject.z.coerce.bigint(),
|
|
3840
|
+
external_zod_namespaceObject.z.coerce.number()
|
|
3841
|
+
]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()),
|
|
3842
|
+
external_zod_namespaceObject.z.lazy(()=>bigIntFilterBaseSchema)
|
|
3843
|
+
]).optional()
|
|
3844
|
+
});
|
|
3845
|
+
const StringFilterBaseSchema = external_zod_namespaceObject.z.object({
|
|
3846
|
+
equals: external_zod_namespaceObject.z.string().optional(),
|
|
3847
|
+
in: external_zod_namespaceObject.z.string().array().optional(),
|
|
3848
|
+
notIn: external_zod_namespaceObject.z.string().array().optional(),
|
|
3849
|
+
lt: external_zod_namespaceObject.z.string().optional(),
|
|
3850
|
+
lte: external_zod_namespaceObject.z.string().optional(),
|
|
3851
|
+
gt: external_zod_namespaceObject.z.string().optional(),
|
|
3852
|
+
gte: external_zod_namespaceObject.z.string().optional(),
|
|
3853
|
+
contains: external_zod_namespaceObject.z.string().optional(),
|
|
3854
|
+
startsWith: external_zod_namespaceObject.z.string().optional(),
|
|
3855
|
+
endsWith: external_zod_namespaceObject.z.string().optional()
|
|
3856
|
+
}).strict();
|
|
3857
|
+
const stringFilterSchema = external_zod_namespaceObject.z.object({
|
|
3858
|
+
equals: external_zod_namespaceObject.z.string().optional(),
|
|
3859
|
+
in: external_zod_namespaceObject.z.string().array().optional(),
|
|
3860
|
+
notIn: external_zod_namespaceObject.z.string().array().optional(),
|
|
3861
|
+
lt: external_zod_namespaceObject.z.string().optional(),
|
|
3862
|
+
lte: external_zod_namespaceObject.z.string().optional(),
|
|
3863
|
+
gt: external_zod_namespaceObject.z.string().optional(),
|
|
3864
|
+
gte: external_zod_namespaceObject.z.string().optional(),
|
|
3865
|
+
contains: external_zod_namespaceObject.z.string().optional(),
|
|
3866
|
+
startsWith: external_zod_namespaceObject.z.string().optional(),
|
|
3867
|
+
endsWith: external_zod_namespaceObject.z.string().optional(),
|
|
3868
|
+
not: external_zod_namespaceObject.z.union([
|
|
3869
|
+
external_zod_namespaceObject.z.string(),
|
|
3870
|
+
external_zod_namespaceObject.z.lazy(()=>StringFilterBaseSchema)
|
|
3871
|
+
]).optional()
|
|
3872
|
+
}).strict();
|
|
3873
|
+
const cmaTransactionSearchRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3874
|
+
cmaId: external_zod_namespaceObject.z.union([
|
|
3875
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
3876
|
+
external_zod_namespaceObject.z.string()
|
|
3877
|
+
]).optional(),
|
|
3878
|
+
propertyId: external_zod_namespaceObject.z.union([
|
|
3879
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
3880
|
+
external_zod_namespaceObject.z.string()
|
|
3881
|
+
]).optional(),
|
|
3882
|
+
createType: external_zod_namespaceObject.z.union([
|
|
3883
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
3884
|
+
external_zod_namespaceObject.z.string()
|
|
3885
|
+
]).optional(),
|
|
3886
|
+
transactionType: external_zod_namespaceObject.z.union([
|
|
3887
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
3888
|
+
external_zod_namespaceObject.z.string()
|
|
3889
|
+
]).optional(),
|
|
3890
|
+
isCanceled: external_zod_namespaceObject.z.union([
|
|
3891
|
+
external_zod_namespaceObject.z.lazy(()=>boolFilterSchema),
|
|
3892
|
+
external_zod_namespaceObject.z.string()
|
|
3893
|
+
]).optional(),
|
|
3894
|
+
isRefunded: external_zod_namespaceObject.z.union([
|
|
3895
|
+
external_zod_namespaceObject.z.lazy(()=>boolFilterSchema),
|
|
3896
|
+
external_zod_namespaceObject.z.string()
|
|
3897
|
+
]).optional(),
|
|
3898
|
+
mtaId: external_zod_namespaceObject.z.union([
|
|
3899
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
3900
|
+
external_zod_namespaceObject.z.string()
|
|
3901
|
+
]).optional(),
|
|
3902
|
+
mtaBalanceCents: external_zod_namespaceObject.z.union([
|
|
3903
|
+
external_zod_namespaceObject.z.lazy(()=>bigIntFilterSchema),
|
|
3904
|
+
external_zod_namespaceObject.z.bigint()
|
|
3905
|
+
]).optional(),
|
|
3906
|
+
cmaBalanceCents: external_zod_namespaceObject.z.union([
|
|
3907
|
+
external_zod_namespaceObject.z.lazy(()=>bigIntFilterSchema),
|
|
3908
|
+
external_zod_namespaceObject.z.bigint()
|
|
3909
|
+
]).optional(),
|
|
3910
|
+
balanceCents: external_zod_namespaceObject.z.union([
|
|
3911
|
+
external_zod_namespaceObject.z.lazy(()=>bigIntFilterSchema),
|
|
3912
|
+
external_zod_namespaceObject.z.bigint()
|
|
3913
|
+
]).optional(),
|
|
3914
|
+
status: external_zod_namespaceObject.z.union([
|
|
3915
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
3916
|
+
external_zod_namespaceObject.z.string()
|
|
3917
|
+
]).optional(),
|
|
3918
|
+
payoutId: external_zod_namespaceObject.z.union([
|
|
3919
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
3920
|
+
external_zod_namespaceObject.z.string()
|
|
3921
|
+
]).optional()
|
|
3922
|
+
});
|
|
3923
|
+
const createCmaTransactionRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3924
|
+
amount: external_zod_namespaceObject.z.number().positive().transform((val)=>100n * BigInt(val)).pipe(external_zod_namespaceObject.z.bigint()),
|
|
3925
|
+
clearedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3926
|
+
description: external_zod_namespaceObject.z.string().trim().min(1, "Description is required"),
|
|
3927
|
+
cmaId: external_zod_namespaceObject.z.string().uuid(),
|
|
3928
|
+
bankRef: external_zod_namespaceObject.z.string().transform((val)=>val.trim()),
|
|
3929
|
+
transactionType: external_zod_namespaceObject.z.union([
|
|
3930
|
+
external_zod_namespaceObject.z.nativeEnum(cma_payment_method_constant_CmaTransactionPaymentMethod),
|
|
3931
|
+
external_zod_namespaceObject.z.string()
|
|
3932
|
+
]).refine((val)=>val === CmaTransactionType.INTEREST, {
|
|
3933
|
+
message: 'Only interest transaction is allowed'
|
|
3934
|
+
}).pipe(external_zod_namespaceObject.z.nativeEnum(CmaTransactionType)),
|
|
3935
|
+
paymentMethod: external_zod_namespaceObject.z.union([
|
|
3936
|
+
external_zod_namespaceObject.z.nativeEnum(cma_payment_method_constant_CmaTransactionPaymentMethod),
|
|
3937
|
+
external_zod_namespaceObject.z.string().length(0)
|
|
3938
|
+
]).transform((val)=>'' === val ? cma_payment_method_constant_CmaTransactionPaymentMethod.EFT : val).default(cma_payment_method_constant_CmaTransactionPaymentMethod.EFT),
|
|
3939
|
+
inputType: external_zod_namespaceObject.z.nativeEnum(cma_input_type_constant_CmaTransactionInputType).default(cma_input_type_constant_CmaTransactionInputType.MANUAL)
|
|
3940
|
+
});
|
|
3941
|
+
const reconcileCmaTransactionRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3942
|
+
cmaTransactionId: external_zod_namespaceObject.z.string().uuid(),
|
|
3943
|
+
reconciliationId: external_zod_namespaceObject.z.string().uuid(),
|
|
3944
|
+
action: external_zod_namespaceObject.z.nativeEnum(reconcile_transaction_action_constant_ReconcileTransactionAction)
|
|
3945
|
+
});
|
|
3946
|
+
const dateTimeFilterBaseSchema = external_zod_namespaceObject.z.object({
|
|
3947
|
+
equals: external_zod_namespaceObject.z.coerce.date().optional(),
|
|
3948
|
+
in: external_zod_namespaceObject.z.coerce.date().array().optional(),
|
|
3949
|
+
notIn: external_zod_namespaceObject.z.coerce.date().array().optional(),
|
|
3950
|
+
lt: external_zod_namespaceObject.z.coerce.date().optional(),
|
|
3951
|
+
lte: external_zod_namespaceObject.z.coerce.date().optional(),
|
|
3952
|
+
gt: external_zod_namespaceObject.z.coerce.date().optional(),
|
|
3953
|
+
gte: external_zod_namespaceObject.z.coerce.date().optional()
|
|
3954
|
+
}).strict();
|
|
3955
|
+
const dateTimeFilterSchema = external_zod_namespaceObject.z.object({
|
|
3956
|
+
equals: external_zod_namespaceObject.z.coerce.date().optional(),
|
|
3957
|
+
in: external_zod_namespaceObject.z.coerce.date().array().optional(),
|
|
3958
|
+
notIn: external_zod_namespaceObject.z.coerce.date().array().optional(),
|
|
3959
|
+
lt: external_zod_namespaceObject.z.coerce.date().optional(),
|
|
3960
|
+
lte: external_zod_namespaceObject.z.coerce.date().optional(),
|
|
3961
|
+
gt: external_zod_namespaceObject.z.coerce.date().optional(),
|
|
3962
|
+
gte: external_zod_namespaceObject.z.coerce.date().optional(),
|
|
3963
|
+
not: external_zod_namespaceObject.z.union([
|
|
3964
|
+
external_zod_namespaceObject.z.coerce.date(),
|
|
3965
|
+
external_zod_namespaceObject.z.lazy(()=>dateTimeFilterBaseSchema)
|
|
3966
|
+
]).optional()
|
|
3967
|
+
}).strict();
|
|
3968
|
+
const InputJsonValueSchema = external_zod_namespaceObject.z.lazy(()=>external_zod_namespaceObject.z.union([
|
|
3969
|
+
external_zod_namespaceObject.z.string(),
|
|
3970
|
+
external_zod_namespaceObject.z.number(),
|
|
3971
|
+
external_zod_namespaceObject.z.boolean(),
|
|
3972
|
+
external_zod_namespaceObject.z.object({
|
|
3973
|
+
toJSON: external_zod_namespaceObject.z["function"](external_zod_namespaceObject.z.tuple([]), external_zod_namespaceObject.z.any())
|
|
3974
|
+
}),
|
|
3975
|
+
external_zod_namespaceObject.z.record(external_zod_namespaceObject.z.lazy(()=>external_zod_namespaceObject.z.union([
|
|
3976
|
+
InputJsonValueSchema,
|
|
3977
|
+
external_zod_namespaceObject.z.literal(null)
|
|
3978
|
+
]))),
|
|
3979
|
+
external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.lazy(()=>external_zod_namespaceObject.z.union([
|
|
3980
|
+
InputJsonValueSchema,
|
|
3981
|
+
external_zod_namespaceObject.z.literal(null)
|
|
3982
|
+
])))
|
|
3983
|
+
]));
|
|
3984
|
+
const JsonNullableFilterSchema = external_zod_namespaceObject.z.object({
|
|
3985
|
+
equals: external_zod_namespaceObject.z.string().optional(),
|
|
3986
|
+
path: external_zod_namespaceObject.z.string().array().optional(),
|
|
3987
|
+
string_contains: external_zod_namespaceObject.z.string().optional(),
|
|
3988
|
+
string_starts_with: external_zod_namespaceObject.z.string().optional(),
|
|
3989
|
+
string_ends_with: external_zod_namespaceObject.z.string().optional()
|
|
3990
|
+
});
|
|
3991
|
+
const createMenuRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3992
|
+
parentId: external_zod_namespaceObject.z.string().optional(),
|
|
3993
|
+
label: external_zod_namespaceObject.z.string(),
|
|
3994
|
+
title: external_zod_namespaceObject.z.string().optional(),
|
|
3995
|
+
section: external_zod_namespaceObject.z.string().optional(),
|
|
3996
|
+
icon: external_zod_namespaceObject.z.string().optional(),
|
|
3997
|
+
show: external_zod_namespaceObject.z.boolean().optional().default(true),
|
|
3998
|
+
path: external_zod_namespaceObject.z.string().optional(),
|
|
3999
|
+
type: external_zod_namespaceObject.z.nativeEnum(MenuType),
|
|
4000
|
+
permissionKey: external_zod_namespaceObject.z.string().min(1, 'Permission key is required'),
|
|
4001
|
+
sort: external_zod_namespaceObject.z.number().optional().default(99),
|
|
4002
|
+
status: external_zod_namespaceObject.z.nativeEnum(MenuStatus).default(MenuStatus.ACTIVE)
|
|
4003
|
+
});
|
|
4004
|
+
const menuSchema = external_zod_namespaceObject.z.object({
|
|
4005
|
+
id: external_zod_namespaceObject.z.string(),
|
|
4006
|
+
parentId: external_zod_namespaceObject.z.string().nullish(),
|
|
4007
|
+
label: external_zod_namespaceObject.z.string(),
|
|
4008
|
+
title: external_zod_namespaceObject.z.string().nullish(),
|
|
4009
|
+
section: external_zod_namespaceObject.z.string().nullish(),
|
|
4010
|
+
icon: external_zod_namespaceObject.z.string().nullish(),
|
|
4011
|
+
path: external_zod_namespaceObject.z.string().nullish(),
|
|
4012
|
+
absolutePath: external_zod_namespaceObject.z.string().nullish(),
|
|
4013
|
+
type: external_zod_namespaceObject.z.nativeEnum(MenuType),
|
|
4014
|
+
permissionKey: external_zod_namespaceObject.z.string().nullish(),
|
|
4015
|
+
sort: external_zod_namespaceObject.z.number().nullish(),
|
|
4016
|
+
show: external_zod_namespaceObject.z.boolean().nullish(),
|
|
4017
|
+
status: external_zod_namespaceObject.z.nativeEnum(MenuStatus),
|
|
4018
|
+
createdAt: external_zod_namespaceObject.z.date(),
|
|
4019
|
+
updatedAt: external_zod_namespaceObject.z.date(),
|
|
4020
|
+
isArchived: external_zod_namespaceObject.z.boolean()
|
|
4021
|
+
});
|
|
4022
|
+
const menuRestResSchema = menuSchema.extend({
|
|
4023
|
+
children: external_zod_namespaceObject.z.array(menuSchema).optional()
|
|
4024
|
+
});
|
|
4025
|
+
const updateMenuRestReqSchema = createMenuRestReqSchema.extend({
|
|
4026
|
+
id: external_zod_namespaceObject.z.string()
|
|
4027
|
+
});
|
|
4028
|
+
const createMtaRestReqSchema = external_zod_namespaceObject.z.object({
|
|
4029
|
+
name: external_zod_namespaceObject.z.string().trim().min(1),
|
|
4030
|
+
country: external_zod_namespaceObject.z.string().refine((val)=>'Australia' === val, {
|
|
4031
|
+
message: 'Country must be Australia'
|
|
4032
|
+
}),
|
|
4033
|
+
stateCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuStateCode),
|
|
4034
|
+
bankCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuTrustAccountBankCode),
|
|
4035
|
+
bsb: external_zod_namespaceObject.z.string().length(6).regex(/^\d+$/, {
|
|
4036
|
+
message: 'BSB must be all digits'
|
|
4037
|
+
}),
|
|
4038
|
+
accountNumber: external_zod_namespaceObject.z.string().min(6).max(10).regex(/^\d+$/, {
|
|
4039
|
+
message: 'Account number must be all digits'
|
|
4040
|
+
}),
|
|
4041
|
+
directDebitBankAccountId: external_zod_namespaceObject.z.string().uuid(),
|
|
4042
|
+
directDebitProviderCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.PaymentProviderCode),
|
|
4043
|
+
payIdBankAccountId: external_zod_namespaceObject.z.string().uuid(),
|
|
4044
|
+
payIdProviderCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.PaymentProviderCode),
|
|
4045
|
+
zeptoBankAccountId: external_zod_namespaceObject.z.string().uuid()
|
|
4046
|
+
});
|
|
4047
|
+
const mtaAccountPeriodEntitySchema = external_zod_namespaceObject.z.object({
|
|
3332
4048
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
4049
|
+
startDate: external_zod_namespaceObject.z.coerce.date(),
|
|
4050
|
+
endDate: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
4051
|
+
openingBalanceCents: external_zod_namespaceObject.z.bigint(),
|
|
4052
|
+
closingBalanceCents: external_zod_namespaceObject.z.bigint().nullable(),
|
|
4053
|
+
status: external_zod_namespaceObject.z.string(),
|
|
4054
|
+
closedBy: external_zod_namespaceObject.z.string().nullable(),
|
|
4055
|
+
closedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
4056
|
+
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3337
4057
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3338
|
-
approvedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
3339
|
-
approvedBy: external_zod_namespaceObject.z.string().nullable(),
|
|
3340
|
-
createdBy: external_zod_namespaceObject.z.string().nullable(),
|
|
3341
4058
|
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
isArchived: external_zod_namespaceObject.z.boolean()
|
|
3345
|
-
});
|
|
3346
|
-
const projectMtaAllocationRestResSchema = projectMtaAllocationEntitySchema.extend({
|
|
3347
|
-
mta: external_zod_namespaceObject.z.lazy(()=>mtaRestResSchema.pick({
|
|
3348
|
-
id: true,
|
|
3349
|
-
name: true,
|
|
3350
|
-
stateCode: true,
|
|
3351
|
-
bankCode: true,
|
|
3352
|
-
accountNumber: true,
|
|
3353
|
-
bsb: true
|
|
3354
|
-
})),
|
|
3355
|
-
creator: external_zod_namespaceObject.z.lazy(()=>userEntitySchema.pick({
|
|
3356
|
-
id: true,
|
|
3357
|
-
firstName: true,
|
|
3358
|
-
lastName: true
|
|
3359
|
-
})),
|
|
3360
|
-
approver: external_zod_namespaceObject.z.lazy(()=>userEntitySchema.pick({
|
|
3361
|
-
id: true,
|
|
3362
|
-
firstName: true,
|
|
3363
|
-
lastName: true
|
|
3364
|
-
})).optional()
|
|
4059
|
+
mtaId: external_zod_namespaceObject.z.string(),
|
|
4060
|
+
closingDescription: external_zod_namespaceObject.z.string().nullable()
|
|
3365
4061
|
});
|
|
3366
|
-
const
|
|
3367
|
-
id: external_zod_namespaceObject.z.string(),
|
|
4062
|
+
const paymentProviderEntitySchema = external_zod_namespaceObject.z.object({
|
|
4063
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3368
4064
|
name: external_zod_namespaceObject.z.string(),
|
|
3369
|
-
|
|
3370
|
-
mtaId: external_zod_namespaceObject.z.string().nullable(),
|
|
3371
|
-
state: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuStateCode),
|
|
3372
|
-
type: external_zod_namespaceObject.z.string(),
|
|
3373
|
-
status: external_zod_namespaceObject.z.string(),
|
|
4065
|
+
providerCode: external_zod_namespaceObject.z.string(),
|
|
3374
4066
|
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
4067
|
+
settings: external_zod_namespaceObject.z.string(),
|
|
4068
|
+
status: external_zod_namespaceObject.z.string(),
|
|
3375
4069
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3376
|
-
syncedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3377
4070
|
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3378
4071
|
});
|
|
3379
|
-
const
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
4072
|
+
const mtaPaymentMethodAccountConfigSchema = external_zod_namespaceObject.z.object({
|
|
4073
|
+
bsb: external_zod_namespaceObject.z.string(),
|
|
4074
|
+
accountNumber: external_zod_namespaceObject.z.string(),
|
|
4075
|
+
credential: external_zod_namespaceObject.z.object({
|
|
4076
|
+
bankAccountId: external_zod_namespaceObject.z.string()
|
|
4077
|
+
})
|
|
3384
4078
|
});
|
|
3385
|
-
const
|
|
4079
|
+
const mtaPaymentMethodFloatAccountConfigSchema = external_zod_namespaceObject.z.object({
|
|
4080
|
+
domainName: external_zod_namespaceObject.z.string().email(),
|
|
4081
|
+
credential: external_zod_namespaceObject.z.object({
|
|
4082
|
+
bankAccountId: external_zod_namespaceObject.z.string()
|
|
4083
|
+
})
|
|
4084
|
+
});
|
|
4085
|
+
const mtaPaymentMethodEntitySchema = external_zod_namespaceObject.z.object({
|
|
3386
4086
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3387
|
-
customerId: external_zod_namespaceObject.z.string(),
|
|
3388
|
-
projectId: external_zod_namespaceObject.z.string(),
|
|
3389
|
-
buyerName: external_zod_namespaceObject.z.string().optional().nullable(),
|
|
3390
|
-
lotDetail: external_zod_namespaceObject.z.string().nullable(),
|
|
3391
|
-
propertyAddress: external_zod_namespaceObject.z.string(),
|
|
3392
|
-
balanceCents: external_zod_namespaceObject.z.union([
|
|
3393
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3394
|
-
external_zod_namespaceObject.z.number()
|
|
3395
|
-
]),
|
|
3396
|
-
cmaBalanceCents: external_zod_namespaceObject.z.union([
|
|
3397
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3398
|
-
external_zod_namespaceObject.z.number()
|
|
3399
|
-
]),
|
|
3400
|
-
mtaBalanceCents: external_zod_namespaceObject.z.union([
|
|
3401
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3402
|
-
external_zod_namespaceObject.z.number()
|
|
3403
|
-
]),
|
|
3404
|
-
stage: external_zod_namespaceObject.z.nativeEnum(PropertyStage),
|
|
3405
|
-
status: external_zod_namespaceObject.z.nativeEnum(PropertyRestResStatus),
|
|
3406
4087
|
mtaId: external_zod_namespaceObject.z.string(),
|
|
4088
|
+
paymentProviderId: external_zod_namespaceObject.z.string(),
|
|
4089
|
+
bankAccountId: external_zod_namespaceObject.z.string(),
|
|
4090
|
+
account: external_zod_namespaceObject.z.string(),
|
|
4091
|
+
floatAccount: external_zod_namespaceObject.z.string().nullable(),
|
|
4092
|
+
status: external_zod_namespaceObject.z.string(),
|
|
3407
4093
|
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3408
4094
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3409
|
-
|
|
3410
|
-
|
|
4095
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
4096
|
+
});
|
|
4097
|
+
const mtaPaymentMethodRestResSchema = mtaPaymentMethodEntitySchema.extend({
|
|
4098
|
+
paymentProvider: external_zod_namespaceObject.z.lazy(()=>paymentProviderEntitySchema).optional(),
|
|
4099
|
+
mta: external_zod_namespaceObject.z.lazy(()=>mtaEntitySchema).optional(),
|
|
4100
|
+
account: external_zod_namespaceObject.z.string().transform((val)=>{
|
|
4101
|
+
if ('string' == typeof val) return JSON.parse(val);
|
|
4102
|
+
return val;
|
|
4103
|
+
}).pipe(mtaPaymentMethodAccountConfigSchema),
|
|
4104
|
+
floatAccount: external_zod_namespaceObject.z.string().nullable().transform((val)=>{
|
|
4105
|
+
if ('string' == typeof val) return JSON.parse(val);
|
|
4106
|
+
return val;
|
|
4107
|
+
}).pipe(mtaPaymentMethodFloatAccountConfigSchema).nullish()
|
|
4108
|
+
});
|
|
4109
|
+
const mtaReconciliationEntitySchema = external_zod_namespaceObject.z.object({
|
|
4110
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
4111
|
+
mtaAccountPeriodId: external_zod_namespaceObject.z.string(),
|
|
4112
|
+
mtaId: external_zod_namespaceObject.z.string(),
|
|
4113
|
+
closingBalanceCents: external_zod_namespaceObject.z.bigint().nullable(),
|
|
4114
|
+
reconciledTo: external_zod_namespaceObject.z.coerce.date(),
|
|
4115
|
+
reconciledAmountCents: external_zod_namespaceObject.z.bigint().nullable(),
|
|
4116
|
+
unreconciledAmountCents: external_zod_namespaceObject.z.bigint().nullable(),
|
|
4117
|
+
totalReconciledAmountCents: external_zod_namespaceObject.z.bigint().nullable(),
|
|
4118
|
+
bankStatementBalanceCents: external_zod_namespaceObject.z.bigint(),
|
|
4119
|
+
closingVarianceCents: external_zod_namespaceObject.z.bigint().nullable(),
|
|
4120
|
+
closedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
4121
|
+
createdBy: external_zod_namespaceObject.z.string(),
|
|
4122
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4123
|
+
updatedBy: external_zod_namespaceObject.z.string().nullable(),
|
|
4124
|
+
closedBy: external_zod_namespaceObject.z.string().nullable(),
|
|
4125
|
+
editable: external_zod_namespaceObject.z.boolean(),
|
|
4126
|
+
status: external_zod_namespaceObject.z.string(),
|
|
4127
|
+
isArchived: external_zod_namespaceObject.z.boolean()
|
|
3411
4128
|
});
|
|
3412
|
-
const
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
4129
|
+
const mtaReconciliationRestResSchema = mtaReconciliationEntitySchema.extend({
|
|
4130
|
+
closingBalanceCents: centsToDollarsSchema.nullish(),
|
|
4131
|
+
bankStatementBalanceCents: centsToDollarsSchema,
|
|
4132
|
+
closingVarianceCents: centsToDollarsSchema.nullish(),
|
|
4133
|
+
currentTrustBalanceCents: centsToDollarsSchema.nullish(),
|
|
4134
|
+
currentReconciledBalanceCents: centsToDollarsSchema.nullish(),
|
|
4135
|
+
currentVarianceCents: centsToDollarsSchema.nullish()
|
|
4136
|
+
});
|
|
4137
|
+
const mtaRestResBaseSchema = mtaEntitySchema.extend({
|
|
4138
|
+
stateCode: stateCodeSchema,
|
|
4139
|
+
bankCode: bankCodeSchema,
|
|
4140
|
+
accountNumber: accountNumberMaskedSchema,
|
|
4141
|
+
bsb: accountBsbMaskedSchema,
|
|
4142
|
+
balanceCents: centsToDollarsSchema
|
|
4143
|
+
});
|
|
4144
|
+
const mtaRestResSchema = mtaRestResBaseSchema.extend({
|
|
4145
|
+
paymentMethods: external_zod_namespaceObject.z.lazy(()=>external_zod_namespaceObject.z.array(mtaPaymentMethodRestResSchema)).optional(),
|
|
4146
|
+
accountPeriods: external_zod_namespaceObject.z.lazy(()=>mtaAccountPeriodEntitySchema.array().optional())
|
|
4147
|
+
});
|
|
4148
|
+
const mtaListItemRestResSchema = mtaRestResBaseSchema.extend({
|
|
4149
|
+
currentReconciliation: external_zod_namespaceObject.z.lazy(()=>mtaReconciliationRestResSchema).nullish()
|
|
4150
|
+
});
|
|
4151
|
+
const updateMtaRestReqSchema = external_zod_namespaceObject.z.object({
|
|
4152
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
4153
|
+
name: external_zod_namespaceObject.z.string().trim().min(1)
|
|
3425
4154
|
}).strip();
|
|
3426
|
-
const
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
4155
|
+
const mtaAccountPeriodCloseRestReqSchema = external_zod_namespaceObject.z.object({
|
|
4156
|
+
mtaId: external_zod_namespaceObject.z.string().uuid(),
|
|
4157
|
+
mtaAccountPeriodId: external_zod_namespaceObject.z.string().uuid(),
|
|
4158
|
+
endDate: external_zod_namespaceObject.z.union([
|
|
4159
|
+
external_zod_namespaceObject.z.string(),
|
|
4160
|
+
external_zod_namespaceObject.z.date()
|
|
4161
|
+
]).transform((date)=>external_dayjs_default()(date).endOf('day').toDate()).pipe(external_zod_namespaceObject.z.date()),
|
|
4162
|
+
closingDescription: external_zod_namespaceObject.z.string().optional()
|
|
3434
4163
|
});
|
|
3435
|
-
const
|
|
4164
|
+
const mtaAccountPeriodRestResBaseSchema = mtaAccountPeriodEntitySchema.extend({
|
|
4165
|
+
openingBalanceCents: centsToDollarsSchema,
|
|
4166
|
+
closingBalanceCents: centsToDollarsSchema.nullish(),
|
|
4167
|
+
reconciledAmountCents: centsToDollarsSchema.nullish(),
|
|
4168
|
+
totalReconciledAmountCents: centsToDollarsSchema.nullish(),
|
|
4169
|
+
unreconciledAmountCents: centsToDollarsSchema.nullish(),
|
|
4170
|
+
status: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(account_period_constant_AccountPeriodStatus))
|
|
4171
|
+
});
|
|
4172
|
+
const mtaAccountPeriodRestResSchema = mtaAccountPeriodRestResBaseSchema.extend({
|
|
4173
|
+
mta: external_zod_namespaceObject.z.lazy(()=>mtaRestResSchema).optional()
|
|
4174
|
+
});
|
|
4175
|
+
const mtaClosedAccountPeriodRestResSchema = mtaAccountPeriodEntitySchema.extend({
|
|
4176
|
+
currentReconciliation: external_zod_namespaceObject.z.lazy(()=>mtaReconciliationRestResSchema).nullish()
|
|
4177
|
+
});
|
|
4178
|
+
const mtaReconciledTransactionEntitySchema = external_zod_namespaceObject.z.object({
|
|
3436
4179
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
inputType: external_zod_namespaceObject.z.string(),
|
|
3442
|
-
transactionType: external_zod_namespaceObject.z.string(),
|
|
3443
|
-
creditAmountCents: external_zod_namespaceObject.z.bigint(),
|
|
3444
|
-
debitAmountCents: external_zod_namespaceObject.z.bigint(),
|
|
3445
|
-
balanceCents: external_zod_namespaceObject.z.bigint(),
|
|
3446
|
-
bankRef: external_zod_namespaceObject.z.string().nullable(),
|
|
3447
|
-
description: external_zod_namespaceObject.z.string().nullable(),
|
|
4180
|
+
mtaTransactionId: external_zod_namespaceObject.z.string(),
|
|
4181
|
+
accountPeriodId: external_zod_namespaceObject.z.string().nullable(),
|
|
4182
|
+
reconciledByReconciliationId: external_zod_namespaceObject.z.string(),
|
|
4183
|
+
reconciledAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3448
4184
|
status: external_zod_namespaceObject.z.string(),
|
|
3449
|
-
isRefunded: external_zod_namespaceObject.z.boolean(),
|
|
3450
|
-
isCanceled: external_zod_namespaceObject.z.boolean(),
|
|
3451
4185
|
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3452
|
-
|
|
4186
|
+
createdBy: external_zod_namespaceObject.z.string(),
|
|
3453
4187
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3454
|
-
|
|
3455
|
-
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3456
|
-
note: external_zod_namespaceObject.z.string().nullable(),
|
|
3457
|
-
sourceTransactionId: external_zod_namespaceObject.z.string().nullable(),
|
|
3458
|
-
cancelType: external_zod_namespaceObject.z.string().nullable(),
|
|
3459
|
-
canceledBy: external_zod_namespaceObject.z.string().nullable(),
|
|
3460
|
-
canceledAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
3461
|
-
canceledReason: external_zod_namespaceObject.z.string().nullable(),
|
|
3462
|
-
createdBy: external_zod_namespaceObject.z.string().uuid().nullable()
|
|
4188
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3463
4189
|
});
|
|
3464
|
-
const
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
4190
|
+
const mtaReconciledTransactionRestResSchema = mtaReconciledTransactionEntitySchema.extend({
|
|
4191
|
+
mtaTransaction: external_zod_namespaceObject.z.lazy(()=>mtaTransactionRestResSchema).optional(),
|
|
4192
|
+
accountPeriod: external_zod_namespaceObject.z.lazy(()=>mtaAccountPeriodRestResSchema).optional()
|
|
4193
|
+
});
|
|
4194
|
+
const mtaTransactionRestResBaseSchema = mtaTransactionEntitySchema.extend({
|
|
4195
|
+
creditAmountCents: centsToDollarsSchema,
|
|
4196
|
+
debitAmountCents: centsToDollarsSchema,
|
|
4197
|
+
balanceCents: centsToDollarsSchema,
|
|
4198
|
+
inputType: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(mta_input_type_constant_MtaTransactionInputType)),
|
|
4199
|
+
transactionType: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(MtaTransactionType)),
|
|
4200
|
+
status: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(common_status_constant_AccountingCommonStatus)),
|
|
4201
|
+
createdBy: external_zod_namespaceObject.z.union([
|
|
4202
|
+
external_zod_namespaceObject.z.string().uuid(),
|
|
4203
|
+
userRestResSchema
|
|
4204
|
+
]).nullish(),
|
|
4205
|
+
canceledBy: external_zod_namespaceObject.z.union([
|
|
4206
|
+
external_zod_namespaceObject.z.string().uuid(),
|
|
4207
|
+
userRestResSchema
|
|
4208
|
+
]).nullish(),
|
|
4209
|
+
property: external_zod_namespaceObject.z.lazy(()=>propertyNestedEntitySchema.omit({
|
|
4210
|
+
cma: true,
|
|
3483
4211
|
mta: true,
|
|
3484
|
-
|
|
3485
|
-
|
|
4212
|
+
cmaTransactions: true,
|
|
4213
|
+
mtaTransactions: true
|
|
4214
|
+
})).nullish()
|
|
3486
4215
|
});
|
|
3487
|
-
const mtaTransactionRestResSchema =
|
|
4216
|
+
const mtaTransactionRestResSchema = mtaTransactionRestResBaseSchema.extend({
|
|
3488
4217
|
mta: external_zod_namespaceObject.z.lazy(()=>mtaRestResSchema).nullish(),
|
|
3489
4218
|
sourceTransaction: external_zod_namespaceObject.z.lazy(()=>mtaTransactionRestResSchema).nullish(),
|
|
3490
4219
|
subsequentTransactions: external_zod_namespaceObject.z.lazy(()=>mtaTransactionRestResSchema.array()).nullish(),
|
|
@@ -3590,17 +4319,14 @@ var __webpack_exports__ = {};
|
|
|
3590
4319
|
external_zod_namespaceObject.z.string(),
|
|
3591
4320
|
external_zod_namespaceObject.z.date()
|
|
3592
4321
|
]).transform((arg)=>external_dayjs_default()(arg).endOf('day').toDate()),
|
|
3593
|
-
bankStatementBalanceCents:
|
|
4322
|
+
bankStatementBalanceCents: dollarsToCentsSchema,
|
|
3594
4323
|
lastUpdatedAt: external_zod_namespaceObject.z.union([
|
|
3595
4324
|
external_zod_namespaceObject.z.string().datetime(),
|
|
3596
4325
|
external_zod_namespaceObject.z.date()
|
|
3597
4326
|
]).pipe(external_zod_namespaceObject.z.coerce.date())
|
|
3598
4327
|
});
|
|
3599
4328
|
const createMtaReconciliationRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3600
|
-
bankStatementBalanceCents:
|
|
3601
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3602
|
-
external_zod_namespaceObject.z.number()
|
|
3603
|
-
]).transform((arg)=>100n * BigInt(arg)).pipe(external_zod_namespaceObject.z.bigint()),
|
|
4329
|
+
bankStatementBalanceCents: dollarsToCentsSchema,
|
|
3604
4330
|
reconciledTo: external_zod_namespaceObject.z.union([
|
|
3605
4331
|
external_zod_namespaceObject.z.string(),
|
|
3606
4332
|
external_zod_namespaceObject.z.date()
|
|
@@ -3609,10 +4335,7 @@ var __webpack_exports__ = {};
|
|
|
3609
4335
|
});
|
|
3610
4336
|
const updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3611
4337
|
mtaReconciliationId: external_zod_namespaceObject.z.string().uuid(),
|
|
3612
|
-
bankStatementBalanceCents:
|
|
3613
|
-
external_zod_namespaceObject.z.number(),
|
|
3614
|
-
external_zod_namespaceObject.z.bigint()
|
|
3615
|
-
]).transform((arg)=>'bigint' == typeof arg ? arg : 100n * BigInt(arg)).pipe(external_zod_namespaceObject.z.bigint())
|
|
4338
|
+
bankStatementBalanceCents: dollarsToCentsSchema
|
|
3616
4339
|
});
|
|
3617
4340
|
const assignUnknownReceiptToPropertyRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3618
4341
|
mtaTransactionId: external_zod_namespaceObject.z.string().uuid(),
|
|
@@ -3631,7 +4354,7 @@ var __webpack_exports__ = {};
|
|
|
3631
4354
|
});
|
|
3632
4355
|
const createMtaTransactionRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3633
4356
|
amount: external_zod_namespaceObject.z.number().positive().transform((val)=>100n * BigInt(val)).pipe(external_zod_namespaceObject.z.bigint()),
|
|
3634
|
-
clearedAt: external_zod_namespaceObject.z.coerce.date()
|
|
4357
|
+
clearedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3635
4358
|
description: external_zod_namespaceObject.z.string().transform((val)=>val.trim()),
|
|
3636
4359
|
inputType: external_zod_namespaceObject.z.nativeEnum(mta_input_type_constant_MtaTransactionInputType),
|
|
3637
4360
|
transactionType: external_zod_namespaceObject.z.nativeEnum(MtaTransactionType),
|
|
@@ -3663,79 +4386,97 @@ var __webpack_exports__ = {};
|
|
|
3663
4386
|
reconciliationId: external_zod_namespaceObject.z.string().uuid(),
|
|
3664
4387
|
action: external_zod_namespaceObject.z.nativeEnum(reconcile_transaction_action_constant_ReconcileTransactionAction)
|
|
3665
4388
|
});
|
|
3666
|
-
const
|
|
3667
|
-
sourceAccountId: external_zod_namespaceObject.z.string(),
|
|
3668
|
-
transactionType: external_zod_namespaceObject.z.string(),
|
|
3669
|
-
creditAmountCents: external_zod_namespaceObject.z.union([
|
|
3670
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3671
|
-
external_zod_namespaceObject.z.number(),
|
|
3672
|
-
external_zod_namespaceObject.z.string().regex(/^\d+$/).transform((val)=>BigInt(val))
|
|
3673
|
-
]),
|
|
3674
|
-
debitAmountCents: external_zod_namespaceObject.z.union([
|
|
3675
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3676
|
-
external_zod_namespaceObject.z.number(),
|
|
3677
|
-
external_zod_namespaceObject.z.string().regex(/^\d+$/).transform((val)=>BigInt(val))
|
|
3678
|
-
]),
|
|
3679
|
-
description: external_zod_namespaceObject.z.string().nullable().optional()
|
|
3680
|
-
}).catchall(external_zod_namespaceObject.z.unknown());
|
|
3681
|
-
const payoutTargetDetailsSchema = external_zod_namespaceObject.z.object({
|
|
3682
|
-
toAccountId: external_zod_namespaceObject.z.string(),
|
|
3683
|
-
toAccountType: external_zod_namespaceObject.z.string(),
|
|
3684
|
-
propertyId: external_zod_namespaceObject.z.string().nullable().optional(),
|
|
3685
|
-
creditAmountCents: external_zod_namespaceObject.z.union([
|
|
3686
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3687
|
-
external_zod_namespaceObject.z.number()
|
|
3688
|
-
]),
|
|
3689
|
-
debitAmountCents: external_zod_namespaceObject.z.union([
|
|
3690
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3691
|
-
external_zod_namespaceObject.z.number()
|
|
3692
|
-
]),
|
|
3693
|
-
description: external_zod_namespaceObject.z.string().optional(),
|
|
3694
|
-
createdBy: external_zod_namespaceObject.z.string().nullable().optional()
|
|
3695
|
-
}).catchall(external_zod_namespaceObject.z.unknown());
|
|
3696
|
-
const provisionDetailsSchema = external_zod_namespaceObject.z.object({
|
|
3697
|
-
sourceDetails: payoutSourceDetailsSchema,
|
|
3698
|
-
targetDetails: external_zod_namespaceObject.z.array(payoutTargetDetailsSchema)
|
|
3699
|
-
});
|
|
3700
|
-
const payoutEntitySchema = external_zod_namespaceObject.z.object({
|
|
3701
|
-
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3702
|
-
sequence: external_zod_namespaceObject.z.number().int(),
|
|
3703
|
-
payoutType: external_zod_namespaceObject.z.string(),
|
|
3704
|
-
sourceAccountType: external_zod_namespaceObject.z.string(),
|
|
3705
|
-
sourceAccountId: external_zod_namespaceObject.z.string(),
|
|
3706
|
-
amountCents: external_zod_namespaceObject.z.union([
|
|
3707
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3708
|
-
external_zod_namespaceObject.z.number()
|
|
3709
|
-
]),
|
|
3710
|
-
status: external_zod_namespaceObject.z.string(),
|
|
3711
|
-
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3712
|
-
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3713
|
-
createdBy: external_zod_namespaceObject.z.string(),
|
|
3714
|
-
updatedBy: external_zod_namespaceObject.z.string().nullable(),
|
|
3715
|
-
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3716
|
-
provisionDetails: provisionDetailsSchema
|
|
3717
|
-
}).strip();
|
|
3718
|
-
const payoutTransactionSchema = external_zod_namespaceObject.z.object({
|
|
4389
|
+
const cancelPayoutRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3719
4390
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
4391
|
+
reason: external_zod_namespaceObject.z.string().trim().min(1)
|
|
4392
|
+
});
|
|
4393
|
+
const confirmBankFileProcessedRestReqSchema = external_zod_namespaceObject.z.object({
|
|
4394
|
+
payoutId: external_zod_namespaceObject.z.string().uuid(),
|
|
4395
|
+
bankRef: external_zod_namespaceObject.z.string().nullish(),
|
|
4396
|
+
description: external_zod_namespaceObject.z.string().nullish(),
|
|
4397
|
+
clearedAt: external_zod_namespaceObject.z.coerce.date()
|
|
4398
|
+
});
|
|
4399
|
+
const createMtaToCmaPayoutRestReqSchema = external_zod_namespaceObject.z.object({
|
|
4400
|
+
payoutType: external_zod_namespaceObject.z.literal(PayoutType.TRUST_TO_CMA_PAYOUT),
|
|
4401
|
+
payoutSourceAccountType: external_zod_namespaceObject.z.literal(payout_constant_PayoutSourceAccountType.MTA),
|
|
4402
|
+
bankRef: external_zod_namespaceObject.z.string(),
|
|
4403
|
+
description: external_zod_namespaceObject.z.string().trim().min(1),
|
|
4404
|
+
mtaId: external_zod_namespaceObject.z.string().uuid(),
|
|
4405
|
+
targetDetails: external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.object({
|
|
4406
|
+
cmaId: external_zod_namespaceObject.z.string().uuid(),
|
|
4407
|
+
propertyId: external_zod_namespaceObject.z.string().uuid(),
|
|
4408
|
+
creditAmountCents: external_zod_namespaceObject.z.number().gt(0).transform(fromDollarsToCents).pipe(external_zod_namespaceObject.z.bigint()),
|
|
4409
|
+
description: external_zod_namespaceObject.z.string().trim().min(1),
|
|
4410
|
+
bankRef: external_zod_namespaceObject.z.string()
|
|
4411
|
+
})).min(1)
|
|
4412
|
+
});
|
|
4413
|
+
const payoutSourceDetailsRestResBaseSchema = payoutSourceDetailsEntitySchema.extend({
|
|
4414
|
+
debitAmountCents: centsToDollarsSchema,
|
|
4415
|
+
sourceBsb: accountBsbMaskedSchema,
|
|
4416
|
+
sourceAccountType: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(payout_constant_PayoutSourceAccountType)),
|
|
4417
|
+
sourceAccountId: external_zod_namespaceObject.z.string().uuid(),
|
|
4418
|
+
sourceAccountName: external_zod_namespaceObject.z.string(),
|
|
4419
|
+
sourceAccountNumber: accountNumberMaskedSchema,
|
|
4420
|
+
sourceAccountStateCode: stateCodeSchema,
|
|
4421
|
+
sourceAccountBankCode: bankCodeSchema,
|
|
4422
|
+
sequence: external_zod_namespaceObject.z.number().nullish()
|
|
4423
|
+
}).passthrough();
|
|
4424
|
+
const payoutMtaSourceDetailsRestSchema = payoutSourceDetailsRestResBaseSchema.extend({
|
|
4425
|
+
sourceAccountType: external_zod_namespaceObject.z.literal(payout_constant_PayoutSourceAccountType.MTA),
|
|
4426
|
+
transaction: mtaTransactionRestResSchema.nullish()
|
|
4427
|
+
}).passthrough();
|
|
4428
|
+
const payoutCmaSourceDetailsRestSchema = payoutSourceDetailsRestResBaseSchema.extend({
|
|
4429
|
+
sourceAccountType: external_zod_namespaceObject.z.literal(payout_constant_PayoutSourceAccountType.CMA),
|
|
4430
|
+
transaction: external_zod_namespaceObject.z.lazy(()=>cmaTransactionRestResSchema).nullish()
|
|
4431
|
+
}).passthrough();
|
|
4432
|
+
const payoutSourceDetailsRestSchema = external_zod_namespaceObject.z.discriminatedUnion('sourceAccountType', [
|
|
4433
|
+
payoutMtaSourceDetailsRestSchema,
|
|
4434
|
+
payoutCmaSourceDetailsRestSchema
|
|
4435
|
+
]);
|
|
4436
|
+
const payoutTargetDetailsRestResBaseSchema = payoutTargetDetailsBaseEntitySchema.extend({
|
|
4437
|
+
creditAmountCents: centsToDollarsSchema,
|
|
4438
|
+
targetBsb: accountBsbMaskedSchema,
|
|
4439
|
+
targetAccountNumber: accountNumberMaskedSchema,
|
|
4440
|
+
targetAccountType: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(payout_constant_PayoutTargetAccountType)),
|
|
4441
|
+
sequence: external_zod_namespaceObject.z.number().nullish(),
|
|
4442
|
+
bankRef: external_zod_namespaceObject.z.string().nullish(),
|
|
4443
|
+
description: external_zod_namespaceObject.z.string().nullish()
|
|
4444
|
+
}).passthrough();
|
|
4445
|
+
const payoutCmaTargetDetailsRestSchema = payoutTargetDetailsRestResBaseSchema.extend({
|
|
4446
|
+
targetAccountType: external_zod_namespaceObject.z.literal(payout_constant_PayoutTargetAccountType.CMA),
|
|
4447
|
+
transaction: external_zod_namespaceObject.z.lazy(()=>cmaTransactionRestResSchema).nullish(),
|
|
4448
|
+
targetAccountId: external_zod_namespaceObject.z.string().uuid(),
|
|
4449
|
+
cma: external_zod_namespaceObject.z.lazy(()=>cmaRestResSchema)
|
|
4450
|
+
}).passthrough();
|
|
4451
|
+
const payoutOtherTargetDetailsRestSchema = payoutTargetDetailsRestResBaseSchema.extend({
|
|
4452
|
+
targetAccountType: external_zod_namespaceObject.z.literal(payout_constant_PayoutTargetAccountType.OTHER)
|
|
4453
|
+
}).passthrough();
|
|
4454
|
+
const payoutTargetDetailsRestSchema = external_zod_namespaceObject.z.discriminatedUnion('targetAccountType', [
|
|
4455
|
+
payoutCmaTargetDetailsRestSchema,
|
|
4456
|
+
payoutOtherTargetDetailsRestSchema
|
|
4457
|
+
]);
|
|
4458
|
+
const payoutSearchRestReqSchema = external_zod_namespaceObject.z.object({
|
|
4459
|
+
payoutType: external_zod_namespaceObject.z.union([
|
|
4460
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4461
|
+
external_zod_namespaceObject.z.string()
|
|
4462
|
+
]).optional(),
|
|
4463
|
+
provisionDetails: external_zod_namespaceObject.z.lazy(()=>JsonNullableFilterSchema).optional(),
|
|
4464
|
+
sourceAccountId: external_zod_namespaceObject.z.union([
|
|
4465
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4466
|
+
external_zod_namespaceObject.z.string()
|
|
4467
|
+
]).optional(),
|
|
4468
|
+
sourceAccountType: external_zod_namespaceObject.z.union([
|
|
4469
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4470
|
+
external_zod_namespaceObject.z.string()
|
|
4471
|
+
]).optional(),
|
|
4472
|
+
status: external_zod_namespaceObject.z.union([
|
|
4473
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4474
|
+
external_zod_namespaceObject.z.string()
|
|
4475
|
+
]).optional()
|
|
4476
|
+
});
|
|
4477
|
+
const payoutStatusSummaryRestResSchema = external_zod_namespaceObject.z.object({
|
|
4478
|
+
status: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(PayoutStatus)),
|
|
4479
|
+
count: external_zod_namespaceObject.z.number()
|
|
3739
4480
|
});
|
|
3740
4481
|
const basePayoutItemShape = external_zod_namespaceObject.z.object({
|
|
3741
4482
|
propertyId: external_zod_namespaceObject.z.string().optional().nullable(),
|
|
@@ -3759,15 +4500,7 @@ var __webpack_exports__ = {};
|
|
|
3759
4500
|
external_zod_namespaceObject.z.number(),
|
|
3760
4501
|
external_zod_namespaceObject.z.bigint()
|
|
3761
4502
|
]).transform((arg)=>Math.round(100 * Number(arg))).transform((arg)=>BigInt(arg)).pipe(external_zod_namespaceObject.z.bigint()),
|
|
3762
|
-
payoutItems: external_zod_namespaceObject.z.array(payoutItemReqSchema)
|
|
3763
|
-
}).strip();
|
|
3764
|
-
const payoutRestResSchema = external_zod_namespaceObject.z.object({
|
|
3765
|
-
totalFromAccountUpdatedNumber: external_zod_namespaceObject.z.number().int().nonnegative(),
|
|
3766
|
-
totalToAccountUpdatedNumber: external_zod_namespaceObject.z.number().int().nonnegative(),
|
|
3767
|
-
totalAmount: external_zod_namespaceObject.z.union([
|
|
3768
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3769
|
-
external_zod_namespaceObject.z.number()
|
|
3770
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number())
|
|
4503
|
+
payoutItems: external_zod_namespaceObject.z.lazy(()=>external_zod_namespaceObject.z.array(payoutItemReqSchema))
|
|
3771
4504
|
}).strip();
|
|
3772
4505
|
const payoutListRestResSchema = payoutEntitySchema.extend({
|
|
3773
4506
|
payoutType: external_zod_namespaceObject.z.string(),
|
|
@@ -3782,6 +4515,86 @@ var __webpack_exports__ = {};
|
|
|
3782
4515
|
abaStatus: external_zod_namespaceObject.z.string(),
|
|
3783
4516
|
status: external_zod_namespaceObject.z.string()
|
|
3784
4517
|
}).strip();
|
|
4518
|
+
const payoutBankFileDownloadHistoryEntitySchema = external_zod_namespaceObject.z.object({
|
|
4519
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
4520
|
+
payoutId: external_zod_namespaceObject.z.string(),
|
|
4521
|
+
bankFileId: external_zod_namespaceObject.z.string(),
|
|
4522
|
+
fileName: external_zod_namespaceObject.z.string(),
|
|
4523
|
+
downloadedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4524
|
+
downloadedBy: external_zod_namespaceObject.z.string(),
|
|
4525
|
+
downloader: external_zod_namespaceObject.z.lazy(()=>userEntitySchema).nullish()
|
|
4526
|
+
});
|
|
4527
|
+
const payoutBankFileEntitySchema = external_zod_namespaceObject.z.object({
|
|
4528
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
4529
|
+
payoutId: external_zod_namespaceObject.z.string(),
|
|
4530
|
+
sequence: external_zod_namespaceObject.z.number().int(),
|
|
4531
|
+
fileContent: external_zod_namespaceObject.z.string(),
|
|
4532
|
+
payoutProvsionDetailBackup: external_zod_namespaceObject.z.any().nullable(),
|
|
4533
|
+
status: external_zod_namespaceObject.z.string(),
|
|
4534
|
+
firstDownloadedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
4535
|
+
lastDonwloadAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
4536
|
+
lastDonwloadBy: external_zod_namespaceObject.z.string().nullable(),
|
|
4537
|
+
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
4538
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4539
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4540
|
+
createdBy: external_zod_namespaceObject.z.string()
|
|
4541
|
+
});
|
|
4542
|
+
const payoutBankFileRestResSchema = payoutBankFileEntitySchema.omit({
|
|
4543
|
+
payoutProvsionDetailBackup: true,
|
|
4544
|
+
fileContent: true
|
|
4545
|
+
}).extend({
|
|
4546
|
+
status: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(PayoutBankFileStatus)),
|
|
4547
|
+
creator: external_zod_namespaceObject.z.lazy(()=>userEntitySchema).nullish(),
|
|
4548
|
+
lastDownloader: external_zod_namespaceObject.z.lazy(()=>userEntitySchema).nullish(),
|
|
4549
|
+
fileDownloadHistories: external_zod_namespaceObject.z.lazy(()=>payoutBankFileDownloadHistoryEntitySchema).array().nullish()
|
|
4550
|
+
});
|
|
4551
|
+
const payoutTransactionEntitySchema = external_zod_namespaceObject.z.object({
|
|
4552
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
4553
|
+
sequence: external_zod_namespaceObject.z.number().int(),
|
|
4554
|
+
payoutId: external_zod_namespaceObject.z.string(),
|
|
4555
|
+
mtaTransactionId: external_zod_namespaceObject.z.string().nullable(),
|
|
4556
|
+
cmaTransactionId: external_zod_namespaceObject.z.string().nullable(),
|
|
4557
|
+
isCanceled: external_zod_namespaceObject.z.boolean(),
|
|
4558
|
+
canceledAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
4559
|
+
status: external_zod_namespaceObject.z.string(),
|
|
4560
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4561
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4562
|
+
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
4563
|
+
triggerDetails: external_zod_namespaceObject.z.string().nullable(),
|
|
4564
|
+
propertyId: external_zod_namespaceObject.z.string().nullable(),
|
|
4565
|
+
targetBsb: external_zod_namespaceObject.z.string().nullable(),
|
|
4566
|
+
targetAccountNumber: external_zod_namespaceObject.z.string().nullable(),
|
|
4567
|
+
targetAccountName: external_zod_namespaceObject.z.string().nullable(),
|
|
4568
|
+
targetAccountType: external_zod_namespaceObject.z.string().nullable(),
|
|
4569
|
+
amountCents: external_zod_namespaceObject.z.bigint(),
|
|
4570
|
+
bankRef: external_zod_namespaceObject.z.string().nullable(),
|
|
4571
|
+
description: external_zod_namespaceObject.z.string().nullable()
|
|
4572
|
+
});
|
|
4573
|
+
const payoutRestResBaseSchema = payoutEntitySchema.extend({
|
|
4574
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
4575
|
+
totalAmountCents: centsToDollarsSchema,
|
|
4576
|
+
payoutType: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(PayoutType)),
|
|
4577
|
+
sourceAccount: external_zod_namespaceObject.z.lazy(()=>payoutSourceDetailsRestSchema),
|
|
4578
|
+
targetAccounts: external_zod_namespaceObject.z.lazy(()=>payoutTargetDetailsRestSchema.array()),
|
|
4579
|
+
status: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(PayoutStatus)),
|
|
4580
|
+
createdBy: external_zod_namespaceObject.z.union([
|
|
4581
|
+
external_zod_namespaceObject.z.string().uuid(),
|
|
4582
|
+
userRestResSchema
|
|
4583
|
+
]).nullish(),
|
|
4584
|
+
cancelledBy: external_zod_namespaceObject.z.union([
|
|
4585
|
+
external_zod_namespaceObject.z.string().uuid(),
|
|
4586
|
+
userRestResSchema
|
|
4587
|
+
]).nullish(),
|
|
4588
|
+
provisionDetails: external_zod_namespaceObject.z.lazy(()=>payoutProvisionDataEntitySchema),
|
|
4589
|
+
transactions: external_zod_namespaceObject.z.lazy(()=>payoutTransactionEntitySchema.array()).nullish(),
|
|
4590
|
+
payoutBankFiles: external_zod_namespaceObject.z.lazy(()=>payoutBankFileRestResSchema.array()).nullish()
|
|
4591
|
+
});
|
|
4592
|
+
const payoutRestResSchema = payoutRestResBaseSchema;
|
|
4593
|
+
const payoutMtaToCmaRestResSchema = payoutRestResBaseSchema.extend({
|
|
4594
|
+
payoutType: external_zod_namespaceObject.z.literal(PayoutType.TRUST_TO_CMA_PAYOUT),
|
|
4595
|
+
sourceAccount: external_zod_namespaceObject.z.lazy(()=>payoutMtaSourceDetailsRestSchema),
|
|
4596
|
+
targetAccounts: external_zod_namespaceObject.z.lazy(()=>payoutCmaTargetDetailsRestSchema.array())
|
|
4597
|
+
});
|
|
3785
4598
|
const payoutPaymentItemSchema = external_zod_namespaceObject.z.object({
|
|
3786
4599
|
propertyId: external_zod_namespaceObject.z.string().uuid(),
|
|
3787
4600
|
propertyName: external_zod_namespaceObject.z.string(),
|
|
@@ -3799,6 +4612,78 @@ var __webpack_exports__ = {};
|
|
|
3799
4612
|
mta: external_zod_namespaceObject.z.lazy(()=>mtaEntitySchema).optional().nullable(),
|
|
3800
4613
|
paymentList: external_zod_namespaceObject.z.array(payoutPaymentItemSchema).optional()
|
|
3801
4614
|
});
|
|
4615
|
+
const propertyRestResBaseSchema = propertyEntitySchema.extend({
|
|
4616
|
+
balanceCents: centsToDollarsSchema,
|
|
4617
|
+
cmaBalanceCents: centsToDollarsSchema,
|
|
4618
|
+
mtaBalanceCents: centsToDollarsSchema
|
|
4619
|
+
});
|
|
4620
|
+
const propertyRestResSchema = propertyRestResBaseSchema.extend({
|
|
4621
|
+
customer: customerEntitySchema.nullish(),
|
|
4622
|
+
project: projectNestedEntitySchema.nullish(),
|
|
4623
|
+
mta: mtaRestResBaseSchema.nullish(),
|
|
4624
|
+
cma: cmaRestResBaseSchema.nullish(),
|
|
4625
|
+
cmaTransactions: cmaTransactionRestResSchema.array().nullish(),
|
|
4626
|
+
mtaTransactions: mtaTransactionRestResSchema.array().nullish()
|
|
4627
|
+
});
|
|
4628
|
+
const payoutTransactionRestResSchema = payoutTransactionEntitySchema.extend({
|
|
4629
|
+
property: external_zod_namespaceObject.z.lazy(()=>propertyRestResSchema).nullish(),
|
|
4630
|
+
cmaTransaction: external_zod_namespaceObject.z.lazy(()=>cmaTransactionEntitySchema.passthrough()).pipe(cmaTransactionRestResSchema).nullish(),
|
|
4631
|
+
mtaTransaction: external_zod_namespaceObject.z.lazy(()=>mtaTransactionEntitySchema.passthrough()).pipe(mtaTransactionRestResSchema).nullish(),
|
|
4632
|
+
cma: external_zod_namespaceObject.z.lazy(()=>cmaEntitySchema.passthrough()).pipe(cmaRestResSchema.omit({
|
|
4633
|
+
property: true
|
|
4634
|
+
})).nullish(),
|
|
4635
|
+
mta: external_zod_namespaceObject.z.lazy(()=>mtaEntitySchema.passthrough()).pipe(mtaRestResSchema.omit({
|
|
4636
|
+
paymentMethods: true,
|
|
4637
|
+
accountPeriods: true
|
|
4638
|
+
})).nullish(),
|
|
4639
|
+
amountCents: external_zod_namespaceObject.z.union([
|
|
4640
|
+
external_zod_namespaceObject.z.number(),
|
|
4641
|
+
external_zod_namespaceObject.z.string(),
|
|
4642
|
+
external_zod_namespaceObject.z.bigint()
|
|
4643
|
+
]).transform(fromCentsToDollars).pipe(external_zod_namespaceObject.z.number())
|
|
4644
|
+
});
|
|
4645
|
+
const projectMtaAllocationEntitySchema = external_zod_namespaceObject.z.object({
|
|
4646
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
4647
|
+
projectId: external_zod_namespaceObject.z.string(),
|
|
4648
|
+
mtaId: external_zod_namespaceObject.z.string(),
|
|
4649
|
+
applyStatus: external_zod_namespaceObject.z.nativeEnum(ProjectMtaAllocationStatus),
|
|
4650
|
+
status: external_zod_namespaceObject.z.nativeEnum(common_status_constant_AccountingCommonStatus),
|
|
4651
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4652
|
+
approvedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
4653
|
+
approvedBy: external_zod_namespaceObject.z.string().nullable(),
|
|
4654
|
+
createdBy: external_zod_namespaceObject.z.string().nullable(),
|
|
4655
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4656
|
+
lastSyncedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
4657
|
+
syncStatus: external_zod_namespaceObject.z.nativeEnum(AccountingCommonSyncStatus).optional().nullish(),
|
|
4658
|
+
isArchived: external_zod_namespaceObject.z.boolean()
|
|
4659
|
+
});
|
|
4660
|
+
const projectMtaAllocationRestResSchema = projectMtaAllocationEntitySchema.extend({
|
|
4661
|
+
mta: external_zod_namespaceObject.z.lazy(()=>mtaRestResSchema.pick({
|
|
4662
|
+
id: true,
|
|
4663
|
+
name: true,
|
|
4664
|
+
stateCode: true,
|
|
4665
|
+
bankCode: true,
|
|
4666
|
+
accountNumber: true,
|
|
4667
|
+
bsb: true
|
|
4668
|
+
})),
|
|
4669
|
+
creator: external_zod_namespaceObject.z.lazy(()=>userEntitySchema.pick({
|
|
4670
|
+
id: true,
|
|
4671
|
+
firstName: true,
|
|
4672
|
+
lastName: true
|
|
4673
|
+
})),
|
|
4674
|
+
approver: external_zod_namespaceObject.z.lazy(()=>userEntitySchema.pick({
|
|
4675
|
+
id: true,
|
|
4676
|
+
firstName: true,
|
|
4677
|
+
lastName: true
|
|
4678
|
+
})).optional()
|
|
4679
|
+
});
|
|
4680
|
+
const projectRestResSchema = projectEntitySchema.extend({
|
|
4681
|
+
developer: external_zod_namespaceObject.z.lazy(()=>developerEntitySchema).optional().nullish(),
|
|
4682
|
+
mta: external_zod_namespaceObject.z.lazy(()=>mtaRestResSchema).optional().nullish(),
|
|
4683
|
+
mtaAllocations: external_zod_namespaceObject.z.lazy(()=>projectMtaAllocationRestResSchema.array()).optional().nullish(),
|
|
4684
|
+
applyStatus: external_zod_namespaceObject.z.nativeEnum(ProjectApplyStatusRestRes),
|
|
4685
|
+
state: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuStateCode)
|
|
4686
|
+
});
|
|
3802
4687
|
const allocateMtaToProjectRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3803
4688
|
projectId: external_zod_namespaceObject.z.string().uuid(),
|
|
3804
4689
|
mtaId: external_zod_namespaceObject.z.string().uuid()
|
|
@@ -3807,6 +4692,70 @@ var __webpack_exports__ = {};
|
|
|
3807
4692
|
projectId: external_zod_namespaceObject.z.string().uuid(),
|
|
3808
4693
|
projectMtaAllocationId: external_zod_namespaceObject.z.string().uuid()
|
|
3809
4694
|
});
|
|
4695
|
+
const balanceRestResSchema = external_zod_namespaceObject.z.object({
|
|
4696
|
+
debitAmountCents: external_zod_namespaceObject.z.union([
|
|
4697
|
+
external_zod_namespaceObject.z.bigint(),
|
|
4698
|
+
external_zod_namespaceObject.z.number()
|
|
4699
|
+
]).transform((val)=>fromCentsToDollars(val)).pipe(external_zod_namespaceObject.z.number().nullable()),
|
|
4700
|
+
creditAmountCents: external_zod_namespaceObject.z.union([
|
|
4701
|
+
external_zod_namespaceObject.z.bigint(),
|
|
4702
|
+
external_zod_namespaceObject.z.number()
|
|
4703
|
+
]).transform((val)=>fromCentsToDollars(val)).pipe(external_zod_namespaceObject.z.number().nullable()),
|
|
4704
|
+
balanceCents: external_zod_namespaceObject.z.union([
|
|
4705
|
+
external_zod_namespaceObject.z.bigint(),
|
|
4706
|
+
external_zod_namespaceObject.z.number()
|
|
4707
|
+
]).transform((val)=>fromCentsToDollars(val)).pipe(external_zod_namespaceObject.z.number().nullable())
|
|
4708
|
+
});
|
|
4709
|
+
const propertyAccountsBalanceRestResSchema = external_zod_namespaceObject.z.object({
|
|
4710
|
+
mta: external_zod_namespaceObject.z.lazy(()=>balanceRestResSchema),
|
|
4711
|
+
cma: external_zod_namespaceObject.z.lazy(()=>balanceRestResSchema)
|
|
4712
|
+
});
|
|
4713
|
+
const propertySearchRestReqSchema = external_zod_namespaceObject.z.object({
|
|
4714
|
+
customerId: external_zod_namespaceObject.z.union([
|
|
4715
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4716
|
+
external_zod_namespaceObject.z.string()
|
|
4717
|
+
]).optional(),
|
|
4718
|
+
projectId: external_zod_namespaceObject.z.union([
|
|
4719
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4720
|
+
external_zod_namespaceObject.z.string()
|
|
4721
|
+
]).optional(),
|
|
4722
|
+
buyerName: external_zod_namespaceObject.z.union([
|
|
4723
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4724
|
+
external_zod_namespaceObject.z.string()
|
|
4725
|
+
]).optional().nullable(),
|
|
4726
|
+
lotDetail: external_zod_namespaceObject.z.union([
|
|
4727
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4728
|
+
external_zod_namespaceObject.z.string()
|
|
4729
|
+
]).optional().nullable(),
|
|
4730
|
+
propertyAddress: external_zod_namespaceObject.z.union([
|
|
4731
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4732
|
+
external_zod_namespaceObject.z.string()
|
|
4733
|
+
]).optional(),
|
|
4734
|
+
stage: external_zod_namespaceObject.z.union([
|
|
4735
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4736
|
+
external_zod_namespaceObject.z.string()
|
|
4737
|
+
]).optional(),
|
|
4738
|
+
mtaId: external_zod_namespaceObject.z.union([
|
|
4739
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4740
|
+
external_zod_namespaceObject.z.string()
|
|
4741
|
+
]).optional(),
|
|
4742
|
+
mtaBalanceCents: external_zod_namespaceObject.z.union([
|
|
4743
|
+
external_zod_namespaceObject.z.lazy(()=>bigIntFilterSchema),
|
|
4744
|
+
external_zod_namespaceObject.z.bigint()
|
|
4745
|
+
]).optional(),
|
|
4746
|
+
cmaBalanceCents: external_zod_namespaceObject.z.union([
|
|
4747
|
+
external_zod_namespaceObject.z.lazy(()=>bigIntFilterSchema),
|
|
4748
|
+
external_zod_namespaceObject.z.bigint()
|
|
4749
|
+
]).optional(),
|
|
4750
|
+
balanceCents: external_zod_namespaceObject.z.union([
|
|
4751
|
+
external_zod_namespaceObject.z.lazy(()=>bigIntFilterSchema),
|
|
4752
|
+
external_zod_namespaceObject.z.bigint()
|
|
4753
|
+
]).optional(),
|
|
4754
|
+
status: external_zod_namespaceObject.z.union([
|
|
4755
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4756
|
+
external_zod_namespaceObject.z.string()
|
|
4757
|
+
]).optional()
|
|
4758
|
+
});
|
|
3810
4759
|
function bind(fn, thisArg) {
|
|
3811
4760
|
return function() {
|
|
3812
4761
|
return fn.apply(thisArg, arguments);
|
|
@@ -4126,7 +5075,7 @@ var __webpack_exports__ = {};
|
|
|
4126
5075
|
asap,
|
|
4127
5076
|
isIterable
|
|
4128
5077
|
};
|
|
4129
|
-
function
|
|
5078
|
+
function AxiosError_AxiosError(message, code, config, request, response) {
|
|
4130
5079
|
Error.call(this);
|
|
4131
5080
|
if (Error.captureStackTrace) Error.captureStackTrace(this, this.constructor);
|
|
4132
5081
|
else this.stack = new Error().stack;
|
|
@@ -4140,7 +5089,7 @@ var __webpack_exports__ = {};
|
|
|
4140
5089
|
this.status = response.status ? response.status : null;
|
|
4141
5090
|
}
|
|
4142
5091
|
}
|
|
4143
|
-
utils.inherits(
|
|
5092
|
+
utils.inherits(AxiosError_AxiosError, Error, {
|
|
4144
5093
|
toJSON: function() {
|
|
4145
5094
|
return {
|
|
4146
5095
|
message: this.message,
|
|
@@ -4157,7 +5106,7 @@ var __webpack_exports__ = {};
|
|
|
4157
5106
|
};
|
|
4158
5107
|
}
|
|
4159
5108
|
});
|
|
4160
|
-
const AxiosError_prototype =
|
|
5109
|
+
const AxiosError_prototype = AxiosError_AxiosError.prototype;
|
|
4161
5110
|
const AxiosError_descriptors = {};
|
|
4162
5111
|
[
|
|
4163
5112
|
'ERR_BAD_OPTION_VALUE',
|
|
@@ -4177,22 +5126,22 @@ var __webpack_exports__ = {};
|
|
|
4177
5126
|
value: code
|
|
4178
5127
|
};
|
|
4179
5128
|
});
|
|
4180
|
-
Object.defineProperties(
|
|
5129
|
+
Object.defineProperties(AxiosError_AxiosError, AxiosError_descriptors);
|
|
4181
5130
|
Object.defineProperty(AxiosError_prototype, 'isAxiosError', {
|
|
4182
5131
|
value: true
|
|
4183
5132
|
});
|
|
4184
|
-
|
|
5133
|
+
AxiosError_AxiosError.from = (error, code, config, request, response, customProps)=>{
|
|
4185
5134
|
const axiosError = Object.create(AxiosError_prototype);
|
|
4186
5135
|
utils.toFlatObject(error, axiosError, function(obj) {
|
|
4187
5136
|
return obj !== Error.prototype;
|
|
4188
5137
|
}, (prop)=>'isAxiosError' !== prop);
|
|
4189
|
-
|
|
5138
|
+
AxiosError_AxiosError.call(axiosError, error.message, code, config, request, response);
|
|
4190
5139
|
axiosError.cause = error;
|
|
4191
5140
|
axiosError.name = error.name;
|
|
4192
5141
|
customProps && Object.assign(axiosError, customProps);
|
|
4193
5142
|
return axiosError;
|
|
4194
5143
|
};
|
|
4195
|
-
const
|
|
5144
|
+
const AxiosError = AxiosError_AxiosError;
|
|
4196
5145
|
var form_data = __webpack_require__("./node_modules/.pnpm/form-data@4.0.2/node_modules/form-data/lib/form_data.js");
|
|
4197
5146
|
const classes_FormData = form_data;
|
|
4198
5147
|
function isVisitable(thing) {
|
|
@@ -4214,7 +5163,7 @@ var __webpack_exports__ = {};
|
|
|
4214
5163
|
const predicates = utils.toFlatObject(utils, {}, null, function(prop) {
|
|
4215
5164
|
return /^is[A-Z]/.test(prop);
|
|
4216
5165
|
});
|
|
4217
|
-
function
|
|
5166
|
+
function toFormData(obj, formData, options) {
|
|
4218
5167
|
if (!utils.isObject(obj)) throw new TypeError('target must be an object');
|
|
4219
5168
|
formData = formData || new (classes_FormData || FormData)();
|
|
4220
5169
|
options = utils.toFlatObject(options, {
|
|
@@ -4234,7 +5183,7 @@ var __webpack_exports__ = {};
|
|
|
4234
5183
|
function convertValue(value) {
|
|
4235
5184
|
if (null === value) return '';
|
|
4236
5185
|
if (utils.isDate(value)) return value.toISOString();
|
|
4237
|
-
if (!useBlob && utils.isBlob(value)) throw new
|
|
5186
|
+
if (!useBlob && utils.isBlob(value)) throw new AxiosError('Blob is not supported. Use a Buffer instead.');
|
|
4238
5187
|
if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) return useBlob && 'function' == typeof Blob ? new Blob([
|
|
4239
5188
|
value
|
|
4240
5189
|
]) : Buffer.from(value);
|
|
@@ -4282,7 +5231,7 @@ var __webpack_exports__ = {};
|
|
|
4282
5231
|
build(obj);
|
|
4283
5232
|
return formData;
|
|
4284
5233
|
}
|
|
4285
|
-
const
|
|
5234
|
+
const helpers_toFormData = toFormData;
|
|
4286
5235
|
function encode(str) {
|
|
4287
5236
|
const charMap = {
|
|
4288
5237
|
'!': '%21',
|
|
@@ -4297,11 +5246,11 @@ var __webpack_exports__ = {};
|
|
|
4297
5246
|
return charMap[match];
|
|
4298
5247
|
});
|
|
4299
5248
|
}
|
|
4300
|
-
function
|
|
5249
|
+
function AxiosURLSearchParams(params, options) {
|
|
4301
5250
|
this._pairs = [];
|
|
4302
|
-
params &&
|
|
5251
|
+
params && helpers_toFormData(params, this, options);
|
|
4303
5252
|
}
|
|
4304
|
-
const AxiosURLSearchParams_prototype =
|
|
5253
|
+
const AxiosURLSearchParams_prototype = AxiosURLSearchParams.prototype;
|
|
4305
5254
|
AxiosURLSearchParams_prototype.append = function(name, value) {
|
|
4306
5255
|
this._pairs.push([
|
|
4307
5256
|
name,
|
|
@@ -4316,7 +5265,7 @@ var __webpack_exports__ = {};
|
|
|
4316
5265
|
return _encode(pair[0]) + '=' + _encode(pair[1]);
|
|
4317
5266
|
}, '').join('&');
|
|
4318
5267
|
};
|
|
4319
|
-
const
|
|
5268
|
+
const helpers_AxiosURLSearchParams = AxiosURLSearchParams;
|
|
4320
5269
|
function buildURL_encode(val) {
|
|
4321
5270
|
return encodeURIComponent(val).replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+').replace(/%5B/gi, '[').replace(/%5D/gi, ']');
|
|
4322
5271
|
}
|
|
@@ -4328,7 +5277,7 @@ var __webpack_exports__ = {};
|
|
|
4328
5277
|
};
|
|
4329
5278
|
const serializeFn = options && options.serialize;
|
|
4330
5279
|
let serializedParams;
|
|
4331
|
-
serializedParams = serializeFn ? serializeFn(params, options) : utils.isURLSearchParams(params) ? params.toString() : new
|
|
5280
|
+
serializedParams = serializeFn ? serializeFn(params, options) : utils.isURLSearchParams(params) ? params.toString() : new helpers_AxiosURLSearchParams(params, options).toString(_encode);
|
|
4332
5281
|
if (serializedParams) {
|
|
4333
5282
|
const hashmarkIndex = url.indexOf("#");
|
|
4334
5283
|
if (-1 !== hashmarkIndex) url = url.slice(0, hashmarkIndex);
|
|
@@ -4415,7 +5364,7 @@ var __webpack_exports__ = {};
|
|
|
4415
5364
|
...node
|
|
4416
5365
|
};
|
|
4417
5366
|
function toURLEncodedForm(data, options) {
|
|
4418
|
-
return
|
|
5367
|
+
return helpers_toFormData(data, new platform.classes.URLSearchParams(), Object.assign({
|
|
4419
5368
|
visitor: function(value, key, path, helpers) {
|
|
4420
5369
|
if (platform.isNode && utils.isBuffer(value)) {
|
|
4421
5370
|
this.append(key, value.toString('base64'));
|
|
@@ -4440,7 +5389,7 @@ var __webpack_exports__ = {};
|
|
|
4440
5389
|
}
|
|
4441
5390
|
return obj;
|
|
4442
5391
|
}
|
|
4443
|
-
function
|
|
5392
|
+
function formDataToJSON(formData) {
|
|
4444
5393
|
function buildPath(path, value, target, index) {
|
|
4445
5394
|
let name = path[index++];
|
|
4446
5395
|
if ('__proto__' === name) return true;
|
|
@@ -4469,7 +5418,7 @@ var __webpack_exports__ = {};
|
|
|
4469
5418
|
}
|
|
4470
5419
|
return null;
|
|
4471
5420
|
}
|
|
4472
|
-
const
|
|
5421
|
+
const helpers_formDataToJSON = formDataToJSON;
|
|
4473
5422
|
function stringifySafely(rawValue, parser, encoder) {
|
|
4474
5423
|
if (utils.isString(rawValue)) try {
|
|
4475
5424
|
(parser || JSON.parse)(rawValue);
|
|
@@ -4493,7 +5442,7 @@ var __webpack_exports__ = {};
|
|
|
4493
5442
|
const isObjectPayload = utils.isObject(data);
|
|
4494
5443
|
if (isObjectPayload && utils.isHTMLForm(data)) data = new FormData(data);
|
|
4495
5444
|
const isFormData = utils.isFormData(data);
|
|
4496
|
-
if (isFormData) return hasJSONContentType ? JSON.stringify(
|
|
5445
|
+
if (isFormData) return hasJSONContentType ? JSON.stringify(helpers_formDataToJSON(data)) : data;
|
|
4497
5446
|
if (utils.isArrayBuffer(data) || utils.isBuffer(data) || utils.isStream(data) || utils.isFile(data) || utils.isBlob(data) || utils.isReadableStream(data)) return data;
|
|
4498
5447
|
if (utils.isArrayBufferView(data)) return data.buffer;
|
|
4499
5448
|
if (utils.isURLSearchParams(data)) {
|
|
@@ -4505,7 +5454,7 @@ var __webpack_exports__ = {};
|
|
|
4505
5454
|
if (contentType.indexOf('application/x-www-form-urlencoded') > -1) return toURLEncodedForm(data, this.formSerializer).toString();
|
|
4506
5455
|
if ((isFileList = utils.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {
|
|
4507
5456
|
const _FormData = this.env && this.env.FormData;
|
|
4508
|
-
return
|
|
5457
|
+
return helpers_toFormData(isFileList ? {
|
|
4509
5458
|
'files[]': data
|
|
4510
5459
|
} : data, _FormData && new _FormData(), this.formSerializer);
|
|
4511
5460
|
}
|
|
@@ -4530,7 +5479,7 @@ var __webpack_exports__ = {};
|
|
|
4530
5479
|
return JSON.parse(data);
|
|
4531
5480
|
} catch (e) {
|
|
4532
5481
|
if (strictJSONParsing) {
|
|
4533
|
-
if ('SyntaxError' === e.name) throw
|
|
5482
|
+
if ('SyntaxError' === e.name) throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
|
|
4534
5483
|
throw e;
|
|
4535
5484
|
}
|
|
4536
5485
|
}
|
|
@@ -4646,7 +5595,7 @@ var __webpack_exports__ = {};
|
|
|
4646
5595
|
});
|
|
4647
5596
|
});
|
|
4648
5597
|
}
|
|
4649
|
-
class
|
|
5598
|
+
class AxiosHeaders_AxiosHeaders {
|
|
4650
5599
|
constructor(headers){
|
|
4651
5600
|
headers && this.set(headers);
|
|
4652
5601
|
}
|
|
@@ -4793,7 +5742,7 @@ var __webpack_exports__ = {};
|
|
|
4793
5742
|
return this;
|
|
4794
5743
|
}
|
|
4795
5744
|
}
|
|
4796
|
-
|
|
5745
|
+
AxiosHeaders_AxiosHeaders.accessor([
|
|
4797
5746
|
'Content-Type',
|
|
4798
5747
|
'Content-Length',
|
|
4799
5748
|
'Accept',
|
|
@@ -4801,7 +5750,7 @@ var __webpack_exports__ = {};
|
|
|
4801
5750
|
'User-Agent',
|
|
4802
5751
|
'Authorization'
|
|
4803
5752
|
]);
|
|
4804
|
-
utils.reduceDescriptors(
|
|
5753
|
+
utils.reduceDescriptors(AxiosHeaders_AxiosHeaders.prototype, ({ value }, key)=>{
|
|
4805
5754
|
let mapped = key[0].toUpperCase() + key.slice(1);
|
|
4806
5755
|
return {
|
|
4807
5756
|
get: ()=>value,
|
|
@@ -4810,12 +5759,12 @@ var __webpack_exports__ = {};
|
|
|
4810
5759
|
}
|
|
4811
5760
|
};
|
|
4812
5761
|
});
|
|
4813
|
-
utils.freezeMethods(
|
|
4814
|
-
const
|
|
5762
|
+
utils.freezeMethods(AxiosHeaders_AxiosHeaders);
|
|
5763
|
+
const AxiosHeaders = AxiosHeaders_AxiosHeaders;
|
|
4815
5764
|
function transformData(fns, response) {
|
|
4816
5765
|
const config = this || lib_defaults;
|
|
4817
5766
|
const context = response || config;
|
|
4818
|
-
const headers =
|
|
5767
|
+
const headers = AxiosHeaders.from(context.headers);
|
|
4819
5768
|
let data = context.data;
|
|
4820
5769
|
utils.forEach(fns, function(fn) {
|
|
4821
5770
|
data = fn.call(config, data, headers.normalize(), response ? response.status : void 0);
|
|
@@ -4826,20 +5775,20 @@ var __webpack_exports__ = {};
|
|
|
4826
5775
|
function isCancel(value) {
|
|
4827
5776
|
return !!(value && value.__CANCEL__);
|
|
4828
5777
|
}
|
|
4829
|
-
function
|
|
4830
|
-
|
|
5778
|
+
function CanceledError(message, config, request) {
|
|
5779
|
+
AxiosError.call(this, null == message ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);
|
|
4831
5780
|
this.name = 'CanceledError';
|
|
4832
5781
|
}
|
|
4833
|
-
utils.inherits(
|
|
5782
|
+
utils.inherits(CanceledError, AxiosError, {
|
|
4834
5783
|
__CANCEL__: true
|
|
4835
5784
|
});
|
|
4836
|
-
const
|
|
5785
|
+
const cancel_CanceledError = CanceledError;
|
|
4837
5786
|
function settle(resolve, reject, response) {
|
|
4838
5787
|
const validateStatus = response.config.validateStatus;
|
|
4839
5788
|
if (!response.status || !validateStatus || validateStatus(response.status)) resolve(response);
|
|
4840
|
-
else reject(new
|
|
4841
|
-
|
|
4842
|
-
|
|
5789
|
+
else reject(new AxiosError('Request failed with status code ' + response.status, [
|
|
5790
|
+
AxiosError.ERR_BAD_REQUEST,
|
|
5791
|
+
AxiosError.ERR_BAD_RESPONSE
|
|
4843
5792
|
][Math.floor(response.status / 100) - 4], response.config, response.request, response));
|
|
4844
5793
|
}
|
|
4845
5794
|
function isAbsoluteURL(url) {
|
|
@@ -4872,13 +5821,13 @@ var __webpack_exports__ = {};
|
|
|
4872
5821
|
if ('data' === protocol) {
|
|
4873
5822
|
uri = protocol.length ? uri.slice(protocol.length + 1) : uri;
|
|
4874
5823
|
const match = DATA_URL_PATTERN.exec(uri);
|
|
4875
|
-
if (!match) throw new
|
|
5824
|
+
if (!match) throw new AxiosError('Invalid URL', AxiosError.ERR_INVALID_URL);
|
|
4876
5825
|
const mime = match[1];
|
|
4877
5826
|
const isBase64 = match[2];
|
|
4878
5827
|
const body = match[3];
|
|
4879
5828
|
const buffer = Buffer.from(decodeURIComponent(body), isBase64 ? 'base64' : 'utf8');
|
|
4880
5829
|
if (asBlob) {
|
|
4881
|
-
if (!_Blob) throw new
|
|
5830
|
+
if (!_Blob) throw new AxiosError('Blob is not supported', AxiosError.ERR_NOT_SUPPORT);
|
|
4882
5831
|
return new _Blob([
|
|
4883
5832
|
buffer
|
|
4884
5833
|
], {
|
|
@@ -4887,7 +5836,7 @@ var __webpack_exports__ = {};
|
|
|
4887
5836
|
}
|
|
4888
5837
|
return buffer;
|
|
4889
5838
|
}
|
|
4890
|
-
throw new
|
|
5839
|
+
throw new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_NOT_SUPPORT);
|
|
4891
5840
|
}
|
|
4892
5841
|
var external_stream_ = __webpack_require__("stream");
|
|
4893
5842
|
const kInternals = Symbol('internals');
|
|
@@ -4986,13 +5935,13 @@ var __webpack_exports__ = {};
|
|
|
4986
5935
|
const AxiosTransformStream = AxiosTransformStream_AxiosTransformStream;
|
|
4987
5936
|
const external_events_namespaceObject = require("events");
|
|
4988
5937
|
const { asyncIterator } = Symbol;
|
|
4989
|
-
const
|
|
5938
|
+
const readBlob_readBlob = async function*(blob) {
|
|
4990
5939
|
if (blob.stream) yield* blob.stream();
|
|
4991
5940
|
else if (blob.arrayBuffer) yield await blob.arrayBuffer();
|
|
4992
5941
|
else if (blob[asyncIterator]) yield* blob[asyncIterator]();
|
|
4993
5942
|
else yield blob;
|
|
4994
5943
|
};
|
|
4995
|
-
const
|
|
5944
|
+
const readBlob = readBlob_readBlob;
|
|
4996
5945
|
const BOUNDARY_ALPHABET = platform.ALPHABET.ALPHA_DIGIT + '-_';
|
|
4997
5946
|
const textEncoder = 'function' == typeof TextEncoder ? new TextEncoder() : new external_util_.TextEncoder();
|
|
4998
5947
|
const CRLF = '\r\n';
|
|
@@ -5015,7 +5964,7 @@ var __webpack_exports__ = {};
|
|
|
5015
5964
|
yield this.headers;
|
|
5016
5965
|
const { value } = this;
|
|
5017
5966
|
if (utils.isTypedArray(value)) yield value;
|
|
5018
|
-
else yield*
|
|
5967
|
+
else yield* readBlob(value);
|
|
5019
5968
|
yield CRLF_BYTES;
|
|
5020
5969
|
}
|
|
5021
5970
|
static escapeName(name) {
|
|
@@ -5054,7 +6003,7 @@ var __webpack_exports__ = {};
|
|
|
5054
6003
|
}());
|
|
5055
6004
|
};
|
|
5056
6005
|
const helpers_formDataToStream = formDataToStream;
|
|
5057
|
-
class
|
|
6006
|
+
class ZlibHeaderTransformStream extends external_stream_.Transform {
|
|
5058
6007
|
__transform(chunk, encoding, callback) {
|
|
5059
6008
|
this.push(chunk);
|
|
5060
6009
|
callback();
|
|
@@ -5072,8 +6021,8 @@ var __webpack_exports__ = {};
|
|
|
5072
6021
|
this.__transform(chunk, encoding, callback);
|
|
5073
6022
|
}
|
|
5074
6023
|
}
|
|
5075
|
-
const
|
|
5076
|
-
const
|
|
6024
|
+
const helpers_ZlibHeaderTransformStream = ZlibHeaderTransformStream;
|
|
6025
|
+
const callbackify_callbackify = (fn, reducer)=>utils.isAsyncFn(fn) ? function(...args) {
|
|
5077
6026
|
const cb = args.pop();
|
|
5078
6027
|
fn.apply(this, args).then((value)=>{
|
|
5079
6028
|
try {
|
|
@@ -5083,7 +6032,7 @@ var __webpack_exports__ = {};
|
|
|
5083
6032
|
}
|
|
5084
6033
|
}, cb);
|
|
5085
6034
|
} : fn;
|
|
5086
|
-
const
|
|
6035
|
+
const callbackify = callbackify_callbackify;
|
|
5087
6036
|
function speedometer(samplesCount, min) {
|
|
5088
6037
|
samplesCount = samplesCount || 10;
|
|
5089
6038
|
const bytes = new Array(samplesCount);
|
|
@@ -5112,7 +6061,7 @@ var __webpack_exports__ = {};
|
|
|
5112
6061
|
};
|
|
5113
6062
|
}
|
|
5114
6063
|
const helpers_speedometer = speedometer;
|
|
5115
|
-
function
|
|
6064
|
+
function throttle_throttle(fn, freq) {
|
|
5116
6065
|
let timestamp = 0;
|
|
5117
6066
|
let threshold = 1000 / freq;
|
|
5118
6067
|
let lastArgs;
|
|
@@ -5144,11 +6093,11 @@ var __webpack_exports__ = {};
|
|
|
5144
6093
|
flush
|
|
5145
6094
|
];
|
|
5146
6095
|
}
|
|
5147
|
-
const
|
|
6096
|
+
const throttle = throttle_throttle;
|
|
5148
6097
|
const progressEventReducer = (listener, isDownloadStream, freq = 3)=>{
|
|
5149
6098
|
let bytesNotified = 0;
|
|
5150
6099
|
const _speedometer = helpers_speedometer(50, 250);
|
|
5151
|
-
return
|
|
6100
|
+
return throttle((e)=>{
|
|
5152
6101
|
const loaded = e.loaded;
|
|
5153
6102
|
const total = e.lengthComputable ? e.total : void 0;
|
|
5154
6103
|
const progressBytes = loaded - bytesNotified;
|
|
@@ -5265,7 +6214,7 @@ var __webpack_exports__ = {};
|
|
|
5265
6214
|
let rejected = false;
|
|
5266
6215
|
let req;
|
|
5267
6216
|
if (lookup) {
|
|
5268
|
-
const _lookup =
|
|
6217
|
+
const _lookup = callbackify(lookup, (value)=>utils.isArray(value) ? value : [
|
|
5269
6218
|
value
|
|
5270
6219
|
]);
|
|
5271
6220
|
lookup = (hostname, opt, cb)=>{
|
|
@@ -5292,7 +6241,7 @@ var __webpack_exports__ = {};
|
|
|
5292
6241
|
}
|
|
5293
6242
|
});
|
|
5294
6243
|
function abort(reason) {
|
|
5295
|
-
emitter.emit('abort', !reason || reason.type ? new
|
|
6244
|
+
emitter.emit('abort', !reason || reason.type ? new cancel_CanceledError(null, config, req) : reason);
|
|
5296
6245
|
}
|
|
5297
6246
|
emitter.once('abort', reject);
|
|
5298
6247
|
if (config.cancelToken || config.signal) {
|
|
@@ -5315,7 +6264,7 @@ var __webpack_exports__ = {};
|
|
|
5315
6264
|
Blob: config.env && config.env.Blob
|
|
5316
6265
|
});
|
|
5317
6266
|
} catch (err) {
|
|
5318
|
-
throw
|
|
6267
|
+
throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config);
|
|
5319
6268
|
}
|
|
5320
6269
|
if ('text' === responseType) {
|
|
5321
6270
|
convertedData = convertedData.toString(responseEncoding);
|
|
@@ -5325,12 +6274,12 @@ var __webpack_exports__ = {};
|
|
|
5325
6274
|
data: convertedData,
|
|
5326
6275
|
status: 200,
|
|
5327
6276
|
statusText: 'OK',
|
|
5328
|
-
headers: new
|
|
6277
|
+
headers: new AxiosHeaders(),
|
|
5329
6278
|
config
|
|
5330
6279
|
});
|
|
5331
6280
|
}
|
|
5332
|
-
if (-1 === supportedProtocols.indexOf(protocol)) return reject(new
|
|
5333
|
-
const headers =
|
|
6281
|
+
if (-1 === supportedProtocols.indexOf(protocol)) return reject(new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_BAD_REQUEST, config));
|
|
6282
|
+
const headers = AxiosHeaders.from(config.headers).normalize();
|
|
5334
6283
|
headers.set('User-Agent', 'axios/' + VERSION, false);
|
|
5335
6284
|
const { onUploadProgress, onDownloadProgress } = config;
|
|
5336
6285
|
const maxRate = config.maxRate;
|
|
@@ -5353,16 +6302,16 @@ var __webpack_exports__ = {};
|
|
|
5353
6302
|
} else if (utils.isBlob(data) || utils.isFile(data)) {
|
|
5354
6303
|
data.size && headers.setContentType(data.type || 'application/octet-stream');
|
|
5355
6304
|
headers.setContentLength(data.size || 0);
|
|
5356
|
-
data = external_stream_.Readable.from(
|
|
6305
|
+
data = external_stream_.Readable.from(readBlob(data));
|
|
5357
6306
|
} else if (data && !utils.isStream(data)) {
|
|
5358
6307
|
if (Buffer.isBuffer(data)) ;
|
|
5359
6308
|
else if (utils.isArrayBuffer(data)) data = Buffer.from(new Uint8Array(data));
|
|
5360
6309
|
else {
|
|
5361
|
-
if (!utils.isString(data)) return reject(new
|
|
6310
|
+
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));
|
|
5362
6311
|
data = Buffer.from(data, 'utf-8');
|
|
5363
6312
|
}
|
|
5364
6313
|
headers.setContentLength(data.length, false);
|
|
5365
|
-
if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) return reject(new
|
|
6314
|
+
if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) return reject(new AxiosError('Request body larger than maxBodyLength limit', AxiosError.ERR_BAD_REQUEST, config));
|
|
5366
6315
|
}
|
|
5367
6316
|
const contentLength = utils.toFiniteNumber(headers.getContentLength());
|
|
5368
6317
|
if (utils.isArray(maxRate)) {
|
|
@@ -5464,7 +6413,7 @@ var __webpack_exports__ = {};
|
|
|
5464
6413
|
delete res.headers['content-encoding'];
|
|
5465
6414
|
break;
|
|
5466
6415
|
case 'deflate':
|
|
5467
|
-
streams.push(new
|
|
6416
|
+
streams.push(new helpers_ZlibHeaderTransformStream());
|
|
5468
6417
|
streams.push(external_zlib_namespaceObject.createUnzip(zlibOptions));
|
|
5469
6418
|
delete res.headers['content-encoding'];
|
|
5470
6419
|
break;
|
|
@@ -5483,7 +6432,7 @@ var __webpack_exports__ = {};
|
|
|
5483
6432
|
const response = {
|
|
5484
6433
|
status: res.statusCode,
|
|
5485
6434
|
statusText: res.statusMessage,
|
|
5486
|
-
headers: new
|
|
6435
|
+
headers: new AxiosHeaders(res.headers),
|
|
5487
6436
|
config,
|
|
5488
6437
|
request: lastRequest
|
|
5489
6438
|
};
|
|
@@ -5499,18 +6448,18 @@ var __webpack_exports__ = {};
|
|
|
5499
6448
|
if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
|
|
5500
6449
|
rejected = true;
|
|
5501
6450
|
responseStream.destroy();
|
|
5502
|
-
reject(new
|
|
6451
|
+
reject(new AxiosError('maxContentLength size of ' + config.maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, lastRequest));
|
|
5503
6452
|
}
|
|
5504
6453
|
});
|
|
5505
6454
|
responseStream.on('aborted', function() {
|
|
5506
6455
|
if (rejected) return;
|
|
5507
|
-
const err = new
|
|
6456
|
+
const err = new AxiosError('stream has been aborted', AxiosError.ERR_BAD_RESPONSE, config, lastRequest);
|
|
5508
6457
|
responseStream.destroy(err);
|
|
5509
6458
|
reject(err);
|
|
5510
6459
|
});
|
|
5511
6460
|
responseStream.on('error', function(err) {
|
|
5512
6461
|
if (req.destroyed) return;
|
|
5513
|
-
reject(
|
|
6462
|
+
reject(AxiosError.from(err, null, config, lastRequest));
|
|
5514
6463
|
});
|
|
5515
6464
|
responseStream.on('end', function() {
|
|
5516
6465
|
try {
|
|
@@ -5521,7 +6470,7 @@ var __webpack_exports__ = {};
|
|
|
5521
6470
|
}
|
|
5522
6471
|
response.data = responseData;
|
|
5523
6472
|
} catch (err) {
|
|
5524
|
-
return reject(
|
|
6473
|
+
return reject(AxiosError.from(err, null, config, response.request, response));
|
|
5525
6474
|
}
|
|
5526
6475
|
settle(resolve, reject, response);
|
|
5527
6476
|
});
|
|
@@ -5538,20 +6487,20 @@ var __webpack_exports__ = {};
|
|
|
5538
6487
|
req.destroy(err);
|
|
5539
6488
|
});
|
|
5540
6489
|
req.on('error', function(err) {
|
|
5541
|
-
reject(
|
|
6490
|
+
reject(AxiosError.from(err, null, config, req));
|
|
5542
6491
|
});
|
|
5543
6492
|
req.on('socket', function(socket) {
|
|
5544
6493
|
socket.setKeepAlive(true, 60000);
|
|
5545
6494
|
});
|
|
5546
6495
|
if (config.timeout) {
|
|
5547
6496
|
const timeout = parseInt(config.timeout, 10);
|
|
5548
|
-
if (Number.isNaN(timeout)) return void reject(new
|
|
6497
|
+
if (Number.isNaN(timeout)) return void reject(new AxiosError('error trying to parse `config.timeout` to int', AxiosError.ERR_BAD_OPTION_VALUE, config, req));
|
|
5549
6498
|
req.setTimeout(timeout, function() {
|
|
5550
6499
|
if (isDone) return;
|
|
5551
6500
|
let timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
5552
6501
|
const transitional = config.transitional || defaults_transitional;
|
|
5553
6502
|
if (config.timeoutErrorMessage) timeoutErrorMessage = config.timeoutErrorMessage;
|
|
5554
|
-
reject(new
|
|
6503
|
+
reject(new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, req));
|
|
5555
6504
|
abort();
|
|
5556
6505
|
});
|
|
5557
6506
|
}
|
|
@@ -5566,7 +6515,7 @@ var __webpack_exports__ = {};
|
|
|
5566
6515
|
req.destroy(err);
|
|
5567
6516
|
});
|
|
5568
6517
|
data.on('close', ()=>{
|
|
5569
|
-
if (!ended && !errored) abort(new
|
|
6518
|
+
if (!ended && !errored) abort(new cancel_CanceledError('Request stream has been aborted', config, req));
|
|
5570
6519
|
});
|
|
5571
6520
|
data.pipe(req);
|
|
5572
6521
|
} else req.end(data);
|
|
@@ -5601,7 +6550,7 @@ var __webpack_exports__ = {};
|
|
|
5601
6550
|
},
|
|
5602
6551
|
remove () {}
|
|
5603
6552
|
};
|
|
5604
|
-
const headersToObject = (thing)=>thing instanceof
|
|
6553
|
+
const headersToObject = (thing)=>thing instanceof AxiosHeaders ? {
|
|
5605
6554
|
...thing
|
|
5606
6555
|
} : thing;
|
|
5607
6556
|
function mergeConfig(config1, config2) {
|
|
@@ -5671,7 +6620,7 @@ var __webpack_exports__ = {};
|
|
|
5671
6620
|
const resolveConfig = (config)=>{
|
|
5672
6621
|
const newConfig = mergeConfig({}, config);
|
|
5673
6622
|
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
5674
|
-
newConfig.headers = headers =
|
|
6623
|
+
newConfig.headers = headers = AxiosHeaders.from(headers);
|
|
5675
6624
|
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
|
|
5676
6625
|
if (auth) headers.set('Authorization', 'Basic ' + btoa((auth.username || '') + ':' + (auth.password ? unescape(encodeURIComponent(auth.password)) : '')));
|
|
5677
6626
|
let contentType;
|
|
@@ -5699,7 +6648,7 @@ var __webpack_exports__ = {};
|
|
|
5699
6648
|
return new Promise(function(resolve, reject) {
|
|
5700
6649
|
const _config = resolveConfig(config);
|
|
5701
6650
|
let requestData = _config.data;
|
|
5702
|
-
const requestHeaders =
|
|
6651
|
+
const requestHeaders = AxiosHeaders.from(_config.headers).normalize();
|
|
5703
6652
|
let { responseType, onUploadProgress, onDownloadProgress } = _config;
|
|
5704
6653
|
let onCanceled;
|
|
5705
6654
|
let uploadThrottled, downloadThrottled;
|
|
@@ -5715,7 +6664,7 @@ var __webpack_exports__ = {};
|
|
|
5715
6664
|
request.timeout = _config.timeout;
|
|
5716
6665
|
function onloadend() {
|
|
5717
6666
|
if (!request) return;
|
|
5718
|
-
const responseHeaders =
|
|
6667
|
+
const responseHeaders = AxiosHeaders.from('getAllResponseHeaders' in request && request.getAllResponseHeaders());
|
|
5719
6668
|
const responseData = responseType && 'text' !== responseType && 'json' !== responseType ? request.response : request.responseText;
|
|
5720
6669
|
const response = {
|
|
5721
6670
|
data: responseData,
|
|
@@ -5742,18 +6691,18 @@ var __webpack_exports__ = {};
|
|
|
5742
6691
|
};
|
|
5743
6692
|
request.onabort = function() {
|
|
5744
6693
|
if (!request) return;
|
|
5745
|
-
reject(new
|
|
6694
|
+
reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));
|
|
5746
6695
|
request = null;
|
|
5747
6696
|
};
|
|
5748
6697
|
request.onerror = function() {
|
|
5749
|
-
reject(new
|
|
6698
|
+
reject(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request));
|
|
5750
6699
|
request = null;
|
|
5751
6700
|
};
|
|
5752
6701
|
request.ontimeout = function() {
|
|
5753
6702
|
let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
5754
6703
|
const transitional = _config.transitional || defaults_transitional;
|
|
5755
6704
|
if (_config.timeoutErrorMessage) timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
5756
|
-
reject(new
|
|
6705
|
+
reject(new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, request));
|
|
5757
6706
|
request = null;
|
|
5758
6707
|
};
|
|
5759
6708
|
void 0 === requestData && requestHeaders.setContentType(null);
|
|
@@ -5774,7 +6723,7 @@ var __webpack_exports__ = {};
|
|
|
5774
6723
|
if (_config.cancelToken || _config.signal) {
|
|
5775
6724
|
onCanceled = (cancel)=>{
|
|
5776
6725
|
if (!request) return;
|
|
5777
|
-
reject(!cancel || cancel.type ? new
|
|
6726
|
+
reject(!cancel || cancel.type ? new cancel_CanceledError(null, config, request) : cancel);
|
|
5778
6727
|
request.abort();
|
|
5779
6728
|
request = null;
|
|
5780
6729
|
};
|
|
@@ -5782,7 +6731,7 @@ var __webpack_exports__ = {};
|
|
|
5782
6731
|
if (_config.signal) _config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);
|
|
5783
6732
|
}
|
|
5784
6733
|
const protocol = parseProtocol(_config.url);
|
|
5785
|
-
if (protocol && -1 === platform.protocols.indexOf(protocol)) return void reject(new
|
|
6734
|
+
if (protocol && -1 === platform.protocols.indexOf(protocol)) return void reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));
|
|
5786
6735
|
request.send(requestData || null);
|
|
5787
6736
|
});
|
|
5788
6737
|
};
|
|
@@ -5796,12 +6745,12 @@ var __webpack_exports__ = {};
|
|
|
5796
6745
|
aborted = true;
|
|
5797
6746
|
unsubscribe();
|
|
5798
6747
|
const err = reason instanceof Error ? reason : this.reason;
|
|
5799
|
-
controller.abort(err instanceof
|
|
6748
|
+
controller.abort(err instanceof AxiosError ? err : new cancel_CanceledError(err instanceof Error ? err.message : err));
|
|
5800
6749
|
}
|
|
5801
6750
|
};
|
|
5802
6751
|
let timer = timeout && setTimeout(()=>{
|
|
5803
6752
|
timer = null;
|
|
5804
|
-
onabort(new
|
|
6753
|
+
onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT));
|
|
5805
6754
|
}, timeout);
|
|
5806
6755
|
const unsubscribe = ()=>{
|
|
5807
6756
|
if (signals) {
|
|
@@ -5921,7 +6870,7 @@ var __webpack_exports__ = {};
|
|
|
5921
6870
|
'stream'
|
|
5922
6871
|
].forEach((type)=>{
|
|
5923
6872
|
resolvers[type] || (resolvers[type] = utils.isFunction(res[type]) ? (res)=>res[type]() : (_, config)=>{
|
|
5924
|
-
throw new
|
|
6873
|
+
throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
|
|
5925
6874
|
});
|
|
5926
6875
|
});
|
|
5927
6876
|
})(new Response);
|
|
@@ -6004,7 +6953,7 @@ var __webpack_exports__ = {};
|
|
|
6004
6953
|
return await new Promise((resolve, reject)=>{
|
|
6005
6954
|
settle(resolve, reject, {
|
|
6006
6955
|
data: responseData,
|
|
6007
|
-
headers:
|
|
6956
|
+
headers: AxiosHeaders.from(response.headers),
|
|
6008
6957
|
status: response.status,
|
|
6009
6958
|
statusText: response.statusText,
|
|
6010
6959
|
config,
|
|
@@ -6013,10 +6962,10 @@ var __webpack_exports__ = {};
|
|
|
6013
6962
|
});
|
|
6014
6963
|
} catch (err) {
|
|
6015
6964
|
unsubscribe && unsubscribe();
|
|
6016
|
-
if (err && 'TypeError' === err.name && /Load failed|fetch/i.test(err.message)) throw Object.assign(new
|
|
6965
|
+
if (err && 'TypeError' === err.name && /Load failed|fetch/i.test(err.message)) throw Object.assign(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request), {
|
|
6017
6966
|
cause: err.cause || err
|
|
6018
6967
|
});
|
|
6019
|
-
throw
|
|
6968
|
+
throw AxiosError.from(err, err && err.code, config, request);
|
|
6020
6969
|
}
|
|
6021
6970
|
});
|
|
6022
6971
|
const knownAdapters = {
|
|
@@ -6053,7 +7002,7 @@ var __webpack_exports__ = {};
|
|
|
6053
7002
|
adapter = nameOrAdapter;
|
|
6054
7003
|
if (!isResolvedHandle(nameOrAdapter)) {
|
|
6055
7004
|
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
|
6056
|
-
if (void 0 === adapter) throw new
|
|
7005
|
+
if (void 0 === adapter) throw new AxiosError(`Unknown adapter '${id}'`);
|
|
6057
7006
|
}
|
|
6058
7007
|
if (adapter) break;
|
|
6059
7008
|
rejectedReasons[id || '#' + i] = adapter;
|
|
@@ -6061,7 +7010,7 @@ var __webpack_exports__ = {};
|
|
|
6061
7010
|
if (!adapter) {
|
|
6062
7011
|
const reasons = Object.entries(rejectedReasons).map(([id, state])=>`adapter ${id} ` + (false === state ? 'is not supported by the environment' : 'is not available in the build'));
|
|
6063
7012
|
let s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified';
|
|
6064
|
-
throw new
|
|
7013
|
+
throw new AxiosError("There is no suitable adapter to dispatch the request " + s, 'ERR_NOT_SUPPORT');
|
|
6065
7014
|
}
|
|
6066
7015
|
return adapter;
|
|
6067
7016
|
},
|
|
@@ -6069,11 +7018,11 @@ var __webpack_exports__ = {};
|
|
|
6069
7018
|
};
|
|
6070
7019
|
function throwIfCancellationRequested(config) {
|
|
6071
7020
|
if (config.cancelToken) config.cancelToken.throwIfRequested();
|
|
6072
|
-
if (config.signal && config.signal.aborted) throw new
|
|
7021
|
+
if (config.signal && config.signal.aborted) throw new cancel_CanceledError(null, config);
|
|
6073
7022
|
}
|
|
6074
7023
|
function dispatchRequest(config) {
|
|
6075
7024
|
throwIfCancellationRequested(config);
|
|
6076
|
-
config.headers =
|
|
7025
|
+
config.headers = AxiosHeaders.from(config.headers);
|
|
6077
7026
|
config.data = transformData.call(config, config.transformRequest);
|
|
6078
7027
|
if (-1 !== [
|
|
6079
7028
|
'post',
|
|
@@ -6084,14 +7033,14 @@ var __webpack_exports__ = {};
|
|
|
6084
7033
|
return adapter(config).then(function(response) {
|
|
6085
7034
|
throwIfCancellationRequested(config);
|
|
6086
7035
|
response.data = transformData.call(config, config.transformResponse, response);
|
|
6087
|
-
response.headers =
|
|
7036
|
+
response.headers = AxiosHeaders.from(response.headers);
|
|
6088
7037
|
return response;
|
|
6089
7038
|
}, function(reason) {
|
|
6090
7039
|
if (!isCancel(reason)) {
|
|
6091
7040
|
throwIfCancellationRequested(config);
|
|
6092
7041
|
if (reason && reason.response) {
|
|
6093
7042
|
reason.response.data = transformData.call(config, config.transformResponse, reason.response);
|
|
6094
|
-
reason.response.headers =
|
|
7043
|
+
reason.response.headers = AxiosHeaders.from(reason.response.headers);
|
|
6095
7044
|
}
|
|
6096
7045
|
}
|
|
6097
7046
|
return Promise.reject(reason);
|
|
@@ -6116,7 +7065,7 @@ var __webpack_exports__ = {};
|
|
|
6116
7065
|
return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
|
|
6117
7066
|
}
|
|
6118
7067
|
return (value, opt, opts)=>{
|
|
6119
|
-
if (false === validator) throw new
|
|
7068
|
+
if (false === validator) throw new AxiosError(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), AxiosError.ERR_DEPRECATED);
|
|
6120
7069
|
if (version && !deprecatedWarnings[opt]) {
|
|
6121
7070
|
deprecatedWarnings[opt] = true;
|
|
6122
7071
|
console.warn(formatMessage(opt, ' has been deprecated since v' + version + ' and will be removed in the near future'));
|
|
@@ -6131,7 +7080,7 @@ var __webpack_exports__ = {};
|
|
|
6131
7080
|
};
|
|
6132
7081
|
};
|
|
6133
7082
|
function assertOptions(options, schema, allowUnknown) {
|
|
6134
|
-
if ('object' != typeof options) throw new
|
|
7083
|
+
if ('object' != typeof options) throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);
|
|
6135
7084
|
const keys = Object.keys(options);
|
|
6136
7085
|
let i = keys.length;
|
|
6137
7086
|
while(i-- > 0){
|
|
@@ -6140,10 +7089,10 @@ var __webpack_exports__ = {};
|
|
|
6140
7089
|
if (validator) {
|
|
6141
7090
|
const value = options[opt];
|
|
6142
7091
|
const result = void 0 === value || validator(value, opt, options);
|
|
6143
|
-
if (true !== result) throw new
|
|
7092
|
+
if (true !== result) throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);
|
|
6144
7093
|
continue;
|
|
6145
7094
|
}
|
|
6146
|
-
if (true !== allowUnknown) throw new
|
|
7095
|
+
if (true !== allowUnknown) throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);
|
|
6147
7096
|
}
|
|
6148
7097
|
}
|
|
6149
7098
|
const helpers_validator = {
|
|
@@ -6215,7 +7164,7 @@ var __webpack_exports__ = {};
|
|
|
6215
7164
|
], (method)=>{
|
|
6216
7165
|
delete headers[method];
|
|
6217
7166
|
});
|
|
6218
|
-
config.headers =
|
|
7167
|
+
config.headers = AxiosHeaders.concat(contextHeaders, headers);
|
|
6219
7168
|
const requestInterceptorChain = [];
|
|
6220
7169
|
let synchronousRequestInterceptors = true;
|
|
6221
7170
|
this.interceptors.request.forEach(function(interceptor) {
|
|
@@ -6306,7 +7255,7 @@ var __webpack_exports__ = {};
|
|
|
6306
7255
|
Axios_Axios.prototype[method + 'Form'] = generateHTTPMethod(true);
|
|
6307
7256
|
});
|
|
6308
7257
|
const Axios = Axios_Axios;
|
|
6309
|
-
class
|
|
7258
|
+
class CancelToken_CancelToken {
|
|
6310
7259
|
constructor(executor){
|
|
6311
7260
|
if ('function' != typeof executor) throw new TypeError('executor must be a function.');
|
|
6312
7261
|
let resolvePromise;
|
|
@@ -6333,7 +7282,7 @@ var __webpack_exports__ = {};
|
|
|
6333
7282
|
};
|
|
6334
7283
|
executor(function(message, config, request) {
|
|
6335
7284
|
if (token.reason) return;
|
|
6336
|
-
token.reason = new
|
|
7285
|
+
token.reason = new cancel_CanceledError(message, config, request);
|
|
6337
7286
|
resolvePromise(token.reason);
|
|
6338
7287
|
});
|
|
6339
7288
|
}
|
|
@@ -6363,7 +7312,7 @@ var __webpack_exports__ = {};
|
|
|
6363
7312
|
}
|
|
6364
7313
|
static source() {
|
|
6365
7314
|
let cancel;
|
|
6366
|
-
const token = new
|
|
7315
|
+
const token = new CancelToken_CancelToken(function(c) {
|
|
6367
7316
|
cancel = c;
|
|
6368
7317
|
});
|
|
6369
7318
|
return {
|
|
@@ -6372,7 +7321,7 @@ var __webpack_exports__ = {};
|
|
|
6372
7321
|
};
|
|
6373
7322
|
}
|
|
6374
7323
|
}
|
|
6375
|
-
const
|
|
7324
|
+
const CancelToken = CancelToken_CancelToken;
|
|
6376
7325
|
function spread(callback) {
|
|
6377
7326
|
return function(arr) {
|
|
6378
7327
|
return callback.apply(null, arr);
|
|
@@ -6466,12 +7415,12 @@ var __webpack_exports__ = {};
|
|
|
6466
7415
|
}
|
|
6467
7416
|
const axios = createInstance(lib_defaults);
|
|
6468
7417
|
axios.Axios = Axios;
|
|
6469
|
-
axios.CanceledError =
|
|
6470
|
-
axios.CancelToken =
|
|
7418
|
+
axios.CanceledError = cancel_CanceledError;
|
|
7419
|
+
axios.CancelToken = CancelToken;
|
|
6471
7420
|
axios.isCancel = isCancel;
|
|
6472
7421
|
axios.VERSION = VERSION;
|
|
6473
|
-
axios.toFormData =
|
|
6474
|
-
axios.AxiosError =
|
|
7422
|
+
axios.toFormData = helpers_toFormData;
|
|
7423
|
+
axios.AxiosError = AxiosError;
|
|
6475
7424
|
axios.Cancel = axios.CanceledError;
|
|
6476
7425
|
axios.all = function(promises) {
|
|
6477
7426
|
return Promise.all(promises);
|
|
@@ -6479,8 +7428,8 @@ var __webpack_exports__ = {};
|
|
|
6479
7428
|
axios.spread = spread;
|
|
6480
7429
|
axios.isAxiosError = isAxiosError;
|
|
6481
7430
|
axios.mergeConfig = mergeConfig;
|
|
6482
|
-
axios.AxiosHeaders =
|
|
6483
|
-
axios.formToJSON = (thing)=>
|
|
7431
|
+
axios.AxiosHeaders = AxiosHeaders;
|
|
7432
|
+
axios.formToJSON = (thing)=>helpers_formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);
|
|
6484
7433
|
axios.getAdapter = adapters_adapters.getAdapter;
|
|
6485
7434
|
axios.HttpStatusCode = helpers_HttpStatusCode;
|
|
6486
7435
|
axios.default = axios;
|
|
@@ -6541,59 +7490,158 @@ var __webpack_exports__ = {};
|
|
|
6541
7490
|
}
|
|
6542
7491
|
};
|
|
6543
7492
|
};
|
|
7493
|
+
const getPropertyName = (property, options)=>{
|
|
7494
|
+
const { project, buyerName } = property;
|
|
7495
|
+
let lotDetail = property.lotDetail?.trim();
|
|
7496
|
+
if (lotDetail) if (lotDetail?.toLowerCase()?.startsWith('lot')) {
|
|
7497
|
+
lotDetail = lotDetail.replace(/^lot\s+/i, '').trim();
|
|
7498
|
+
lotDetail = `Lot ${lotDetail}`;
|
|
7499
|
+
} else if (lotDetail?.toLowerCase()?.startsWith('unit')) {
|
|
7500
|
+
lotDetail = lotDetail.replace(/^unit\s+/i, '').trim();
|
|
7501
|
+
lotDetail = `Unit ${lotDetail}`;
|
|
7502
|
+
} else lotDetail = `Lot ${lotDetail}`;
|
|
7503
|
+
else lotDetail = 'Lot N/A';
|
|
7504
|
+
const { target = 'payout' } = options || {};
|
|
7505
|
+
let names = [];
|
|
7506
|
+
if ('cma' === target || 'mta' === target) {
|
|
7507
|
+
names = [
|
|
7508
|
+
lotDetail,
|
|
7509
|
+
project?.name
|
|
7510
|
+
].filter(Boolean);
|
|
7511
|
+
if (buyerName) return `${names.join(' ')} | ${buyerName}`;
|
|
7512
|
+
return names.length > 0 ? names.join(' ') : 'Nill';
|
|
7513
|
+
}
|
|
7514
|
+
if ('payout' === target) names = [
|
|
7515
|
+
project?.name,
|
|
7516
|
+
lotDetail
|
|
7517
|
+
];
|
|
7518
|
+
if ('refund' === target) names = [
|
|
7519
|
+
lotDetail,
|
|
7520
|
+
project?.name
|
|
7521
|
+
];
|
|
7522
|
+
names = names.filter(Boolean);
|
|
7523
|
+
return names.length > 0 ? names.join(' ') : 'Nill';
|
|
7524
|
+
};
|
|
6544
7525
|
})();
|
|
6545
7526
|
exports.ASSIGN_UNKNOWN_TO_CUSTOMER = __webpack_exports__.ASSIGN_UNKNOWN_TO_CUSTOMER;
|
|
7527
|
+
exports.AccountPeriodStatus = __webpack_exports__.AccountPeriodStatus;
|
|
6546
7528
|
exports.AccountingCommonStatus = __webpack_exports__.AccountingCommonStatus;
|
|
6547
7529
|
exports.AccountingCommonSyncStatus = __webpack_exports__.AccountingCommonSyncStatus;
|
|
6548
7530
|
exports.AmmoZeptoBankAccounts = __webpack_exports__.AmmoZeptoBankAccounts;
|
|
6549
7531
|
exports.AmmoZeptoClient = __webpack_exports__.AmmoZeptoClient;
|
|
6550
|
-
exports.
|
|
6551
|
-
exports.
|
|
7532
|
+
exports.CmaPayoutTransactionType = __webpack_exports__.CmaPayoutTransactionType;
|
|
7533
|
+
exports.CmaReceiptTransactionType = __webpack_exports__.CmaReceiptTransactionType;
|
|
7534
|
+
exports.CmaStatus = __webpack_exports__.CmaStatus;
|
|
7535
|
+
exports.CmaTransactionInputType = __webpack_exports__.CmaTransactionInputType;
|
|
7536
|
+
exports.CmaTransactionPaymentMethod = __webpack_exports__.CmaTransactionPaymentMethod;
|
|
7537
|
+
exports.CmaTransactionStatus = __webpack_exports__.CmaTransactionStatus;
|
|
7538
|
+
exports.CmaTransactionStatusToDisplayTextMapper = __webpack_exports__.CmaTransactionStatusToDisplayTextMapper;
|
|
7539
|
+
exports.CmaTransactionType = __webpack_exports__.CmaTransactionType;
|
|
7540
|
+
exports.CmaTransactionTypeToDisplayTextMapper = __webpack_exports__.CmaTransactionTypeToDisplayTextMapper;
|
|
7541
|
+
exports.DEFAULT_PAYOUT_SOURCE_BANK_REF = __webpack_exports__.DEFAULT_PAYOUT_SOURCE_BANK_REF;
|
|
7542
|
+
exports.DEFAULT_PAYOUT_SOURCE_DESCRIPTION = __webpack_exports__.DEFAULT_PAYOUT_SOURCE_DESCRIPTION;
|
|
7543
|
+
exports.DEFAULT_PAYOUT_TARGET_BANK_REF = __webpack_exports__.DEFAULT_PAYOUT_TARGET_BANK_REF;
|
|
7544
|
+
exports.DEFAULT_PAYOUT_TARGET_DESCRIPTION = __webpack_exports__.DEFAULT_PAYOUT_TARGET_DESCRIPTION;
|
|
7545
|
+
exports.InputJsonValueSchema = __webpack_exports__.InputJsonValueSchema;
|
|
7546
|
+
exports.JsonNullableFilterSchema = __webpack_exports__.JsonNullableFilterSchema;
|
|
6552
7547
|
exports.MenuStatus = __webpack_exports__.MenuStatus;
|
|
6553
7548
|
exports.MenuType = __webpack_exports__.MenuType;
|
|
6554
|
-
exports.MtaAccountPeriodStatus = __webpack_exports__.MtaAccountPeriodStatus;
|
|
6555
7549
|
exports.MtaPayoutTransactionType = __webpack_exports__.MtaPayoutTransactionType;
|
|
6556
7550
|
exports.MtaReceiptTransactionType = __webpack_exports__.MtaReceiptTransactionType;
|
|
6557
|
-
exports.MtaReconciliationStatus = __webpack_exports__.MtaReconciliationStatus;
|
|
6558
7551
|
exports.MtaStatus = __webpack_exports__.MtaStatus;
|
|
6559
7552
|
exports.MtaTransactionInputType = __webpack_exports__.MtaTransactionInputType;
|
|
6560
7553
|
exports.MtaTransactionPaymentMethod = __webpack_exports__.MtaTransactionPaymentMethod;
|
|
7554
|
+
exports.MtaTransactionStatus = __webpack_exports__.MtaTransactionStatus;
|
|
7555
|
+
exports.MtaTransactionStatusToDisplayTextMapper = __webpack_exports__.MtaTransactionStatusToDisplayTextMapper;
|
|
6561
7556
|
exports.MtaTransactionType = __webpack_exports__.MtaTransactionType;
|
|
6562
7557
|
exports.MtaTransactionTypeToDisplayTextMapper = __webpack_exports__.MtaTransactionTypeToDisplayTextMapper;
|
|
7558
|
+
exports.PayoutBankFileStatus = __webpack_exports__.PayoutBankFileStatus;
|
|
7559
|
+
exports.PayoutSourceAccountType = __webpack_exports__.PayoutSourceAccountType;
|
|
7560
|
+
exports.PayoutStatus = __webpack_exports__.PayoutStatus;
|
|
7561
|
+
exports.PayoutTargetAccountType = __webpack_exports__.PayoutTargetAccountType;
|
|
7562
|
+
exports.PayoutType = __webpack_exports__.PayoutType;
|
|
6563
7563
|
exports.ProjectApplyStatusRestRes = __webpack_exports__.ProjectApplyStatusRestRes;
|
|
6564
7564
|
exports.ProjectMtaAllocationStatus = __webpack_exports__.ProjectMtaAllocationStatus;
|
|
6565
7565
|
exports.PropertyRestResStatus = __webpack_exports__.PropertyRestResStatus;
|
|
6566
7566
|
exports.PropertyStage = __webpack_exports__.PropertyStage;
|
|
6567
7567
|
exports.ReconcileTransactionAction = __webpack_exports__.ReconcileTransactionAction;
|
|
7568
|
+
exports.ReconciliationStatus = __webpack_exports__.ReconciliationStatus;
|
|
7569
|
+
exports.StringFilterBaseSchema = __webpack_exports__.StringFilterBaseSchema;
|
|
6568
7570
|
exports.TRANSACTION_CANCEL = __webpack_exports__.TRANSACTION_CANCEL;
|
|
7571
|
+
exports.accountBsbMaskedSchema = __webpack_exports__.accountBsbMaskedSchema;
|
|
7572
|
+
exports.accountBsbValidationSchema = __webpack_exports__.accountBsbValidationSchema;
|
|
7573
|
+
exports.accountNumberMaskedSchema = __webpack_exports__.accountNumberMaskedSchema;
|
|
7574
|
+
exports.accountNumberValidationSchema = __webpack_exports__.accountNumberValidationSchema;
|
|
6569
7575
|
exports.allocateMtaToProjectRestReqSchema = __webpack_exports__.allocateMtaToProjectRestReqSchema;
|
|
6570
7576
|
exports.approveMtaAllocationRestReqSchema = __webpack_exports__.approveMtaAllocationRestReqSchema;
|
|
6571
7577
|
exports.assignUnknownReceiptToPropertyRestReqSchema = __webpack_exports__.assignUnknownReceiptToPropertyRestReqSchema;
|
|
7578
|
+
exports.balanceRestResSchema = __webpack_exports__.balanceRestResSchema;
|
|
7579
|
+
exports.bankCodeSchema = __webpack_exports__.bankCodeSchema;
|
|
6572
7580
|
exports.basePayoutItemShape = __webpack_exports__.basePayoutItemShape;
|
|
7581
|
+
exports.bigIntFilterSchema = __webpack_exports__.bigIntFilterSchema;
|
|
7582
|
+
exports.boolFilterBaseSchema = __webpack_exports__.boolFilterBaseSchema;
|
|
7583
|
+
exports.boolFilterSchema = __webpack_exports__.boolFilterSchema;
|
|
7584
|
+
exports.cancelCmaTransactionRestReqSchema = __webpack_exports__.cancelCmaTransactionRestReqSchema;
|
|
6573
7585
|
exports.cancelMtaTransactionRestReqSchema = __webpack_exports__.cancelMtaTransactionRestReqSchema;
|
|
7586
|
+
exports.cancelPayoutRestReqSchema = __webpack_exports__.cancelPayoutRestReqSchema;
|
|
7587
|
+
exports.centsToDollarsSchema = __webpack_exports__.centsToDollarsSchema;
|
|
7588
|
+
exports.cmaAccountPeriodCloseRestReqSchema = __webpack_exports__.cmaAccountPeriodCloseRestReqSchema;
|
|
7589
|
+
exports.cmaAccountPeriodClosingSummaryRestReqSchema = __webpack_exports__.cmaAccountPeriodClosingSummaryRestReqSchema;
|
|
7590
|
+
exports.cmaAccountPeriodClosingSummaryRestResSchema = __webpack_exports__.cmaAccountPeriodClosingSummaryRestResSchema;
|
|
7591
|
+
exports.cmaAccountPeriodEntitySchema = __webpack_exports__.cmaAccountPeriodEntitySchema;
|
|
7592
|
+
exports.cmaAccountPeriodRestResBaseSchema = __webpack_exports__.cmaAccountPeriodRestResBaseSchema;
|
|
7593
|
+
exports.cmaAccountPeriodRestResSchema = __webpack_exports__.cmaAccountPeriodRestResSchema;
|
|
7594
|
+
exports.cmaClosedAccountPeriodRestResSchema = __webpack_exports__.cmaClosedAccountPeriodRestResSchema;
|
|
6574
7595
|
exports.cmaEntitySchema = __webpack_exports__.cmaEntitySchema;
|
|
6575
|
-
exports.
|
|
7596
|
+
exports.cmaNestedEntitySchema = __webpack_exports__.cmaNestedEntitySchema;
|
|
7597
|
+
exports.cmaReconciledTransactionEntitySchema = __webpack_exports__.cmaReconciledTransactionEntitySchema;
|
|
7598
|
+
exports.cmaReconciledTransactionRestResSchema = __webpack_exports__.cmaReconciledTransactionRestResSchema;
|
|
7599
|
+
exports.cmaReconciliationEntitySchema = __webpack_exports__.cmaReconciliationEntitySchema;
|
|
7600
|
+
exports.cmaReconciliationRestResSchema = __webpack_exports__.cmaReconciliationRestResSchema;
|
|
7601
|
+
exports.cmaRestResBaseSchema = __webpack_exports__.cmaRestResBaseSchema;
|
|
7602
|
+
exports.cmaRestResSchema = __webpack_exports__.cmaRestResSchema;
|
|
6576
7603
|
exports.cmaTransactionEntitySchema = __webpack_exports__.cmaTransactionEntitySchema;
|
|
6577
|
-
exports.
|
|
7604
|
+
exports.cmaTransactionNestedSchema = __webpack_exports__.cmaTransactionNestedSchema;
|
|
7605
|
+
exports.cmaTransactionRestResBaseSchema = __webpack_exports__.cmaTransactionRestResBaseSchema;
|
|
7606
|
+
exports.cmaTransactionRestResSchema = __webpack_exports__.cmaTransactionRestResSchema;
|
|
7607
|
+
exports.cmaTransactionSearchRestReqSchema = __webpack_exports__.cmaTransactionSearchRestReqSchema;
|
|
7608
|
+
exports.confirmBankFileProcessedRestReqSchema = __webpack_exports__.confirmBankFileProcessedRestReqSchema;
|
|
7609
|
+
exports.createCmaReconciliationRestReqSchema = __webpack_exports__.createCmaReconciliationRestReqSchema;
|
|
7610
|
+
exports.createCmaRestReqSchema = __webpack_exports__.createCmaRestReqSchema;
|
|
7611
|
+
exports.createCmaTransactionRestReqSchema = __webpack_exports__.createCmaTransactionRestReqSchema;
|
|
6578
7612
|
exports.createMenuRestReqSchema = __webpack_exports__.createMenuRestReqSchema;
|
|
6579
7613
|
exports.createMtaReconciliationRestReqSchema = __webpack_exports__.createMtaReconciliationRestReqSchema;
|
|
6580
7614
|
exports.createMtaRestReqSchema = __webpack_exports__.createMtaRestReqSchema;
|
|
7615
|
+
exports.createMtaToCmaPayoutRestReqSchema = __webpack_exports__.createMtaToCmaPayoutRestReqSchema;
|
|
6581
7616
|
exports.createMtaTransactionRestReqSchema = __webpack_exports__.createMtaTransactionRestReqSchema;
|
|
7617
|
+
exports.customerEntitySchema = __webpack_exports__.customerEntitySchema;
|
|
7618
|
+
exports.dateTimeFilterBaseSchema = __webpack_exports__.dateTimeFilterBaseSchema;
|
|
7619
|
+
exports.dateTimeFilterSchema = __webpack_exports__.dateTimeFilterSchema;
|
|
6582
7620
|
exports.developerEntitySchema = __webpack_exports__.developerEntitySchema;
|
|
7621
|
+
exports.displayBankAccount = __webpack_exports__.displayBankAccount;
|
|
7622
|
+
exports.dollarsToCentsSchema = __webpack_exports__.dollarsToCentsSchema;
|
|
7623
|
+
exports.formatBankBsb = __webpack_exports__.formatBankBsb;
|
|
6583
7624
|
exports.formatCurrency = __webpack_exports__.formatCurrency;
|
|
6584
7625
|
exports.fromCentsToDollars = __webpack_exports__.fromCentsToDollars;
|
|
6585
7626
|
exports.fromDollarsToCents = __webpack_exports__.fromDollarsToCents;
|
|
6586
7627
|
exports.generateMtaPaymentMethodAccountConfigForZepto = __webpack_exports__.generateMtaPaymentMethodAccountConfigForZepto;
|
|
6587
7628
|
exports.generateMtaPaymentMethodFloatAccountConfigForZepto = __webpack_exports__.generateMtaPaymentMethodFloatAccountConfigForZepto;
|
|
7629
|
+
exports.getPropertyName = __webpack_exports__.getPropertyName;
|
|
6588
7630
|
exports.getTransactionAmountStr = __webpack_exports__.getTransactionAmountStr;
|
|
6589
7631
|
exports.getTransactionNumber = __webpack_exports__.getTransactionNumber;
|
|
6590
7632
|
exports.getTransactionStatus = __webpack_exports__.getTransactionStatus;
|
|
7633
|
+
exports.intFilterSchema = __webpack_exports__.intFilterSchema;
|
|
7634
|
+
exports.isInterestTransaction = __webpack_exports__.isInterestTransaction;
|
|
6591
7635
|
exports.isPaymentTransaction = __webpack_exports__.isPaymentTransaction;
|
|
6592
7636
|
exports.isReceiptTransaction = __webpack_exports__.isReceiptTransaction;
|
|
6593
7637
|
exports.isTransactionAssignable = __webpack_exports__.isTransactionAssignable;
|
|
6594
7638
|
exports.isTransactionCancelable = __webpack_exports__.isTransactionCancelable;
|
|
6595
7639
|
exports.isUnknownReceiptAssignedToProperty = __webpack_exports__.isUnknownReceiptAssignedToProperty;
|
|
6596
7640
|
exports.isUnknownTransaction = __webpack_exports__.isUnknownTransaction;
|
|
7641
|
+
exports.markCmaTransactionAsClearedRestReqSchema = __webpack_exports__.markCmaTransactionAsClearedRestReqSchema;
|
|
7642
|
+
exports.maskBankAccount = __webpack_exports__.maskBankAccount;
|
|
7643
|
+
exports.maskBankAccountNumber = __webpack_exports__.maskBankAccountNumber;
|
|
7644
|
+
exports.maskBankBsb = __webpack_exports__.maskBankBsb;
|
|
6597
7645
|
exports.maskString = __webpack_exports__.maskString;
|
|
6598
7646
|
exports.menuRestResSchema = __webpack_exports__.menuRestResSchema;
|
|
6599
7647
|
exports.menuSchema = __webpack_exports__.menuSchema;
|
|
@@ -6613,87 +7661,187 @@ exports.mtaReconciledTransactionEntitySchema = __webpack_exports__.mtaReconciled
|
|
|
6613
7661
|
exports.mtaReconciledTransactionRestResSchema = __webpack_exports__.mtaReconciledTransactionRestResSchema;
|
|
6614
7662
|
exports.mtaReconciliationEntitySchema = __webpack_exports__.mtaReconciliationEntitySchema;
|
|
6615
7663
|
exports.mtaReconciliationRestResSchema = __webpack_exports__.mtaReconciliationRestResSchema;
|
|
7664
|
+
exports.mtaRestResBaseSchema = __webpack_exports__.mtaRestResBaseSchema;
|
|
6616
7665
|
exports.mtaRestResSchema = __webpack_exports__.mtaRestResSchema;
|
|
6617
7666
|
exports.mtaTransactionEntitySchema = __webpack_exports__.mtaTransactionEntitySchema;
|
|
7667
|
+
exports.mtaTransactionRestResBaseSchema = __webpack_exports__.mtaTransactionRestResBaseSchema;
|
|
6618
7668
|
exports.mtaTransactionRestResSchema = __webpack_exports__.mtaTransactionRestResSchema;
|
|
6619
7669
|
exports.paymentProviderEntitySchema = __webpack_exports__.paymentProviderEntitySchema;
|
|
7670
|
+
exports.payoutBankFileDownloadHistoryEntitySchema = __webpack_exports__.payoutBankFileDownloadHistoryEntitySchema;
|
|
7671
|
+
exports.payoutBankFileEntitySchema = __webpack_exports__.payoutBankFileEntitySchema;
|
|
7672
|
+
exports.payoutBankFileRestResSchema = __webpack_exports__.payoutBankFileRestResSchema;
|
|
7673
|
+
exports.payoutCmaSourceDetailsRestSchema = __webpack_exports__.payoutCmaSourceDetailsRestSchema;
|
|
7674
|
+
exports.payoutCmaTargetDetailsRestSchema = __webpack_exports__.payoutCmaTargetDetailsRestSchema;
|
|
6620
7675
|
exports.payoutDetailRestResSchema = __webpack_exports__.payoutDetailRestResSchema;
|
|
6621
7676
|
exports.payoutEntitySchema = __webpack_exports__.payoutEntitySchema;
|
|
6622
7677
|
exports.payoutItemReqSchema = __webpack_exports__.payoutItemReqSchema;
|
|
6623
7678
|
exports.payoutListRestResSchema = __webpack_exports__.payoutListRestResSchema;
|
|
7679
|
+
exports.payoutMtaSourceDetailsRestSchema = __webpack_exports__.payoutMtaSourceDetailsRestSchema;
|
|
7680
|
+
exports.payoutMtaToCmaProvisionDataEntitySchema = __webpack_exports__.payoutMtaToCmaProvisionDataEntitySchema;
|
|
7681
|
+
exports.payoutMtaToCmaRestResSchema = __webpack_exports__.payoutMtaToCmaRestResSchema;
|
|
7682
|
+
exports.payoutMtaToCmaTargetDetailsEntitySchema = __webpack_exports__.payoutMtaToCmaTargetDetailsEntitySchema;
|
|
7683
|
+
exports.payoutOtherProvisionDataEntitySchema = __webpack_exports__.payoutOtherProvisionDataEntitySchema;
|
|
7684
|
+
exports.payoutOtherTargetDetailsEntitySchema = __webpack_exports__.payoutOtherTargetDetailsEntitySchema;
|
|
7685
|
+
exports.payoutOtherTargetDetailsRestSchema = __webpack_exports__.payoutOtherTargetDetailsRestSchema;
|
|
6624
7686
|
exports.payoutPaymentItemSchema = __webpack_exports__.payoutPaymentItemSchema;
|
|
7687
|
+
exports.payoutProvisionDataEntitySchema = __webpack_exports__.payoutProvisionDataEntitySchema;
|
|
6625
7688
|
exports.payoutRestReqSchema = __webpack_exports__.payoutRestReqSchema;
|
|
7689
|
+
exports.payoutRestResBaseSchema = __webpack_exports__.payoutRestResBaseSchema;
|
|
6626
7690
|
exports.payoutRestResSchema = __webpack_exports__.payoutRestResSchema;
|
|
6627
|
-
exports.
|
|
6628
|
-
exports.
|
|
6629
|
-
exports.
|
|
7691
|
+
exports.payoutSearchRestReqSchema = __webpack_exports__.payoutSearchRestReqSchema;
|
|
7692
|
+
exports.payoutSourceDetailsEntitySchema = __webpack_exports__.payoutSourceDetailsEntitySchema;
|
|
7693
|
+
exports.payoutSourceDetailsRestResBaseSchema = __webpack_exports__.payoutSourceDetailsRestResBaseSchema;
|
|
7694
|
+
exports.payoutSourceDetailsRestSchema = __webpack_exports__.payoutSourceDetailsRestSchema;
|
|
7695
|
+
exports.payoutStatusSummaryRestResSchema = __webpack_exports__.payoutStatusSummaryRestResSchema;
|
|
7696
|
+
exports.payoutTargetDetailsBaseEntitySchema = __webpack_exports__.payoutTargetDetailsBaseEntitySchema;
|
|
7697
|
+
exports.payoutTargetDetailsEntitySchema = __webpack_exports__.payoutTargetDetailsEntitySchema;
|
|
7698
|
+
exports.payoutTargetDetailsRestResBaseSchema = __webpack_exports__.payoutTargetDetailsRestResBaseSchema;
|
|
7699
|
+
exports.payoutTargetDetailsRestSchema = __webpack_exports__.payoutTargetDetailsRestSchema;
|
|
7700
|
+
exports.payoutTransactionEntitySchema = __webpack_exports__.payoutTransactionEntitySchema;
|
|
7701
|
+
exports.payoutTransactionRestResSchema = __webpack_exports__.payoutTransactionRestResSchema;
|
|
6630
7702
|
exports.projectEntitySchema = __webpack_exports__.projectEntitySchema;
|
|
6631
7703
|
exports.projectMtaAllocationEntitySchema = __webpack_exports__.projectMtaAllocationEntitySchema;
|
|
6632
7704
|
exports.projectMtaAllocationRestResSchema = __webpack_exports__.projectMtaAllocationRestResSchema;
|
|
7705
|
+
exports.projectNestedEntitySchema = __webpack_exports__.projectNestedEntitySchema;
|
|
6633
7706
|
exports.projectRestResSchema = __webpack_exports__.projectRestResSchema;
|
|
7707
|
+
exports.propertyAccountsBalanceRestResSchema = __webpack_exports__.propertyAccountsBalanceRestResSchema;
|
|
6634
7708
|
exports.propertyEntitySchema = __webpack_exports__.propertyEntitySchema;
|
|
6635
|
-
exports.
|
|
7709
|
+
exports.propertyNestedEntitySchema = __webpack_exports__.propertyNestedEntitySchema;
|
|
7710
|
+
exports.propertyRestResBaseSchema = __webpack_exports__.propertyRestResBaseSchema;
|
|
6636
7711
|
exports.propertyRestResSchema = __webpack_exports__.propertyRestResSchema;
|
|
6637
|
-
exports.
|
|
7712
|
+
exports.propertySearchRestReqSchema = __webpack_exports__.propertySearchRestReqSchema;
|
|
7713
|
+
exports.reconcileCmaTransactionRestReqSchema = __webpack_exports__.reconcileCmaTransactionRestReqSchema;
|
|
6638
7714
|
exports.reconcileMtaTransactionRestReqSchema = __webpack_exports__.reconcileMtaTransactionRestReqSchema;
|
|
7715
|
+
exports.stateCodeSchema = __webpack_exports__.stateCodeSchema;
|
|
7716
|
+
exports.stringFilterSchema = __webpack_exports__.stringFilterSchema;
|
|
7717
|
+
exports.updateCmaAccountPeriodReconciledToRestReqSchema = __webpack_exports__.updateCmaAccountPeriodReconciledToRestReqSchema;
|
|
7718
|
+
exports.updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema = __webpack_exports__.updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema;
|
|
6639
7719
|
exports.updateMenuRestReqSchema = __webpack_exports__.updateMenuRestReqSchema;
|
|
6640
7720
|
exports.updateMtaAccountPeriodReconciledToRestReqSchema = __webpack_exports__.updateMtaAccountPeriodReconciledToRestReqSchema;
|
|
6641
7721
|
exports.updateMtaRestReqSchema = __webpack_exports__.updateMtaRestReqSchema;
|
|
6642
7722
|
exports.updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema = __webpack_exports__.updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema;
|
|
6643
7723
|
exports.userEntitySchema = __webpack_exports__.userEntitySchema;
|
|
7724
|
+
exports.userRestResSchema = __webpack_exports__.userRestResSchema;
|
|
6644
7725
|
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
6645
7726
|
"ASSIGN_UNKNOWN_TO_CUSTOMER",
|
|
7727
|
+
"AccountPeriodStatus",
|
|
6646
7728
|
"AccountingCommonStatus",
|
|
6647
7729
|
"AccountingCommonSyncStatus",
|
|
6648
7730
|
"AmmoZeptoBankAccounts",
|
|
6649
7731
|
"AmmoZeptoClient",
|
|
6650
|
-
"
|
|
6651
|
-
"
|
|
7732
|
+
"CmaPayoutTransactionType",
|
|
7733
|
+
"CmaReceiptTransactionType",
|
|
7734
|
+
"CmaStatus",
|
|
7735
|
+
"CmaTransactionInputType",
|
|
7736
|
+
"CmaTransactionPaymentMethod",
|
|
7737
|
+
"CmaTransactionStatus",
|
|
7738
|
+
"CmaTransactionStatusToDisplayTextMapper",
|
|
7739
|
+
"CmaTransactionType",
|
|
7740
|
+
"CmaTransactionTypeToDisplayTextMapper",
|
|
7741
|
+
"DEFAULT_PAYOUT_SOURCE_BANK_REF",
|
|
7742
|
+
"DEFAULT_PAYOUT_SOURCE_DESCRIPTION",
|
|
7743
|
+
"DEFAULT_PAYOUT_TARGET_BANK_REF",
|
|
7744
|
+
"DEFAULT_PAYOUT_TARGET_DESCRIPTION",
|
|
7745
|
+
"InputJsonValueSchema",
|
|
7746
|
+
"JsonNullableFilterSchema",
|
|
6652
7747
|
"MenuStatus",
|
|
6653
7748
|
"MenuType",
|
|
6654
|
-
"MtaAccountPeriodStatus",
|
|
6655
7749
|
"MtaPayoutTransactionType",
|
|
6656
7750
|
"MtaReceiptTransactionType",
|
|
6657
|
-
"MtaReconciliationStatus",
|
|
6658
7751
|
"MtaStatus",
|
|
6659
7752
|
"MtaTransactionInputType",
|
|
6660
7753
|
"MtaTransactionPaymentMethod",
|
|
7754
|
+
"MtaTransactionStatus",
|
|
7755
|
+
"MtaTransactionStatusToDisplayTextMapper",
|
|
6661
7756
|
"MtaTransactionType",
|
|
6662
7757
|
"MtaTransactionTypeToDisplayTextMapper",
|
|
7758
|
+
"PayoutBankFileStatus",
|
|
7759
|
+
"PayoutSourceAccountType",
|
|
7760
|
+
"PayoutStatus",
|
|
7761
|
+
"PayoutTargetAccountType",
|
|
7762
|
+
"PayoutType",
|
|
6663
7763
|
"ProjectApplyStatusRestRes",
|
|
6664
7764
|
"ProjectMtaAllocationStatus",
|
|
6665
7765
|
"PropertyRestResStatus",
|
|
6666
7766
|
"PropertyStage",
|
|
6667
7767
|
"ReconcileTransactionAction",
|
|
7768
|
+
"ReconciliationStatus",
|
|
7769
|
+
"StringFilterBaseSchema",
|
|
6668
7770
|
"TRANSACTION_CANCEL",
|
|
7771
|
+
"accountBsbMaskedSchema",
|
|
7772
|
+
"accountBsbValidationSchema",
|
|
7773
|
+
"accountNumberMaskedSchema",
|
|
7774
|
+
"accountNumberValidationSchema",
|
|
6669
7775
|
"allocateMtaToProjectRestReqSchema",
|
|
6670
7776
|
"approveMtaAllocationRestReqSchema",
|
|
6671
7777
|
"assignUnknownReceiptToPropertyRestReqSchema",
|
|
7778
|
+
"balanceRestResSchema",
|
|
7779
|
+
"bankCodeSchema",
|
|
6672
7780
|
"basePayoutItemShape",
|
|
7781
|
+
"bigIntFilterSchema",
|
|
7782
|
+
"boolFilterBaseSchema",
|
|
7783
|
+
"boolFilterSchema",
|
|
7784
|
+
"cancelCmaTransactionRestReqSchema",
|
|
6673
7785
|
"cancelMtaTransactionRestReqSchema",
|
|
7786
|
+
"cancelPayoutRestReqSchema",
|
|
7787
|
+
"centsToDollarsSchema",
|
|
7788
|
+
"cmaAccountPeriodCloseRestReqSchema",
|
|
7789
|
+
"cmaAccountPeriodClosingSummaryRestReqSchema",
|
|
7790
|
+
"cmaAccountPeriodClosingSummaryRestResSchema",
|
|
7791
|
+
"cmaAccountPeriodEntitySchema",
|
|
7792
|
+
"cmaAccountPeriodRestResBaseSchema",
|
|
7793
|
+
"cmaAccountPeriodRestResSchema",
|
|
7794
|
+
"cmaClosedAccountPeriodRestResSchema",
|
|
6674
7795
|
"cmaEntitySchema",
|
|
6675
|
-
"
|
|
7796
|
+
"cmaNestedEntitySchema",
|
|
7797
|
+
"cmaReconciledTransactionEntitySchema",
|
|
7798
|
+
"cmaReconciledTransactionRestResSchema",
|
|
7799
|
+
"cmaReconciliationEntitySchema",
|
|
7800
|
+
"cmaReconciliationRestResSchema",
|
|
7801
|
+
"cmaRestResBaseSchema",
|
|
7802
|
+
"cmaRestResSchema",
|
|
6676
7803
|
"cmaTransactionEntitySchema",
|
|
6677
|
-
"
|
|
7804
|
+
"cmaTransactionNestedSchema",
|
|
7805
|
+
"cmaTransactionRestResBaseSchema",
|
|
7806
|
+
"cmaTransactionRestResSchema",
|
|
7807
|
+
"cmaTransactionSearchRestReqSchema",
|
|
7808
|
+
"confirmBankFileProcessedRestReqSchema",
|
|
7809
|
+
"createCmaReconciliationRestReqSchema",
|
|
7810
|
+
"createCmaRestReqSchema",
|
|
7811
|
+
"createCmaTransactionRestReqSchema",
|
|
6678
7812
|
"createMenuRestReqSchema",
|
|
6679
7813
|
"createMtaReconciliationRestReqSchema",
|
|
6680
7814
|
"createMtaRestReqSchema",
|
|
7815
|
+
"createMtaToCmaPayoutRestReqSchema",
|
|
6681
7816
|
"createMtaTransactionRestReqSchema",
|
|
7817
|
+
"customerEntitySchema",
|
|
7818
|
+
"dateTimeFilterBaseSchema",
|
|
7819
|
+
"dateTimeFilterSchema",
|
|
6682
7820
|
"developerEntitySchema",
|
|
7821
|
+
"displayBankAccount",
|
|
7822
|
+
"dollarsToCentsSchema",
|
|
7823
|
+
"formatBankBsb",
|
|
6683
7824
|
"formatCurrency",
|
|
6684
7825
|
"fromCentsToDollars",
|
|
6685
7826
|
"fromDollarsToCents",
|
|
6686
7827
|
"generateMtaPaymentMethodAccountConfigForZepto",
|
|
6687
7828
|
"generateMtaPaymentMethodFloatAccountConfigForZepto",
|
|
7829
|
+
"getPropertyName",
|
|
6688
7830
|
"getTransactionAmountStr",
|
|
6689
7831
|
"getTransactionNumber",
|
|
6690
7832
|
"getTransactionStatus",
|
|
7833
|
+
"intFilterSchema",
|
|
7834
|
+
"isInterestTransaction",
|
|
6691
7835
|
"isPaymentTransaction",
|
|
6692
7836
|
"isReceiptTransaction",
|
|
6693
7837
|
"isTransactionAssignable",
|
|
6694
7838
|
"isTransactionCancelable",
|
|
6695
7839
|
"isUnknownReceiptAssignedToProperty",
|
|
6696
7840
|
"isUnknownTransaction",
|
|
7841
|
+
"markCmaTransactionAsClearedRestReqSchema",
|
|
7842
|
+
"maskBankAccount",
|
|
7843
|
+
"maskBankAccountNumber",
|
|
7844
|
+
"maskBankBsb",
|
|
6697
7845
|
"maskString",
|
|
6698
7846
|
"menuRestResSchema",
|
|
6699
7847
|
"menuSchema",
|
|
@@ -6713,34 +7861,67 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
|
6713
7861
|
"mtaReconciledTransactionRestResSchema",
|
|
6714
7862
|
"mtaReconciliationEntitySchema",
|
|
6715
7863
|
"mtaReconciliationRestResSchema",
|
|
7864
|
+
"mtaRestResBaseSchema",
|
|
6716
7865
|
"mtaRestResSchema",
|
|
6717
7866
|
"mtaTransactionEntitySchema",
|
|
7867
|
+
"mtaTransactionRestResBaseSchema",
|
|
6718
7868
|
"mtaTransactionRestResSchema",
|
|
6719
7869
|
"paymentProviderEntitySchema",
|
|
7870
|
+
"payoutBankFileDownloadHistoryEntitySchema",
|
|
7871
|
+
"payoutBankFileEntitySchema",
|
|
7872
|
+
"payoutBankFileRestResSchema",
|
|
7873
|
+
"payoutCmaSourceDetailsRestSchema",
|
|
7874
|
+
"payoutCmaTargetDetailsRestSchema",
|
|
6720
7875
|
"payoutDetailRestResSchema",
|
|
6721
7876
|
"payoutEntitySchema",
|
|
6722
7877
|
"payoutItemReqSchema",
|
|
6723
7878
|
"payoutListRestResSchema",
|
|
7879
|
+
"payoutMtaSourceDetailsRestSchema",
|
|
7880
|
+
"payoutMtaToCmaProvisionDataEntitySchema",
|
|
7881
|
+
"payoutMtaToCmaRestResSchema",
|
|
7882
|
+
"payoutMtaToCmaTargetDetailsEntitySchema",
|
|
7883
|
+
"payoutOtherProvisionDataEntitySchema",
|
|
7884
|
+
"payoutOtherTargetDetailsEntitySchema",
|
|
7885
|
+
"payoutOtherTargetDetailsRestSchema",
|
|
6724
7886
|
"payoutPaymentItemSchema",
|
|
7887
|
+
"payoutProvisionDataEntitySchema",
|
|
6725
7888
|
"payoutRestReqSchema",
|
|
7889
|
+
"payoutRestResBaseSchema",
|
|
6726
7890
|
"payoutRestResSchema",
|
|
6727
|
-
"
|
|
6728
|
-
"
|
|
6729
|
-
"
|
|
7891
|
+
"payoutSearchRestReqSchema",
|
|
7892
|
+
"payoutSourceDetailsEntitySchema",
|
|
7893
|
+
"payoutSourceDetailsRestResBaseSchema",
|
|
7894
|
+
"payoutSourceDetailsRestSchema",
|
|
7895
|
+
"payoutStatusSummaryRestResSchema",
|
|
7896
|
+
"payoutTargetDetailsBaseEntitySchema",
|
|
7897
|
+
"payoutTargetDetailsEntitySchema",
|
|
7898
|
+
"payoutTargetDetailsRestResBaseSchema",
|
|
7899
|
+
"payoutTargetDetailsRestSchema",
|
|
7900
|
+
"payoutTransactionEntitySchema",
|
|
7901
|
+
"payoutTransactionRestResSchema",
|
|
6730
7902
|
"projectEntitySchema",
|
|
6731
7903
|
"projectMtaAllocationEntitySchema",
|
|
6732
7904
|
"projectMtaAllocationRestResSchema",
|
|
7905
|
+
"projectNestedEntitySchema",
|
|
6733
7906
|
"projectRestResSchema",
|
|
7907
|
+
"propertyAccountsBalanceRestResSchema",
|
|
6734
7908
|
"propertyEntitySchema",
|
|
6735
|
-
"
|
|
7909
|
+
"propertyNestedEntitySchema",
|
|
7910
|
+
"propertyRestResBaseSchema",
|
|
6736
7911
|
"propertyRestResSchema",
|
|
6737
|
-
"
|
|
7912
|
+
"propertySearchRestReqSchema",
|
|
7913
|
+
"reconcileCmaTransactionRestReqSchema",
|
|
6738
7914
|
"reconcileMtaTransactionRestReqSchema",
|
|
7915
|
+
"stateCodeSchema",
|
|
7916
|
+
"stringFilterSchema",
|
|
7917
|
+
"updateCmaAccountPeriodReconciledToRestReqSchema",
|
|
7918
|
+
"updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema",
|
|
6739
7919
|
"updateMenuRestReqSchema",
|
|
6740
7920
|
"updateMtaAccountPeriodReconciledToRestReqSchema",
|
|
6741
7921
|
"updateMtaRestReqSchema",
|
|
6742
7922
|
"updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema",
|
|
6743
|
-
"userEntitySchema"
|
|
7923
|
+
"userEntitySchema",
|
|
7924
|
+
"userRestResSchema"
|
|
6744
7925
|
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
6745
7926
|
Object.defineProperty(exports, '__esModule', {
|
|
6746
7927
|
value: true
|