@mikemo-coposit/am-accounting-shared 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +1549 -781
- 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/create-settlement-payout.rest.schema.d.ts +416 -0
- package/dist/cjs/schemas/payout/create-settlement-payout.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/payout/index.d.ts +9 -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 +1699 -1159
- 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/create-settlement-payout.rest.schema.d.ts +416 -0
- package/dist/esm/schemas/payout/create-settlement-payout.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/payout/index.d.ts +9 -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,211 @@ 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
|
+
createCmaSettlementPayoutSourceAccountSchema: ()=>createCmaSettlementPayoutSourceAccountSchema,
|
|
2662
|
+
payoutBankFileDownloadHistoryEntitySchema: ()=>payoutBankFileDownloadHistoryEntitySchema,
|
|
2660
2663
|
formatCurrency: ()=>formatCurrency,
|
|
2661
|
-
|
|
2664
|
+
payoutRestReqSchema: ()=>payoutRestReqSchema,
|
|
2665
|
+
menuSchema: ()=>menuSchema,
|
|
2662
2666
|
getTransactionStatus: ()=>getTransactionStatus,
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
+
ASSIGN_UNKNOWN_TO_CUSTOMER: ()=>ASSIGN_UNKNOWN_TO_CUSTOMER,
|
|
2668
|
+
mtaReconciledTransactionRestResSchema: ()=>mtaReconciledTransactionRestResSchema,
|
|
2669
|
+
basePayoutItemShape: ()=>basePayoutItemShape,
|
|
2670
|
+
isReceiptTransaction: ()=>isReceiptTransaction,
|
|
2671
|
+
mtaEntitySchema: ()=>mtaEntitySchema,
|
|
2672
|
+
mtaPaymentMethodAccountConfigSchema: ()=>mtaPaymentMethodAccountConfigSchema,
|
|
2673
|
+
DEFAULT_PAYOUT_SOURCE_DESCRIPTION: ()=>DEFAULT_PAYOUT_SOURCE_DESCRIPTION,
|
|
2674
|
+
payoutSourceDetailsEntitySchema: ()=>payoutSourceDetailsEntitySchema,
|
|
2675
|
+
payoutStatusSummaryRestResSchema: ()=>payoutStatusSummaryRestResSchema,
|
|
2676
|
+
PropertyRestResStatus: ()=>PropertyRestResStatus,
|
|
2677
|
+
TRANSACTION_CANCEL: ()=>TRANSACTION_CANCEL,
|
|
2678
|
+
mtaTransactionRestResBaseSchema: ()=>mtaTransactionRestResBaseSchema,
|
|
2679
|
+
mtaAccountPeriodRestResSchema: ()=>mtaAccountPeriodRestResSchema,
|
|
2680
|
+
isInterestTransaction: ()=>isInterestTransaction,
|
|
2681
|
+
JsonNullableFilterSchema: ()=>JsonNullableFilterSchema,
|
|
2682
|
+
payoutCmaTargetDetailsRestSchema: ()=>payoutCmaTargetDetailsRestSchema,
|
|
2683
|
+
developerEntitySchema: ()=>developerEntitySchema,
|
|
2684
|
+
isUnknownReceiptAssignedToProperty: ()=>isUnknownReceiptAssignedToProperty,
|
|
2685
|
+
payoutSourceDetailsRestResBaseSchema: ()=>payoutSourceDetailsRestResBaseSchema,
|
|
2686
|
+
propertyAccountsBalanceRestResSchema: ()=>propertyAccountsBalanceRestResSchema,
|
|
2687
|
+
updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema: ()=>updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema,
|
|
2688
|
+
createCmaSettlementPayoutRestReqSchema: ()=>createCmaSettlementPayoutRestReqSchema,
|
|
2689
|
+
createMtaReconciliationRestReqSchema: ()=>createMtaReconciliationRestReqSchema,
|
|
2690
|
+
mtaReconciliationRestResSchema: ()=>mtaReconciliationRestResSchema,
|
|
2691
|
+
MtaReceiptTransactionType: ()=>MtaReceiptTransactionType,
|
|
2692
|
+
projectNestedEntitySchema: ()=>projectNestedEntitySchema,
|
|
2693
|
+
propertyEntitySchema: ()=>propertyEntitySchema,
|
|
2694
|
+
intFilterSchema: ()=>intFilterSchema,
|
|
2695
|
+
payoutRestResSchema: ()=>payoutRestResSchema,
|
|
2696
|
+
createMtaSettlementPayoutRestReqSchema: ()=>createMtaSettlementPayoutRestReqSchema,
|
|
2697
|
+
reconcileCmaTransactionRestReqSchema: ()=>reconcileCmaTransactionRestReqSchema,
|
|
2698
|
+
MtaStatus: ()=>mta_MtaStatus,
|
|
2699
|
+
cmaRestResBaseSchema: ()=>cmaRestResBaseSchema,
|
|
2700
|
+
payoutTargetDetailsRestResBaseSchema: ()=>payoutTargetDetailsRestResBaseSchema,
|
|
2701
|
+
StringFilterBaseSchema: ()=>StringFilterBaseSchema,
|
|
2667
2702
|
cmaClosedAccountPeriodRestResSchema: ()=>cmaClosedAccountPeriodRestResSchema,
|
|
2703
|
+
payoutItemReqSchema: ()=>payoutItemReqSchema,
|
|
2668
2704
|
cmaReconciliationRestResSchema: ()=>cmaReconciliationRestResSchema,
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2705
|
+
mtaPaymentMethodEntitySchema: ()=>mtaPaymentMethodEntitySchema,
|
|
2706
|
+
payoutTransactionEntitySchema: ()=>payoutTransactionEntitySchema,
|
|
2707
|
+
updateMenuRestReqSchema: ()=>updateMenuRestReqSchema,
|
|
2708
|
+
payoutMtaToCmaTargetDetailsEntitySchema: ()=>payoutMtaToCmaTargetDetailsEntitySchema,
|
|
2709
|
+
payoutEntitySchema: ()=>payoutEntitySchema,
|
|
2710
|
+
payoutSourceDetailsRestSchema: ()=>payoutSourceDetailsRestSchema,
|
|
2711
|
+
cmaRestResSchema: ()=>cmaRestResSchema,
|
|
2712
|
+
DEFAULT_PAYOUT_TARGET_BANK_REF: ()=>DEFAULT_PAYOUT_TARGET_BANK_REF,
|
|
2713
|
+
createCmaReconciliationRestReqSchema: ()=>createCmaReconciliationRestReqSchema,
|
|
2714
|
+
cancelCmaTransactionRestReqSchema: ()=>cancelCmaTransactionRestReqSchema,
|
|
2715
|
+
getPropertyName: ()=>getPropertyName,
|
|
2716
|
+
generateMtaPaymentMethodFloatAccountConfigForZepto: ()=>generateMtaPaymentMethodFloatAccountConfigForZepto,
|
|
2717
|
+
createMtaRestReqSchema: ()=>createMtaRestReqSchema,
|
|
2718
|
+
ProjectApplyStatusRestRes: ()=>ProjectApplyStatusRestRes,
|
|
2719
|
+
customerEntitySchema: ()=>customerEntitySchema,
|
|
2720
|
+
AccountingCommonSyncStatus: ()=>AccountingCommonSyncStatus,
|
|
2673
2721
|
propertyRestResSchema: ()=>propertyRestResSchema,
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2722
|
+
CmaTransactionStatus: ()=>CmaTransactionStatus,
|
|
2723
|
+
createMtaToCmaPayoutRestReqSchema: ()=>createMtaToCmaPayoutRestReqSchema,
|
|
2724
|
+
payoutBankFileRestResSchema: ()=>payoutBankFileRestResSchema,
|
|
2725
|
+
MtaTransactionInputType: ()=>mta_input_type_constant_MtaTransactionInputType,
|
|
2726
|
+
createCmaRestReqSchema: ()=>createCmaRestReqSchema,
|
|
2727
|
+
payoutBankFileEntitySchema: ()=>payoutBankFileEntitySchema,
|
|
2728
|
+
accountNumberValidationSchema: ()=>accountNumberValidationSchema,
|
|
2729
|
+
AccountingCommonStatus: ()=>common_status_constant_AccountingCommonStatus,
|
|
2730
|
+
mtaAccountPeriodClosingSummaryRestResSchema: ()=>mtaAccountPeriodClosingSummaryRestResSchema,
|
|
2731
|
+
displayBankAccount: ()=>displayBankAccount,
|
|
2732
|
+
menuRestResSchema: ()=>menuRestResSchema,
|
|
2733
|
+
propertySearchRestReqSchema: ()=>propertySearchRestReqSchema,
|
|
2734
|
+
mtaTransactionEntitySchema: ()=>mtaTransactionEntitySchema,
|
|
2735
|
+
propertyRestResBaseSchema: ()=>propertyRestResBaseSchema,
|
|
2736
|
+
getTransactionAmountStr: ()=>getTransactionAmountStr,
|
|
2737
|
+
cmaAccountPeriodEntitySchema: ()=>cmaAccountPeriodEntitySchema,
|
|
2738
|
+
userEntitySchema: ()=>userEntitySchema,
|
|
2739
|
+
cmaAccountPeriodCloseRestReqSchema: ()=>cmaAccountPeriodCloseRestReqSchema,
|
|
2740
|
+
payoutOtherProvisionDataEntitySchema: ()=>payoutOtherProvisionDataEntitySchema,
|
|
2741
|
+
markCmaTransactionAsClearedRestReqSchema: ()=>markCmaTransactionAsClearedRestReqSchema,
|
|
2742
|
+
userRestResSchema: ()=>userRestResSchema,
|
|
2677
2743
|
payoutDetailRestResSchema: ()=>payoutDetailRestResSchema,
|
|
2744
|
+
createSettlementPayoutRestReqSchema: ()=>createSettlementPayoutRestReqSchema,
|
|
2678
2745
|
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,
|
|
2746
|
+
InputJsonValueSchema: ()=>InputJsonValueSchema,
|
|
2747
|
+
MtaPayoutTransactionType: ()=>MtaPayoutTransactionType,
|
|
2748
|
+
cmaTransactionRestResBaseSchema: ()=>cmaTransactionRestResBaseSchema,
|
|
2749
|
+
payoutSearchRestReqSchema: ()=>payoutSearchRestReqSchema,
|
|
2750
|
+
CmaTransactionStatusToDisplayTextMapper: ()=>CmaTransactionStatusToDisplayTextMapper,
|
|
2691
2751
|
updateMtaRestReqSchema: ()=>updateMtaRestReqSchema,
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2752
|
+
payoutListRestResSchema: ()=>payoutListRestResSchema,
|
|
2753
|
+
MtaTransactionType: ()=>MtaTransactionType,
|
|
2754
|
+
cmaAccountPeriodClosingSummaryRestReqSchema: ()=>cmaAccountPeriodClosingSummaryRestReqSchema,
|
|
2755
|
+
maskBankAccount: ()=>maskBankAccount,
|
|
2756
|
+
createSettlementPayoutTargetAccountSchema: ()=>createSettlementPayoutTargetAccountSchema,
|
|
2757
|
+
payoutTransactionRestResSchema: ()=>payoutTransactionRestResSchema,
|
|
2758
|
+
approveMtaAllocationRestReqSchema: ()=>approveMtaAllocationRestReqSchema,
|
|
2759
|
+
confirmBankFileProcessedRestReqSchema: ()=>confirmBankFileProcessedRestReqSchema,
|
|
2760
|
+
isTransactionCancelable: ()=>isTransactionCancelable,
|
|
2761
|
+
bankCodeSchema: ()=>bankCodeSchema,
|
|
2762
|
+
boolFilterBaseSchema: ()=>boolFilterBaseSchema,
|
|
2763
|
+
createMenuRestReqSchema: ()=>createMenuRestReqSchema,
|
|
2764
|
+
createMtaSettlementPayoutSourceAccountSchema: ()=>createMtaSettlementPayoutSourceAccountSchema,
|
|
2765
|
+
ProjectMtaAllocationStatus: ()=>ProjectMtaAllocationStatus,
|
|
2766
|
+
cancelPayoutRestReqSchema: ()=>cancelPayoutRestReqSchema,
|
|
2767
|
+
isTransactionAssignable: ()=>isTransactionAssignable,
|
|
2768
|
+
mtaClosedAccountPeriodRestResSchema: ()=>mtaClosedAccountPeriodRestResSchema,
|
|
2769
|
+
projectMtaAllocationEntitySchema: ()=>projectMtaAllocationEntitySchema,
|
|
2770
|
+
CmaTransactionPaymentMethod: ()=>cma_payment_method_constant_CmaTransactionPaymentMethod,
|
|
2697
2771
|
balanceRestResSchema: ()=>balanceRestResSchema,
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2772
|
+
bigIntFilterSchema: ()=>bigIntFilterSchema,
|
|
2773
|
+
payoutCmaSourceDetailsRestSchema: ()=>payoutCmaSourceDetailsRestSchema,
|
|
2774
|
+
projectMtaAllocationRestResSchema: ()=>projectMtaAllocationRestResSchema,
|
|
2775
|
+
mtaListItemRestResSchema: ()=>mtaListItemRestResSchema,
|
|
2776
|
+
MtaTransactionPaymentMethod: ()=>mta_payment_method_constant_MtaTransactionPaymentMethod,
|
|
2777
|
+
cmaReconciledTransactionRestResSchema: ()=>cmaReconciledTransactionRestResSchema,
|
|
2778
|
+
projectRestResSchema: ()=>projectRestResSchema,
|
|
2779
|
+
stateCodeSchema: ()=>stateCodeSchema,
|
|
2780
|
+
MtaTransactionStatusToDisplayTextMapper: ()=>MtaTransactionStatusToDisplayTextMapper,
|
|
2781
|
+
PropertyStage: ()=>PropertyStage,
|
|
2782
|
+
accountBsbValidationSchema: ()=>accountBsbValidationSchema,
|
|
2783
|
+
payoutRestResBaseSchema: ()=>payoutRestResBaseSchema,
|
|
2784
|
+
stringFilterSchema: ()=>stringFilterSchema,
|
|
2785
|
+
payoutTargetDetailsRestSchema: ()=>payoutTargetDetailsRestSchema,
|
|
2786
|
+
updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema: ()=>updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema,
|
|
2787
|
+
cmaAccountPeriodRestResBaseSchema: ()=>cmaAccountPeriodRestResBaseSchema,
|
|
2788
|
+
cmaAccountPeriodClosingSummaryRestResSchema: ()=>cmaAccountPeriodClosingSummaryRestResSchema,
|
|
2789
|
+
cmaTransactionRestResSchema: ()=>cmaTransactionRestResSchema,
|
|
2790
|
+
CmaStatus: ()=>CmaStatus,
|
|
2791
|
+
MtaTransactionStatus: ()=>MtaTransactionStatus,
|
|
2792
|
+
accountNumberMaskedSchema: ()=>accountNumberMaskedSchema,
|
|
2793
|
+
cmaTransactionSearchRestReqSchema: ()=>cmaTransactionSearchRestReqSchema,
|
|
2794
|
+
fromDollarsToCents: ()=>fromDollarsToCents,
|
|
2795
|
+
PayoutBankFileStatus: ()=>PayoutBankFileStatus,
|
|
2796
|
+
isPaymentTransaction: ()=>isPaymentTransaction,
|
|
2797
|
+
dollarsToCentsSchema: ()=>dollarsToCentsSchema,
|
|
2798
|
+
payoutOtherTargetDetailsRestSchema: ()=>payoutOtherTargetDetailsRestSchema,
|
|
2799
|
+
cmaNestedEntitySchema: ()=>cmaNestedEntitySchema,
|
|
2800
|
+
payoutMtaSourceDetailsRestSchema: ()=>payoutMtaSourceDetailsRestSchema,
|
|
2801
|
+
mtaAccountPeriodClosingSummaryRestReqSchema: ()=>mtaAccountPeriodClosingSummaryRestReqSchema,
|
|
2705
2802
|
CmaPayoutTransactionType: ()=>CmaPayoutTransactionType,
|
|
2706
|
-
|
|
2803
|
+
MenuType: ()=>MenuType,
|
|
2804
|
+
ReconciliationStatus: ()=>reconciliation_constant_ReconciliationStatus,
|
|
2805
|
+
assignUnknownReceiptToPropertyRestReqSchema: ()=>assignUnknownReceiptToPropertyRestReqSchema,
|
|
2707
2806
|
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
2807
|
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,
|
|
2808
|
+
mtaAccountPeriodEntitySchema: ()=>mtaAccountPeriodEntitySchema,
|
|
2730
2809
|
mtaPaymentMethodFloatAccountConfigSchema: ()=>mtaPaymentMethodFloatAccountConfigSchema,
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
mtaListItemRestResSchema: ()=>mtaListItemRestResSchema,
|
|
2734
|
-
ReconciliationStatus: ()=>reconciliation_constant_ReconciliationStatus,
|
|
2735
|
-
createCmaTransactionRestReqSchema: ()=>createCmaTransactionRestReqSchema,
|
|
2810
|
+
mtaReconciledTransactionEntitySchema: ()=>mtaReconciledTransactionEntitySchema,
|
|
2811
|
+
isUnknownTransaction: ()=>isUnknownTransaction,
|
|
2736
2812
|
cmaEntitySchema: ()=>cmaEntitySchema,
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2813
|
+
maskBankBsb: ()=>maskBankBsb,
|
|
2814
|
+
paymentProviderEntitySchema: ()=>paymentProviderEntitySchema,
|
|
2815
|
+
maskBankAccountNumber: ()=>maskBankAccountNumber,
|
|
2816
|
+
dateTimeFilterBaseSchema: ()=>dateTimeFilterBaseSchema,
|
|
2817
|
+
mtaRestResSchema: ()=>mtaRestResSchema,
|
|
2818
|
+
payoutMtaToCmaRestResSchema: ()=>payoutMtaToCmaRestResSchema,
|
|
2819
|
+
projectEntitySchema: ()=>projectEntitySchema,
|
|
2820
|
+
generateMtaPaymentMethodAccountConfigForZepto: ()=>generateMtaPaymentMethodAccountConfigForZepto,
|
|
2821
|
+
payoutOtherTargetDetailsEntitySchema: ()=>payoutOtherTargetDetailsEntitySchema,
|
|
2822
|
+
AmmoZeptoClient: ()=>AmmoZeptoClient,
|
|
2823
|
+
reconcileMtaTransactionRestReqSchema: ()=>reconcileMtaTransactionRestReqSchema
|
|
2748
2824
|
});
|
|
2749
2825
|
var common_utils_namespaceObject = {};
|
|
2750
2826
|
__webpack_require__.r(common_utils_namespaceObject);
|
|
@@ -2760,20 +2836,32 @@ var __webpack_exports__ = {};
|
|
|
2760
2836
|
INACTIVE: 'inactive'
|
|
2761
2837
|
};
|
|
2762
2838
|
var cma_input_type_constant_CmaTransactionInputType = /*#__PURE__*/ function(CmaTransactionInputType) {
|
|
2763
|
-
CmaTransactionInputType["
|
|
2839
|
+
CmaTransactionInputType["MANUAL"] = "manual";
|
|
2840
|
+
CmaTransactionInputType["SYSTEM"] = "system";
|
|
2841
|
+
CmaTransactionInputType["FROM_PAYOUT"] = "from_payout";
|
|
2764
2842
|
return CmaTransactionInputType;
|
|
2765
2843
|
}({});
|
|
2766
2844
|
var cma_payment_method_constant_CmaTransactionPaymentMethod = /*#__PURE__*/ function(CmaTransactionPaymentMethod) {
|
|
2767
2845
|
CmaTransactionPaymentMethod["EFT"] = "EFT";
|
|
2768
2846
|
return CmaTransactionPaymentMethod;
|
|
2769
2847
|
}({});
|
|
2848
|
+
const CmaTransactionStatus = {
|
|
2849
|
+
CLEARING: 'clearing',
|
|
2850
|
+
CLEARED: 'cleared',
|
|
2851
|
+
RECONCILED: 'reconciled'
|
|
2852
|
+
};
|
|
2853
|
+
const CmaTransactionStatusToDisplayTextMapper = {
|
|
2854
|
+
[CmaTransactionStatus.CLEARING]: 'Clearing',
|
|
2855
|
+
[CmaTransactionStatus.CLEARED]: 'Cleared',
|
|
2856
|
+
[CmaTransactionStatus.RECONCILED]: 'Reconciled'
|
|
2857
|
+
};
|
|
2770
2858
|
const CmaReceiptTransactionType = {
|
|
2771
2859
|
INTEREST: 'interest',
|
|
2772
|
-
|
|
2860
|
+
RECEIPT: 'receipt'
|
|
2773
2861
|
};
|
|
2774
2862
|
const CmaPayoutTransactionType = {
|
|
2775
2863
|
CMA_SETTLEMENT_PAYOUT: 'cma_settlement_payout',
|
|
2776
|
-
|
|
2864
|
+
CMA_REFUND_PAYOUT: 'cma_refund_payout'
|
|
2777
2865
|
};
|
|
2778
2866
|
const CmaTransactionType = {
|
|
2779
2867
|
...CmaReceiptTransactionType,
|
|
@@ -2782,9 +2870,9 @@ var __webpack_exports__ = {};
|
|
|
2782
2870
|
};
|
|
2783
2871
|
const CmaTransactionTypeToDisplayTextMapper = {
|
|
2784
2872
|
[CmaTransactionType.INTEREST]: 'Interest',
|
|
2785
|
-
[CmaTransactionType.
|
|
2873
|
+
[CmaTransactionType.RECEIPT]: 'Receipt',
|
|
2786
2874
|
[CmaTransactionType.CMA_SETTLEMENT_PAYOUT]: 'CMA Settlement Payout',
|
|
2787
|
-
[CmaTransactionType.
|
|
2875
|
+
[CmaTransactionType.CMA_REFUND_PAYOUT]: 'CMA Refund Payout',
|
|
2788
2876
|
[CmaTransactionType.TRANSACTION_CANCEL]: 'Transaction Cancel'
|
|
2789
2877
|
};
|
|
2790
2878
|
var account_period_constant_AccountPeriodStatus = /*#__PURE__*/ function(AccountPeriodStatus) {
|
|
@@ -2826,39 +2914,39 @@ var __webpack_exports__ = {};
|
|
|
2826
2914
|
MtaStatus["INACTIVE"] = "inactive";
|
|
2827
2915
|
return MtaStatus;
|
|
2828
2916
|
}({});
|
|
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
2917
|
var mta_input_type_constant_MtaTransactionInputType = /*#__PURE__*/ function(MtaTransactionInputType) {
|
|
2840
2918
|
MtaTransactionInputType["UNKNOWN"] = "unknown";
|
|
2841
2919
|
MtaTransactionInputType["CUSTOMER"] = "customer";
|
|
2842
2920
|
MtaTransactionInputType["SYSTEM"] = "system";
|
|
2921
|
+
MtaTransactionInputType["PAYOUT"] = "payout";
|
|
2922
|
+
MtaTransactionInputType["MANUAL"] = "manual";
|
|
2843
2923
|
return MtaTransactionInputType;
|
|
2844
2924
|
}({});
|
|
2845
2925
|
var mta_payment_method_constant_MtaTransactionPaymentMethod = /*#__PURE__*/ function(MtaTransactionPaymentMethod) {
|
|
2846
2926
|
MtaTransactionPaymentMethod["EFT"] = "EFT";
|
|
2847
2927
|
return MtaTransactionPaymentMethod;
|
|
2848
2928
|
}({});
|
|
2929
|
+
const MtaTransactionStatus = {
|
|
2930
|
+
CLEARING: 'clearing',
|
|
2931
|
+
CLEARED: 'cleared',
|
|
2932
|
+
RECONCILED: 'reconciled'
|
|
2933
|
+
};
|
|
2934
|
+
const MtaTransactionStatusToDisplayTextMapper = {
|
|
2935
|
+
[MtaTransactionStatus.CLEARING]: 'Clearing',
|
|
2936
|
+
[MtaTransactionStatus.CLEARED]: 'Cleared',
|
|
2937
|
+
[MtaTransactionStatus.RECONCILED]: 'Reconciled'
|
|
2938
|
+
};
|
|
2849
2939
|
const MtaReceiptTransactionType = {
|
|
2850
2940
|
UNKNOWN: 'unknown',
|
|
2851
2941
|
HOLDING_DEPOSIT: 'holding_deposit',
|
|
2852
2942
|
SIGNING_DEPOSIT: 'signing_deposit',
|
|
2853
|
-
WEEKLY_PAYMENT: 'weekly_payment'
|
|
2854
|
-
INTEREST: 'interest'
|
|
2943
|
+
WEEKLY_PAYMENT: 'weekly_payment'
|
|
2855
2944
|
};
|
|
2856
2945
|
const ASSIGN_UNKNOWN_TO_CUSTOMER = 'assign_unknown_to_customer';
|
|
2857
2946
|
const TRANSACTION_CANCEL = 'transaction_cancel';
|
|
2858
2947
|
const MtaPayoutTransactionType = {
|
|
2859
2948
|
TRUST_TO_CMA_PAYOUT: 'trust_to_cma_payout',
|
|
2860
2949
|
TRUST_SETTLEMENT_PAYOUT: 'trust_settlement_payout',
|
|
2861
|
-
CMA_SETTLEMENT_PAYOUT: 'cma_settlement_payout',
|
|
2862
2950
|
TRUST_REFUND_PAYOUT: 'trust_refund_payout',
|
|
2863
2951
|
UNKNOWN_PAYOUT: 'unknown_payout'
|
|
2864
2952
|
};
|
|
@@ -2873,15 +2961,71 @@ var __webpack_exports__ = {};
|
|
|
2873
2961
|
[MtaTransactionType.HOLDING_DEPOSIT]: 'Holding Deposit',
|
|
2874
2962
|
[MtaTransactionType.SIGNING_DEPOSIT]: 'Signing Deposit',
|
|
2875
2963
|
[MtaTransactionType.WEEKLY_PAYMENT]: 'Weekly Payment',
|
|
2876
|
-
[MtaTransactionType.INTEREST]: 'Interest',
|
|
2877
2964
|
[MtaTransactionType.TRUST_TO_CMA_PAYOUT]: 'Trust to CMA Payout',
|
|
2878
2965
|
[MtaTransactionType.TRUST_SETTLEMENT_PAYOUT]: 'Trust Settlement Payout',
|
|
2879
|
-
[MtaTransactionType.CMA_SETTLEMENT_PAYOUT]: 'CMA Settlement Payout',
|
|
2880
2966
|
[MtaTransactionType.TRUST_REFUND_PAYOUT]: 'Trust Refund Payout',
|
|
2881
2967
|
[MtaTransactionType.UNKNOWN_PAYOUT]: 'Unknown Payout',
|
|
2882
2968
|
[MtaTransactionType.ASSIGN_UNKNOWN_TO_CUSTOMER]: 'Assign Unknown',
|
|
2883
2969
|
[MtaTransactionType.TRANSACTION_CANCEL]: 'Cancel Transaction'
|
|
2884
2970
|
};
|
|
2971
|
+
const PayoutStatus = {
|
|
2972
|
+
PENDING: 'pending',
|
|
2973
|
+
PROCESSING: 'processing',
|
|
2974
|
+
CLEARING: 'clearing',
|
|
2975
|
+
COMPLETED: 'completed',
|
|
2976
|
+
CANCELLED: 'cancelled'
|
|
2977
|
+
};
|
|
2978
|
+
const PayoutType = {
|
|
2979
|
+
TRUST_TO_CMA_PAYOUT: 'trust_to_cma_payout',
|
|
2980
|
+
TRUST_SETTLEMENT_PAYOUT: 'trust_settlement_payout',
|
|
2981
|
+
CMA_SETTLEMENT_PAYOUT: 'cma_settlement_payout',
|
|
2982
|
+
TRUST_REFUND_PAYOUT: 'trust_refund_payout',
|
|
2983
|
+
UNKNOWN_PAYOUT: 'unknown_payout'
|
|
2984
|
+
};
|
|
2985
|
+
var payout_constant_PayoutSourceAccountType = /*#__PURE__*/ function(PayoutSourceAccountType) {
|
|
2986
|
+
PayoutSourceAccountType["CMA"] = "cma";
|
|
2987
|
+
PayoutSourceAccountType["MTA"] = "mta";
|
|
2988
|
+
return PayoutSourceAccountType;
|
|
2989
|
+
}({});
|
|
2990
|
+
var payout_constant_PayoutTargetAccountType = /*#__PURE__*/ function(PayoutTargetAccountType) {
|
|
2991
|
+
PayoutTargetAccountType["CMA"] = "cma";
|
|
2992
|
+
PayoutTargetAccountType["OTHER"] = "other";
|
|
2993
|
+
return PayoutTargetAccountType;
|
|
2994
|
+
}({});
|
|
2995
|
+
const DEFAULT_PAYOUT_TARGET_BANK_REF = {
|
|
2996
|
+
[PayoutType.TRUST_TO_CMA_PAYOUT]: ()=>'CMA Payout',
|
|
2997
|
+
[PayoutType.CMA_SETTLEMENT_PAYOUT]: ()=>'CMA Settlement',
|
|
2998
|
+
[PayoutType.TRUST_REFUND_PAYOUT]: ()=>'Refund',
|
|
2999
|
+
[PayoutType.TRUST_SETTLEMENT_PAYOUT]: ()=>'Settlement',
|
|
3000
|
+
[PayoutType.UNKNOWN_PAYOUT]: ()=>'Pay Unknown'
|
|
3001
|
+
};
|
|
3002
|
+
const DEFAULT_PAYOUT_TARGET_DESCRIPTION = {
|
|
3003
|
+
[PayoutType.TRUST_TO_CMA_PAYOUT]: ()=>'CMA Payout',
|
|
3004
|
+
[PayoutType.CMA_SETTLEMENT_PAYOUT]: ()=>'CMA Settlement',
|
|
3005
|
+
[PayoutType.TRUST_REFUND_PAYOUT]: ()=>'Refund',
|
|
3006
|
+
[PayoutType.TRUST_SETTLEMENT_PAYOUT]: ()=>'Settlement',
|
|
3007
|
+
[PayoutType.UNKNOWN_PAYOUT]: ()=>'Pay Unknown'
|
|
3008
|
+
};
|
|
3009
|
+
const DEFAULT_PAYOUT_SOURCE_BANK_REF = {
|
|
3010
|
+
[PayoutType.TRUST_TO_CMA_PAYOUT]: ()=>'CMA Investment',
|
|
3011
|
+
[PayoutType.CMA_SETTLEMENT_PAYOUT]: ()=>'CMA Settlement',
|
|
3012
|
+
[PayoutType.TRUST_REFUND_PAYOUT]: ()=>'Refund',
|
|
3013
|
+
[PayoutType.TRUST_SETTLEMENT_PAYOUT]: ()=>'Settlement',
|
|
3014
|
+
[PayoutType.UNKNOWN_PAYOUT]: ()=>'Pay Unknown'
|
|
3015
|
+
};
|
|
3016
|
+
const DEFAULT_PAYOUT_SOURCE_DESCRIPTION = {
|
|
3017
|
+
[PayoutType.TRUST_TO_CMA_PAYOUT]: ()=>'CMA Investment',
|
|
3018
|
+
[PayoutType.CMA_SETTLEMENT_PAYOUT]: ()=>'CMA Settlement',
|
|
3019
|
+
[PayoutType.TRUST_REFUND_PAYOUT]: ()=>'Refund',
|
|
3020
|
+
[PayoutType.TRUST_SETTLEMENT_PAYOUT]: ()=>'Settlement',
|
|
3021
|
+
[PayoutType.UNKNOWN_PAYOUT]: ()=>'Pay Unknown'
|
|
3022
|
+
};
|
|
3023
|
+
const PayoutBankFileStatus = {
|
|
3024
|
+
GENERATED: 'generated',
|
|
3025
|
+
DOWNLOADED: 'downloaded',
|
|
3026
|
+
PROCESSED: 'processed',
|
|
3027
|
+
ARCHIVED: 'archived'
|
|
3028
|
+
};
|
|
2885
3029
|
const ProjectMtaAllocationStatus = {
|
|
2886
3030
|
PENDING_APPROVAL: 'pending_approval',
|
|
2887
3031
|
APPROVED: 'approved',
|
|
@@ -2900,65 +3044,84 @@ var __webpack_exports__ = {};
|
|
|
2900
3044
|
STANDARD_SALE: "standard_sale",
|
|
2901
3045
|
COPOSIT_SALE: "coposit_sale"
|
|
2902
3046
|
};
|
|
2903
|
-
const am_zshared_namespaceObject = require("@mikemo-coposit/am-zshared");
|
|
2904
3047
|
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({
|
|
3048
|
+
const cmaReconciledTransactionEntitySchema = external_zod_namespaceObject.z.object({
|
|
2919
3049
|
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(),
|
|
3050
|
+
cmaTransactionId: external_zod_namespaceObject.z.string(),
|
|
3051
|
+
accountPeriodId: external_zod_namespaceObject.z.string().nullable(),
|
|
3052
|
+
reconciledByReconciliationId: external_zod_namespaceObject.z.string(),
|
|
3053
|
+
reconciledAt: external_zod_namespaceObject.z.coerce.date(),
|
|
2933
3054
|
status: external_zod_namespaceObject.z.string(),
|
|
2934
3055
|
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3056
|
+
createdBy: external_zod_namespaceObject.z.string(),
|
|
2935
3057
|
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({
|
|
3058
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3059
|
+
});
|
|
3060
|
+
const cmaTransactionEntitySchema = external_zod_namespaceObject.z.object({
|
|
2940
3061
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
2941
|
-
|
|
3062
|
+
cmaId: external_zod_namespaceObject.z.string(),
|
|
3063
|
+
sequence: external_zod_namespaceObject.z.number().int(),
|
|
3064
|
+
propertyId: external_zod_namespaceObject.z.string().nullable(),
|
|
3065
|
+
payoutId: external_zod_namespaceObject.z.string().nullable(),
|
|
3066
|
+
inputType: external_zod_namespaceObject.z.string(),
|
|
3067
|
+
creditAmountCents: external_zod_namespaceObject.z.bigint(),
|
|
3068
|
+
debitAmountCents: external_zod_namespaceObject.z.bigint(),
|
|
3069
|
+
balanceCents: external_zod_namespaceObject.z.bigint(),
|
|
3070
|
+
createType: external_zod_namespaceObject.z.string(),
|
|
3071
|
+
bankRef: external_zod_namespaceObject.z.string().nullable(),
|
|
3072
|
+
description: external_zod_namespaceObject.z.string().nullable(),
|
|
3073
|
+
transactionType: external_zod_namespaceObject.z.string(),
|
|
2942
3074
|
status: external_zod_namespaceObject.z.string(),
|
|
3075
|
+
isCanceled: external_zod_namespaceObject.z.boolean(),
|
|
2943
3076
|
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3077
|
+
isRefunded: external_zod_namespaceObject.z.boolean(),
|
|
3078
|
+
clearedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
2944
3079
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
2945
|
-
syncedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
2946
|
-
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3080
|
+
syncedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
3081
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3082
|
+
sourceTransactionId: external_zod_namespaceObject.z.string().nullable(),
|
|
3083
|
+
cancelType: external_zod_namespaceObject.z.string().nullable(),
|
|
3084
|
+
canceledBy: external_zod_namespaceObject.z.string().nullable(),
|
|
3085
|
+
canceledAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
3086
|
+
canceledReason: external_zod_namespaceObject.z.string().nullable(),
|
|
3087
|
+
createdBy: external_zod_namespaceObject.z.string()
|
|
2947
3088
|
});
|
|
2948
|
-
const
|
|
3089
|
+
const cmaTransactionNestedSchema = external_zod_namespaceObject.z.object({
|
|
3090
|
+
property: external_zod_namespaceObject.z.lazy(()=>propertyNestedEntitySchema),
|
|
3091
|
+
cma: external_zod_namespaceObject.z.lazy(()=>cmaEntitySchema),
|
|
3092
|
+
sourceTransaction: external_zod_namespaceObject.z.lazy(()=>cmaTransactionEntitySchema).optional(),
|
|
3093
|
+
subsequentTransactions: external_zod_namespaceObject.z.lazy(()=>cmaTransactionEntitySchema.array()).optional(),
|
|
3094
|
+
reconciledTransactions: external_zod_namespaceObject.z.lazy(()=>cmaReconciledTransactionEntitySchema.array()).optional()
|
|
3095
|
+
});
|
|
3096
|
+
const mtaTransactionEntitySchema = external_zod_namespaceObject.z.object({
|
|
2949
3097
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
3098
|
+
referenceId: external_zod_namespaceObject.z.string().nullable(),
|
|
3099
|
+
sequence: external_zod_namespaceObject.z.number().int(),
|
|
3100
|
+
mtaId: external_zod_namespaceObject.z.string(),
|
|
3101
|
+
propertyId: external_zod_namespaceObject.z.string().nullable(),
|
|
3102
|
+
inputType: external_zod_namespaceObject.z.string(),
|
|
3103
|
+
transactionType: external_zod_namespaceObject.z.string(),
|
|
3104
|
+
creditAmountCents: external_zod_namespaceObject.z.bigint(),
|
|
3105
|
+
debitAmountCents: external_zod_namespaceObject.z.bigint(),
|
|
3106
|
+
balanceCents: external_zod_namespaceObject.z.bigint(),
|
|
3107
|
+
bankRef: external_zod_namespaceObject.z.string().nullable(),
|
|
3108
|
+
description: external_zod_namespaceObject.z.string().nullable(),
|
|
2954
3109
|
status: external_zod_namespaceObject.z.string(),
|
|
2955
|
-
|
|
2956
|
-
|
|
3110
|
+
isRefunded: external_zod_namespaceObject.z.boolean(),
|
|
3111
|
+
isCanceled: external_zod_namespaceObject.z.boolean(),
|
|
2957
3112
|
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3113
|
+
clearedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
2958
3114
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3115
|
+
syncedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
2959
3116
|
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
2960
|
-
|
|
2961
|
-
|
|
3117
|
+
note: external_zod_namespaceObject.z.string().nullable(),
|
|
3118
|
+
sourceTransactionId: external_zod_namespaceObject.z.string().nullable(),
|
|
3119
|
+
cancelType: external_zod_namespaceObject.z.string().nullable(),
|
|
3120
|
+
canceledBy: external_zod_namespaceObject.z.string().nullable(),
|
|
3121
|
+
canceledAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
3122
|
+
canceledReason: external_zod_namespaceObject.z.string().nullable(),
|
|
3123
|
+
createdBy: external_zod_namespaceObject.z.string().uuid().nullable(),
|
|
3124
|
+
payoutId: external_zod_namespaceObject.z.string().uuid().nullable()
|
|
2962
3125
|
});
|
|
2963
3126
|
const mtaEntitySchema = external_zod_namespaceObject.z.object({
|
|
2964
3127
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
@@ -2980,130 +3143,21 @@ var __webpack_exports__ = {};
|
|
|
2980
3143
|
createdBy: external_zod_namespaceObject.z.string().nullable(),
|
|
2981
3144
|
updatedBy: external_zod_namespaceObject.z.string().nullable()
|
|
2982
3145
|
});
|
|
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({
|
|
3146
|
+
const developerEntitySchema = external_zod_namespaceObject.z.object({
|
|
3007
3147
|
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(),
|
|
3148
|
+
companyName: external_zod_namespaceObject.z.string().nullable(),
|
|
3013
3149
|
status: external_zod_namespaceObject.z.string(),
|
|
3014
3150
|
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3015
3151
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3152
|
+
syncedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3016
3153
|
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3017
3154
|
});
|
|
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
3155
|
const projectEntitySchema = external_zod_namespaceObject.z.object({
|
|
3102
3156
|
id: external_zod_namespaceObject.z.string(),
|
|
3103
3157
|
name: external_zod_namespaceObject.z.string(),
|
|
3104
3158
|
developerId: external_zod_namespaceObject.z.string(),
|
|
3105
3159
|
mtaId: external_zod_namespaceObject.z.string().nullable(),
|
|
3106
|
-
state: external_zod_namespaceObject.z.
|
|
3160
|
+
state: external_zod_namespaceObject.z.string(),
|
|
3107
3161
|
type: external_zod_namespaceObject.z.string(),
|
|
3108
3162
|
status: external_zod_namespaceObject.z.string(),
|
|
3109
3163
|
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
@@ -3111,6 +3165,9 @@ var __webpack_exports__ = {};
|
|
|
3111
3165
|
syncedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3112
3166
|
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3113
3167
|
});
|
|
3168
|
+
const projectNestedEntitySchema = projectEntitySchema.extend({
|
|
3169
|
+
developer: developerEntitySchema.nullish()
|
|
3170
|
+
});
|
|
3114
3171
|
const customerEntitySchema = external_zod_namespaceObject.z.object({
|
|
3115
3172
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3116
3173
|
fullName: external_zod_namespaceObject.z.string().nullable(),
|
|
@@ -3141,61 +3198,124 @@ var __webpack_exports__ = {};
|
|
|
3141
3198
|
external_zod_namespaceObject.z.bigint(),
|
|
3142
3199
|
external_zod_namespaceObject.z.number()
|
|
3143
3200
|
]),
|
|
3144
|
-
stage: external_zod_namespaceObject.z.
|
|
3145
|
-
status: external_zod_namespaceObject.z.
|
|
3201
|
+
stage: external_zod_namespaceObject.z.string(),
|
|
3202
|
+
status: external_zod_namespaceObject.z.string(),
|
|
3146
3203
|
mtaId: external_zod_namespaceObject.z.string(),
|
|
3147
3204
|
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3148
3205
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3149
3206
|
syncedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3150
3207
|
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3151
3208
|
});
|
|
3152
|
-
const
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3209
|
+
const propertyNestedEntitySchema = propertyEntitySchema.extend({
|
|
3210
|
+
project: external_zod_namespaceObject.z.lazy(()=>projectNestedEntitySchema).nullish(),
|
|
3211
|
+
customer: external_zod_namespaceObject.z.lazy(()=>customerEntitySchema).nullish(),
|
|
3212
|
+
cma: external_zod_namespaceObject.z.lazy(()=>cmaEntitySchema).nullish(),
|
|
3213
|
+
mta: external_zod_namespaceObject.z.lazy(()=>mtaEntitySchema).nullish(),
|
|
3214
|
+
cmaTransactions: external_zod_namespaceObject.z.lazy(()=>cmaTransactionEntitySchema.array()).nullish(),
|
|
3215
|
+
mtaTransactions: external_zod_namespaceObject.z.lazy(()=>mtaTransactionEntitySchema.array()).nullish()
|
|
3216
|
+
});
|
|
3217
|
+
const cmaEntitySchema = external_zod_namespaceObject.z.object({
|
|
3218
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3219
|
+
cmaSeq: external_zod_namespaceObject.z.number().int(),
|
|
3220
|
+
country: external_zod_namespaceObject.z.string(),
|
|
3221
|
+
stateCode: external_zod_namespaceObject.z.string(),
|
|
3222
|
+
description: external_zod_namespaceObject.z.string().nullable(),
|
|
3223
|
+
bankCode: external_zod_namespaceObject.z.string(),
|
|
3224
|
+
bsb: external_zod_namespaceObject.z.string(),
|
|
3225
|
+
accountNumber: external_zod_namespaceObject.z.string(),
|
|
3226
|
+
accountName: external_zod_namespaceObject.z.string(),
|
|
3227
|
+
propertyId: external_zod_namespaceObject.z.string(),
|
|
3228
|
+
balanceCents: external_zod_namespaceObject.z.bigint(),
|
|
3229
|
+
currentReceiveSeq: external_zod_namespaceObject.z.number().int(),
|
|
3230
|
+
currentPayoutSeq: external_zod_namespaceObject.z.number().int(),
|
|
3231
|
+
payoutId: external_zod_namespaceObject.z.number().int(),
|
|
3232
|
+
status: external_zod_namespaceObject.z.string(),
|
|
3233
|
+
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3234
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3235
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3236
|
+
createdBy: external_zod_namespaceObject.z.string()
|
|
3237
|
+
});
|
|
3238
|
+
const cmaNestedEntitySchema = external_zod_namespaceObject.z.object({
|
|
3239
|
+
property: external_zod_namespaceObject.z.lazy(()=>propertyNestedEntitySchema).nullish()
|
|
3240
|
+
});
|
|
3241
|
+
const maskString = (input, options = {})=>{
|
|
3242
|
+
if (!input) return '';
|
|
3243
|
+
const { visibleStart = 0, visibleEnd = 2, maskChar = '*' } = options;
|
|
3244
|
+
const length = input.length;
|
|
3245
|
+
if (length <= 2) return input;
|
|
3246
|
+
const maxVisible = length - 2;
|
|
3247
|
+
const actualVisibleStart = Math.min(visibleStart, maxVisible - visibleEnd);
|
|
3248
|
+
const actualVisibleEnd = Math.min(visibleEnd, maxVisible - actualVisibleStart);
|
|
3249
|
+
const start = input.slice(0, actualVisibleStart);
|
|
3250
|
+
const end = input.slice(-actualVisibleEnd);
|
|
3251
|
+
const masked = maskChar.repeat(length - actualVisibleStart - actualVisibleEnd);
|
|
3252
|
+
return start + masked + end;
|
|
3253
|
+
};
|
|
3254
|
+
const maskBankBsb = (bsb)=>{
|
|
3255
|
+
if (!bsb) return null;
|
|
3256
|
+
const bsbString = bsb.toString().replace(/[^\d*]/g, '');
|
|
3257
|
+
return maskString(bsbString, {
|
|
3258
|
+
visibleStart: 0,
|
|
3259
|
+
visibleEnd: 3
|
|
3260
|
+
})?.replace(/^(\*+)(\d{3})$/, '$1-$2');
|
|
3261
|
+
};
|
|
3262
|
+
const formatBankBsb = (bsb)=>{
|
|
3263
|
+
if (!bsb) return null;
|
|
3264
|
+
return bsb.toString().replace(/^(\d{3})(\d{3})$/, '$1-$2');
|
|
3265
|
+
};
|
|
3266
|
+
const maskBankAccountNumber = (accountNumber)=>{
|
|
3267
|
+
if (!accountNumber) return null;
|
|
3268
|
+
return maskString(accountNumber?.toString().replace(/[^\d*]/g, ''), {
|
|
3269
|
+
visibleStart: 0,
|
|
3270
|
+
visibleEnd: 2
|
|
3271
|
+
});
|
|
3272
|
+
};
|
|
3273
|
+
const displayBankAccount = (payload)=>{
|
|
3274
|
+
if (payload?.masked === false) {
|
|
3275
|
+
const bsb = payload.bsb?.toString()?.replace(/^(\d{3})(\d{3})$/, '$1-$2');
|
|
3276
|
+
return `${bsb} ${payload.accountNumber}`;
|
|
3277
|
+
}
|
|
3278
|
+
return `${maskBankBsb(payload.bsb)} ${maskBankAccountNumber(payload.accountNumber)}`;
|
|
3279
|
+
};
|
|
3280
|
+
const maskBankAccount = (payload)=>({
|
|
3281
|
+
bsb: maskBankBsb(payload.bsb),
|
|
3282
|
+
accountNumber: maskBankAccountNumber(payload.accountNumber),
|
|
3283
|
+
account: `${maskBankBsb(payload.bsb)} ${maskBankAccountNumber(payload.accountNumber)}`
|
|
3284
|
+
});
|
|
3285
|
+
const accountBsbMaskedSchema = external_zod_namespaceObject.z.string().transform(maskBankBsb);
|
|
3286
|
+
const accountBsbValidationSchema = external_zod_namespaceObject.z.coerce.string().min(1, 'BSB is required').length(6, 'BSB must be 6 digits').regex(/^\d+$/, {
|
|
3287
|
+
message: 'BSB must be all digits'
|
|
3288
|
+
});
|
|
3289
|
+
const accountNumberMaskedSchema = external_zod_namespaceObject.z.string().transform(maskBankAccountNumber);
|
|
3290
|
+
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+$/, {
|
|
3291
|
+
message: 'Account number must be all digits'
|
|
3170
3292
|
});
|
|
3171
|
-
const
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3293
|
+
const am_zshared_namespaceObject = require("@mikemo-coposit/am-zshared");
|
|
3294
|
+
const bankCodeSchema = external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuTrustAccountBankCode));
|
|
3295
|
+
const stateCodeSchema = external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuStateCode));
|
|
3296
|
+
const fromCentsToDollars = (amount)=>Number(amount) / 100;
|
|
3297
|
+
const fromDollarsToCents = (amount)=>100n * BigInt(amount);
|
|
3298
|
+
const centsToDollarsSchema = external_zod_namespaceObject.z.union([
|
|
3299
|
+
external_zod_namespaceObject.z.string(),
|
|
3300
|
+
external_zod_namespaceObject.z.bigint(),
|
|
3301
|
+
external_zod_namespaceObject.z.number()
|
|
3302
|
+
]).transform(fromCentsToDollars).pipe(external_zod_namespaceObject.z.number());
|
|
3303
|
+
const cmaRestResBaseSchema = cmaEntitySchema.extend({
|
|
3304
|
+
balanceCents: centsToDollarsSchema,
|
|
3305
|
+
stateCode: stateCodeSchema,
|
|
3306
|
+
bankCode: bankCodeSchema,
|
|
3307
|
+
accountNumber: accountNumberMaskedSchema,
|
|
3308
|
+
bsb: accountBsbMaskedSchema,
|
|
3309
|
+
status: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(CmaStatus))
|
|
3310
|
+
});
|
|
3311
|
+
const cmaRestResSchema = cmaRestResBaseSchema.extend({
|
|
3312
|
+
property: external_zod_namespaceObject.z.lazy(()=>propertyNestedEntitySchema.omit({
|
|
3313
|
+
cma: true,
|
|
3314
|
+
mta: true,
|
|
3315
|
+
cmaTransactions: true,
|
|
3316
|
+
mtaTransactions: true
|
|
3317
|
+
}).optional())
|
|
3180
3318
|
});
|
|
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
3319
|
const createCmaRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3200
3320
|
propertyId: external_zod_namespaceObject.z.string().uuid(),
|
|
3201
3321
|
accountName: external_zod_namespaceObject.z.string(),
|
|
@@ -3218,8 +3338,6 @@ var __webpack_exports__ = {};
|
|
|
3218
3338
|
]).transform((date)=>external_dayjs_default()(date).endOf('day').toDate()).pipe(external_zod_namespaceObject.z.date()),
|
|
3219
3339
|
closingDescription: external_zod_namespaceObject.z.string().optional()
|
|
3220
3340
|
});
|
|
3221
|
-
const fromCentsToDollars = (amount)=>Number(amount) / 100;
|
|
3222
|
-
const fromDollarsToCents = (amount)=>100n * BigInt(amount);
|
|
3223
3341
|
const cmaReconciliationEntitySchema = external_zod_namespaceObject.z.object({
|
|
3224
3342
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3225
3343
|
cmaAccountPeriodId: external_zod_namespaceObject.z.string(),
|
|
@@ -3241,30 +3359,12 @@ var __webpack_exports__ = {};
|
|
|
3241
3359
|
isArchived: external_zod_namespaceObject.z.boolean()
|
|
3242
3360
|
});
|
|
3243
3361
|
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()
|
|
3362
|
+
closingBalanceCents: centsToDollarsSchema.nullish(),
|
|
3363
|
+
bankStatementBalanceCents: centsToDollarsSchema,
|
|
3364
|
+
closingVarianceCents: centsToDollarsSchema.nullish(),
|
|
3365
|
+
currentTrustBalanceCents: centsToDollarsSchema.nullish(),
|
|
3366
|
+
currentReconciledBalanceCents: centsToDollarsSchema.nullish(),
|
|
3367
|
+
currentVarianceCents: centsToDollarsSchema.nullish()
|
|
3268
3368
|
});
|
|
3269
3369
|
const formatCurrency = (amount, options)=>{
|
|
3270
3370
|
const { locale = 'en-AU', defaultValue = null, currency = 'AUD', style = 'currency', ...rest } = options || {};
|
|
@@ -3302,9 +3402,8 @@ var __webpack_exports__ = {};
|
|
|
3302
3402
|
return false;
|
|
3303
3403
|
};
|
|
3304
3404
|
const isInterestTransaction = (transaction)=>{
|
|
3305
|
-
const isMtaInterest = transaction.transactionType === MtaTransactionType.INTEREST;
|
|
3306
3405
|
const isCmaInterest = transaction.transactionType === CmaTransactionType.INTEREST;
|
|
3307
|
-
return
|
|
3406
|
+
return isCmaInterest;
|
|
3308
3407
|
};
|
|
3309
3408
|
const isTransactionCancelable = (transaction)=>{
|
|
3310
3409
|
const isUnkonwn = isUnknownTransaction(transaction);
|
|
@@ -3401,51 +3500,93 @@ var __webpack_exports__ = {};
|
|
|
3401
3500
|
closingDescription: external_zod_namespaceObject.z.string().nullable()
|
|
3402
3501
|
});
|
|
3403
3502
|
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())
|
|
3503
|
+
openingBalanceCents: centsToDollarsSchema,
|
|
3504
|
+
closingBalanceCents: centsToDollarsSchema.nullish(),
|
|
3505
|
+
reconciledAmountCents: centsToDollarsSchema.nullish(),
|
|
3506
|
+
totalReconciledAmountCents: centsToDollarsSchema.nullish(),
|
|
3507
|
+
unreconciledAmountCents: centsToDollarsSchema.nullish(),
|
|
3508
|
+
status: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(account_period_constant_AccountPeriodStatus))
|
|
3412
3509
|
});
|
|
3413
3510
|
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()
|
|
3511
|
+
cma: external_zod_namespaceObject.z.lazy(()=>cmaRestResSchema).optional()
|
|
3427
3512
|
});
|
|
3428
|
-
const cmaClosedAccountPeriodRestResSchema =
|
|
3429
|
-
cma: true
|
|
3430
|
-
}).extend({
|
|
3513
|
+
const cmaClosedAccountPeriodRestResSchema = cmaAccountPeriodEntitySchema.extend({
|
|
3431
3514
|
currentReconciliation: external_zod_namespaceObject.z.lazy(()=>cmaReconciliationRestResSchema).nullish()
|
|
3432
3515
|
});
|
|
3433
|
-
const
|
|
3516
|
+
const cmaReconciledTransactionRestResSchema = cmaReconciledTransactionEntitySchema.extend({
|
|
3517
|
+
cmaTransaction: external_zod_namespaceObject.z.lazy(()=>cmaTransactionRestResSchema).optional(),
|
|
3518
|
+
accountPeriod: external_zod_namespaceObject.z.lazy(()=>cmaAccountPeriodRestResSchema).optional()
|
|
3519
|
+
});
|
|
3520
|
+
const payoutSourceDetailsEntitySchema = external_zod_namespaceObject.z.object({
|
|
3521
|
+
sourceAccountId: external_zod_namespaceObject.z.string(),
|
|
3522
|
+
sourceAccountType: external_zod_namespaceObject.z.string(),
|
|
3523
|
+
sourceAccountName: external_zod_namespaceObject.z.string(),
|
|
3524
|
+
sourceBsb: external_zod_namespaceObject.z.string(),
|
|
3525
|
+
sourceAccountNumber: external_zod_namespaceObject.z.string(),
|
|
3526
|
+
sourceAccountStateCode: external_zod_namespaceObject.z.string(),
|
|
3527
|
+
sourceAccountBankCode: external_zod_namespaceObject.z.string(),
|
|
3528
|
+
debitAmountCents: external_zod_namespaceObject.z.coerce.bigint(),
|
|
3529
|
+
description: external_zod_namespaceObject.z.string(),
|
|
3530
|
+
bankRef: external_zod_namespaceObject.z.string(),
|
|
3531
|
+
transactionType: external_zod_namespaceObject.z.string().nullish()
|
|
3532
|
+
}).passthrough();
|
|
3533
|
+
const payoutTargetDetailsBaseEntitySchema = external_zod_namespaceObject.z.object({
|
|
3534
|
+
targetBsb: external_zod_namespaceObject.z.string().nullish(),
|
|
3535
|
+
targetAccountType: external_zod_namespaceObject.z.string().nullish(),
|
|
3536
|
+
targetAccountNumber: external_zod_namespaceObject.z.string().nullish(),
|
|
3537
|
+
targetAccountName: external_zod_namespaceObject.z.string().nullish(),
|
|
3538
|
+
creditAmountCents: external_zod_namespaceObject.z.coerce.bigint(),
|
|
3539
|
+
description: external_zod_namespaceObject.z.string().trim().min(1),
|
|
3540
|
+
bankRef: external_zod_namespaceObject.z.string().nullish(),
|
|
3541
|
+
transactionType: external_zod_namespaceObject.z.string().nullish()
|
|
3542
|
+
}).passthrough();
|
|
3543
|
+
const payoutMtaToCmaTargetDetailsEntitySchema = payoutTargetDetailsBaseEntitySchema.extend({
|
|
3544
|
+
targetAccountId: external_zod_namespaceObject.z.string().uuid(),
|
|
3545
|
+
targetAccountType: external_zod_namespaceObject.z.literal(payout_constant_PayoutTargetAccountType.CMA),
|
|
3546
|
+
targetBsb: external_zod_namespaceObject.z.string(),
|
|
3547
|
+
targetAccountNumber: external_zod_namespaceObject.z.string(),
|
|
3548
|
+
targetAccountName: external_zod_namespaceObject.z.string()
|
|
3549
|
+
}).passthrough();
|
|
3550
|
+
const payoutOtherTargetDetailsEntitySchema = payoutTargetDetailsBaseEntitySchema.extend({
|
|
3551
|
+
targetAccountType: external_zod_namespaceObject.z.literal(payout_constant_PayoutTargetAccountType.OTHER),
|
|
3552
|
+
sourcePropertyId: external_zod_namespaceObject.z.string().uuid().optional()
|
|
3553
|
+
});
|
|
3554
|
+
const payoutTargetDetailsEntitySchema = external_zod_namespaceObject.z.discriminatedUnion('targetAccountType', [
|
|
3555
|
+
payoutMtaToCmaTargetDetailsEntitySchema,
|
|
3556
|
+
payoutOtherTargetDetailsEntitySchema
|
|
3557
|
+
]);
|
|
3558
|
+
const payoutMtaToCmaProvisionDataEntitySchema = external_zod_namespaceObject.z.object({
|
|
3559
|
+
sourceDetails: payoutSourceDetailsEntitySchema,
|
|
3560
|
+
targetDetails: payoutMtaToCmaTargetDetailsEntitySchema.array()
|
|
3561
|
+
});
|
|
3562
|
+
const payoutOtherProvisionDataEntitySchema = external_zod_namespaceObject.z.object({
|
|
3563
|
+
projectId: external_zod_namespaceObject.z.string().uuid().optional(),
|
|
3564
|
+
sourceDetails: payoutSourceDetailsEntitySchema,
|
|
3565
|
+
targetDetails: payoutOtherTargetDetailsEntitySchema.array()
|
|
3566
|
+
});
|
|
3567
|
+
const payoutProvisionDataEntitySchema = external_zod_namespaceObject.z.object({
|
|
3568
|
+
sourceDetails: payoutSourceDetailsEntitySchema,
|
|
3569
|
+
targetDetails: payoutTargetDetailsEntitySchema.array()
|
|
3570
|
+
}).passthrough();
|
|
3571
|
+
const payoutEntitySchema = external_zod_namespaceObject.z.object({
|
|
3434
3572
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3573
|
+
sequence: external_zod_namespaceObject.z.number().int(),
|
|
3574
|
+
payoutType: external_zod_namespaceObject.z.string(),
|
|
3575
|
+
sourceAccountType: external_zod_namespaceObject.z.string(),
|
|
3576
|
+
sourceAccountId: external_zod_namespaceObject.z.string(),
|
|
3577
|
+
totalAmountCents: external_zod_namespaceObject.z.bigint(),
|
|
3578
|
+
description: external_zod_namespaceObject.z.string().nullable(),
|
|
3439
3579
|
status: external_zod_namespaceObject.z.string(),
|
|
3440
|
-
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3441
|
-
createdBy: external_zod_namespaceObject.z.string(),
|
|
3442
3580
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3443
|
-
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3581
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3582
|
+
createdBy: external_zod_namespaceObject.z.string(),
|
|
3583
|
+
updatedBy: external_zod_namespaceObject.z.string().nullable(),
|
|
3584
|
+
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
3585
|
+
provisionDetails: payoutProvisionDataEntitySchema,
|
|
3586
|
+
bankRef: external_zod_namespaceObject.z.string().nullable(),
|
|
3587
|
+
canceledAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
3588
|
+
canceledBy: external_zod_namespaceObject.z.string().nullable(),
|
|
3589
|
+
canceledReason: external_zod_namespaceObject.z.string().nullable()
|
|
3449
3590
|
});
|
|
3450
3591
|
const userEntitySchema = external_zod_namespaceObject.z.object({
|
|
3451
3592
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
@@ -3464,57 +3605,47 @@ var __webpack_exports__ = {};
|
|
|
3464
3605
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3465
3606
|
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3466
3607
|
});
|
|
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()
|
|
3608
|
+
const userRestResSchema = userEntitySchema.pick({
|
|
3609
|
+
id: true,
|
|
3610
|
+
email: true,
|
|
3611
|
+
firstName: true,
|
|
3612
|
+
lastName: true
|
|
3613
|
+
}).extend({
|
|
3614
|
+
fullName: external_zod_namespaceObject.z.string().nullish(),
|
|
3615
|
+
email: external_zod_namespaceObject.z.string().email(),
|
|
3616
|
+
firstName: external_zod_namespaceObject.z.string().nullish(),
|
|
3617
|
+
lastName: external_zod_namespaceObject.z.string().nullish()
|
|
3618
|
+
}).superRefine((data)=>{
|
|
3619
|
+
const name = [
|
|
3620
|
+
data.firstName,
|
|
3621
|
+
data.lastName
|
|
3622
|
+
].filter(Boolean).join(' ').trim();
|
|
3623
|
+
if (name) data.fullName = name;
|
|
3493
3624
|
});
|
|
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({
|
|
3625
|
+
const cmaTransactionRestResBaseSchema = cmaTransactionEntitySchema.extend({
|
|
3626
|
+
creditAmountCents: centsToDollarsSchema,
|
|
3627
|
+
debitAmountCents: centsToDollarsSchema,
|
|
3628
|
+
balanceCents: centsToDollarsSchema,
|
|
3629
|
+
inputType: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(cma_input_type_constant_CmaTransactionInputType)),
|
|
3630
|
+
transactionType: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(CmaTransactionType)),
|
|
3631
|
+
createdBy: external_zod_namespaceObject.z.union([
|
|
3632
|
+
external_zod_namespaceObject.z.string().uuid(),
|
|
3633
|
+
userRestResSchema
|
|
3634
|
+
]).nullish(),
|
|
3635
|
+
canceledBy: external_zod_namespaceObject.z.union([
|
|
3636
|
+
external_zod_namespaceObject.z.string().uuid(),
|
|
3637
|
+
userRestResSchema
|
|
3638
|
+
]).nullish(),
|
|
3639
|
+
property: external_zod_namespaceObject.z.lazy(()=>propertyNestedEntitySchema.omit({
|
|
3640
|
+
cma: true,
|
|
3513
3641
|
mta: true,
|
|
3514
|
-
|
|
3515
|
-
|
|
3642
|
+
cmaTransactions: true,
|
|
3643
|
+
mtaTransactions: true
|
|
3644
|
+
})).nullish(),
|
|
3645
|
+
status: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(CmaTransactionStatus))
|
|
3516
3646
|
});
|
|
3517
|
-
const cmaTransactionRestResSchema =
|
|
3647
|
+
const cmaTransactionRestResSchema = cmaTransactionRestResBaseSchema.extend({
|
|
3648
|
+
cma: external_zod_namespaceObject.z.lazy(()=>cmaEntitySchema).nullish(),
|
|
3518
3649
|
sourceTransaction: external_zod_namespaceObject.z.lazy(()=>cmaTransactionRestResSchema).nullish(),
|
|
3519
3650
|
subsequentTransactions: external_zod_namespaceObject.z.lazy(()=>cmaTransactionRestResSchema.array()).nullish(),
|
|
3520
3651
|
reconciledTransactions: external_zod_namespaceObject.z.lazy(()=>cmaReconciledTransactionRestResSchema.array()).nullish(),
|
|
@@ -3523,7 +3654,8 @@ var __webpack_exports__ = {};
|
|
|
3523
3654
|
isReconciled: external_zod_namespaceObject.z.boolean().optional(),
|
|
3524
3655
|
isCancelable: external_zod_namespaceObject.z.boolean().nullish(),
|
|
3525
3656
|
amountStr: external_zod_namespaceObject.z.string().optional(),
|
|
3526
|
-
transactionNumber: external_zod_namespaceObject.z.string().optional()
|
|
3657
|
+
transactionNumber: external_zod_namespaceObject.z.string().optional(),
|
|
3658
|
+
payout: external_zod_namespaceObject.z.lazy(()=>payoutEntitySchema).nullish()
|
|
3527
3659
|
}).transform((obj)=>{
|
|
3528
3660
|
const { isReceipt, isPayment, amountStr, isCancelable, transactionNumber } = getTransactionStatus(obj);
|
|
3529
3661
|
return {
|
|
@@ -3608,13 +3740,18 @@ var __webpack_exports__ = {};
|
|
|
3608
3740
|
unreconciledTransactions: external_zod_namespaceObject.z.lazy(()=>cmaTransactionRestResSchema.array()).nullish()
|
|
3609
3741
|
})
|
|
3610
3742
|
});
|
|
3743
|
+
const dollarsToCentsSchema = external_zod_namespaceObject.z.union([
|
|
3744
|
+
external_zod_namespaceObject.z.string(),
|
|
3745
|
+
external_zod_namespaceObject.z.bigint(),
|
|
3746
|
+
external_zod_namespaceObject.z.number()
|
|
3747
|
+
]).transform(fromDollarsToCents).pipe(external_zod_namespaceObject.z.bigint());
|
|
3611
3748
|
const updateCmaAccountPeriodReconciledToRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3612
3749
|
cmaAccountPeriodId: external_zod_namespaceObject.z.string().uuid(),
|
|
3613
3750
|
reconciledTo: external_zod_namespaceObject.z.union([
|
|
3614
3751
|
external_zod_namespaceObject.z.string(),
|
|
3615
3752
|
external_zod_namespaceObject.z.date()
|
|
3616
3753
|
]).transform((arg)=>external_dayjs_default()(arg).endOf('day').toDate()),
|
|
3617
|
-
bankStatementBalanceCents:
|
|
3754
|
+
bankStatementBalanceCents: dollarsToCentsSchema,
|
|
3618
3755
|
lastUpdatedAt: external_zod_namespaceObject.z.union([
|
|
3619
3756
|
external_zod_namespaceObject.z.string().datetime(),
|
|
3620
3757
|
external_zod_namespaceObject.z.date()
|
|
@@ -3633,16 +3770,162 @@ var __webpack_exports__ = {};
|
|
|
3633
3770
|
});
|
|
3634
3771
|
const updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3635
3772
|
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())
|
|
3773
|
+
bankStatementBalanceCents: dollarsToCentsSchema
|
|
3640
3774
|
});
|
|
3641
3775
|
const cancelCmaTransactionRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3642
3776
|
transactionId: external_zod_namespaceObject.z.string().uuid(),
|
|
3643
3777
|
description: external_zod_namespaceObject.z.string().transform((val)=>val.trim()).nullish(),
|
|
3644
3778
|
reason: external_zod_namespaceObject.z.string().transform((val)=>val.trim()).nullish()
|
|
3645
3779
|
});
|
|
3780
|
+
const markCmaTransactionAsClearedRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3781
|
+
transactionId: external_zod_namespaceObject.z.string().uuid(),
|
|
3782
|
+
clearedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3783
|
+
});
|
|
3784
|
+
const boolFilterBaseSchema = external_zod_namespaceObject.z.object({
|
|
3785
|
+
equals: external_zod_namespaceObject.z.boolean().optional(),
|
|
3786
|
+
not: external_zod_namespaceObject.z.union([
|
|
3787
|
+
external_zod_namespaceObject.z.boolean(),
|
|
3788
|
+
external_zod_namespaceObject.z.lazy(()=>boolFilterBaseSchema)
|
|
3789
|
+
]).optional()
|
|
3790
|
+
}).strict();
|
|
3791
|
+
const boolFilterSchema = boolFilterBaseSchema.extend({
|
|
3792
|
+
not: external_zod_namespaceObject.z.union([
|
|
3793
|
+
external_zod_namespaceObject.z.boolean(),
|
|
3794
|
+
external_zod_namespaceObject.z.lazy(()=>boolFilterBaseSchema)
|
|
3795
|
+
]).optional()
|
|
3796
|
+
});
|
|
3797
|
+
const intFilterBaseSchema = external_zod_namespaceObject.z.object({
|
|
3798
|
+
equals: external_zod_namespaceObject.z.number().optional(),
|
|
3799
|
+
in: external_zod_namespaceObject.z.number().array().optional(),
|
|
3800
|
+
notIn: external_zod_namespaceObject.z.number().array().optional(),
|
|
3801
|
+
lt: external_zod_namespaceObject.z.number().optional(),
|
|
3802
|
+
lte: external_zod_namespaceObject.z.number().optional(),
|
|
3803
|
+
gt: external_zod_namespaceObject.z.number().optional(),
|
|
3804
|
+
gte: external_zod_namespaceObject.z.number().optional()
|
|
3805
|
+
});
|
|
3806
|
+
const intFilterSchema = intFilterBaseSchema.extend({
|
|
3807
|
+
not: external_zod_namespaceObject.z.union([
|
|
3808
|
+
external_zod_namespaceObject.z.coerce.number(),
|
|
3809
|
+
external_zod_namespaceObject.z.lazy(()=>intFilterBaseSchema)
|
|
3810
|
+
]).optional()
|
|
3811
|
+
});
|
|
3812
|
+
const bigIntFilterBaseSchema = external_zod_namespaceObject.z.object({
|
|
3813
|
+
equals: external_zod_namespaceObject.z.union([
|
|
3814
|
+
external_zod_namespaceObject.z.coerce.bigint(),
|
|
3815
|
+
external_zod_namespaceObject.z.coerce.number()
|
|
3816
|
+
]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).optional(),
|
|
3817
|
+
in: external_zod_namespaceObject.z.union([
|
|
3818
|
+
external_zod_namespaceObject.z.coerce.bigint(),
|
|
3819
|
+
external_zod_namespaceObject.z.coerce.number()
|
|
3820
|
+
]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).array().optional(),
|
|
3821
|
+
notIn: external_zod_namespaceObject.z.union([
|
|
3822
|
+
external_zod_namespaceObject.z.coerce.bigint(),
|
|
3823
|
+
external_zod_namespaceObject.z.coerce.number()
|
|
3824
|
+
]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).array().optional(),
|
|
3825
|
+
lt: external_zod_namespaceObject.z.union([
|
|
3826
|
+
external_zod_namespaceObject.z.coerce.bigint(),
|
|
3827
|
+
external_zod_namespaceObject.z.coerce.number()
|
|
3828
|
+
]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).optional(),
|
|
3829
|
+
lte: external_zod_namespaceObject.z.union([
|
|
3830
|
+
external_zod_namespaceObject.z.coerce.bigint(),
|
|
3831
|
+
external_zod_namespaceObject.z.coerce.number()
|
|
3832
|
+
]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).optional(),
|
|
3833
|
+
gt: external_zod_namespaceObject.z.union([
|
|
3834
|
+
external_zod_namespaceObject.z.coerce.bigint(),
|
|
3835
|
+
external_zod_namespaceObject.z.coerce.number()
|
|
3836
|
+
]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).optional(),
|
|
3837
|
+
gte: external_zod_namespaceObject.z.union([
|
|
3838
|
+
external_zod_namespaceObject.z.coerce.bigint(),
|
|
3839
|
+
external_zod_namespaceObject.z.coerce.number()
|
|
3840
|
+
]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()).optional()
|
|
3841
|
+
});
|
|
3842
|
+
const bigIntFilterSchema = bigIntFilterBaseSchema.extend({
|
|
3843
|
+
not: external_zod_namespaceObject.z.union([
|
|
3844
|
+
external_zod_namespaceObject.z.union([
|
|
3845
|
+
external_zod_namespaceObject.z.coerce.bigint(),
|
|
3846
|
+
external_zod_namespaceObject.z.coerce.number()
|
|
3847
|
+
]).transform(BigInt).pipe(external_zod_namespaceObject.z.bigint()),
|
|
3848
|
+
external_zod_namespaceObject.z.lazy(()=>bigIntFilterBaseSchema)
|
|
3849
|
+
]).optional()
|
|
3850
|
+
});
|
|
3851
|
+
const StringFilterBaseSchema = external_zod_namespaceObject.z.object({
|
|
3852
|
+
equals: external_zod_namespaceObject.z.string().optional(),
|
|
3853
|
+
in: external_zod_namespaceObject.z.string().array().optional(),
|
|
3854
|
+
notIn: external_zod_namespaceObject.z.string().array().optional(),
|
|
3855
|
+
lt: external_zod_namespaceObject.z.string().optional(),
|
|
3856
|
+
lte: external_zod_namespaceObject.z.string().optional(),
|
|
3857
|
+
gt: external_zod_namespaceObject.z.string().optional(),
|
|
3858
|
+
gte: external_zod_namespaceObject.z.string().optional(),
|
|
3859
|
+
contains: external_zod_namespaceObject.z.string().optional(),
|
|
3860
|
+
startsWith: external_zod_namespaceObject.z.string().optional(),
|
|
3861
|
+
endsWith: external_zod_namespaceObject.z.string().optional()
|
|
3862
|
+
}).strict();
|
|
3863
|
+
const stringFilterSchema = external_zod_namespaceObject.z.object({
|
|
3864
|
+
equals: external_zod_namespaceObject.z.string().optional(),
|
|
3865
|
+
in: external_zod_namespaceObject.z.string().array().optional(),
|
|
3866
|
+
notIn: external_zod_namespaceObject.z.string().array().optional(),
|
|
3867
|
+
lt: external_zod_namespaceObject.z.string().optional(),
|
|
3868
|
+
lte: external_zod_namespaceObject.z.string().optional(),
|
|
3869
|
+
gt: external_zod_namespaceObject.z.string().optional(),
|
|
3870
|
+
gte: external_zod_namespaceObject.z.string().optional(),
|
|
3871
|
+
contains: external_zod_namespaceObject.z.string().optional(),
|
|
3872
|
+
startsWith: external_zod_namespaceObject.z.string().optional(),
|
|
3873
|
+
endsWith: external_zod_namespaceObject.z.string().optional(),
|
|
3874
|
+
not: external_zod_namespaceObject.z.union([
|
|
3875
|
+
external_zod_namespaceObject.z.string(),
|
|
3876
|
+
external_zod_namespaceObject.z.lazy(()=>StringFilterBaseSchema)
|
|
3877
|
+
]).optional()
|
|
3878
|
+
}).strict();
|
|
3879
|
+
const cmaTransactionSearchRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3880
|
+
cmaId: external_zod_namespaceObject.z.union([
|
|
3881
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
3882
|
+
external_zod_namespaceObject.z.string()
|
|
3883
|
+
]).optional(),
|
|
3884
|
+
propertyId: external_zod_namespaceObject.z.union([
|
|
3885
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
3886
|
+
external_zod_namespaceObject.z.string()
|
|
3887
|
+
]).optional(),
|
|
3888
|
+
createType: external_zod_namespaceObject.z.union([
|
|
3889
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
3890
|
+
external_zod_namespaceObject.z.string()
|
|
3891
|
+
]).optional(),
|
|
3892
|
+
transactionType: external_zod_namespaceObject.z.union([
|
|
3893
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
3894
|
+
external_zod_namespaceObject.z.string()
|
|
3895
|
+
]).optional(),
|
|
3896
|
+
isCanceled: external_zod_namespaceObject.z.union([
|
|
3897
|
+
external_zod_namespaceObject.z.lazy(()=>boolFilterSchema),
|
|
3898
|
+
external_zod_namespaceObject.z.string()
|
|
3899
|
+
]).optional(),
|
|
3900
|
+
isRefunded: external_zod_namespaceObject.z.union([
|
|
3901
|
+
external_zod_namespaceObject.z.lazy(()=>boolFilterSchema),
|
|
3902
|
+
external_zod_namespaceObject.z.string()
|
|
3903
|
+
]).optional(),
|
|
3904
|
+
mtaId: external_zod_namespaceObject.z.union([
|
|
3905
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
3906
|
+
external_zod_namespaceObject.z.string()
|
|
3907
|
+
]).optional(),
|
|
3908
|
+
mtaBalanceCents: external_zod_namespaceObject.z.union([
|
|
3909
|
+
external_zod_namespaceObject.z.lazy(()=>bigIntFilterSchema),
|
|
3910
|
+
external_zod_namespaceObject.z.bigint()
|
|
3911
|
+
]).optional(),
|
|
3912
|
+
cmaBalanceCents: external_zod_namespaceObject.z.union([
|
|
3913
|
+
external_zod_namespaceObject.z.lazy(()=>bigIntFilterSchema),
|
|
3914
|
+
external_zod_namespaceObject.z.bigint()
|
|
3915
|
+
]).optional(),
|
|
3916
|
+
balanceCents: external_zod_namespaceObject.z.union([
|
|
3917
|
+
external_zod_namespaceObject.z.lazy(()=>bigIntFilterSchema),
|
|
3918
|
+
external_zod_namespaceObject.z.bigint()
|
|
3919
|
+
]).optional(),
|
|
3920
|
+
status: external_zod_namespaceObject.z.union([
|
|
3921
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
3922
|
+
external_zod_namespaceObject.z.string()
|
|
3923
|
+
]).optional(),
|
|
3924
|
+
payoutId: external_zod_namespaceObject.z.union([
|
|
3925
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
3926
|
+
external_zod_namespaceObject.z.string()
|
|
3927
|
+
]).optional()
|
|
3928
|
+
});
|
|
3646
3929
|
const createCmaTransactionRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3647
3930
|
amount: external_zod_namespaceObject.z.number().positive().transform((val)=>100n * BigInt(val)).pipe(external_zod_namespaceObject.z.bigint()),
|
|
3648
3931
|
clearedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
@@ -3659,13 +3942,58 @@ var __webpack_exports__ = {};
|
|
|
3659
3942
|
external_zod_namespaceObject.z.nativeEnum(cma_payment_method_constant_CmaTransactionPaymentMethod),
|
|
3660
3943
|
external_zod_namespaceObject.z.string().length(0)
|
|
3661
3944
|
]).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.
|
|
3945
|
+
inputType: external_zod_namespaceObject.z.nativeEnum(cma_input_type_constant_CmaTransactionInputType).default(cma_input_type_constant_CmaTransactionInputType.MANUAL)
|
|
3663
3946
|
});
|
|
3664
3947
|
const reconcileCmaTransactionRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3665
3948
|
cmaTransactionId: external_zod_namespaceObject.z.string().uuid(),
|
|
3666
3949
|
reconciliationId: external_zod_namespaceObject.z.string().uuid(),
|
|
3667
3950
|
action: external_zod_namespaceObject.z.nativeEnum(reconcile_transaction_action_constant_ReconcileTransactionAction)
|
|
3668
3951
|
});
|
|
3952
|
+
const dateTimeFilterBaseSchema = external_zod_namespaceObject.z.object({
|
|
3953
|
+
equals: external_zod_namespaceObject.z.coerce.date().optional(),
|
|
3954
|
+
in: external_zod_namespaceObject.z.coerce.date().array().optional(),
|
|
3955
|
+
notIn: external_zod_namespaceObject.z.coerce.date().array().optional(),
|
|
3956
|
+
lt: external_zod_namespaceObject.z.coerce.date().optional(),
|
|
3957
|
+
lte: external_zod_namespaceObject.z.coerce.date().optional(),
|
|
3958
|
+
gt: external_zod_namespaceObject.z.coerce.date().optional(),
|
|
3959
|
+
gte: external_zod_namespaceObject.z.coerce.date().optional()
|
|
3960
|
+
}).strict();
|
|
3961
|
+
const dateTimeFilterSchema = external_zod_namespaceObject.z.object({
|
|
3962
|
+
equals: external_zod_namespaceObject.z.coerce.date().optional(),
|
|
3963
|
+
in: external_zod_namespaceObject.z.coerce.date().array().optional(),
|
|
3964
|
+
notIn: external_zod_namespaceObject.z.coerce.date().array().optional(),
|
|
3965
|
+
lt: external_zod_namespaceObject.z.coerce.date().optional(),
|
|
3966
|
+
lte: external_zod_namespaceObject.z.coerce.date().optional(),
|
|
3967
|
+
gt: external_zod_namespaceObject.z.coerce.date().optional(),
|
|
3968
|
+
gte: external_zod_namespaceObject.z.coerce.date().optional(),
|
|
3969
|
+
not: external_zod_namespaceObject.z.union([
|
|
3970
|
+
external_zod_namespaceObject.z.coerce.date(),
|
|
3971
|
+
external_zod_namespaceObject.z.lazy(()=>dateTimeFilterBaseSchema)
|
|
3972
|
+
]).optional()
|
|
3973
|
+
}).strict();
|
|
3974
|
+
const InputJsonValueSchema = external_zod_namespaceObject.z.lazy(()=>external_zod_namespaceObject.z.union([
|
|
3975
|
+
external_zod_namespaceObject.z.string(),
|
|
3976
|
+
external_zod_namespaceObject.z.number(),
|
|
3977
|
+
external_zod_namespaceObject.z.boolean(),
|
|
3978
|
+
external_zod_namespaceObject.z.object({
|
|
3979
|
+
toJSON: external_zod_namespaceObject.z["function"](external_zod_namespaceObject.z.tuple([]), external_zod_namespaceObject.z.any())
|
|
3980
|
+
}),
|
|
3981
|
+
external_zod_namespaceObject.z.record(external_zod_namespaceObject.z.lazy(()=>external_zod_namespaceObject.z.union([
|
|
3982
|
+
InputJsonValueSchema,
|
|
3983
|
+
external_zod_namespaceObject.z.literal(null)
|
|
3984
|
+
]))),
|
|
3985
|
+
external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.lazy(()=>external_zod_namespaceObject.z.union([
|
|
3986
|
+
InputJsonValueSchema,
|
|
3987
|
+
external_zod_namespaceObject.z.literal(null)
|
|
3988
|
+
])))
|
|
3989
|
+
]));
|
|
3990
|
+
const JsonNullableFilterSchema = external_zod_namespaceObject.z.object({
|
|
3991
|
+
equals: external_zod_namespaceObject.z.string().optional(),
|
|
3992
|
+
path: external_zod_namespaceObject.z.string().array().optional(),
|
|
3993
|
+
string_contains: external_zod_namespaceObject.z.string().optional(),
|
|
3994
|
+
string_starts_with: external_zod_namespaceObject.z.string().optional(),
|
|
3995
|
+
string_ends_with: external_zod_namespaceObject.z.string().optional()
|
|
3996
|
+
});
|
|
3669
3997
|
const createMenuRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3670
3998
|
parentId: external_zod_namespaceObject.z.string().optional(),
|
|
3671
3999
|
label: external_zod_namespaceObject.z.string(),
|
|
@@ -3679,48 +4007,152 @@ var __webpack_exports__ = {};
|
|
|
3679
4007
|
sort: external_zod_namespaceObject.z.number().optional().default(99),
|
|
3680
4008
|
status: external_zod_namespaceObject.z.nativeEnum(MenuStatus).default(MenuStatus.ACTIVE)
|
|
3681
4009
|
});
|
|
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(),
|
|
4010
|
+
const menuSchema = external_zod_namespaceObject.z.object({
|
|
4011
|
+
id: external_zod_namespaceObject.z.string(),
|
|
4012
|
+
parentId: external_zod_namespaceObject.z.string().nullish(),
|
|
4013
|
+
label: external_zod_namespaceObject.z.string(),
|
|
4014
|
+
title: external_zod_namespaceObject.z.string().nullish(),
|
|
4015
|
+
section: external_zod_namespaceObject.z.string().nullish(),
|
|
4016
|
+
icon: external_zod_namespaceObject.z.string().nullish(),
|
|
4017
|
+
path: external_zod_namespaceObject.z.string().nullish(),
|
|
4018
|
+
absolutePath: external_zod_namespaceObject.z.string().nullish(),
|
|
4019
|
+
type: external_zod_namespaceObject.z.nativeEnum(MenuType),
|
|
4020
|
+
permissionKey: external_zod_namespaceObject.z.string().nullish(),
|
|
4021
|
+
sort: external_zod_namespaceObject.z.number().nullish(),
|
|
4022
|
+
show: external_zod_namespaceObject.z.boolean().nullish(),
|
|
4023
|
+
status: external_zod_namespaceObject.z.nativeEnum(MenuStatus),
|
|
4024
|
+
createdAt: external_zod_namespaceObject.z.date(),
|
|
4025
|
+
updatedAt: external_zod_namespaceObject.z.date(),
|
|
4026
|
+
isArchived: external_zod_namespaceObject.z.boolean()
|
|
4027
|
+
});
|
|
4028
|
+
const menuRestResSchema = menuSchema.extend({
|
|
4029
|
+
children: external_zod_namespaceObject.z.array(menuSchema).optional()
|
|
4030
|
+
});
|
|
4031
|
+
const updateMenuRestReqSchema = createMenuRestReqSchema.extend({
|
|
4032
|
+
id: external_zod_namespaceObject.z.string()
|
|
4033
|
+
});
|
|
4034
|
+
const createMtaRestReqSchema = external_zod_namespaceObject.z.object({
|
|
4035
|
+
name: external_zod_namespaceObject.z.string().trim().min(1),
|
|
4036
|
+
country: external_zod_namespaceObject.z.string().refine((val)=>'Australia' === val, {
|
|
4037
|
+
message: 'Country must be Australia'
|
|
4038
|
+
}),
|
|
4039
|
+
stateCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuStateCode),
|
|
4040
|
+
bankCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuTrustAccountBankCode),
|
|
4041
|
+
bsb: external_zod_namespaceObject.z.string().length(6).regex(/^\d+$/, {
|
|
4042
|
+
message: 'BSB must be all digits'
|
|
4043
|
+
}),
|
|
4044
|
+
accountNumber: external_zod_namespaceObject.z.string().min(6).max(10).regex(/^\d+$/, {
|
|
4045
|
+
message: 'Account number must be all digits'
|
|
4046
|
+
}),
|
|
4047
|
+
directDebitBankAccountId: external_zod_namespaceObject.z.string().uuid(),
|
|
4048
|
+
directDebitProviderCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.PaymentProviderCode),
|
|
4049
|
+
payIdBankAccountId: external_zod_namespaceObject.z.string().uuid(),
|
|
4050
|
+
payIdProviderCode: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.PaymentProviderCode),
|
|
4051
|
+
zeptoBankAccountId: external_zod_namespaceObject.z.string().uuid()
|
|
4052
|
+
});
|
|
4053
|
+
const mtaAccountPeriodEntitySchema = external_zod_namespaceObject.z.object({
|
|
4054
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
4055
|
+
startDate: external_zod_namespaceObject.z.coerce.date(),
|
|
4056
|
+
endDate: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
4057
|
+
openingBalanceCents: external_zod_namespaceObject.z.bigint(),
|
|
4058
|
+
closingBalanceCents: external_zod_namespaceObject.z.bigint().nullable(),
|
|
4059
|
+
status: external_zod_namespaceObject.z.string(),
|
|
4060
|
+
closedBy: external_zod_namespaceObject.z.string().nullable(),
|
|
4061
|
+
closedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
4062
|
+
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
4063
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4064
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4065
|
+
mtaId: external_zod_namespaceObject.z.string(),
|
|
4066
|
+
closingDescription: external_zod_namespaceObject.z.string().nullable()
|
|
4067
|
+
});
|
|
4068
|
+
const paymentProviderEntitySchema = external_zod_namespaceObject.z.object({
|
|
4069
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
4070
|
+
name: external_zod_namespaceObject.z.string(),
|
|
4071
|
+
providerCode: external_zod_namespaceObject.z.string(),
|
|
4072
|
+
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
4073
|
+
settings: external_zod_namespaceObject.z.string(),
|
|
4074
|
+
status: external_zod_namespaceObject.z.string(),
|
|
4075
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4076
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
4077
|
+
});
|
|
4078
|
+
const mtaPaymentMethodAccountConfigSchema = external_zod_namespaceObject.z.object({
|
|
4079
|
+
bsb: external_zod_namespaceObject.z.string(),
|
|
4080
|
+
accountNumber: external_zod_namespaceObject.z.string(),
|
|
4081
|
+
credential: external_zod_namespaceObject.z.object({
|
|
4082
|
+
bankAccountId: external_zod_namespaceObject.z.string()
|
|
4083
|
+
})
|
|
4084
|
+
});
|
|
4085
|
+
const mtaPaymentMethodFloatAccountConfigSchema = external_zod_namespaceObject.z.object({
|
|
4086
|
+
domainName: external_zod_namespaceObject.z.string().email(),
|
|
4087
|
+
credential: external_zod_namespaceObject.z.object({
|
|
4088
|
+
bankAccountId: external_zod_namespaceObject.z.string()
|
|
4089
|
+
})
|
|
4090
|
+
});
|
|
4091
|
+
const mtaPaymentMethodEntitySchema = external_zod_namespaceObject.z.object({
|
|
4092
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
4093
|
+
mtaId: external_zod_namespaceObject.z.string(),
|
|
4094
|
+
paymentProviderId: external_zod_namespaceObject.z.string(),
|
|
4095
|
+
bankAccountId: external_zod_namespaceObject.z.string(),
|
|
4096
|
+
account: external_zod_namespaceObject.z.string(),
|
|
4097
|
+
floatAccount: external_zod_namespaceObject.z.string().nullable(),
|
|
4098
|
+
status: external_zod_namespaceObject.z.string(),
|
|
4099
|
+
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
4100
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4101
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
4102
|
+
});
|
|
4103
|
+
const mtaPaymentMethodRestResSchema = mtaPaymentMethodEntitySchema.extend({
|
|
4104
|
+
paymentProvider: external_zod_namespaceObject.z.lazy(()=>paymentProviderEntitySchema).optional(),
|
|
4105
|
+
mta: external_zod_namespaceObject.z.lazy(()=>mtaEntitySchema).optional(),
|
|
4106
|
+
account: external_zod_namespaceObject.z.string().transform((val)=>{
|
|
4107
|
+
if ('string' == typeof val) return JSON.parse(val);
|
|
4108
|
+
return val;
|
|
4109
|
+
}).pipe(mtaPaymentMethodAccountConfigSchema),
|
|
4110
|
+
floatAccount: external_zod_namespaceObject.z.string().nullable().transform((val)=>{
|
|
4111
|
+
if ('string' == typeof val) return JSON.parse(val);
|
|
4112
|
+
return val;
|
|
4113
|
+
}).pipe(mtaPaymentMethodFloatAccountConfigSchema).nullish()
|
|
4114
|
+
});
|
|
4115
|
+
const mtaReconciliationEntitySchema = external_zod_namespaceObject.z.object({
|
|
4116
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
4117
|
+
mtaAccountPeriodId: external_zod_namespaceObject.z.string(),
|
|
4118
|
+
mtaId: external_zod_namespaceObject.z.string(),
|
|
4119
|
+
closingBalanceCents: external_zod_namespaceObject.z.bigint().nullable(),
|
|
4120
|
+
reconciledTo: external_zod_namespaceObject.z.coerce.date(),
|
|
4121
|
+
reconciledAmountCents: external_zod_namespaceObject.z.bigint().nullable(),
|
|
4122
|
+
unreconciledAmountCents: external_zod_namespaceObject.z.bigint().nullable(),
|
|
4123
|
+
totalReconciledAmountCents: external_zod_namespaceObject.z.bigint().nullable(),
|
|
4124
|
+
bankStatementBalanceCents: external_zod_namespaceObject.z.bigint(),
|
|
4125
|
+
closingVarianceCents: external_zod_namespaceObject.z.bigint().nullable(),
|
|
4126
|
+
closedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
4127
|
+
createdBy: external_zod_namespaceObject.z.string(),
|
|
4128
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4129
|
+
updatedBy: external_zod_namespaceObject.z.string().nullable(),
|
|
4130
|
+
closedBy: external_zod_namespaceObject.z.string().nullable(),
|
|
4131
|
+
editable: external_zod_namespaceObject.z.boolean(),
|
|
4132
|
+
status: external_zod_namespaceObject.z.string(),
|
|
3698
4133
|
isArchived: external_zod_namespaceObject.z.boolean()
|
|
3699
4134
|
});
|
|
3700
|
-
const
|
|
3701
|
-
|
|
4135
|
+
const mtaReconciliationRestResSchema = mtaReconciliationEntitySchema.extend({
|
|
4136
|
+
closingBalanceCents: centsToDollarsSchema.nullish(),
|
|
4137
|
+
bankStatementBalanceCents: centsToDollarsSchema,
|
|
4138
|
+
closingVarianceCents: centsToDollarsSchema.nullish(),
|
|
4139
|
+
currentTrustBalanceCents: centsToDollarsSchema.nullish(),
|
|
4140
|
+
currentReconciledBalanceCents: centsToDollarsSchema.nullish(),
|
|
4141
|
+
currentVarianceCents: centsToDollarsSchema.nullish()
|
|
3702
4142
|
});
|
|
3703
|
-
const
|
|
3704
|
-
|
|
4143
|
+
const mtaRestResBaseSchema = mtaEntitySchema.extend({
|
|
4144
|
+
stateCode: stateCodeSchema,
|
|
4145
|
+
bankCode: bankCodeSchema,
|
|
4146
|
+
accountNumber: accountNumberMaskedSchema,
|
|
4147
|
+
bsb: accountBsbMaskedSchema,
|
|
4148
|
+
balanceCents: centsToDollarsSchema
|
|
3705
4149
|
});
|
|
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()
|
|
4150
|
+
const mtaRestResSchema = mtaRestResBaseSchema.extend({
|
|
4151
|
+
paymentMethods: external_zod_namespaceObject.z.lazy(()=>external_zod_namespaceObject.z.array(mtaPaymentMethodRestResSchema)).optional(),
|
|
4152
|
+
accountPeriods: external_zod_namespaceObject.z.lazy(()=>mtaAccountPeriodEntitySchema.array().optional())
|
|
4153
|
+
});
|
|
4154
|
+
const mtaListItemRestResSchema = mtaRestResBaseSchema.extend({
|
|
4155
|
+
currentReconciliation: external_zod_namespaceObject.z.lazy(()=>mtaReconciliationRestResSchema).nullish()
|
|
3724
4156
|
});
|
|
3725
4157
|
const updateMtaRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3726
4158
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
@@ -3736,33 +4168,17 @@ var __webpack_exports__ = {};
|
|
|
3736
4168
|
closingDescription: external_zod_namespaceObject.z.string().optional()
|
|
3737
4169
|
});
|
|
3738
4170
|
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())
|
|
4171
|
+
openingBalanceCents: centsToDollarsSchema,
|
|
4172
|
+
closingBalanceCents: centsToDollarsSchema.nullish(),
|
|
4173
|
+
reconciledAmountCents: centsToDollarsSchema.nullish(),
|
|
4174
|
+
totalReconciledAmountCents: centsToDollarsSchema.nullish(),
|
|
4175
|
+
unreconciledAmountCents: centsToDollarsSchema.nullish(),
|
|
4176
|
+
status: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(account_period_constant_AccountPeriodStatus))
|
|
3747
4177
|
});
|
|
3748
4178
|
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()
|
|
4179
|
+
mta: external_zod_namespaceObject.z.lazy(()=>mtaRestResSchema).optional()
|
|
3762
4180
|
});
|
|
3763
|
-
const mtaClosedAccountPeriodRestResSchema =
|
|
3764
|
-
mta: true
|
|
3765
|
-
}).extend({
|
|
4181
|
+
const mtaClosedAccountPeriodRestResSchema = mtaAccountPeriodEntitySchema.extend({
|
|
3766
4182
|
currentReconciliation: external_zod_namespaceObject.z.lazy(()=>mtaReconciliationRestResSchema).nullish()
|
|
3767
4183
|
});
|
|
3768
4184
|
const mtaReconciledTransactionEntitySchema = external_zod_namespaceObject.z.object({
|
|
@@ -3777,64 +4193,33 @@ var __webpack_exports__ = {};
|
|
|
3777
4193
|
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
3778
4194
|
updatedAt: external_zod_namespaceObject.z.coerce.date()
|
|
3779
4195
|
});
|
|
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()
|
|
4196
|
+
const mtaReconciledTransactionRestResSchema = mtaReconciledTransactionEntitySchema.extend({
|
|
4197
|
+
mtaTransaction: external_zod_namespaceObject.z.lazy(()=>mtaTransactionRestResSchema).optional(),
|
|
4198
|
+
accountPeriod: external_zod_namespaceObject.z.lazy(()=>mtaAccountPeriodRestResSchema).optional()
|
|
3813
4199
|
});
|
|
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({
|
|
4200
|
+
const mtaTransactionRestResBaseSchema = mtaTransactionEntitySchema.extend({
|
|
4201
|
+
creditAmountCents: centsToDollarsSchema,
|
|
4202
|
+
debitAmountCents: centsToDollarsSchema,
|
|
4203
|
+
balanceCents: centsToDollarsSchema,
|
|
4204
|
+
inputType: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(mta_input_type_constant_MtaTransactionInputType)),
|
|
4205
|
+
transactionType: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(MtaTransactionType)),
|
|
4206
|
+
status: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(common_status_constant_AccountingCommonStatus)),
|
|
4207
|
+
createdBy: external_zod_namespaceObject.z.union([
|
|
4208
|
+
external_zod_namespaceObject.z.string().uuid(),
|
|
4209
|
+
userRestResSchema
|
|
4210
|
+
]).nullish(),
|
|
4211
|
+
canceledBy: external_zod_namespaceObject.z.union([
|
|
4212
|
+
external_zod_namespaceObject.z.string().uuid(),
|
|
4213
|
+
userRestResSchema
|
|
4214
|
+
]).nullish(),
|
|
4215
|
+
property: external_zod_namespaceObject.z.lazy(()=>propertyNestedEntitySchema.omit({
|
|
4216
|
+
cma: true,
|
|
3833
4217
|
mta: true,
|
|
3834
|
-
|
|
3835
|
-
|
|
4218
|
+
cmaTransactions: true,
|
|
4219
|
+
mtaTransactions: true
|
|
4220
|
+
})).nullish()
|
|
3836
4221
|
});
|
|
3837
|
-
const mtaTransactionRestResSchema =
|
|
4222
|
+
const mtaTransactionRestResSchema = mtaTransactionRestResBaseSchema.extend({
|
|
3838
4223
|
mta: external_zod_namespaceObject.z.lazy(()=>mtaRestResSchema).nullish(),
|
|
3839
4224
|
sourceTransaction: external_zod_namespaceObject.z.lazy(()=>mtaTransactionRestResSchema).nullish(),
|
|
3840
4225
|
subsequentTransactions: external_zod_namespaceObject.z.lazy(()=>mtaTransactionRestResSchema.array()).nullish(),
|
|
@@ -3940,17 +4325,14 @@ var __webpack_exports__ = {};
|
|
|
3940
4325
|
external_zod_namespaceObject.z.string(),
|
|
3941
4326
|
external_zod_namespaceObject.z.date()
|
|
3942
4327
|
]).transform((arg)=>external_dayjs_default()(arg).endOf('day').toDate()),
|
|
3943
|
-
bankStatementBalanceCents:
|
|
4328
|
+
bankStatementBalanceCents: dollarsToCentsSchema,
|
|
3944
4329
|
lastUpdatedAt: external_zod_namespaceObject.z.union([
|
|
3945
4330
|
external_zod_namespaceObject.z.string().datetime(),
|
|
3946
4331
|
external_zod_namespaceObject.z.date()
|
|
3947
4332
|
]).pipe(external_zod_namespaceObject.z.coerce.date())
|
|
3948
4333
|
});
|
|
3949
4334
|
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()),
|
|
4335
|
+
bankStatementBalanceCents: dollarsToCentsSchema,
|
|
3954
4336
|
reconciledTo: external_zod_namespaceObject.z.union([
|
|
3955
4337
|
external_zod_namespaceObject.z.string(),
|
|
3956
4338
|
external_zod_namespaceObject.z.date()
|
|
@@ -3959,10 +4341,7 @@ var __webpack_exports__ = {};
|
|
|
3959
4341
|
});
|
|
3960
4342
|
const updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3961
4343
|
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())
|
|
4344
|
+
bankStatementBalanceCents: dollarsToCentsSchema
|
|
3966
4345
|
});
|
|
3967
4346
|
const assignUnknownReceiptToPropertyRestReqSchema = external_zod_namespaceObject.z.object({
|
|
3968
4347
|
mtaTransactionId: external_zod_namespaceObject.z.string().uuid(),
|
|
@@ -4013,79 +4392,135 @@ var __webpack_exports__ = {};
|
|
|
4013
4392
|
reconciliationId: external_zod_namespaceObject.z.string().uuid(),
|
|
4014
4393
|
action: external_zod_namespaceObject.z.nativeEnum(reconcile_transaction_action_constant_ReconcileTransactionAction)
|
|
4015
4394
|
});
|
|
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({
|
|
4395
|
+
const cancelPayoutRestReqSchema = external_zod_namespaceObject.z.object({
|
|
4069
4396
|
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
|
-
|
|
4397
|
+
reason: external_zod_namespaceObject.z.string().trim().min(1)
|
|
4398
|
+
});
|
|
4399
|
+
const confirmBankFileProcessedRestReqSchema = external_zod_namespaceObject.z.object({
|
|
4400
|
+
payoutId: external_zod_namespaceObject.z.string().uuid(),
|
|
4401
|
+
bankRef: external_zod_namespaceObject.z.string().nullish(),
|
|
4402
|
+
description: external_zod_namespaceObject.z.string().nullish(),
|
|
4403
|
+
clearedAt: external_zod_namespaceObject.z.coerce.date()
|
|
4404
|
+
});
|
|
4405
|
+
const createMtaToCmaPayoutRestReqSchema = external_zod_namespaceObject.z.object({
|
|
4406
|
+
payoutType: external_zod_namespaceObject.z.literal(PayoutType.TRUST_TO_CMA_PAYOUT),
|
|
4407
|
+
payoutSourceAccountType: external_zod_namespaceObject.z.literal(payout_constant_PayoutSourceAccountType.MTA),
|
|
4408
|
+
bankRef: external_zod_namespaceObject.z.string(),
|
|
4409
|
+
description: external_zod_namespaceObject.z.string().trim().min(1),
|
|
4410
|
+
mtaId: external_zod_namespaceObject.z.string().uuid(),
|
|
4411
|
+
targetDetails: external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.object({
|
|
4412
|
+
cmaId: external_zod_namespaceObject.z.string().uuid(),
|
|
4413
|
+
propertyId: external_zod_namespaceObject.z.string().uuid(),
|
|
4414
|
+
creditAmountCents: external_zod_namespaceObject.z.number().gt(0).transform(fromDollarsToCents).pipe(external_zod_namespaceObject.z.bigint()),
|
|
4415
|
+
description: external_zod_namespaceObject.z.string().trim().min(1),
|
|
4416
|
+
bankRef: external_zod_namespaceObject.z.string()
|
|
4417
|
+
})).min(1)
|
|
4418
|
+
});
|
|
4419
|
+
const createSettlementPayoutTargetAccountSchema = external_zod_namespaceObject.z.object({
|
|
4420
|
+
targetAccountType: external_zod_namespaceObject.z.literal(payout_constant_PayoutTargetAccountType.OTHER),
|
|
4421
|
+
creditAmountCents: dollarsToCentsSchema,
|
|
4422
|
+
description: external_zod_namespaceObject.z.string().trim().min(1),
|
|
4423
|
+
bankRef: external_zod_namespaceObject.z.string().trim().min(1),
|
|
4424
|
+
targetAccountName: external_zod_namespaceObject.z.string().trim().min(1),
|
|
4425
|
+
targetAccountNumber: accountNumberValidationSchema,
|
|
4426
|
+
targetBsb: accountBsbValidationSchema,
|
|
4427
|
+
sourcePropertyId: external_zod_namespaceObject.z.string().uuid().optional()
|
|
4428
|
+
});
|
|
4429
|
+
const createCmaSettlementPayoutSourceAccountSchema = external_zod_namespaceObject.z.object({
|
|
4430
|
+
sourceAccountId: external_zod_namespaceObject.z.string().uuid(),
|
|
4431
|
+
sourceAccountType: external_zod_namespaceObject.z.literal(payout_constant_PayoutSourceAccountType.CMA),
|
|
4432
|
+
sourceBankRef: external_zod_namespaceObject.z.string().trim().min(1),
|
|
4433
|
+
sourceDescription: external_zod_namespaceObject.z.string().trim().min(1)
|
|
4434
|
+
});
|
|
4435
|
+
const createMtaSettlementPayoutSourceAccountSchema = external_zod_namespaceObject.z.object({
|
|
4436
|
+
sourceAccountId: external_zod_namespaceObject.z.string().uuid(),
|
|
4437
|
+
sourceAccountType: external_zod_namespaceObject.z.literal(payout_constant_PayoutSourceAccountType.MTA),
|
|
4438
|
+
sourceBankRef: external_zod_namespaceObject.z.string().trim().min(1),
|
|
4439
|
+
sourceDescription: external_zod_namespaceObject.z.string().trim().min(1)
|
|
4440
|
+
});
|
|
4441
|
+
const createMtaSettlementPayoutRestReqSchema = external_zod_namespaceObject.z.object({
|
|
4442
|
+
projectId: external_zod_namespaceObject.z.string().uuid(),
|
|
4443
|
+
payoutType: external_zod_namespaceObject.z.literal(PayoutType.TRUST_SETTLEMENT_PAYOUT),
|
|
4444
|
+
sourceAccount: external_zod_namespaceObject.z.lazy(()=>createMtaSettlementPayoutSourceAccountSchema),
|
|
4445
|
+
targetAccounts: external_zod_namespaceObject.z.lazy(()=>createSettlementPayoutTargetAccountSchema.array().min(1))
|
|
4446
|
+
});
|
|
4447
|
+
const createCmaSettlementPayoutRestReqSchema = external_zod_namespaceObject.z.object({
|
|
4448
|
+
projectId: external_zod_namespaceObject.z.string().uuid(),
|
|
4449
|
+
payoutType: external_zod_namespaceObject.z.literal(PayoutType.CMA_SETTLEMENT_PAYOUT),
|
|
4450
|
+
sourceAccount: external_zod_namespaceObject.z.lazy(()=>createCmaSettlementPayoutSourceAccountSchema),
|
|
4451
|
+
targetAccounts: external_zod_namespaceObject.z.lazy(()=>createSettlementPayoutTargetAccountSchema.array().min(1))
|
|
4452
|
+
});
|
|
4453
|
+
const createSettlementPayoutRestReqSchema = external_zod_namespaceObject.z.discriminatedUnion('payoutType', [
|
|
4454
|
+
createMtaSettlementPayoutRestReqSchema,
|
|
4455
|
+
createCmaSettlementPayoutRestReqSchema
|
|
4456
|
+
]);
|
|
4457
|
+
const payoutSourceDetailsRestResBaseSchema = payoutSourceDetailsEntitySchema.extend({
|
|
4458
|
+
debitAmountCents: centsToDollarsSchema,
|
|
4459
|
+
sourceBsb: accountBsbMaskedSchema,
|
|
4460
|
+
sourceAccountType: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(payout_constant_PayoutSourceAccountType)),
|
|
4461
|
+
sourceAccountId: external_zod_namespaceObject.z.string().uuid(),
|
|
4462
|
+
sourceAccountName: external_zod_namespaceObject.z.string(),
|
|
4463
|
+
sourceAccountNumber: accountNumberMaskedSchema,
|
|
4464
|
+
sourceAccountStateCode: stateCodeSchema,
|
|
4465
|
+
sourceAccountBankCode: bankCodeSchema,
|
|
4466
|
+
sequence: external_zod_namespaceObject.z.number().nullish()
|
|
4467
|
+
}).passthrough();
|
|
4468
|
+
const payoutMtaSourceDetailsRestSchema = payoutSourceDetailsRestResBaseSchema.extend({
|
|
4469
|
+
sourceAccountType: external_zod_namespaceObject.z.literal(payout_constant_PayoutSourceAccountType.MTA),
|
|
4470
|
+
transaction: mtaTransactionRestResSchema.nullish()
|
|
4471
|
+
}).passthrough();
|
|
4472
|
+
const payoutCmaSourceDetailsRestSchema = payoutSourceDetailsRestResBaseSchema.extend({
|
|
4473
|
+
sourceAccountType: external_zod_namespaceObject.z.literal(payout_constant_PayoutSourceAccountType.CMA),
|
|
4474
|
+
transaction: external_zod_namespaceObject.z.lazy(()=>cmaTransactionRestResSchema).nullish()
|
|
4475
|
+
}).passthrough();
|
|
4476
|
+
const payoutSourceDetailsRestSchema = external_zod_namespaceObject.z.discriminatedUnion('sourceAccountType', [
|
|
4477
|
+
payoutMtaSourceDetailsRestSchema,
|
|
4478
|
+
payoutCmaSourceDetailsRestSchema
|
|
4479
|
+
]);
|
|
4480
|
+
const payoutTargetDetailsRestResBaseSchema = payoutTargetDetailsBaseEntitySchema.extend({
|
|
4481
|
+
creditAmountCents: centsToDollarsSchema,
|
|
4482
|
+
targetBsb: accountBsbMaskedSchema,
|
|
4483
|
+
targetAccountNumber: accountNumberMaskedSchema,
|
|
4484
|
+
targetAccountType: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(payout_constant_PayoutTargetAccountType)),
|
|
4485
|
+
sequence: external_zod_namespaceObject.z.number().nullish(),
|
|
4486
|
+
bankRef: external_zod_namespaceObject.z.string().nullish(),
|
|
4487
|
+
description: external_zod_namespaceObject.z.string().nullish()
|
|
4488
|
+
}).passthrough();
|
|
4489
|
+
const payoutCmaTargetDetailsRestSchema = payoutTargetDetailsRestResBaseSchema.extend({
|
|
4490
|
+
targetAccountType: external_zod_namespaceObject.z.literal(payout_constant_PayoutTargetAccountType.CMA),
|
|
4491
|
+
transaction: external_zod_namespaceObject.z.lazy(()=>cmaTransactionRestResSchema).nullish(),
|
|
4492
|
+
targetAccountId: external_zod_namespaceObject.z.string().uuid(),
|
|
4493
|
+
cma: external_zod_namespaceObject.z.lazy(()=>cmaRestResSchema)
|
|
4494
|
+
}).passthrough();
|
|
4495
|
+
const payoutOtherTargetDetailsRestSchema = payoutTargetDetailsRestResBaseSchema.extend({
|
|
4496
|
+
targetAccountType: external_zod_namespaceObject.z.literal(payout_constant_PayoutTargetAccountType.OTHER)
|
|
4497
|
+
}).passthrough();
|
|
4498
|
+
const payoutTargetDetailsRestSchema = external_zod_namespaceObject.z.discriminatedUnion('targetAccountType', [
|
|
4499
|
+
payoutCmaTargetDetailsRestSchema,
|
|
4500
|
+
payoutOtherTargetDetailsRestSchema
|
|
4501
|
+
]);
|
|
4502
|
+
const payoutSearchRestReqSchema = external_zod_namespaceObject.z.object({
|
|
4503
|
+
payoutType: external_zod_namespaceObject.z.union([
|
|
4504
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4505
|
+
external_zod_namespaceObject.z.string()
|
|
4506
|
+
]).optional(),
|
|
4507
|
+
provisionDetails: external_zod_namespaceObject.z.lazy(()=>JsonNullableFilterSchema).optional(),
|
|
4508
|
+
sourceAccountId: external_zod_namespaceObject.z.union([
|
|
4509
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4510
|
+
external_zod_namespaceObject.z.string()
|
|
4511
|
+
]).optional(),
|
|
4512
|
+
sourceAccountType: external_zod_namespaceObject.z.union([
|
|
4513
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4514
|
+
external_zod_namespaceObject.z.string()
|
|
4515
|
+
]).optional(),
|
|
4516
|
+
status: external_zod_namespaceObject.z.union([
|
|
4517
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4518
|
+
external_zod_namespaceObject.z.string()
|
|
4519
|
+
]).optional()
|
|
4520
|
+
});
|
|
4521
|
+
const payoutStatusSummaryRestResSchema = external_zod_namespaceObject.z.object({
|
|
4522
|
+
status: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(PayoutStatus)),
|
|
4523
|
+
count: external_zod_namespaceObject.z.number()
|
|
4089
4524
|
});
|
|
4090
4525
|
const basePayoutItemShape = external_zod_namespaceObject.z.object({
|
|
4091
4526
|
propertyId: external_zod_namespaceObject.z.string().optional().nullable(),
|
|
@@ -4109,15 +4544,7 @@ var __webpack_exports__ = {};
|
|
|
4109
4544
|
external_zod_namespaceObject.z.number(),
|
|
4110
4545
|
external_zod_namespaceObject.z.bigint()
|
|
4111
4546
|
]).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())
|
|
4547
|
+
payoutItems: external_zod_namespaceObject.z.lazy(()=>external_zod_namespaceObject.z.array(payoutItemReqSchema))
|
|
4121
4548
|
}).strip();
|
|
4122
4549
|
const payoutListRestResSchema = payoutEntitySchema.extend({
|
|
4123
4550
|
payoutType: external_zod_namespaceObject.z.string(),
|
|
@@ -4132,6 +4559,86 @@ var __webpack_exports__ = {};
|
|
|
4132
4559
|
abaStatus: external_zod_namespaceObject.z.string(),
|
|
4133
4560
|
status: external_zod_namespaceObject.z.string()
|
|
4134
4561
|
}).strip();
|
|
4562
|
+
const payoutBankFileDownloadHistoryEntitySchema = external_zod_namespaceObject.z.object({
|
|
4563
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
4564
|
+
payoutId: external_zod_namespaceObject.z.string(),
|
|
4565
|
+
bankFileId: external_zod_namespaceObject.z.string(),
|
|
4566
|
+
fileName: external_zod_namespaceObject.z.string(),
|
|
4567
|
+
downloadedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4568
|
+
downloadedBy: external_zod_namespaceObject.z.string(),
|
|
4569
|
+
downloader: external_zod_namespaceObject.z.lazy(()=>userEntitySchema).nullish()
|
|
4570
|
+
});
|
|
4571
|
+
const payoutBankFileEntitySchema = external_zod_namespaceObject.z.object({
|
|
4572
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
4573
|
+
payoutId: external_zod_namespaceObject.z.string(),
|
|
4574
|
+
sequence: external_zod_namespaceObject.z.number().int(),
|
|
4575
|
+
fileContent: external_zod_namespaceObject.z.string(),
|
|
4576
|
+
payoutProvsionDetailBackup: external_zod_namespaceObject.z.any().nullable(),
|
|
4577
|
+
status: external_zod_namespaceObject.z.string(),
|
|
4578
|
+
firstDownloadedAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
4579
|
+
lastDonwloadAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
4580
|
+
lastDonwloadBy: external_zod_namespaceObject.z.string().nullable(),
|
|
4581
|
+
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
4582
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4583
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4584
|
+
createdBy: external_zod_namespaceObject.z.string()
|
|
4585
|
+
});
|
|
4586
|
+
const payoutBankFileRestResSchema = payoutBankFileEntitySchema.omit({
|
|
4587
|
+
payoutProvsionDetailBackup: true,
|
|
4588
|
+
fileContent: true
|
|
4589
|
+
}).extend({
|
|
4590
|
+
status: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(PayoutBankFileStatus)),
|
|
4591
|
+
creator: external_zod_namespaceObject.z.lazy(()=>userEntitySchema).nullish(),
|
|
4592
|
+
lastDownloader: external_zod_namespaceObject.z.lazy(()=>userEntitySchema).nullish(),
|
|
4593
|
+
fileDownloadHistories: external_zod_namespaceObject.z.lazy(()=>payoutBankFileDownloadHistoryEntitySchema).array().nullish()
|
|
4594
|
+
});
|
|
4595
|
+
const payoutTransactionEntitySchema = external_zod_namespaceObject.z.object({
|
|
4596
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
4597
|
+
sequence: external_zod_namespaceObject.z.number().int(),
|
|
4598
|
+
payoutId: external_zod_namespaceObject.z.string(),
|
|
4599
|
+
mtaTransactionId: external_zod_namespaceObject.z.string().nullable(),
|
|
4600
|
+
cmaTransactionId: external_zod_namespaceObject.z.string().nullable(),
|
|
4601
|
+
isCanceled: external_zod_namespaceObject.z.boolean(),
|
|
4602
|
+
canceledAt: external_zod_namespaceObject.z.coerce.date().nullable(),
|
|
4603
|
+
status: external_zod_namespaceObject.z.string(),
|
|
4604
|
+
createdAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4605
|
+
updatedAt: external_zod_namespaceObject.z.coerce.date(),
|
|
4606
|
+
isArchived: external_zod_namespaceObject.z.boolean(),
|
|
4607
|
+
triggerDetails: external_zod_namespaceObject.z.string().nullable(),
|
|
4608
|
+
propertyId: external_zod_namespaceObject.z.string().nullable(),
|
|
4609
|
+
targetBsb: external_zod_namespaceObject.z.string().nullable(),
|
|
4610
|
+
targetAccountNumber: external_zod_namespaceObject.z.string().nullable(),
|
|
4611
|
+
targetAccountName: external_zod_namespaceObject.z.string().nullable(),
|
|
4612
|
+
targetAccountType: external_zod_namespaceObject.z.string().nullable(),
|
|
4613
|
+
amountCents: external_zod_namespaceObject.z.bigint(),
|
|
4614
|
+
bankRef: external_zod_namespaceObject.z.string().nullable(),
|
|
4615
|
+
description: external_zod_namespaceObject.z.string().nullable()
|
|
4616
|
+
});
|
|
4617
|
+
const payoutRestResBaseSchema = payoutEntitySchema.extend({
|
|
4618
|
+
id: external_zod_namespaceObject.z.string().uuid(),
|
|
4619
|
+
totalAmountCents: centsToDollarsSchema,
|
|
4620
|
+
payoutType: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(PayoutType)),
|
|
4621
|
+
sourceAccount: external_zod_namespaceObject.z.lazy(()=>payoutSourceDetailsRestSchema),
|
|
4622
|
+
targetAccounts: external_zod_namespaceObject.z.lazy(()=>payoutTargetDetailsRestSchema.array()),
|
|
4623
|
+
status: external_zod_namespaceObject.z.string().pipe(external_zod_namespaceObject.z.nativeEnum(PayoutStatus)),
|
|
4624
|
+
createdBy: external_zod_namespaceObject.z.union([
|
|
4625
|
+
external_zod_namespaceObject.z.string().uuid(),
|
|
4626
|
+
userRestResSchema
|
|
4627
|
+
]).nullish(),
|
|
4628
|
+
cancelledBy: external_zod_namespaceObject.z.union([
|
|
4629
|
+
external_zod_namespaceObject.z.string().uuid(),
|
|
4630
|
+
userRestResSchema
|
|
4631
|
+
]).nullish(),
|
|
4632
|
+
provisionDetails: external_zod_namespaceObject.z.lazy(()=>payoutProvisionDataEntitySchema),
|
|
4633
|
+
transactions: external_zod_namespaceObject.z.lazy(()=>payoutTransactionEntitySchema.array()).nullish(),
|
|
4634
|
+
payoutBankFiles: external_zod_namespaceObject.z.lazy(()=>payoutBankFileRestResSchema.array()).nullish()
|
|
4635
|
+
});
|
|
4636
|
+
const payoutRestResSchema = payoutRestResBaseSchema;
|
|
4637
|
+
const payoutMtaToCmaRestResSchema = payoutRestResBaseSchema.extend({
|
|
4638
|
+
payoutType: external_zod_namespaceObject.z.literal(PayoutType.TRUST_TO_CMA_PAYOUT),
|
|
4639
|
+
sourceAccount: external_zod_namespaceObject.z.lazy(()=>payoutMtaSourceDetailsRestSchema),
|
|
4640
|
+
targetAccounts: external_zod_namespaceObject.z.lazy(()=>payoutCmaTargetDetailsRestSchema.array())
|
|
4641
|
+
});
|
|
4135
4642
|
const payoutPaymentItemSchema = external_zod_namespaceObject.z.object({
|
|
4136
4643
|
propertyId: external_zod_namespaceObject.z.string().uuid(),
|
|
4137
4644
|
propertyName: external_zod_namespaceObject.z.string(),
|
|
@@ -4149,6 +4656,36 @@ var __webpack_exports__ = {};
|
|
|
4149
4656
|
mta: external_zod_namespaceObject.z.lazy(()=>mtaEntitySchema).optional().nullable(),
|
|
4150
4657
|
paymentList: external_zod_namespaceObject.z.array(payoutPaymentItemSchema).optional()
|
|
4151
4658
|
});
|
|
4659
|
+
const propertyRestResBaseSchema = propertyEntitySchema.extend({
|
|
4660
|
+
balanceCents: centsToDollarsSchema,
|
|
4661
|
+
cmaBalanceCents: centsToDollarsSchema,
|
|
4662
|
+
mtaBalanceCents: centsToDollarsSchema
|
|
4663
|
+
});
|
|
4664
|
+
const propertyRestResSchema = propertyRestResBaseSchema.extend({
|
|
4665
|
+
customer: customerEntitySchema.nullish(),
|
|
4666
|
+
project: projectNestedEntitySchema.nullish(),
|
|
4667
|
+
mta: mtaRestResBaseSchema.nullish(),
|
|
4668
|
+
cma: cmaRestResBaseSchema.nullish(),
|
|
4669
|
+
cmaTransactions: cmaTransactionRestResSchema.array().nullish(),
|
|
4670
|
+
mtaTransactions: mtaTransactionRestResSchema.array().nullish()
|
|
4671
|
+
});
|
|
4672
|
+
const payoutTransactionRestResSchema = payoutTransactionEntitySchema.extend({
|
|
4673
|
+
property: external_zod_namespaceObject.z.lazy(()=>propertyRestResSchema).nullish(),
|
|
4674
|
+
cmaTransaction: external_zod_namespaceObject.z.lazy(()=>cmaTransactionEntitySchema.passthrough()).pipe(cmaTransactionRestResSchema).nullish(),
|
|
4675
|
+
mtaTransaction: external_zod_namespaceObject.z.lazy(()=>mtaTransactionEntitySchema.passthrough()).pipe(mtaTransactionRestResSchema).nullish(),
|
|
4676
|
+
cma: external_zod_namespaceObject.z.lazy(()=>cmaEntitySchema.passthrough()).pipe(cmaRestResSchema.omit({
|
|
4677
|
+
property: true
|
|
4678
|
+
})).nullish(),
|
|
4679
|
+
mta: external_zod_namespaceObject.z.lazy(()=>mtaEntitySchema.passthrough()).pipe(mtaRestResSchema.omit({
|
|
4680
|
+
paymentMethods: true,
|
|
4681
|
+
accountPeriods: true
|
|
4682
|
+
})).nullish(),
|
|
4683
|
+
amountCents: external_zod_namespaceObject.z.union([
|
|
4684
|
+
external_zod_namespaceObject.z.number(),
|
|
4685
|
+
external_zod_namespaceObject.z.string(),
|
|
4686
|
+
external_zod_namespaceObject.z.bigint()
|
|
4687
|
+
]).transform(fromCentsToDollars).pipe(external_zod_namespaceObject.z.number())
|
|
4688
|
+
});
|
|
4152
4689
|
const projectMtaAllocationEntitySchema = external_zod_namespaceObject.z.object({
|
|
4153
4690
|
id: external_zod_namespaceObject.z.string().uuid(),
|
|
4154
4691
|
projectId: external_zod_namespaceObject.z.string(),
|
|
@@ -4188,7 +4725,8 @@ var __webpack_exports__ = {};
|
|
|
4188
4725
|
developer: external_zod_namespaceObject.z.lazy(()=>developerEntitySchema).optional().nullish(),
|
|
4189
4726
|
mta: external_zod_namespaceObject.z.lazy(()=>mtaRestResSchema).optional().nullish(),
|
|
4190
4727
|
mtaAllocations: external_zod_namespaceObject.z.lazy(()=>projectMtaAllocationRestResSchema.array()).optional().nullish(),
|
|
4191
|
-
applyStatus: external_zod_namespaceObject.z.nativeEnum(ProjectApplyStatusRestRes)
|
|
4728
|
+
applyStatus: external_zod_namespaceObject.z.nativeEnum(ProjectApplyStatusRestRes),
|
|
4729
|
+
state: external_zod_namespaceObject.z.nativeEnum(am_zshared_namespaceObject.AuStateCode)
|
|
4192
4730
|
});
|
|
4193
4731
|
const allocateMtaToProjectRestReqSchema = external_zod_namespaceObject.z.object({
|
|
4194
4732
|
projectId: external_zod_namespaceObject.z.string().uuid(),
|
|
@@ -4216,6 +4754,52 @@ var __webpack_exports__ = {};
|
|
|
4216
4754
|
mta: external_zod_namespaceObject.z.lazy(()=>balanceRestResSchema),
|
|
4217
4755
|
cma: external_zod_namespaceObject.z.lazy(()=>balanceRestResSchema)
|
|
4218
4756
|
});
|
|
4757
|
+
const propertySearchRestReqSchema = external_zod_namespaceObject.z.object({
|
|
4758
|
+
customerId: external_zod_namespaceObject.z.union([
|
|
4759
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4760
|
+
external_zod_namespaceObject.z.string()
|
|
4761
|
+
]).optional(),
|
|
4762
|
+
projectId: external_zod_namespaceObject.z.union([
|
|
4763
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4764
|
+
external_zod_namespaceObject.z.string()
|
|
4765
|
+
]).optional(),
|
|
4766
|
+
buyerName: external_zod_namespaceObject.z.union([
|
|
4767
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4768
|
+
external_zod_namespaceObject.z.string()
|
|
4769
|
+
]).optional().nullable(),
|
|
4770
|
+
lotDetail: external_zod_namespaceObject.z.union([
|
|
4771
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4772
|
+
external_zod_namespaceObject.z.string()
|
|
4773
|
+
]).optional().nullable(),
|
|
4774
|
+
propertyAddress: external_zod_namespaceObject.z.union([
|
|
4775
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4776
|
+
external_zod_namespaceObject.z.string()
|
|
4777
|
+
]).optional(),
|
|
4778
|
+
stage: external_zod_namespaceObject.z.union([
|
|
4779
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4780
|
+
external_zod_namespaceObject.z.string()
|
|
4781
|
+
]).optional(),
|
|
4782
|
+
mtaId: external_zod_namespaceObject.z.union([
|
|
4783
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4784
|
+
external_zod_namespaceObject.z.string()
|
|
4785
|
+
]).optional(),
|
|
4786
|
+
mtaBalanceCents: external_zod_namespaceObject.z.union([
|
|
4787
|
+
external_zod_namespaceObject.z.lazy(()=>bigIntFilterSchema),
|
|
4788
|
+
external_zod_namespaceObject.z.bigint()
|
|
4789
|
+
]).optional(),
|
|
4790
|
+
cmaBalanceCents: external_zod_namespaceObject.z.union([
|
|
4791
|
+
external_zod_namespaceObject.z.lazy(()=>bigIntFilterSchema),
|
|
4792
|
+
external_zod_namespaceObject.z.bigint()
|
|
4793
|
+
]).optional(),
|
|
4794
|
+
balanceCents: external_zod_namespaceObject.z.union([
|
|
4795
|
+
external_zod_namespaceObject.z.lazy(()=>bigIntFilterSchema),
|
|
4796
|
+
external_zod_namespaceObject.z.bigint()
|
|
4797
|
+
]).optional(),
|
|
4798
|
+
status: external_zod_namespaceObject.z.union([
|
|
4799
|
+
external_zod_namespaceObject.z.lazy(()=>stringFilterSchema),
|
|
4800
|
+
external_zod_namespaceObject.z.string()
|
|
4801
|
+
]).optional()
|
|
4802
|
+
});
|
|
4219
4803
|
function bind(fn, thisArg) {
|
|
4220
4804
|
return function() {
|
|
4221
4805
|
return fn.apply(thisArg, arguments);
|
|
@@ -4535,7 +5119,7 @@ var __webpack_exports__ = {};
|
|
|
4535
5119
|
asap,
|
|
4536
5120
|
isIterable
|
|
4537
5121
|
};
|
|
4538
|
-
function
|
|
5122
|
+
function AxiosError_AxiosError(message, code, config, request, response) {
|
|
4539
5123
|
Error.call(this);
|
|
4540
5124
|
if (Error.captureStackTrace) Error.captureStackTrace(this, this.constructor);
|
|
4541
5125
|
else this.stack = new Error().stack;
|
|
@@ -4549,7 +5133,7 @@ var __webpack_exports__ = {};
|
|
|
4549
5133
|
this.status = response.status ? response.status : null;
|
|
4550
5134
|
}
|
|
4551
5135
|
}
|
|
4552
|
-
utils.inherits(
|
|
5136
|
+
utils.inherits(AxiosError_AxiosError, Error, {
|
|
4553
5137
|
toJSON: function() {
|
|
4554
5138
|
return {
|
|
4555
5139
|
message: this.message,
|
|
@@ -4566,7 +5150,7 @@ var __webpack_exports__ = {};
|
|
|
4566
5150
|
};
|
|
4567
5151
|
}
|
|
4568
5152
|
});
|
|
4569
|
-
const AxiosError_prototype =
|
|
5153
|
+
const AxiosError_prototype = AxiosError_AxiosError.prototype;
|
|
4570
5154
|
const AxiosError_descriptors = {};
|
|
4571
5155
|
[
|
|
4572
5156
|
'ERR_BAD_OPTION_VALUE',
|
|
@@ -4586,22 +5170,22 @@ var __webpack_exports__ = {};
|
|
|
4586
5170
|
value: code
|
|
4587
5171
|
};
|
|
4588
5172
|
});
|
|
4589
|
-
Object.defineProperties(
|
|
5173
|
+
Object.defineProperties(AxiosError_AxiosError, AxiosError_descriptors);
|
|
4590
5174
|
Object.defineProperty(AxiosError_prototype, 'isAxiosError', {
|
|
4591
5175
|
value: true
|
|
4592
5176
|
});
|
|
4593
|
-
|
|
5177
|
+
AxiosError_AxiosError.from = (error, code, config, request, response, customProps)=>{
|
|
4594
5178
|
const axiosError = Object.create(AxiosError_prototype);
|
|
4595
5179
|
utils.toFlatObject(error, axiosError, function(obj) {
|
|
4596
5180
|
return obj !== Error.prototype;
|
|
4597
5181
|
}, (prop)=>'isAxiosError' !== prop);
|
|
4598
|
-
|
|
5182
|
+
AxiosError_AxiosError.call(axiosError, error.message, code, config, request, response);
|
|
4599
5183
|
axiosError.cause = error;
|
|
4600
5184
|
axiosError.name = error.name;
|
|
4601
5185
|
customProps && Object.assign(axiosError, customProps);
|
|
4602
5186
|
return axiosError;
|
|
4603
5187
|
};
|
|
4604
|
-
const
|
|
5188
|
+
const AxiosError = AxiosError_AxiosError;
|
|
4605
5189
|
var form_data = __webpack_require__("./node_modules/.pnpm/form-data@4.0.2/node_modules/form-data/lib/form_data.js");
|
|
4606
5190
|
const classes_FormData = form_data;
|
|
4607
5191
|
function isVisitable(thing) {
|
|
@@ -4623,7 +5207,7 @@ var __webpack_exports__ = {};
|
|
|
4623
5207
|
const predicates = utils.toFlatObject(utils, {}, null, function(prop) {
|
|
4624
5208
|
return /^is[A-Z]/.test(prop);
|
|
4625
5209
|
});
|
|
4626
|
-
function
|
|
5210
|
+
function toFormData(obj, formData, options) {
|
|
4627
5211
|
if (!utils.isObject(obj)) throw new TypeError('target must be an object');
|
|
4628
5212
|
formData = formData || new (classes_FormData || FormData)();
|
|
4629
5213
|
options = utils.toFlatObject(options, {
|
|
@@ -4643,7 +5227,7 @@ var __webpack_exports__ = {};
|
|
|
4643
5227
|
function convertValue(value) {
|
|
4644
5228
|
if (null === value) return '';
|
|
4645
5229
|
if (utils.isDate(value)) return value.toISOString();
|
|
4646
|
-
if (!useBlob && utils.isBlob(value)) throw new
|
|
5230
|
+
if (!useBlob && utils.isBlob(value)) throw new AxiosError('Blob is not supported. Use a Buffer instead.');
|
|
4647
5231
|
if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) return useBlob && 'function' == typeof Blob ? new Blob([
|
|
4648
5232
|
value
|
|
4649
5233
|
]) : Buffer.from(value);
|
|
@@ -4691,7 +5275,7 @@ var __webpack_exports__ = {};
|
|
|
4691
5275
|
build(obj);
|
|
4692
5276
|
return formData;
|
|
4693
5277
|
}
|
|
4694
|
-
const
|
|
5278
|
+
const helpers_toFormData = toFormData;
|
|
4695
5279
|
function encode(str) {
|
|
4696
5280
|
const charMap = {
|
|
4697
5281
|
'!': '%21',
|
|
@@ -4706,11 +5290,11 @@ var __webpack_exports__ = {};
|
|
|
4706
5290
|
return charMap[match];
|
|
4707
5291
|
});
|
|
4708
5292
|
}
|
|
4709
|
-
function
|
|
5293
|
+
function AxiosURLSearchParams(params, options) {
|
|
4710
5294
|
this._pairs = [];
|
|
4711
|
-
params &&
|
|
5295
|
+
params && helpers_toFormData(params, this, options);
|
|
4712
5296
|
}
|
|
4713
|
-
const AxiosURLSearchParams_prototype =
|
|
5297
|
+
const AxiosURLSearchParams_prototype = AxiosURLSearchParams.prototype;
|
|
4714
5298
|
AxiosURLSearchParams_prototype.append = function(name, value) {
|
|
4715
5299
|
this._pairs.push([
|
|
4716
5300
|
name,
|
|
@@ -4725,7 +5309,7 @@ var __webpack_exports__ = {};
|
|
|
4725
5309
|
return _encode(pair[0]) + '=' + _encode(pair[1]);
|
|
4726
5310
|
}, '').join('&');
|
|
4727
5311
|
};
|
|
4728
|
-
const
|
|
5312
|
+
const helpers_AxiosURLSearchParams = AxiosURLSearchParams;
|
|
4729
5313
|
function buildURL_encode(val) {
|
|
4730
5314
|
return encodeURIComponent(val).replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+').replace(/%5B/gi, '[').replace(/%5D/gi, ']');
|
|
4731
5315
|
}
|
|
@@ -4737,7 +5321,7 @@ var __webpack_exports__ = {};
|
|
|
4737
5321
|
};
|
|
4738
5322
|
const serializeFn = options && options.serialize;
|
|
4739
5323
|
let serializedParams;
|
|
4740
|
-
serializedParams = serializeFn ? serializeFn(params, options) : utils.isURLSearchParams(params) ? params.toString() : new
|
|
5324
|
+
serializedParams = serializeFn ? serializeFn(params, options) : utils.isURLSearchParams(params) ? params.toString() : new helpers_AxiosURLSearchParams(params, options).toString(_encode);
|
|
4741
5325
|
if (serializedParams) {
|
|
4742
5326
|
const hashmarkIndex = url.indexOf("#");
|
|
4743
5327
|
if (-1 !== hashmarkIndex) url = url.slice(0, hashmarkIndex);
|
|
@@ -4824,7 +5408,7 @@ var __webpack_exports__ = {};
|
|
|
4824
5408
|
...node
|
|
4825
5409
|
};
|
|
4826
5410
|
function toURLEncodedForm(data, options) {
|
|
4827
|
-
return
|
|
5411
|
+
return helpers_toFormData(data, new platform.classes.URLSearchParams(), Object.assign({
|
|
4828
5412
|
visitor: function(value, key, path, helpers) {
|
|
4829
5413
|
if (platform.isNode && utils.isBuffer(value)) {
|
|
4830
5414
|
this.append(key, value.toString('base64'));
|
|
@@ -4849,7 +5433,7 @@ var __webpack_exports__ = {};
|
|
|
4849
5433
|
}
|
|
4850
5434
|
return obj;
|
|
4851
5435
|
}
|
|
4852
|
-
function
|
|
5436
|
+
function formDataToJSON(formData) {
|
|
4853
5437
|
function buildPath(path, value, target, index) {
|
|
4854
5438
|
let name = path[index++];
|
|
4855
5439
|
if ('__proto__' === name) return true;
|
|
@@ -4878,7 +5462,7 @@ var __webpack_exports__ = {};
|
|
|
4878
5462
|
}
|
|
4879
5463
|
return null;
|
|
4880
5464
|
}
|
|
4881
|
-
const
|
|
5465
|
+
const helpers_formDataToJSON = formDataToJSON;
|
|
4882
5466
|
function stringifySafely(rawValue, parser, encoder) {
|
|
4883
5467
|
if (utils.isString(rawValue)) try {
|
|
4884
5468
|
(parser || JSON.parse)(rawValue);
|
|
@@ -4902,7 +5486,7 @@ var __webpack_exports__ = {};
|
|
|
4902
5486
|
const isObjectPayload = utils.isObject(data);
|
|
4903
5487
|
if (isObjectPayload && utils.isHTMLForm(data)) data = new FormData(data);
|
|
4904
5488
|
const isFormData = utils.isFormData(data);
|
|
4905
|
-
if (isFormData) return hasJSONContentType ? JSON.stringify(
|
|
5489
|
+
if (isFormData) return hasJSONContentType ? JSON.stringify(helpers_formDataToJSON(data)) : data;
|
|
4906
5490
|
if (utils.isArrayBuffer(data) || utils.isBuffer(data) || utils.isStream(data) || utils.isFile(data) || utils.isBlob(data) || utils.isReadableStream(data)) return data;
|
|
4907
5491
|
if (utils.isArrayBufferView(data)) return data.buffer;
|
|
4908
5492
|
if (utils.isURLSearchParams(data)) {
|
|
@@ -4914,7 +5498,7 @@ var __webpack_exports__ = {};
|
|
|
4914
5498
|
if (contentType.indexOf('application/x-www-form-urlencoded') > -1) return toURLEncodedForm(data, this.formSerializer).toString();
|
|
4915
5499
|
if ((isFileList = utils.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {
|
|
4916
5500
|
const _FormData = this.env && this.env.FormData;
|
|
4917
|
-
return
|
|
5501
|
+
return helpers_toFormData(isFileList ? {
|
|
4918
5502
|
'files[]': data
|
|
4919
5503
|
} : data, _FormData && new _FormData(), this.formSerializer);
|
|
4920
5504
|
}
|
|
@@ -4939,7 +5523,7 @@ var __webpack_exports__ = {};
|
|
|
4939
5523
|
return JSON.parse(data);
|
|
4940
5524
|
} catch (e) {
|
|
4941
5525
|
if (strictJSONParsing) {
|
|
4942
|
-
if ('SyntaxError' === e.name) throw
|
|
5526
|
+
if ('SyntaxError' === e.name) throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
|
|
4943
5527
|
throw e;
|
|
4944
5528
|
}
|
|
4945
5529
|
}
|
|
@@ -5055,7 +5639,7 @@ var __webpack_exports__ = {};
|
|
|
5055
5639
|
});
|
|
5056
5640
|
});
|
|
5057
5641
|
}
|
|
5058
|
-
class
|
|
5642
|
+
class AxiosHeaders_AxiosHeaders {
|
|
5059
5643
|
constructor(headers){
|
|
5060
5644
|
headers && this.set(headers);
|
|
5061
5645
|
}
|
|
@@ -5202,7 +5786,7 @@ var __webpack_exports__ = {};
|
|
|
5202
5786
|
return this;
|
|
5203
5787
|
}
|
|
5204
5788
|
}
|
|
5205
|
-
|
|
5789
|
+
AxiosHeaders_AxiosHeaders.accessor([
|
|
5206
5790
|
'Content-Type',
|
|
5207
5791
|
'Content-Length',
|
|
5208
5792
|
'Accept',
|
|
@@ -5210,7 +5794,7 @@ var __webpack_exports__ = {};
|
|
|
5210
5794
|
'User-Agent',
|
|
5211
5795
|
'Authorization'
|
|
5212
5796
|
]);
|
|
5213
|
-
utils.reduceDescriptors(
|
|
5797
|
+
utils.reduceDescriptors(AxiosHeaders_AxiosHeaders.prototype, ({ value }, key)=>{
|
|
5214
5798
|
let mapped = key[0].toUpperCase() + key.slice(1);
|
|
5215
5799
|
return {
|
|
5216
5800
|
get: ()=>value,
|
|
@@ -5219,12 +5803,12 @@ var __webpack_exports__ = {};
|
|
|
5219
5803
|
}
|
|
5220
5804
|
};
|
|
5221
5805
|
});
|
|
5222
|
-
utils.freezeMethods(
|
|
5223
|
-
const
|
|
5806
|
+
utils.freezeMethods(AxiosHeaders_AxiosHeaders);
|
|
5807
|
+
const AxiosHeaders = AxiosHeaders_AxiosHeaders;
|
|
5224
5808
|
function transformData(fns, response) {
|
|
5225
5809
|
const config = this || lib_defaults;
|
|
5226
5810
|
const context = response || config;
|
|
5227
|
-
const headers =
|
|
5811
|
+
const headers = AxiosHeaders.from(context.headers);
|
|
5228
5812
|
let data = context.data;
|
|
5229
5813
|
utils.forEach(fns, function(fn) {
|
|
5230
5814
|
data = fn.call(config, data, headers.normalize(), response ? response.status : void 0);
|
|
@@ -5235,20 +5819,20 @@ var __webpack_exports__ = {};
|
|
|
5235
5819
|
function isCancel(value) {
|
|
5236
5820
|
return !!(value && value.__CANCEL__);
|
|
5237
5821
|
}
|
|
5238
|
-
function
|
|
5239
|
-
|
|
5822
|
+
function CanceledError(message, config, request) {
|
|
5823
|
+
AxiosError.call(this, null == message ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);
|
|
5240
5824
|
this.name = 'CanceledError';
|
|
5241
5825
|
}
|
|
5242
|
-
utils.inherits(
|
|
5826
|
+
utils.inherits(CanceledError, AxiosError, {
|
|
5243
5827
|
__CANCEL__: true
|
|
5244
5828
|
});
|
|
5245
|
-
const
|
|
5829
|
+
const cancel_CanceledError = CanceledError;
|
|
5246
5830
|
function settle(resolve, reject, response) {
|
|
5247
5831
|
const validateStatus = response.config.validateStatus;
|
|
5248
5832
|
if (!response.status || !validateStatus || validateStatus(response.status)) resolve(response);
|
|
5249
|
-
else reject(new
|
|
5250
|
-
|
|
5251
|
-
|
|
5833
|
+
else reject(new AxiosError('Request failed with status code ' + response.status, [
|
|
5834
|
+
AxiosError.ERR_BAD_REQUEST,
|
|
5835
|
+
AxiosError.ERR_BAD_RESPONSE
|
|
5252
5836
|
][Math.floor(response.status / 100) - 4], response.config, response.request, response));
|
|
5253
5837
|
}
|
|
5254
5838
|
function isAbsoluteURL(url) {
|
|
@@ -5281,13 +5865,13 @@ var __webpack_exports__ = {};
|
|
|
5281
5865
|
if ('data' === protocol) {
|
|
5282
5866
|
uri = protocol.length ? uri.slice(protocol.length + 1) : uri;
|
|
5283
5867
|
const match = DATA_URL_PATTERN.exec(uri);
|
|
5284
|
-
if (!match) throw new
|
|
5868
|
+
if (!match) throw new AxiosError('Invalid URL', AxiosError.ERR_INVALID_URL);
|
|
5285
5869
|
const mime = match[1];
|
|
5286
5870
|
const isBase64 = match[2];
|
|
5287
5871
|
const body = match[3];
|
|
5288
5872
|
const buffer = Buffer.from(decodeURIComponent(body), isBase64 ? 'base64' : 'utf8');
|
|
5289
5873
|
if (asBlob) {
|
|
5290
|
-
if (!_Blob) throw new
|
|
5874
|
+
if (!_Blob) throw new AxiosError('Blob is not supported', AxiosError.ERR_NOT_SUPPORT);
|
|
5291
5875
|
return new _Blob([
|
|
5292
5876
|
buffer
|
|
5293
5877
|
], {
|
|
@@ -5296,7 +5880,7 @@ var __webpack_exports__ = {};
|
|
|
5296
5880
|
}
|
|
5297
5881
|
return buffer;
|
|
5298
5882
|
}
|
|
5299
|
-
throw new
|
|
5883
|
+
throw new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_NOT_SUPPORT);
|
|
5300
5884
|
}
|
|
5301
5885
|
var external_stream_ = __webpack_require__("stream");
|
|
5302
5886
|
const kInternals = Symbol('internals');
|
|
@@ -5395,13 +5979,13 @@ var __webpack_exports__ = {};
|
|
|
5395
5979
|
const AxiosTransformStream = AxiosTransformStream_AxiosTransformStream;
|
|
5396
5980
|
const external_events_namespaceObject = require("events");
|
|
5397
5981
|
const { asyncIterator } = Symbol;
|
|
5398
|
-
const
|
|
5982
|
+
const readBlob_readBlob = async function*(blob) {
|
|
5399
5983
|
if (blob.stream) yield* blob.stream();
|
|
5400
5984
|
else if (blob.arrayBuffer) yield await blob.arrayBuffer();
|
|
5401
5985
|
else if (blob[asyncIterator]) yield* blob[asyncIterator]();
|
|
5402
5986
|
else yield blob;
|
|
5403
5987
|
};
|
|
5404
|
-
const
|
|
5988
|
+
const readBlob = readBlob_readBlob;
|
|
5405
5989
|
const BOUNDARY_ALPHABET = platform.ALPHABET.ALPHA_DIGIT + '-_';
|
|
5406
5990
|
const textEncoder = 'function' == typeof TextEncoder ? new TextEncoder() : new external_util_.TextEncoder();
|
|
5407
5991
|
const CRLF = '\r\n';
|
|
@@ -5424,7 +6008,7 @@ var __webpack_exports__ = {};
|
|
|
5424
6008
|
yield this.headers;
|
|
5425
6009
|
const { value } = this;
|
|
5426
6010
|
if (utils.isTypedArray(value)) yield value;
|
|
5427
|
-
else yield*
|
|
6011
|
+
else yield* readBlob(value);
|
|
5428
6012
|
yield CRLF_BYTES;
|
|
5429
6013
|
}
|
|
5430
6014
|
static escapeName(name) {
|
|
@@ -5463,7 +6047,7 @@ var __webpack_exports__ = {};
|
|
|
5463
6047
|
}());
|
|
5464
6048
|
};
|
|
5465
6049
|
const helpers_formDataToStream = formDataToStream;
|
|
5466
|
-
class
|
|
6050
|
+
class ZlibHeaderTransformStream extends external_stream_.Transform {
|
|
5467
6051
|
__transform(chunk, encoding, callback) {
|
|
5468
6052
|
this.push(chunk);
|
|
5469
6053
|
callback();
|
|
@@ -5481,7 +6065,7 @@ var __webpack_exports__ = {};
|
|
|
5481
6065
|
this.__transform(chunk, encoding, callback);
|
|
5482
6066
|
}
|
|
5483
6067
|
}
|
|
5484
|
-
const
|
|
6068
|
+
const helpers_ZlibHeaderTransformStream = ZlibHeaderTransformStream;
|
|
5485
6069
|
const callbackify = (fn, reducer)=>utils.isAsyncFn(fn) ? function(...args) {
|
|
5486
6070
|
const cb = args.pop();
|
|
5487
6071
|
fn.apply(this, args).then((value)=>{
|
|
@@ -5521,7 +6105,7 @@ var __webpack_exports__ = {};
|
|
|
5521
6105
|
};
|
|
5522
6106
|
}
|
|
5523
6107
|
const helpers_speedometer = speedometer;
|
|
5524
|
-
function
|
|
6108
|
+
function throttle_throttle(fn, freq) {
|
|
5525
6109
|
let timestamp = 0;
|
|
5526
6110
|
let threshold = 1000 / freq;
|
|
5527
6111
|
let lastArgs;
|
|
@@ -5553,11 +6137,11 @@ var __webpack_exports__ = {};
|
|
|
5553
6137
|
flush
|
|
5554
6138
|
];
|
|
5555
6139
|
}
|
|
5556
|
-
const
|
|
6140
|
+
const throttle = throttle_throttle;
|
|
5557
6141
|
const progressEventReducer = (listener, isDownloadStream, freq = 3)=>{
|
|
5558
6142
|
let bytesNotified = 0;
|
|
5559
6143
|
const _speedometer = helpers_speedometer(50, 250);
|
|
5560
|
-
return
|
|
6144
|
+
return throttle((e)=>{
|
|
5561
6145
|
const loaded = e.loaded;
|
|
5562
6146
|
const total = e.lengthComputable ? e.total : void 0;
|
|
5563
6147
|
const progressBytes = loaded - bytesNotified;
|
|
@@ -5701,7 +6285,7 @@ var __webpack_exports__ = {};
|
|
|
5701
6285
|
}
|
|
5702
6286
|
});
|
|
5703
6287
|
function abort(reason) {
|
|
5704
|
-
emitter.emit('abort', !reason || reason.type ? new
|
|
6288
|
+
emitter.emit('abort', !reason || reason.type ? new cancel_CanceledError(null, config, req) : reason);
|
|
5705
6289
|
}
|
|
5706
6290
|
emitter.once('abort', reject);
|
|
5707
6291
|
if (config.cancelToken || config.signal) {
|
|
@@ -5724,7 +6308,7 @@ var __webpack_exports__ = {};
|
|
|
5724
6308
|
Blob: config.env && config.env.Blob
|
|
5725
6309
|
});
|
|
5726
6310
|
} catch (err) {
|
|
5727
|
-
throw
|
|
6311
|
+
throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config);
|
|
5728
6312
|
}
|
|
5729
6313
|
if ('text' === responseType) {
|
|
5730
6314
|
convertedData = convertedData.toString(responseEncoding);
|
|
@@ -5734,12 +6318,12 @@ var __webpack_exports__ = {};
|
|
|
5734
6318
|
data: convertedData,
|
|
5735
6319
|
status: 200,
|
|
5736
6320
|
statusText: 'OK',
|
|
5737
|
-
headers: new
|
|
6321
|
+
headers: new AxiosHeaders(),
|
|
5738
6322
|
config
|
|
5739
6323
|
});
|
|
5740
6324
|
}
|
|
5741
|
-
if (-1 === supportedProtocols.indexOf(protocol)) return reject(new
|
|
5742
|
-
const headers =
|
|
6325
|
+
if (-1 === supportedProtocols.indexOf(protocol)) return reject(new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_BAD_REQUEST, config));
|
|
6326
|
+
const headers = AxiosHeaders.from(config.headers).normalize();
|
|
5743
6327
|
headers.set('User-Agent', 'axios/' + VERSION, false);
|
|
5744
6328
|
const { onUploadProgress, onDownloadProgress } = config;
|
|
5745
6329
|
const maxRate = config.maxRate;
|
|
@@ -5762,16 +6346,16 @@ var __webpack_exports__ = {};
|
|
|
5762
6346
|
} else if (utils.isBlob(data) || utils.isFile(data)) {
|
|
5763
6347
|
data.size && headers.setContentType(data.type || 'application/octet-stream');
|
|
5764
6348
|
headers.setContentLength(data.size || 0);
|
|
5765
|
-
data = external_stream_.Readable.from(
|
|
6349
|
+
data = external_stream_.Readable.from(readBlob(data));
|
|
5766
6350
|
} else if (data && !utils.isStream(data)) {
|
|
5767
6351
|
if (Buffer.isBuffer(data)) ;
|
|
5768
6352
|
else if (utils.isArrayBuffer(data)) data = Buffer.from(new Uint8Array(data));
|
|
5769
6353
|
else {
|
|
5770
|
-
if (!utils.isString(data)) return reject(new
|
|
6354
|
+
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
6355
|
data = Buffer.from(data, 'utf-8');
|
|
5772
6356
|
}
|
|
5773
6357
|
headers.setContentLength(data.length, false);
|
|
5774
|
-
if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) return reject(new
|
|
6358
|
+
if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) return reject(new AxiosError('Request body larger than maxBodyLength limit', AxiosError.ERR_BAD_REQUEST, config));
|
|
5775
6359
|
}
|
|
5776
6360
|
const contentLength = utils.toFiniteNumber(headers.getContentLength());
|
|
5777
6361
|
if (utils.isArray(maxRate)) {
|
|
@@ -5873,7 +6457,7 @@ var __webpack_exports__ = {};
|
|
|
5873
6457
|
delete res.headers['content-encoding'];
|
|
5874
6458
|
break;
|
|
5875
6459
|
case 'deflate':
|
|
5876
|
-
streams.push(new
|
|
6460
|
+
streams.push(new helpers_ZlibHeaderTransformStream());
|
|
5877
6461
|
streams.push(external_zlib_namespaceObject.createUnzip(zlibOptions));
|
|
5878
6462
|
delete res.headers['content-encoding'];
|
|
5879
6463
|
break;
|
|
@@ -5892,7 +6476,7 @@ var __webpack_exports__ = {};
|
|
|
5892
6476
|
const response = {
|
|
5893
6477
|
status: res.statusCode,
|
|
5894
6478
|
statusText: res.statusMessage,
|
|
5895
|
-
headers: new
|
|
6479
|
+
headers: new AxiosHeaders(res.headers),
|
|
5896
6480
|
config,
|
|
5897
6481
|
request: lastRequest
|
|
5898
6482
|
};
|
|
@@ -5908,18 +6492,18 @@ var __webpack_exports__ = {};
|
|
|
5908
6492
|
if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
|
|
5909
6493
|
rejected = true;
|
|
5910
6494
|
responseStream.destroy();
|
|
5911
|
-
reject(new
|
|
6495
|
+
reject(new AxiosError('maxContentLength size of ' + config.maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, lastRequest));
|
|
5912
6496
|
}
|
|
5913
6497
|
});
|
|
5914
6498
|
responseStream.on('aborted', function() {
|
|
5915
6499
|
if (rejected) return;
|
|
5916
|
-
const err = new
|
|
6500
|
+
const err = new AxiosError('stream has been aborted', AxiosError.ERR_BAD_RESPONSE, config, lastRequest);
|
|
5917
6501
|
responseStream.destroy(err);
|
|
5918
6502
|
reject(err);
|
|
5919
6503
|
});
|
|
5920
6504
|
responseStream.on('error', function(err) {
|
|
5921
6505
|
if (req.destroyed) return;
|
|
5922
|
-
reject(
|
|
6506
|
+
reject(AxiosError.from(err, null, config, lastRequest));
|
|
5923
6507
|
});
|
|
5924
6508
|
responseStream.on('end', function() {
|
|
5925
6509
|
try {
|
|
@@ -5930,7 +6514,7 @@ var __webpack_exports__ = {};
|
|
|
5930
6514
|
}
|
|
5931
6515
|
response.data = responseData;
|
|
5932
6516
|
} catch (err) {
|
|
5933
|
-
return reject(
|
|
6517
|
+
return reject(AxiosError.from(err, null, config, response.request, response));
|
|
5934
6518
|
}
|
|
5935
6519
|
settle(resolve, reject, response);
|
|
5936
6520
|
});
|
|
@@ -5947,20 +6531,20 @@ var __webpack_exports__ = {};
|
|
|
5947
6531
|
req.destroy(err);
|
|
5948
6532
|
});
|
|
5949
6533
|
req.on('error', function(err) {
|
|
5950
|
-
reject(
|
|
6534
|
+
reject(AxiosError.from(err, null, config, req));
|
|
5951
6535
|
});
|
|
5952
6536
|
req.on('socket', function(socket) {
|
|
5953
6537
|
socket.setKeepAlive(true, 60000);
|
|
5954
6538
|
});
|
|
5955
6539
|
if (config.timeout) {
|
|
5956
6540
|
const timeout = parseInt(config.timeout, 10);
|
|
5957
|
-
if (Number.isNaN(timeout)) return void reject(new
|
|
6541
|
+
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
6542
|
req.setTimeout(timeout, function() {
|
|
5959
6543
|
if (isDone) return;
|
|
5960
6544
|
let timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
5961
6545
|
const transitional = config.transitional || defaults_transitional;
|
|
5962
6546
|
if (config.timeoutErrorMessage) timeoutErrorMessage = config.timeoutErrorMessage;
|
|
5963
|
-
reject(new
|
|
6547
|
+
reject(new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, req));
|
|
5964
6548
|
abort();
|
|
5965
6549
|
});
|
|
5966
6550
|
}
|
|
@@ -5975,7 +6559,7 @@ var __webpack_exports__ = {};
|
|
|
5975
6559
|
req.destroy(err);
|
|
5976
6560
|
});
|
|
5977
6561
|
data.on('close', ()=>{
|
|
5978
|
-
if (!ended && !errored) abort(new
|
|
6562
|
+
if (!ended && !errored) abort(new cancel_CanceledError('Request stream has been aborted', config, req));
|
|
5979
6563
|
});
|
|
5980
6564
|
data.pipe(req);
|
|
5981
6565
|
} else req.end(data);
|
|
@@ -6010,7 +6594,7 @@ var __webpack_exports__ = {};
|
|
|
6010
6594
|
},
|
|
6011
6595
|
remove () {}
|
|
6012
6596
|
};
|
|
6013
|
-
const headersToObject = (thing)=>thing instanceof
|
|
6597
|
+
const headersToObject = (thing)=>thing instanceof AxiosHeaders ? {
|
|
6014
6598
|
...thing
|
|
6015
6599
|
} : thing;
|
|
6016
6600
|
function mergeConfig(config1, config2) {
|
|
@@ -6080,7 +6664,7 @@ var __webpack_exports__ = {};
|
|
|
6080
6664
|
const resolveConfig = (config)=>{
|
|
6081
6665
|
const newConfig = mergeConfig({}, config);
|
|
6082
6666
|
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
6083
|
-
newConfig.headers = headers =
|
|
6667
|
+
newConfig.headers = headers = AxiosHeaders.from(headers);
|
|
6084
6668
|
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
|
|
6085
6669
|
if (auth) headers.set('Authorization', 'Basic ' + btoa((auth.username || '') + ':' + (auth.password ? unescape(encodeURIComponent(auth.password)) : '')));
|
|
6086
6670
|
let contentType;
|
|
@@ -6108,7 +6692,7 @@ var __webpack_exports__ = {};
|
|
|
6108
6692
|
return new Promise(function(resolve, reject) {
|
|
6109
6693
|
const _config = resolveConfig(config);
|
|
6110
6694
|
let requestData = _config.data;
|
|
6111
|
-
const requestHeaders =
|
|
6695
|
+
const requestHeaders = AxiosHeaders.from(_config.headers).normalize();
|
|
6112
6696
|
let { responseType, onUploadProgress, onDownloadProgress } = _config;
|
|
6113
6697
|
let onCanceled;
|
|
6114
6698
|
let uploadThrottled, downloadThrottled;
|
|
@@ -6124,7 +6708,7 @@ var __webpack_exports__ = {};
|
|
|
6124
6708
|
request.timeout = _config.timeout;
|
|
6125
6709
|
function onloadend() {
|
|
6126
6710
|
if (!request) return;
|
|
6127
|
-
const responseHeaders =
|
|
6711
|
+
const responseHeaders = AxiosHeaders.from('getAllResponseHeaders' in request && request.getAllResponseHeaders());
|
|
6128
6712
|
const responseData = responseType && 'text' !== responseType && 'json' !== responseType ? request.response : request.responseText;
|
|
6129
6713
|
const response = {
|
|
6130
6714
|
data: responseData,
|
|
@@ -6151,18 +6735,18 @@ var __webpack_exports__ = {};
|
|
|
6151
6735
|
};
|
|
6152
6736
|
request.onabort = function() {
|
|
6153
6737
|
if (!request) return;
|
|
6154
|
-
reject(new
|
|
6738
|
+
reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));
|
|
6155
6739
|
request = null;
|
|
6156
6740
|
};
|
|
6157
6741
|
request.onerror = function() {
|
|
6158
|
-
reject(new
|
|
6742
|
+
reject(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request));
|
|
6159
6743
|
request = null;
|
|
6160
6744
|
};
|
|
6161
6745
|
request.ontimeout = function() {
|
|
6162
6746
|
let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
6163
6747
|
const transitional = _config.transitional || defaults_transitional;
|
|
6164
6748
|
if (_config.timeoutErrorMessage) timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
6165
|
-
reject(new
|
|
6749
|
+
reject(new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, request));
|
|
6166
6750
|
request = null;
|
|
6167
6751
|
};
|
|
6168
6752
|
void 0 === requestData && requestHeaders.setContentType(null);
|
|
@@ -6183,7 +6767,7 @@ var __webpack_exports__ = {};
|
|
|
6183
6767
|
if (_config.cancelToken || _config.signal) {
|
|
6184
6768
|
onCanceled = (cancel)=>{
|
|
6185
6769
|
if (!request) return;
|
|
6186
|
-
reject(!cancel || cancel.type ? new
|
|
6770
|
+
reject(!cancel || cancel.type ? new cancel_CanceledError(null, config, request) : cancel);
|
|
6187
6771
|
request.abort();
|
|
6188
6772
|
request = null;
|
|
6189
6773
|
};
|
|
@@ -6191,7 +6775,7 @@ var __webpack_exports__ = {};
|
|
|
6191
6775
|
if (_config.signal) _config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);
|
|
6192
6776
|
}
|
|
6193
6777
|
const protocol = parseProtocol(_config.url);
|
|
6194
|
-
if (protocol && -1 === platform.protocols.indexOf(protocol)) return void reject(new
|
|
6778
|
+
if (protocol && -1 === platform.protocols.indexOf(protocol)) return void reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));
|
|
6195
6779
|
request.send(requestData || null);
|
|
6196
6780
|
});
|
|
6197
6781
|
};
|
|
@@ -6205,12 +6789,12 @@ var __webpack_exports__ = {};
|
|
|
6205
6789
|
aborted = true;
|
|
6206
6790
|
unsubscribe();
|
|
6207
6791
|
const err = reason instanceof Error ? reason : this.reason;
|
|
6208
|
-
controller.abort(err instanceof
|
|
6792
|
+
controller.abort(err instanceof AxiosError ? err : new cancel_CanceledError(err instanceof Error ? err.message : err));
|
|
6209
6793
|
}
|
|
6210
6794
|
};
|
|
6211
6795
|
let timer = timeout && setTimeout(()=>{
|
|
6212
6796
|
timer = null;
|
|
6213
|
-
onabort(new
|
|
6797
|
+
onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT));
|
|
6214
6798
|
}, timeout);
|
|
6215
6799
|
const unsubscribe = ()=>{
|
|
6216
6800
|
if (signals) {
|
|
@@ -6330,7 +6914,7 @@ var __webpack_exports__ = {};
|
|
|
6330
6914
|
'stream'
|
|
6331
6915
|
].forEach((type)=>{
|
|
6332
6916
|
resolvers[type] || (resolvers[type] = utils.isFunction(res[type]) ? (res)=>res[type]() : (_, config)=>{
|
|
6333
|
-
throw new
|
|
6917
|
+
throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
|
|
6334
6918
|
});
|
|
6335
6919
|
});
|
|
6336
6920
|
})(new Response);
|
|
@@ -6413,7 +6997,7 @@ var __webpack_exports__ = {};
|
|
|
6413
6997
|
return await new Promise((resolve, reject)=>{
|
|
6414
6998
|
settle(resolve, reject, {
|
|
6415
6999
|
data: responseData,
|
|
6416
|
-
headers:
|
|
7000
|
+
headers: AxiosHeaders.from(response.headers),
|
|
6417
7001
|
status: response.status,
|
|
6418
7002
|
statusText: response.statusText,
|
|
6419
7003
|
config,
|
|
@@ -6422,10 +7006,10 @@ var __webpack_exports__ = {};
|
|
|
6422
7006
|
});
|
|
6423
7007
|
} catch (err) {
|
|
6424
7008
|
unsubscribe && unsubscribe();
|
|
6425
|
-
if (err && 'TypeError' === err.name && /Load failed|fetch/i.test(err.message)) throw Object.assign(new
|
|
7009
|
+
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
7010
|
cause: err.cause || err
|
|
6427
7011
|
});
|
|
6428
|
-
throw
|
|
7012
|
+
throw AxiosError.from(err, err && err.code, config, request);
|
|
6429
7013
|
}
|
|
6430
7014
|
});
|
|
6431
7015
|
const knownAdapters = {
|
|
@@ -6462,7 +7046,7 @@ var __webpack_exports__ = {};
|
|
|
6462
7046
|
adapter = nameOrAdapter;
|
|
6463
7047
|
if (!isResolvedHandle(nameOrAdapter)) {
|
|
6464
7048
|
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
|
6465
|
-
if (void 0 === adapter) throw new
|
|
7049
|
+
if (void 0 === adapter) throw new AxiosError(`Unknown adapter '${id}'`);
|
|
6466
7050
|
}
|
|
6467
7051
|
if (adapter) break;
|
|
6468
7052
|
rejectedReasons[id || '#' + i] = adapter;
|
|
@@ -6470,7 +7054,7 @@ var __webpack_exports__ = {};
|
|
|
6470
7054
|
if (!adapter) {
|
|
6471
7055
|
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
7056
|
let s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified';
|
|
6473
|
-
throw new
|
|
7057
|
+
throw new AxiosError("There is no suitable adapter to dispatch the request " + s, 'ERR_NOT_SUPPORT');
|
|
6474
7058
|
}
|
|
6475
7059
|
return adapter;
|
|
6476
7060
|
},
|
|
@@ -6478,11 +7062,11 @@ var __webpack_exports__ = {};
|
|
|
6478
7062
|
};
|
|
6479
7063
|
function throwIfCancellationRequested(config) {
|
|
6480
7064
|
if (config.cancelToken) config.cancelToken.throwIfRequested();
|
|
6481
|
-
if (config.signal && config.signal.aborted) throw new
|
|
7065
|
+
if (config.signal && config.signal.aborted) throw new cancel_CanceledError(null, config);
|
|
6482
7066
|
}
|
|
6483
7067
|
function dispatchRequest(config) {
|
|
6484
7068
|
throwIfCancellationRequested(config);
|
|
6485
|
-
config.headers =
|
|
7069
|
+
config.headers = AxiosHeaders.from(config.headers);
|
|
6486
7070
|
config.data = transformData.call(config, config.transformRequest);
|
|
6487
7071
|
if (-1 !== [
|
|
6488
7072
|
'post',
|
|
@@ -6493,14 +7077,14 @@ var __webpack_exports__ = {};
|
|
|
6493
7077
|
return adapter(config).then(function(response) {
|
|
6494
7078
|
throwIfCancellationRequested(config);
|
|
6495
7079
|
response.data = transformData.call(config, config.transformResponse, response);
|
|
6496
|
-
response.headers =
|
|
7080
|
+
response.headers = AxiosHeaders.from(response.headers);
|
|
6497
7081
|
return response;
|
|
6498
7082
|
}, function(reason) {
|
|
6499
7083
|
if (!isCancel(reason)) {
|
|
6500
7084
|
throwIfCancellationRequested(config);
|
|
6501
7085
|
if (reason && reason.response) {
|
|
6502
7086
|
reason.response.data = transformData.call(config, config.transformResponse, reason.response);
|
|
6503
|
-
reason.response.headers =
|
|
7087
|
+
reason.response.headers = AxiosHeaders.from(reason.response.headers);
|
|
6504
7088
|
}
|
|
6505
7089
|
}
|
|
6506
7090
|
return Promise.reject(reason);
|
|
@@ -6525,7 +7109,7 @@ var __webpack_exports__ = {};
|
|
|
6525
7109
|
return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
|
|
6526
7110
|
}
|
|
6527
7111
|
return (value, opt, opts)=>{
|
|
6528
|
-
if (false === validator) throw new
|
|
7112
|
+
if (false === validator) throw new AxiosError(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), AxiosError.ERR_DEPRECATED);
|
|
6529
7113
|
if (version && !deprecatedWarnings[opt]) {
|
|
6530
7114
|
deprecatedWarnings[opt] = true;
|
|
6531
7115
|
console.warn(formatMessage(opt, ' has been deprecated since v' + version + ' and will be removed in the near future'));
|
|
@@ -6540,7 +7124,7 @@ var __webpack_exports__ = {};
|
|
|
6540
7124
|
};
|
|
6541
7125
|
};
|
|
6542
7126
|
function assertOptions(options, schema, allowUnknown) {
|
|
6543
|
-
if ('object' != typeof options) throw new
|
|
7127
|
+
if ('object' != typeof options) throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);
|
|
6544
7128
|
const keys = Object.keys(options);
|
|
6545
7129
|
let i = keys.length;
|
|
6546
7130
|
while(i-- > 0){
|
|
@@ -6549,10 +7133,10 @@ var __webpack_exports__ = {};
|
|
|
6549
7133
|
if (validator) {
|
|
6550
7134
|
const value = options[opt];
|
|
6551
7135
|
const result = void 0 === value || validator(value, opt, options);
|
|
6552
|
-
if (true !== result) throw new
|
|
7136
|
+
if (true !== result) throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);
|
|
6553
7137
|
continue;
|
|
6554
7138
|
}
|
|
6555
|
-
if (true !== allowUnknown) throw new
|
|
7139
|
+
if (true !== allowUnknown) throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);
|
|
6556
7140
|
}
|
|
6557
7141
|
}
|
|
6558
7142
|
const helpers_validator = {
|
|
@@ -6624,7 +7208,7 @@ var __webpack_exports__ = {};
|
|
|
6624
7208
|
], (method)=>{
|
|
6625
7209
|
delete headers[method];
|
|
6626
7210
|
});
|
|
6627
|
-
config.headers =
|
|
7211
|
+
config.headers = AxiosHeaders.concat(contextHeaders, headers);
|
|
6628
7212
|
const requestInterceptorChain = [];
|
|
6629
7213
|
let synchronousRequestInterceptors = true;
|
|
6630
7214
|
this.interceptors.request.forEach(function(interceptor) {
|
|
@@ -6715,7 +7299,7 @@ var __webpack_exports__ = {};
|
|
|
6715
7299
|
Axios_Axios.prototype[method + 'Form'] = generateHTTPMethod(true);
|
|
6716
7300
|
});
|
|
6717
7301
|
const Axios = Axios_Axios;
|
|
6718
|
-
class
|
|
7302
|
+
class CancelToken_CancelToken {
|
|
6719
7303
|
constructor(executor){
|
|
6720
7304
|
if ('function' != typeof executor) throw new TypeError('executor must be a function.');
|
|
6721
7305
|
let resolvePromise;
|
|
@@ -6742,7 +7326,7 @@ var __webpack_exports__ = {};
|
|
|
6742
7326
|
};
|
|
6743
7327
|
executor(function(message, config, request) {
|
|
6744
7328
|
if (token.reason) return;
|
|
6745
|
-
token.reason = new
|
|
7329
|
+
token.reason = new cancel_CanceledError(message, config, request);
|
|
6746
7330
|
resolvePromise(token.reason);
|
|
6747
7331
|
});
|
|
6748
7332
|
}
|
|
@@ -6772,7 +7356,7 @@ var __webpack_exports__ = {};
|
|
|
6772
7356
|
}
|
|
6773
7357
|
static source() {
|
|
6774
7358
|
let cancel;
|
|
6775
|
-
const token = new
|
|
7359
|
+
const token = new CancelToken_CancelToken(function(c) {
|
|
6776
7360
|
cancel = c;
|
|
6777
7361
|
});
|
|
6778
7362
|
return {
|
|
@@ -6781,7 +7365,7 @@ var __webpack_exports__ = {};
|
|
|
6781
7365
|
};
|
|
6782
7366
|
}
|
|
6783
7367
|
}
|
|
6784
|
-
const
|
|
7368
|
+
const CancelToken = CancelToken_CancelToken;
|
|
6785
7369
|
function spread(callback) {
|
|
6786
7370
|
return function(arr) {
|
|
6787
7371
|
return callback.apply(null, arr);
|
|
@@ -6875,12 +7459,12 @@ var __webpack_exports__ = {};
|
|
|
6875
7459
|
}
|
|
6876
7460
|
const axios = createInstance(lib_defaults);
|
|
6877
7461
|
axios.Axios = Axios;
|
|
6878
|
-
axios.CanceledError =
|
|
6879
|
-
axios.CancelToken =
|
|
7462
|
+
axios.CanceledError = cancel_CanceledError;
|
|
7463
|
+
axios.CancelToken = CancelToken;
|
|
6880
7464
|
axios.isCancel = isCancel;
|
|
6881
7465
|
axios.VERSION = VERSION;
|
|
6882
|
-
axios.toFormData =
|
|
6883
|
-
axios.AxiosError =
|
|
7466
|
+
axios.toFormData = helpers_toFormData;
|
|
7467
|
+
axios.AxiosError = AxiosError;
|
|
6884
7468
|
axios.Cancel = axios.CanceledError;
|
|
6885
7469
|
axios.all = function(promises) {
|
|
6886
7470
|
return Promise.all(promises);
|
|
@@ -6888,8 +7472,8 @@ var __webpack_exports__ = {};
|
|
|
6888
7472
|
axios.spread = spread;
|
|
6889
7473
|
axios.isAxiosError = isAxiosError;
|
|
6890
7474
|
axios.mergeConfig = mergeConfig;
|
|
6891
|
-
axios.AxiosHeaders =
|
|
6892
|
-
axios.formToJSON = (thing)=>
|
|
7475
|
+
axios.AxiosHeaders = AxiosHeaders;
|
|
7476
|
+
axios.formToJSON = (thing)=>helpers_formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);
|
|
6893
7477
|
axios.getAdapter = adapters_adapters.getAdapter;
|
|
6894
7478
|
axios.HttpStatusCode = helpers_HttpStatusCode;
|
|
6895
7479
|
axios.default = axios;
|
|
@@ -6950,6 +7534,38 @@ var __webpack_exports__ = {};
|
|
|
6950
7534
|
}
|
|
6951
7535
|
};
|
|
6952
7536
|
};
|
|
7537
|
+
const getPropertyName = (property, options)=>{
|
|
7538
|
+
const { project, buyerName } = property;
|
|
7539
|
+
let lotDetail = property.lotDetail?.trim();
|
|
7540
|
+
if (lotDetail) if (lotDetail?.toLowerCase()?.startsWith('lot')) {
|
|
7541
|
+
lotDetail = lotDetail.replace(/^lot\s+/i, '').trim();
|
|
7542
|
+
lotDetail = `Lot ${lotDetail}`;
|
|
7543
|
+
} else if (lotDetail?.toLowerCase()?.startsWith('unit')) {
|
|
7544
|
+
lotDetail = lotDetail.replace(/^unit\s+/i, '').trim();
|
|
7545
|
+
lotDetail = `Unit ${lotDetail}`;
|
|
7546
|
+
} else lotDetail = `Lot ${lotDetail}`;
|
|
7547
|
+
else lotDetail = 'Lot N/A';
|
|
7548
|
+
const { target = 'payout' } = options || {};
|
|
7549
|
+
let names = [];
|
|
7550
|
+
if ('cma' === target || 'mta' === target) {
|
|
7551
|
+
names = [
|
|
7552
|
+
lotDetail,
|
|
7553
|
+
project?.name
|
|
7554
|
+
].filter(Boolean);
|
|
7555
|
+
if (buyerName) return `${names.join(' ')} | ${buyerName}`;
|
|
7556
|
+
return names.length > 0 ? names.join(' ') : 'Nill';
|
|
7557
|
+
}
|
|
7558
|
+
if ('payout' === target) names = [
|
|
7559
|
+
project?.name,
|
|
7560
|
+
lotDetail
|
|
7561
|
+
];
|
|
7562
|
+
if ('refund' === target) names = [
|
|
7563
|
+
lotDetail,
|
|
7564
|
+
project?.name
|
|
7565
|
+
];
|
|
7566
|
+
names = names.filter(Boolean);
|
|
7567
|
+
return names.length > 0 ? names.join(' ') : 'Nill';
|
|
7568
|
+
};
|
|
6953
7569
|
})();
|
|
6954
7570
|
exports.ASSIGN_UNKNOWN_TO_CUSTOMER = __webpack_exports__.ASSIGN_UNKNOWN_TO_CUSTOMER;
|
|
6955
7571
|
exports.AccountPeriodStatus = __webpack_exports__.AccountPeriodStatus;
|
|
@@ -6962,65 +7578,109 @@ exports.CmaReceiptTransactionType = __webpack_exports__.CmaReceiptTransactionTyp
|
|
|
6962
7578
|
exports.CmaStatus = __webpack_exports__.CmaStatus;
|
|
6963
7579
|
exports.CmaTransactionInputType = __webpack_exports__.CmaTransactionInputType;
|
|
6964
7580
|
exports.CmaTransactionPaymentMethod = __webpack_exports__.CmaTransactionPaymentMethod;
|
|
7581
|
+
exports.CmaTransactionStatus = __webpack_exports__.CmaTransactionStatus;
|
|
7582
|
+
exports.CmaTransactionStatusToDisplayTextMapper = __webpack_exports__.CmaTransactionStatusToDisplayTextMapper;
|
|
6965
7583
|
exports.CmaTransactionType = __webpack_exports__.CmaTransactionType;
|
|
6966
7584
|
exports.CmaTransactionTypeToDisplayTextMapper = __webpack_exports__.CmaTransactionTypeToDisplayTextMapper;
|
|
6967
|
-
exports.
|
|
7585
|
+
exports.DEFAULT_PAYOUT_SOURCE_BANK_REF = __webpack_exports__.DEFAULT_PAYOUT_SOURCE_BANK_REF;
|
|
7586
|
+
exports.DEFAULT_PAYOUT_SOURCE_DESCRIPTION = __webpack_exports__.DEFAULT_PAYOUT_SOURCE_DESCRIPTION;
|
|
7587
|
+
exports.DEFAULT_PAYOUT_TARGET_BANK_REF = __webpack_exports__.DEFAULT_PAYOUT_TARGET_BANK_REF;
|
|
7588
|
+
exports.DEFAULT_PAYOUT_TARGET_DESCRIPTION = __webpack_exports__.DEFAULT_PAYOUT_TARGET_DESCRIPTION;
|
|
7589
|
+
exports.InputJsonValueSchema = __webpack_exports__.InputJsonValueSchema;
|
|
7590
|
+
exports.JsonNullableFilterSchema = __webpack_exports__.JsonNullableFilterSchema;
|
|
6968
7591
|
exports.MenuStatus = __webpack_exports__.MenuStatus;
|
|
6969
7592
|
exports.MenuType = __webpack_exports__.MenuType;
|
|
6970
|
-
exports.MtaAccountPeriodStatus = __webpack_exports__.MtaAccountPeriodStatus;
|
|
6971
7593
|
exports.MtaPayoutTransactionType = __webpack_exports__.MtaPayoutTransactionType;
|
|
6972
7594
|
exports.MtaReceiptTransactionType = __webpack_exports__.MtaReceiptTransactionType;
|
|
6973
|
-
exports.MtaReconciliationStatus = __webpack_exports__.MtaReconciliationStatus;
|
|
6974
7595
|
exports.MtaStatus = __webpack_exports__.MtaStatus;
|
|
6975
7596
|
exports.MtaTransactionInputType = __webpack_exports__.MtaTransactionInputType;
|
|
6976
7597
|
exports.MtaTransactionPaymentMethod = __webpack_exports__.MtaTransactionPaymentMethod;
|
|
7598
|
+
exports.MtaTransactionStatus = __webpack_exports__.MtaTransactionStatus;
|
|
7599
|
+
exports.MtaTransactionStatusToDisplayTextMapper = __webpack_exports__.MtaTransactionStatusToDisplayTextMapper;
|
|
6977
7600
|
exports.MtaTransactionType = __webpack_exports__.MtaTransactionType;
|
|
6978
7601
|
exports.MtaTransactionTypeToDisplayTextMapper = __webpack_exports__.MtaTransactionTypeToDisplayTextMapper;
|
|
7602
|
+
exports.PayoutBankFileStatus = __webpack_exports__.PayoutBankFileStatus;
|
|
7603
|
+
exports.PayoutSourceAccountType = __webpack_exports__.PayoutSourceAccountType;
|
|
7604
|
+
exports.PayoutStatus = __webpack_exports__.PayoutStatus;
|
|
7605
|
+
exports.PayoutTargetAccountType = __webpack_exports__.PayoutTargetAccountType;
|
|
7606
|
+
exports.PayoutType = __webpack_exports__.PayoutType;
|
|
6979
7607
|
exports.ProjectApplyStatusRestRes = __webpack_exports__.ProjectApplyStatusRestRes;
|
|
6980
7608
|
exports.ProjectMtaAllocationStatus = __webpack_exports__.ProjectMtaAllocationStatus;
|
|
6981
7609
|
exports.PropertyRestResStatus = __webpack_exports__.PropertyRestResStatus;
|
|
6982
7610
|
exports.PropertyStage = __webpack_exports__.PropertyStage;
|
|
6983
7611
|
exports.ReconcileTransactionAction = __webpack_exports__.ReconcileTransactionAction;
|
|
6984
7612
|
exports.ReconciliationStatus = __webpack_exports__.ReconciliationStatus;
|
|
7613
|
+
exports.StringFilterBaseSchema = __webpack_exports__.StringFilterBaseSchema;
|
|
6985
7614
|
exports.TRANSACTION_CANCEL = __webpack_exports__.TRANSACTION_CANCEL;
|
|
7615
|
+
exports.accountBsbMaskedSchema = __webpack_exports__.accountBsbMaskedSchema;
|
|
7616
|
+
exports.accountBsbValidationSchema = __webpack_exports__.accountBsbValidationSchema;
|
|
7617
|
+
exports.accountNumberMaskedSchema = __webpack_exports__.accountNumberMaskedSchema;
|
|
7618
|
+
exports.accountNumberValidationSchema = __webpack_exports__.accountNumberValidationSchema;
|
|
6986
7619
|
exports.allocateMtaToProjectRestReqSchema = __webpack_exports__.allocateMtaToProjectRestReqSchema;
|
|
6987
7620
|
exports.approveMtaAllocationRestReqSchema = __webpack_exports__.approveMtaAllocationRestReqSchema;
|
|
6988
7621
|
exports.assignUnknownReceiptToPropertyRestReqSchema = __webpack_exports__.assignUnknownReceiptToPropertyRestReqSchema;
|
|
6989
7622
|
exports.balanceRestResSchema = __webpack_exports__.balanceRestResSchema;
|
|
7623
|
+
exports.bankCodeSchema = __webpack_exports__.bankCodeSchema;
|
|
6990
7624
|
exports.basePayoutItemShape = __webpack_exports__.basePayoutItemShape;
|
|
7625
|
+
exports.bigIntFilterSchema = __webpack_exports__.bigIntFilterSchema;
|
|
7626
|
+
exports.boolFilterBaseSchema = __webpack_exports__.boolFilterBaseSchema;
|
|
7627
|
+
exports.boolFilterSchema = __webpack_exports__.boolFilterSchema;
|
|
6991
7628
|
exports.cancelCmaTransactionRestReqSchema = __webpack_exports__.cancelCmaTransactionRestReqSchema;
|
|
6992
7629
|
exports.cancelMtaTransactionRestReqSchema = __webpack_exports__.cancelMtaTransactionRestReqSchema;
|
|
7630
|
+
exports.cancelPayoutRestReqSchema = __webpack_exports__.cancelPayoutRestReqSchema;
|
|
7631
|
+
exports.centsToDollarsSchema = __webpack_exports__.centsToDollarsSchema;
|
|
6993
7632
|
exports.cmaAccountPeriodCloseRestReqSchema = __webpack_exports__.cmaAccountPeriodCloseRestReqSchema;
|
|
6994
7633
|
exports.cmaAccountPeriodClosingSummaryRestReqSchema = __webpack_exports__.cmaAccountPeriodClosingSummaryRestReqSchema;
|
|
6995
7634
|
exports.cmaAccountPeriodClosingSummaryRestResSchema = __webpack_exports__.cmaAccountPeriodClosingSummaryRestResSchema;
|
|
6996
7635
|
exports.cmaAccountPeriodEntitySchema = __webpack_exports__.cmaAccountPeriodEntitySchema;
|
|
7636
|
+
exports.cmaAccountPeriodRestResBaseSchema = __webpack_exports__.cmaAccountPeriodRestResBaseSchema;
|
|
6997
7637
|
exports.cmaAccountPeriodRestResSchema = __webpack_exports__.cmaAccountPeriodRestResSchema;
|
|
6998
7638
|
exports.cmaClosedAccountPeriodRestResSchema = __webpack_exports__.cmaClosedAccountPeriodRestResSchema;
|
|
6999
7639
|
exports.cmaEntitySchema = __webpack_exports__.cmaEntitySchema;
|
|
7640
|
+
exports.cmaNestedEntitySchema = __webpack_exports__.cmaNestedEntitySchema;
|
|
7000
7641
|
exports.cmaReconciledTransactionEntitySchema = __webpack_exports__.cmaReconciledTransactionEntitySchema;
|
|
7001
7642
|
exports.cmaReconciledTransactionRestResSchema = __webpack_exports__.cmaReconciledTransactionRestResSchema;
|
|
7002
7643
|
exports.cmaReconciliationEntitySchema = __webpack_exports__.cmaReconciliationEntitySchema;
|
|
7003
7644
|
exports.cmaReconciliationRestResSchema = __webpack_exports__.cmaReconciliationRestResSchema;
|
|
7645
|
+
exports.cmaRestResBaseSchema = __webpack_exports__.cmaRestResBaseSchema;
|
|
7004
7646
|
exports.cmaRestResSchema = __webpack_exports__.cmaRestResSchema;
|
|
7005
7647
|
exports.cmaTransactionEntitySchema = __webpack_exports__.cmaTransactionEntitySchema;
|
|
7648
|
+
exports.cmaTransactionNestedSchema = __webpack_exports__.cmaTransactionNestedSchema;
|
|
7649
|
+
exports.cmaTransactionRestResBaseSchema = __webpack_exports__.cmaTransactionRestResBaseSchema;
|
|
7006
7650
|
exports.cmaTransactionRestResSchema = __webpack_exports__.cmaTransactionRestResSchema;
|
|
7651
|
+
exports.cmaTransactionSearchRestReqSchema = __webpack_exports__.cmaTransactionSearchRestReqSchema;
|
|
7652
|
+
exports.confirmBankFileProcessedRestReqSchema = __webpack_exports__.confirmBankFileProcessedRestReqSchema;
|
|
7007
7653
|
exports.createCmaReconciliationRestReqSchema = __webpack_exports__.createCmaReconciliationRestReqSchema;
|
|
7008
7654
|
exports.createCmaRestReqSchema = __webpack_exports__.createCmaRestReqSchema;
|
|
7655
|
+
exports.createCmaSettlementPayoutRestReqSchema = __webpack_exports__.createCmaSettlementPayoutRestReqSchema;
|
|
7656
|
+
exports.createCmaSettlementPayoutSourceAccountSchema = __webpack_exports__.createCmaSettlementPayoutSourceAccountSchema;
|
|
7009
7657
|
exports.createCmaTransactionRestReqSchema = __webpack_exports__.createCmaTransactionRestReqSchema;
|
|
7010
7658
|
exports.createMenuRestReqSchema = __webpack_exports__.createMenuRestReqSchema;
|
|
7011
7659
|
exports.createMtaReconciliationRestReqSchema = __webpack_exports__.createMtaReconciliationRestReqSchema;
|
|
7012
7660
|
exports.createMtaRestReqSchema = __webpack_exports__.createMtaRestReqSchema;
|
|
7661
|
+
exports.createMtaSettlementPayoutRestReqSchema = __webpack_exports__.createMtaSettlementPayoutRestReqSchema;
|
|
7662
|
+
exports.createMtaSettlementPayoutSourceAccountSchema = __webpack_exports__.createMtaSettlementPayoutSourceAccountSchema;
|
|
7663
|
+
exports.createMtaToCmaPayoutRestReqSchema = __webpack_exports__.createMtaToCmaPayoutRestReqSchema;
|
|
7013
7664
|
exports.createMtaTransactionRestReqSchema = __webpack_exports__.createMtaTransactionRestReqSchema;
|
|
7665
|
+
exports.createSettlementPayoutRestReqSchema = __webpack_exports__.createSettlementPayoutRestReqSchema;
|
|
7666
|
+
exports.createSettlementPayoutTargetAccountSchema = __webpack_exports__.createSettlementPayoutTargetAccountSchema;
|
|
7014
7667
|
exports.customerEntitySchema = __webpack_exports__.customerEntitySchema;
|
|
7668
|
+
exports.dateTimeFilterBaseSchema = __webpack_exports__.dateTimeFilterBaseSchema;
|
|
7669
|
+
exports.dateTimeFilterSchema = __webpack_exports__.dateTimeFilterSchema;
|
|
7015
7670
|
exports.developerEntitySchema = __webpack_exports__.developerEntitySchema;
|
|
7671
|
+
exports.displayBankAccount = __webpack_exports__.displayBankAccount;
|
|
7672
|
+
exports.dollarsToCentsSchema = __webpack_exports__.dollarsToCentsSchema;
|
|
7673
|
+
exports.formatBankBsb = __webpack_exports__.formatBankBsb;
|
|
7016
7674
|
exports.formatCurrency = __webpack_exports__.formatCurrency;
|
|
7017
7675
|
exports.fromCentsToDollars = __webpack_exports__.fromCentsToDollars;
|
|
7018
7676
|
exports.fromDollarsToCents = __webpack_exports__.fromDollarsToCents;
|
|
7019
7677
|
exports.generateMtaPaymentMethodAccountConfigForZepto = __webpack_exports__.generateMtaPaymentMethodAccountConfigForZepto;
|
|
7020
7678
|
exports.generateMtaPaymentMethodFloatAccountConfigForZepto = __webpack_exports__.generateMtaPaymentMethodFloatAccountConfigForZepto;
|
|
7679
|
+
exports.getPropertyName = __webpack_exports__.getPropertyName;
|
|
7021
7680
|
exports.getTransactionAmountStr = __webpack_exports__.getTransactionAmountStr;
|
|
7022
7681
|
exports.getTransactionNumber = __webpack_exports__.getTransactionNumber;
|
|
7023
7682
|
exports.getTransactionStatus = __webpack_exports__.getTransactionStatus;
|
|
7683
|
+
exports.intFilterSchema = __webpack_exports__.intFilterSchema;
|
|
7024
7684
|
exports.isInterestTransaction = __webpack_exports__.isInterestTransaction;
|
|
7025
7685
|
exports.isPaymentTransaction = __webpack_exports__.isPaymentTransaction;
|
|
7026
7686
|
exports.isReceiptTransaction = __webpack_exports__.isReceiptTransaction;
|
|
@@ -7028,6 +7688,10 @@ exports.isTransactionAssignable = __webpack_exports__.isTransactionAssignable;
|
|
|
7028
7688
|
exports.isTransactionCancelable = __webpack_exports__.isTransactionCancelable;
|
|
7029
7689
|
exports.isUnknownReceiptAssignedToProperty = __webpack_exports__.isUnknownReceiptAssignedToProperty;
|
|
7030
7690
|
exports.isUnknownTransaction = __webpack_exports__.isUnknownTransaction;
|
|
7691
|
+
exports.markCmaTransactionAsClearedRestReqSchema = __webpack_exports__.markCmaTransactionAsClearedRestReqSchema;
|
|
7692
|
+
exports.maskBankAccount = __webpack_exports__.maskBankAccount;
|
|
7693
|
+
exports.maskBankAccountNumber = __webpack_exports__.maskBankAccountNumber;
|
|
7694
|
+
exports.maskBankBsb = __webpack_exports__.maskBankBsb;
|
|
7031
7695
|
exports.maskString = __webpack_exports__.maskString;
|
|
7032
7696
|
exports.menuRestResSchema = __webpack_exports__.menuRestResSchema;
|
|
7033
7697
|
exports.menuSchema = __webpack_exports__.menuSchema;
|
|
@@ -7047,32 +7711,59 @@ exports.mtaReconciledTransactionEntitySchema = __webpack_exports__.mtaReconciled
|
|
|
7047
7711
|
exports.mtaReconciledTransactionRestResSchema = __webpack_exports__.mtaReconciledTransactionRestResSchema;
|
|
7048
7712
|
exports.mtaReconciliationEntitySchema = __webpack_exports__.mtaReconciliationEntitySchema;
|
|
7049
7713
|
exports.mtaReconciliationRestResSchema = __webpack_exports__.mtaReconciliationRestResSchema;
|
|
7714
|
+
exports.mtaRestResBaseSchema = __webpack_exports__.mtaRestResBaseSchema;
|
|
7050
7715
|
exports.mtaRestResSchema = __webpack_exports__.mtaRestResSchema;
|
|
7051
7716
|
exports.mtaTransactionEntitySchema = __webpack_exports__.mtaTransactionEntitySchema;
|
|
7717
|
+
exports.mtaTransactionRestResBaseSchema = __webpack_exports__.mtaTransactionRestResBaseSchema;
|
|
7052
7718
|
exports.mtaTransactionRestResSchema = __webpack_exports__.mtaTransactionRestResSchema;
|
|
7053
7719
|
exports.paymentProviderEntitySchema = __webpack_exports__.paymentProviderEntitySchema;
|
|
7720
|
+
exports.payoutBankFileDownloadHistoryEntitySchema = __webpack_exports__.payoutBankFileDownloadHistoryEntitySchema;
|
|
7721
|
+
exports.payoutBankFileEntitySchema = __webpack_exports__.payoutBankFileEntitySchema;
|
|
7722
|
+
exports.payoutBankFileRestResSchema = __webpack_exports__.payoutBankFileRestResSchema;
|
|
7723
|
+
exports.payoutCmaSourceDetailsRestSchema = __webpack_exports__.payoutCmaSourceDetailsRestSchema;
|
|
7724
|
+
exports.payoutCmaTargetDetailsRestSchema = __webpack_exports__.payoutCmaTargetDetailsRestSchema;
|
|
7054
7725
|
exports.payoutDetailRestResSchema = __webpack_exports__.payoutDetailRestResSchema;
|
|
7055
7726
|
exports.payoutEntitySchema = __webpack_exports__.payoutEntitySchema;
|
|
7056
7727
|
exports.payoutItemReqSchema = __webpack_exports__.payoutItemReqSchema;
|
|
7057
7728
|
exports.payoutListRestResSchema = __webpack_exports__.payoutListRestResSchema;
|
|
7729
|
+
exports.payoutMtaSourceDetailsRestSchema = __webpack_exports__.payoutMtaSourceDetailsRestSchema;
|
|
7730
|
+
exports.payoutMtaToCmaProvisionDataEntitySchema = __webpack_exports__.payoutMtaToCmaProvisionDataEntitySchema;
|
|
7731
|
+
exports.payoutMtaToCmaRestResSchema = __webpack_exports__.payoutMtaToCmaRestResSchema;
|
|
7732
|
+
exports.payoutMtaToCmaTargetDetailsEntitySchema = __webpack_exports__.payoutMtaToCmaTargetDetailsEntitySchema;
|
|
7733
|
+
exports.payoutOtherProvisionDataEntitySchema = __webpack_exports__.payoutOtherProvisionDataEntitySchema;
|
|
7734
|
+
exports.payoutOtherTargetDetailsEntitySchema = __webpack_exports__.payoutOtherTargetDetailsEntitySchema;
|
|
7735
|
+
exports.payoutOtherTargetDetailsRestSchema = __webpack_exports__.payoutOtherTargetDetailsRestSchema;
|
|
7058
7736
|
exports.payoutPaymentItemSchema = __webpack_exports__.payoutPaymentItemSchema;
|
|
7737
|
+
exports.payoutProvisionDataEntitySchema = __webpack_exports__.payoutProvisionDataEntitySchema;
|
|
7059
7738
|
exports.payoutRestReqSchema = __webpack_exports__.payoutRestReqSchema;
|
|
7739
|
+
exports.payoutRestResBaseSchema = __webpack_exports__.payoutRestResBaseSchema;
|
|
7060
7740
|
exports.payoutRestResSchema = __webpack_exports__.payoutRestResSchema;
|
|
7061
|
-
exports.
|
|
7062
|
-
exports.
|
|
7063
|
-
exports.
|
|
7741
|
+
exports.payoutSearchRestReqSchema = __webpack_exports__.payoutSearchRestReqSchema;
|
|
7742
|
+
exports.payoutSourceDetailsEntitySchema = __webpack_exports__.payoutSourceDetailsEntitySchema;
|
|
7743
|
+
exports.payoutSourceDetailsRestResBaseSchema = __webpack_exports__.payoutSourceDetailsRestResBaseSchema;
|
|
7744
|
+
exports.payoutSourceDetailsRestSchema = __webpack_exports__.payoutSourceDetailsRestSchema;
|
|
7745
|
+
exports.payoutStatusSummaryRestResSchema = __webpack_exports__.payoutStatusSummaryRestResSchema;
|
|
7746
|
+
exports.payoutTargetDetailsBaseEntitySchema = __webpack_exports__.payoutTargetDetailsBaseEntitySchema;
|
|
7747
|
+
exports.payoutTargetDetailsEntitySchema = __webpack_exports__.payoutTargetDetailsEntitySchema;
|
|
7748
|
+
exports.payoutTargetDetailsRestResBaseSchema = __webpack_exports__.payoutTargetDetailsRestResBaseSchema;
|
|
7749
|
+
exports.payoutTargetDetailsRestSchema = __webpack_exports__.payoutTargetDetailsRestSchema;
|
|
7750
|
+
exports.payoutTransactionEntitySchema = __webpack_exports__.payoutTransactionEntitySchema;
|
|
7751
|
+
exports.payoutTransactionRestResSchema = __webpack_exports__.payoutTransactionRestResSchema;
|
|
7064
7752
|
exports.projectEntitySchema = __webpack_exports__.projectEntitySchema;
|
|
7065
7753
|
exports.projectMtaAllocationEntitySchema = __webpack_exports__.projectMtaAllocationEntitySchema;
|
|
7066
7754
|
exports.projectMtaAllocationRestResSchema = __webpack_exports__.projectMtaAllocationRestResSchema;
|
|
7755
|
+
exports.projectNestedEntitySchema = __webpack_exports__.projectNestedEntitySchema;
|
|
7067
7756
|
exports.projectRestResSchema = __webpack_exports__.projectRestResSchema;
|
|
7068
7757
|
exports.propertyAccountsBalanceRestResSchema = __webpack_exports__.propertyAccountsBalanceRestResSchema;
|
|
7069
7758
|
exports.propertyEntitySchema = __webpack_exports__.propertyEntitySchema;
|
|
7070
|
-
exports.
|
|
7759
|
+
exports.propertyNestedEntitySchema = __webpack_exports__.propertyNestedEntitySchema;
|
|
7760
|
+
exports.propertyRestResBaseSchema = __webpack_exports__.propertyRestResBaseSchema;
|
|
7071
7761
|
exports.propertyRestResSchema = __webpack_exports__.propertyRestResSchema;
|
|
7072
|
-
exports.
|
|
7073
|
-
exports.provisionDetailsSchema = __webpack_exports__.provisionDetailsSchema;
|
|
7762
|
+
exports.propertySearchRestReqSchema = __webpack_exports__.propertySearchRestReqSchema;
|
|
7074
7763
|
exports.reconcileCmaTransactionRestReqSchema = __webpack_exports__.reconcileCmaTransactionRestReqSchema;
|
|
7075
7764
|
exports.reconcileMtaTransactionRestReqSchema = __webpack_exports__.reconcileMtaTransactionRestReqSchema;
|
|
7765
|
+
exports.stateCodeSchema = __webpack_exports__.stateCodeSchema;
|
|
7766
|
+
exports.stringFilterSchema = __webpack_exports__.stringFilterSchema;
|
|
7076
7767
|
exports.updateCmaAccountPeriodReconciledToRestReqSchema = __webpack_exports__.updateCmaAccountPeriodReconciledToRestReqSchema;
|
|
7077
7768
|
exports.updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema = __webpack_exports__.updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema;
|
|
7078
7769
|
exports.updateMenuRestReqSchema = __webpack_exports__.updateMenuRestReqSchema;
|
|
@@ -7080,6 +7771,7 @@ exports.updateMtaAccountPeriodReconciledToRestReqSchema = __webpack_exports__.up
|
|
|
7080
7771
|
exports.updateMtaRestReqSchema = __webpack_exports__.updateMtaRestReqSchema;
|
|
7081
7772
|
exports.updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema = __webpack_exports__.updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema;
|
|
7082
7773
|
exports.userEntitySchema = __webpack_exports__.userEntitySchema;
|
|
7774
|
+
exports.userRestResSchema = __webpack_exports__.userRestResSchema;
|
|
7083
7775
|
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
7084
7776
|
"ASSIGN_UNKNOWN_TO_CUSTOMER",
|
|
7085
7777
|
"AccountPeriodStatus",
|
|
@@ -7092,65 +7784,109 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
|
7092
7784
|
"CmaStatus",
|
|
7093
7785
|
"CmaTransactionInputType",
|
|
7094
7786
|
"CmaTransactionPaymentMethod",
|
|
7787
|
+
"CmaTransactionStatus",
|
|
7788
|
+
"CmaTransactionStatusToDisplayTextMapper",
|
|
7095
7789
|
"CmaTransactionType",
|
|
7096
7790
|
"CmaTransactionTypeToDisplayTextMapper",
|
|
7097
|
-
"
|
|
7791
|
+
"DEFAULT_PAYOUT_SOURCE_BANK_REF",
|
|
7792
|
+
"DEFAULT_PAYOUT_SOURCE_DESCRIPTION",
|
|
7793
|
+
"DEFAULT_PAYOUT_TARGET_BANK_REF",
|
|
7794
|
+
"DEFAULT_PAYOUT_TARGET_DESCRIPTION",
|
|
7795
|
+
"InputJsonValueSchema",
|
|
7796
|
+
"JsonNullableFilterSchema",
|
|
7098
7797
|
"MenuStatus",
|
|
7099
7798
|
"MenuType",
|
|
7100
|
-
"MtaAccountPeriodStatus",
|
|
7101
7799
|
"MtaPayoutTransactionType",
|
|
7102
7800
|
"MtaReceiptTransactionType",
|
|
7103
|
-
"MtaReconciliationStatus",
|
|
7104
7801
|
"MtaStatus",
|
|
7105
7802
|
"MtaTransactionInputType",
|
|
7106
7803
|
"MtaTransactionPaymentMethod",
|
|
7804
|
+
"MtaTransactionStatus",
|
|
7805
|
+
"MtaTransactionStatusToDisplayTextMapper",
|
|
7107
7806
|
"MtaTransactionType",
|
|
7108
7807
|
"MtaTransactionTypeToDisplayTextMapper",
|
|
7808
|
+
"PayoutBankFileStatus",
|
|
7809
|
+
"PayoutSourceAccountType",
|
|
7810
|
+
"PayoutStatus",
|
|
7811
|
+
"PayoutTargetAccountType",
|
|
7812
|
+
"PayoutType",
|
|
7109
7813
|
"ProjectApplyStatusRestRes",
|
|
7110
7814
|
"ProjectMtaAllocationStatus",
|
|
7111
7815
|
"PropertyRestResStatus",
|
|
7112
7816
|
"PropertyStage",
|
|
7113
7817
|
"ReconcileTransactionAction",
|
|
7114
7818
|
"ReconciliationStatus",
|
|
7819
|
+
"StringFilterBaseSchema",
|
|
7115
7820
|
"TRANSACTION_CANCEL",
|
|
7821
|
+
"accountBsbMaskedSchema",
|
|
7822
|
+
"accountBsbValidationSchema",
|
|
7823
|
+
"accountNumberMaskedSchema",
|
|
7824
|
+
"accountNumberValidationSchema",
|
|
7116
7825
|
"allocateMtaToProjectRestReqSchema",
|
|
7117
7826
|
"approveMtaAllocationRestReqSchema",
|
|
7118
7827
|
"assignUnknownReceiptToPropertyRestReqSchema",
|
|
7119
7828
|
"balanceRestResSchema",
|
|
7829
|
+
"bankCodeSchema",
|
|
7120
7830
|
"basePayoutItemShape",
|
|
7831
|
+
"bigIntFilterSchema",
|
|
7832
|
+
"boolFilterBaseSchema",
|
|
7833
|
+
"boolFilterSchema",
|
|
7121
7834
|
"cancelCmaTransactionRestReqSchema",
|
|
7122
7835
|
"cancelMtaTransactionRestReqSchema",
|
|
7836
|
+
"cancelPayoutRestReqSchema",
|
|
7837
|
+
"centsToDollarsSchema",
|
|
7123
7838
|
"cmaAccountPeriodCloseRestReqSchema",
|
|
7124
7839
|
"cmaAccountPeriodClosingSummaryRestReqSchema",
|
|
7125
7840
|
"cmaAccountPeriodClosingSummaryRestResSchema",
|
|
7126
7841
|
"cmaAccountPeriodEntitySchema",
|
|
7842
|
+
"cmaAccountPeriodRestResBaseSchema",
|
|
7127
7843
|
"cmaAccountPeriodRestResSchema",
|
|
7128
7844
|
"cmaClosedAccountPeriodRestResSchema",
|
|
7129
7845
|
"cmaEntitySchema",
|
|
7846
|
+
"cmaNestedEntitySchema",
|
|
7130
7847
|
"cmaReconciledTransactionEntitySchema",
|
|
7131
7848
|
"cmaReconciledTransactionRestResSchema",
|
|
7132
7849
|
"cmaReconciliationEntitySchema",
|
|
7133
7850
|
"cmaReconciliationRestResSchema",
|
|
7851
|
+
"cmaRestResBaseSchema",
|
|
7134
7852
|
"cmaRestResSchema",
|
|
7135
7853
|
"cmaTransactionEntitySchema",
|
|
7854
|
+
"cmaTransactionNestedSchema",
|
|
7855
|
+
"cmaTransactionRestResBaseSchema",
|
|
7136
7856
|
"cmaTransactionRestResSchema",
|
|
7857
|
+
"cmaTransactionSearchRestReqSchema",
|
|
7858
|
+
"confirmBankFileProcessedRestReqSchema",
|
|
7137
7859
|
"createCmaReconciliationRestReqSchema",
|
|
7138
7860
|
"createCmaRestReqSchema",
|
|
7861
|
+
"createCmaSettlementPayoutRestReqSchema",
|
|
7862
|
+
"createCmaSettlementPayoutSourceAccountSchema",
|
|
7139
7863
|
"createCmaTransactionRestReqSchema",
|
|
7140
7864
|
"createMenuRestReqSchema",
|
|
7141
7865
|
"createMtaReconciliationRestReqSchema",
|
|
7142
7866
|
"createMtaRestReqSchema",
|
|
7867
|
+
"createMtaSettlementPayoutRestReqSchema",
|
|
7868
|
+
"createMtaSettlementPayoutSourceAccountSchema",
|
|
7869
|
+
"createMtaToCmaPayoutRestReqSchema",
|
|
7143
7870
|
"createMtaTransactionRestReqSchema",
|
|
7871
|
+
"createSettlementPayoutRestReqSchema",
|
|
7872
|
+
"createSettlementPayoutTargetAccountSchema",
|
|
7144
7873
|
"customerEntitySchema",
|
|
7874
|
+
"dateTimeFilterBaseSchema",
|
|
7875
|
+
"dateTimeFilterSchema",
|
|
7145
7876
|
"developerEntitySchema",
|
|
7877
|
+
"displayBankAccount",
|
|
7878
|
+
"dollarsToCentsSchema",
|
|
7879
|
+
"formatBankBsb",
|
|
7146
7880
|
"formatCurrency",
|
|
7147
7881
|
"fromCentsToDollars",
|
|
7148
7882
|
"fromDollarsToCents",
|
|
7149
7883
|
"generateMtaPaymentMethodAccountConfigForZepto",
|
|
7150
7884
|
"generateMtaPaymentMethodFloatAccountConfigForZepto",
|
|
7885
|
+
"getPropertyName",
|
|
7151
7886
|
"getTransactionAmountStr",
|
|
7152
7887
|
"getTransactionNumber",
|
|
7153
7888
|
"getTransactionStatus",
|
|
7889
|
+
"intFilterSchema",
|
|
7154
7890
|
"isInterestTransaction",
|
|
7155
7891
|
"isPaymentTransaction",
|
|
7156
7892
|
"isReceiptTransaction",
|
|
@@ -7158,6 +7894,10 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
|
7158
7894
|
"isTransactionCancelable",
|
|
7159
7895
|
"isUnknownReceiptAssignedToProperty",
|
|
7160
7896
|
"isUnknownTransaction",
|
|
7897
|
+
"markCmaTransactionAsClearedRestReqSchema",
|
|
7898
|
+
"maskBankAccount",
|
|
7899
|
+
"maskBankAccountNumber",
|
|
7900
|
+
"maskBankBsb",
|
|
7161
7901
|
"maskString",
|
|
7162
7902
|
"menuRestResSchema",
|
|
7163
7903
|
"menuSchema",
|
|
@@ -7177,39 +7917,67 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
|
7177
7917
|
"mtaReconciledTransactionRestResSchema",
|
|
7178
7918
|
"mtaReconciliationEntitySchema",
|
|
7179
7919
|
"mtaReconciliationRestResSchema",
|
|
7920
|
+
"mtaRestResBaseSchema",
|
|
7180
7921
|
"mtaRestResSchema",
|
|
7181
7922
|
"mtaTransactionEntitySchema",
|
|
7923
|
+
"mtaTransactionRestResBaseSchema",
|
|
7182
7924
|
"mtaTransactionRestResSchema",
|
|
7183
7925
|
"paymentProviderEntitySchema",
|
|
7926
|
+
"payoutBankFileDownloadHistoryEntitySchema",
|
|
7927
|
+
"payoutBankFileEntitySchema",
|
|
7928
|
+
"payoutBankFileRestResSchema",
|
|
7929
|
+
"payoutCmaSourceDetailsRestSchema",
|
|
7930
|
+
"payoutCmaTargetDetailsRestSchema",
|
|
7184
7931
|
"payoutDetailRestResSchema",
|
|
7185
7932
|
"payoutEntitySchema",
|
|
7186
7933
|
"payoutItemReqSchema",
|
|
7187
7934
|
"payoutListRestResSchema",
|
|
7935
|
+
"payoutMtaSourceDetailsRestSchema",
|
|
7936
|
+
"payoutMtaToCmaProvisionDataEntitySchema",
|
|
7937
|
+
"payoutMtaToCmaRestResSchema",
|
|
7938
|
+
"payoutMtaToCmaTargetDetailsEntitySchema",
|
|
7939
|
+
"payoutOtherProvisionDataEntitySchema",
|
|
7940
|
+
"payoutOtherTargetDetailsEntitySchema",
|
|
7941
|
+
"payoutOtherTargetDetailsRestSchema",
|
|
7188
7942
|
"payoutPaymentItemSchema",
|
|
7943
|
+
"payoutProvisionDataEntitySchema",
|
|
7189
7944
|
"payoutRestReqSchema",
|
|
7945
|
+
"payoutRestResBaseSchema",
|
|
7190
7946
|
"payoutRestResSchema",
|
|
7191
|
-
"
|
|
7192
|
-
"
|
|
7193
|
-
"
|
|
7947
|
+
"payoutSearchRestReqSchema",
|
|
7948
|
+
"payoutSourceDetailsEntitySchema",
|
|
7949
|
+
"payoutSourceDetailsRestResBaseSchema",
|
|
7950
|
+
"payoutSourceDetailsRestSchema",
|
|
7951
|
+
"payoutStatusSummaryRestResSchema",
|
|
7952
|
+
"payoutTargetDetailsBaseEntitySchema",
|
|
7953
|
+
"payoutTargetDetailsEntitySchema",
|
|
7954
|
+
"payoutTargetDetailsRestResBaseSchema",
|
|
7955
|
+
"payoutTargetDetailsRestSchema",
|
|
7956
|
+
"payoutTransactionEntitySchema",
|
|
7957
|
+
"payoutTransactionRestResSchema",
|
|
7194
7958
|
"projectEntitySchema",
|
|
7195
7959
|
"projectMtaAllocationEntitySchema",
|
|
7196
7960
|
"projectMtaAllocationRestResSchema",
|
|
7961
|
+
"projectNestedEntitySchema",
|
|
7197
7962
|
"projectRestResSchema",
|
|
7198
7963
|
"propertyAccountsBalanceRestResSchema",
|
|
7199
7964
|
"propertyEntitySchema",
|
|
7200
|
-
"
|
|
7965
|
+
"propertyNestedEntitySchema",
|
|
7966
|
+
"propertyRestResBaseSchema",
|
|
7201
7967
|
"propertyRestResSchema",
|
|
7202
|
-
"
|
|
7203
|
-
"provisionDetailsSchema",
|
|
7968
|
+
"propertySearchRestReqSchema",
|
|
7204
7969
|
"reconcileCmaTransactionRestReqSchema",
|
|
7205
7970
|
"reconcileMtaTransactionRestReqSchema",
|
|
7971
|
+
"stateCodeSchema",
|
|
7972
|
+
"stringFilterSchema",
|
|
7206
7973
|
"updateCmaAccountPeriodReconciledToRestReqSchema",
|
|
7207
7974
|
"updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema",
|
|
7208
7975
|
"updateMenuRestReqSchema",
|
|
7209
7976
|
"updateMtaAccountPeriodReconciledToRestReqSchema",
|
|
7210
7977
|
"updateMtaRestReqSchema",
|
|
7211
7978
|
"updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema",
|
|
7212
|
-
"userEntitySchema"
|
|
7979
|
+
"userEntitySchema",
|
|
7980
|
+
"userRestResSchema"
|
|
7213
7981
|
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
7214
7982
|
Object.defineProperty(exports, '__esModule', {
|
|
7215
7983
|
value: true
|