@mikemo-coposit/am-accounting-shared 0.0.4 → 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-transaction/cma-input-type.constant.d.ts +3 -1
- package/dist/cjs/constants/cma-transaction/cma-input-type.constant.d.ts.map +1 -1
- 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 +8 -8
- package/dist/cjs/constants/cma-transaction/cma-transaction-type.constant.d.ts.map +1 -1
- package/dist/cjs/constants/cma-transaction/index.d.ts +1 -0
- package/dist/cjs/constants/cma-transaction/index.d.ts.map +1 -1
- package/dist/cjs/constants/index.d.ts +2 -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 +1496 -784
- package/dist/cjs/schemas/cma/cma.entity.schema.d.ts +1053 -24
- package/dist/cjs/schemas/cma/cma.entity.schema.d.ts.map +1 -1
- 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 +4 -4
- package/dist/cjs/schemas/cma/index.d.ts +1 -1
- 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 +2 -2
- package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +1561 -2305
- package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/cma-account-period/cma-account-period.entity.schema.d.ts +10 -10
- package/dist/cjs/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +623 -570
- package/dist/cjs/schemas/cma-account-period/cma-account-period.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/cma-account-period/update-cma-period-reconciled-to.schema.d.ts +4 -4
- package/dist/cjs/schemas/cma-account-period/update-cma-period-reconciled-to.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.entity.schema.d.ts +8 -8
- package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +2210 -21
- package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.entity.schema.d.ts +12 -12
- package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts +24 -24
- package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts +2 -2
- package/dist/cjs/schemas/cma-reconciliation/update-cma-reconciliation-current-bank-balance.rest.schema.d.ts +2 -2
- package/dist/cjs/schemas/cma-reconciliation/update-cma-reconciliation-current-bank-balance.rest.schema.d.ts.map +1 -1
- 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 +1495 -12
- 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 +456 -826
- package/dist/cjs/schemas/cma-transaction/cma-transaction.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts +6 -6
- package/dist/cjs/schemas/cma-transaction/index.d.ts +2 -0
- package/dist/cjs/schemas/cma-transaction/index.d.ts.map +1 -1
- 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/developer/developer.enity.schema.d.ts +2 -2
- package/dist/cjs/schemas/index.d.ts +4 -0
- package/dist/cjs/schemas/index.d.ts.map +1 -1
- package/dist/cjs/schemas/mta/create-mta.rest.schema.d.ts +6 -6
- package/dist/cjs/schemas/mta/mta.entity.schema.d.ts +12 -12
- package/dist/cjs/schemas/mta/mta.rest.schema.d.ts +211 -426
- package/dist/cjs/schemas/mta/mta.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +1444 -2200
- 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 +8 -8
- package/dist/cjs/schemas/mta-account-period/mta-account-period.rest.schema.d.ts +215 -675
- 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 +24 -24
- 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 +8 -8
- package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +2036 -21
- 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 +10 -10
- 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/create-mta-transactionrest.schema.d.ts +8 -10
- 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 +15 -12
- 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 +439 -817
- 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 +401 -285
- package/dist/cjs/schemas/payout/payout.entity.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout/payout.rest.create.schema.d.ts +12 -26
- 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 +401 -110
- 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 +361 -114
- 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 +86 -6
- package/dist/cjs/schemas/project/project.entity.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/project/project.rest.schema.d.ts +218 -215
- package/dist/cjs/schemas/project/project.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/project-mta-allocation/project-mta-allocation.entity.schema.d.ts +2 -2
- package/dist/cjs/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts +72 -71
- 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 +7 -7
- package/dist/cjs/schemas/property/index.d.ts +1 -0
- package/dist/cjs/schemas/property/index.d.ts.map +1 -1
- package/dist/cjs/schemas/property/property-accounts-balance.rest.schema.d.ts +4 -4
- 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 +2479 -984
- 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 +4 -4
- 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.map +1 -1
- package/dist/esm/constants/cma-transaction/cma-input-type.constant.d.ts +3 -1
- package/dist/esm/constants/cma-transaction/cma-input-type.constant.d.ts.map +1 -1
- 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 +8 -8
- package/dist/esm/constants/cma-transaction/cma-transaction-type.constant.d.ts.map +1 -1
- package/dist/esm/constants/cma-transaction/index.d.ts +1 -0
- package/dist/esm/constants/cma-transaction/index.d.ts.map +1 -1
- package/dist/esm/constants/index.d.ts +2 -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 +1664 -1162
- package/dist/esm/schemas/cma/cma.entity.schema.d.ts +1053 -24
- package/dist/esm/schemas/cma/cma.entity.schema.d.ts.map +1 -1
- 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 +4 -4
- package/dist/esm/schemas/cma/index.d.ts +1 -1
- 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 +2 -2
- package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +1561 -2305
- package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/cma-account-period/cma-account-period.entity.schema.d.ts +10 -10
- package/dist/esm/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +623 -570
- package/dist/esm/schemas/cma-account-period/cma-account-period.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/cma-account-period/update-cma-period-reconciled-to.schema.d.ts +4 -4
- package/dist/esm/schemas/cma-account-period/update-cma-period-reconciled-to.schema.d.ts.map +1 -1
- package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.entity.schema.d.ts +8 -8
- package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +2210 -21
- package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.entity.schema.d.ts +12 -12
- package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts +24 -24
- package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts +2 -2
- package/dist/esm/schemas/cma-reconciliation/update-cma-reconciliation-current-bank-balance.rest.schema.d.ts +2 -2
- package/dist/esm/schemas/cma-reconciliation/update-cma-reconciliation-current-bank-balance.rest.schema.d.ts.map +1 -1
- 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 +1495 -12
- 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 +456 -826
- package/dist/esm/schemas/cma-transaction/cma-transaction.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts +6 -6
- package/dist/esm/schemas/cma-transaction/index.d.ts +2 -0
- package/dist/esm/schemas/cma-transaction/index.d.ts.map +1 -1
- 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/developer/developer.enity.schema.d.ts +2 -2
- package/dist/esm/schemas/index.d.ts +4 -0
- package/dist/esm/schemas/index.d.ts.map +1 -1
- package/dist/esm/schemas/mta/create-mta.rest.schema.d.ts +6 -6
- package/dist/esm/schemas/mta/mta.entity.schema.d.ts +12 -12
- package/dist/esm/schemas/mta/mta.rest.schema.d.ts +211 -426
- package/dist/esm/schemas/mta/mta.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +1444 -2200
- 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 +8 -8
- package/dist/esm/schemas/mta-account-period/mta-account-period.rest.schema.d.ts +215 -675
- 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 +24 -24
- 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 +8 -8
- package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +2036 -21
- 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 +10 -10
- 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/create-mta-transactionrest.schema.d.ts +8 -10
- 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 +15 -12
- 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 +439 -817
- 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 +401 -285
- package/dist/esm/schemas/payout/payout.entity.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout/payout.rest.create.schema.d.ts +12 -26
- 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 +401 -110
- 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 +361 -114
- 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 +86 -6
- package/dist/esm/schemas/project/project.entity.schema.d.ts.map +1 -1
- package/dist/esm/schemas/project/project.rest.schema.d.ts +218 -215
- package/dist/esm/schemas/project/project.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/project-mta-allocation/project-mta-allocation.entity.schema.d.ts +2 -2
- package/dist/esm/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts +72 -71
- 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 +7 -7
- package/dist/esm/schemas/property/index.d.ts +1 -0
- package/dist/esm/schemas/property/index.d.ts.map +1 -1
- package/dist/esm/schemas/property/property-accounts-balance.rest.schema.d.ts +4 -4
- 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 +2479 -984
- 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 +4 -4
- 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.map +1 -1
- package/package.json +5 -5
- 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-res.schema.d.ts +0 -333
- package/dist/cjs/schemas/cma/cma-res.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/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-res.schema.d.ts +0 -333
- package/dist/esm/schemas/cma/cma-res.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,135 +2616,205 @@ var __webpack_exports__ = {};
|
|
|
2616
2616
|
"use strict";
|
|
2617
2617
|
__webpack_require__.r(__webpack_exports__);
|
|
2618
2618
|
__webpack_require__.d(__webpack_exports__, {
|
|
2619
|
-
projectEntitySchema: ()=>projectEntitySchema,
|
|
2620
|
-
ReconcileTransactionAction: ()=>reconcile_transaction_action_constant_ReconcileTransactionAction,
|
|
2621
|
-
MtaReconciliationStatus: ()=>mta_reconciliation_constant_MtaReconciliationStatus,
|
|
2622
|
-
AmmoZeptoClient: ()=>AmmoZeptoClient,
|
|
2623
|
-
CmaReceiptTransactionType: ()=>CmaReceiptTransactionType,
|
|
2624
|
-
AccountPeriodStatus: ()=>account_period_constant_AccountPeriodStatus,
|
|
2625
|
-
propertyWithProjectRestResSchema: ()=>propertyWithProjectRestResSchema,
|
|
2626
|
-
paymentProviderEntitySchema: ()=>paymentProviderEntitySchema,
|
|
2627
|
-
customerEntitySchema: ()=>customerEntitySchema,
|
|
2628
|
-
isTransactionCancelable: ()=>isTransactionCancelable,
|
|
2629
|
-
MtaPayoutTransactionType: ()=>MtaPayoutTransactionType,
|
|
2630
|
-
MtaTransactionPaymentMethod: ()=>mta_payment_method_constant_MtaTransactionPaymentMethod,
|
|
2631
|
-
mtaPaymentMethodAccountConfigSchema: ()=>mtaPaymentMethodAccountConfigSchema,
|
|
2632
2619
|
getTransactionNumber: ()=>getTransactionNumber,
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
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,
|
|
2639
2629
|
cancelMtaTransactionRestReqSchema: ()=>cancelMtaTransactionRestReqSchema,
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
isUnknownTransaction: ()=>isUnknownTransaction,
|
|
2643
|
-
approveMtaAllocationRestReqSchema: ()=>approveMtaAllocationRestReqSchema,
|
|
2644
|
-
mtaAccountPeriodEntitySchema: ()=>mtaAccountPeriodEntitySchema,
|
|
2645
|
-
createMtaReconciliationRestReqSchema: ()=>createMtaReconciliationRestReqSchema,
|
|
2646
|
-
projectMtaAllocationRestResSchema: ()=>projectMtaAllocationRestResSchema,
|
|
2647
|
-
propertyEntitySchema: ()=>propertyEntitySchema,
|
|
2648
|
-
cmaReconciledTransactionRestResSchema: ()=>cmaReconciledTransactionRestResSchema,
|
|
2649
|
-
CmaTransactionInputType: ()=>cma_input_type_constant_CmaTransactionInputType,
|
|
2650
|
-
basePayoutItemShape: ()=>basePayoutItemShape,
|
|
2651
|
-
payoutTransactionSchema: ()=>payoutTransactionSchema,
|
|
2652
|
-
CmaStatus: ()=>CmaStatus,
|
|
2630
|
+
MenuStatus: ()=>MenuStatus,
|
|
2631
|
+
PayoutStatus: ()=>PayoutStatus,
|
|
2653
2632
|
mtaPaymentMethodRestResSchema: ()=>mtaPaymentMethodRestResSchema,
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2633
|
+
CmaReceiptTransactionType: ()=>CmaReceiptTransactionType,
|
|
2634
|
+
payoutTargetDetailsBaseEntitySchema: ()=>payoutTargetDetailsBaseEntitySchema,
|
|
2635
|
+
cmaReconciliationEntitySchema: ()=>cmaReconciliationEntitySchema,
|
|
2636
|
+
PayoutType: ()=>PayoutType,
|
|
2637
|
+
updateCmaAccountPeriodReconciledToRestReqSchema: ()=>updateCmaAccountPeriodReconciledToRestReqSchema,
|
|
2638
|
+
CmaTransactionInputType: ()=>cma_input_type_constant_CmaTransactionInputType,
|
|
2639
|
+
ReconcileTransactionAction: ()=>reconcile_transaction_action_constant_ReconcileTransactionAction,
|
|
2640
|
+
createCmaTransactionRestReqSchema: ()=>createCmaTransactionRestReqSchema,
|
|
2641
|
+
cmaAccountPeriodRestResSchema: ()=>cmaAccountPeriodRestResSchema,
|
|
2642
|
+
mtaReconciliationEntitySchema: ()=>mtaReconciliationEntitySchema,
|
|
2643
|
+
cmaReconciledTransactionEntitySchema: ()=>cmaReconciledTransactionEntitySchema,
|
|
2644
|
+
payoutTargetDetailsEntitySchema: ()=>payoutTargetDetailsEntitySchema,
|
|
2645
|
+
propertyNestedEntitySchema: ()=>propertyNestedEntitySchema,
|
|
2646
|
+
cmaTransactionNestedSchema: ()=>cmaTransactionNestedSchema,
|
|
2657
2647
|
AmmoZeptoBankAccounts: ()=>AmmoZeptoBankAccounts,
|
|
2658
|
-
|
|
2659
|
-
|
|
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,
|
|
2655
|
+
mtaTransactionRestResSchema: ()=>mtaTransactionRestResSchema,
|
|
2656
|
+
allocateMtaToProjectRestReqSchema: ()=>allocateMtaToProjectRestReqSchema,
|
|
2657
|
+
updateMtaAccountPeriodReconciledToRestReqSchema: ()=>updateMtaAccountPeriodReconciledToRestReqSchema,
|
|
2658
|
+
PayoutSourceAccountType: ()=>payout_constant_PayoutSourceAccountType,
|
|
2659
|
+
boolFilterSchema: ()=>boolFilterSchema,
|
|
2660
|
+
centsToDollarsSchema: ()=>centsToDollarsSchema,
|
|
2661
|
+
payoutRestReqSchema: ()=>payoutRestReqSchema,
|
|
2662
|
+
payoutBankFileDownloadHistoryEntitySchema: ()=>payoutBankFileDownloadHistoryEntitySchema,
|
|
2660
2663
|
formatCurrency: ()=>formatCurrency,
|
|
2661
|
-
|
|
2664
|
+
menuSchema: ()=>menuSchema,
|
|
2662
2665
|
getTransactionStatus: ()=>getTransactionStatus,
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2666
|
+
ASSIGN_UNKNOWN_TO_CUSTOMER: ()=>ASSIGN_UNKNOWN_TO_CUSTOMER,
|
|
2667
|
+
mtaReconciledTransactionRestResSchema: ()=>mtaReconciledTransactionRestResSchema,
|
|
2668
|
+
basePayoutItemShape: ()=>basePayoutItemShape,
|
|
2669
|
+
isReceiptTransaction: ()=>isReceiptTransaction,
|
|
2670
|
+
mtaEntitySchema: ()=>mtaEntitySchema,
|
|
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,
|
|
2687
|
+
mtaReconciliationRestResSchema: ()=>mtaReconciliationRestResSchema,
|
|
2688
|
+
createMtaReconciliationRestReqSchema: ()=>createMtaReconciliationRestReqSchema,
|
|
2689
|
+
MtaReceiptTransactionType: ()=>MtaReceiptTransactionType,
|
|
2690
|
+
projectNestedEntitySchema: ()=>projectNestedEntitySchema,
|
|
2691
|
+
propertyEntitySchema: ()=>propertyEntitySchema,
|
|
2692
|
+
intFilterSchema: ()=>intFilterSchema,
|
|
2693
|
+
payoutRestResSchema: ()=>payoutRestResSchema,
|
|
2694
|
+
reconcileCmaTransactionRestReqSchema: ()=>reconcileCmaTransactionRestReqSchema,
|
|
2695
|
+
MtaStatus: ()=>mta_MtaStatus,
|
|
2696
|
+
cmaRestResBaseSchema: ()=>cmaRestResBaseSchema,
|
|
2697
|
+
payoutTargetDetailsRestResBaseSchema: ()=>payoutTargetDetailsRestResBaseSchema,
|
|
2698
|
+
StringFilterBaseSchema: ()=>StringFilterBaseSchema,
|
|
2667
2699
|
cmaClosedAccountPeriodRestResSchema: ()=>cmaClosedAccountPeriodRestResSchema,
|
|
2700
|
+
payoutItemReqSchema: ()=>payoutItemReqSchema,
|
|
2668
2701
|
cmaReconciliationRestResSchema: ()=>cmaReconciliationRestResSchema,
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2702
|
+
mtaPaymentMethodEntitySchema: ()=>mtaPaymentMethodEntitySchema,
|
|
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,
|
|
2673
2718
|
propertyRestResSchema: ()=>propertyRestResSchema,
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
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,
|
|
2727
|
+
mtaAccountPeriodClosingSummaryRestResSchema: ()=>mtaAccountPeriodClosingSummaryRestResSchema,
|
|
2728
|
+
displayBankAccount: ()=>displayBankAccount,
|
|
2729
|
+
menuRestResSchema: ()=>menuRestResSchema,
|
|
2730
|
+
propertySearchRestReqSchema: ()=>propertySearchRestReqSchema,
|
|
2731
|
+
mtaTransactionEntitySchema: ()=>mtaTransactionEntitySchema,
|
|
2732
|
+
propertyRestResBaseSchema: ()=>propertyRestResBaseSchema,
|
|
2733
|
+
getTransactionAmountStr: ()=>getTransactionAmountStr,
|
|
2734
|
+
cmaAccountPeriodEntitySchema: ()=>cmaAccountPeriodEntitySchema,
|
|
2735
|
+
userEntitySchema: ()=>userEntitySchema,
|
|
2736
|
+
cmaAccountPeriodCloseRestReqSchema: ()=>cmaAccountPeriodCloseRestReqSchema,
|
|
2737
|
+
payoutOtherProvisionDataEntitySchema: ()=>payoutOtherProvisionDataEntitySchema,
|
|
2738
|
+
markCmaTransactionAsClearedRestReqSchema: ()=>markCmaTransactionAsClearedRestReqSchema,
|
|
2739
|
+
userRestResSchema: ()=>userRestResSchema,
|
|
2677
2740
|
payoutDetailRestResSchema: ()=>payoutDetailRestResSchema,
|
|
2678
2741
|
payoutPaymentItemSchema: ()=>payoutPaymentItemSchema,
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
mtaRestResSchema: ()=>mtaRestResSchema,
|
|
2685
|
-
generateMtaPaymentMethodAccountConfigForZepto: ()=>generateMtaPaymentMethodAccountConfigForZepto,
|
|
2686
|
-
payoutRestReqSchema: ()=>payoutRestReqSchema,
|
|
2687
|
-
MtaStatus: ()=>mta_MtaStatus,
|
|
2688
|
-
CmaTransactionTypeToDisplayTextMapper: ()=>CmaTransactionTypeToDisplayTextMapper,
|
|
2689
|
-
updateMenuRestReqSchema: ()=>updateMenuRestReqSchema,
|
|
2690
|
-
reconcileCmaTransactionRestReqSchema: ()=>reconcileCmaTransactionRestReqSchema,
|
|
2742
|
+
InputJsonValueSchema: ()=>InputJsonValueSchema,
|
|
2743
|
+
MtaPayoutTransactionType: ()=>MtaPayoutTransactionType,
|
|
2744
|
+
cmaTransactionRestResBaseSchema: ()=>cmaTransactionRestResBaseSchema,
|
|
2745
|
+
payoutSearchRestReqSchema: ()=>payoutSearchRestReqSchema,
|
|
2746
|
+
CmaTransactionStatusToDisplayTextMapper: ()=>CmaTransactionStatusToDisplayTextMapper,
|
|
2691
2747
|
updateMtaRestReqSchema: ()=>updateMtaRestReqSchema,
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
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,
|
|
2763
|
+
projectMtaAllocationEntitySchema: ()=>projectMtaAllocationEntitySchema,
|
|
2764
|
+
projectMtaAllocationRestResSchema: ()=>projectMtaAllocationRestResSchema,
|
|
2765
|
+
CmaTransactionPaymentMethod: ()=>cma_payment_method_constant_CmaTransactionPaymentMethod,
|
|
2697
2766
|
balanceRestResSchema: ()=>balanceRestResSchema,
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2767
|
+
bigIntFilterSchema: ()=>bigIntFilterSchema,
|
|
2768
|
+
payoutCmaSourceDetailsRestSchema: ()=>payoutCmaSourceDetailsRestSchema,
|
|
2769
|
+
projectRestResSchema: ()=>projectRestResSchema,
|
|
2770
|
+
mtaListItemRestResSchema: ()=>mtaListItemRestResSchema,
|
|
2771
|
+
MtaTransactionPaymentMethod: ()=>mta_payment_method_constant_MtaTransactionPaymentMethod,
|
|
2772
|
+
cmaReconciledTransactionRestResSchema: ()=>cmaReconciledTransactionRestResSchema,
|
|
2773
|
+
stateCodeSchema: ()=>stateCodeSchema,
|
|
2774
|
+
stringFilterSchema: ()=>stringFilterSchema,
|
|
2775
|
+
MtaTransactionStatusToDisplayTextMapper: ()=>MtaTransactionStatusToDisplayTextMapper,
|
|
2776
|
+
PropertyStage: ()=>PropertyStage,
|
|
2777
|
+
accountBsbValidationSchema: ()=>accountBsbValidationSchema,
|
|
2778
|
+
payoutRestResBaseSchema: ()=>payoutRestResBaseSchema,
|
|
2779
|
+
updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema: ()=>updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema,
|
|
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,
|
|
2705
2796
|
CmaPayoutTransactionType: ()=>CmaPayoutTransactionType,
|
|
2706
|
-
|
|
2797
|
+
MenuType: ()=>MenuType,
|
|
2798
|
+
ReconciliationStatus: ()=>reconciliation_constant_ReconciliationStatus,
|
|
2799
|
+
assignUnknownReceiptToPropertyRestReqSchema: ()=>assignUnknownReceiptToPropertyRestReqSchema,
|
|
2707
2800
|
fromCentsToDollars: ()=>fromCentsToDollars,
|
|
2708
|
-
fromDollarsToCents: ()=>fromDollarsToCents,
|
|
2709
|
-
updateMtaAccountPeriodReconciledToRestReqSchema: ()=>updateMtaAccountPeriodReconciledToRestReqSchema,
|
|
2710
|
-
mtaReconciliationRestResSchema: ()=>mtaReconciliationRestResSchema,
|
|
2711
|
-
ProjectMtaAllocationStatus: ()=>ProjectMtaAllocationStatus,
|
|
2712
|
-
cmaAccountPeriodClosingSummaryRestResSchema: ()=>cmaAccountPeriodClosingSummaryRestResSchema,
|
|
2713
|
-
propertyAccountsBalanceRestResSchema: ()=>propertyAccountsBalanceRestResSchema,
|
|
2714
|
-
updateCmaAccountPeriodReconciledToRestReqSchema: ()=>updateCmaAccountPeriodReconciledToRestReqSchema,
|
|
2715
|
-
generateMtaPaymentMethodFloatAccountConfigForZepto: ()=>generateMtaPaymentMethodFloatAccountConfigForZepto,
|
|
2716
|
-
ASSIGN_UNKNOWN_TO_CUSTOMER: ()=>ASSIGN_UNKNOWN_TO_CUSTOMER,
|
|
2717
|
-
cmaTransactionEntitySchema: ()=>cmaTransactionEntitySchema,
|
|
2718
|
-
developerEntitySchema: ()=>developerEntitySchema,
|
|
2719
2801
|
maskString: ()=>maskString,
|
|
2720
|
-
|
|
2721
|
-
CmaTransactionPaymentMethod: ()=>cma_payment_method_constant_CmaTransactionPaymentMethod,
|
|
2722
|
-
cmaAccountPeriodClosingSummaryRestReqSchema: ()=>cmaAccountPeriodClosingSummaryRestReqSchema,
|
|
2723
|
-
cmaReconciledTransactionEntitySchema: ()=>cmaReconciledTransactionEntitySchema,
|
|
2724
|
-
getTransactionAmountStr: ()=>getTransactionAmountStr,
|
|
2725
|
-
mtaAccountPeriodClosingSummaryRestReqSchema: ()=>mtaAccountPeriodClosingSummaryRestReqSchema,
|
|
2726
|
-
userEntitySchema: ()=>userEntitySchema,
|
|
2727
|
-
payoutSourceDetailsSchema: ()=>payoutSourceDetailsSchema,
|
|
2728
|
-
PropertyRestResStatus: ()=>PropertyRestResStatus,
|
|
2729
|
-
MenuStatus: ()=>MenuStatus,
|
|
2802
|
+
mtaAccountPeriodEntitySchema: ()=>mtaAccountPeriodEntitySchema,
|
|
2730
2803
|
mtaPaymentMethodFloatAccountConfigSchema: ()=>mtaPaymentMethodFloatAccountConfigSchema,
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
mtaListItemRestResSchema: ()=>mtaListItemRestResSchema,
|
|
2734
|
-
ReconciliationStatus: ()=>reconciliation_constant_ReconciliationStatus,
|
|
2735
|
-
createCmaTransactionRestReqSchema: ()=>createCmaTransactionRestReqSchema,
|
|
2804
|
+
mtaReconciledTransactionEntitySchema: ()=>mtaReconciledTransactionEntitySchema,
|
|
2805
|
+
isUnknownTransaction: ()=>isUnknownTransaction,
|
|
2736
2806
|
cmaEntitySchema: ()=>cmaEntitySchema,
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
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
|
|
2748
2818
|
});
|
|
2749
2819
|
var common_utils_namespaceObject = {};
|
|
2750
2820
|
__webpack_require__.r(common_utils_namespaceObject);
|
|
@@ -2760,20 +2830,32 @@ var __webpack_exports__ = {};
|
|
|
2760
2830
|
INACTIVE: 'inactive'
|
|
2761
2831
|
};
|
|
2762
2832
|
var cma_input_type_constant_CmaTransactionInputType = /*#__PURE__*/ function(CmaTransactionInputType) {
|
|
2763
|
-
CmaTransactionInputType["
|
|
2833
|
+
CmaTransactionInputType["MANUAL"] = "manual";
|
|
2834
|
+
CmaTransactionInputType["SYSTEM"] = "system";
|
|
2835
|
+
CmaTransactionInputType["FROM_PAYOUT"] = "from_payout";
|
|
2764
2836
|
return CmaTransactionInputType;
|
|
2765
2837
|
}({});
|
|
2766
2838
|
var cma_payment_method_constant_CmaTransactionPaymentMethod = /*#__PURE__*/ function(CmaTransactionPaymentMethod) {
|
|
2767
2839
|
CmaTransactionPaymentMethod["EFT"] = "EFT";
|
|
2768
2840
|
return CmaTransactionPaymentMethod;
|
|
2769
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
|
+
};
|
|
2770
2852
|
const CmaReceiptTransactionType = {
|
|
2771
2853
|
INTEREST: 'interest',
|
|
2772
|
-
|
|
2854
|
+
RECEIPT: 'receipt'
|
|
2773
2855
|
};
|
|
2774
2856
|
const CmaPayoutTransactionType = {
|
|
2775
2857
|
CMA_SETTLEMENT_PAYOUT: 'cma_settlement_payout',
|
|
2776
|
-
|
|
2858
|
+
CMA_REFUND_PAYOUT: 'cma_refund_payout'
|
|
2777
2859
|
};
|
|
2778
2860
|
const CmaTransactionType = {
|
|
2779
2861
|
...CmaReceiptTransactionType,
|
|
@@ -2782,9 +2864,9 @@ var __webpack_exports__ = {};
|
|
|
2782
2864
|
};
|
|
2783
2865
|
const CmaTransactionTypeToDisplayTextMapper = {
|
|
2784
2866
|
[CmaTransactionType.INTEREST]: 'Interest',
|
|
2785
|
-
[CmaTransactionType.
|
|
2867
|
+
[CmaTransactionType.RECEIPT]: 'Receipt',
|
|
2786
2868
|
[CmaTransactionType.CMA_SETTLEMENT_PAYOUT]: 'CMA Settlement Payout',
|
|
2787
|
-
[CmaTransactionType.
|
|
2869
|
+
[CmaTransactionType.CMA_REFUND_PAYOUT]: 'CMA Refund Payout',
|
|
2788
2870
|
[CmaTransactionType.TRANSACTION_CANCEL]: 'Transaction Cancel'
|
|
2789
2871
|
};
|
|
2790
2872
|
var account_period_constant_AccountPeriodStatus = /*#__PURE__*/ function(AccountPeriodStatus) {
|
|
@@ -2826,39 +2908,39 @@ var __webpack_exports__ = {};
|
|
|
2826
2908
|
MtaStatus["INACTIVE"] = "inactive";
|
|
2827
2909
|
return MtaStatus;
|
|
2828
2910
|
}({});
|
|
2829
|
-
var mta_account_period_constant_MtaAccountPeriodStatus = /*#__PURE__*/ function(MtaAccountPeriodStatus) {
|
|
2830
|
-
MtaAccountPeriodStatus["OPEN"] = "open";
|
|
2831
|
-
MtaAccountPeriodStatus["CLOSED"] = "closed";
|
|
2832
|
-
return MtaAccountPeriodStatus;
|
|
2833
|
-
}({});
|
|
2834
|
-
var mta_reconciliation_constant_MtaReconciliationStatus = /*#__PURE__*/ function(MtaReconciliationStatus) {
|
|
2835
|
-
MtaReconciliationStatus["FINAL_IN_ACCOUNT_PERIOD"] = "final-in-account-period";
|
|
2836
|
-
MtaReconciliationStatus["COMPLETED"] = "completed";
|
|
2837
|
-
return MtaReconciliationStatus;
|
|
2838
|
-
}({});
|
|
2839
2911
|
var mta_input_type_constant_MtaTransactionInputType = /*#__PURE__*/ function(MtaTransactionInputType) {
|
|
2840
2912
|
MtaTransactionInputType["UNKNOWN"] = "unknown";
|
|
2841
2913
|
MtaTransactionInputType["CUSTOMER"] = "customer";
|
|
2842
2914
|
MtaTransactionInputType["SYSTEM"] = "system";
|
|
2915
|
+
MtaTransactionInputType["PAYOUT"] = "payout";
|
|
2916
|
+
MtaTransactionInputType["MANUAL"] = "manual";
|
|
2843
2917
|
return MtaTransactionInputType;
|
|
2844
2918
|
}({});
|
|
2845
2919
|
var mta_payment_method_constant_MtaTransactionPaymentMethod = /*#__PURE__*/ function(MtaTransactionPaymentMethod) {
|
|
2846
2920
|
MtaTransactionPaymentMethod["EFT"] = "EFT";
|
|
2847
2921
|
return MtaTransactionPaymentMethod;
|
|
2848
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
|
+
};
|
|
2849
2933
|
const MtaReceiptTransactionType = {
|
|
2850
2934
|
UNKNOWN: 'unknown',
|
|
2851
2935
|
HOLDING_DEPOSIT: 'holding_deposit',
|
|
2852
2936
|
SIGNING_DEPOSIT: 'signing_deposit',
|
|
2853
|
-
WEEKLY_PAYMENT: 'weekly_payment'
|
|
2854
|
-
INTEREST: 'interest'
|
|
2937
|
+
WEEKLY_PAYMENT: 'weekly_payment'
|
|
2855
2938
|
};
|
|
2856
2939
|
const ASSIGN_UNKNOWN_TO_CUSTOMER = 'assign_unknown_to_customer';
|
|
2857
2940
|
const TRANSACTION_CANCEL = 'transaction_cancel';
|
|
2858
2941
|
const MtaPayoutTransactionType = {
|
|
2859
2942
|
TRUST_TO_CMA_PAYOUT: 'trust_to_cma_payout',
|
|
2860
2943
|
TRUST_SETTLEMENT_PAYOUT: 'trust_settlement_payout',
|
|
2861
|
-
CMA_SETTLEMENT_PAYOUT: 'cma_settlement_payout',
|
|
2862
2944
|
TRUST_REFUND_PAYOUT: 'trust_refund_payout',
|
|
2863
2945
|
UNKNOWN_PAYOUT: 'unknown_payout'
|
|
2864
2946
|
};
|
|
@@ -2873,15 +2955,71 @@ var __webpack_exports__ = {};
|
|
|
2873
2955
|
[MtaTransactionType.HOLDING_DEPOSIT]: 'Holding Deposit',
|
|
2874
2956
|
[MtaTransactionType.SIGNING_DEPOSIT]: 'Signing Deposit',
|
|
2875
2957
|
[MtaTransactionType.WEEKLY_PAYMENT]: 'Weekly Payment',
|
|
2876
|
-
[MtaTransactionType.INTEREST]: 'Interest',
|
|
2877
2958
|
[MtaTransactionType.TRUST_TO_CMA_PAYOUT]: 'Trust to CMA Payout',
|
|
2878
2959
|
[MtaTransactionType.TRUST_SETTLEMENT_PAYOUT]: 'Trust Settlement Payout',
|
|
2879
|
-
[MtaTransactionType.CMA_SETTLEMENT_PAYOUT]: 'CMA Settlement Payout',
|
|
2880
2960
|
[MtaTransactionType.TRUST_REFUND_PAYOUT]: 'Trust Refund Payout',
|
|
2881
2961
|
[MtaTransactionType.UNKNOWN_PAYOUT]: 'Unknown Payout',
|
|
2882
2962
|
[MtaTransactionType.ASSIGN_UNKNOWN_TO_CUSTOMER]: 'Assign Unknown',
|
|
2883
2963
|
[MtaTransactionType.TRANSACTION_CANCEL]: 'Cancel Transaction'
|
|
2884
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
|
+
};
|
|
2885
3023
|
const ProjectMtaAllocationStatus = {
|
|
2886
3024
|
PENDING_APPROVAL: 'pending_approval',
|
|
2887
3025
|
APPROVED: 'approved',
|
|
@@ -2900,65 +3038,84 @@ var __webpack_exports__ = {};
|
|
|
2900
3038
|
STANDARD_SALE: "standard_sale",
|
|
2901
3039
|
COPOSIT_SALE: "coposit_sale"
|
|
2902
3040
|
};
|
|
2903
|
-
const am_zshared_namespaceObject = require("@mikemo-coposit/am-zshared");
|
|
2904
3041
|
const external_zod_namespaceObject = require("zod");
|
|
2905
|
-
const
|
|
2906
|
-
if (!input) return '';
|
|
2907
|
-
const { visibleStart = 0, visibleEnd = 2, maskChar = '*' } = options;
|
|
2908
|
-
const length = input.length;
|
|
2909
|
-
if (length <= 2) return input;
|
|
2910
|
-
const maxVisible = length - 2;
|
|
2911
|
-
const actualVisibleStart = Math.min(visibleStart, maxVisible - visibleEnd);
|
|
2912
|
-
const actualVisibleEnd = Math.min(visibleEnd, maxVisible - actualVisibleStart);
|
|
2913
|
-
const start = input.slice(0, actualVisibleStart);
|
|
2914
|
-
const end = input.slice(-actualVisibleEnd);
|
|
2915
|
-
const masked = maskChar.repeat(length - actualVisibleStart - actualVisibleEnd);
|
|
2916
|
-
return start + masked + end;
|
|
2917
|
-
};
|
|
2918
|
-
const cmaEntitySchema = external_zod_namespaceObject.z.object({
|
|
3042
|
+
const cmaReconciledTransactionEntitySchema = external_zod_namespaceObject.z.object({
|
|
2919
3043
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
bankCode: external_zod_namespaceObject.z.string().nullable(),
|
|
2925
|
-
bsb: external_zod_namespaceObject.z.string().nullable(),
|
|
2926
|
-
accountNumber: external_zod_namespaceObject.z.string().nullable(),
|
|
2927
|
-
accountName: external_zod_namespaceObject.z.string().nullable(),
|
|
2928
|
-
propertyId: external_zod_namespaceObject.z.string(),
|
|
2929
|
-
balanceCents: external_zod_namespaceObject.z.bigint(),
|
|
2930
|
-
currentReceiveSeq: external_zod_namespaceObject.z.number().int(),
|
|
2931
|
-
currentPayoutSeq: external_zod_namespaceObject.z.number().int(),
|
|
2932
|
-
payoutId: external_zod_namespaceObject.z.number().int(),
|
|
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(),
|
|
2933
3048
|
status: external_zod_namespaceObject.z.string(),
|
|
2934
3049
|
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3050
|
+
createdBy: external_zod_namespaceObject.z.string(),
|
|
2935
3051
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
2936
|
-
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
const developerEntitySchema = external_zod_namespaceObject.z.object({
|
|
3052
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3053
|
+
});
|
|
3054
|
+
const cmaTransactionEntitySchema = external_zod_namespaceObject.z.object({
|
|
2940
3055
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
2941
|
-
|
|
3056
|
+
cmaId: external_zod_namespaceObject.z.string(),
|
|
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(),
|
|
3061
|
+
creditAmountCents: external_zod_namespaceObject.z.bigint(),
|
|
3062
|
+
debitAmountCents: external_zod_namespaceObject.z.bigint(),
|
|
3063
|
+
balanceCents: external_zod_namespaceObject.z.bigint(),
|
|
3064
|
+
createType: external_zod_namespaceObject.z.string(),
|
|
3065
|
+
bankRef: external_zod_namespaceObject.z.string().nullable(),
|
|
3066
|
+
description: external_zod_namespaceObject.z.string().nullable(),
|
|
3067
|
+
transactionType: external_zod_namespaceObject.z.string(),
|
|
2942
3068
|
status: external_zod_namespaceObject.z.string(),
|
|
3069
|
+
isCanceled: external_zod_namespaceObject.z.boolean(),
|
|
2943
3070
|
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3071
|
+
isRefunded: external_zod_namespaceObject.z.boolean(),
|
|
3072
|
+
clearedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
2944
3073
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
2945
|
-
syncedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
2946
|
-
updatedAt: 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()
|
|
2947
3082
|
});
|
|
2948
|
-
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({
|
|
2949
3091
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
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(),
|
|
2954
3103
|
status: external_zod_namespaceObject.z.string(),
|
|
2955
|
-
|
|
2956
|
-
|
|
3104
|
+
isRefunded: external_zod_namespaceObject.z.boolean(),
|
|
3105
|
+
isCanceled: external_zod_namespaceObject.z.boolean(),
|
|
2957
3106
|
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3107
|
+
clearedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
2958
3108
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3109
|
+
syncedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
2959
3110
|
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
2960
|
-
|
|
2961
|
-
|
|
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()
|
|
2962
3119
|
});
|
|
2963
3120
|
const mtaEntitySchema = external_zod_namespaceObject.z.object({
|
|
2964
3121
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
@@ -2980,130 +3137,21 @@ var __webpack_exports__ = {};
|
|
|
2980
3137
|
createdBy: external_zod_namespaceObject.z.string().nullable(),
|
|
2981
3138
|
updatedBy: external_zod_namespaceObject.z.string().nullable()
|
|
2982
3139
|
});
|
|
2983
|
-
const
|
|
2984
|
-
id: external_zod_namespaceObject.z.string().uuid(),
|
|
2985
|
-
name: external_zod_namespaceObject.z.string(),
|
|
2986
|
-
providerCode: external_zod_namespaceObject.z.string(),
|
|
2987
|
-
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
2988
|
-
settings: external_zod_namespaceObject.z.string(),
|
|
2989
|
-
status: external_zod_namespaceObject.z.string(),
|
|
2990
|
-
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
2991
|
-
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
2992
|
-
});
|
|
2993
|
-
const mtaPaymentMethodAccountConfigSchema = external_zod_namespaceObject.z.object({
|
|
2994
|
-
bsb: external_zod_namespaceObject.z.string(),
|
|
2995
|
-
accountNumber: external_zod_namespaceObject.z.string(),
|
|
2996
|
-
credential: external_zod_namespaceObject.z.object({
|
|
2997
|
-
bankAccountId: external_zod_namespaceObject.z.string()
|
|
2998
|
-
})
|
|
2999
|
-
});
|
|
3000
|
-
const mtaPaymentMethodFloatAccountConfigSchema = external_zod_namespaceObject.z.object({
|
|
3001
|
-
domainName: external_zod_namespaceObject.z.string().email(),
|
|
3002
|
-
credential: external_zod_namespaceObject.z.object({
|
|
3003
|
-
bankAccountId: external_zod_namespaceObject.z.string()
|
|
3004
|
-
})
|
|
3005
|
-
});
|
|
3006
|
-
const mtaPaymentMethodEntitySchema = external_zod_namespaceObject.z.object({
|
|
3140
|
+
const developerEntitySchema = external_zod_namespaceObject.z.object({
|
|
3007
3141
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3008
|
-
|
|
3009
|
-
paymentProviderId: external_zod_namespaceObject.z.string(),
|
|
3010
|
-
bankAccountId: external_zod_namespaceObject.z.string(),
|
|
3011
|
-
account: external_zod_namespaceObject.z.string(),
|
|
3012
|
-
floatAccount: external_zod_namespaceObject.z.string().nullable(),
|
|
3142
|
+
companyName: external_zod_namespaceObject.z.string().nullable(),
|
|
3013
3143
|
status: external_zod_namespaceObject.z.string(),
|
|
3014
3144
|
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3015
3145
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3146
|
+
syncedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3016
3147
|
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3017
3148
|
});
|
|
3018
|
-
const mtaPaymentMethodRestResSchema = mtaPaymentMethodEntitySchema.extend({
|
|
3019
|
-
paymentProvider: external_zod_namespaceObject.z.lazy(()=>paymentProviderEntitySchema).optional(),
|
|
3020
|
-
mta: external_zod_namespaceObject.z.lazy(()=>mtaEntitySchema).optional(),
|
|
3021
|
-
account: external_zod_namespaceObject.z.string().transform((val)=>{
|
|
3022
|
-
if ('string' == typeof val) return JSON.parse(val);
|
|
3023
|
-
return val;
|
|
3024
|
-
}).pipe(mtaPaymentMethodAccountConfigSchema),
|
|
3025
|
-
floatAccount: external_zod_namespaceObject.z.string().nullable().transform((val)=>{
|
|
3026
|
-
if ('string' == typeof val) return JSON.parse(val);
|
|
3027
|
-
return val;
|
|
3028
|
-
}).pipe(mtaPaymentMethodFloatAccountConfigSchema).nullish()
|
|
3029
|
-
}).strip();
|
|
3030
|
-
const mtaReconciliationEntitySchema = external_zod_namespaceObject.z.object({
|
|
3031
|
-
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3032
|
-
mtaAccountPeriodId: external_zod_namespaceObject.z.string(),
|
|
3033
|
-
mtaId: external_zod_namespaceObject.z.string(),
|
|
3034
|
-
closingBalanceCents: external_zod_namespaceObject.z.bigint().nullable(),
|
|
3035
|
-
reconciledTo: external_zod_namespaceObject.z.coerce.date(),
|
|
3036
|
-
reconciledAmountCents: external_zod_namespaceObject.z.bigint().nullable(),
|
|
3037
|
-
unreconciledAmountCents: external_zod_namespaceObject.z.bigint().nullable(),
|
|
3038
|
-
totalReconciledAmountCents: external_zod_namespaceObject.z.bigint().nullable(),
|
|
3039
|
-
bankStatementBalanceCents: external_zod_namespaceObject.z.bigint(),
|
|
3040
|
-
closingVarianceCents: external_zod_namespaceObject.z.bigint().nullable(),
|
|
3041
|
-
closedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
3042
|
-
createdBy: external_zod_namespaceObject.z.string(),
|
|
3043
|
-
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3044
|
-
updatedBy: external_zod_namespaceObject.z.string().nullable(),
|
|
3045
|
-
closedBy: external_zod_namespaceObject.z.string().nullable(),
|
|
3046
|
-
editable: external_zod_namespaceObject.z.boolean(),
|
|
3047
|
-
status: external_zod_namespaceObject.z.string(),
|
|
3048
|
-
isArchived: external_zod_namespaceObject.z.boolean()
|
|
3049
|
-
});
|
|
3050
|
-
const mtaReconciliationRestResSchema = mtaReconciliationEntitySchema.extend({
|
|
3051
|
-
closingBalanceCents: external_zod_namespaceObject.z.union([
|
|
3052
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3053
|
-
external_zod_namespaceObject.z.number()
|
|
3054
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish(),
|
|
3055
|
-
bankStatementBalanceCents: external_zod_namespaceObject.z.union([
|
|
3056
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3057
|
-
external_zod_namespaceObject.z.number()
|
|
3058
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()),
|
|
3059
|
-
closingVarianceCents: external_zod_namespaceObject.z.union([
|
|
3060
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3061
|
-
external_zod_namespaceObject.z.number()
|
|
3062
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish(),
|
|
3063
|
-
currentTrustBalanceCents: external_zod_namespaceObject.z.union([
|
|
3064
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3065
|
-
external_zod_namespaceObject.z.number()
|
|
3066
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish(),
|
|
3067
|
-
currentReconciledBalanceCents: external_zod_namespaceObject.z.union([
|
|
3068
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3069
|
-
external_zod_namespaceObject.z.number()
|
|
3070
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish(),
|
|
3071
|
-
currentVarianceCents: external_zod_namespaceObject.z.union([
|
|
3072
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3073
|
-
external_zod_namespaceObject.z.number()
|
|
3074
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish()
|
|
3075
|
-
});
|
|
3076
|
-
const mtaRestResSchema = mtaEntitySchema.extend({
|
|
3077
|
-
stateCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuStateCode),
|
|
3078
|
-
bankCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuTrustAccountBankCode),
|
|
3079
|
-
accountNumber: external_zod_namespaceObject.z.string().transform((arg)=>maskString(arg, {
|
|
3080
|
-
visibleStart: 0,
|
|
3081
|
-
visibleEnd: 2
|
|
3082
|
-
})),
|
|
3083
|
-
bsb: external_zod_namespaceObject.z.string().transform((arg)=>maskString(arg, {
|
|
3084
|
-
visibleStart: 0,
|
|
3085
|
-
visibleEnd: 3
|
|
3086
|
-
})?.replace(/^(\*+)(\d{3})$/, '$1-$2')),
|
|
3087
|
-
subsidiaryId: external_zod_namespaceObject.z.string(),
|
|
3088
|
-
balanceCents: external_zod_namespaceObject.z.union([
|
|
3089
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3090
|
-
external_zod_namespaceObject.z.number()
|
|
3091
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()),
|
|
3092
|
-
paymentMethods: external_zod_namespaceObject.z.lazy(()=>external_zod_namespaceObject.z.array(mtaPaymentMethodRestResSchema)).optional(),
|
|
3093
|
-
accountPeriods: external_zod_namespaceObject.z.lazy(()=>mtaAccountPeriodEntitySchema.array().optional())
|
|
3094
|
-
});
|
|
3095
|
-
const mtaListItemRestResSchema = mtaRestResSchema.omit({
|
|
3096
|
-
paymentMethods: true,
|
|
3097
|
-
accountPeriods: true
|
|
3098
|
-
}).extend({
|
|
3099
|
-
currentReconciliation: external_zod_namespaceObject.z.lazy(()=>mtaReconciliationRestResSchema).nullish()
|
|
3100
|
-
});
|
|
3101
3149
|
const projectEntitySchema = external_zod_namespaceObject.z.object({
|
|
3102
3150
|
id: external_zod_namespaceObject.z.string(),
|
|
3103
3151
|
name: external_zod_namespaceObject.z.string(),
|
|
3104
3152
|
developerId: external_zod_namespaceObject.z.string(),
|
|
3105
3153
|
mtaId: external_zod_namespaceObject.z.string().nullable(),
|
|
3106
|
-
state: external_zod_namespaceObject.z.
|
|
3154
|
+
state: external_zod_namespaceObject.z.string(),
|
|
3107
3155
|
type: external_zod_namespaceObject.z.string(),
|
|
3108
3156
|
status: external_zod_namespaceObject.z.string(),
|
|
3109
3157
|
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
@@ -3111,6 +3159,9 @@ var __webpack_exports__ = {};
|
|
|
3111
3159
|
syncedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3112
3160
|
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3113
3161
|
});
|
|
3162
|
+
const projectNestedEntitySchema = projectEntitySchema.extend({
|
|
3163
|
+
developer: developerEntitySchema.nullish()
|
|
3164
|
+
});
|
|
3114
3165
|
const customerEntitySchema = external_zod_namespaceObject.z.object({
|
|
3115
3166
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3116
3167
|
fullName: external_zod_namespaceObject.z.string().nullable(),
|
|
@@ -3141,61 +3192,124 @@ var __webpack_exports__ = {};
|
|
|
3141
3192
|
external_zod_namespaceObject.z.bigint(),
|
|
3142
3193
|
external_zod_namespaceObject.z.number()
|
|
3143
3194
|
]),
|
|
3144
|
-
stage: external_zod_namespaceObject.z.
|
|
3145
|
-
status: external_zod_namespaceObject.z.
|
|
3195
|
+
stage: external_zod_namespaceObject.z.string(),
|
|
3196
|
+
status: external_zod_namespaceObject.z.string(),
|
|
3146
3197
|
mtaId: external_zod_namespaceObject.z.string(),
|
|
3147
3198
|
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3148
3199
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3149
3200
|
syncedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3150
3201
|
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3151
3202
|
});
|
|
3152
|
-
const
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
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
|
+
});
|
|
3235
|
+
const maskString = (input, options = {})=>{
|
|
3236
|
+
if (!input) return '';
|
|
3237
|
+
const { visibleStart = 0, visibleEnd = 2, maskChar = '*' } = options;
|
|
3238
|
+
const length = input.length;
|
|
3239
|
+
if (length <= 2) return input;
|
|
3240
|
+
const maxVisible = length - 2;
|
|
3241
|
+
const actualVisibleStart = Math.min(visibleStart, maxVisible - visibleEnd);
|
|
3242
|
+
const actualVisibleEnd = Math.min(visibleEnd, maxVisible - actualVisibleStart);
|
|
3243
|
+
const start = input.slice(0, actualVisibleStart);
|
|
3244
|
+
const end = input.slice(-actualVisibleEnd);
|
|
3245
|
+
const masked = maskChar.repeat(length - actualVisibleStart - actualVisibleEnd);
|
|
3246
|
+
return start + masked + end;
|
|
3247
|
+
};
|
|
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'
|
|
3282
|
+
});
|
|
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'
|
|
3170
3286
|
});
|
|
3171
|
-
const
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
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))
|
|
3304
|
+
});
|
|
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())
|
|
3180
3312
|
});
|
|
3181
|
-
const cmaRestResSchema = cmaEntitySchema.extend({
|
|
3182
|
-
balanceCents: external_zod_namespaceObject.z.union([
|
|
3183
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3184
|
-
external_zod_namespaceObject.z.number()
|
|
3185
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()),
|
|
3186
|
-
stateCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuStateCode),
|
|
3187
|
-
bankCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuTrustAccountBankCode),
|
|
3188
|
-
accountNumber: external_zod_namespaceObject.z.string().transform((arg)=>maskString(arg, {
|
|
3189
|
-
visibleStart: 0,
|
|
3190
|
-
visibleEnd: 2
|
|
3191
|
-
})),
|
|
3192
|
-
bsb: external_zod_namespaceObject.z.string().transform((arg)=>maskString(arg, {
|
|
3193
|
-
visibleStart: 0,
|
|
3194
|
-
visibleEnd: 3
|
|
3195
|
-
})?.replace(/^(\*+)(\d{3})$/, '$1-$2')),
|
|
3196
|
-
status: external_zod_namespaceObject.z.nativeEnum(CmaStatus),
|
|
3197
|
-
property: external_zod_namespaceObject.z.lazy(()=>propertyWithProjectRestResSchema).nullish()
|
|
3198
|
-
}).strip();
|
|
3199
3313
|
const createCmaRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3200
3314
|
propertyId: external_zod_namespaceObject.z.string().uuid(),
|
|
3201
3315
|
accountName: external_zod_namespaceObject.z.string(),
|
|
@@ -3218,8 +3332,6 @@ var __webpack_exports__ = {};
|
|
|
3218
3332
|
]).transform((date)=>external_dayjs_default()(date).endOf('day').toDate()).pipe(external_zod_namespaceObject.z.date()),
|
|
3219
3333
|
closingDescription: external_zod_namespaceObject.z.string().optional()
|
|
3220
3334
|
});
|
|
3221
|
-
const fromCentsToDollars = (amount)=>Number(amount) / 100;
|
|
3222
|
-
const fromDollarsToCents = (amount)=>100n * BigInt(amount);
|
|
3223
3335
|
const cmaReconciliationEntitySchema = external_zod_namespaceObject.z.object({
|
|
3224
3336
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3225
3337
|
cmaAccountPeriodId: external_zod_namespaceObject.z.string(),
|
|
@@ -3241,30 +3353,12 @@ var __webpack_exports__ = {};
|
|
|
3241
3353
|
isArchived: external_zod_namespaceObject.z.boolean()
|
|
3242
3354
|
});
|
|
3243
3355
|
const cmaReconciliationRestResSchema = cmaReconciliationEntitySchema.extend({
|
|
3244
|
-
closingBalanceCents:
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
external_zod_namespaceObject.z.number()
|
|
3251
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()),
|
|
3252
|
-
closingVarianceCents: external_zod_namespaceObject.z.union([
|
|
3253
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3254
|
-
external_zod_namespaceObject.z.number()
|
|
3255
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish(),
|
|
3256
|
-
currentTrustBalanceCents: external_zod_namespaceObject.z.union([
|
|
3257
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3258
|
-
external_zod_namespaceObject.z.number()
|
|
3259
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish(),
|
|
3260
|
-
currentReconciledBalanceCents: external_zod_namespaceObject.z.union([
|
|
3261
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3262
|
-
external_zod_namespaceObject.z.number()
|
|
3263
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish(),
|
|
3264
|
-
currentVarianceCents: external_zod_namespaceObject.z.union([
|
|
3265
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3266
|
-
external_zod_namespaceObject.z.number()
|
|
3267
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish()
|
|
3356
|
+
closingBalanceCents: centsToDollarsSchema.nullish(),
|
|
3357
|
+
bankStatementBalanceCents: centsToDollarsSchema,
|
|
3358
|
+
closingVarianceCents: centsToDollarsSchema.nullish(),
|
|
3359
|
+
currentTrustBalanceCents: centsToDollarsSchema.nullish(),
|
|
3360
|
+
currentReconciledBalanceCents: centsToDollarsSchema.nullish(),
|
|
3361
|
+
currentVarianceCents: centsToDollarsSchema.nullish()
|
|
3268
3362
|
});
|
|
3269
3363
|
const formatCurrency = (amount, options)=>{
|
|
3270
3364
|
const { locale = 'en-AU', defaultValue = null, currency = 'AUD', style = 'currency', ...rest } = options || {};
|
|
@@ -3302,9 +3396,8 @@ var __webpack_exports__ = {};
|
|
|
3302
3396
|
return false;
|
|
3303
3397
|
};
|
|
3304
3398
|
const isInterestTransaction = (transaction)=>{
|
|
3305
|
-
const isMtaInterest = transaction.transactionType === MtaTransactionType.INTEREST;
|
|
3306
3399
|
const isCmaInterest = transaction.transactionType === CmaTransactionType.INTEREST;
|
|
3307
|
-
return
|
|
3400
|
+
return isCmaInterest;
|
|
3308
3401
|
};
|
|
3309
3402
|
const isTransactionCancelable = (transaction)=>{
|
|
3310
3403
|
const isUnkonwn = isUnknownTransaction(transaction);
|
|
@@ -3401,51 +3494,93 @@ var __webpack_exports__ = {};
|
|
|
3401
3494
|
closingDescription: external_zod_namespaceObject.z.string().nullable()
|
|
3402
3495
|
});
|
|
3403
3496
|
const cmaAccountPeriodRestResBaseSchema = cmaAccountPeriodEntitySchema.extend({
|
|
3404
|
-
openingBalanceCents:
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
external_zod_namespaceObject.z.number()
|
|
3411
|
-
]).nullish().transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number())
|
|
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))
|
|
3412
3503
|
});
|
|
3413
3504
|
const cmaAccountPeriodRestResSchema = cmaAccountPeriodRestResBaseSchema.extend({
|
|
3414
|
-
cma: external_zod_namespaceObject.z.lazy(()=>cmaRestResSchema).optional()
|
|
3415
|
-
reconciledAmountCents: external_zod_namespaceObject.z.union([
|
|
3416
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3417
|
-
external_zod_namespaceObject.z.number()
|
|
3418
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish(),
|
|
3419
|
-
totalReconciledAmountCents: external_zod_namespaceObject.z.union([
|
|
3420
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3421
|
-
external_zod_namespaceObject.z.number()
|
|
3422
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish(),
|
|
3423
|
-
unreconciledAmountCents: external_zod_namespaceObject.z.union([
|
|
3424
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3425
|
-
external_zod_namespaceObject.z.number()
|
|
3426
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish()
|
|
3505
|
+
cma: external_zod_namespaceObject.z.lazy(()=>cmaRestResSchema).optional()
|
|
3427
3506
|
});
|
|
3428
|
-
const cmaClosedAccountPeriodRestResSchema =
|
|
3429
|
-
cma: true
|
|
3430
|
-
}).extend({
|
|
3507
|
+
const cmaClosedAccountPeriodRestResSchema = cmaAccountPeriodEntitySchema.extend({
|
|
3431
3508
|
currentReconciliation: external_zod_namespaceObject.z.lazy(()=>cmaReconciliationRestResSchema).nullish()
|
|
3432
3509
|
});
|
|
3433
|
-
const
|
|
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({
|
|
3434
3566
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
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(),
|
|
3439
3573
|
status: external_zod_namespaceObject.z.string(),
|
|
3440
|
-
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3441
|
-
createdBy: external_zod_namespaceObject.z.string(),
|
|
3442
3574
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3443
|
-
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
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()
|
|
3449
3584
|
});
|
|
3450
3585
|
const userEntitySchema = external_zod_namespaceObject.z.object({
|
|
3451
3586
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
@@ -3464,57 +3599,47 @@ var __webpack_exports__ = {};
|
|
|
3464
3599
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3465
3600
|
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3466
3601
|
});
|
|
3467
|
-
const
|
|
3468
|
-
id:
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
clearedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
3484
|
-
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3485
|
-
syncedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
3486
|
-
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3487
|
-
sourceTransactionId: external_zod_namespaceObject.z.string().nullable(),
|
|
3488
|
-
cancelType: external_zod_namespaceObject.z.string().nullable(),
|
|
3489
|
-
canceledBy: external_zod_namespaceObject.z.string().nullable(),
|
|
3490
|
-
canceledAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
3491
|
-
canceledReason: external_zod_namespaceObject.z.string().nullable(),
|
|
3492
|
-
createdBy: external_zod_namespaceObject.z.string()
|
|
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;
|
|
3493
3618
|
});
|
|
3494
|
-
const
|
|
3495
|
-
creditAmountCents:
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
external_zod_namespaceObject.z.
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
external_zod_namespaceObject.z.
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
creator: external_zod_namespaceObject.z.lazy(()=>userEntitySchema).optional().nullish(),
|
|
3511
|
-
canceler: external_zod_namespaceObject.z.lazy(()=>userEntitySchema).optional().nullish(),
|
|
3512
|
-
property: external_zod_namespaceObject.z.lazy(()=>propertyRestResSchema.omit({
|
|
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,
|
|
3513
3635
|
mta: true,
|
|
3514
|
-
|
|
3515
|
-
|
|
3636
|
+
cmaTransactions: true,
|
|
3637
|
+
mtaTransactions: true
|
|
3638
|
+
})).nullish(),
|
|
3639
|
+
status: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(CmaTransactionStatus))
|
|
3516
3640
|
});
|
|
3517
|
-
const cmaTransactionRestResSchema =
|
|
3641
|
+
const cmaTransactionRestResSchema = cmaTransactionRestResBaseSchema.extend({
|
|
3642
|
+
cma: external_zod_namespaceObject.z.lazy(()=>cmaEntitySchema).nullish(),
|
|
3518
3643
|
sourceTransaction: external_zod_namespaceObject.z.lazy(()=>cmaTransactionRestResSchema).nullish(),
|
|
3519
3644
|
subsequentTransactions: external_zod_namespaceObject.z.lazy(()=>cmaTransactionRestResSchema.array()).nullish(),
|
|
3520
3645
|
reconciledTransactions: external_zod_namespaceObject.z.lazy(()=>cmaReconciledTransactionRestResSchema.array()).nullish(),
|
|
@@ -3523,7 +3648,8 @@ var __webpack_exports__ = {};
|
|
|
3523
3648
|
isReconciled: external_zod_namespaceObject.z.boolean().optional(),
|
|
3524
3649
|
isCancelable: external_zod_namespaceObject.z.boolean().nullish(),
|
|
3525
3650
|
amountStr: external_zod_namespaceObject.z.string().optional(),
|
|
3526
|
-
transactionNumber: external_zod_namespaceObject.z.string().optional()
|
|
3651
|
+
transactionNumber: external_zod_namespaceObject.z.string().optional(),
|
|
3652
|
+
payout: external_zod_namespaceObject.z.lazy(()=>payoutEntitySchema).nullish()
|
|
3527
3653
|
}).transform((obj)=>{
|
|
3528
3654
|
const { isReceipt, isPayment, amountStr, isCancelable, transactionNumber } = getTransactionStatus(obj);
|
|
3529
3655
|
return {
|
|
@@ -3608,13 +3734,18 @@ var __webpack_exports__ = {};
|
|
|
3608
3734
|
unreconciledTransactions: external_zod_namespaceObject.z.lazy(()=>cmaTransactionRestResSchema.array()).nullish()
|
|
3609
3735
|
})
|
|
3610
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());
|
|
3611
3742
|
const updateCmaAccountPeriodReconciledToRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3612
3743
|
cmaAccountPeriodId: external_zod_namespaceObject.z.string().uuid(),
|
|
3613
3744
|
reconciledTo: external_zod_namespaceObject.z.union([
|
|
3614
3745
|
external_zod_namespaceObject.z.string(),
|
|
3615
3746
|
external_zod_namespaceObject.z.date()
|
|
3616
3747
|
]).transform((arg)=>external_dayjs_default()(arg).endOf('day').toDate()),
|
|
3617
|
-
bankStatementBalanceCents:
|
|
3748
|
+
bankStatementBalanceCents: dollarsToCentsSchema,
|
|
3618
3749
|
lastUpdatedAt: external_zod_namespaceObject.z.union([
|
|
3619
3750
|
external_zod_namespaceObject.z.string().datetime(),
|
|
3620
3751
|
external_zod_namespaceObject.z.date()
|
|
@@ -3633,16 +3764,162 @@ var __webpack_exports__ = {};
|
|
|
3633
3764
|
});
|
|
3634
3765
|
const updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3635
3766
|
cmaReconciliationId: external_zod_namespaceObject.z.string().uuid(),
|
|
3636
|
-
bankStatementBalanceCents:
|
|
3637
|
-
external_zod_namespaceObject.z.number(),
|
|
3638
|
-
external_zod_namespaceObject.z.bigint()
|
|
3639
|
-
]).transform((arg)=>'bigint' == typeof arg ? arg : 100n * BigInt(arg)).pipe(external_zod_namespaceObject.z.bigint())
|
|
3767
|
+
bankStatementBalanceCents: dollarsToCentsSchema
|
|
3640
3768
|
});
|
|
3641
3769
|
const cancelCmaTransactionRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3642
3770
|
transactionId: external_zod_namespaceObject.z.string().uuid(),
|
|
3643
3771
|
description: external_zod_namespaceObject.z.string().transform((val)=>val.trim()).nullish(),
|
|
3644
3772
|
reason: external_zod_namespaceObject.z.string().transform((val)=>val.trim()).nullish()
|
|
3645
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
|
+
});
|
|
3646
3923
|
const createCmaTransactionRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3647
3924
|
amount: external_zod_namespaceObject.z.number().positive().transform((val)=>100n * BigInt(val)).pipe(external_zod_namespaceObject.z.bigint()),
|
|
3648
3925
|
clearedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
@@ -3659,13 +3936,58 @@ var __webpack_exports__ = {};
|
|
|
3659
3936
|
external_zod_namespaceObject.z.nativeEnum(cma_payment_method_constant_CmaTransactionPaymentMethod),
|
|
3660
3937
|
external_zod_namespaceObject.z.string().length(0)
|
|
3661
3938
|
]).transform((val)=>'' === val ? cma_payment_method_constant_CmaTransactionPaymentMethod.EFT : val).default(cma_payment_method_constant_CmaTransactionPaymentMethod.EFT),
|
|
3662
|
-
inputType: external_zod_namespaceObject.z.nativeEnum(cma_input_type_constant_CmaTransactionInputType).default(cma_input_type_constant_CmaTransactionInputType.
|
|
3939
|
+
inputType: external_zod_namespaceObject.z.nativeEnum(cma_input_type_constant_CmaTransactionInputType).default(cma_input_type_constant_CmaTransactionInputType.MANUAL)
|
|
3663
3940
|
});
|
|
3664
3941
|
const reconcileCmaTransactionRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3665
3942
|
cmaTransactionId: external_zod_namespaceObject.z.string().uuid(),
|
|
3666
3943
|
reconciliationId: external_zod_namespaceObject.z.string().uuid(),
|
|
3667
3944
|
action: external_zod_namespaceObject.z.nativeEnum(reconcile_transaction_action_constant_ReconcileTransactionAction)
|
|
3668
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
|
+
});
|
|
3669
3991
|
const createMenuRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3670
3992
|
parentId: external_zod_namespaceObject.z.string().optional(),
|
|
3671
3993
|
label: external_zod_namespaceObject.z.string(),
|
|
@@ -3679,48 +4001,152 @@ var __webpack_exports__ = {};
|
|
|
3679
4001
|
sort: external_zod_namespaceObject.z.number().optional().default(99),
|
|
3680
4002
|
status: external_zod_namespaceObject.z.nativeEnum(MenuStatus).default(MenuStatus.ACTIVE)
|
|
3681
4003
|
});
|
|
3682
|
-
const menuSchema = external_zod_namespaceObject.z.object({
|
|
3683
|
-
id: external_zod_namespaceObject.z.string(),
|
|
3684
|
-
parentId: external_zod_namespaceObject.z.string().nullish(),
|
|
3685
|
-
label: external_zod_namespaceObject.z.string(),
|
|
3686
|
-
title: external_zod_namespaceObject.z.string().nullish(),
|
|
3687
|
-
section: external_zod_namespaceObject.z.string().nullish(),
|
|
3688
|
-
icon: external_zod_namespaceObject.z.string().nullish(),
|
|
3689
|
-
path: external_zod_namespaceObject.z.string().nullish(),
|
|
3690
|
-
absolutePath: external_zod_namespaceObject.z.string().nullish(),
|
|
3691
|
-
type: external_zod_namespaceObject.z.nativeEnum(MenuType),
|
|
3692
|
-
permissionKey: external_zod_namespaceObject.z.string().nullish(),
|
|
3693
|
-
sort: external_zod_namespaceObject.z.number().nullish(),
|
|
3694
|
-
show: external_zod_namespaceObject.z.boolean().nullish(),
|
|
3695
|
-
status: external_zod_namespaceObject.z.nativeEnum(MenuStatus),
|
|
3696
|
-
createdAt: external_zod_namespaceObject.z.date(),
|
|
3697
|
-
updatedAt: external_zod_namespaceObject.z.date(),
|
|
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({
|
|
4048
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
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(),
|
|
4057
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4058
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4059
|
+
mtaId: external_zod_namespaceObject.z.string(),
|
|
4060
|
+
closingDescription: external_zod_namespaceObject.z.string().nullable()
|
|
4061
|
+
});
|
|
4062
|
+
const paymentProviderEntitySchema = external_zod_namespaceObject.z.object({
|
|
4063
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
4064
|
+
name: external_zod_namespaceObject.z.string(),
|
|
4065
|
+
providerCode: external_zod_namespaceObject.z.string(),
|
|
4066
|
+
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
4067
|
+
settings: external_zod_namespaceObject.z.string(),
|
|
4068
|
+
status: external_zod_namespaceObject.z.string(),
|
|
4069
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4070
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
4071
|
+
});
|
|
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
|
+
})
|
|
4078
|
+
});
|
|
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({
|
|
4086
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
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(),
|
|
4093
|
+
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
4094
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
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(),
|
|
3698
4127
|
isArchived: external_zod_namespaceObject.z.boolean()
|
|
3699
4128
|
});
|
|
3700
|
-
const
|
|
3701
|
-
|
|
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()
|
|
3702
4136
|
});
|
|
3703
|
-
const
|
|
3704
|
-
|
|
4137
|
+
const mtaRestResBaseSchema = mtaEntitySchema.extend({
|
|
4138
|
+
stateCode: stateCodeSchema,
|
|
4139
|
+
bankCode: bankCodeSchema,
|
|
4140
|
+
accountNumber: accountNumberMaskedSchema,
|
|
4141
|
+
bsb: accountBsbMaskedSchema,
|
|
4142
|
+
balanceCents: centsToDollarsSchema
|
|
3705
4143
|
});
|
|
3706
|
-
const
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
bankCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuTrustAccountBankCode),
|
|
3713
|
-
bsb: external_zod_namespaceObject.z.string().length(6).regex(/^\d+$/, {
|
|
3714
|
-
message: 'BSB must be all digits'
|
|
3715
|
-
}),
|
|
3716
|
-
accountNumber: external_zod_namespaceObject.z.string().min(6).max(10).regex(/^\d+$/, {
|
|
3717
|
-
message: 'Account number must be all digits'
|
|
3718
|
-
}),
|
|
3719
|
-
directDebitBankAccountId: external_zod_namespaceObject.z.string().uuid(),
|
|
3720
|
-
directDebitProviderCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.PaymentProviderCode),
|
|
3721
|
-
payIdBankAccountId: external_zod_namespaceObject.z.string().uuid(),
|
|
3722
|
-
payIdProviderCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.PaymentProviderCode),
|
|
3723
|
-
zeptoBankAccountId: external_zod_namespaceObject.z.string().uuid()
|
|
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()
|
|
3724
4150
|
});
|
|
3725
4151
|
const updateMtaRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3726
4152
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
@@ -3736,33 +4162,17 @@ var __webpack_exports__ = {};
|
|
|
3736
4162
|
closingDescription: external_zod_namespaceObject.z.string().optional()
|
|
3737
4163
|
});
|
|
3738
4164
|
const mtaAccountPeriodRestResBaseSchema = mtaAccountPeriodEntitySchema.extend({
|
|
3739
|
-
openingBalanceCents:
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
external_zod_namespaceObject.z.number()
|
|
3746
|
-
]).nullish().transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number())
|
|
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))
|
|
3747
4171
|
});
|
|
3748
4172
|
const mtaAccountPeriodRestResSchema = mtaAccountPeriodRestResBaseSchema.extend({
|
|
3749
|
-
mta: external_zod_namespaceObject.z.lazy(()=>mtaRestResSchema).optional()
|
|
3750
|
-
reconciledAmountCents: external_zod_namespaceObject.z.union([
|
|
3751
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3752
|
-
external_zod_namespaceObject.z.number()
|
|
3753
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish(),
|
|
3754
|
-
totalReconciledAmountCents: external_zod_namespaceObject.z.union([
|
|
3755
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3756
|
-
external_zod_namespaceObject.z.number()
|
|
3757
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish(),
|
|
3758
|
-
unreconciledAmountCents: external_zod_namespaceObject.z.union([
|
|
3759
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3760
|
-
external_zod_namespaceObject.z.number()
|
|
3761
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number()).nullish()
|
|
4173
|
+
mta: external_zod_namespaceObject.z.lazy(()=>mtaRestResSchema).optional()
|
|
3762
4174
|
});
|
|
3763
|
-
const mtaClosedAccountPeriodRestResSchema =
|
|
3764
|
-
mta: true
|
|
3765
|
-
}).extend({
|
|
4175
|
+
const mtaClosedAccountPeriodRestResSchema = mtaAccountPeriodEntitySchema.extend({
|
|
3766
4176
|
currentReconciliation: external_zod_namespaceObject.z.lazy(()=>mtaReconciliationRestResSchema).nullish()
|
|
3767
4177
|
});
|
|
3768
4178
|
const mtaReconciledTransactionEntitySchema = external_zod_namespaceObject.z.object({
|
|
@@ -3777,64 +4187,33 @@ var __webpack_exports__ = {};
|
|
|
3777
4187
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3778
4188
|
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3779
4189
|
});
|
|
3780
|
-
const
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
accountPeriod: external_zod_namespaceObject.z.lazy(()=>mtaAccountPeriodRestResSchema).nullish()
|
|
3784
|
-
});
|
|
3785
|
-
const mtaTransactionEntitySchema = external_zod_namespaceObject.z.object({
|
|
3786
|
-
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3787
|
-
referenceId: external_zod_namespaceObject.z.string().nullable(),
|
|
3788
|
-
sequence: external_zod_namespaceObject.z.number().int(),
|
|
3789
|
-
mtaId: external_zod_namespaceObject.z.string(),
|
|
3790
|
-
propertyId: external_zod_namespaceObject.z.string().nullable(),
|
|
3791
|
-
inputType: external_zod_namespaceObject.z.string(),
|
|
3792
|
-
transactionType: external_zod_namespaceObject.z.string(),
|
|
3793
|
-
creditAmountCents: external_zod_namespaceObject.z.bigint(),
|
|
3794
|
-
debitAmountCents: external_zod_namespaceObject.z.bigint(),
|
|
3795
|
-
balanceCents: external_zod_namespaceObject.z.bigint(),
|
|
3796
|
-
bankRef: external_zod_namespaceObject.z.string().nullable(),
|
|
3797
|
-
description: external_zod_namespaceObject.z.string().nullable(),
|
|
3798
|
-
status: external_zod_namespaceObject.z.string(),
|
|
3799
|
-
isRefunded: external_zod_namespaceObject.z.boolean(),
|
|
3800
|
-
isCanceled: external_zod_namespaceObject.z.boolean(),
|
|
3801
|
-
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3802
|
-
clearedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
3803
|
-
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3804
|
-
syncedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3805
|
-
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3806
|
-
note: external_zod_namespaceObject.z.string().nullable(),
|
|
3807
|
-
sourceTransactionId: external_zod_namespaceObject.z.string().nullable(),
|
|
3808
|
-
cancelType: external_zod_namespaceObject.z.string().nullable(),
|
|
3809
|
-
canceledBy: external_zod_namespaceObject.z.string().nullable(),
|
|
3810
|
-
canceledAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
3811
|
-
canceledReason: external_zod_namespaceObject.z.string().nullable(),
|
|
3812
|
-
createdBy: external_zod_namespaceObject.z.string().uuid().nullable()
|
|
4190
|
+
const mtaReconciledTransactionRestResSchema = mtaReconciledTransactionEntitySchema.extend({
|
|
4191
|
+
mtaTransaction: external_zod_namespaceObject.z.lazy(()=>mtaTransactionRestResSchema).optional(),
|
|
4192
|
+
accountPeriod: external_zod_namespaceObject.z.lazy(()=>mtaAccountPeriodRestResSchema).optional()
|
|
3813
4193
|
});
|
|
3814
|
-
const
|
|
3815
|
-
creditAmountCents:
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
canceler: external_zod_namespaceObject.z.lazy(()=>userEntitySchema).optional().nullish(),
|
|
3832
|
-
property: external_zod_namespaceObject.z.lazy(()=>propertyRestResSchema.omit({
|
|
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,
|
|
3833
4211
|
mta: true,
|
|
3834
|
-
|
|
3835
|
-
|
|
4212
|
+
cmaTransactions: true,
|
|
4213
|
+
mtaTransactions: true
|
|
4214
|
+
})).nullish()
|
|
3836
4215
|
});
|
|
3837
|
-
const mtaTransactionRestResSchema =
|
|
4216
|
+
const mtaTransactionRestResSchema = mtaTransactionRestResBaseSchema.extend({
|
|
3838
4217
|
mta: external_zod_namespaceObject.z.lazy(()=>mtaRestResSchema).nullish(),
|
|
3839
4218
|
sourceTransaction: external_zod_namespaceObject.z.lazy(()=>mtaTransactionRestResSchema).nullish(),
|
|
3840
4219
|
subsequentTransactions: external_zod_namespaceObject.z.lazy(()=>mtaTransactionRestResSchema.array()).nullish(),
|
|
@@ -3940,17 +4319,14 @@ var __webpack_exports__ = {};
|
|
|
3940
4319
|
external_zod_namespaceObject.z.string(),
|
|
3941
4320
|
external_zod_namespaceObject.z.date()
|
|
3942
4321
|
]).transform((arg)=>external_dayjs_default()(arg).endOf('day').toDate()),
|
|
3943
|
-
bankStatementBalanceCents:
|
|
4322
|
+
bankStatementBalanceCents: dollarsToCentsSchema,
|
|
3944
4323
|
lastUpdatedAt: external_zod_namespaceObject.z.union([
|
|
3945
4324
|
external_zod_namespaceObject.z.string().datetime(),
|
|
3946
4325
|
external_zod_namespaceObject.z.date()
|
|
3947
4326
|
]).pipe(external_zod_namespaceObject.z.coerce.date())
|
|
3948
4327
|
});
|
|
3949
4328
|
const createMtaReconciliationRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3950
|
-
bankStatementBalanceCents:
|
|
3951
|
-
external_zod_namespaceObject.z.bigint(),
|
|
3952
|
-
external_zod_namespaceObject.z.number()
|
|
3953
|
-
]).transform((arg)=>100n * BigInt(arg)).pipe(external_zod_namespaceObject.z.bigint()),
|
|
4329
|
+
bankStatementBalanceCents: dollarsToCentsSchema,
|
|
3954
4330
|
reconciledTo: external_zod_namespaceObject.z.union([
|
|
3955
4331
|
external_zod_namespaceObject.z.string(),
|
|
3956
4332
|
external_zod_namespaceObject.z.date()
|
|
@@ -3959,10 +4335,7 @@ var __webpack_exports__ = {};
|
|
|
3959
4335
|
});
|
|
3960
4336
|
const updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3961
4337
|
mtaReconciliationId: external_zod_namespaceObject.z.string().uuid(),
|
|
3962
|
-
bankStatementBalanceCents:
|
|
3963
|
-
external_zod_namespaceObject.z.number(),
|
|
3964
|
-
external_zod_namespaceObject.z.bigint()
|
|
3965
|
-
]).transform((arg)=>'bigint' == typeof arg ? arg : 100n * BigInt(arg)).pipe(external_zod_namespaceObject.z.bigint())
|
|
4338
|
+
bankStatementBalanceCents: dollarsToCentsSchema
|
|
3966
4339
|
});
|
|
3967
4340
|
const assignUnknownReceiptToPropertyRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3968
4341
|
mtaTransactionId: external_zod_namespaceObject.z.string().uuid(),
|
|
@@ -4013,79 +4386,97 @@ var __webpack_exports__ = {};
|
|
|
4013
4386
|
reconciliationId: external_zod_namespaceObject.z.string().uuid(),
|
|
4014
4387
|
action: external_zod_namespaceObject.z.nativeEnum(reconcile_transaction_action_constant_ReconcileTransactionAction)
|
|
4015
4388
|
});
|
|
4016
|
-
const
|
|
4017
|
-
sourceAccountId: external_zod_namespaceObject.z.string(),
|
|
4018
|
-
transactionType: external_zod_namespaceObject.z.string(),
|
|
4019
|
-
creditAmountCents: external_zod_namespaceObject.z.union([
|
|
4020
|
-
external_zod_namespaceObject.z.bigint(),
|
|
4021
|
-
external_zod_namespaceObject.z.number(),
|
|
4022
|
-
external_zod_namespaceObject.z.string().regex(/^\d+$/).transform((val)=>BigInt(val))
|
|
4023
|
-
]),
|
|
4024
|
-
debitAmountCents: external_zod_namespaceObject.z.union([
|
|
4025
|
-
external_zod_namespaceObject.z.bigint(),
|
|
4026
|
-
external_zod_namespaceObject.z.number(),
|
|
4027
|
-
external_zod_namespaceObject.z.string().regex(/^\d+$/).transform((val)=>BigInt(val))
|
|
4028
|
-
]),
|
|
4029
|
-
description: external_zod_namespaceObject.z.string().nullable().optional()
|
|
4030
|
-
}).catchall(external_zod_namespaceObject.z.unknown());
|
|
4031
|
-
const payoutTargetDetailsSchema = external_zod_namespaceObject.z.object({
|
|
4032
|
-
toAccountId: external_zod_namespaceObject.z.string(),
|
|
4033
|
-
toAccountType: external_zod_namespaceObject.z.string(),
|
|
4034
|
-
propertyId: external_zod_namespaceObject.z.string().nullable().optional(),
|
|
4035
|
-
creditAmountCents: external_zod_namespaceObject.z.union([
|
|
4036
|
-
external_zod_namespaceObject.z.bigint(),
|
|
4037
|
-
external_zod_namespaceObject.z.number()
|
|
4038
|
-
]),
|
|
4039
|
-
debitAmountCents: external_zod_namespaceObject.z.union([
|
|
4040
|
-
external_zod_namespaceObject.z.bigint(),
|
|
4041
|
-
external_zod_namespaceObject.z.number()
|
|
4042
|
-
]),
|
|
4043
|
-
description: external_zod_namespaceObject.z.string().optional(),
|
|
4044
|
-
createdBy: external_zod_namespaceObject.z.string().nullable().optional()
|
|
4045
|
-
}).catchall(external_zod_namespaceObject.z.unknown());
|
|
4046
|
-
const provisionDetailsSchema = external_zod_namespaceObject.z.object({
|
|
4047
|
-
sourceDetails: payoutSourceDetailsSchema,
|
|
4048
|
-
targetDetails: external_zod_namespaceObject.z.array(payoutTargetDetailsSchema)
|
|
4049
|
-
});
|
|
4050
|
-
const payoutEntitySchema = external_zod_namespaceObject.z.object({
|
|
4051
|
-
id: external_zod_namespaceObject.z.string().uuid(),
|
|
4052
|
-
sequence: external_zod_namespaceObject.z.number().int(),
|
|
4053
|
-
payoutType: external_zod_namespaceObject.z.string(),
|
|
4054
|
-
sourceAccountType: external_zod_namespaceObject.z.string(),
|
|
4055
|
-
sourceAccountId: external_zod_namespaceObject.z.string(),
|
|
4056
|
-
amountCents: external_zod_namespaceObject.z.union([
|
|
4057
|
-
external_zod_namespaceObject.z.bigint(),
|
|
4058
|
-
external_zod_namespaceObject.z.number()
|
|
4059
|
-
]),
|
|
4060
|
-
status: external_zod_namespaceObject.z.string(),
|
|
4061
|
-
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4062
|
-
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4063
|
-
createdBy: external_zod_namespaceObject.z.string(),
|
|
4064
|
-
updatedBy: external_zod_namespaceObject.z.string().nullable(),
|
|
4065
|
-
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
4066
|
-
provisionDetails: provisionDetailsSchema
|
|
4067
|
-
}).strip();
|
|
4068
|
-
const payoutTransactionSchema = external_zod_namespaceObject.z.object({
|
|
4389
|
+
const cancelPayoutRestReqSchema = external_zod_namespaceObject.z.object({
|
|
4069
4390
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
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()
|
|
4089
4480
|
});
|
|
4090
4481
|
const basePayoutItemShape = external_zod_namespaceObject.z.object({
|
|
4091
4482
|
propertyId: external_zod_namespaceObject.z.string().optional().nullable(),
|
|
@@ -4109,15 +4500,7 @@ var __webpack_exports__ = {};
|
|
|
4109
4500
|
external_zod_namespaceObject.z.number(),
|
|
4110
4501
|
external_zod_namespaceObject.z.bigint()
|
|
4111
4502
|
]).transform((arg)=>Math.round(100 * Number(arg))).transform((arg)=>BigInt(arg)).pipe(external_zod_namespaceObject.z.bigint()),
|
|
4112
|
-
payoutItems: external_zod_namespaceObject.z.array(payoutItemReqSchema)
|
|
4113
|
-
}).strip();
|
|
4114
|
-
const payoutRestResSchema = external_zod_namespaceObject.z.object({
|
|
4115
|
-
totalFromAccountUpdatedNumber: external_zod_namespaceObject.z.number().int().nonnegative(),
|
|
4116
|
-
totalToAccountUpdatedNumber: external_zod_namespaceObject.z.number().int().nonnegative(),
|
|
4117
|
-
totalAmount: external_zod_namespaceObject.z.union([
|
|
4118
|
-
external_zod_namespaceObject.z.bigint(),
|
|
4119
|
-
external_zod_namespaceObject.z.number()
|
|
4120
|
-
]).transform((arg)=>Number(arg) / 100).pipe(external_zod_namespaceObject.z.number())
|
|
4503
|
+
payoutItems: external_zod_namespaceObject.z.lazy(()=>external_zod_namespaceObject.z.array(payoutItemReqSchema))
|
|
4121
4504
|
}).strip();
|
|
4122
4505
|
const payoutListRestResSchema = payoutEntitySchema.extend({
|
|
4123
4506
|
payoutType: external_zod_namespaceObject.z.string(),
|
|
@@ -4132,6 +4515,86 @@ var __webpack_exports__ = {};
|
|
|
4132
4515
|
abaStatus: external_zod_namespaceObject.z.string(),
|
|
4133
4516
|
status: external_zod_namespaceObject.z.string()
|
|
4134
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
|
+
});
|
|
4135
4598
|
const payoutPaymentItemSchema = external_zod_namespaceObject.z.object({
|
|
4136
4599
|
propertyId: external_zod_namespaceObject.z.string().uuid(),
|
|
4137
4600
|
propertyName: external_zod_namespaceObject.z.string(),
|
|
@@ -4149,6 +4612,36 @@ var __webpack_exports__ = {};
|
|
|
4149
4612
|
mta: external_zod_namespaceObject.z.lazy(()=>mtaEntitySchema).optional().nullable(),
|
|
4150
4613
|
paymentList: external_zod_namespaceObject.z.array(payoutPaymentItemSchema).optional()
|
|
4151
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
|
+
});
|
|
4152
4645
|
const projectMtaAllocationEntitySchema = external_zod_namespaceObject.z.object({
|
|
4153
4646
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
4154
4647
|
projectId: external_zod_namespaceObject.z.string(),
|
|
@@ -4188,7 +4681,8 @@ var __webpack_exports__ = {};
|
|
|
4188
4681
|
developer: external_zod_namespaceObject.z.lazy(()=>developerEntitySchema).optional().nullish(),
|
|
4189
4682
|
mta: external_zod_namespaceObject.z.lazy(()=>mtaRestResSchema).optional().nullish(),
|
|
4190
4683
|
mtaAllocations: external_zod_namespaceObject.z.lazy(()=>projectMtaAllocationRestResSchema.array()).optional().nullish(),
|
|
4191
|
-
applyStatus: external_zod_namespaceObject.z.nativeEnum(ProjectApplyStatusRestRes)
|
|
4684
|
+
applyStatus: external_zod_namespaceObject.z.nativeEnum(ProjectApplyStatusRestRes),
|
|
4685
|
+
state: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuStateCode)
|
|
4192
4686
|
});
|
|
4193
4687
|
const allocateMtaToProjectRestReqSchema = external_zod_namespaceObject.z.object({
|
|
4194
4688
|
projectId: external_zod_namespaceObject.z.string().uuid(),
|
|
@@ -4216,6 +4710,52 @@ var __webpack_exports__ = {};
|
|
|
4216
4710
|
mta: external_zod_namespaceObject.z.lazy(()=>balanceRestResSchema),
|
|
4217
4711
|
cma: external_zod_namespaceObject.z.lazy(()=>balanceRestResSchema)
|
|
4218
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
|
+
});
|
|
4219
4759
|
function bind(fn, thisArg) {
|
|
4220
4760
|
return function() {
|
|
4221
4761
|
return fn.apply(thisArg, arguments);
|
|
@@ -4535,7 +5075,7 @@ var __webpack_exports__ = {};
|
|
|
4535
5075
|
asap,
|
|
4536
5076
|
isIterable
|
|
4537
5077
|
};
|
|
4538
|
-
function
|
|
5078
|
+
function AxiosError_AxiosError(message, code, config, request, response) {
|
|
4539
5079
|
Error.call(this);
|
|
4540
5080
|
if (Error.captureStackTrace) Error.captureStackTrace(this, this.constructor);
|
|
4541
5081
|
else this.stack = new Error().stack;
|
|
@@ -4549,7 +5089,7 @@ var __webpack_exports__ = {};
|
|
|
4549
5089
|
this.status = response.status ? response.status : null;
|
|
4550
5090
|
}
|
|
4551
5091
|
}
|
|
4552
|
-
utils.inherits(
|
|
5092
|
+
utils.inherits(AxiosError_AxiosError, Error, {
|
|
4553
5093
|
toJSON: function() {
|
|
4554
5094
|
return {
|
|
4555
5095
|
message: this.message,
|
|
@@ -4566,7 +5106,7 @@ var __webpack_exports__ = {};
|
|
|
4566
5106
|
};
|
|
4567
5107
|
}
|
|
4568
5108
|
});
|
|
4569
|
-
const AxiosError_prototype =
|
|
5109
|
+
const AxiosError_prototype = AxiosError_AxiosError.prototype;
|
|
4570
5110
|
const AxiosError_descriptors = {};
|
|
4571
5111
|
[
|
|
4572
5112
|
'ERR_BAD_OPTION_VALUE',
|
|
@@ -4586,22 +5126,22 @@ var __webpack_exports__ = {};
|
|
|
4586
5126
|
value: code
|
|
4587
5127
|
};
|
|
4588
5128
|
});
|
|
4589
|
-
Object.defineProperties(
|
|
5129
|
+
Object.defineProperties(AxiosError_AxiosError, AxiosError_descriptors);
|
|
4590
5130
|
Object.defineProperty(AxiosError_prototype, 'isAxiosError', {
|
|
4591
5131
|
value: true
|
|
4592
5132
|
});
|
|
4593
|
-
|
|
5133
|
+
AxiosError_AxiosError.from = (error, code, config, request, response, customProps)=>{
|
|
4594
5134
|
const axiosError = Object.create(AxiosError_prototype);
|
|
4595
5135
|
utils.toFlatObject(error, axiosError, function(obj) {
|
|
4596
5136
|
return obj !== Error.prototype;
|
|
4597
5137
|
}, (prop)=>'isAxiosError' !== prop);
|
|
4598
|
-
|
|
5138
|
+
AxiosError_AxiosError.call(axiosError, error.message, code, config, request, response);
|
|
4599
5139
|
axiosError.cause = error;
|
|
4600
5140
|
axiosError.name = error.name;
|
|
4601
5141
|
customProps && Object.assign(axiosError, customProps);
|
|
4602
5142
|
return axiosError;
|
|
4603
5143
|
};
|
|
4604
|
-
const
|
|
5144
|
+
const AxiosError = AxiosError_AxiosError;
|
|
4605
5145
|
var form_data = __webpack_require__("./node_modules/.pnpm/form-data@4.0.2/node_modules/form-data/lib/form_data.js");
|
|
4606
5146
|
const classes_FormData = form_data;
|
|
4607
5147
|
function isVisitable(thing) {
|
|
@@ -4623,7 +5163,7 @@ var __webpack_exports__ = {};
|
|
|
4623
5163
|
const predicates = utils.toFlatObject(utils, {}, null, function(prop) {
|
|
4624
5164
|
return /^is[A-Z]/.test(prop);
|
|
4625
5165
|
});
|
|
4626
|
-
function
|
|
5166
|
+
function toFormData(obj, formData, options) {
|
|
4627
5167
|
if (!utils.isObject(obj)) throw new TypeError('target must be an object');
|
|
4628
5168
|
formData = formData || new (classes_FormData || FormData)();
|
|
4629
5169
|
options = utils.toFlatObject(options, {
|
|
@@ -4643,7 +5183,7 @@ var __webpack_exports__ = {};
|
|
|
4643
5183
|
function convertValue(value) {
|
|
4644
5184
|
if (null === value) return '';
|
|
4645
5185
|
if (utils.isDate(value)) return value.toISOString();
|
|
4646
|
-
if (!useBlob && utils.isBlob(value)) throw new
|
|
5186
|
+
if (!useBlob && utils.isBlob(value)) throw new AxiosError('Blob is not supported. Use a Buffer instead.');
|
|
4647
5187
|
if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) return useBlob && 'function' == typeof Blob ? new Blob([
|
|
4648
5188
|
value
|
|
4649
5189
|
]) : Buffer.from(value);
|
|
@@ -4691,7 +5231,7 @@ var __webpack_exports__ = {};
|
|
|
4691
5231
|
build(obj);
|
|
4692
5232
|
return formData;
|
|
4693
5233
|
}
|
|
4694
|
-
const
|
|
5234
|
+
const helpers_toFormData = toFormData;
|
|
4695
5235
|
function encode(str) {
|
|
4696
5236
|
const charMap = {
|
|
4697
5237
|
'!': '%21',
|
|
@@ -4706,11 +5246,11 @@ var __webpack_exports__ = {};
|
|
|
4706
5246
|
return charMap[match];
|
|
4707
5247
|
});
|
|
4708
5248
|
}
|
|
4709
|
-
function
|
|
5249
|
+
function AxiosURLSearchParams(params, options) {
|
|
4710
5250
|
this._pairs = [];
|
|
4711
|
-
params &&
|
|
5251
|
+
params && helpers_toFormData(params, this, options);
|
|
4712
5252
|
}
|
|
4713
|
-
const AxiosURLSearchParams_prototype =
|
|
5253
|
+
const AxiosURLSearchParams_prototype = AxiosURLSearchParams.prototype;
|
|
4714
5254
|
AxiosURLSearchParams_prototype.append = function(name, value) {
|
|
4715
5255
|
this._pairs.push([
|
|
4716
5256
|
name,
|
|
@@ -4725,7 +5265,7 @@ var __webpack_exports__ = {};
|
|
|
4725
5265
|
return _encode(pair[0]) + '=' + _encode(pair[1]);
|
|
4726
5266
|
}, '').join('&');
|
|
4727
5267
|
};
|
|
4728
|
-
const
|
|
5268
|
+
const helpers_AxiosURLSearchParams = AxiosURLSearchParams;
|
|
4729
5269
|
function buildURL_encode(val) {
|
|
4730
5270
|
return encodeURIComponent(val).replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+').replace(/%5B/gi, '[').replace(/%5D/gi, ']');
|
|
4731
5271
|
}
|
|
@@ -4737,7 +5277,7 @@ var __webpack_exports__ = {};
|
|
|
4737
5277
|
};
|
|
4738
5278
|
const serializeFn = options && options.serialize;
|
|
4739
5279
|
let serializedParams;
|
|
4740
|
-
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);
|
|
4741
5281
|
if (serializedParams) {
|
|
4742
5282
|
const hashmarkIndex = url.indexOf("#");
|
|
4743
5283
|
if (-1 !== hashmarkIndex) url = url.slice(0, hashmarkIndex);
|
|
@@ -4824,7 +5364,7 @@ var __webpack_exports__ = {};
|
|
|
4824
5364
|
...node
|
|
4825
5365
|
};
|
|
4826
5366
|
function toURLEncodedForm(data, options) {
|
|
4827
|
-
return
|
|
5367
|
+
return helpers_toFormData(data, new platform.classes.URLSearchParams(), Object.assign({
|
|
4828
5368
|
visitor: function(value, key, path, helpers) {
|
|
4829
5369
|
if (platform.isNode && utils.isBuffer(value)) {
|
|
4830
5370
|
this.append(key, value.toString('base64'));
|
|
@@ -4849,7 +5389,7 @@ var __webpack_exports__ = {};
|
|
|
4849
5389
|
}
|
|
4850
5390
|
return obj;
|
|
4851
5391
|
}
|
|
4852
|
-
function
|
|
5392
|
+
function formDataToJSON(formData) {
|
|
4853
5393
|
function buildPath(path, value, target, index) {
|
|
4854
5394
|
let name = path[index++];
|
|
4855
5395
|
if ('__proto__' === name) return true;
|
|
@@ -4878,7 +5418,7 @@ var __webpack_exports__ = {};
|
|
|
4878
5418
|
}
|
|
4879
5419
|
return null;
|
|
4880
5420
|
}
|
|
4881
|
-
const
|
|
5421
|
+
const helpers_formDataToJSON = formDataToJSON;
|
|
4882
5422
|
function stringifySafely(rawValue, parser, encoder) {
|
|
4883
5423
|
if (utils.isString(rawValue)) try {
|
|
4884
5424
|
(parser || JSON.parse)(rawValue);
|
|
@@ -4902,7 +5442,7 @@ var __webpack_exports__ = {};
|
|
|
4902
5442
|
const isObjectPayload = utils.isObject(data);
|
|
4903
5443
|
if (isObjectPayload && utils.isHTMLForm(data)) data = new FormData(data);
|
|
4904
5444
|
const isFormData = utils.isFormData(data);
|
|
4905
|
-
if (isFormData) return hasJSONContentType ? JSON.stringify(
|
|
5445
|
+
if (isFormData) return hasJSONContentType ? JSON.stringify(helpers_formDataToJSON(data)) : data;
|
|
4906
5446
|
if (utils.isArrayBuffer(data) || utils.isBuffer(data) || utils.isStream(data) || utils.isFile(data) || utils.isBlob(data) || utils.isReadableStream(data)) return data;
|
|
4907
5447
|
if (utils.isArrayBufferView(data)) return data.buffer;
|
|
4908
5448
|
if (utils.isURLSearchParams(data)) {
|
|
@@ -4914,7 +5454,7 @@ var __webpack_exports__ = {};
|
|
|
4914
5454
|
if (contentType.indexOf('application/x-www-form-urlencoded') > -1) return toURLEncodedForm(data, this.formSerializer).toString();
|
|
4915
5455
|
if ((isFileList = utils.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {
|
|
4916
5456
|
const _FormData = this.env && this.env.FormData;
|
|
4917
|
-
return
|
|
5457
|
+
return helpers_toFormData(isFileList ? {
|
|
4918
5458
|
'files[]': data
|
|
4919
5459
|
} : data, _FormData && new _FormData(), this.formSerializer);
|
|
4920
5460
|
}
|
|
@@ -4939,7 +5479,7 @@ var __webpack_exports__ = {};
|
|
|
4939
5479
|
return JSON.parse(data);
|
|
4940
5480
|
} catch (e) {
|
|
4941
5481
|
if (strictJSONParsing) {
|
|
4942
|
-
if ('SyntaxError' === e.name) throw
|
|
5482
|
+
if ('SyntaxError' === e.name) throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
|
|
4943
5483
|
throw e;
|
|
4944
5484
|
}
|
|
4945
5485
|
}
|
|
@@ -5055,7 +5595,7 @@ var __webpack_exports__ = {};
|
|
|
5055
5595
|
});
|
|
5056
5596
|
});
|
|
5057
5597
|
}
|
|
5058
|
-
class
|
|
5598
|
+
class AxiosHeaders_AxiosHeaders {
|
|
5059
5599
|
constructor(headers){
|
|
5060
5600
|
headers && this.set(headers);
|
|
5061
5601
|
}
|
|
@@ -5202,7 +5742,7 @@ var __webpack_exports__ = {};
|
|
|
5202
5742
|
return this;
|
|
5203
5743
|
}
|
|
5204
5744
|
}
|
|
5205
|
-
|
|
5745
|
+
AxiosHeaders_AxiosHeaders.accessor([
|
|
5206
5746
|
'Content-Type',
|
|
5207
5747
|
'Content-Length',
|
|
5208
5748
|
'Accept',
|
|
@@ -5210,7 +5750,7 @@ var __webpack_exports__ = {};
|
|
|
5210
5750
|
'User-Agent',
|
|
5211
5751
|
'Authorization'
|
|
5212
5752
|
]);
|
|
5213
|
-
utils.reduceDescriptors(
|
|
5753
|
+
utils.reduceDescriptors(AxiosHeaders_AxiosHeaders.prototype, ({ value }, key)=>{
|
|
5214
5754
|
let mapped = key[0].toUpperCase() + key.slice(1);
|
|
5215
5755
|
return {
|
|
5216
5756
|
get: ()=>value,
|
|
@@ -5219,12 +5759,12 @@ var __webpack_exports__ = {};
|
|
|
5219
5759
|
}
|
|
5220
5760
|
};
|
|
5221
5761
|
});
|
|
5222
|
-
utils.freezeMethods(
|
|
5223
|
-
const
|
|
5762
|
+
utils.freezeMethods(AxiosHeaders_AxiosHeaders);
|
|
5763
|
+
const AxiosHeaders = AxiosHeaders_AxiosHeaders;
|
|
5224
5764
|
function transformData(fns, response) {
|
|
5225
5765
|
const config = this || lib_defaults;
|
|
5226
5766
|
const context = response || config;
|
|
5227
|
-
const headers =
|
|
5767
|
+
const headers = AxiosHeaders.from(context.headers);
|
|
5228
5768
|
let data = context.data;
|
|
5229
5769
|
utils.forEach(fns, function(fn) {
|
|
5230
5770
|
data = fn.call(config, data, headers.normalize(), response ? response.status : void 0);
|
|
@@ -5235,20 +5775,20 @@ var __webpack_exports__ = {};
|
|
|
5235
5775
|
function isCancel(value) {
|
|
5236
5776
|
return !!(value && value.__CANCEL__);
|
|
5237
5777
|
}
|
|
5238
|
-
function
|
|
5239
|
-
|
|
5778
|
+
function CanceledError(message, config, request) {
|
|
5779
|
+
AxiosError.call(this, null == message ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);
|
|
5240
5780
|
this.name = 'CanceledError';
|
|
5241
5781
|
}
|
|
5242
|
-
utils.inherits(
|
|
5782
|
+
utils.inherits(CanceledError, AxiosError, {
|
|
5243
5783
|
__CANCEL__: true
|
|
5244
5784
|
});
|
|
5245
|
-
const
|
|
5785
|
+
const cancel_CanceledError = CanceledError;
|
|
5246
5786
|
function settle(resolve, reject, response) {
|
|
5247
5787
|
const validateStatus = response.config.validateStatus;
|
|
5248
5788
|
if (!response.status || !validateStatus || validateStatus(response.status)) resolve(response);
|
|
5249
|
-
else reject(new
|
|
5250
|
-
|
|
5251
|
-
|
|
5789
|
+
else reject(new AxiosError('Request failed with status code ' + response.status, [
|
|
5790
|
+
AxiosError.ERR_BAD_REQUEST,
|
|
5791
|
+
AxiosError.ERR_BAD_RESPONSE
|
|
5252
5792
|
][Math.floor(response.status / 100) - 4], response.config, response.request, response));
|
|
5253
5793
|
}
|
|
5254
5794
|
function isAbsoluteURL(url) {
|
|
@@ -5281,13 +5821,13 @@ var __webpack_exports__ = {};
|
|
|
5281
5821
|
if ('data' === protocol) {
|
|
5282
5822
|
uri = protocol.length ? uri.slice(protocol.length + 1) : uri;
|
|
5283
5823
|
const match = DATA_URL_PATTERN.exec(uri);
|
|
5284
|
-
if (!match) throw new
|
|
5824
|
+
if (!match) throw new AxiosError('Invalid URL', AxiosError.ERR_INVALID_URL);
|
|
5285
5825
|
const mime = match[1];
|
|
5286
5826
|
const isBase64 = match[2];
|
|
5287
5827
|
const body = match[3];
|
|
5288
5828
|
const buffer = Buffer.from(decodeURIComponent(body), isBase64 ? 'base64' : 'utf8');
|
|
5289
5829
|
if (asBlob) {
|
|
5290
|
-
if (!_Blob) throw new
|
|
5830
|
+
if (!_Blob) throw new AxiosError('Blob is not supported', AxiosError.ERR_NOT_SUPPORT);
|
|
5291
5831
|
return new _Blob([
|
|
5292
5832
|
buffer
|
|
5293
5833
|
], {
|
|
@@ -5296,7 +5836,7 @@ var __webpack_exports__ = {};
|
|
|
5296
5836
|
}
|
|
5297
5837
|
return buffer;
|
|
5298
5838
|
}
|
|
5299
|
-
throw new
|
|
5839
|
+
throw new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_NOT_SUPPORT);
|
|
5300
5840
|
}
|
|
5301
5841
|
var external_stream_ = __webpack_require__("stream");
|
|
5302
5842
|
const kInternals = Symbol('internals');
|
|
@@ -5395,13 +5935,13 @@ var __webpack_exports__ = {};
|
|
|
5395
5935
|
const AxiosTransformStream = AxiosTransformStream_AxiosTransformStream;
|
|
5396
5936
|
const external_events_namespaceObject = require("events");
|
|
5397
5937
|
const { asyncIterator } = Symbol;
|
|
5398
|
-
const
|
|
5938
|
+
const readBlob_readBlob = async function*(blob) {
|
|
5399
5939
|
if (blob.stream) yield* blob.stream();
|
|
5400
5940
|
else if (blob.arrayBuffer) yield await blob.arrayBuffer();
|
|
5401
5941
|
else if (blob[asyncIterator]) yield* blob[asyncIterator]();
|
|
5402
5942
|
else yield blob;
|
|
5403
5943
|
};
|
|
5404
|
-
const
|
|
5944
|
+
const readBlob = readBlob_readBlob;
|
|
5405
5945
|
const BOUNDARY_ALPHABET = platform.ALPHABET.ALPHA_DIGIT + '-_';
|
|
5406
5946
|
const textEncoder = 'function' == typeof TextEncoder ? new TextEncoder() : new external_util_.TextEncoder();
|
|
5407
5947
|
const CRLF = '\r\n';
|
|
@@ -5424,7 +5964,7 @@ var __webpack_exports__ = {};
|
|
|
5424
5964
|
yield this.headers;
|
|
5425
5965
|
const { value } = this;
|
|
5426
5966
|
if (utils.isTypedArray(value)) yield value;
|
|
5427
|
-
else yield*
|
|
5967
|
+
else yield* readBlob(value);
|
|
5428
5968
|
yield CRLF_BYTES;
|
|
5429
5969
|
}
|
|
5430
5970
|
static escapeName(name) {
|
|
@@ -5463,7 +6003,7 @@ var __webpack_exports__ = {};
|
|
|
5463
6003
|
}());
|
|
5464
6004
|
};
|
|
5465
6005
|
const helpers_formDataToStream = formDataToStream;
|
|
5466
|
-
class
|
|
6006
|
+
class ZlibHeaderTransformStream extends external_stream_.Transform {
|
|
5467
6007
|
__transform(chunk, encoding, callback) {
|
|
5468
6008
|
this.push(chunk);
|
|
5469
6009
|
callback();
|
|
@@ -5481,8 +6021,8 @@ var __webpack_exports__ = {};
|
|
|
5481
6021
|
this.__transform(chunk, encoding, callback);
|
|
5482
6022
|
}
|
|
5483
6023
|
}
|
|
5484
|
-
const
|
|
5485
|
-
const
|
|
6024
|
+
const helpers_ZlibHeaderTransformStream = ZlibHeaderTransformStream;
|
|
6025
|
+
const callbackify_callbackify = (fn, reducer)=>utils.isAsyncFn(fn) ? function(...args) {
|
|
5486
6026
|
const cb = args.pop();
|
|
5487
6027
|
fn.apply(this, args).then((value)=>{
|
|
5488
6028
|
try {
|
|
@@ -5492,7 +6032,7 @@ var __webpack_exports__ = {};
|
|
|
5492
6032
|
}
|
|
5493
6033
|
}, cb);
|
|
5494
6034
|
} : fn;
|
|
5495
|
-
const
|
|
6035
|
+
const callbackify = callbackify_callbackify;
|
|
5496
6036
|
function speedometer(samplesCount, min) {
|
|
5497
6037
|
samplesCount = samplesCount || 10;
|
|
5498
6038
|
const bytes = new Array(samplesCount);
|
|
@@ -5521,7 +6061,7 @@ var __webpack_exports__ = {};
|
|
|
5521
6061
|
};
|
|
5522
6062
|
}
|
|
5523
6063
|
const helpers_speedometer = speedometer;
|
|
5524
|
-
function
|
|
6064
|
+
function throttle_throttle(fn, freq) {
|
|
5525
6065
|
let timestamp = 0;
|
|
5526
6066
|
let threshold = 1000 / freq;
|
|
5527
6067
|
let lastArgs;
|
|
@@ -5553,11 +6093,11 @@ var __webpack_exports__ = {};
|
|
|
5553
6093
|
flush
|
|
5554
6094
|
];
|
|
5555
6095
|
}
|
|
5556
|
-
const
|
|
6096
|
+
const throttle = throttle_throttle;
|
|
5557
6097
|
const progressEventReducer = (listener, isDownloadStream, freq = 3)=>{
|
|
5558
6098
|
let bytesNotified = 0;
|
|
5559
6099
|
const _speedometer = helpers_speedometer(50, 250);
|
|
5560
|
-
return
|
|
6100
|
+
return throttle((e)=>{
|
|
5561
6101
|
const loaded = e.loaded;
|
|
5562
6102
|
const total = e.lengthComputable ? e.total : void 0;
|
|
5563
6103
|
const progressBytes = loaded - bytesNotified;
|
|
@@ -5674,7 +6214,7 @@ var __webpack_exports__ = {};
|
|
|
5674
6214
|
let rejected = false;
|
|
5675
6215
|
let req;
|
|
5676
6216
|
if (lookup) {
|
|
5677
|
-
const _lookup =
|
|
6217
|
+
const _lookup = callbackify(lookup, (value)=>utils.isArray(value) ? value : [
|
|
5678
6218
|
value
|
|
5679
6219
|
]);
|
|
5680
6220
|
lookup = (hostname, opt, cb)=>{
|
|
@@ -5701,7 +6241,7 @@ var __webpack_exports__ = {};
|
|
|
5701
6241
|
}
|
|
5702
6242
|
});
|
|
5703
6243
|
function abort(reason) {
|
|
5704
|
-
emitter.emit('abort', !reason || reason.type ? new
|
|
6244
|
+
emitter.emit('abort', !reason || reason.type ? new cancel_CanceledError(null, config, req) : reason);
|
|
5705
6245
|
}
|
|
5706
6246
|
emitter.once('abort', reject);
|
|
5707
6247
|
if (config.cancelToken || config.signal) {
|
|
@@ -5724,7 +6264,7 @@ var __webpack_exports__ = {};
|
|
|
5724
6264
|
Blob: config.env && config.env.Blob
|
|
5725
6265
|
});
|
|
5726
6266
|
} catch (err) {
|
|
5727
|
-
throw
|
|
6267
|
+
throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config);
|
|
5728
6268
|
}
|
|
5729
6269
|
if ('text' === responseType) {
|
|
5730
6270
|
convertedData = convertedData.toString(responseEncoding);
|
|
@@ -5734,12 +6274,12 @@ var __webpack_exports__ = {};
|
|
|
5734
6274
|
data: convertedData,
|
|
5735
6275
|
status: 200,
|
|
5736
6276
|
statusText: 'OK',
|
|
5737
|
-
headers: new
|
|
6277
|
+
headers: new AxiosHeaders(),
|
|
5738
6278
|
config
|
|
5739
6279
|
});
|
|
5740
6280
|
}
|
|
5741
|
-
if (-1 === supportedProtocols.indexOf(protocol)) return reject(new
|
|
5742
|
-
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();
|
|
5743
6283
|
headers.set('User-Agent', 'axios/' + VERSION, false);
|
|
5744
6284
|
const { onUploadProgress, onDownloadProgress } = config;
|
|
5745
6285
|
const maxRate = config.maxRate;
|
|
@@ -5762,16 +6302,16 @@ var __webpack_exports__ = {};
|
|
|
5762
6302
|
} else if (utils.isBlob(data) || utils.isFile(data)) {
|
|
5763
6303
|
data.size && headers.setContentType(data.type || 'application/octet-stream');
|
|
5764
6304
|
headers.setContentLength(data.size || 0);
|
|
5765
|
-
data = external_stream_.Readable.from(
|
|
6305
|
+
data = external_stream_.Readable.from(readBlob(data));
|
|
5766
6306
|
} else if (data && !utils.isStream(data)) {
|
|
5767
6307
|
if (Buffer.isBuffer(data)) ;
|
|
5768
6308
|
else if (utils.isArrayBuffer(data)) data = Buffer.from(new Uint8Array(data));
|
|
5769
6309
|
else {
|
|
5770
|
-
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));
|
|
5771
6311
|
data = Buffer.from(data, 'utf-8');
|
|
5772
6312
|
}
|
|
5773
6313
|
headers.setContentLength(data.length, false);
|
|
5774
|
-
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));
|
|
5775
6315
|
}
|
|
5776
6316
|
const contentLength = utils.toFiniteNumber(headers.getContentLength());
|
|
5777
6317
|
if (utils.isArray(maxRate)) {
|
|
@@ -5873,7 +6413,7 @@ var __webpack_exports__ = {};
|
|
|
5873
6413
|
delete res.headers['content-encoding'];
|
|
5874
6414
|
break;
|
|
5875
6415
|
case 'deflate':
|
|
5876
|
-
streams.push(new
|
|
6416
|
+
streams.push(new helpers_ZlibHeaderTransformStream());
|
|
5877
6417
|
streams.push(external_zlib_namespaceObject.createUnzip(zlibOptions));
|
|
5878
6418
|
delete res.headers['content-encoding'];
|
|
5879
6419
|
break;
|
|
@@ -5892,7 +6432,7 @@ var __webpack_exports__ = {};
|
|
|
5892
6432
|
const response = {
|
|
5893
6433
|
status: res.statusCode,
|
|
5894
6434
|
statusText: res.statusMessage,
|
|
5895
|
-
headers: new
|
|
6435
|
+
headers: new AxiosHeaders(res.headers),
|
|
5896
6436
|
config,
|
|
5897
6437
|
request: lastRequest
|
|
5898
6438
|
};
|
|
@@ -5908,18 +6448,18 @@ var __webpack_exports__ = {};
|
|
|
5908
6448
|
if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
|
|
5909
6449
|
rejected = true;
|
|
5910
6450
|
responseStream.destroy();
|
|
5911
|
-
reject(new
|
|
6451
|
+
reject(new AxiosError('maxContentLength size of ' + config.maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, lastRequest));
|
|
5912
6452
|
}
|
|
5913
6453
|
});
|
|
5914
6454
|
responseStream.on('aborted', function() {
|
|
5915
6455
|
if (rejected) return;
|
|
5916
|
-
const err = new
|
|
6456
|
+
const err = new AxiosError('stream has been aborted', AxiosError.ERR_BAD_RESPONSE, config, lastRequest);
|
|
5917
6457
|
responseStream.destroy(err);
|
|
5918
6458
|
reject(err);
|
|
5919
6459
|
});
|
|
5920
6460
|
responseStream.on('error', function(err) {
|
|
5921
6461
|
if (req.destroyed) return;
|
|
5922
|
-
reject(
|
|
6462
|
+
reject(AxiosError.from(err, null, config, lastRequest));
|
|
5923
6463
|
});
|
|
5924
6464
|
responseStream.on('end', function() {
|
|
5925
6465
|
try {
|
|
@@ -5930,7 +6470,7 @@ var __webpack_exports__ = {};
|
|
|
5930
6470
|
}
|
|
5931
6471
|
response.data = responseData;
|
|
5932
6472
|
} catch (err) {
|
|
5933
|
-
return reject(
|
|
6473
|
+
return reject(AxiosError.from(err, null, config, response.request, response));
|
|
5934
6474
|
}
|
|
5935
6475
|
settle(resolve, reject, response);
|
|
5936
6476
|
});
|
|
@@ -5947,20 +6487,20 @@ var __webpack_exports__ = {};
|
|
|
5947
6487
|
req.destroy(err);
|
|
5948
6488
|
});
|
|
5949
6489
|
req.on('error', function(err) {
|
|
5950
|
-
reject(
|
|
6490
|
+
reject(AxiosError.from(err, null, config, req));
|
|
5951
6491
|
});
|
|
5952
6492
|
req.on('socket', function(socket) {
|
|
5953
6493
|
socket.setKeepAlive(true, 60000);
|
|
5954
6494
|
});
|
|
5955
6495
|
if (config.timeout) {
|
|
5956
6496
|
const timeout = parseInt(config.timeout, 10);
|
|
5957
|
-
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));
|
|
5958
6498
|
req.setTimeout(timeout, function() {
|
|
5959
6499
|
if (isDone) return;
|
|
5960
6500
|
let timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
5961
6501
|
const transitional = config.transitional || defaults_transitional;
|
|
5962
6502
|
if (config.timeoutErrorMessage) timeoutErrorMessage = config.timeoutErrorMessage;
|
|
5963
|
-
reject(new
|
|
6503
|
+
reject(new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, req));
|
|
5964
6504
|
abort();
|
|
5965
6505
|
});
|
|
5966
6506
|
}
|
|
@@ -5975,7 +6515,7 @@ var __webpack_exports__ = {};
|
|
|
5975
6515
|
req.destroy(err);
|
|
5976
6516
|
});
|
|
5977
6517
|
data.on('close', ()=>{
|
|
5978
|
-
if (!ended && !errored) abort(new
|
|
6518
|
+
if (!ended && !errored) abort(new cancel_CanceledError('Request stream has been aborted', config, req));
|
|
5979
6519
|
});
|
|
5980
6520
|
data.pipe(req);
|
|
5981
6521
|
} else req.end(data);
|
|
@@ -6010,7 +6550,7 @@ var __webpack_exports__ = {};
|
|
|
6010
6550
|
},
|
|
6011
6551
|
remove () {}
|
|
6012
6552
|
};
|
|
6013
|
-
const headersToObject = (thing)=>thing instanceof
|
|
6553
|
+
const headersToObject = (thing)=>thing instanceof AxiosHeaders ? {
|
|
6014
6554
|
...thing
|
|
6015
6555
|
} : thing;
|
|
6016
6556
|
function mergeConfig(config1, config2) {
|
|
@@ -6080,7 +6620,7 @@ var __webpack_exports__ = {};
|
|
|
6080
6620
|
const resolveConfig = (config)=>{
|
|
6081
6621
|
const newConfig = mergeConfig({}, config);
|
|
6082
6622
|
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
6083
|
-
newConfig.headers = headers =
|
|
6623
|
+
newConfig.headers = headers = AxiosHeaders.from(headers);
|
|
6084
6624
|
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
|
|
6085
6625
|
if (auth) headers.set('Authorization', 'Basic ' + btoa((auth.username || '') + ':' + (auth.password ? unescape(encodeURIComponent(auth.password)) : '')));
|
|
6086
6626
|
let contentType;
|
|
@@ -6108,7 +6648,7 @@ var __webpack_exports__ = {};
|
|
|
6108
6648
|
return new Promise(function(resolve, reject) {
|
|
6109
6649
|
const _config = resolveConfig(config);
|
|
6110
6650
|
let requestData = _config.data;
|
|
6111
|
-
const requestHeaders =
|
|
6651
|
+
const requestHeaders = AxiosHeaders.from(_config.headers).normalize();
|
|
6112
6652
|
let { responseType, onUploadProgress, onDownloadProgress } = _config;
|
|
6113
6653
|
let onCanceled;
|
|
6114
6654
|
let uploadThrottled, downloadThrottled;
|
|
@@ -6124,7 +6664,7 @@ var __webpack_exports__ = {};
|
|
|
6124
6664
|
request.timeout = _config.timeout;
|
|
6125
6665
|
function onloadend() {
|
|
6126
6666
|
if (!request) return;
|
|
6127
|
-
const responseHeaders =
|
|
6667
|
+
const responseHeaders = AxiosHeaders.from('getAllResponseHeaders' in request && request.getAllResponseHeaders());
|
|
6128
6668
|
const responseData = responseType && 'text' !== responseType && 'json' !== responseType ? request.response : request.responseText;
|
|
6129
6669
|
const response = {
|
|
6130
6670
|
data: responseData,
|
|
@@ -6151,18 +6691,18 @@ var __webpack_exports__ = {};
|
|
|
6151
6691
|
};
|
|
6152
6692
|
request.onabort = function() {
|
|
6153
6693
|
if (!request) return;
|
|
6154
|
-
reject(new
|
|
6694
|
+
reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));
|
|
6155
6695
|
request = null;
|
|
6156
6696
|
};
|
|
6157
6697
|
request.onerror = function() {
|
|
6158
|
-
reject(new
|
|
6698
|
+
reject(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request));
|
|
6159
6699
|
request = null;
|
|
6160
6700
|
};
|
|
6161
6701
|
request.ontimeout = function() {
|
|
6162
6702
|
let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
6163
6703
|
const transitional = _config.transitional || defaults_transitional;
|
|
6164
6704
|
if (_config.timeoutErrorMessage) timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
6165
|
-
reject(new
|
|
6705
|
+
reject(new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, request));
|
|
6166
6706
|
request = null;
|
|
6167
6707
|
};
|
|
6168
6708
|
void 0 === requestData && requestHeaders.setContentType(null);
|
|
@@ -6183,7 +6723,7 @@ var __webpack_exports__ = {};
|
|
|
6183
6723
|
if (_config.cancelToken || _config.signal) {
|
|
6184
6724
|
onCanceled = (cancel)=>{
|
|
6185
6725
|
if (!request) return;
|
|
6186
|
-
reject(!cancel || cancel.type ? new
|
|
6726
|
+
reject(!cancel || cancel.type ? new cancel_CanceledError(null, config, request) : cancel);
|
|
6187
6727
|
request.abort();
|
|
6188
6728
|
request = null;
|
|
6189
6729
|
};
|
|
@@ -6191,7 +6731,7 @@ var __webpack_exports__ = {};
|
|
|
6191
6731
|
if (_config.signal) _config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);
|
|
6192
6732
|
}
|
|
6193
6733
|
const protocol = parseProtocol(_config.url);
|
|
6194
|
-
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));
|
|
6195
6735
|
request.send(requestData || null);
|
|
6196
6736
|
});
|
|
6197
6737
|
};
|
|
@@ -6205,12 +6745,12 @@ var __webpack_exports__ = {};
|
|
|
6205
6745
|
aborted = true;
|
|
6206
6746
|
unsubscribe();
|
|
6207
6747
|
const err = reason instanceof Error ? reason : this.reason;
|
|
6208
|
-
controller.abort(err instanceof
|
|
6748
|
+
controller.abort(err instanceof AxiosError ? err : new cancel_CanceledError(err instanceof Error ? err.message : err));
|
|
6209
6749
|
}
|
|
6210
6750
|
};
|
|
6211
6751
|
let timer = timeout && setTimeout(()=>{
|
|
6212
6752
|
timer = null;
|
|
6213
|
-
onabort(new
|
|
6753
|
+
onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT));
|
|
6214
6754
|
}, timeout);
|
|
6215
6755
|
const unsubscribe = ()=>{
|
|
6216
6756
|
if (signals) {
|
|
@@ -6330,7 +6870,7 @@ var __webpack_exports__ = {};
|
|
|
6330
6870
|
'stream'
|
|
6331
6871
|
].forEach((type)=>{
|
|
6332
6872
|
resolvers[type] || (resolvers[type] = utils.isFunction(res[type]) ? (res)=>res[type]() : (_, config)=>{
|
|
6333
|
-
throw new
|
|
6873
|
+
throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
|
|
6334
6874
|
});
|
|
6335
6875
|
});
|
|
6336
6876
|
})(new Response);
|
|
@@ -6413,7 +6953,7 @@ var __webpack_exports__ = {};
|
|
|
6413
6953
|
return await new Promise((resolve, reject)=>{
|
|
6414
6954
|
settle(resolve, reject, {
|
|
6415
6955
|
data: responseData,
|
|
6416
|
-
headers:
|
|
6956
|
+
headers: AxiosHeaders.from(response.headers),
|
|
6417
6957
|
status: response.status,
|
|
6418
6958
|
statusText: response.statusText,
|
|
6419
6959
|
config,
|
|
@@ -6422,10 +6962,10 @@ var __webpack_exports__ = {};
|
|
|
6422
6962
|
});
|
|
6423
6963
|
} catch (err) {
|
|
6424
6964
|
unsubscribe && unsubscribe();
|
|
6425
|
-
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), {
|
|
6426
6966
|
cause: err.cause || err
|
|
6427
6967
|
});
|
|
6428
|
-
throw
|
|
6968
|
+
throw AxiosError.from(err, err && err.code, config, request);
|
|
6429
6969
|
}
|
|
6430
6970
|
});
|
|
6431
6971
|
const knownAdapters = {
|
|
@@ -6462,7 +7002,7 @@ var __webpack_exports__ = {};
|
|
|
6462
7002
|
adapter = nameOrAdapter;
|
|
6463
7003
|
if (!isResolvedHandle(nameOrAdapter)) {
|
|
6464
7004
|
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
|
6465
|
-
if (void 0 === adapter) throw new
|
|
7005
|
+
if (void 0 === adapter) throw new AxiosError(`Unknown adapter '${id}'`);
|
|
6466
7006
|
}
|
|
6467
7007
|
if (adapter) break;
|
|
6468
7008
|
rejectedReasons[id || '#' + i] = adapter;
|
|
@@ -6470,7 +7010,7 @@ var __webpack_exports__ = {};
|
|
|
6470
7010
|
if (!adapter) {
|
|
6471
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'));
|
|
6472
7012
|
let s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified';
|
|
6473
|
-
throw new
|
|
7013
|
+
throw new AxiosError("There is no suitable adapter to dispatch the request " + s, 'ERR_NOT_SUPPORT');
|
|
6474
7014
|
}
|
|
6475
7015
|
return adapter;
|
|
6476
7016
|
},
|
|
@@ -6478,11 +7018,11 @@ var __webpack_exports__ = {};
|
|
|
6478
7018
|
};
|
|
6479
7019
|
function throwIfCancellationRequested(config) {
|
|
6480
7020
|
if (config.cancelToken) config.cancelToken.throwIfRequested();
|
|
6481
|
-
if (config.signal && config.signal.aborted) throw new
|
|
7021
|
+
if (config.signal && config.signal.aborted) throw new cancel_CanceledError(null, config);
|
|
6482
7022
|
}
|
|
6483
7023
|
function dispatchRequest(config) {
|
|
6484
7024
|
throwIfCancellationRequested(config);
|
|
6485
|
-
config.headers =
|
|
7025
|
+
config.headers = AxiosHeaders.from(config.headers);
|
|
6486
7026
|
config.data = transformData.call(config, config.transformRequest);
|
|
6487
7027
|
if (-1 !== [
|
|
6488
7028
|
'post',
|
|
@@ -6493,14 +7033,14 @@ var __webpack_exports__ = {};
|
|
|
6493
7033
|
return adapter(config).then(function(response) {
|
|
6494
7034
|
throwIfCancellationRequested(config);
|
|
6495
7035
|
response.data = transformData.call(config, config.transformResponse, response);
|
|
6496
|
-
response.headers =
|
|
7036
|
+
response.headers = AxiosHeaders.from(response.headers);
|
|
6497
7037
|
return response;
|
|
6498
7038
|
}, function(reason) {
|
|
6499
7039
|
if (!isCancel(reason)) {
|
|
6500
7040
|
throwIfCancellationRequested(config);
|
|
6501
7041
|
if (reason && reason.response) {
|
|
6502
7042
|
reason.response.data = transformData.call(config, config.transformResponse, reason.response);
|
|
6503
|
-
reason.response.headers =
|
|
7043
|
+
reason.response.headers = AxiosHeaders.from(reason.response.headers);
|
|
6504
7044
|
}
|
|
6505
7045
|
}
|
|
6506
7046
|
return Promise.reject(reason);
|
|
@@ -6525,7 +7065,7 @@ var __webpack_exports__ = {};
|
|
|
6525
7065
|
return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
|
|
6526
7066
|
}
|
|
6527
7067
|
return (value, opt, opts)=>{
|
|
6528
|
-
if (false === validator) throw new
|
|
7068
|
+
if (false === validator) throw new AxiosError(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), AxiosError.ERR_DEPRECATED);
|
|
6529
7069
|
if (version && !deprecatedWarnings[opt]) {
|
|
6530
7070
|
deprecatedWarnings[opt] = true;
|
|
6531
7071
|
console.warn(formatMessage(opt, ' has been deprecated since v' + version + ' and will be removed in the near future'));
|
|
@@ -6540,7 +7080,7 @@ var __webpack_exports__ = {};
|
|
|
6540
7080
|
};
|
|
6541
7081
|
};
|
|
6542
7082
|
function assertOptions(options, schema, allowUnknown) {
|
|
6543
|
-
if ('object' != typeof options) throw new
|
|
7083
|
+
if ('object' != typeof options) throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);
|
|
6544
7084
|
const keys = Object.keys(options);
|
|
6545
7085
|
let i = keys.length;
|
|
6546
7086
|
while(i-- > 0){
|
|
@@ -6549,10 +7089,10 @@ var __webpack_exports__ = {};
|
|
|
6549
7089
|
if (validator) {
|
|
6550
7090
|
const value = options[opt];
|
|
6551
7091
|
const result = void 0 === value || validator(value, opt, options);
|
|
6552
|
-
if (true !== result) throw new
|
|
7092
|
+
if (true !== result) throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);
|
|
6553
7093
|
continue;
|
|
6554
7094
|
}
|
|
6555
|
-
if (true !== allowUnknown) throw new
|
|
7095
|
+
if (true !== allowUnknown) throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);
|
|
6556
7096
|
}
|
|
6557
7097
|
}
|
|
6558
7098
|
const helpers_validator = {
|
|
@@ -6624,7 +7164,7 @@ var __webpack_exports__ = {};
|
|
|
6624
7164
|
], (method)=>{
|
|
6625
7165
|
delete headers[method];
|
|
6626
7166
|
});
|
|
6627
|
-
config.headers =
|
|
7167
|
+
config.headers = AxiosHeaders.concat(contextHeaders, headers);
|
|
6628
7168
|
const requestInterceptorChain = [];
|
|
6629
7169
|
let synchronousRequestInterceptors = true;
|
|
6630
7170
|
this.interceptors.request.forEach(function(interceptor) {
|
|
@@ -6715,7 +7255,7 @@ var __webpack_exports__ = {};
|
|
|
6715
7255
|
Axios_Axios.prototype[method + 'Form'] = generateHTTPMethod(true);
|
|
6716
7256
|
});
|
|
6717
7257
|
const Axios = Axios_Axios;
|
|
6718
|
-
class
|
|
7258
|
+
class CancelToken_CancelToken {
|
|
6719
7259
|
constructor(executor){
|
|
6720
7260
|
if ('function' != typeof executor) throw new TypeError('executor must be a function.');
|
|
6721
7261
|
let resolvePromise;
|
|
@@ -6742,7 +7282,7 @@ var __webpack_exports__ = {};
|
|
|
6742
7282
|
};
|
|
6743
7283
|
executor(function(message, config, request) {
|
|
6744
7284
|
if (token.reason) return;
|
|
6745
|
-
token.reason = new
|
|
7285
|
+
token.reason = new cancel_CanceledError(message, config, request);
|
|
6746
7286
|
resolvePromise(token.reason);
|
|
6747
7287
|
});
|
|
6748
7288
|
}
|
|
@@ -6772,7 +7312,7 @@ var __webpack_exports__ = {};
|
|
|
6772
7312
|
}
|
|
6773
7313
|
static source() {
|
|
6774
7314
|
let cancel;
|
|
6775
|
-
const token = new
|
|
7315
|
+
const token = new CancelToken_CancelToken(function(c) {
|
|
6776
7316
|
cancel = c;
|
|
6777
7317
|
});
|
|
6778
7318
|
return {
|
|
@@ -6781,7 +7321,7 @@ var __webpack_exports__ = {};
|
|
|
6781
7321
|
};
|
|
6782
7322
|
}
|
|
6783
7323
|
}
|
|
6784
|
-
const
|
|
7324
|
+
const CancelToken = CancelToken_CancelToken;
|
|
6785
7325
|
function spread(callback) {
|
|
6786
7326
|
return function(arr) {
|
|
6787
7327
|
return callback.apply(null, arr);
|
|
@@ -6875,12 +7415,12 @@ var __webpack_exports__ = {};
|
|
|
6875
7415
|
}
|
|
6876
7416
|
const axios = createInstance(lib_defaults);
|
|
6877
7417
|
axios.Axios = Axios;
|
|
6878
|
-
axios.CanceledError =
|
|
6879
|
-
axios.CancelToken =
|
|
7418
|
+
axios.CanceledError = cancel_CanceledError;
|
|
7419
|
+
axios.CancelToken = CancelToken;
|
|
6880
7420
|
axios.isCancel = isCancel;
|
|
6881
7421
|
axios.VERSION = VERSION;
|
|
6882
|
-
axios.toFormData =
|
|
6883
|
-
axios.AxiosError =
|
|
7422
|
+
axios.toFormData = helpers_toFormData;
|
|
7423
|
+
axios.AxiosError = AxiosError;
|
|
6884
7424
|
axios.Cancel = axios.CanceledError;
|
|
6885
7425
|
axios.all = function(promises) {
|
|
6886
7426
|
return Promise.all(promises);
|
|
@@ -6888,8 +7428,8 @@ var __webpack_exports__ = {};
|
|
|
6888
7428
|
axios.spread = spread;
|
|
6889
7429
|
axios.isAxiosError = isAxiosError;
|
|
6890
7430
|
axios.mergeConfig = mergeConfig;
|
|
6891
|
-
axios.AxiosHeaders =
|
|
6892
|
-
axios.formToJSON = (thing)=>
|
|
7431
|
+
axios.AxiosHeaders = AxiosHeaders;
|
|
7432
|
+
axios.formToJSON = (thing)=>helpers_formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);
|
|
6893
7433
|
axios.getAdapter = adapters_adapters.getAdapter;
|
|
6894
7434
|
axios.HttpStatusCode = helpers_HttpStatusCode;
|
|
6895
7435
|
axios.default = axios;
|
|
@@ -6950,6 +7490,38 @@ var __webpack_exports__ = {};
|
|
|
6950
7490
|
}
|
|
6951
7491
|
};
|
|
6952
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
|
+
};
|
|
6953
7525
|
})();
|
|
6954
7526
|
exports.ASSIGN_UNKNOWN_TO_CUSTOMER = __webpack_exports__.ASSIGN_UNKNOWN_TO_CUSTOMER;
|
|
6955
7527
|
exports.AccountPeriodStatus = __webpack_exports__.AccountPeriodStatus;
|
|
@@ -6962,65 +7534,103 @@ exports.CmaReceiptTransactionType = __webpack_exports__.CmaReceiptTransactionTyp
|
|
|
6962
7534
|
exports.CmaStatus = __webpack_exports__.CmaStatus;
|
|
6963
7535
|
exports.CmaTransactionInputType = __webpack_exports__.CmaTransactionInputType;
|
|
6964
7536
|
exports.CmaTransactionPaymentMethod = __webpack_exports__.CmaTransactionPaymentMethod;
|
|
7537
|
+
exports.CmaTransactionStatus = __webpack_exports__.CmaTransactionStatus;
|
|
7538
|
+
exports.CmaTransactionStatusToDisplayTextMapper = __webpack_exports__.CmaTransactionStatusToDisplayTextMapper;
|
|
6965
7539
|
exports.CmaTransactionType = __webpack_exports__.CmaTransactionType;
|
|
6966
7540
|
exports.CmaTransactionTypeToDisplayTextMapper = __webpack_exports__.CmaTransactionTypeToDisplayTextMapper;
|
|
6967
|
-
exports.
|
|
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;
|
|
6968
7547
|
exports.MenuStatus = __webpack_exports__.MenuStatus;
|
|
6969
7548
|
exports.MenuType = __webpack_exports__.MenuType;
|
|
6970
|
-
exports.MtaAccountPeriodStatus = __webpack_exports__.MtaAccountPeriodStatus;
|
|
6971
7549
|
exports.MtaPayoutTransactionType = __webpack_exports__.MtaPayoutTransactionType;
|
|
6972
7550
|
exports.MtaReceiptTransactionType = __webpack_exports__.MtaReceiptTransactionType;
|
|
6973
|
-
exports.MtaReconciliationStatus = __webpack_exports__.MtaReconciliationStatus;
|
|
6974
7551
|
exports.MtaStatus = __webpack_exports__.MtaStatus;
|
|
6975
7552
|
exports.MtaTransactionInputType = __webpack_exports__.MtaTransactionInputType;
|
|
6976
7553
|
exports.MtaTransactionPaymentMethod = __webpack_exports__.MtaTransactionPaymentMethod;
|
|
7554
|
+
exports.MtaTransactionStatus = __webpack_exports__.MtaTransactionStatus;
|
|
7555
|
+
exports.MtaTransactionStatusToDisplayTextMapper = __webpack_exports__.MtaTransactionStatusToDisplayTextMapper;
|
|
6977
7556
|
exports.MtaTransactionType = __webpack_exports__.MtaTransactionType;
|
|
6978
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;
|
|
6979
7563
|
exports.ProjectApplyStatusRestRes = __webpack_exports__.ProjectApplyStatusRestRes;
|
|
6980
7564
|
exports.ProjectMtaAllocationStatus = __webpack_exports__.ProjectMtaAllocationStatus;
|
|
6981
7565
|
exports.PropertyRestResStatus = __webpack_exports__.PropertyRestResStatus;
|
|
6982
7566
|
exports.PropertyStage = __webpack_exports__.PropertyStage;
|
|
6983
7567
|
exports.ReconcileTransactionAction = __webpack_exports__.ReconcileTransactionAction;
|
|
6984
7568
|
exports.ReconciliationStatus = __webpack_exports__.ReconciliationStatus;
|
|
7569
|
+
exports.StringFilterBaseSchema = __webpack_exports__.StringFilterBaseSchema;
|
|
6985
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;
|
|
6986
7575
|
exports.allocateMtaToProjectRestReqSchema = __webpack_exports__.allocateMtaToProjectRestReqSchema;
|
|
6987
7576
|
exports.approveMtaAllocationRestReqSchema = __webpack_exports__.approveMtaAllocationRestReqSchema;
|
|
6988
7577
|
exports.assignUnknownReceiptToPropertyRestReqSchema = __webpack_exports__.assignUnknownReceiptToPropertyRestReqSchema;
|
|
6989
7578
|
exports.balanceRestResSchema = __webpack_exports__.balanceRestResSchema;
|
|
7579
|
+
exports.bankCodeSchema = __webpack_exports__.bankCodeSchema;
|
|
6990
7580
|
exports.basePayoutItemShape = __webpack_exports__.basePayoutItemShape;
|
|
7581
|
+
exports.bigIntFilterSchema = __webpack_exports__.bigIntFilterSchema;
|
|
7582
|
+
exports.boolFilterBaseSchema = __webpack_exports__.boolFilterBaseSchema;
|
|
7583
|
+
exports.boolFilterSchema = __webpack_exports__.boolFilterSchema;
|
|
6991
7584
|
exports.cancelCmaTransactionRestReqSchema = __webpack_exports__.cancelCmaTransactionRestReqSchema;
|
|
6992
7585
|
exports.cancelMtaTransactionRestReqSchema = __webpack_exports__.cancelMtaTransactionRestReqSchema;
|
|
7586
|
+
exports.cancelPayoutRestReqSchema = __webpack_exports__.cancelPayoutRestReqSchema;
|
|
7587
|
+
exports.centsToDollarsSchema = __webpack_exports__.centsToDollarsSchema;
|
|
6993
7588
|
exports.cmaAccountPeriodCloseRestReqSchema = __webpack_exports__.cmaAccountPeriodCloseRestReqSchema;
|
|
6994
7589
|
exports.cmaAccountPeriodClosingSummaryRestReqSchema = __webpack_exports__.cmaAccountPeriodClosingSummaryRestReqSchema;
|
|
6995
7590
|
exports.cmaAccountPeriodClosingSummaryRestResSchema = __webpack_exports__.cmaAccountPeriodClosingSummaryRestResSchema;
|
|
6996
7591
|
exports.cmaAccountPeriodEntitySchema = __webpack_exports__.cmaAccountPeriodEntitySchema;
|
|
7592
|
+
exports.cmaAccountPeriodRestResBaseSchema = __webpack_exports__.cmaAccountPeriodRestResBaseSchema;
|
|
6997
7593
|
exports.cmaAccountPeriodRestResSchema = __webpack_exports__.cmaAccountPeriodRestResSchema;
|
|
6998
7594
|
exports.cmaClosedAccountPeriodRestResSchema = __webpack_exports__.cmaClosedAccountPeriodRestResSchema;
|
|
6999
7595
|
exports.cmaEntitySchema = __webpack_exports__.cmaEntitySchema;
|
|
7596
|
+
exports.cmaNestedEntitySchema = __webpack_exports__.cmaNestedEntitySchema;
|
|
7000
7597
|
exports.cmaReconciledTransactionEntitySchema = __webpack_exports__.cmaReconciledTransactionEntitySchema;
|
|
7001
7598
|
exports.cmaReconciledTransactionRestResSchema = __webpack_exports__.cmaReconciledTransactionRestResSchema;
|
|
7002
7599
|
exports.cmaReconciliationEntitySchema = __webpack_exports__.cmaReconciliationEntitySchema;
|
|
7003
7600
|
exports.cmaReconciliationRestResSchema = __webpack_exports__.cmaReconciliationRestResSchema;
|
|
7601
|
+
exports.cmaRestResBaseSchema = __webpack_exports__.cmaRestResBaseSchema;
|
|
7004
7602
|
exports.cmaRestResSchema = __webpack_exports__.cmaRestResSchema;
|
|
7005
7603
|
exports.cmaTransactionEntitySchema = __webpack_exports__.cmaTransactionEntitySchema;
|
|
7604
|
+
exports.cmaTransactionNestedSchema = __webpack_exports__.cmaTransactionNestedSchema;
|
|
7605
|
+
exports.cmaTransactionRestResBaseSchema = __webpack_exports__.cmaTransactionRestResBaseSchema;
|
|
7006
7606
|
exports.cmaTransactionRestResSchema = __webpack_exports__.cmaTransactionRestResSchema;
|
|
7607
|
+
exports.cmaTransactionSearchRestReqSchema = __webpack_exports__.cmaTransactionSearchRestReqSchema;
|
|
7608
|
+
exports.confirmBankFileProcessedRestReqSchema = __webpack_exports__.confirmBankFileProcessedRestReqSchema;
|
|
7007
7609
|
exports.createCmaReconciliationRestReqSchema = __webpack_exports__.createCmaReconciliationRestReqSchema;
|
|
7008
7610
|
exports.createCmaRestReqSchema = __webpack_exports__.createCmaRestReqSchema;
|
|
7009
7611
|
exports.createCmaTransactionRestReqSchema = __webpack_exports__.createCmaTransactionRestReqSchema;
|
|
7010
7612
|
exports.createMenuRestReqSchema = __webpack_exports__.createMenuRestReqSchema;
|
|
7011
7613
|
exports.createMtaReconciliationRestReqSchema = __webpack_exports__.createMtaReconciliationRestReqSchema;
|
|
7012
7614
|
exports.createMtaRestReqSchema = __webpack_exports__.createMtaRestReqSchema;
|
|
7615
|
+
exports.createMtaToCmaPayoutRestReqSchema = __webpack_exports__.createMtaToCmaPayoutRestReqSchema;
|
|
7013
7616
|
exports.createMtaTransactionRestReqSchema = __webpack_exports__.createMtaTransactionRestReqSchema;
|
|
7014
7617
|
exports.customerEntitySchema = __webpack_exports__.customerEntitySchema;
|
|
7618
|
+
exports.dateTimeFilterBaseSchema = __webpack_exports__.dateTimeFilterBaseSchema;
|
|
7619
|
+
exports.dateTimeFilterSchema = __webpack_exports__.dateTimeFilterSchema;
|
|
7015
7620
|
exports.developerEntitySchema = __webpack_exports__.developerEntitySchema;
|
|
7621
|
+
exports.displayBankAccount = __webpack_exports__.displayBankAccount;
|
|
7622
|
+
exports.dollarsToCentsSchema = __webpack_exports__.dollarsToCentsSchema;
|
|
7623
|
+
exports.formatBankBsb = __webpack_exports__.formatBankBsb;
|
|
7016
7624
|
exports.formatCurrency = __webpack_exports__.formatCurrency;
|
|
7017
7625
|
exports.fromCentsToDollars = __webpack_exports__.fromCentsToDollars;
|
|
7018
7626
|
exports.fromDollarsToCents = __webpack_exports__.fromDollarsToCents;
|
|
7019
7627
|
exports.generateMtaPaymentMethodAccountConfigForZepto = __webpack_exports__.generateMtaPaymentMethodAccountConfigForZepto;
|
|
7020
7628
|
exports.generateMtaPaymentMethodFloatAccountConfigForZepto = __webpack_exports__.generateMtaPaymentMethodFloatAccountConfigForZepto;
|
|
7629
|
+
exports.getPropertyName = __webpack_exports__.getPropertyName;
|
|
7021
7630
|
exports.getTransactionAmountStr = __webpack_exports__.getTransactionAmountStr;
|
|
7022
7631
|
exports.getTransactionNumber = __webpack_exports__.getTransactionNumber;
|
|
7023
7632
|
exports.getTransactionStatus = __webpack_exports__.getTransactionStatus;
|
|
7633
|
+
exports.intFilterSchema = __webpack_exports__.intFilterSchema;
|
|
7024
7634
|
exports.isInterestTransaction = __webpack_exports__.isInterestTransaction;
|
|
7025
7635
|
exports.isPaymentTransaction = __webpack_exports__.isPaymentTransaction;
|
|
7026
7636
|
exports.isReceiptTransaction = __webpack_exports__.isReceiptTransaction;
|
|
@@ -7028,6 +7638,10 @@ exports.isTransactionAssignable = __webpack_exports__.isTransactionAssignable;
|
|
|
7028
7638
|
exports.isTransactionCancelable = __webpack_exports__.isTransactionCancelable;
|
|
7029
7639
|
exports.isUnknownReceiptAssignedToProperty = __webpack_exports__.isUnknownReceiptAssignedToProperty;
|
|
7030
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;
|
|
7031
7645
|
exports.maskString = __webpack_exports__.maskString;
|
|
7032
7646
|
exports.menuRestResSchema = __webpack_exports__.menuRestResSchema;
|
|
7033
7647
|
exports.menuSchema = __webpack_exports__.menuSchema;
|
|
@@ -7047,32 +7661,59 @@ exports.mtaReconciledTransactionEntitySchema = __webpack_exports__.mtaReconciled
|
|
|
7047
7661
|
exports.mtaReconciledTransactionRestResSchema = __webpack_exports__.mtaReconciledTransactionRestResSchema;
|
|
7048
7662
|
exports.mtaReconciliationEntitySchema = __webpack_exports__.mtaReconciliationEntitySchema;
|
|
7049
7663
|
exports.mtaReconciliationRestResSchema = __webpack_exports__.mtaReconciliationRestResSchema;
|
|
7664
|
+
exports.mtaRestResBaseSchema = __webpack_exports__.mtaRestResBaseSchema;
|
|
7050
7665
|
exports.mtaRestResSchema = __webpack_exports__.mtaRestResSchema;
|
|
7051
7666
|
exports.mtaTransactionEntitySchema = __webpack_exports__.mtaTransactionEntitySchema;
|
|
7667
|
+
exports.mtaTransactionRestResBaseSchema = __webpack_exports__.mtaTransactionRestResBaseSchema;
|
|
7052
7668
|
exports.mtaTransactionRestResSchema = __webpack_exports__.mtaTransactionRestResSchema;
|
|
7053
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;
|
|
7054
7675
|
exports.payoutDetailRestResSchema = __webpack_exports__.payoutDetailRestResSchema;
|
|
7055
7676
|
exports.payoutEntitySchema = __webpack_exports__.payoutEntitySchema;
|
|
7056
7677
|
exports.payoutItemReqSchema = __webpack_exports__.payoutItemReqSchema;
|
|
7057
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;
|
|
7058
7686
|
exports.payoutPaymentItemSchema = __webpack_exports__.payoutPaymentItemSchema;
|
|
7687
|
+
exports.payoutProvisionDataEntitySchema = __webpack_exports__.payoutProvisionDataEntitySchema;
|
|
7059
7688
|
exports.payoutRestReqSchema = __webpack_exports__.payoutRestReqSchema;
|
|
7689
|
+
exports.payoutRestResBaseSchema = __webpack_exports__.payoutRestResBaseSchema;
|
|
7060
7690
|
exports.payoutRestResSchema = __webpack_exports__.payoutRestResSchema;
|
|
7061
|
-
exports.
|
|
7062
|
-
exports.
|
|
7063
|
-
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;
|
|
7064
7702
|
exports.projectEntitySchema = __webpack_exports__.projectEntitySchema;
|
|
7065
7703
|
exports.projectMtaAllocationEntitySchema = __webpack_exports__.projectMtaAllocationEntitySchema;
|
|
7066
7704
|
exports.projectMtaAllocationRestResSchema = __webpack_exports__.projectMtaAllocationRestResSchema;
|
|
7705
|
+
exports.projectNestedEntitySchema = __webpack_exports__.projectNestedEntitySchema;
|
|
7067
7706
|
exports.projectRestResSchema = __webpack_exports__.projectRestResSchema;
|
|
7068
7707
|
exports.propertyAccountsBalanceRestResSchema = __webpack_exports__.propertyAccountsBalanceRestResSchema;
|
|
7069
7708
|
exports.propertyEntitySchema = __webpack_exports__.propertyEntitySchema;
|
|
7070
|
-
exports.
|
|
7709
|
+
exports.propertyNestedEntitySchema = __webpack_exports__.propertyNestedEntitySchema;
|
|
7710
|
+
exports.propertyRestResBaseSchema = __webpack_exports__.propertyRestResBaseSchema;
|
|
7071
7711
|
exports.propertyRestResSchema = __webpack_exports__.propertyRestResSchema;
|
|
7072
|
-
exports.
|
|
7073
|
-
exports.provisionDetailsSchema = __webpack_exports__.provisionDetailsSchema;
|
|
7712
|
+
exports.propertySearchRestReqSchema = __webpack_exports__.propertySearchRestReqSchema;
|
|
7074
7713
|
exports.reconcileCmaTransactionRestReqSchema = __webpack_exports__.reconcileCmaTransactionRestReqSchema;
|
|
7075
7714
|
exports.reconcileMtaTransactionRestReqSchema = __webpack_exports__.reconcileMtaTransactionRestReqSchema;
|
|
7715
|
+
exports.stateCodeSchema = __webpack_exports__.stateCodeSchema;
|
|
7716
|
+
exports.stringFilterSchema = __webpack_exports__.stringFilterSchema;
|
|
7076
7717
|
exports.updateCmaAccountPeriodReconciledToRestReqSchema = __webpack_exports__.updateCmaAccountPeriodReconciledToRestReqSchema;
|
|
7077
7718
|
exports.updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema = __webpack_exports__.updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema;
|
|
7078
7719
|
exports.updateMenuRestReqSchema = __webpack_exports__.updateMenuRestReqSchema;
|
|
@@ -7080,6 +7721,7 @@ exports.updateMtaAccountPeriodReconciledToRestReqSchema = __webpack_exports__.up
|
|
|
7080
7721
|
exports.updateMtaRestReqSchema = __webpack_exports__.updateMtaRestReqSchema;
|
|
7081
7722
|
exports.updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema = __webpack_exports__.updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema;
|
|
7082
7723
|
exports.userEntitySchema = __webpack_exports__.userEntitySchema;
|
|
7724
|
+
exports.userRestResSchema = __webpack_exports__.userRestResSchema;
|
|
7083
7725
|
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
7084
7726
|
"ASSIGN_UNKNOWN_TO_CUSTOMER",
|
|
7085
7727
|
"AccountPeriodStatus",
|
|
@@ -7092,65 +7734,103 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
|
7092
7734
|
"CmaStatus",
|
|
7093
7735
|
"CmaTransactionInputType",
|
|
7094
7736
|
"CmaTransactionPaymentMethod",
|
|
7737
|
+
"CmaTransactionStatus",
|
|
7738
|
+
"CmaTransactionStatusToDisplayTextMapper",
|
|
7095
7739
|
"CmaTransactionType",
|
|
7096
7740
|
"CmaTransactionTypeToDisplayTextMapper",
|
|
7097
|
-
"
|
|
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",
|
|
7098
7747
|
"MenuStatus",
|
|
7099
7748
|
"MenuType",
|
|
7100
|
-
"MtaAccountPeriodStatus",
|
|
7101
7749
|
"MtaPayoutTransactionType",
|
|
7102
7750
|
"MtaReceiptTransactionType",
|
|
7103
|
-
"MtaReconciliationStatus",
|
|
7104
7751
|
"MtaStatus",
|
|
7105
7752
|
"MtaTransactionInputType",
|
|
7106
7753
|
"MtaTransactionPaymentMethod",
|
|
7754
|
+
"MtaTransactionStatus",
|
|
7755
|
+
"MtaTransactionStatusToDisplayTextMapper",
|
|
7107
7756
|
"MtaTransactionType",
|
|
7108
7757
|
"MtaTransactionTypeToDisplayTextMapper",
|
|
7758
|
+
"PayoutBankFileStatus",
|
|
7759
|
+
"PayoutSourceAccountType",
|
|
7760
|
+
"PayoutStatus",
|
|
7761
|
+
"PayoutTargetAccountType",
|
|
7762
|
+
"PayoutType",
|
|
7109
7763
|
"ProjectApplyStatusRestRes",
|
|
7110
7764
|
"ProjectMtaAllocationStatus",
|
|
7111
7765
|
"PropertyRestResStatus",
|
|
7112
7766
|
"PropertyStage",
|
|
7113
7767
|
"ReconcileTransactionAction",
|
|
7114
7768
|
"ReconciliationStatus",
|
|
7769
|
+
"StringFilterBaseSchema",
|
|
7115
7770
|
"TRANSACTION_CANCEL",
|
|
7771
|
+
"accountBsbMaskedSchema",
|
|
7772
|
+
"accountBsbValidationSchema",
|
|
7773
|
+
"accountNumberMaskedSchema",
|
|
7774
|
+
"accountNumberValidationSchema",
|
|
7116
7775
|
"allocateMtaToProjectRestReqSchema",
|
|
7117
7776
|
"approveMtaAllocationRestReqSchema",
|
|
7118
7777
|
"assignUnknownReceiptToPropertyRestReqSchema",
|
|
7119
7778
|
"balanceRestResSchema",
|
|
7779
|
+
"bankCodeSchema",
|
|
7120
7780
|
"basePayoutItemShape",
|
|
7781
|
+
"bigIntFilterSchema",
|
|
7782
|
+
"boolFilterBaseSchema",
|
|
7783
|
+
"boolFilterSchema",
|
|
7121
7784
|
"cancelCmaTransactionRestReqSchema",
|
|
7122
7785
|
"cancelMtaTransactionRestReqSchema",
|
|
7786
|
+
"cancelPayoutRestReqSchema",
|
|
7787
|
+
"centsToDollarsSchema",
|
|
7123
7788
|
"cmaAccountPeriodCloseRestReqSchema",
|
|
7124
7789
|
"cmaAccountPeriodClosingSummaryRestReqSchema",
|
|
7125
7790
|
"cmaAccountPeriodClosingSummaryRestResSchema",
|
|
7126
7791
|
"cmaAccountPeriodEntitySchema",
|
|
7792
|
+
"cmaAccountPeriodRestResBaseSchema",
|
|
7127
7793
|
"cmaAccountPeriodRestResSchema",
|
|
7128
7794
|
"cmaClosedAccountPeriodRestResSchema",
|
|
7129
7795
|
"cmaEntitySchema",
|
|
7796
|
+
"cmaNestedEntitySchema",
|
|
7130
7797
|
"cmaReconciledTransactionEntitySchema",
|
|
7131
7798
|
"cmaReconciledTransactionRestResSchema",
|
|
7132
7799
|
"cmaReconciliationEntitySchema",
|
|
7133
7800
|
"cmaReconciliationRestResSchema",
|
|
7801
|
+
"cmaRestResBaseSchema",
|
|
7134
7802
|
"cmaRestResSchema",
|
|
7135
7803
|
"cmaTransactionEntitySchema",
|
|
7804
|
+
"cmaTransactionNestedSchema",
|
|
7805
|
+
"cmaTransactionRestResBaseSchema",
|
|
7136
7806
|
"cmaTransactionRestResSchema",
|
|
7807
|
+
"cmaTransactionSearchRestReqSchema",
|
|
7808
|
+
"confirmBankFileProcessedRestReqSchema",
|
|
7137
7809
|
"createCmaReconciliationRestReqSchema",
|
|
7138
7810
|
"createCmaRestReqSchema",
|
|
7139
7811
|
"createCmaTransactionRestReqSchema",
|
|
7140
7812
|
"createMenuRestReqSchema",
|
|
7141
7813
|
"createMtaReconciliationRestReqSchema",
|
|
7142
7814
|
"createMtaRestReqSchema",
|
|
7815
|
+
"createMtaToCmaPayoutRestReqSchema",
|
|
7143
7816
|
"createMtaTransactionRestReqSchema",
|
|
7144
7817
|
"customerEntitySchema",
|
|
7818
|
+
"dateTimeFilterBaseSchema",
|
|
7819
|
+
"dateTimeFilterSchema",
|
|
7145
7820
|
"developerEntitySchema",
|
|
7821
|
+
"displayBankAccount",
|
|
7822
|
+
"dollarsToCentsSchema",
|
|
7823
|
+
"formatBankBsb",
|
|
7146
7824
|
"formatCurrency",
|
|
7147
7825
|
"fromCentsToDollars",
|
|
7148
7826
|
"fromDollarsToCents",
|
|
7149
7827
|
"generateMtaPaymentMethodAccountConfigForZepto",
|
|
7150
7828
|
"generateMtaPaymentMethodFloatAccountConfigForZepto",
|
|
7829
|
+
"getPropertyName",
|
|
7151
7830
|
"getTransactionAmountStr",
|
|
7152
7831
|
"getTransactionNumber",
|
|
7153
7832
|
"getTransactionStatus",
|
|
7833
|
+
"intFilterSchema",
|
|
7154
7834
|
"isInterestTransaction",
|
|
7155
7835
|
"isPaymentTransaction",
|
|
7156
7836
|
"isReceiptTransaction",
|
|
@@ -7158,6 +7838,10 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
|
7158
7838
|
"isTransactionCancelable",
|
|
7159
7839
|
"isUnknownReceiptAssignedToProperty",
|
|
7160
7840
|
"isUnknownTransaction",
|
|
7841
|
+
"markCmaTransactionAsClearedRestReqSchema",
|
|
7842
|
+
"maskBankAccount",
|
|
7843
|
+
"maskBankAccountNumber",
|
|
7844
|
+
"maskBankBsb",
|
|
7161
7845
|
"maskString",
|
|
7162
7846
|
"menuRestResSchema",
|
|
7163
7847
|
"menuSchema",
|
|
@@ -7177,39 +7861,67 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
|
7177
7861
|
"mtaReconciledTransactionRestResSchema",
|
|
7178
7862
|
"mtaReconciliationEntitySchema",
|
|
7179
7863
|
"mtaReconciliationRestResSchema",
|
|
7864
|
+
"mtaRestResBaseSchema",
|
|
7180
7865
|
"mtaRestResSchema",
|
|
7181
7866
|
"mtaTransactionEntitySchema",
|
|
7867
|
+
"mtaTransactionRestResBaseSchema",
|
|
7182
7868
|
"mtaTransactionRestResSchema",
|
|
7183
7869
|
"paymentProviderEntitySchema",
|
|
7870
|
+
"payoutBankFileDownloadHistoryEntitySchema",
|
|
7871
|
+
"payoutBankFileEntitySchema",
|
|
7872
|
+
"payoutBankFileRestResSchema",
|
|
7873
|
+
"payoutCmaSourceDetailsRestSchema",
|
|
7874
|
+
"payoutCmaTargetDetailsRestSchema",
|
|
7184
7875
|
"payoutDetailRestResSchema",
|
|
7185
7876
|
"payoutEntitySchema",
|
|
7186
7877
|
"payoutItemReqSchema",
|
|
7187
7878
|
"payoutListRestResSchema",
|
|
7879
|
+
"payoutMtaSourceDetailsRestSchema",
|
|
7880
|
+
"payoutMtaToCmaProvisionDataEntitySchema",
|
|
7881
|
+
"payoutMtaToCmaRestResSchema",
|
|
7882
|
+
"payoutMtaToCmaTargetDetailsEntitySchema",
|
|
7883
|
+
"payoutOtherProvisionDataEntitySchema",
|
|
7884
|
+
"payoutOtherTargetDetailsEntitySchema",
|
|
7885
|
+
"payoutOtherTargetDetailsRestSchema",
|
|
7188
7886
|
"payoutPaymentItemSchema",
|
|
7887
|
+
"payoutProvisionDataEntitySchema",
|
|
7189
7888
|
"payoutRestReqSchema",
|
|
7889
|
+
"payoutRestResBaseSchema",
|
|
7190
7890
|
"payoutRestResSchema",
|
|
7191
|
-
"
|
|
7192
|
-
"
|
|
7193
|
-
"
|
|
7891
|
+
"payoutSearchRestReqSchema",
|
|
7892
|
+
"payoutSourceDetailsEntitySchema",
|
|
7893
|
+
"payoutSourceDetailsRestResBaseSchema",
|
|
7894
|
+
"payoutSourceDetailsRestSchema",
|
|
7895
|
+
"payoutStatusSummaryRestResSchema",
|
|
7896
|
+
"payoutTargetDetailsBaseEntitySchema",
|
|
7897
|
+
"payoutTargetDetailsEntitySchema",
|
|
7898
|
+
"payoutTargetDetailsRestResBaseSchema",
|
|
7899
|
+
"payoutTargetDetailsRestSchema",
|
|
7900
|
+
"payoutTransactionEntitySchema",
|
|
7901
|
+
"payoutTransactionRestResSchema",
|
|
7194
7902
|
"projectEntitySchema",
|
|
7195
7903
|
"projectMtaAllocationEntitySchema",
|
|
7196
7904
|
"projectMtaAllocationRestResSchema",
|
|
7905
|
+
"projectNestedEntitySchema",
|
|
7197
7906
|
"projectRestResSchema",
|
|
7198
7907
|
"propertyAccountsBalanceRestResSchema",
|
|
7199
7908
|
"propertyEntitySchema",
|
|
7200
|
-
"
|
|
7909
|
+
"propertyNestedEntitySchema",
|
|
7910
|
+
"propertyRestResBaseSchema",
|
|
7201
7911
|
"propertyRestResSchema",
|
|
7202
|
-
"
|
|
7203
|
-
"provisionDetailsSchema",
|
|
7912
|
+
"propertySearchRestReqSchema",
|
|
7204
7913
|
"reconcileCmaTransactionRestReqSchema",
|
|
7205
7914
|
"reconcileMtaTransactionRestReqSchema",
|
|
7915
|
+
"stateCodeSchema",
|
|
7916
|
+
"stringFilterSchema",
|
|
7206
7917
|
"updateCmaAccountPeriodReconciledToRestReqSchema",
|
|
7207
7918
|
"updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema",
|
|
7208
7919
|
"updateMenuRestReqSchema",
|
|
7209
7920
|
"updateMtaAccountPeriodReconciledToRestReqSchema",
|
|
7210
7921
|
"updateMtaRestReqSchema",
|
|
7211
7922
|
"updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema",
|
|
7212
|
-
"userEntitySchema"
|
|
7923
|
+
"userEntitySchema",
|
|
7924
|
+
"userRestResSchema"
|
|
7213
7925
|
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
7214
7926
|
Object.defineProperty(exports, '__esModule', {
|
|
7215
7927
|
value: true
|