@mikemo-coposit/am-accounting-shared 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/constants/cma/cma.constant.d.ts +6 -0
- package/dist/cjs/constants/cma/cma.constant.d.ts.map +1 -0
- package/dist/cjs/constants/cma/index.d.ts +1 -1
- package/dist/cjs/constants/cma/index.d.ts.map +1 -1
- package/dist/cjs/constants/cma-transaction/cma-input-type.constant.d.ts +4 -0
- package/dist/cjs/constants/cma-transaction/cma-input-type.constant.d.ts.map +1 -0
- package/dist/cjs/constants/cma-transaction/cma-payment-method.constant.d.ts +4 -0
- package/dist/cjs/constants/cma-transaction/cma-payment-method.constant.d.ts.map +1 -0
- package/dist/cjs/constants/cma-transaction/cma-transaction-type.constant.d.ts +20 -0
- package/dist/cjs/constants/cma-transaction/cma-transaction-type.constant.d.ts.map +1 -0
- package/dist/cjs/constants/cma-transaction/index.d.ts +4 -0
- package/dist/cjs/constants/cma-transaction/index.d.ts.map +1 -0
- package/dist/cjs/constants/common/account-period.constant.d.ts +5 -0
- package/dist/cjs/constants/common/account-period.constant.d.ts.map +1 -0
- package/dist/cjs/constants/common/index.d.ts +2 -0
- package/dist/cjs/constants/common/index.d.ts.map +1 -1
- package/dist/cjs/constants/common/reconciliation.constant.d.ts +5 -0
- package/dist/cjs/constants/common/reconciliation.constant.d.ts.map +1 -0
- package/dist/cjs/constants/index.d.ts +1 -0
- package/dist/cjs/constants/index.d.ts.map +1 -1
- package/dist/cjs/index.js +823 -354
- package/dist/cjs/schemas/cma/cma-res.schema.d.ts +333 -0
- package/dist/cjs/schemas/cma/cma-res.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma/cma.entity.schema.d.ts +64 -0
- package/dist/cjs/schemas/cma/cma.entity.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma/create-cma.schema.d.ts +25 -0
- package/dist/cjs/schemas/cma/create-cma.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma/index.d.ts +3 -3
- package/dist/cjs/schemas/cma/index.d.ts.map +1 -1
- package/dist/cjs/schemas/cma-account-period/cma-account-period-close.rest.schema.d.ts +19 -0
- package/dist/cjs/schemas/cma-account-period/cma-account-period-close.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +4381 -0
- package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-account-period/cma-account-period.entity.schema.d.ts +46 -0
- package/dist/cjs/schemas/cma-account-period/cma-account-period.entity.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +1052 -0
- package/dist/cjs/schemas/cma-account-period/cma-account-period.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-account-period/index.d.ts +6 -0
- package/dist/cjs/schemas/cma-account-period/index.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-account-period/update-cma-period-reconciled-to.schema.d.ts +19 -0
- package/dist/cjs/schemas/cma-account-period/update-cma-period-reconciled-to.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.entity.schema.d.ts +37 -0
- package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.entity.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +49 -0
- package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-reconciled-transaction/index.d.ts +3 -0
- package/dist/cjs/schemas/cma-reconciled-transaction/index.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.entity.schema.d.ts +61 -0
- package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.entity.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts +71 -0
- package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts +16 -0
- package/dist/cjs/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-reconciliation/index.d.ts +5 -0
- package/dist/cjs/schemas/cma-reconciliation/index.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-reconciliation/update-cma-reconciliation-current-bank-balance.rest.schema.d.ts +13 -0
- package/dist/cjs/schemas/cma-reconciliation/update-cma-reconciliation-current-bank-balance.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-transaction/cancel-cma-transaction.rest.schema.d.ts +16 -0
- package/dist/cjs/schemas/cma-transaction/cancel-cma-transaction.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-transaction/cma-transaction.entity.schema.d.ts +48 -42
- 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 +1206 -0
- package/dist/cjs/schemas/cma-transaction/cma-transaction.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts +38 -0
- package/dist/cjs/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/cma-transaction/index.d.ts +4 -0
- package/dist/cjs/schemas/cma-transaction/index.d.ts.map +1 -1
- package/dist/cjs/schemas/cma-transaction/reconcile-cma-transaction.rest.schema.d.ts +17 -0
- package/dist/cjs/schemas/cma-transaction/reconcile-cma-transaction.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/developer/developer.enity.schema.d.ts +2 -2
- package/dist/cjs/schemas/index.d.ts +3 -0
- package/dist/cjs/schemas/index.d.ts.map +1 -1
- package/dist/cjs/schemas/menu/create-menu.schema.d.ts +2 -2
- package/dist/cjs/schemas/menu/menu-res.schema.d.ts +16 -16
- package/dist/cjs/schemas/menu/update-menu.schema.d.ts +2 -2
- package/dist/cjs/schemas/mta/create-mta.rest.schema.d.ts +2 -2
- package/dist/cjs/schemas/mta/mta.entity.schema.d.ts +16 -16
- package/dist/cjs/schemas/mta/mta.rest.schema.d.ts +186 -186
- package/dist/cjs/schemas/mta-account-period/mta-account-period-close.rest.schema.d.ts +2 -2
- package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +1750 -1354
- 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 +2 -2
- package/dist/cjs/schemas/mta-account-period/mta-account-period.rest.schema.d.ts +286 -286
- package/dist/cjs/schemas/mta-payment-method/mta-payment-method.rest.schema.d.ts +52 -52
- package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.entity.schema.d.ts +2 -2
- package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +2 -2
- package/dist/cjs/schemas/mta-reconciliation/mta-reconciliation.entity.schema.d.ts +4 -4
- package/dist/cjs/schemas/mta-reconciliation/mta-reconciliation.rest.schema.d.ts +4 -4
- package/dist/cjs/schemas/mta-transaction/assign-unknonw-receipt-to-property.rest.schema.d.ts +2 -2
- package/dist/cjs/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts +11 -11
- package/dist/cjs/schemas/mta-transaction/mta-transaction.entity.schema.d.ts +20 -20
- package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +586 -1366
- package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout/payout.create.schema.d.ts +4 -4
- package/dist/cjs/schemas/payout/payout.entity.schema.d.ts +14 -14
- package/dist/cjs/schemas/payout/payout.rest.create.schema.d.ts +8 -8
- package/dist/cjs/schemas/payout/payout.rest.list.schema.d.ts +6 -6
- package/dist/cjs/schemas/payout/payout.rest.view.schema.d.ts +36 -36
- package/dist/cjs/schemas/project/project.entity.schema.d.ts +6 -6
- package/dist/cjs/schemas/project/project.rest.schema.d.ts +254 -254
- package/dist/cjs/schemas/project-mta-allocation/allocate-mta-to-project.schema.d.ts +2 -2
- package/dist/cjs/schemas/project-mta-allocation/project-mta-allocation.entity.schema.d.ts +4 -4
- package/dist/cjs/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts +68 -68
- package/dist/cjs/schemas/property/customer.entity.schema.d.ts +33 -0
- package/dist/cjs/schemas/property/customer.entity.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/property/index.d.ts +2 -0
- package/dist/cjs/schemas/property/index.d.ts.map +1 -1
- package/dist/cjs/schemas/property/property-accounts-balance.rest.schema.d.ts +66 -0
- package/dist/cjs/schemas/property/property-accounts-balance.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/property/property.entity.schema.d.ts +6 -6
- package/dist/cjs/schemas/property/property.rest.schema.d.ts +687 -1433
- package/dist/cjs/schemas/property/property.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/user/user.entity.schema.d.ts +4 -4
- package/dist/cjs/utils/transaction.util.d.ts +4 -2
- package/dist/cjs/utils/transaction.util.d.ts.map +1 -1
- package/dist/esm/constants/cma/cma.constant.d.ts +6 -0
- package/dist/esm/constants/cma/cma.constant.d.ts.map +1 -0
- package/dist/esm/constants/cma/index.d.ts +1 -1
- package/dist/esm/constants/cma/index.d.ts.map +1 -1
- package/dist/esm/constants/cma-transaction/cma-input-type.constant.d.ts +4 -0
- package/dist/esm/constants/cma-transaction/cma-input-type.constant.d.ts.map +1 -0
- package/dist/esm/constants/cma-transaction/cma-payment-method.constant.d.ts +4 -0
- package/dist/esm/constants/cma-transaction/cma-payment-method.constant.d.ts.map +1 -0
- package/dist/esm/constants/cma-transaction/cma-transaction-type.constant.d.ts +20 -0
- package/dist/esm/constants/cma-transaction/cma-transaction-type.constant.d.ts.map +1 -0
- package/dist/esm/constants/cma-transaction/index.d.ts +4 -0
- package/dist/esm/constants/cma-transaction/index.d.ts.map +1 -0
- package/dist/esm/constants/common/account-period.constant.d.ts +5 -0
- package/dist/esm/constants/common/account-period.constant.d.ts.map +1 -0
- package/dist/esm/constants/common/index.d.ts +2 -0
- package/dist/esm/constants/common/index.d.ts.map +1 -1
- package/dist/esm/constants/common/reconciliation.constant.d.ts +5 -0
- package/dist/esm/constants/common/reconciliation.constant.d.ts.map +1 -0
- package/dist/esm/constants/index.d.ts +1 -0
- package/dist/esm/constants/index.d.ts.map +1 -1
- package/dist/esm/index.mjs +699 -320
- package/dist/esm/schemas/cma/cma-res.schema.d.ts +333 -0
- package/dist/esm/schemas/cma/cma-res.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma/cma.entity.schema.d.ts +64 -0
- package/dist/esm/schemas/cma/cma.entity.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma/create-cma.schema.d.ts +25 -0
- package/dist/esm/schemas/cma/create-cma.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma/index.d.ts +3 -3
- package/dist/esm/schemas/cma/index.d.ts.map +1 -1
- package/dist/esm/schemas/cma-account-period/cma-account-period-close.rest.schema.d.ts +19 -0
- package/dist/esm/schemas/cma-account-period/cma-account-period-close.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +4381 -0
- package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-account-period/cma-account-period.entity.schema.d.ts +46 -0
- package/dist/esm/schemas/cma-account-period/cma-account-period.entity.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +1052 -0
- package/dist/esm/schemas/cma-account-period/cma-account-period.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-account-period/index.d.ts +6 -0
- package/dist/esm/schemas/cma-account-period/index.d.ts.map +1 -0
- package/dist/esm/schemas/cma-account-period/update-cma-period-reconciled-to.schema.d.ts +19 -0
- package/dist/esm/schemas/cma-account-period/update-cma-period-reconciled-to.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.entity.schema.d.ts +37 -0
- package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.entity.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +49 -0
- package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-reconciled-transaction/index.d.ts +3 -0
- package/dist/esm/schemas/cma-reconciled-transaction/index.d.ts.map +1 -0
- package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.entity.schema.d.ts +61 -0
- package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.entity.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts +71 -0
- package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts +16 -0
- package/dist/esm/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-reconciliation/index.d.ts +5 -0
- package/dist/esm/schemas/cma-reconciliation/index.d.ts.map +1 -0
- package/dist/esm/schemas/cma-reconciliation/update-cma-reconciliation-current-bank-balance.rest.schema.d.ts +13 -0
- package/dist/esm/schemas/cma-reconciliation/update-cma-reconciliation-current-bank-balance.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-transaction/cancel-cma-transaction.rest.schema.d.ts +16 -0
- package/dist/esm/schemas/cma-transaction/cancel-cma-transaction.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-transaction/cma-transaction.entity.schema.d.ts +48 -42
- 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 +1206 -0
- package/dist/esm/schemas/cma-transaction/cma-transaction.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts +38 -0
- package/dist/esm/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/cma-transaction/index.d.ts +4 -0
- package/dist/esm/schemas/cma-transaction/index.d.ts.map +1 -1
- package/dist/esm/schemas/cma-transaction/reconcile-cma-transaction.rest.schema.d.ts +17 -0
- package/dist/esm/schemas/cma-transaction/reconcile-cma-transaction.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/developer/developer.enity.schema.d.ts +2 -2
- package/dist/esm/schemas/index.d.ts +3 -0
- package/dist/esm/schemas/index.d.ts.map +1 -1
- package/dist/esm/schemas/menu/create-menu.schema.d.ts +2 -2
- package/dist/esm/schemas/menu/menu-res.schema.d.ts +16 -16
- package/dist/esm/schemas/menu/update-menu.schema.d.ts +2 -2
- package/dist/esm/schemas/mta/create-mta.rest.schema.d.ts +2 -2
- package/dist/esm/schemas/mta/mta.entity.schema.d.ts +16 -16
- package/dist/esm/schemas/mta/mta.rest.schema.d.ts +186 -186
- package/dist/esm/schemas/mta-account-period/mta-account-period-close.rest.schema.d.ts +2 -2
- package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +1750 -1354
- 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 +2 -2
- package/dist/esm/schemas/mta-account-period/mta-account-period.rest.schema.d.ts +286 -286
- package/dist/esm/schemas/mta-payment-method/mta-payment-method.rest.schema.d.ts +52 -52
- package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.entity.schema.d.ts +2 -2
- package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +2 -2
- package/dist/esm/schemas/mta-reconciliation/mta-reconciliation.entity.schema.d.ts +4 -4
- package/dist/esm/schemas/mta-reconciliation/mta-reconciliation.rest.schema.d.ts +4 -4
- package/dist/esm/schemas/mta-transaction/assign-unknonw-receipt-to-property.rest.schema.d.ts +2 -2
- package/dist/esm/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts +11 -11
- package/dist/esm/schemas/mta-transaction/mta-transaction.entity.schema.d.ts +20 -20
- package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +586 -1366
- package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout/payout.create.schema.d.ts +4 -4
- package/dist/esm/schemas/payout/payout.entity.schema.d.ts +14 -14
- package/dist/esm/schemas/payout/payout.rest.create.schema.d.ts +8 -8
- package/dist/esm/schemas/payout/payout.rest.list.schema.d.ts +6 -6
- package/dist/esm/schemas/payout/payout.rest.view.schema.d.ts +36 -36
- package/dist/esm/schemas/project/project.entity.schema.d.ts +6 -6
- package/dist/esm/schemas/project/project.rest.schema.d.ts +254 -254
- package/dist/esm/schemas/project-mta-allocation/allocate-mta-to-project.schema.d.ts +2 -2
- package/dist/esm/schemas/project-mta-allocation/project-mta-allocation.entity.schema.d.ts +4 -4
- package/dist/esm/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts +68 -68
- package/dist/esm/schemas/property/customer.entity.schema.d.ts +33 -0
- package/dist/esm/schemas/property/customer.entity.schema.d.ts.map +1 -0
- package/dist/esm/schemas/property/index.d.ts +2 -0
- package/dist/esm/schemas/property/index.d.ts.map +1 -1
- package/dist/esm/schemas/property/property-accounts-balance.rest.schema.d.ts +66 -0
- package/dist/esm/schemas/property/property-accounts-balance.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/property/property.entity.schema.d.ts +6 -6
- package/dist/esm/schemas/property/property.rest.schema.d.ts +687 -1433
- package/dist/esm/schemas/property/property.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/user/user.entity.schema.d.ts +4 -4
- package/dist/esm/utils/transaction.util.d.ts +4 -2
- package/dist/esm/utils/transaction.util.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/constants/cma/cma-account.constant.d.ts +0 -6
- package/dist/cjs/constants/cma/cma-account.constant.d.ts.map +0 -1
- package/dist/cjs/schemas/cma/cma-account-res.schema.d.ts +0 -67
- package/dist/cjs/schemas/cma/cma-account-res.schema.d.ts.map +0 -1
- package/dist/cjs/schemas/cma/cma-account.entity.schema.d.ts +0 -67
- package/dist/cjs/schemas/cma/cma-account.entity.schema.d.ts.map +0 -1
- package/dist/cjs/schemas/cma/create-cma-account.schema.d.ts +0 -24
- package/dist/cjs/schemas/cma/create-cma-account.schema.d.ts.map +0 -1
- package/dist/esm/constants/cma/cma-account.constant.d.ts +0 -6
- package/dist/esm/constants/cma/cma-account.constant.d.ts.map +0 -1
- package/dist/esm/schemas/cma/cma-account-res.schema.d.ts +0 -67
- package/dist/esm/schemas/cma/cma-account-res.schema.d.ts.map +0 -1
- package/dist/esm/schemas/cma/cma-account.entity.schema.d.ts +0 -67
- package/dist/esm/schemas/cma/cma-account.entity.schema.d.ts.map +0 -1
- package/dist/esm/schemas/cma/create-cma-account.schema.d.ts +0 -24
- package/dist/esm/schemas/cma/create-cma-account.schema.d.ts.map +0 -1
|
@@ -79,40 +79,40 @@ export declare const mtaRestResSchema: z.ZodObject<{
|
|
|
79
79
|
updatedBy: z.ZodNullable<z.ZodString>;
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
81
|
id: string;
|
|
82
|
-
balanceCents: bigint;
|
|
83
82
|
status: string;
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
isArchived: boolean;
|
|
84
|
+
createdAt: Date;
|
|
85
|
+
syncedAt: Date | null;
|
|
86
|
+
updatedAt: Date;
|
|
87
|
+
balanceCents: bigint;
|
|
88
|
+
country: string;
|
|
86
89
|
stateCode: string;
|
|
87
90
|
bankCode: string;
|
|
88
91
|
bsb: string;
|
|
89
92
|
accountNumber: string;
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
updatedAt: Date;
|
|
93
|
+
currentReceiveSeq: number;
|
|
94
|
+
currentPayoutSeq: number;
|
|
93
95
|
createdBy: string | null;
|
|
94
|
-
syncedAt: Date | null;
|
|
95
96
|
name: string;
|
|
96
|
-
country: string;
|
|
97
97
|
subsidiaryId: string;
|
|
98
98
|
updatedBy: string | null;
|
|
99
99
|
}, {
|
|
100
100
|
id: string;
|
|
101
|
-
balanceCents: bigint;
|
|
102
101
|
status: string;
|
|
103
|
-
|
|
104
|
-
|
|
102
|
+
isArchived: boolean;
|
|
103
|
+
createdAt: Date;
|
|
104
|
+
syncedAt: Date | null;
|
|
105
|
+
updatedAt: Date;
|
|
106
|
+
balanceCents: bigint;
|
|
107
|
+
country: string;
|
|
105
108
|
stateCode: string;
|
|
106
109
|
bankCode: string;
|
|
107
110
|
bsb: string;
|
|
108
111
|
accountNumber: string;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
updatedAt: Date;
|
|
112
|
+
currentReceiveSeq: number;
|
|
113
|
+
currentPayoutSeq: number;
|
|
112
114
|
createdBy: string | null;
|
|
113
|
-
syncedAt: Date | null;
|
|
114
115
|
name: string;
|
|
115
|
-
country: string;
|
|
116
116
|
subsidiaryId: string;
|
|
117
117
|
updatedBy: string | null;
|
|
118
118
|
}>>>;
|
|
@@ -175,6 +175,26 @@ export declare const mtaRestResSchema: z.ZodObject<{
|
|
|
175
175
|
bankAccountId: string;
|
|
176
176
|
};
|
|
177
177
|
};
|
|
178
|
+
mta?: {
|
|
179
|
+
id: string;
|
|
180
|
+
status: string;
|
|
181
|
+
isArchived: boolean;
|
|
182
|
+
createdAt: Date;
|
|
183
|
+
syncedAt: Date | null;
|
|
184
|
+
updatedAt: Date;
|
|
185
|
+
balanceCents: bigint;
|
|
186
|
+
country: string;
|
|
187
|
+
stateCode: string;
|
|
188
|
+
bankCode: string;
|
|
189
|
+
bsb: string;
|
|
190
|
+
accountNumber: string;
|
|
191
|
+
currentReceiveSeq: number;
|
|
192
|
+
currentPayoutSeq: number;
|
|
193
|
+
createdBy: string | null;
|
|
194
|
+
name: string;
|
|
195
|
+
subsidiaryId: string;
|
|
196
|
+
updatedBy: string | null;
|
|
197
|
+
} | undefined;
|
|
178
198
|
floatAccount?: {
|
|
179
199
|
credential: {
|
|
180
200
|
bankAccountId: string;
|
|
@@ -191,26 +211,6 @@ export declare const mtaRestResSchema: z.ZodObject<{
|
|
|
191
211
|
providerCode: string;
|
|
192
212
|
settings: string;
|
|
193
213
|
} | undefined;
|
|
194
|
-
mta?: {
|
|
195
|
-
id: string;
|
|
196
|
-
balanceCents: bigint;
|
|
197
|
-
status: string;
|
|
198
|
-
currentReceiveSeq: number;
|
|
199
|
-
currentPayoutSeq: number;
|
|
200
|
-
stateCode: string;
|
|
201
|
-
bankCode: string;
|
|
202
|
-
bsb: string;
|
|
203
|
-
accountNumber: string;
|
|
204
|
-
isArchived: boolean;
|
|
205
|
-
createdAt: Date;
|
|
206
|
-
updatedAt: Date;
|
|
207
|
-
createdBy: string | null;
|
|
208
|
-
syncedAt: Date | null;
|
|
209
|
-
name: string;
|
|
210
|
-
country: string;
|
|
211
|
-
subsidiaryId: string;
|
|
212
|
-
updatedBy: string | null;
|
|
213
|
-
} | undefined;
|
|
214
214
|
}, {
|
|
215
215
|
id: string;
|
|
216
216
|
status: string;
|
|
@@ -221,37 +221,37 @@ export declare const mtaRestResSchema: z.ZodObject<{
|
|
|
221
221
|
bankAccountId: string;
|
|
222
222
|
paymentProviderId: string;
|
|
223
223
|
account: string;
|
|
224
|
-
|
|
225
|
-
paymentProvider?: {
|
|
224
|
+
mta?: {
|
|
226
225
|
id: string;
|
|
227
226
|
status: string;
|
|
228
227
|
isArchived: boolean;
|
|
229
228
|
createdAt: Date;
|
|
229
|
+
syncedAt: Date | null;
|
|
230
230
|
updatedAt: Date;
|
|
231
|
-
name: string;
|
|
232
|
-
providerCode: string;
|
|
233
|
-
settings: string;
|
|
234
|
-
} | undefined;
|
|
235
|
-
mta?: {
|
|
236
|
-
id: string;
|
|
237
231
|
balanceCents: bigint;
|
|
238
|
-
|
|
239
|
-
currentReceiveSeq: number;
|
|
240
|
-
currentPayoutSeq: number;
|
|
232
|
+
country: string;
|
|
241
233
|
stateCode: string;
|
|
242
234
|
bankCode: string;
|
|
243
235
|
bsb: string;
|
|
244
236
|
accountNumber: string;
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
updatedAt: Date;
|
|
237
|
+
currentReceiveSeq: number;
|
|
238
|
+
currentPayoutSeq: number;
|
|
248
239
|
createdBy: string | null;
|
|
249
|
-
syncedAt: Date | null;
|
|
250
240
|
name: string;
|
|
251
|
-
country: string;
|
|
252
241
|
subsidiaryId: string;
|
|
253
242
|
updatedBy: string | null;
|
|
254
243
|
} | undefined;
|
|
244
|
+
floatAccount?: string | null | undefined;
|
|
245
|
+
paymentProvider?: {
|
|
246
|
+
id: string;
|
|
247
|
+
status: string;
|
|
248
|
+
isArchived: boolean;
|
|
249
|
+
createdAt: Date;
|
|
250
|
+
updatedAt: Date;
|
|
251
|
+
name: string;
|
|
252
|
+
providerCode: string;
|
|
253
|
+
settings: string;
|
|
254
|
+
} | undefined;
|
|
255
255
|
}>, "many">>>;
|
|
256
256
|
accountPeriods: z.ZodLazy<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
257
257
|
id: z.ZodString;
|
|
@@ -273,13 +273,13 @@ export declare const mtaRestResSchema: z.ZodObject<{
|
|
|
273
273
|
isArchived: boolean;
|
|
274
274
|
createdAt: Date;
|
|
275
275
|
updatedAt: Date;
|
|
276
|
+
mtaId: string;
|
|
276
277
|
startDate: Date;
|
|
277
278
|
endDate: Date | null;
|
|
278
279
|
openingBalanceCents: bigint;
|
|
279
280
|
closingBalanceCents: bigint | null;
|
|
280
281
|
closedBy: string | null;
|
|
281
282
|
closedAt: Date | null;
|
|
282
|
-
mtaId: string;
|
|
283
283
|
closingDescription: string | null;
|
|
284
284
|
}, {
|
|
285
285
|
id: string;
|
|
@@ -287,32 +287,32 @@ export declare const mtaRestResSchema: z.ZodObject<{
|
|
|
287
287
|
isArchived: boolean;
|
|
288
288
|
createdAt: Date;
|
|
289
289
|
updatedAt: Date;
|
|
290
|
+
mtaId: string;
|
|
290
291
|
startDate: Date;
|
|
291
292
|
endDate: Date | null;
|
|
292
293
|
openingBalanceCents: bigint;
|
|
293
294
|
closingBalanceCents: bigint | null;
|
|
294
295
|
closedBy: string | null;
|
|
295
296
|
closedAt: Date | null;
|
|
296
|
-
mtaId: string;
|
|
297
297
|
closingDescription: string | null;
|
|
298
298
|
}>, "many">>>;
|
|
299
299
|
}, "strip", z.ZodTypeAny, {
|
|
300
300
|
id: string;
|
|
301
|
-
balanceCents: number;
|
|
302
301
|
status: string;
|
|
303
|
-
|
|
304
|
-
|
|
302
|
+
isArchived: boolean;
|
|
303
|
+
createdAt: Date;
|
|
304
|
+
syncedAt: Date | null;
|
|
305
|
+
updatedAt: Date;
|
|
306
|
+
balanceCents: number;
|
|
307
|
+
country: string;
|
|
305
308
|
stateCode: AuStateCode;
|
|
306
309
|
bankCode: AuTrustAccountBankCode;
|
|
307
310
|
bsb: string;
|
|
308
311
|
accountNumber: string;
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
updatedAt: Date;
|
|
312
|
+
currentReceiveSeq: number;
|
|
313
|
+
currentPayoutSeq: number;
|
|
312
314
|
createdBy: string | null;
|
|
313
|
-
syncedAt: Date | null;
|
|
314
315
|
name: string;
|
|
315
|
-
country: string;
|
|
316
316
|
subsidiaryId: string;
|
|
317
317
|
updatedBy: string | null;
|
|
318
318
|
paymentMethods?: {
|
|
@@ -331,6 +331,26 @@ export declare const mtaRestResSchema: z.ZodObject<{
|
|
|
331
331
|
bankAccountId: string;
|
|
332
332
|
};
|
|
333
333
|
};
|
|
334
|
+
mta?: {
|
|
335
|
+
id: string;
|
|
336
|
+
status: string;
|
|
337
|
+
isArchived: boolean;
|
|
338
|
+
createdAt: Date;
|
|
339
|
+
syncedAt: Date | null;
|
|
340
|
+
updatedAt: Date;
|
|
341
|
+
balanceCents: bigint;
|
|
342
|
+
country: string;
|
|
343
|
+
stateCode: string;
|
|
344
|
+
bankCode: string;
|
|
345
|
+
bsb: string;
|
|
346
|
+
accountNumber: string;
|
|
347
|
+
currentReceiveSeq: number;
|
|
348
|
+
currentPayoutSeq: number;
|
|
349
|
+
createdBy: string | null;
|
|
350
|
+
name: string;
|
|
351
|
+
subsidiaryId: string;
|
|
352
|
+
updatedBy: string | null;
|
|
353
|
+
} | undefined;
|
|
334
354
|
floatAccount?: {
|
|
335
355
|
credential: {
|
|
336
356
|
bankAccountId: string;
|
|
@@ -347,26 +367,6 @@ export declare const mtaRestResSchema: z.ZodObject<{
|
|
|
347
367
|
providerCode: string;
|
|
348
368
|
settings: string;
|
|
349
369
|
} | undefined;
|
|
350
|
-
mta?: {
|
|
351
|
-
id: string;
|
|
352
|
-
balanceCents: bigint;
|
|
353
|
-
status: string;
|
|
354
|
-
currentReceiveSeq: number;
|
|
355
|
-
currentPayoutSeq: number;
|
|
356
|
-
stateCode: string;
|
|
357
|
-
bankCode: string;
|
|
358
|
-
bsb: string;
|
|
359
|
-
accountNumber: string;
|
|
360
|
-
isArchived: boolean;
|
|
361
|
-
createdAt: Date;
|
|
362
|
-
updatedAt: Date;
|
|
363
|
-
createdBy: string | null;
|
|
364
|
-
syncedAt: Date | null;
|
|
365
|
-
name: string;
|
|
366
|
-
country: string;
|
|
367
|
-
subsidiaryId: string;
|
|
368
|
-
updatedBy: string | null;
|
|
369
|
-
} | undefined;
|
|
370
370
|
}[] | undefined;
|
|
371
371
|
accountPeriods?: {
|
|
372
372
|
id: string;
|
|
@@ -374,32 +374,32 @@ export declare const mtaRestResSchema: z.ZodObject<{
|
|
|
374
374
|
isArchived: boolean;
|
|
375
375
|
createdAt: Date;
|
|
376
376
|
updatedAt: Date;
|
|
377
|
+
mtaId: string;
|
|
377
378
|
startDate: Date;
|
|
378
379
|
endDate: Date | null;
|
|
379
380
|
openingBalanceCents: bigint;
|
|
380
381
|
closingBalanceCents: bigint | null;
|
|
381
382
|
closedBy: string | null;
|
|
382
383
|
closedAt: Date | null;
|
|
383
|
-
mtaId: string;
|
|
384
384
|
closingDescription: string | null;
|
|
385
385
|
}[] | undefined;
|
|
386
386
|
}, {
|
|
387
387
|
id: string;
|
|
388
|
-
balanceCents: number | bigint;
|
|
389
388
|
status: string;
|
|
390
|
-
|
|
391
|
-
|
|
389
|
+
isArchived: boolean;
|
|
390
|
+
createdAt: Date;
|
|
391
|
+
syncedAt: Date | null;
|
|
392
|
+
updatedAt: Date;
|
|
393
|
+
balanceCents: number | bigint;
|
|
394
|
+
country: string;
|
|
392
395
|
stateCode: AuStateCode;
|
|
393
396
|
bankCode: AuTrustAccountBankCode;
|
|
394
397
|
bsb: string;
|
|
395
398
|
accountNumber: string;
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
updatedAt: Date;
|
|
399
|
+
currentReceiveSeq: number;
|
|
400
|
+
currentPayoutSeq: number;
|
|
399
401
|
createdBy: string | null;
|
|
400
|
-
syncedAt: Date | null;
|
|
401
402
|
name: string;
|
|
402
|
-
country: string;
|
|
403
403
|
subsidiaryId: string;
|
|
404
404
|
updatedBy: string | null;
|
|
405
405
|
paymentMethods?: {
|
|
@@ -412,37 +412,37 @@ export declare const mtaRestResSchema: z.ZodObject<{
|
|
|
412
412
|
bankAccountId: string;
|
|
413
413
|
paymentProviderId: string;
|
|
414
414
|
account: string;
|
|
415
|
-
|
|
416
|
-
paymentProvider?: {
|
|
415
|
+
mta?: {
|
|
417
416
|
id: string;
|
|
418
417
|
status: string;
|
|
419
418
|
isArchived: boolean;
|
|
420
419
|
createdAt: Date;
|
|
420
|
+
syncedAt: Date | null;
|
|
421
421
|
updatedAt: Date;
|
|
422
|
-
name: string;
|
|
423
|
-
providerCode: string;
|
|
424
|
-
settings: string;
|
|
425
|
-
} | undefined;
|
|
426
|
-
mta?: {
|
|
427
|
-
id: string;
|
|
428
422
|
balanceCents: bigint;
|
|
429
|
-
|
|
430
|
-
currentReceiveSeq: number;
|
|
431
|
-
currentPayoutSeq: number;
|
|
423
|
+
country: string;
|
|
432
424
|
stateCode: string;
|
|
433
425
|
bankCode: string;
|
|
434
426
|
bsb: string;
|
|
435
427
|
accountNumber: string;
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
updatedAt: Date;
|
|
428
|
+
currentReceiveSeq: number;
|
|
429
|
+
currentPayoutSeq: number;
|
|
439
430
|
createdBy: string | null;
|
|
440
|
-
syncedAt: Date | null;
|
|
441
431
|
name: string;
|
|
442
|
-
country: string;
|
|
443
432
|
subsidiaryId: string;
|
|
444
433
|
updatedBy: string | null;
|
|
445
434
|
} | undefined;
|
|
435
|
+
floatAccount?: string | null | undefined;
|
|
436
|
+
paymentProvider?: {
|
|
437
|
+
id: string;
|
|
438
|
+
status: string;
|
|
439
|
+
isArchived: boolean;
|
|
440
|
+
createdAt: Date;
|
|
441
|
+
updatedAt: Date;
|
|
442
|
+
name: string;
|
|
443
|
+
providerCode: string;
|
|
444
|
+
settings: string;
|
|
445
|
+
} | undefined;
|
|
446
446
|
}[] | undefined;
|
|
447
447
|
accountPeriods?: {
|
|
448
448
|
id: string;
|
|
@@ -450,13 +450,13 @@ export declare const mtaRestResSchema: z.ZodObject<{
|
|
|
450
450
|
isArchived: boolean;
|
|
451
451
|
createdAt: Date;
|
|
452
452
|
updatedAt: Date;
|
|
453
|
+
mtaId: string;
|
|
453
454
|
startDate: Date;
|
|
454
455
|
endDate: Date | null;
|
|
455
456
|
openingBalanceCents: bigint;
|
|
456
457
|
closingBalanceCents: bigint | null;
|
|
457
458
|
closedBy: string | null;
|
|
458
459
|
closedAt: Date | null;
|
|
459
|
-
mtaId: string;
|
|
460
460
|
closingDescription: string | null;
|
|
461
461
|
}[] | undefined;
|
|
462
462
|
}>;
|
|
@@ -539,40 +539,40 @@ export declare const mtaListItemRestResSchema: z.ZodObject<Omit<{
|
|
|
539
539
|
updatedBy: z.ZodNullable<z.ZodString>;
|
|
540
540
|
}, "strip", z.ZodTypeAny, {
|
|
541
541
|
id: string;
|
|
542
|
-
balanceCents: bigint;
|
|
543
542
|
status: string;
|
|
544
|
-
|
|
545
|
-
|
|
543
|
+
isArchived: boolean;
|
|
544
|
+
createdAt: Date;
|
|
545
|
+
syncedAt: Date | null;
|
|
546
|
+
updatedAt: Date;
|
|
547
|
+
balanceCents: bigint;
|
|
548
|
+
country: string;
|
|
546
549
|
stateCode: string;
|
|
547
550
|
bankCode: string;
|
|
548
551
|
bsb: string;
|
|
549
552
|
accountNumber: string;
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
updatedAt: Date;
|
|
553
|
+
currentReceiveSeq: number;
|
|
554
|
+
currentPayoutSeq: number;
|
|
553
555
|
createdBy: string | null;
|
|
554
|
-
syncedAt: Date | null;
|
|
555
556
|
name: string;
|
|
556
|
-
country: string;
|
|
557
557
|
subsidiaryId: string;
|
|
558
558
|
updatedBy: string | null;
|
|
559
559
|
}, {
|
|
560
560
|
id: string;
|
|
561
|
-
balanceCents: bigint;
|
|
562
561
|
status: string;
|
|
563
|
-
|
|
564
|
-
|
|
562
|
+
isArchived: boolean;
|
|
563
|
+
createdAt: Date;
|
|
564
|
+
syncedAt: Date | null;
|
|
565
|
+
updatedAt: Date;
|
|
566
|
+
balanceCents: bigint;
|
|
567
|
+
country: string;
|
|
565
568
|
stateCode: string;
|
|
566
569
|
bankCode: string;
|
|
567
570
|
bsb: string;
|
|
568
571
|
accountNumber: string;
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
updatedAt: Date;
|
|
572
|
+
currentReceiveSeq: number;
|
|
573
|
+
currentPayoutSeq: number;
|
|
572
574
|
createdBy: string | null;
|
|
573
|
-
syncedAt: Date | null;
|
|
574
575
|
name: string;
|
|
575
|
-
country: string;
|
|
576
576
|
subsidiaryId: string;
|
|
577
577
|
updatedBy: string | null;
|
|
578
578
|
}>>>;
|
|
@@ -635,6 +635,26 @@ export declare const mtaListItemRestResSchema: z.ZodObject<Omit<{
|
|
|
635
635
|
bankAccountId: string;
|
|
636
636
|
};
|
|
637
637
|
};
|
|
638
|
+
mta?: {
|
|
639
|
+
id: string;
|
|
640
|
+
status: string;
|
|
641
|
+
isArchived: boolean;
|
|
642
|
+
createdAt: Date;
|
|
643
|
+
syncedAt: Date | null;
|
|
644
|
+
updatedAt: Date;
|
|
645
|
+
balanceCents: bigint;
|
|
646
|
+
country: string;
|
|
647
|
+
stateCode: string;
|
|
648
|
+
bankCode: string;
|
|
649
|
+
bsb: string;
|
|
650
|
+
accountNumber: string;
|
|
651
|
+
currentReceiveSeq: number;
|
|
652
|
+
currentPayoutSeq: number;
|
|
653
|
+
createdBy: string | null;
|
|
654
|
+
name: string;
|
|
655
|
+
subsidiaryId: string;
|
|
656
|
+
updatedBy: string | null;
|
|
657
|
+
} | undefined;
|
|
638
658
|
floatAccount?: {
|
|
639
659
|
credential: {
|
|
640
660
|
bankAccountId: string;
|
|
@@ -651,26 +671,6 @@ export declare const mtaListItemRestResSchema: z.ZodObject<Omit<{
|
|
|
651
671
|
providerCode: string;
|
|
652
672
|
settings: string;
|
|
653
673
|
} | undefined;
|
|
654
|
-
mta?: {
|
|
655
|
-
id: string;
|
|
656
|
-
balanceCents: bigint;
|
|
657
|
-
status: string;
|
|
658
|
-
currentReceiveSeq: number;
|
|
659
|
-
currentPayoutSeq: number;
|
|
660
|
-
stateCode: string;
|
|
661
|
-
bankCode: string;
|
|
662
|
-
bsb: string;
|
|
663
|
-
accountNumber: string;
|
|
664
|
-
isArchived: boolean;
|
|
665
|
-
createdAt: Date;
|
|
666
|
-
updatedAt: Date;
|
|
667
|
-
createdBy: string | null;
|
|
668
|
-
syncedAt: Date | null;
|
|
669
|
-
name: string;
|
|
670
|
-
country: string;
|
|
671
|
-
subsidiaryId: string;
|
|
672
|
-
updatedBy: string | null;
|
|
673
|
-
} | undefined;
|
|
674
674
|
}, {
|
|
675
675
|
id: string;
|
|
676
676
|
status: string;
|
|
@@ -681,37 +681,37 @@ export declare const mtaListItemRestResSchema: z.ZodObject<Omit<{
|
|
|
681
681
|
bankAccountId: string;
|
|
682
682
|
paymentProviderId: string;
|
|
683
683
|
account: string;
|
|
684
|
-
|
|
685
|
-
paymentProvider?: {
|
|
684
|
+
mta?: {
|
|
686
685
|
id: string;
|
|
687
686
|
status: string;
|
|
688
687
|
isArchived: boolean;
|
|
689
688
|
createdAt: Date;
|
|
689
|
+
syncedAt: Date | null;
|
|
690
690
|
updatedAt: Date;
|
|
691
|
-
name: string;
|
|
692
|
-
providerCode: string;
|
|
693
|
-
settings: string;
|
|
694
|
-
} | undefined;
|
|
695
|
-
mta?: {
|
|
696
|
-
id: string;
|
|
697
691
|
balanceCents: bigint;
|
|
698
|
-
|
|
699
|
-
currentReceiveSeq: number;
|
|
700
|
-
currentPayoutSeq: number;
|
|
692
|
+
country: string;
|
|
701
693
|
stateCode: string;
|
|
702
694
|
bankCode: string;
|
|
703
695
|
bsb: string;
|
|
704
696
|
accountNumber: string;
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
updatedAt: Date;
|
|
697
|
+
currentReceiveSeq: number;
|
|
698
|
+
currentPayoutSeq: number;
|
|
708
699
|
createdBy: string | null;
|
|
709
|
-
syncedAt: Date | null;
|
|
710
700
|
name: string;
|
|
711
|
-
country: string;
|
|
712
701
|
subsidiaryId: string;
|
|
713
702
|
updatedBy: string | null;
|
|
714
703
|
} | undefined;
|
|
704
|
+
floatAccount?: string | null | undefined;
|
|
705
|
+
paymentProvider?: {
|
|
706
|
+
id: string;
|
|
707
|
+
status: string;
|
|
708
|
+
isArchived: boolean;
|
|
709
|
+
createdAt: Date;
|
|
710
|
+
updatedAt: Date;
|
|
711
|
+
name: string;
|
|
712
|
+
providerCode: string;
|
|
713
|
+
settings: string;
|
|
714
|
+
} | undefined;
|
|
715
715
|
}>, "many">>>;
|
|
716
716
|
accountPeriods: z.ZodLazy<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
717
717
|
id: z.ZodString;
|
|
@@ -733,13 +733,13 @@ export declare const mtaListItemRestResSchema: z.ZodObject<Omit<{
|
|
|
733
733
|
isArchived: boolean;
|
|
734
734
|
createdAt: Date;
|
|
735
735
|
updatedAt: Date;
|
|
736
|
+
mtaId: string;
|
|
736
737
|
startDate: Date;
|
|
737
738
|
endDate: Date | null;
|
|
738
739
|
openingBalanceCents: bigint;
|
|
739
740
|
closingBalanceCents: bigint | null;
|
|
740
741
|
closedBy: string | null;
|
|
741
742
|
closedAt: Date | null;
|
|
742
|
-
mtaId: string;
|
|
743
743
|
closingDescription: string | null;
|
|
744
744
|
}, {
|
|
745
745
|
id: string;
|
|
@@ -747,13 +747,13 @@ export declare const mtaListItemRestResSchema: z.ZodObject<Omit<{
|
|
|
747
747
|
isArchived: boolean;
|
|
748
748
|
createdAt: Date;
|
|
749
749
|
updatedAt: Date;
|
|
750
|
+
mtaId: string;
|
|
750
751
|
startDate: Date;
|
|
751
752
|
endDate: Date | null;
|
|
752
753
|
openingBalanceCents: bigint;
|
|
753
754
|
closingBalanceCents: bigint | null;
|
|
754
755
|
closedBy: string | null;
|
|
755
756
|
closedAt: Date | null;
|
|
756
|
-
mtaId: string;
|
|
757
757
|
closingDescription: string | null;
|
|
758
758
|
}>, "many">>>;
|
|
759
759
|
}, "paymentMethods" | "accountPeriods"> & {
|
|
@@ -785,11 +785,11 @@ export declare const mtaListItemRestResSchema: z.ZodObject<Omit<{
|
|
|
785
785
|
status: string;
|
|
786
786
|
isArchived: boolean;
|
|
787
787
|
createdAt: Date;
|
|
788
|
+
mtaId: string;
|
|
788
789
|
createdBy: string;
|
|
789
|
-
updatedBy: string | null;
|
|
790
790
|
closedBy: string | null;
|
|
791
791
|
closedAt: Date | null;
|
|
792
|
-
|
|
792
|
+
updatedBy: string | null;
|
|
793
793
|
mtaAccountPeriodId: string;
|
|
794
794
|
reconciledTo: Date;
|
|
795
795
|
reconciledAmountCents: bigint | null;
|
|
@@ -807,11 +807,11 @@ export declare const mtaListItemRestResSchema: z.ZodObject<Omit<{
|
|
|
807
807
|
status: string;
|
|
808
808
|
isArchived: boolean;
|
|
809
809
|
createdAt: Date;
|
|
810
|
+
mtaId: string;
|
|
810
811
|
createdBy: string;
|
|
811
|
-
updatedBy: string | null;
|
|
812
812
|
closedBy: string | null;
|
|
813
813
|
closedAt: Date | null;
|
|
814
|
-
|
|
814
|
+
updatedBy: string | null;
|
|
815
815
|
mtaAccountPeriodId: string;
|
|
816
816
|
reconciledTo: Date;
|
|
817
817
|
reconciledAmountCents: bigint | null;
|
|
@@ -827,21 +827,21 @@ export declare const mtaListItemRestResSchema: z.ZodObject<Omit<{
|
|
|
827
827
|
}>>>>;
|
|
828
828
|
}, "strip", z.ZodTypeAny, {
|
|
829
829
|
id: string;
|
|
830
|
-
balanceCents: number;
|
|
831
830
|
status: string;
|
|
832
|
-
|
|
833
|
-
|
|
831
|
+
isArchived: boolean;
|
|
832
|
+
createdAt: Date;
|
|
833
|
+
syncedAt: Date | null;
|
|
834
|
+
updatedAt: Date;
|
|
835
|
+
balanceCents: number;
|
|
836
|
+
country: string;
|
|
834
837
|
stateCode: AuStateCode;
|
|
835
838
|
bankCode: AuTrustAccountBankCode;
|
|
836
839
|
bsb: string;
|
|
837
840
|
accountNumber: string;
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
updatedAt: Date;
|
|
841
|
+
currentReceiveSeq: number;
|
|
842
|
+
currentPayoutSeq: number;
|
|
841
843
|
createdBy: string | null;
|
|
842
|
-
syncedAt: Date | null;
|
|
843
844
|
name: string;
|
|
844
|
-
country: string;
|
|
845
845
|
subsidiaryId: string;
|
|
846
846
|
updatedBy: string | null;
|
|
847
847
|
currentReconciliation?: {
|
|
@@ -849,11 +849,11 @@ export declare const mtaListItemRestResSchema: z.ZodObject<Omit<{
|
|
|
849
849
|
status: string;
|
|
850
850
|
isArchived: boolean;
|
|
851
851
|
createdAt: Date;
|
|
852
|
+
mtaId: string;
|
|
852
853
|
createdBy: string;
|
|
853
|
-
updatedBy: string | null;
|
|
854
854
|
closedBy: string | null;
|
|
855
855
|
closedAt: Date | null;
|
|
856
|
-
|
|
856
|
+
updatedBy: string | null;
|
|
857
857
|
mtaAccountPeriodId: string;
|
|
858
858
|
reconciledTo: Date;
|
|
859
859
|
reconciledAmountCents: bigint | null;
|
|
@@ -869,21 +869,21 @@ export declare const mtaListItemRestResSchema: z.ZodObject<Omit<{
|
|
|
869
869
|
} | null | undefined;
|
|
870
870
|
}, {
|
|
871
871
|
id: string;
|
|
872
|
-
balanceCents: number | bigint;
|
|
873
872
|
status: string;
|
|
874
|
-
|
|
875
|
-
|
|
873
|
+
isArchived: boolean;
|
|
874
|
+
createdAt: Date;
|
|
875
|
+
syncedAt: Date | null;
|
|
876
|
+
updatedAt: Date;
|
|
877
|
+
balanceCents: number | bigint;
|
|
878
|
+
country: string;
|
|
876
879
|
stateCode: AuStateCode;
|
|
877
880
|
bankCode: AuTrustAccountBankCode;
|
|
878
881
|
bsb: string;
|
|
879
882
|
accountNumber: string;
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
updatedAt: Date;
|
|
883
|
+
currentReceiveSeq: number;
|
|
884
|
+
currentPayoutSeq: number;
|
|
883
885
|
createdBy: string | null;
|
|
884
|
-
syncedAt: Date | null;
|
|
885
886
|
name: string;
|
|
886
|
-
country: string;
|
|
887
887
|
subsidiaryId: string;
|
|
888
888
|
updatedBy: string | null;
|
|
889
889
|
currentReconciliation?: {
|
|
@@ -891,11 +891,11 @@ export declare const mtaListItemRestResSchema: z.ZodObject<Omit<{
|
|
|
891
891
|
status: string;
|
|
892
892
|
isArchived: boolean;
|
|
893
893
|
createdAt: Date;
|
|
894
|
+
mtaId: string;
|
|
894
895
|
createdBy: string;
|
|
895
|
-
updatedBy: string | null;
|
|
896
896
|
closedBy: string | null;
|
|
897
897
|
closedAt: Date | null;
|
|
898
|
-
|
|
898
|
+
updatedBy: string | null;
|
|
899
899
|
mtaAccountPeriodId: string;
|
|
900
900
|
reconciledTo: Date;
|
|
901
901
|
reconciledAmountCents: bigint | null;
|
|
@@ -5,13 +5,13 @@ export declare const mtaAccountPeriodCloseRestReqSchema: z.ZodObject<{
|
|
|
5
5
|
endDate: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, Date, string | Date>, z.ZodDate>;
|
|
6
6
|
closingDescription: z.ZodOptional<z.ZodString>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
endDate: Date;
|
|
9
8
|
mtaId: string;
|
|
9
|
+
endDate: Date;
|
|
10
10
|
mtaAccountPeriodId: string;
|
|
11
11
|
closingDescription?: string | undefined;
|
|
12
12
|
}, {
|
|
13
|
-
endDate: string | Date;
|
|
14
13
|
mtaId: string;
|
|
14
|
+
endDate: string | Date;
|
|
15
15
|
mtaAccountPeriodId: string;
|
|
16
16
|
closingDescription?: string | undefined;
|
|
17
17
|
}>;
|