@mikemo-coposit/am-accounting-shared 1.0.9 → 1.1.0
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-creation-request/cma-creation-request.constant.d.ts +6 -0
- package/dist/cjs/constants/cma-creation-request/cma-creation-request.constant.d.ts.map +1 -0
- package/dist/cjs/constants/cma-creation-request/index.d.ts +2 -0
- package/dist/cjs/constants/cma-creation-request/index.d.ts.map +1 -0
- package/dist/cjs/constants/common/package-version.constant.d.ts +1 -1
- package/dist/cjs/constants/index.d.ts +1 -0
- package/dist/cjs/constants/index.d.ts.map +1 -1
- package/dist/cjs/constants/mta-transaction/mta-type.constant.d.ts +2 -2
- package/dist/cjs/constants/mta-transaction/mta-type.constant.d.ts.map +1 -1
- package/dist/cjs/constants/payout/payout-type.constant.d.ts +2 -2
- package/dist/cjs/constants/payout/payout-type.constant.d.ts.map +1 -1
- package/dist/cjs/constants/payout/payout.constant.d.ts +4 -4
- package/dist/cjs/index.cjs +439 -283
- package/dist/cjs/schemas/cma/cma-search.rest.schemal.d.ts +354 -108
- package/dist/cjs/schemas/cma/cma-search.rest.schemal.d.ts.map +1 -1
- package/dist/cjs/schemas/cma/cma.rest.schema.d.ts +13 -0
- package/dist/cjs/schemas/cma/cma.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +24 -0
- 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.rest.schema.d.ts +13 -0
- package/dist/cjs/schemas/cma-account-period/cma-account-period.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/cma-creation-request/cma-creation-request.entity.schema.d.ts +78 -0
- package/dist/cjs/schemas/cma-creation-request/cma-creation-request.entity.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-creation-request/cma-creation-request.rest.schema.d.ts +26 -0
- package/dist/cjs/schemas/cma-creation-request/cma-creation-request.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-creation-request/index.d.ts +3 -0
- package/dist/cjs/schemas/cma-creation-request/index.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +25 -0
- package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts +452 -206
- package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +1 -0
- package/dist/cjs/schemas/cma-transaction/cma-transaction.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/common/search/sort-req.schema.d.ts +3 -3
- package/dist/cjs/schemas/common/search/sort-req.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/customer/customer-sync.grpc.schema.d.ts +1 -1
- package/dist/cjs/schemas/index.d.ts +1 -0
- package/dist/cjs/schemas/index.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +168 -144
- package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +84 -72
- package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts +1 -1
- package/dist/cjs/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts +247 -2
- package/dist/cjs/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-transaction/mta-transaction.entity.schema.d.ts +1 -0
- 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 +28 -27
- package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout/common-payout-schemas/common-update-payout.rest.schema.d.ts +1 -1
- package/dist/cjs/schemas/payout/confirm-payout-bank-file-processed.rest.schema.d.ts +1 -1
- package/dist/cjs/schemas/payout/index.d.ts +1 -0
- package/dist/cjs/schemas/payout/index.d.ts.map +1 -1
- package/dist/cjs/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.entity.schema.d.ts +2 -0
- package/dist/cjs/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.entity.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.rest.schema.d.ts +303 -225
- package/dist/cjs/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout/payout-provision-data.entity.schema.d.ts +78 -2
- package/dist/cjs/schemas/payout/payout-provision-data.entity.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout/payout-search.rest.schema.d.ts +1 -1
- package/dist/cjs/schemas/payout/payout-search.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout/payout-update.rest.schema.d.ts +15 -1
- package/dist/cjs/schemas/payout/payout-update.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout/payout.entity.schema.d.ts +77 -1
- package/dist/cjs/schemas/payout/payout.entity.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout/payout.rest.schema.d.ts +13377 -5280
- package/dist/cjs/schemas/payout/payout.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout/refund-payout/create.refund-payout.rest.schema.d.ts +45 -0
- package/dist/cjs/schemas/payout/refund-payout/create.refund-payout.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/payout/refund-payout/index.d.ts +4 -0
- package/dist/cjs/schemas/payout/refund-payout/index.d.ts.map +1 -0
- package/dist/cjs/schemas/payout/refund-payout/provision-data.refund-payout.entity.schema.d.ts +138 -0
- package/dist/cjs/schemas/payout/refund-payout/provision-data.refund-payout.entity.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/payout/refund-payout/update.refund-payout.rest.schema.d.ts +31 -0
- package/dist/cjs/schemas/payout/refund-payout/update.refund-payout.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/payout/settlement-payout/create.settlement-payout.rest.schema.d.ts +1 -1
- package/dist/cjs/schemas/payout/settlement-payout/provision-data.settlement-payout.entity.schema.d.ts +2 -0
- package/dist/cjs/schemas/payout/settlement-payout/provision-data.settlement-payout.entity.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout-transaction/payout-transactin.entity.schema.d.ts +4 -4
- package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +130 -96
- package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts.map +1 -1
- package/dist/cjs/schemas/project/project-search.rest.schema.d.ts +1 -1
- package/dist/cjs/schemas/property/property-search.rest.schema.d.ts +640 -11
- package/dist/cjs/schemas/property/property-search.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/property/property.entity.schema.d.ts +3 -1
- package/dist/cjs/schemas/property/property.entity.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/property/property.rest.schema.d.ts +104 -78
- package/dist/cjs/schemas/property/property.rest.schema.d.ts.map +1 -1
- package/dist/cjs/utils/currency.util.d.ts +1 -1
- package/dist/cjs/utils/currency.util.d.ts.map +1 -1
- package/dist/esm/constants/cma-creation-request/cma-creation-request.constant.d.ts +6 -0
- package/dist/esm/constants/cma-creation-request/cma-creation-request.constant.d.ts.map +1 -0
- package/dist/esm/constants/cma-creation-request/index.d.ts +2 -0
- package/dist/esm/constants/cma-creation-request/index.d.ts.map +1 -0
- package/dist/esm/constants/common/package-version.constant.d.ts +1 -1
- package/dist/esm/constants/index.d.ts +1 -0
- package/dist/esm/constants/index.d.ts.map +1 -1
- package/dist/esm/constants/mta-transaction/mta-type.constant.d.ts +2 -2
- package/dist/esm/constants/mta-transaction/mta-type.constant.d.ts.map +1 -1
- package/dist/esm/constants/payout/payout-type.constant.d.ts +2 -2
- package/dist/esm/constants/payout/payout-type.constant.d.ts.map +1 -1
- package/dist/esm/constants/payout/payout.constant.d.ts +4 -4
- package/dist/esm/index.js +361 -186
- package/dist/esm/schemas/cma/cma-search.rest.schemal.d.ts +354 -108
- package/dist/esm/schemas/cma/cma-search.rest.schemal.d.ts.map +1 -1
- package/dist/esm/schemas/cma/cma.rest.schema.d.ts +13 -0
- package/dist/esm/schemas/cma/cma.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +24 -0
- 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.rest.schema.d.ts +13 -0
- package/dist/esm/schemas/cma-account-period/cma-account-period.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/cma-creation-request/cma-creation-request.entity.schema.d.ts +78 -0
- package/dist/esm/schemas/cma-creation-request/cma-creation-request.entity.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-creation-request/cma-creation-request.rest.schema.d.ts +26 -0
- package/dist/esm/schemas/cma-creation-request/cma-creation-request.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-creation-request/index.d.ts +3 -0
- package/dist/esm/schemas/cma-creation-request/index.d.ts.map +1 -0
- package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +25 -0
- package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts +452 -206
- package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +1 -0
- package/dist/esm/schemas/cma-transaction/cma-transaction.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/common/search/sort-req.schema.d.ts +3 -3
- package/dist/esm/schemas/common/search/sort-req.schema.d.ts.map +1 -1
- package/dist/esm/schemas/customer/customer-sync.grpc.schema.d.ts +1 -1
- package/dist/esm/schemas/index.d.ts +1 -0
- package/dist/esm/schemas/index.d.ts.map +1 -1
- package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +168 -144
- package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +84 -72
- package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts +1 -1
- package/dist/esm/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts +247 -2
- package/dist/esm/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/mta-transaction/mta-transaction.entity.schema.d.ts +1 -0
- 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 +28 -27
- package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout/common-payout-schemas/common-update-payout.rest.schema.d.ts +1 -1
- package/dist/esm/schemas/payout/confirm-payout-bank-file-processed.rest.schema.d.ts +1 -1
- package/dist/esm/schemas/payout/index.d.ts +1 -0
- package/dist/esm/schemas/payout/index.d.ts.map +1 -1
- package/dist/esm/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.entity.schema.d.ts +2 -0
- package/dist/esm/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.entity.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.rest.schema.d.ts +303 -225
- package/dist/esm/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout/payout-provision-data.entity.schema.d.ts +78 -2
- package/dist/esm/schemas/payout/payout-provision-data.entity.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout/payout-search.rest.schema.d.ts +1 -1
- package/dist/esm/schemas/payout/payout-search.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout/payout-update.rest.schema.d.ts +15 -1
- package/dist/esm/schemas/payout/payout-update.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout/payout.entity.schema.d.ts +77 -1
- package/dist/esm/schemas/payout/payout.entity.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout/payout.rest.schema.d.ts +13377 -5280
- package/dist/esm/schemas/payout/payout.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout/refund-payout/create.refund-payout.rest.schema.d.ts +45 -0
- package/dist/esm/schemas/payout/refund-payout/create.refund-payout.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/payout/refund-payout/index.d.ts +4 -0
- package/dist/esm/schemas/payout/refund-payout/index.d.ts.map +1 -0
- package/dist/esm/schemas/payout/refund-payout/provision-data.refund-payout.entity.schema.d.ts +138 -0
- package/dist/esm/schemas/payout/refund-payout/provision-data.refund-payout.entity.schema.d.ts.map +1 -0
- package/dist/esm/schemas/payout/refund-payout/update.refund-payout.rest.schema.d.ts +31 -0
- package/dist/esm/schemas/payout/refund-payout/update.refund-payout.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/payout/settlement-payout/create.settlement-payout.rest.schema.d.ts +1 -1
- package/dist/esm/schemas/payout/settlement-payout/provision-data.settlement-payout.entity.schema.d.ts +2 -0
- package/dist/esm/schemas/payout/settlement-payout/provision-data.settlement-payout.entity.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout-transaction/payout-transactin.entity.schema.d.ts +4 -4
- package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +130 -96
- package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts.map +1 -1
- package/dist/esm/schemas/project/project-search.rest.schema.d.ts +1 -1
- package/dist/esm/schemas/property/property-search.rest.schema.d.ts +640 -11
- package/dist/esm/schemas/property/property-search.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/property/property.entity.schema.d.ts +3 -1
- package/dist/esm/schemas/property/property.entity.schema.d.ts.map +1 -1
- package/dist/esm/schemas/property/property.rest.schema.d.ts +104 -78
- package/dist/esm/schemas/property/property.rest.schema.d.ts.map +1 -1
- package/dist/esm/utils/currency.util.d.ts +1 -1
- package/dist/esm/utils/currency.util.d.ts.map +1 -1
- package/package.json +22 -18
package/dist/esm/index.js
CHANGED
|
@@ -40,6 +40,12 @@ const CmaStatus = {
|
|
|
40
40
|
ACTIVE: 'active',
|
|
41
41
|
INACTIVE: 'inactive'
|
|
42
42
|
};
|
|
43
|
+
var cma_creation_request_constant_CmaRequestApprovalStatus = /*#__PURE__*/ function(CmaRequestApprovalStatus) {
|
|
44
|
+
CmaRequestApprovalStatus["PENDING"] = "pending";
|
|
45
|
+
CmaRequestApprovalStatus["APPROVED"] = "approved";
|
|
46
|
+
CmaRequestApprovalStatus["REJECTED"] = "rejected";
|
|
47
|
+
return CmaRequestApprovalStatus;
|
|
48
|
+
}({});
|
|
43
49
|
var cma_input_type_constant_CmaTransactionInputType = /*#__PURE__*/ function(CmaTransactionInputType) {
|
|
44
50
|
CmaTransactionInputType["RECEIPT"] = "receipt";
|
|
45
51
|
CmaTransactionInputType["PAYMENT"] = "payment";
|
|
@@ -188,27 +194,27 @@ const MtaTransactionExtendedStatusToDisplayTextMapper = {
|
|
|
188
194
|
[MtaTransactionExtendedStatus.PENDING_PURCHASE_INFO]: 'Pending Purchase Info'
|
|
189
195
|
};
|
|
190
196
|
const MtaCustomerTransactionType = {
|
|
191
|
-
HOLDING_DEPOSIT:
|
|
192
|
-
SIGNING_DEPOSIT:
|
|
193
|
-
WEEKLY_PAYMENT:
|
|
194
|
-
CMA_CLOSURE_DEPOSIT:
|
|
195
|
-
CMA_INTEREST:
|
|
197
|
+
HOLDING_DEPOSIT: "holding_deposit",
|
|
198
|
+
SIGNING_DEPOSIT: "signing_deposit",
|
|
199
|
+
WEEKLY_PAYMENT: "weekly_payment",
|
|
200
|
+
CMA_CLOSURE_DEPOSIT: "cma_closure_deposit",
|
|
201
|
+
CMA_INTEREST: "cma_interest"
|
|
196
202
|
};
|
|
197
203
|
const MtaUnknownTransactionType = {
|
|
198
|
-
UNKNOWN:
|
|
204
|
+
UNKNOWN: "unknown"
|
|
199
205
|
};
|
|
200
206
|
const MtaReceiptTransactionType = {
|
|
201
207
|
...MtaCustomerTransactionType,
|
|
202
208
|
...MtaUnknownTransactionType
|
|
203
209
|
};
|
|
204
|
-
const ASSIGN_UNKNOWN_TO_CUSTOMER =
|
|
205
|
-
const TRANSACTION_CANCEL =
|
|
210
|
+
const ASSIGN_UNKNOWN_TO_CUSTOMER = "assign_unknown_to_customer";
|
|
211
|
+
const TRANSACTION_CANCEL = "transaction_cancel";
|
|
206
212
|
const MtaPayoutTransactionType = {
|
|
207
|
-
TRUST_TO_CMA_PAYOUT:
|
|
208
|
-
TRUST_SETTLEMENT_PAYOUT:
|
|
209
|
-
|
|
210
|
-
UNKNOWN_PAYOUT:
|
|
211
|
-
PAYOUT:
|
|
213
|
+
TRUST_TO_CMA_PAYOUT: "trust_to_cma_payout",
|
|
214
|
+
TRUST_SETTLEMENT_PAYOUT: "trust_settlement_payout",
|
|
215
|
+
REFUND_PAYOUT: "trust_refund_payout",
|
|
216
|
+
UNKNOWN_PAYOUT: "unknown_payout",
|
|
217
|
+
PAYOUT: "payout"
|
|
212
218
|
};
|
|
213
219
|
const MtaTransactionType = {
|
|
214
220
|
...MtaReceiptTransactionType,
|
|
@@ -217,19 +223,19 @@ const MtaTransactionType = {
|
|
|
217
223
|
TRANSACTION_CANCEL
|
|
218
224
|
};
|
|
219
225
|
const MtaTransactionTypeToDisplayTextMapper = {
|
|
220
|
-
[MtaTransactionType.UNKNOWN]:
|
|
221
|
-
[MtaTransactionType.HOLDING_DEPOSIT]:
|
|
222
|
-
[MtaTransactionType.SIGNING_DEPOSIT]:
|
|
223
|
-
[MtaTransactionType.WEEKLY_PAYMENT]:
|
|
224
|
-
[MtaTransactionType.CMA_CLOSURE_DEPOSIT]:
|
|
225
|
-
[MtaTransactionType.CMA_INTEREST]:
|
|
226
|
-
[MtaTransactionType.TRUST_TO_CMA_PAYOUT]:
|
|
227
|
-
[MtaTransactionType.TRUST_SETTLEMENT_PAYOUT]:
|
|
228
|
-
[MtaTransactionType.
|
|
229
|
-
[MtaTransactionType.UNKNOWN_PAYOUT]:
|
|
230
|
-
[MtaTransactionType.ASSIGN_UNKNOWN_TO_CUSTOMER]:
|
|
231
|
-
[MtaTransactionType.TRANSACTION_CANCEL]:
|
|
232
|
-
[MtaTransactionType.PAYOUT]:
|
|
226
|
+
[MtaTransactionType.UNKNOWN]: "Unknown",
|
|
227
|
+
[MtaTransactionType.HOLDING_DEPOSIT]: "Holding Deposit",
|
|
228
|
+
[MtaTransactionType.SIGNING_DEPOSIT]: "Signing Deposit",
|
|
229
|
+
[MtaTransactionType.WEEKLY_PAYMENT]: "Weekly Payment",
|
|
230
|
+
[MtaTransactionType.CMA_CLOSURE_DEPOSIT]: "CMA Closure Deposit",
|
|
231
|
+
[MtaTransactionType.CMA_INTEREST]: "CMA Interest",
|
|
232
|
+
[MtaTransactionType.TRUST_TO_CMA_PAYOUT]: "Trust to CMA Payout",
|
|
233
|
+
[MtaTransactionType.TRUST_SETTLEMENT_PAYOUT]: "Trust Settlement Payout",
|
|
234
|
+
[MtaTransactionType.REFUND_PAYOUT]: "Refund Payout",
|
|
235
|
+
[MtaTransactionType.UNKNOWN_PAYOUT]: "Unknown Payout",
|
|
236
|
+
[MtaTransactionType.ASSIGN_UNKNOWN_TO_CUSTOMER]: "Assign Unknown",
|
|
237
|
+
[MtaTransactionType.TRANSACTION_CANCEL]: "Cancel Transaction",
|
|
238
|
+
[MtaTransactionType.PAYOUT]: "Payout"
|
|
233
239
|
};
|
|
234
240
|
const PayoutStatus = {
|
|
235
241
|
PENDING: 'pending',
|
|
@@ -239,11 +245,11 @@ const PayoutStatus = {
|
|
|
239
245
|
CANCELLED: 'cancelled'
|
|
240
246
|
};
|
|
241
247
|
const PayoutType = {
|
|
242
|
-
TRUST_TO_CMA_PAYOUT:
|
|
243
|
-
TRUST_SETTLEMENT_PAYOUT:
|
|
244
|
-
CMA_SETTLEMENT_PAYOUT:
|
|
245
|
-
|
|
246
|
-
|
|
248
|
+
TRUST_TO_CMA_PAYOUT: "trust_to_cma_payout",
|
|
249
|
+
TRUST_SETTLEMENT_PAYOUT: "trust_settlement_payout",
|
|
250
|
+
CMA_SETTLEMENT_PAYOUT: "cma_settlement_payout",
|
|
251
|
+
UNKNOWN_PAYOUT: "unknown_payout",
|
|
252
|
+
REFUND_PAYOUT: "refund_payout"
|
|
247
253
|
};
|
|
248
254
|
var payout_constant_PayoutSourceAccountType = /*#__PURE__*/ function(PayoutSourceAccountType) {
|
|
249
255
|
PayoutSourceAccountType["CMA"] = "cma";
|
|
@@ -256,32 +262,32 @@ var payout_constant_PayoutTargetAccountType = /*#__PURE__*/ function(PayoutTarge
|
|
|
256
262
|
return PayoutTargetAccountType;
|
|
257
263
|
}({});
|
|
258
264
|
const DEFAULT_PAYOUT_TARGET_BANK_REF = {
|
|
259
|
-
[PayoutType.TRUST_TO_CMA_PAYOUT]: ()=>
|
|
260
|
-
[PayoutType.CMA_SETTLEMENT_PAYOUT]: ()=>
|
|
261
|
-
[PayoutType.
|
|
262
|
-
[PayoutType.TRUST_SETTLEMENT_PAYOUT]: ()=>
|
|
263
|
-
[PayoutType.UNKNOWN_PAYOUT]: ()=>
|
|
265
|
+
[PayoutType.TRUST_TO_CMA_PAYOUT]: ()=>"CMA Payout",
|
|
266
|
+
[PayoutType.CMA_SETTLEMENT_PAYOUT]: ()=>"CMA Installment",
|
|
267
|
+
[PayoutType.REFUND_PAYOUT]: ()=>"Refund",
|
|
268
|
+
[PayoutType.TRUST_SETTLEMENT_PAYOUT]: ()=>"Settlement",
|
|
269
|
+
[PayoutType.UNKNOWN_PAYOUT]: ()=>"Pay Unknown"
|
|
264
270
|
};
|
|
265
271
|
const DEFAULT_PAYOUT_TARGET_DESCRIPTION = {
|
|
266
|
-
[PayoutType.TRUST_TO_CMA_PAYOUT]: ()=>
|
|
267
|
-
[PayoutType.CMA_SETTLEMENT_PAYOUT]: ()=>
|
|
268
|
-
[PayoutType.
|
|
269
|
-
[PayoutType.TRUST_SETTLEMENT_PAYOUT]: ()=>
|
|
270
|
-
[PayoutType.UNKNOWN_PAYOUT]: ()=>
|
|
272
|
+
[PayoutType.TRUST_TO_CMA_PAYOUT]: ()=>"CMA Payout",
|
|
273
|
+
[PayoutType.CMA_SETTLEMENT_PAYOUT]: ()=>"CMA Installment",
|
|
274
|
+
[PayoutType.REFUND_PAYOUT]: ()=>"Refund",
|
|
275
|
+
[PayoutType.TRUST_SETTLEMENT_PAYOUT]: ()=>"Settlement",
|
|
276
|
+
[PayoutType.UNKNOWN_PAYOUT]: ()=>"Pay Unknown"
|
|
271
277
|
};
|
|
272
278
|
const DEFAULT_PAYOUT_SOURCE_BANK_REF = {
|
|
273
|
-
[PayoutType.TRUST_TO_CMA_PAYOUT]: ()=>
|
|
274
|
-
[PayoutType.CMA_SETTLEMENT_PAYOUT]: ()=>
|
|
275
|
-
[PayoutType.
|
|
276
|
-
[PayoutType.TRUST_SETTLEMENT_PAYOUT]: ()=>
|
|
277
|
-
[PayoutType.UNKNOWN_PAYOUT]: ()=>
|
|
279
|
+
[PayoutType.TRUST_TO_CMA_PAYOUT]: ()=>"Transfer to CMA",
|
|
280
|
+
[PayoutType.CMA_SETTLEMENT_PAYOUT]: ()=>"CMA Settlement",
|
|
281
|
+
[PayoutType.REFUND_PAYOUT]: ()=>"Refund",
|
|
282
|
+
[PayoutType.TRUST_SETTLEMENT_PAYOUT]: ()=>"Settlement",
|
|
283
|
+
[PayoutType.UNKNOWN_PAYOUT]: ()=>"Pay Unknown"
|
|
278
284
|
};
|
|
279
285
|
const DEFAULT_PAYOUT_SOURCE_DESCRIPTION = {
|
|
280
|
-
[PayoutType.TRUST_TO_CMA_PAYOUT]: ()=>
|
|
281
|
-
[PayoutType.CMA_SETTLEMENT_PAYOUT]: ()=>
|
|
282
|
-
[PayoutType.
|
|
283
|
-
[PayoutType.TRUST_SETTLEMENT_PAYOUT]: ()=>
|
|
284
|
-
[PayoutType.UNKNOWN_PAYOUT]: ()=>
|
|
286
|
+
[PayoutType.TRUST_TO_CMA_PAYOUT]: ()=>"Transfer to CMA",
|
|
287
|
+
[PayoutType.CMA_SETTLEMENT_PAYOUT]: ()=>"CMA Settlement",
|
|
288
|
+
[PayoutType.REFUND_PAYOUT]: ()=>"Refund",
|
|
289
|
+
[PayoutType.TRUST_SETTLEMENT_PAYOUT]: ()=>"Settlement",
|
|
290
|
+
[PayoutType.UNKNOWN_PAYOUT]: ()=>"Pay Unknown"
|
|
285
291
|
};
|
|
286
292
|
const PayoutBankFileStatus = {
|
|
287
293
|
GENERATED: 'generated',
|
|
@@ -464,11 +470,11 @@ const paginationReqSchema = z.object({
|
|
|
464
470
|
page: z.coerce.number().pipe(z.int().positive()).optional(),
|
|
465
471
|
pageSize: z.coerce.number().pipe(z.int().positive()).optional()
|
|
466
472
|
});
|
|
467
|
-
const sortReqSchema = zod.record(zod.string(), zod.string().transform((val)=>{
|
|
468
|
-
if (
|
|
469
|
-
if (
|
|
470
|
-
return val;
|
|
471
|
-
}).pipe(zod["enum"](sort_order_constant_SortOrder)));
|
|
473
|
+
const sortReqSchema = zod.record(zod.string(), zod.string().nullish().transform((val)=>{
|
|
474
|
+
if ("ascend" === val) return sort_order_constant_SortOrder.ASC;
|
|
475
|
+
if ("descend" === val) return sort_order_constant_SortOrder.DESC;
|
|
476
|
+
return val || void 0;
|
|
477
|
+
}).pipe(zod["enum"](sort_order_constant_SortOrder)).nullish());
|
|
472
478
|
const statusFilterSchema = z.union([
|
|
473
479
|
z.lazy(()=>stringFilterSchema),
|
|
474
480
|
z.string()
|
|
@@ -522,7 +528,7 @@ const projectSearchRestReqSchema = z.object({
|
|
|
522
528
|
...paginationReqSchema.shape,
|
|
523
529
|
sort: sortReqSchema.optional()
|
|
524
530
|
});
|
|
525
|
-
const
|
|
531
|
+
const propertySearchRestReqBaseSchema = z.object({
|
|
526
532
|
id: z.union([
|
|
527
533
|
z.lazy(()=>stringFilterSchema),
|
|
528
534
|
z.string()
|
|
@@ -559,15 +565,21 @@ const propertySearchRestReqSchema = z.object({
|
|
|
559
565
|
cmaBalanceCents: bigIntFilterSchema.optional(),
|
|
560
566
|
balanceCents: bigIntFilterSchema.optional(),
|
|
561
567
|
status: statusFilterSchema.optional(),
|
|
562
|
-
project: projectSearchRestReqSchema.optional(),
|
|
563
568
|
cmaId: z.union([
|
|
564
569
|
z.lazy(()=>stringNullableFilterSchema),
|
|
565
570
|
z.string()
|
|
566
|
-
]).optional()
|
|
571
|
+
]).optional()
|
|
572
|
+
});
|
|
573
|
+
const propertySearchRestReqSchema = z.object({
|
|
567
574
|
...paginationReqSchema.shape,
|
|
575
|
+
...propertySearchRestReqBaseSchema.shape,
|
|
576
|
+
project: projectSearchRestReqSchema.optional(),
|
|
577
|
+
get cma () {
|
|
578
|
+
return cmaSearchRestReqBaseSchema.nullish();
|
|
579
|
+
},
|
|
568
580
|
sort: sortReqSchema.optional()
|
|
569
581
|
});
|
|
570
|
-
const
|
|
582
|
+
const cmaSearchRestReqBaseSchema = z.object({
|
|
571
583
|
id: z.union([
|
|
572
584
|
z.lazy(()=>stringFilterSchema),
|
|
573
585
|
z.string()
|
|
@@ -601,7 +613,15 @@ const cmaSearchRestReqSchema = z.object({
|
|
|
601
613
|
z.string()
|
|
602
614
|
]).optional(),
|
|
603
615
|
balanceCents: bigIntFilterSchema.optional(),
|
|
604
|
-
|
|
616
|
+
isArchived: z.stringbool().optional()
|
|
617
|
+
});
|
|
618
|
+
const cmaSearchRestReqSchema = z.object({
|
|
619
|
+
...cmaSearchRestReqBaseSchema.shape,
|
|
620
|
+
get property () {
|
|
621
|
+
return propertySearchRestReqSchema.omit({
|
|
622
|
+
cma: true
|
|
623
|
+
});
|
|
624
|
+
}
|
|
605
625
|
});
|
|
606
626
|
const cmaEntitySchema = z.object({
|
|
607
627
|
id: z.uuid(),
|
|
@@ -625,7 +645,7 @@ const cmaEntitySchema = z.object({
|
|
|
625
645
|
createdBy: z.string()
|
|
626
646
|
});
|
|
627
647
|
const formatCurrency = (amount, options)=>{
|
|
628
|
-
const { locale =
|
|
648
|
+
const { locale = "en-AU", defaultValue = null, currency = "AUD", style = "currency", ...rest } = options || {};
|
|
629
649
|
const num = Number(amount);
|
|
630
650
|
if (null == amount || Number.isNaN(num)) return defaultValue;
|
|
631
651
|
return num.toLocaleString(locale, {
|
|
@@ -869,6 +889,18 @@ const cmaTransactionEntitySchema = z.object({
|
|
|
869
889
|
canceledReason: z.string().nullable(),
|
|
870
890
|
createdBy: z.string()
|
|
871
891
|
});
|
|
892
|
+
const customerEntitySchema = z.object({
|
|
893
|
+
id: z.uuid(),
|
|
894
|
+
fullName: z.string().nullish(),
|
|
895
|
+
mobile: z.string().nullish(),
|
|
896
|
+
email: z.string().nullish(),
|
|
897
|
+
status: z.string(),
|
|
898
|
+
isArchived: z.boolean(),
|
|
899
|
+
createdAt: z.coerce.date(),
|
|
900
|
+
syncedAt: z.coerce.date(),
|
|
901
|
+
updatedAt: z.coerce.date(),
|
|
902
|
+
source: z.string().nullish()
|
|
903
|
+
});
|
|
872
904
|
const mtaReconciledTransactionEntitySchema = z.object({
|
|
873
905
|
id: z.uuid(),
|
|
874
906
|
mtaTransactionId: z.string(),
|
|
@@ -963,18 +995,6 @@ const projectEntitySchema = z.object({
|
|
|
963
995
|
const projectNestedEntitySchema = projectEntitySchema.extend({
|
|
964
996
|
developer: developerEntitySchema.nullish()
|
|
965
997
|
});
|
|
966
|
-
const customerEntitySchema = z.object({
|
|
967
|
-
id: z.uuid(),
|
|
968
|
-
fullName: z.string().nullish(),
|
|
969
|
-
mobile: z.string().nullish(),
|
|
970
|
-
email: z.string().nullish(),
|
|
971
|
-
status: z.string(),
|
|
972
|
-
isArchived: z.boolean(),
|
|
973
|
-
createdAt: z.coerce.date(),
|
|
974
|
-
syncedAt: z.coerce.date(),
|
|
975
|
-
updatedAt: z.coerce.date(),
|
|
976
|
-
source: z.string().nullish()
|
|
977
|
-
});
|
|
978
998
|
const propertyEntitySchema = z.object({
|
|
979
999
|
id: z.uuid(),
|
|
980
1000
|
customerId: z.string(),
|
|
@@ -1001,6 +1021,7 @@ const propertyEntitySchema = z.object({
|
|
|
1001
1021
|
mtaId: z.string(),
|
|
1002
1022
|
cmaId: z.string().nullish(),
|
|
1003
1023
|
initialDepositStatus: z.string().nullish(),
|
|
1024
|
+
copositSaleStatus: z.string().nullish(),
|
|
1004
1025
|
isArchived: z.boolean(),
|
|
1005
1026
|
createdAt: z.coerce.date(),
|
|
1006
1027
|
syncedAt: z.coerce.date(),
|
|
@@ -1088,6 +1109,24 @@ const commonPayoutSourceDetailEntitySchema = z.object({
|
|
|
1088
1109
|
description: z.string(),
|
|
1089
1110
|
clearedAt: z.coerce.date().nullish()
|
|
1090
1111
|
}).loose();
|
|
1112
|
+
const refundPayoutSourceDetailEntitySchema = z.object({
|
|
1113
|
+
...commonPayoutSourceDetailEntitySchema.shape,
|
|
1114
|
+
propertyId: z.uuid()
|
|
1115
|
+
}).loose();
|
|
1116
|
+
const refundPayoutTargetDetailEntitySchema = z.object({
|
|
1117
|
+
...commonPayoutTargetDetailEntitySchema.shape,
|
|
1118
|
+
targetAccountType: z.literal(payout_constant_PayoutTargetAccountType.OTHER).prefault(payout_constant_PayoutTargetAccountType.OTHER)
|
|
1119
|
+
}).loose();
|
|
1120
|
+
const refundPayoutPaymentEntitySchema = z.object({
|
|
1121
|
+
sourceDetail: refundPayoutSourceDetailEntitySchema,
|
|
1122
|
+
targetDetail: refundPayoutTargetDetailEntitySchema
|
|
1123
|
+
});
|
|
1124
|
+
const refundPayoutProvisionDataEntitySchema = z.object({
|
|
1125
|
+
mta: z.lazy(()=>mtaEntitySchema),
|
|
1126
|
+
property: z.lazy(()=>propertyEntitySchema),
|
|
1127
|
+
payments: refundPayoutPaymentEntitySchema.array(),
|
|
1128
|
+
payoutType: z.literal(PayoutType.REFUND_PAYOUT).prefault(PayoutType.REFUND_PAYOUT)
|
|
1129
|
+
});
|
|
1091
1130
|
const settlementPayoutSourceDetailEntitySchema = commonPayoutSourceDetailEntitySchema.extend({
|
|
1092
1131
|
propertyId: z.uuid()
|
|
1093
1132
|
}).loose();
|
|
@@ -1125,10 +1164,11 @@ const unknownPayoutProvisionDataEntitySchema = z.looseObject({
|
|
|
1125
1164
|
payments: unknownPayoutPaymentEntitySchema.array(),
|
|
1126
1165
|
payoutType: z.literal(PayoutType.UNKNOWN_PAYOUT)
|
|
1127
1166
|
});
|
|
1128
|
-
const payoutProvisionDataEntitySchema = z.discriminatedUnion(
|
|
1167
|
+
const payoutProvisionDataEntitySchema = z.discriminatedUnion("payoutType", [
|
|
1129
1168
|
mtaToCmaPayoutProvisionDataEntitySchema,
|
|
1130
1169
|
settlementPayoutProvisionDataEntitySchema,
|
|
1131
|
-
unknownPayoutProvisionDataEntitySchema
|
|
1170
|
+
unknownPayoutProvisionDataEntitySchema,
|
|
1171
|
+
refundPayoutProvisionDataEntitySchema
|
|
1132
1172
|
]);
|
|
1133
1173
|
const payoutEntitySchema = z.object({
|
|
1134
1174
|
id: z.uuid(),
|
|
@@ -1516,6 +1556,59 @@ const cmaAccountPeriodClosingSummaryRestResSchema = z.object({
|
|
|
1516
1556
|
unreconciledTransactions: z.lazy(()=>cmaTransactionRestResSchema.array()).nullish()
|
|
1517
1557
|
})
|
|
1518
1558
|
});
|
|
1559
|
+
const cmaCreationRequestEntitySchema = zod.object({
|
|
1560
|
+
id: zod.string(),
|
|
1561
|
+
propertyId: zod.string(),
|
|
1562
|
+
accountNumber: zod.string(),
|
|
1563
|
+
bsb: zod.string(),
|
|
1564
|
+
accountName: zod.string(),
|
|
1565
|
+
bankCode: zod.string(),
|
|
1566
|
+
stateCode: zod.string().nullable().optional(),
|
|
1567
|
+
description: zod.string().nullable().optional(),
|
|
1568
|
+
approvalStatus: zod["enum"](cma_creation_request_constant_CmaRequestApprovalStatus),
|
|
1569
|
+
createdBy: zod.string(),
|
|
1570
|
+
approvedBy: zod.string().nullable(),
|
|
1571
|
+
approvedAt: zod.string().nullable(),
|
|
1572
|
+
rejectedBy: zod.string().nullable(),
|
|
1573
|
+
rejectedAt: zod.string().nullable(),
|
|
1574
|
+
rejectionReason: zod.string().nullable(),
|
|
1575
|
+
createdAt: zod.string(),
|
|
1576
|
+
updatedAt: zod.string(),
|
|
1577
|
+
isArchived: zod.boolean().optional(),
|
|
1578
|
+
property: zod.lazy(()=>propertyNestedEntitySchema.partial().omit({
|
|
1579
|
+
cmaBalanceCents: true,
|
|
1580
|
+
mtaBalanceCents: true,
|
|
1581
|
+
balanceCents: true,
|
|
1582
|
+
cma: true,
|
|
1583
|
+
mta: true,
|
|
1584
|
+
cmaTransactions: true,
|
|
1585
|
+
mtaTransactions: true
|
|
1586
|
+
})).nullish()
|
|
1587
|
+
});
|
|
1588
|
+
const accountNumberMaskedSchema = z.string().transform(maskBankAccountNumber);
|
|
1589
|
+
const accountNumberValidationSchema = z.coerce.string().min(1, 'Account Number is required').max(9, 'Account Number must be less than 9 digits').regex(/^\d+$/, {
|
|
1590
|
+
error: 'Account number must be all digits'
|
|
1591
|
+
});
|
|
1592
|
+
const createCmaRequestRestReqSchema = z.object({
|
|
1593
|
+
propertyId: z.uuid(),
|
|
1594
|
+
accountNumber: accountNumberValidationSchema,
|
|
1595
|
+
bsb: accountBsbValidationSchema,
|
|
1596
|
+
accountName: z.string().min(1),
|
|
1597
|
+
bankCode: bankCodeSchema
|
|
1598
|
+
});
|
|
1599
|
+
const updateCmaRequestRestReqSchema = z.object({
|
|
1600
|
+
accountNumber: accountNumberValidationSchema.optional(),
|
|
1601
|
+
bsb: accountBsbValidationSchema.optional(),
|
|
1602
|
+
accountName: z.string().min(1).optional(),
|
|
1603
|
+
bankCode: bankCodeSchema.optional()
|
|
1604
|
+
});
|
|
1605
|
+
const rejectCmaRequestRestReqSchema = z.object({
|
|
1606
|
+
cmaRequestId: z.uuid(),
|
|
1607
|
+
rejectionReason: z.string().max(500).optional()
|
|
1608
|
+
});
|
|
1609
|
+
const approveCmaRequestRestReqSchema = z.object({
|
|
1610
|
+
cmaRequestId: z.uuid()
|
|
1611
|
+
});
|
|
1519
1612
|
const dollarsToCentsSchema = z.codec(z.union([
|
|
1520
1613
|
z.string(),
|
|
1521
1614
|
z.bigint(),
|
|
@@ -1687,10 +1780,6 @@ const reconcileCmaTransactionRestReqSchema = z.object({
|
|
|
1687
1780
|
reconciliationId: z.uuid(),
|
|
1688
1781
|
action: z["enum"](reconcile_transaction_action_constant_ReconcileTransactionAction)
|
|
1689
1782
|
});
|
|
1690
|
-
const accountNumberMaskedSchema = z.string().transform(maskBankAccountNumber);
|
|
1691
|
-
const accountNumberValidationSchema = z.coerce.string().min(1, 'Account Number is required').max(9, 'Account Number must be less than 9 digits').regex(/^\d+$/, {
|
|
1692
|
-
error: 'Account number must be all digits'
|
|
1693
|
-
});
|
|
1694
1783
|
const stringToStartOfDaySchema = z.union([
|
|
1695
1784
|
z.custom((data)=>dayjs_0.isDayjs(data)),
|
|
1696
1785
|
z.string(),
|
|
@@ -1930,7 +2019,8 @@ const mtaReconciledTransactionRestResSchema = mtaReconciledTransactionEntitySche
|
|
|
1930
2019
|
mtaTransaction: z.lazy(()=>mtaTransactionRestResSchema).optional(),
|
|
1931
2020
|
accountPeriod: z.lazy(()=>mtaAccountPeriodRestResSchema).optional()
|
|
1932
2021
|
});
|
|
1933
|
-
const mtaTransactionRestResBaseSchema =
|
|
2022
|
+
const mtaTransactionRestResBaseSchema = z.object({
|
|
2023
|
+
...mtaTransactionEntitySchema.shape,
|
|
1934
2024
|
creditAmountCents: centsToDollarsSchema,
|
|
1935
2025
|
debitAmountCents: centsToDollarsSchema,
|
|
1936
2026
|
balanceCents: centsToDollarsSchema,
|
|
@@ -2257,7 +2347,8 @@ const createMtaToCmaPayoutRestReqSchema = z.object({
|
|
|
2257
2347
|
bankRef: z.string()
|
|
2258
2348
|
})).min(1)
|
|
2259
2349
|
});
|
|
2260
|
-
const propertyRestResBaseSchema =
|
|
2350
|
+
const propertyRestResBaseSchema = z.object({
|
|
2351
|
+
...propertyEntitySchema.shape,
|
|
2261
2352
|
balanceCents: centsToDollarsSchema,
|
|
2262
2353
|
cmaBalanceCents: centsToDollarsSchema,
|
|
2263
2354
|
mtaBalanceCents: centsToDollarsSchema
|
|
@@ -2327,6 +2418,21 @@ const payoutStatusSummaryRestResSchema = z.object({
|
|
|
2327
2418
|
status: z.string().pipe(z["enum"](PayoutStatus)),
|
|
2328
2419
|
count: z.number()
|
|
2329
2420
|
});
|
|
2421
|
+
const updateRefundPayoutTargetDetailRestReqSchema = z.object({
|
|
2422
|
+
...commonUpdatePayoutTargetDetailRestReqSchema.omit({
|
|
2423
|
+
propertyId: true,
|
|
2424
|
+
cmaId: true
|
|
2425
|
+
}).shape,
|
|
2426
|
+
targetAccountType: z.literal(payout_constant_PayoutTargetAccountType.OTHER).prefault(payout_constant_PayoutTargetAccountType.OTHER),
|
|
2427
|
+
targetBsb: z.string(),
|
|
2428
|
+
targetAccountNumber: z.string(),
|
|
2429
|
+
targetAccountName: z.string()
|
|
2430
|
+
});
|
|
2431
|
+
const updateRefundPayoutRestReqSchema = z.object({
|
|
2432
|
+
...commonUpdatePayoutRestReqSchema.shape,
|
|
2433
|
+
payoutType: z.literal(PayoutType.REFUND_PAYOUT),
|
|
2434
|
+
targetDetails: z.lazy(()=>updateRefundPayoutTargetDetailRestReqSchema).array().optional()
|
|
2435
|
+
});
|
|
2330
2436
|
const updateMtaSettlementPayoutRestReqSchema = z.object({
|
|
2331
2437
|
payoutId: z.uuid(),
|
|
2332
2438
|
bankRef: z.string().trim().min(1),
|
|
@@ -2366,11 +2472,12 @@ const updateUnknownPayoutRestReqSchema = commonUpdatePayoutRestReqSchema.extend(
|
|
|
2366
2472
|
payoutType: z.literal(PayoutType.UNKNOWN_PAYOUT),
|
|
2367
2473
|
targetDetails: z.lazy(()=>updateUnknownPayoutTargetDetailRestReqSchema).array().optional()
|
|
2368
2474
|
});
|
|
2369
|
-
const payoutUpdateRestReqSchema = z.discriminatedUnion(
|
|
2475
|
+
const payoutUpdateRestReqSchema = z.discriminatedUnion("payoutType", [
|
|
2370
2476
|
updateMtaToCmaPayoutRestReqSchema,
|
|
2371
2477
|
updateMtaSettlementPayoutRestReqSchema,
|
|
2372
2478
|
updateCmaSettlementPayoutRestReqSchema,
|
|
2373
|
-
updateUnknownPayoutRestReqSchema
|
|
2479
|
+
updateUnknownPayoutRestReqSchema,
|
|
2480
|
+
updateRefundPayoutRestReqSchema
|
|
2374
2481
|
]);
|
|
2375
2482
|
const payoutBankFileDownloadHistoryEntitySchema = z.object({
|
|
2376
2483
|
id: z.uuid(),
|
|
@@ -2441,9 +2548,10 @@ const payoutTransactionRestResSchema = payoutTransactionEntitySchema.extend({
|
|
|
2441
2548
|
}).parse(val)).nullish(),
|
|
2442
2549
|
amountCents: centsToDollarsSchema
|
|
2443
2550
|
});
|
|
2444
|
-
const payoutRestResBaseSchema =
|
|
2445
|
-
|
|
2446
|
-
|
|
2551
|
+
const payoutRestResBaseSchema = z.object({
|
|
2552
|
+
...payoutEntitySchema.omit({
|
|
2553
|
+
provisionDetails: true
|
|
2554
|
+
}).shape,
|
|
2447
2555
|
totalAmountCents: centsToDollarsSchema,
|
|
2448
2556
|
status: z.string().pipe(z["enum"](PayoutStatus)),
|
|
2449
2557
|
createdBy: z.union([
|
|
@@ -2459,7 +2567,8 @@ const payoutRestResBaseSchema = payoutEntitySchema.omit({
|
|
|
2459
2567
|
description: z.string().nullish(),
|
|
2460
2568
|
sequence: z.number().nullish()
|
|
2461
2569
|
});
|
|
2462
|
-
const mtaToCmaPayoutRestResSchema =
|
|
2570
|
+
const mtaToCmaPayoutRestResSchema = z.object({
|
|
2571
|
+
...payoutRestResBaseSchema.shape,
|
|
2463
2572
|
payoutType: z.literal(PayoutType.TRUST_TO_CMA_PAYOUT),
|
|
2464
2573
|
sourceAccount: z.lazy(()=>mtaRestResBaseSchema).nullish(),
|
|
2465
2574
|
payments: z.lazy(()=>payoutTransactionRestResSchema.omit({
|
|
@@ -2470,7 +2579,8 @@ const mtaToCmaPayoutRestResSchema = payoutRestResBaseSchema.extend({
|
|
|
2470
2579
|
sequence: z.int().optional()
|
|
2471
2580
|
}).array())
|
|
2472
2581
|
});
|
|
2473
|
-
const mtaSettlementPayoutRestResSchema =
|
|
2582
|
+
const mtaSettlementPayoutRestResSchema = z.object({
|
|
2583
|
+
...payoutRestResBaseSchema.shape,
|
|
2474
2584
|
payoutType: z.literal(PayoutType.TRUST_SETTLEMENT_PAYOUT),
|
|
2475
2585
|
sourceAccount: z.lazy(()=>mtaRestResBaseSchema).nullish(),
|
|
2476
2586
|
payments: z.lazy(()=>payoutTransactionRestResSchema.omit({
|
|
@@ -2483,7 +2593,8 @@ const mtaSettlementPayoutRestResSchema = payoutRestResBaseSchema.extend({
|
|
|
2483
2593
|
sequence: z.int().optional()
|
|
2484
2594
|
}).array())
|
|
2485
2595
|
});
|
|
2486
|
-
const cmaSettlementPayoutRestResSchema =
|
|
2596
|
+
const cmaSettlementPayoutRestResSchema = z.object({
|
|
2597
|
+
...payoutRestResBaseSchema.shape,
|
|
2487
2598
|
payoutType: z.literal(PayoutType.CMA_SETTLEMENT_PAYOUT),
|
|
2488
2599
|
sourceAccount: z.lazy(()=>cmaRestResBaseSchema).nullish(),
|
|
2489
2600
|
payments: z.lazy(()=>payoutTransactionRestResSchema.omit({
|
|
@@ -2496,7 +2607,8 @@ const cmaSettlementPayoutRestResSchema = payoutRestResBaseSchema.extend({
|
|
|
2496
2607
|
sequence: z.int().optional()
|
|
2497
2608
|
}).array())
|
|
2498
2609
|
});
|
|
2499
|
-
const unknownPayoutRestResSchema =
|
|
2610
|
+
const unknownPayoutRestResSchema = z.object({
|
|
2611
|
+
...payoutRestResBaseSchema.shape,
|
|
2500
2612
|
payoutType: z.literal(PayoutType.UNKNOWN_PAYOUT),
|
|
2501
2613
|
sourceAccount: z.lazy(()=>mtaRestResBaseSchema).nullish(),
|
|
2502
2614
|
payments: z.lazy(()=>payoutTransactionRestResSchema.omit({
|
|
@@ -2511,16 +2623,55 @@ const unknownPayoutRestResSchema = payoutRestResBaseSchema.extend({
|
|
|
2511
2623
|
sourceMtaTransaction: z.lazy(()=>mtaTransactionRestResBaseSchema).nullish()
|
|
2512
2624
|
}).array())
|
|
2513
2625
|
});
|
|
2514
|
-
const settlementPayoutRestResSchema = z.discriminatedUnion(
|
|
2626
|
+
const settlementPayoutRestResSchema = z.discriminatedUnion("payoutType", [
|
|
2515
2627
|
mtaSettlementPayoutRestResSchema,
|
|
2516
2628
|
cmaSettlementPayoutRestResSchema
|
|
2517
2629
|
]);
|
|
2518
|
-
const
|
|
2630
|
+
const refundPayoutRestResSchema = z.object({
|
|
2631
|
+
...payoutRestResBaseSchema.shape,
|
|
2632
|
+
payoutType: z.literal(PayoutType.REFUND_PAYOUT),
|
|
2633
|
+
sourceAccount: z.lazy(()=>mtaRestResBaseSchema).nullish(),
|
|
2634
|
+
payments: z.object({
|
|
2635
|
+
...payoutTransactionRestResSchema.shape,
|
|
2636
|
+
id: z.uuid().optional(),
|
|
2637
|
+
sequence: z.int().optional()
|
|
2638
|
+
}).array(),
|
|
2639
|
+
property: z.lazy(()=>propertyRestResSchema.omit({
|
|
2640
|
+
cma: true,
|
|
2641
|
+
mta: true,
|
|
2642
|
+
cmaTransactions: true,
|
|
2643
|
+
mtaTransactions: true
|
|
2644
|
+
}).nullish())
|
|
2645
|
+
});
|
|
2646
|
+
const payoutRestResSchema = z.discriminatedUnion("payoutType", [
|
|
2519
2647
|
mtaToCmaPayoutRestResSchema,
|
|
2520
2648
|
mtaSettlementPayoutRestResSchema,
|
|
2521
2649
|
cmaSettlementPayoutRestResSchema,
|
|
2522
|
-
unknownPayoutRestResSchema
|
|
2650
|
+
unknownPayoutRestResSchema,
|
|
2651
|
+
refundPayoutRestResSchema
|
|
2523
2652
|
]);
|
|
2653
|
+
const createRefundPayoutTargetAccountSchema = zod.object({
|
|
2654
|
+
targetAccountType: zod.literal(payout_constant_PayoutTargetAccountType.OTHER).prefault(payout_constant_PayoutTargetAccountType.OTHER),
|
|
2655
|
+
creditAmountCents: dollarsToCentsSchema,
|
|
2656
|
+
description: zod.string().trim().min(1),
|
|
2657
|
+
bankRef: zod.string().trim().min(1),
|
|
2658
|
+
targetAccountName: zod.string().trim().min(1),
|
|
2659
|
+
targetAccountNumber: accountNumberValidationSchema,
|
|
2660
|
+
targetBsb: accountBsbValidationSchema,
|
|
2661
|
+
propertyId: zod.uuid()
|
|
2662
|
+
});
|
|
2663
|
+
const createRefundPayoutSourceAccountSchema = zod.object({
|
|
2664
|
+
sourceAccountId: zod.uuid(),
|
|
2665
|
+
sourceAccountType: zod.literal(payout_constant_PayoutSourceAccountType.MTA),
|
|
2666
|
+
sourceBankRef: zod.string().trim().min(1),
|
|
2667
|
+
sourceDescription: zod.string().trim().min(1)
|
|
2668
|
+
});
|
|
2669
|
+
const createRefundPayoutRestReqSchema = zod.object({
|
|
2670
|
+
propertyId: zod.uuid(),
|
|
2671
|
+
payoutType: zod.literal(PayoutType.REFUND_PAYOUT),
|
|
2672
|
+
sourceAccount: zod.lazy(()=>createRefundPayoutSourceAccountSchema),
|
|
2673
|
+
targetAccounts: zod.lazy(()=>createRefundPayoutTargetAccountSchema.array().min(1))
|
|
2674
|
+
});
|
|
2524
2675
|
const createSettlementPayoutTargetAccountSchema = z.object({
|
|
2525
2676
|
targetAccountType: z.literal(payout_constant_PayoutTargetAccountType.OTHER),
|
|
2526
2677
|
creditAmountCents: dollarsToCentsSchema,
|
|
@@ -2783,12 +2934,23 @@ const isEmptyObject = (val)=>{
|
|
|
2783
2934
|
};
|
|
2784
2935
|
const isDate = kindOfTest('Date');
|
|
2785
2936
|
const isFile = kindOfTest('File');
|
|
2937
|
+
const isReactNativeBlob = (value)=>!!(value && void 0 !== value.uri);
|
|
2938
|
+
const isReactNative = (formData)=>formData && void 0 !== formData.getParts;
|
|
2786
2939
|
const isBlob = kindOfTest('Blob');
|
|
2787
2940
|
const utils_isFileList = kindOfTest('FileList');
|
|
2788
2941
|
const isStream = (val)=>isObject(val) && isFunction(val.pipe);
|
|
2942
|
+
function getGlobal() {
|
|
2943
|
+
if ('undefined' != typeof globalThis) return globalThis;
|
|
2944
|
+
if ('undefined' != typeof self) return self;
|
|
2945
|
+
if ('undefined' != typeof window) return window;
|
|
2946
|
+
if ('undefined' != typeof global) return global;
|
|
2947
|
+
return {};
|
|
2948
|
+
}
|
|
2949
|
+
const G = getGlobal();
|
|
2950
|
+
const FormDataCtor = void 0 !== G.FormData ? G.FormData : void 0;
|
|
2789
2951
|
const utils_isFormData = (thing)=>{
|
|
2790
2952
|
let kind;
|
|
2791
|
-
return thing && (
|
|
2953
|
+
return thing && (FormDataCtor && thing instanceof FormDataCtor || isFunction(thing.append) && ('formdata' === (kind = kindOf(thing)) || 'object' === kind && isFunction(thing.toString) && '[object FormData]' === thing.toString()));
|
|
2792
2954
|
};
|
|
2793
2955
|
const isURLSearchParams = kindOfTest('URLSearchParams');
|
|
2794
2956
|
const [isReadableStream, isRequest, isResponse, isHeaders] = [
|
|
@@ -2830,14 +2992,15 @@ function findKey(obj, key) {
|
|
|
2830
2992
|
return null;
|
|
2831
2993
|
}
|
|
2832
2994
|
const _global = (()=>{
|
|
2833
|
-
if (
|
|
2834
|
-
return
|
|
2995
|
+
if ('undefined' != typeof globalThis) return globalThis;
|
|
2996
|
+
return 'undefined' != typeof self ? self : 'undefined' != typeof window ? window : global;
|
|
2835
2997
|
})();
|
|
2836
2998
|
const isContextDefined = (context)=>!isUndefined(context) && context !== _global;
|
|
2837
2999
|
function utils_merge() {
|
|
2838
3000
|
const { caseless, skipUndefined } = isContextDefined(this) && this || {};
|
|
2839
3001
|
const result = {};
|
|
2840
3002
|
const assignValue = (val, key)=>{
|
|
3003
|
+
if ('__proto__' === key || 'constructor' === key || 'prototype' === key) return;
|
|
2841
3004
|
const targetKey = caseless && findKey(result, key) || key;
|
|
2842
3005
|
if (isPlainObject(result[targetKey]) && isPlainObject(val)) result[targetKey] = utils_merge(result[targetKey], val);
|
|
2843
3006
|
else if (isPlainObject(val)) result[targetKey] = utils_merge({}, val);
|
|
@@ -2849,20 +3012,35 @@ function utils_merge() {
|
|
|
2849
3012
|
}
|
|
2850
3013
|
const extend = (a, b, thisArg, { allOwnKeys } = {})=>{
|
|
2851
3014
|
forEach(b, (val, key)=>{
|
|
2852
|
-
if (thisArg && isFunction(val)) a
|
|
2853
|
-
|
|
3015
|
+
if (thisArg && isFunction(val)) Object.defineProperty(a, key, {
|
|
3016
|
+
value: bind(val, thisArg),
|
|
3017
|
+
writable: true,
|
|
3018
|
+
enumerable: true,
|
|
3019
|
+
configurable: true
|
|
3020
|
+
});
|
|
3021
|
+
else Object.defineProperty(a, key, {
|
|
3022
|
+
value: val,
|
|
3023
|
+
writable: true,
|
|
3024
|
+
enumerable: true,
|
|
3025
|
+
configurable: true
|
|
3026
|
+
});
|
|
2854
3027
|
}, {
|
|
2855
3028
|
allOwnKeys
|
|
2856
3029
|
});
|
|
2857
3030
|
return a;
|
|
2858
3031
|
};
|
|
2859
3032
|
const stripBOM = (content)=>{
|
|
2860
|
-
if (
|
|
3033
|
+
if (0xfeff === content.charCodeAt(0)) content = content.slice(1);
|
|
2861
3034
|
return content;
|
|
2862
3035
|
};
|
|
2863
3036
|
const inherits = (constructor, superConstructor, props, descriptors)=>{
|
|
2864
3037
|
constructor.prototype = Object.create(superConstructor.prototype, descriptors);
|
|
2865
|
-
constructor.prototype
|
|
3038
|
+
Object.defineProperty(constructor.prototype, 'constructor', {
|
|
3039
|
+
value: constructor,
|
|
3040
|
+
writable: true,
|
|
3041
|
+
enumerable: false,
|
|
3042
|
+
configurable: true
|
|
3043
|
+
});
|
|
2866
3044
|
Object.defineProperty(constructor, 'super', {
|
|
2867
3045
|
value: superConstructor.prototype
|
|
2868
3046
|
});
|
|
@@ -2951,7 +3129,7 @@ const freezeMethods = (obj)=>{
|
|
|
2951
3129
|
return;
|
|
2952
3130
|
}
|
|
2953
3131
|
if (!descriptor.set) descriptor.set = ()=>{
|
|
2954
|
-
throw Error(
|
|
3132
|
+
throw Error("Can not rewrite read-only method '" + name + "'");
|
|
2955
3133
|
};
|
|
2956
3134
|
});
|
|
2957
3135
|
};
|
|
@@ -2996,12 +3174,12 @@ const isThenable = (thing)=>thing && (isObject(thing) || isFunction(thing)) && i
|
|
|
2996
3174
|
const _setImmediate = ((setImmediateSupported, postMessageSupported)=>{
|
|
2997
3175
|
if (setImmediateSupported) return setImmediate;
|
|
2998
3176
|
return postMessageSupported ? ((token, callbacks)=>{
|
|
2999
|
-
_global.addEventListener(
|
|
3177
|
+
_global.addEventListener('message', ({ source, data })=>{
|
|
3000
3178
|
if (source === _global && data === token) callbacks.length && callbacks.shift()();
|
|
3001
3179
|
}, false);
|
|
3002
3180
|
return (cb)=>{
|
|
3003
3181
|
callbacks.push(cb);
|
|
3004
|
-
_global.postMessage(token,
|
|
3182
|
+
_global.postMessage(token, '*');
|
|
3005
3183
|
};
|
|
3006
3184
|
})(`axios@${Math.random()}`, []) : (cb)=>setTimeout(cb);
|
|
3007
3185
|
})('function' == typeof setImmediate, isFunction(_global.postMessage));
|
|
@@ -3026,6 +3204,8 @@ const utils = {
|
|
|
3026
3204
|
isUndefined,
|
|
3027
3205
|
isDate,
|
|
3028
3206
|
isFile,
|
|
3207
|
+
isReactNativeBlob,
|
|
3208
|
+
isReactNative,
|
|
3029
3209
|
isBlob,
|
|
3030
3210
|
isRegExp,
|
|
3031
3211
|
isFunction,
|
|
@@ -3066,22 +3246,34 @@ const utils = {
|
|
|
3066
3246
|
asap,
|
|
3067
3247
|
isIterable
|
|
3068
3248
|
};
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
request && (this.request = request);
|
|
3078
|
-
if (response) {
|
|
3079
|
-
this.response = response;
|
|
3080
|
-
this.status = response.status ? response.status : null;
|
|
3249
|
+
class AxiosError extends Error {
|
|
3250
|
+
static from(error, code, config, request, response, customProps) {
|
|
3251
|
+
const axiosError = new AxiosError(error.message, code || error.code, config, request, response);
|
|
3252
|
+
axiosError.cause = error;
|
|
3253
|
+
axiosError.name = error.name;
|
|
3254
|
+
if (null != error.status && null == axiosError.status) axiosError.status = error.status;
|
|
3255
|
+
customProps && Object.assign(axiosError, customProps);
|
|
3256
|
+
return axiosError;
|
|
3081
3257
|
}
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3258
|
+
constructor(message, code, config, request, response){
|
|
3259
|
+
super(message);
|
|
3260
|
+
Object.defineProperty(this, 'message', {
|
|
3261
|
+
value: message,
|
|
3262
|
+
enumerable: true,
|
|
3263
|
+
writable: true,
|
|
3264
|
+
configurable: true
|
|
3265
|
+
});
|
|
3266
|
+
this.name = 'AxiosError';
|
|
3267
|
+
this.isAxiosError = true;
|
|
3268
|
+
code && (this.code = code);
|
|
3269
|
+
config && (this.config = config);
|
|
3270
|
+
request && (this.request = request);
|
|
3271
|
+
if (response) {
|
|
3272
|
+
this.response = response;
|
|
3273
|
+
this.status = response.status;
|
|
3274
|
+
}
|
|
3275
|
+
}
|
|
3276
|
+
toJSON() {
|
|
3085
3277
|
return {
|
|
3086
3278
|
message: this.message,
|
|
3087
3279
|
name: this.name,
|
|
@@ -3096,47 +3288,19 @@ utils.inherits(AxiosError, Error, {
|
|
|
3096
3288
|
status: this.status
|
|
3097
3289
|
};
|
|
3098
3290
|
}
|
|
3099
|
-
}
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
'ERR_CANCELED',
|
|
3113
|
-
'ERR_NOT_SUPPORT',
|
|
3114
|
-
'ERR_INVALID_URL'
|
|
3115
|
-
].forEach((code)=>{
|
|
3116
|
-
AxiosError_descriptors[code] = {
|
|
3117
|
-
value: code
|
|
3118
|
-
};
|
|
3119
|
-
});
|
|
3120
|
-
Object.defineProperties(AxiosError, AxiosError_descriptors);
|
|
3121
|
-
Object.defineProperty(AxiosError_prototype, 'isAxiosError', {
|
|
3122
|
-
value: true
|
|
3123
|
-
});
|
|
3124
|
-
AxiosError.from = (error, code, config, request, response, customProps)=>{
|
|
3125
|
-
const axiosError = Object.create(AxiosError_prototype);
|
|
3126
|
-
utils.toFlatObject(error, axiosError, function(obj) {
|
|
3127
|
-
return obj !== Error.prototype;
|
|
3128
|
-
}, (prop)=>'isAxiosError' !== prop);
|
|
3129
|
-
const msg = error && error.message ? error.message : 'Error';
|
|
3130
|
-
const errCode = null == code && error ? error.code : code;
|
|
3131
|
-
AxiosError.call(axiosError, msg, errCode, config, request, response);
|
|
3132
|
-
if (error && null == axiosError.cause) Object.defineProperty(axiosError, 'cause', {
|
|
3133
|
-
value: error,
|
|
3134
|
-
configurable: true
|
|
3135
|
-
});
|
|
3136
|
-
axiosError.name = error && error.name || 'Error';
|
|
3137
|
-
customProps && Object.assign(axiosError, customProps);
|
|
3138
|
-
return axiosError;
|
|
3139
|
-
};
|
|
3291
|
+
}
|
|
3292
|
+
AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE';
|
|
3293
|
+
AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION';
|
|
3294
|
+
AxiosError.ECONNABORTED = 'ECONNABORTED';
|
|
3295
|
+
AxiosError.ETIMEDOUT = 'ETIMEDOUT';
|
|
3296
|
+
AxiosError.ERR_NETWORK = 'ERR_NETWORK';
|
|
3297
|
+
AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS';
|
|
3298
|
+
AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED';
|
|
3299
|
+
AxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE';
|
|
3300
|
+
AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST';
|
|
3301
|
+
AxiosError.ERR_CANCELED = 'ERR_CANCELED';
|
|
3302
|
+
AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT';
|
|
3303
|
+
AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';
|
|
3140
3304
|
const core_AxiosError = AxiosError;
|
|
3141
3305
|
const helpers_null = null;
|
|
3142
3306
|
function isVisitable(thing) {
|
|
@@ -3187,6 +3351,10 @@ function toFormData(obj, formData, options) {
|
|
|
3187
3351
|
}
|
|
3188
3352
|
function defaultVisitor(value, key, path) {
|
|
3189
3353
|
let arr = value;
|
|
3354
|
+
if (utils.isReactNative(formData) && utils.isReactNativeBlob(value)) {
|
|
3355
|
+
formData.append(renderKey(path, key, dots), convertValue(value));
|
|
3356
|
+
return false;
|
|
3357
|
+
}
|
|
3190
3358
|
if (value && !path && 'object' == typeof value) {
|
|
3191
3359
|
if (utils.endsWith(key, '{}')) {
|
|
3192
3360
|
key = metaTokens ? key : key.slice(0, -2);
|
|
@@ -3268,14 +3436,14 @@ function buildURL_encode(val) {
|
|
|
3268
3436
|
function buildURL(url, params, options) {
|
|
3269
3437
|
if (!params) return url;
|
|
3270
3438
|
const _encode = options && options.encode || buildURL_encode;
|
|
3271
|
-
|
|
3439
|
+
const _options = utils.isFunction(options) ? {
|
|
3272
3440
|
serialize: options
|
|
3273
|
-
};
|
|
3274
|
-
const serializeFn =
|
|
3441
|
+
} : options;
|
|
3442
|
+
const serializeFn = _options && _options.serialize;
|
|
3275
3443
|
let serializedParams;
|
|
3276
|
-
serializedParams = serializeFn ? serializeFn(params,
|
|
3444
|
+
serializedParams = serializeFn ? serializeFn(params, _options) : utils.isURLSearchParams(params) ? params.toString() : new helpers_AxiosURLSearchParams(params, _options).toString(_encode);
|
|
3277
3445
|
if (serializedParams) {
|
|
3278
|
-
const hashmarkIndex = url.indexOf(
|
|
3446
|
+
const hashmarkIndex = url.indexOf('#');
|
|
3279
3447
|
if (-1 !== hashmarkIndex) url = url.slice(0, hashmarkIndex);
|
|
3280
3448
|
url += (-1 === url.indexOf('?') ? '?' : '&') + serializedParams;
|
|
3281
3449
|
}
|
|
@@ -3310,7 +3478,8 @@ const core_InterceptorManager = InterceptorManager;
|
|
|
3310
3478
|
const defaults_transitional = {
|
|
3311
3479
|
silentJSONParsing: true,
|
|
3312
3480
|
forcedJSONParsing: true,
|
|
3313
|
-
clarifyTimeoutError: false
|
|
3481
|
+
clarifyTimeoutError: false,
|
|
3482
|
+
legacyInterceptorReqResOrdering: true
|
|
3314
3483
|
};
|
|
3315
3484
|
const classes_URLSearchParams = 'undefined' != typeof URLSearchParams ? URLSearchParams : helpers_AxiosURLSearchParams;
|
|
3316
3485
|
const classes_FormData = 'undefined' != typeof FormData ? FormData : null;
|
|
@@ -3694,7 +3863,7 @@ class AxiosHeaders {
|
|
|
3694
3863
|
return Object.entries(this.toJSON()).map(([header, value])=>header + ': ' + value).join('\n');
|
|
3695
3864
|
}
|
|
3696
3865
|
getSetCookie() {
|
|
3697
|
-
return this.get(
|
|
3866
|
+
return this.get('set-cookie') || [];
|
|
3698
3867
|
}
|
|
3699
3868
|
get [Symbol.toStringTag]() {
|
|
3700
3869
|
return 'AxiosHeaders';
|
|
@@ -3757,13 +3926,13 @@ function transformData(fns, response) {
|
|
|
3757
3926
|
function isCancel(value) {
|
|
3758
3927
|
return !!(value && value.__CANCEL__);
|
|
3759
3928
|
}
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3929
|
+
class CanceledError extends core_AxiosError {
|
|
3930
|
+
constructor(message, config, request){
|
|
3931
|
+
super(null == message ? 'canceled' : message, core_AxiosError.ERR_CANCELED, config, request);
|
|
3932
|
+
this.name = 'CanceledError';
|
|
3933
|
+
this.__CANCEL__ = true;
|
|
3934
|
+
}
|
|
3763
3935
|
}
|
|
3764
|
-
utils.inherits(CanceledError, core_AxiosError, {
|
|
3765
|
-
__CANCEL__: true
|
|
3766
|
-
});
|
|
3767
3936
|
const cancel_CanceledError = CanceledError;
|
|
3768
3937
|
function settle(resolve, reject, response) {
|
|
3769
3938
|
const validateStatus = response.config.validateStatus;
|
|
@@ -3907,6 +4076,7 @@ const cookies = platform.hasStandardBrowserEnv ? {
|
|
|
3907
4076
|
remove () {}
|
|
3908
4077
|
};
|
|
3909
4078
|
function isAbsoluteURL(url) {
|
|
4079
|
+
if ('string' != typeof url) return false;
|
|
3910
4080
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
|
|
3911
4081
|
}
|
|
3912
4082
|
function combineURLs(baseURL, relativeURL) {
|
|
@@ -3981,7 +4151,8 @@ function mergeConfig(config1, config2) {
|
|
|
3981
4151
|
...config1,
|
|
3982
4152
|
...config2
|
|
3983
4153
|
}), function(prop) {
|
|
3984
|
-
|
|
4154
|
+
if ('__proto__' === prop || 'constructor' === prop || 'prototype' === prop) return;
|
|
4155
|
+
const merge = utils.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
|
|
3985
4156
|
const configValue = merge(config1[prop], config2[prop], prop);
|
|
3986
4157
|
utils.isUndefined(configValue) && merge !== mergeDirectKeys || (config[prop] = configValue);
|
|
3987
4158
|
});
|
|
@@ -4125,7 +4296,7 @@ const composeSignals = (signals, timeout)=>{
|
|
|
4125
4296
|
};
|
|
4126
4297
|
let timer = timeout && setTimeout(()=>{
|
|
4127
4298
|
timer = null;
|
|
4128
|
-
onabort(new core_AxiosError(`timeout ${timeout}
|
|
4299
|
+
onabort(new core_AxiosError(`timeout of ${timeout}ms exceeded`, core_AxiosError.ETIMEDOUT));
|
|
4129
4300
|
}, timeout);
|
|
4130
4301
|
const unsubscribe = ()=>{
|
|
4131
4302
|
if (signals) {
|
|
@@ -4301,7 +4472,7 @@ const factory = (env)=>{
|
|
|
4301
4472
|
let _request = new Request(url, {
|
|
4302
4473
|
method: 'POST',
|
|
4303
4474
|
body: data,
|
|
4304
|
-
duplex:
|
|
4475
|
+
duplex: 'half'
|
|
4305
4476
|
});
|
|
4306
4477
|
let contentTypeHeader;
|
|
4307
4478
|
if (utils.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) headers.setContentType(contentTypeHeader);
|
|
@@ -4311,14 +4482,14 @@ const factory = (env)=>{
|
|
|
4311
4482
|
}
|
|
4312
4483
|
}
|
|
4313
4484
|
if (!utils.isString(withCredentials)) withCredentials = withCredentials ? 'include' : 'omit';
|
|
4314
|
-
const isCredentialsSupported = isRequestSupported &&
|
|
4485
|
+
const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype;
|
|
4315
4486
|
const resolvedOptions = {
|
|
4316
4487
|
...fetchOptions,
|
|
4317
4488
|
signal: composedSignal,
|
|
4318
4489
|
method: method.toUpperCase(),
|
|
4319
4490
|
headers: headers.normalize().toJSON(),
|
|
4320
4491
|
body: data,
|
|
4321
|
-
duplex:
|
|
4492
|
+
duplex: 'half',
|
|
4322
4493
|
credentials: isCredentialsSupported ? withCredentials : void 0
|
|
4323
4494
|
};
|
|
4324
4495
|
request = isRequestSupported && new Request(url, resolvedOptions);
|
|
@@ -4355,10 +4526,10 @@ const factory = (env)=>{
|
|
|
4355
4526
|
});
|
|
4356
4527
|
} catch (err) {
|
|
4357
4528
|
unsubscribe && unsubscribe();
|
|
4358
|
-
if (err && 'TypeError' === err.name && /Load failed|fetch/i.test(err.message)) throw Object.assign(new core_AxiosError('Network Error', core_AxiosError.ERR_NETWORK, config, request), {
|
|
4529
|
+
if (err && 'TypeError' === err.name && /Load failed|fetch/i.test(err.message)) throw Object.assign(new core_AxiosError('Network Error', core_AxiosError.ERR_NETWORK, config, request, err && err.response), {
|
|
4359
4530
|
cause: err.cause || err
|
|
4360
4531
|
});
|
|
4361
|
-
throw core_AxiosError.from(err, err && err.code, config, request);
|
|
4532
|
+
throw core_AxiosError.from(err, err && err.code, config, request, err && err.response);
|
|
4362
4533
|
}
|
|
4363
4534
|
};
|
|
4364
4535
|
};
|
|
@@ -4478,7 +4649,7 @@ const validators = {};
|
|
|
4478
4649
|
const deprecatedWarnings = {};
|
|
4479
4650
|
validators.transitional = function(validator, version, message) {
|
|
4480
4651
|
function formatMessage(opt, desc) {
|
|
4481
|
-
return "[Axios v1.13.
|
|
4652
|
+
return "[Axios v1.13.6] Transitional option '" + opt + "'" + desc + (message ? '. ' + message : '');
|
|
4482
4653
|
}
|
|
4483
4654
|
return (value, opt, opts)=>{
|
|
4484
4655
|
if (false === validator) throw new core_AxiosError(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), core_AxiosError.ERR_DEPRECATED);
|
|
@@ -4551,7 +4722,8 @@ class Axios {
|
|
|
4551
4722
|
if (void 0 !== transitional) helpers_validator.assertOptions(transitional, {
|
|
4552
4723
|
silentJSONParsing: Axios_validators.transitional(Axios_validators.boolean),
|
|
4553
4724
|
forcedJSONParsing: Axios_validators.transitional(Axios_validators.boolean),
|
|
4554
|
-
clarifyTimeoutError: Axios_validators.transitional(Axios_validators.boolean)
|
|
4725
|
+
clarifyTimeoutError: Axios_validators.transitional(Axios_validators.boolean),
|
|
4726
|
+
legacyInterceptorReqResOrdering: Axios_validators.transitional(Axios_validators.boolean)
|
|
4555
4727
|
}, false);
|
|
4556
4728
|
if (null != paramsSerializer) if (utils.isFunction(paramsSerializer)) config.paramsSerializer = {
|
|
4557
4729
|
serialize: paramsSerializer
|
|
@@ -4586,7 +4758,10 @@ class Axios {
|
|
|
4586
4758
|
this.interceptors.request.forEach(function(interceptor) {
|
|
4587
4759
|
if ('function' == typeof interceptor.runWhen && false === interceptor.runWhen(config)) return;
|
|
4588
4760
|
synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
|
|
4589
|
-
|
|
4761
|
+
const transitional = config.transitional || defaults_transitional;
|
|
4762
|
+
const legacyInterceptorReqResOrdering = transitional && transitional.legacyInterceptorReqResOrdering;
|
|
4763
|
+
if (legacyInterceptorReqResOrdering) requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
|
|
4764
|
+
else requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
|
|
4590
4765
|
});
|
|
4591
4766
|
const responseInterceptorChain = [];
|
|
4592
4767
|
this.interceptors.response.forEach(function(interceptor) {
|
|
@@ -4839,7 +5014,7 @@ axios.Axios = core_Axios;
|
|
|
4839
5014
|
axios.CanceledError = cancel_CanceledError;
|
|
4840
5015
|
axios.CancelToken = cancel_CancelToken;
|
|
4841
5016
|
axios.isCancel = isCancel;
|
|
4842
|
-
axios.VERSION = "1.13.
|
|
5017
|
+
axios.VERSION = "1.13.6";
|
|
4843
5018
|
axios.toFormData = helpers_toFormData;
|
|
4844
5019
|
axios.AxiosError = core_AxiosError;
|
|
4845
5020
|
axios.Cancel = axios.CanceledError;
|
|
@@ -4995,5 +5170,5 @@ const getPropertyName = (property, options)=>{
|
|
|
4995
5170
|
};
|
|
4996
5171
|
var __webpack_exports__DEFAULT_PAGE = 1;
|
|
4997
5172
|
var __webpack_exports__DEFAULT_PAGE_SIZE = 500;
|
|
4998
|
-
var __webpack_exports__PACKAGE_VERSION = "1.0
|
|
4999
|
-
export { ASSIGN_UNKNOWN_TO_CUSTOMER, account_period_constant_AccountPeriodStatus as AccountPeriodStatus, account_type_constant_AccountType as AccountType, common_status_constant_AccountingCommonStatus as AccountingCommonStatus, AccountingCommonSyncStatus, AmmoZeptoBankAccounts, AmmoZeptoClient, CmaPayoutTransactionType, CmaReceiptTransactionType, CmaStatus, cma_input_type_constant_CmaTransactionCreateType as CmaTransactionCreateType, CmaTransactionCreateTypeToDisplayText, cma_input_type_constant_CmaTransactionInputType as CmaTransactionInputType, CmaTransactionInputTypeToDisplayText, cma_payment_method_constant_CmaTransactionPaymentMethod as CmaTransactionPaymentMethod, CmaTransactionStatus, CmaTransactionStatusToDisplayTextMapper, CmaTransactionType, CmaTransactionTypeToDisplayTextMapper, DATE_FORMATS, DEFAULT_DATE_FORMAT, DEFAULT_DATE_FORMAT_WITH_TIME, DEFAULT_DATE_TIME_ZONE, DEFAULT_PAYOUT_SOURCE_BANK_REF, DEFAULT_PAYOUT_SOURCE_DESCRIPTION, DEFAULT_PAYOUT_TARGET_BANK_REF, DEFAULT_PAYOUT_TARGET_DESCRIPTION, InputJsonValueSchema, JsonNullableFilterSchema, MenuStatus, MenuType, MtaCustomerTransactionType, MtaPayoutTransactionType, MtaReceiptTransactionType, mta_MtaStatus as MtaStatus, MtaTransactionExtendedStatus, MtaTransactionExtendedStatusToDisplayTextMapper, mta_input_type_constant_MtaTransactionInputType as MtaTransactionInputType, MtaTransactionInputTypeToDisplayText, mta_payment_method_constant_MtaTransactionPaymentMethod as MtaTransactionPaymentMethod, MtaTransactionStatus, MtaTransactionStatusToDisplayTextMapper, MtaTransactionType, MtaTransactionTypeToDisplayTextMapper, MtaUnknownTransactionType, payment_method_constant_PaymentMethod as PaymentMethod, PayoutBankFileStatus, payout_constant_PayoutSourceAccountType as PayoutSourceAccountType, PayoutStatus, payout_constant_PayoutTargetAccountType as PayoutTargetAccountType, PayoutType, ProjectApplyStatusRestRes, ProjectMtaAllocationStatus, PropertyInitialDepositStatus, PropertyInitialDepositStatusToDisplayTextMapper, property_status_constant_PropertyRestResStatus as PropertyRestResStatus, PropertyStage, PropertyStatusToDisplayTextMapper, QueryMode, reconcile_transaction_action_constant_ReconcileTransactionAction as ReconcileTransactionAction, reconciliation_constant_ReconciliationStatus as ReconciliationStatus, report_data_range_type_constant_ReportDataRangeType as ReportDataRangeType, report_group_type_constant_ReportGroupType as ReportGroupType, sort_order_constant_SortOrder as SortOrder, StringFilterBaseSchema, TRANSACTION_CANCEL, accountBsbFormattedSchema, accountBsbMaskedSchema, accountBsbValidationSchema, accountNumberMaskedSchema, accountNumberValidationSchema, allocateMtaToProjectRestReqSchema, approveMtaAllocationRestReqSchema, assignUnknownReceiptToPropertyRestReqSchema, balanceRestResSchema, bankCodeSchema, bankReconciliationSummaryRestReqSchema, bigIntFilterSchema, bigIntNullableFilterSchema, bigIntNullableObjectFilterSchema, bigIntObjectFilterSchema, bigIntSimpleFilterSchema, boolFilterBaseSchema, boolFilterSchema, cancelCmaTransactionRestReqSchema, cancelMtaTransactionRestReqSchema, cancelPayoutPaymentRestReqSchema, cancelPayoutRestReqSchema, centsToDollarsSchema, cmaAccountPeriodCloseRestReqSchema, cmaAccountPeriodClosingSummaryRestReqSchema, cmaAccountPeriodClosingSummaryRestResSchema, cmaAccountPeriodEntitySchema, cmaAccountPeriodRestResBaseSchema, cmaAccountPeriodRestResSchema, cmaClosedAccountPeriodRestResSchema, cmaEntitySchema, cmaReconciledTransactionEntitySchema, cmaReconciledTransactionRestResSchema, cmaReconciliationEntitySchema, cmaReconciliationRestResSchema, cmaRestResBaseSchema, cmaRestResSchema, cmaSearchRestReqSchema, cmaSettlementPayoutRestResSchema, cmaTransactionEntitySchema, cmaTransactionRestResBaseSchema, cmaTransactionRestResSchema, cmaTransactionSearchRestReqSchema, commonPayoutSourceDetailEntitySchema, commonPayoutTargetDetailEntitySchema, commonReportRestReqSchema, commonReportWithCmaSelectionRestReqSchema, commonUpdatePayoutRestReqSchema, commonUpdatePayoutTargetDetailRestReqSchema, confirmPayoutBankFileProcessedRestReqSchema, createCmaReconciliationRestReqSchema, createCmaRestReqSchema, createCmaTransactionRestReqSchema, createMenuRestReqSchema, createMtaReconciliationRestReqSchema, createMtaRestReqSchema, createMtaToCmaPayoutRestReqSchema, createMtaTransactionRestReqSchema, createSettlementPayoutRestReqSchema, createSettlementPayoutSourceAccountSchema, createSettlementPayoutTargetAccountSchema, createUnknownPayoutRestReqSchema, customerEntitySchema, customerLedgerRestReqSchema, customerSyncFromAmmozeGrpcReqSchema, dateTimeFilterBaseSchema, dateTimeFilterSchema, developerEntitySchema, displayBankAccount, dollarsToCentsSchema, extendDayjs, formatBankBsb, formatCurrency, fromCentsToDollars, fromDollarsToCents, generateMtaPaymentMethodAccountConfigForZepto, generateMtaPaymentMethodFloatAccountConfigForZepto, getPropertyName, getTransactionAmountStr, getTransactionNumber, getTransactionStatus, intFilterSchema, intNullableFilterSchema, intNullableObjectFilterSchema, intObjectFilterSchema, intSimpleFilterSchema, isInterestTransaction, isPaymentTransaction, isReceiptTransaction, isTransactionAssignable, isTransactionCancelable, isUnknownReceiptAssignedToProperty, isUnknownReceiptPaidOut, isUnknownTransaction, markCmaTransactionAsClearedRestReqSchema, markPropertyCmaNotRequiredReqSchema, maskBankAccount, maskBankAccountNumber, maskBankBsb, maskString, menuRestResSchema, menuSchema, mtaAccountPeriodCloseRestReqSchema, mtaAccountPeriodClosingSummaryRestReqSchema, mtaAccountPeriodClosingSummaryRestResSchema, mtaAccountPeriodEntitySchema, mtaAccountPeriodRestResSchema, mtaClosedAccountPeriodRestResSchema, mtaEntitySchema, mtaListItemRestResSchema, mtaPaymentMethodAccountConfigSchema, mtaPaymentMethodEntitySchema, mtaPaymentMethodFloatAccountConfigSchema, mtaPaymentMethodRestResSchema, mtaReconciledTransactionEntitySchema, mtaReconciledTransactionRestResSchema, mtaReconciliationEntitySchema, mtaReconciliationRestResSchema, mtaRestResBaseSchema, mtaRestResSchema, mtaSettlementPayoutRestResSchema, mtaToCmaPayoutPaymentEntitySchema, mtaToCmaPayoutPaymentRestSchema, mtaToCmaPayoutProvisionDataEntitySchema, mtaToCmaPayoutProvisionDataRestSchema, mtaToCmaPayoutRestResSchema, mtaToCmaPayoutSourceDetailEntitySchema, mtaToCmaPayoutSourceDetailRestSchema, mtaToCmaPayoutTargetDetailEntitySchema, mtaToCmaPayoutTargetDetailRestSchema, mtaTransactionEntitySchema, mtaTransactionNestedSchema, mtaTransactionRestResBaseSchema, mtaTransactionRestResSchema, mtaTransactionSearchRestReqSchema, mtaTransactionStatusSummaryRestResSchema, paginatedResSchema, paginationReqSchema, parseToDate, parseToDayjs, paymentListReportRestReqSchema, paymentProviderEntitySchema, payoutBankFileDownloadHistoryEntitySchema, payoutBankFileEntitySchema, payoutBankFileRestResSchema, payoutEntitySchema, payoutProvisionDataEntitySchema, payoutRestResBaseSchema, payoutRestResSchema, payoutSearchRestReqSchema, payoutStatusSummaryRestResSchema, payoutTransactionEntitySchema, payoutTransactionRestResSchema, payoutTransactionSearchRestReqSchema, payoutUpdateRestReqSchema, projectEntitySchema, projectLedgerRestReqSchema, projectMtaAllocationEntitySchema, projectMtaAllocationRestResSchema, projectNestedEntitySchema, projectRestResSchema, projectSearchRestReqSchema, propertyAccountsBalanceRestResSchema, propertyEntitySchema, propertyNestedEntitySchema, propertyRestResBaseSchema, propertyRestResSchema, propertySearchRestReqSchema, propertySyncFromAmmozeGrpcReqSchema, queryModeSchema, receiptListReportRestReqSchema, reconcileCmaTransactionRestReqSchema, reconcileMtaTransactionRestReqSchema, reconciledItemsListReportRestReqSchema, safeParseDateFromStr, settlementPayoutPaymentEntitySchema, settlementPayoutProvisionDataEntitySchema, settlementPayoutRestResSchema, settlementPayoutSourceDetailEntitySchema, settlementPayoutTargetDetailEntitySchema, simpleStringFilterSchema, sortReqSchema, stateCodeSchema, statusFilterSchema, statusNullableFilterSchema, stringFilterSchema, stringNullableFilterSchema, stringToBoolSchema, stringToDateSchema, stringToEndOfDaySchema, stringToStartOfDaySchema, trustTrialBalanceReportRestReqSchema, unknownPayoutPaymentEntitySchema, unknownPayoutProvisionDataEntitySchema, unknownPayoutRestResSchema, unknownPayoutSourceDetailEntitySchema, unknownPayoutTargetDetailEntitySchema, unknownReceiptLedgerRestReqSchema, unreconciledItemsListReportRestReqSchema, updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema, updateCmaSettlementPayoutRestReqSchema, updateMenuRestReqSchema, updateMtaRestReqSchema, updateMtaSettlementPayoutRestReqSchema, updateMtaToCmaPayoutRestReqSchema, updateMtaTransactionRestReqSchema, updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema, updateSettlementPayoutRestReqSchema, updateUnknownPayoutRestReqSchema, updateUnknownPayoutTargetDetailRestReqSchema, userEntitySchema, userRestResSchema, validateGetPropertyNameFormat, __webpack_exports__DEFAULT_PAGE as DEFAULT_PAGE, __webpack_exports__DEFAULT_PAGE_SIZE as DEFAULT_PAGE_SIZE, __webpack_exports__PACKAGE_VERSION as PACKAGE_VERSION };
|
|
5173
|
+
var __webpack_exports__PACKAGE_VERSION = "1.1.0";
|
|
5174
|
+
export { ASSIGN_UNKNOWN_TO_CUSTOMER, account_period_constant_AccountPeriodStatus as AccountPeriodStatus, account_type_constant_AccountType as AccountType, common_status_constant_AccountingCommonStatus as AccountingCommonStatus, AccountingCommonSyncStatus, AmmoZeptoBankAccounts, AmmoZeptoClient, CmaPayoutTransactionType, CmaReceiptTransactionType, cma_creation_request_constant_CmaRequestApprovalStatus as CmaRequestApprovalStatus, CmaStatus, cma_input_type_constant_CmaTransactionCreateType as CmaTransactionCreateType, CmaTransactionCreateTypeToDisplayText, cma_input_type_constant_CmaTransactionInputType as CmaTransactionInputType, CmaTransactionInputTypeToDisplayText, cma_payment_method_constant_CmaTransactionPaymentMethod as CmaTransactionPaymentMethod, CmaTransactionStatus, CmaTransactionStatusToDisplayTextMapper, CmaTransactionType, CmaTransactionTypeToDisplayTextMapper, DATE_FORMATS, DEFAULT_DATE_FORMAT, DEFAULT_DATE_FORMAT_WITH_TIME, DEFAULT_DATE_TIME_ZONE, DEFAULT_PAYOUT_SOURCE_BANK_REF, DEFAULT_PAYOUT_SOURCE_DESCRIPTION, DEFAULT_PAYOUT_TARGET_BANK_REF, DEFAULT_PAYOUT_TARGET_DESCRIPTION, InputJsonValueSchema, JsonNullableFilterSchema, MenuStatus, MenuType, MtaCustomerTransactionType, MtaPayoutTransactionType, MtaReceiptTransactionType, mta_MtaStatus as MtaStatus, MtaTransactionExtendedStatus, MtaTransactionExtendedStatusToDisplayTextMapper, mta_input_type_constant_MtaTransactionInputType as MtaTransactionInputType, MtaTransactionInputTypeToDisplayText, mta_payment_method_constant_MtaTransactionPaymentMethod as MtaTransactionPaymentMethod, MtaTransactionStatus, MtaTransactionStatusToDisplayTextMapper, MtaTransactionType, MtaTransactionTypeToDisplayTextMapper, MtaUnknownTransactionType, payment_method_constant_PaymentMethod as PaymentMethod, PayoutBankFileStatus, payout_constant_PayoutSourceAccountType as PayoutSourceAccountType, PayoutStatus, payout_constant_PayoutTargetAccountType as PayoutTargetAccountType, PayoutType, ProjectApplyStatusRestRes, ProjectMtaAllocationStatus, PropertyInitialDepositStatus, PropertyInitialDepositStatusToDisplayTextMapper, property_status_constant_PropertyRestResStatus as PropertyRestResStatus, PropertyStage, PropertyStatusToDisplayTextMapper, QueryMode, reconcile_transaction_action_constant_ReconcileTransactionAction as ReconcileTransactionAction, reconciliation_constant_ReconciliationStatus as ReconciliationStatus, report_data_range_type_constant_ReportDataRangeType as ReportDataRangeType, report_group_type_constant_ReportGroupType as ReportGroupType, sort_order_constant_SortOrder as SortOrder, StringFilterBaseSchema, TRANSACTION_CANCEL, accountBsbFormattedSchema, accountBsbMaskedSchema, accountBsbValidationSchema, accountNumberMaskedSchema, accountNumberValidationSchema, allocateMtaToProjectRestReqSchema, approveCmaRequestRestReqSchema, approveMtaAllocationRestReqSchema, assignUnknownReceiptToPropertyRestReqSchema, balanceRestResSchema, bankCodeSchema, bankReconciliationSummaryRestReqSchema, bigIntFilterSchema, bigIntNullableFilterSchema, bigIntNullableObjectFilterSchema, bigIntObjectFilterSchema, bigIntSimpleFilterSchema, boolFilterBaseSchema, boolFilterSchema, cancelCmaTransactionRestReqSchema, cancelMtaTransactionRestReqSchema, cancelPayoutPaymentRestReqSchema, cancelPayoutRestReqSchema, centsToDollarsSchema, cmaAccountPeriodCloseRestReqSchema, cmaAccountPeriodClosingSummaryRestReqSchema, cmaAccountPeriodClosingSummaryRestResSchema, cmaAccountPeriodEntitySchema, cmaAccountPeriodRestResBaseSchema, cmaAccountPeriodRestResSchema, cmaClosedAccountPeriodRestResSchema, cmaCreationRequestEntitySchema, cmaEntitySchema, cmaReconciledTransactionEntitySchema, cmaReconciledTransactionRestResSchema, cmaReconciliationEntitySchema, cmaReconciliationRestResSchema, cmaRestResBaseSchema, cmaRestResSchema, cmaSearchRestReqBaseSchema, cmaSearchRestReqSchema, cmaSettlementPayoutRestResSchema, cmaTransactionEntitySchema, cmaTransactionRestResBaseSchema, cmaTransactionRestResSchema, cmaTransactionSearchRestReqSchema, commonPayoutSourceDetailEntitySchema, commonPayoutTargetDetailEntitySchema, commonReportRestReqSchema, commonReportWithCmaSelectionRestReqSchema, commonUpdatePayoutRestReqSchema, commonUpdatePayoutTargetDetailRestReqSchema, confirmPayoutBankFileProcessedRestReqSchema, createCmaReconciliationRestReqSchema, createCmaRequestRestReqSchema, createCmaRestReqSchema, createCmaTransactionRestReqSchema, createMenuRestReqSchema, createMtaReconciliationRestReqSchema, createMtaRestReqSchema, createMtaToCmaPayoutRestReqSchema, createMtaTransactionRestReqSchema, createRefundPayoutRestReqSchema, createRefundPayoutSourceAccountSchema, createRefundPayoutTargetAccountSchema, createSettlementPayoutRestReqSchema, createSettlementPayoutSourceAccountSchema, createSettlementPayoutTargetAccountSchema, createUnknownPayoutRestReqSchema, customerEntitySchema, customerLedgerRestReqSchema, customerSyncFromAmmozeGrpcReqSchema, dateTimeFilterBaseSchema, dateTimeFilterSchema, developerEntitySchema, displayBankAccount, dollarsToCentsSchema, extendDayjs, formatBankBsb, formatCurrency, fromCentsToDollars, fromDollarsToCents, generateMtaPaymentMethodAccountConfigForZepto, generateMtaPaymentMethodFloatAccountConfigForZepto, getPropertyName, getTransactionAmountStr, getTransactionNumber, getTransactionStatus, intFilterSchema, intNullableFilterSchema, intNullableObjectFilterSchema, intObjectFilterSchema, intSimpleFilterSchema, isInterestTransaction, isPaymentTransaction, isReceiptTransaction, isTransactionAssignable, isTransactionCancelable, isUnknownReceiptAssignedToProperty, isUnknownReceiptPaidOut, isUnknownTransaction, markCmaTransactionAsClearedRestReqSchema, markPropertyCmaNotRequiredReqSchema, maskBankAccount, maskBankAccountNumber, maskBankBsb, maskString, menuRestResSchema, menuSchema, mtaAccountPeriodCloseRestReqSchema, mtaAccountPeriodClosingSummaryRestReqSchema, mtaAccountPeriodClosingSummaryRestResSchema, mtaAccountPeriodEntitySchema, mtaAccountPeriodRestResSchema, mtaClosedAccountPeriodRestResSchema, mtaEntitySchema, mtaListItemRestResSchema, mtaPaymentMethodAccountConfigSchema, mtaPaymentMethodEntitySchema, mtaPaymentMethodFloatAccountConfigSchema, mtaPaymentMethodRestResSchema, mtaReconciledTransactionEntitySchema, mtaReconciledTransactionRestResSchema, mtaReconciliationEntitySchema, mtaReconciliationRestResSchema, mtaRestResBaseSchema, mtaRestResSchema, mtaSettlementPayoutRestResSchema, mtaToCmaPayoutPaymentEntitySchema, mtaToCmaPayoutPaymentRestSchema, mtaToCmaPayoutProvisionDataEntitySchema, mtaToCmaPayoutProvisionDataRestSchema, mtaToCmaPayoutRestResSchema, mtaToCmaPayoutSourceDetailEntitySchema, mtaToCmaPayoutSourceDetailRestSchema, mtaToCmaPayoutTargetDetailEntitySchema, mtaToCmaPayoutTargetDetailRestSchema, mtaTransactionEntitySchema, mtaTransactionNestedSchema, mtaTransactionRestResBaseSchema, mtaTransactionRestResSchema, mtaTransactionSearchRestReqSchema, mtaTransactionStatusSummaryRestResSchema, paginatedResSchema, paginationReqSchema, parseToDate, parseToDayjs, paymentListReportRestReqSchema, paymentProviderEntitySchema, payoutBankFileDownloadHistoryEntitySchema, payoutBankFileEntitySchema, payoutBankFileRestResSchema, payoutEntitySchema, payoutProvisionDataEntitySchema, payoutRestResBaseSchema, payoutRestResSchema, payoutSearchRestReqSchema, payoutStatusSummaryRestResSchema, payoutTransactionEntitySchema, payoutTransactionRestResSchema, payoutTransactionSearchRestReqSchema, payoutUpdateRestReqSchema, projectEntitySchema, projectLedgerRestReqSchema, projectMtaAllocationEntitySchema, projectMtaAllocationRestResSchema, projectNestedEntitySchema, projectRestResSchema, projectSearchRestReqSchema, propertyAccountsBalanceRestResSchema, propertyEntitySchema, propertyNestedEntitySchema, propertyRestResBaseSchema, propertyRestResSchema, propertySearchRestReqBaseSchema, propertySearchRestReqSchema, propertySyncFromAmmozeGrpcReqSchema, queryModeSchema, receiptListReportRestReqSchema, reconcileCmaTransactionRestReqSchema, reconcileMtaTransactionRestReqSchema, reconciledItemsListReportRestReqSchema, refundPayoutPaymentEntitySchema, refundPayoutProvisionDataEntitySchema, refundPayoutRestResSchema, refundPayoutSourceDetailEntitySchema, refundPayoutTargetDetailEntitySchema, rejectCmaRequestRestReqSchema, safeParseDateFromStr, settlementPayoutPaymentEntitySchema, settlementPayoutProvisionDataEntitySchema, settlementPayoutRestResSchema, settlementPayoutSourceDetailEntitySchema, settlementPayoutTargetDetailEntitySchema, simpleStringFilterSchema, sortReqSchema, stateCodeSchema, statusFilterSchema, statusNullableFilterSchema, stringFilterSchema, stringNullableFilterSchema, stringToBoolSchema, stringToDateSchema, stringToEndOfDaySchema, stringToStartOfDaySchema, trustTrialBalanceReportRestReqSchema, unknownPayoutPaymentEntitySchema, unknownPayoutProvisionDataEntitySchema, unknownPayoutRestResSchema, unknownPayoutSourceDetailEntitySchema, unknownPayoutTargetDetailEntitySchema, unknownReceiptLedgerRestReqSchema, unreconciledItemsListReportRestReqSchema, updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema, updateCmaRequestRestReqSchema, updateCmaSettlementPayoutRestReqSchema, updateMenuRestReqSchema, updateMtaRestReqSchema, updateMtaSettlementPayoutRestReqSchema, updateMtaToCmaPayoutRestReqSchema, updateMtaTransactionRestReqSchema, updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema, updateRefundPayoutRestReqSchema, updateRefundPayoutTargetDetailRestReqSchema, updateSettlementPayoutRestReqSchema, updateUnknownPayoutRestReqSchema, updateUnknownPayoutTargetDetailRestReqSchema, userEntitySchema, userRestResSchema, validateGetPropertyNameFormat, __webpack_exports__DEFAULT_PAGE as DEFAULT_PAGE, __webpack_exports__DEFAULT_PAGE_SIZE as DEFAULT_PAGE_SIZE, __webpack_exports__PACKAGE_VERSION as PACKAGE_VERSION };
|