@mikemo-coposit/am-accounting-shared 0.0.8 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/constants/cma-transaction/cma-input-type.constant.d.ts +13 -0
- package/dist/cjs/constants/cma-transaction/cma-input-type.constant.d.ts.map +1 -1
- package/dist/cjs/constants/mta-transaction/mta-input-type.constant.d.ts +6 -5
- package/dist/cjs/constants/mta-transaction/mta-input-type.constant.d.ts.map +1 -1
- package/dist/cjs/constants/mta-transaction/mta-type.constant.d.ts +10 -0
- package/dist/cjs/constants/mta-transaction/mta-type.constant.d.ts.map +1 -1
- package/dist/cjs/index.js +211 -155
- package/dist/cjs/schemas/cma/cma.entity.schema.d.ts +44 -44
- package/dist/cjs/schemas/cma/cma.rest.schema.d.ts +44 -44
- package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +399 -399
- package/dist/cjs/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +66 -66
- package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +220 -220
- package/dist/cjs/schemas/cma-transaction/cma-transaction.entity.schema.d.ts +44 -44
- package/dist/cjs/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +44 -44
- package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +417 -417
- 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 +138 -138
- 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.map +1 -1
- package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +50 -47
- package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout/payout-provision-data.rest.schema.d.ts +1487 -1487
- package/dist/cjs/schemas/payout/payout-provision-data.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout/payout.rest.schema.d.ts +4007 -4007
- package/dist/cjs/schemas/payout/payout.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +675 -675
- package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts.map +1 -1
- package/dist/cjs/schemas/property/property.entity.schema.d.ts +22 -22
- package/dist/cjs/schemas/property/property.rest.schema.d.ts +292 -292
- package/dist/cjs/schemas/property/property.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/report/bank-reconciliation-summary.schema.d.ts +57 -0
- package/dist/cjs/schemas/report/bank-reconciliation-summary.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/report/common-report-with-cma-selection.rest.schema.d.ts +58 -0
- package/dist/cjs/schemas/report/common-report-with-cma-selection.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/report/customer-ledger.rest.schema.d.ts +2 -2
- package/dist/cjs/schemas/report/index.d.ts +5 -0
- package/dist/cjs/schemas/report/index.d.ts.map +1 -1
- package/dist/cjs/schemas/report/payment-list.rest.schema.d.ts +34 -0
- package/dist/cjs/schemas/report/payment-list.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/report/reconciled-items-list.rest.schema.d.ts +57 -0
- package/dist/cjs/schemas/report/reconciled-items-list.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/report/trust-trial.rest.schema.d.ts +10 -6
- package/dist/cjs/schemas/report/trust-trial.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/report/unreconciled-items-list.rest.schema.d.ts +57 -0
- package/dist/cjs/schemas/report/unreconciled-items-list.rest.schema.d.ts.map +1 -0
- package/dist/cjs/utils/property.util.d.ts +1 -1
- package/dist/cjs/utils/property.util.d.ts.map +1 -1
- package/dist/esm/constants/cma-transaction/cma-input-type.constant.d.ts +13 -0
- package/dist/esm/constants/cma-transaction/cma-input-type.constant.d.ts.map +1 -1
- package/dist/esm/constants/mta-transaction/mta-input-type.constant.d.ts +6 -5
- package/dist/esm/constants/mta-transaction/mta-input-type.constant.d.ts.map +1 -1
- package/dist/esm/constants/mta-transaction/mta-type.constant.d.ts +10 -0
- package/dist/esm/constants/mta-transaction/mta-type.constant.d.ts.map +1 -1
- package/dist/esm/index.mjs +58 -35
- package/dist/esm/schemas/cma/cma.entity.schema.d.ts +44 -44
- package/dist/esm/schemas/cma/cma.rest.schema.d.ts +44 -44
- package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +399 -399
- package/dist/esm/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +66 -66
- package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +220 -220
- package/dist/esm/schemas/cma-transaction/cma-transaction.entity.schema.d.ts +44 -44
- package/dist/esm/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +44 -44
- package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +417 -417
- 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 +138 -138
- 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.map +1 -1
- package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +50 -47
- package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout/payout-provision-data.rest.schema.d.ts +1487 -1487
- package/dist/esm/schemas/payout/payout-provision-data.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout/payout.rest.schema.d.ts +4007 -4007
- package/dist/esm/schemas/payout/payout.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +675 -675
- package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts.map +1 -1
- package/dist/esm/schemas/property/property.entity.schema.d.ts +22 -22
- package/dist/esm/schemas/property/property.rest.schema.d.ts +292 -292
- package/dist/esm/schemas/property/property.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/report/bank-reconciliation-summary.schema.d.ts +57 -0
- package/dist/esm/schemas/report/bank-reconciliation-summary.schema.d.ts.map +1 -0
- package/dist/esm/schemas/report/common-report-with-cma-selection.rest.schema.d.ts +58 -0
- package/dist/esm/schemas/report/common-report-with-cma-selection.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/report/customer-ledger.rest.schema.d.ts +2 -2
- package/dist/esm/schemas/report/index.d.ts +5 -0
- package/dist/esm/schemas/report/index.d.ts.map +1 -1
- package/dist/esm/schemas/report/payment-list.rest.schema.d.ts +34 -0
- package/dist/esm/schemas/report/payment-list.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/report/reconciled-items-list.rest.schema.d.ts +57 -0
- package/dist/esm/schemas/report/reconciled-items-list.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/report/trust-trial.rest.schema.d.ts +10 -6
- package/dist/esm/schemas/report/trust-trial.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/report/unreconciled-items-list.rest.schema.d.ts +57 -0
- package/dist/esm/schemas/report/unreconciled-items-list.rest.schema.d.ts.map +1 -0
- package/dist/esm/utils/property.util.d.ts +1 -1
- package/dist/esm/utils/property.util.d.ts.map +1 -1
- package/package.json +8 -9
package/dist/esm/index.mjs
CHANGED
|
@@ -40,11 +40,25 @@ const CmaStatus = {
|
|
|
40
40
|
INACTIVE: 'inactive'
|
|
41
41
|
};
|
|
42
42
|
var cma_input_type_constant_CmaTransactionInputType = /*#__PURE__*/ function(CmaTransactionInputType) {
|
|
43
|
-
CmaTransactionInputType["
|
|
44
|
-
CmaTransactionInputType["
|
|
45
|
-
CmaTransactionInputType["FROM_PAYOUT"] = "from_payout";
|
|
43
|
+
CmaTransactionInputType["RECEIPT"] = "receipt";
|
|
44
|
+
CmaTransactionInputType["PAYMENT"] = "payment";
|
|
46
45
|
return CmaTransactionInputType;
|
|
47
46
|
}({});
|
|
47
|
+
var cma_input_type_constant_CmaTransactionCreateType = /*#__PURE__*/ function(CmaTransactionCreateType) {
|
|
48
|
+
CmaTransactionCreateType["MANUAL"] = "manual";
|
|
49
|
+
CmaTransactionCreateType["SYSTEM"] = "system";
|
|
50
|
+
CmaTransactionCreateType["FROM_PAYOUT"] = "from_payout";
|
|
51
|
+
return CmaTransactionCreateType;
|
|
52
|
+
}({});
|
|
53
|
+
const CmaTransactionInputTypeToDisplayText = {
|
|
54
|
+
["receipt"]: 'Receipt',
|
|
55
|
+
["payment"]: 'Payment'
|
|
56
|
+
};
|
|
57
|
+
const CmaTransactionCreateTypeToDisplayText = {
|
|
58
|
+
["manual"]: 'Manual',
|
|
59
|
+
["system"]: 'System',
|
|
60
|
+
["from_payout"]: 'From Payout'
|
|
61
|
+
};
|
|
48
62
|
var cma_payment_method_constant_CmaTransactionPaymentMethod = /*#__PURE__*/ function(CmaTransactionPaymentMethod) {
|
|
49
63
|
CmaTransactionPaymentMethod["EFT"] = "EFT";
|
|
50
64
|
return CmaTransactionPaymentMethod;
|
|
@@ -126,13 +140,14 @@ var mta_MtaStatus = /*#__PURE__*/ function(MtaStatus) {
|
|
|
126
140
|
return MtaStatus;
|
|
127
141
|
}({});
|
|
128
142
|
var mta_input_type_constant_MtaTransactionInputType = /*#__PURE__*/ function(MtaTransactionInputType) {
|
|
129
|
-
MtaTransactionInputType["
|
|
130
|
-
MtaTransactionInputType["
|
|
131
|
-
MtaTransactionInputType["SYSTEM"] = "system";
|
|
132
|
-
MtaTransactionInputType["PAYOUT"] = "payout";
|
|
133
|
-
MtaTransactionInputType["MANUAL"] = "manual";
|
|
143
|
+
MtaTransactionInputType["RECEIPT"] = "receipt";
|
|
144
|
+
MtaTransactionInputType["PAYMENT"] = "payment";
|
|
134
145
|
return MtaTransactionInputType;
|
|
135
146
|
}({});
|
|
147
|
+
const MtaTransactionInputTypeToDisplayText = {
|
|
148
|
+
["receipt"]: 'Receipt',
|
|
149
|
+
["payment"]: 'Payment'
|
|
150
|
+
};
|
|
136
151
|
var mta_payment_method_constant_MtaTransactionPaymentMethod = /*#__PURE__*/ function(MtaTransactionPaymentMethod) {
|
|
137
152
|
MtaTransactionPaymentMethod["EFT"] = "EFT";
|
|
138
153
|
return MtaTransactionPaymentMethod;
|
|
@@ -147,12 +162,18 @@ const MtaTransactionStatusToDisplayTextMapper = {
|
|
|
147
162
|
[MtaTransactionStatus.CLEARED]: 'Cleared',
|
|
148
163
|
[MtaTransactionStatus.RECONCILED]: 'Reconciled'
|
|
149
164
|
};
|
|
150
|
-
const
|
|
151
|
-
UNKNOWN: 'unknown',
|
|
165
|
+
const MtaCustomerTransactionType = {
|
|
152
166
|
HOLDING_DEPOSIT: 'holding_deposit',
|
|
153
167
|
SIGNING_DEPOSIT: 'signing_deposit',
|
|
154
168
|
WEEKLY_PAYMENT: 'weekly_payment'
|
|
155
169
|
};
|
|
170
|
+
const MtaUnknownTransactionType = {
|
|
171
|
+
UNKNOWN: 'unknown'
|
|
172
|
+
};
|
|
173
|
+
const MtaReceiptTransactionType = {
|
|
174
|
+
...MtaCustomerTransactionType,
|
|
175
|
+
...MtaUnknownTransactionType
|
|
176
|
+
};
|
|
156
177
|
const ASSIGN_UNKNOWN_TO_CUSTOMER = 'assign_unknown_to_customer';
|
|
157
178
|
const TRANSACTION_CANCEL = 'transaction_cancel';
|
|
158
179
|
const MtaPayoutTransactionType = {
|
|
@@ -729,7 +750,7 @@ const getTransactionAmountStr = (transaction)=>{
|
|
|
729
750
|
};
|
|
730
751
|
const isUnknownReceiptAssignedToProperty = (transaction)=>{
|
|
731
752
|
if (transaction.transactionType !== MtaTransactionType.UNKNOWN) return null;
|
|
732
|
-
const index = (transaction.subsequentTransactions || []).findIndex((item)=>item.inputType === mta_input_type_constant_MtaTransactionInputType.
|
|
753
|
+
const index = (transaction.subsequentTransactions || []).findIndex((item)=>item.inputType === mta_input_type_constant_MtaTransactionInputType.RECEIPT);
|
|
733
754
|
if (index > -1) return true;
|
|
734
755
|
return false;
|
|
735
756
|
};
|
|
@@ -1192,7 +1213,7 @@ const createCmaTransactionRestReqSchema = z.object({
|
|
|
1192
1213
|
z.nativeEnum(cma_payment_method_constant_CmaTransactionPaymentMethod),
|
|
1193
1214
|
z.string().length(0)
|
|
1194
1215
|
]).transform((val)=>'' === val ? cma_payment_method_constant_CmaTransactionPaymentMethod.EFT : val).default(cma_payment_method_constant_CmaTransactionPaymentMethod.EFT),
|
|
1195
|
-
inputType: z.nativeEnum(cma_input_type_constant_CmaTransactionInputType).default(cma_input_type_constant_CmaTransactionInputType.
|
|
1216
|
+
inputType: z.nativeEnum(cma_input_type_constant_CmaTransactionInputType).default(cma_input_type_constant_CmaTransactionInputType.RECEIPT)
|
|
1196
1217
|
});
|
|
1197
1218
|
const reconcileCmaTransactionRestReqSchema = z.object({
|
|
1198
1219
|
cmaTransactionId: z.string().uuid(),
|
|
@@ -1487,7 +1508,7 @@ const mtaTransactionRestResBaseSchema = mtaTransactionEntitySchema.extend({
|
|
|
1487
1508
|
balanceCents: centsToDollarsSchema,
|
|
1488
1509
|
inputType: z.string().pipe(z.nativeEnum(mta_input_type_constant_MtaTransactionInputType)),
|
|
1489
1510
|
transactionType: z.string().pipe(z.nativeEnum(MtaTransactionType)),
|
|
1490
|
-
status: z.string().pipe(z.nativeEnum(
|
|
1511
|
+
status: z.string().pipe(z.nativeEnum(MtaTransactionStatus)),
|
|
1491
1512
|
createdBy: z.union([
|
|
1492
1513
|
z.string().uuid(),
|
|
1493
1514
|
userRestResSchema
|
|
@@ -1656,14 +1677,7 @@ const createMtaTransactionRestReqSchema = z.object({
|
|
|
1656
1677
|
z.string().length(0)
|
|
1657
1678
|
]).transform((val)=>'' === val ? mta_payment_method_constant_MtaTransactionPaymentMethod.EFT : val).default(mta_payment_method_constant_MtaTransactionPaymentMethod.EFT)
|
|
1658
1679
|
}).superRefine((data, ctx)=>{
|
|
1659
|
-
if (data.inputType
|
|
1660
|
-
code: z.ZodIssueCode.custom,
|
|
1661
|
-
message: 'transactionType is required unless is "unknown" receipt',
|
|
1662
|
-
path: [
|
|
1663
|
-
'transactionType'
|
|
1664
|
-
]
|
|
1665
|
-
});
|
|
1666
|
-
if (data.inputType === mta_input_type_constant_MtaTransactionInputType.CUSTOMER && !data.propertyId) ctx.addIssue({
|
|
1680
|
+
if (data.inputType === mta_input_type_constant_MtaTransactionInputType.RECEIPT && data.transactionType !== MtaTransactionType.UNKNOWN && !data.propertyId) ctx.addIssue({
|
|
1667
1681
|
code: z.ZodIssueCode.custom,
|
|
1668
1682
|
message: 'property is required unless is "unknown" receipt',
|
|
1669
1683
|
path: [
|
|
@@ -2138,18 +2152,11 @@ const commonReportRestReqSchema = z.object({
|
|
|
2138
2152
|
});
|
|
2139
2153
|
}
|
|
2140
2154
|
});
|
|
2141
|
-
const
|
|
2142
|
-
propertyIds: z.array(z.string().uuid()).min(1),
|
|
2143
|
-
reportGroupType: z.nativeEnum(report_group_type_constant_ReportGroupType)
|
|
2144
|
-
}));
|
|
2145
|
-
const receiptListReportRestReqSchema = commonReportRestReqSchema.and(z.object({
|
|
2146
|
-
accountId: z.string().uuid(),
|
|
2147
|
-
accountType: z.nativeEnum(account_type_constant_AccountType)
|
|
2148
|
-
}));
|
|
2149
|
-
const trustTrialBalanceReportRestReqSchema = commonReportRestReqSchema.and(z.object({
|
|
2155
|
+
const commonReportWithCmaSelectionRestReqSchema = commonReportRestReqSchema.and(z.object({
|
|
2150
2156
|
cmaIds: z.array(z.string().uuid()).nullish(),
|
|
2151
2157
|
mtaId: z.string().uuid().nullish(),
|
|
2152
|
-
accountType: z.nativeEnum(account_type_constant_AccountType)
|
|
2158
|
+
accountType: z.nativeEnum(account_type_constant_AccountType),
|
|
2159
|
+
reportGroupType: z.nativeEnum(report_group_type_constant_ReportGroupType).nullish()
|
|
2153
2160
|
})).superRefine((data, ctx)=>{
|
|
2154
2161
|
if (data.accountType === account_type_constant_AccountType.CMA) {
|
|
2155
2162
|
if (!data.cmaIds || 0 === data.cmaIds.length) ctx.addIssue({
|
|
@@ -2162,6 +2169,22 @@ const trustTrialBalanceReportRestReqSchema = commonReportRestReqSchema.and(z.obj
|
|
|
2162
2169
|
message: 'Mta ids are required when account type is MTA'
|
|
2163
2170
|
});
|
|
2164
2171
|
});
|
|
2172
|
+
const bankReconciliationSummaryRestReqSchema = commonReportWithCmaSelectionRestReqSchema;
|
|
2173
|
+
const customerLedgerRestReqSchema = commonReportRestReqSchema.and(z.object({
|
|
2174
|
+
propertyIds: z.array(z.string().uuid()).min(1),
|
|
2175
|
+
reportGroupType: z.nativeEnum(report_group_type_constant_ReportGroupType)
|
|
2176
|
+
}));
|
|
2177
|
+
const paymentListReportRestReqSchema = commonReportRestReqSchema.and(z.object({
|
|
2178
|
+
accountId: z.string().uuid(),
|
|
2179
|
+
accountType: z.nativeEnum(account_type_constant_AccountType)
|
|
2180
|
+
}));
|
|
2181
|
+
const receiptListReportRestReqSchema = commonReportRestReqSchema.and(z.object({
|
|
2182
|
+
accountId: z.string().uuid(),
|
|
2183
|
+
accountType: z.nativeEnum(account_type_constant_AccountType)
|
|
2184
|
+
}));
|
|
2185
|
+
const reconciledItemsListReportRestReqSchema = commonReportWithCmaSelectionRestReqSchema;
|
|
2186
|
+
const trustTrialBalanceReportRestReqSchema = commonReportWithCmaSelectionRestReqSchema;
|
|
2187
|
+
const unreconciledItemsListReportRestReqSchema = commonReportWithCmaSelectionRestReqSchema;
|
|
2165
2188
|
function bind(fn, thisArg) {
|
|
2166
2189
|
return function() {
|
|
2167
2190
|
return fn.apply(thisArg, arguments);
|
|
@@ -3507,7 +3530,7 @@ const xhr = isXHRAdapterSupported && function(config) {
|
|
|
3507
3530
|
request.send(requestData || null);
|
|
3508
3531
|
});
|
|
3509
3532
|
};
|
|
3510
|
-
const
|
|
3533
|
+
const composeSignals_composeSignals = (signals, timeout)=>{
|
|
3511
3534
|
const { length } = signals = signals ? signals.filter(Boolean) : [];
|
|
3512
3535
|
if (timeout || length) {
|
|
3513
3536
|
let controller = new AbortController();
|
|
@@ -3540,7 +3563,7 @@ const composeSignals = (signals, timeout)=>{
|
|
|
3540
3563
|
return signal;
|
|
3541
3564
|
}
|
|
3542
3565
|
};
|
|
3543
|
-
const
|
|
3566
|
+
const composeSignals = composeSignals_composeSignals;
|
|
3544
3567
|
const streamChunk = function*(chunk, chunkSize) {
|
|
3545
3568
|
let len = chunk.byteLength;
|
|
3546
3569
|
if (!chunkSize || len < chunkSize) return void (yield chunk);
|
|
@@ -3667,7 +3690,7 @@ const resolveBodyLength = async (headers, body)=>{
|
|
|
3667
3690
|
const adapters_fetch = isFetchSupported && (async (config)=>{
|
|
3668
3691
|
let { url, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, withCredentials = 'same-origin', fetchOptions } = resolveConfig(config);
|
|
3669
3692
|
responseType = responseType ? (responseType + '').toLowerCase() : 'text';
|
|
3670
|
-
let composedSignal =
|
|
3693
|
+
let composedSignal = composeSignals([
|
|
3671
3694
|
signal,
|
|
3672
3695
|
cancelToken && cancelToken.toAbortSignal()
|
|
3673
3696
|
], timeout);
|
|
@@ -4295,4 +4318,4 @@ const getPropertyName = (property, options)=>{
|
|
|
4295
4318
|
names = names.filter(Boolean);
|
|
4296
4319
|
return names.length > 0 ? names.join(' ') : 'Nill';
|
|
4297
4320
|
};
|
|
4298
|
-
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_CmaTransactionInputType as CmaTransactionInputType, cma_payment_method_constant_CmaTransactionPaymentMethod as CmaTransactionPaymentMethod, CmaTransactionStatus, CmaTransactionStatusToDisplayTextMapper, CmaTransactionType, CmaTransactionTypeToDisplayTextMapper, DEFAULT_PAYOUT_SOURCE_BANK_REF, DEFAULT_PAYOUT_SOURCE_DESCRIPTION, DEFAULT_PAYOUT_TARGET_BANK_REF, DEFAULT_PAYOUT_TARGET_DESCRIPTION, InputJsonValueSchema, JsonNullableFilterSchema, MenuStatus, MenuType, MtaPayoutTransactionType, MtaReceiptTransactionType, mta_MtaStatus as MtaStatus, mta_input_type_constant_MtaTransactionInputType as MtaTransactionInputType, mta_payment_method_constant_MtaTransactionPaymentMethod as MtaTransactionPaymentMethod, MtaTransactionStatus, MtaTransactionStatusToDisplayTextMapper, MtaTransactionType, MtaTransactionTypeToDisplayTextMapper, PayoutBankFileStatus, payout_constant_PayoutSourceAccountType as PayoutSourceAccountType, PayoutStatus, payout_constant_PayoutTargetAccountType as PayoutTargetAccountType, PayoutType, ProjectApplyStatusRestRes, ProjectMtaAllocationStatus, PropertyRestResStatus, PropertyStage, 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, StringFilterBaseSchema, TRANSACTION_CANCEL, accountBsbMaskedSchema, accountBsbValidationSchema, accountNumberMaskedSchema, accountNumberValidationSchema, allocateMtaToProjectRestReqSchema, approveMtaAllocationRestReqSchema, assignUnknownReceiptToPropertyRestReqSchema, balanceRestResSchema, bankCodeSchema, basePayoutItemShape, bigIntFilterSchema, boolFilterBaseSchema, boolFilterSchema, cancelCmaTransactionRestReqSchema, cancelMtaTransactionRestReqSchema, cancelPayoutRestReqSchema, centsToDollarsSchema, cmaAccountPeriodCloseRestReqSchema, cmaAccountPeriodClosingSummaryRestReqSchema, cmaAccountPeriodClosingSummaryRestResSchema, cmaAccountPeriodEntitySchema, cmaAccountPeriodRestResBaseSchema, cmaAccountPeriodRestResSchema, cmaClosedAccountPeriodRestResSchema, cmaEntitySchema, cmaNestedEntitySchema, cmaReconciledTransactionEntitySchema, cmaReconciledTransactionRestResSchema, cmaReconciliationEntitySchema, cmaReconciliationRestResSchema, cmaRestResBaseSchema, cmaRestResSchema, cmaSearchRestReqSchema, cmaTransactionEntitySchema, cmaTransactionNestedSchema, cmaTransactionRestResBaseSchema, cmaTransactionRestResSchema, cmaTransactionSearchRestReqSchema, commonReportRestReqSchema, confirmBankFileProcessedRestReqSchema, createCmaReconciliationRestReqSchema, createCmaRestReqSchema, createCmaSettlementPayoutRestReqSchema, createCmaSettlementPayoutSourceAccountSchema, createCmaTransactionRestReqSchema, createMenuRestReqSchema, createMtaReconciliationRestReqSchema, createMtaRestReqSchema, createMtaSettlementPayoutRestReqSchema, createMtaSettlementPayoutSourceAccountSchema, createMtaToCmaPayoutRestReqSchema, createMtaTransactionRestReqSchema, createSettlementPayoutRestReqSchema, createSettlementPayoutTargetAccountSchema, customerEntitySchema, customerLedgerRestReqSchema, dateTimeFilterBaseSchema, dateTimeFilterSchema, developerEntitySchema, displayBankAccount, dollarsToCentsSchema, formatBankBsb, formatCurrency, fromCentsToDollars, fromDollarsToCents, generateMtaPaymentMethodAccountConfigForZepto, generateMtaPaymentMethodFloatAccountConfigForZepto, getPropertyName, getTransactionAmountStr, getTransactionNumber, getTransactionStatus, intFilterSchema, isInterestTransaction, isPaymentTransaction, isReceiptTransaction, isTransactionAssignable, isTransactionCancelable, isUnknownReceiptAssignedToProperty, isUnknownTransaction, markCmaTransactionAsClearedRestReqSchema, maskBankAccount, maskBankAccountNumber, maskBankBsb, maskString, menuRestResSchema, menuSchema, mtaAccountPeriodCloseRestReqSchema, mtaAccountPeriodClosingSummaryRestReqSchema, mtaAccountPeriodClosingSummaryRestResSchema, mtaAccountPeriodEntitySchema, mtaAccountPeriodRestResSchema, mtaClosedAccountPeriodRestResSchema, mtaEntitySchema, mtaListItemRestResSchema, mtaPaymentMethodAccountConfigSchema, mtaPaymentMethodEntitySchema, mtaPaymentMethodFloatAccountConfigSchema, mtaPaymentMethodRestResSchema, mtaReconciledTransactionEntitySchema, mtaReconciledTransactionRestResSchema, mtaReconciliationEntitySchema, mtaReconciliationRestResSchema, mtaRestResBaseSchema, mtaRestResSchema, mtaTransactionEntitySchema, mtaTransactionRestResBaseSchema, mtaTransactionRestResSchema, paymentProviderEntitySchema, payoutBankFileDownloadHistoryEntitySchema, payoutBankFileEntitySchema, payoutBankFileRestResSchema, payoutCmaSourceDetailsRestSchema, payoutCmaTargetDetailsRestSchema, payoutDetailRestResSchema, payoutEntitySchema, payoutItemReqSchema, payoutListRestResSchema, payoutMtaSourceDetailsRestSchema, payoutMtaToCmaProvisionDataEntitySchema, payoutMtaToCmaRestResSchema, payoutMtaToCmaTargetDetailsEntitySchema, payoutOtherProvisionDataEntitySchema, payoutOtherTargetDetailsEntitySchema, payoutOtherTargetDetailsRestSchema, payoutPaymentItemSchema, payoutProvisionDataEntitySchema, payoutRestReqSchema, payoutRestResBaseSchema, payoutRestResSchema, payoutSearchRestReqSchema, payoutSourceDetailsEntitySchema, payoutSourceDetailsRestResBaseSchema, payoutSourceDetailsRestSchema, payoutStatusSummaryRestResSchema, payoutTargetDetailsBaseEntitySchema, payoutTargetDetailsEntitySchema, payoutTargetDetailsRestResBaseSchema, payoutTargetDetailsRestSchema, payoutTransactionEntitySchema, payoutTransactionRestResSchema, payoutTransactionSearchRestReqSchema, projectEntitySchema, projectMtaAllocationEntitySchema, projectMtaAllocationRestResSchema, projectNestedEntitySchema, projectRestResSchema, propertyAccountsBalanceRestResSchema, propertyEntitySchema, propertyNestedEntitySchema, propertyRestResBaseSchema, propertyRestResSchema, propertySearchRestReqSchema, receiptListReportRestReqSchema, reconcileCmaTransactionRestReqSchema, reconcileMtaTransactionRestReqSchema, stateCodeSchema, stringFilterSchema, stringToDateSchema, stringToEndOfDaySchema, stringToStartOfDaySchema, trustTrialBalanceReportRestReqSchema, updateCmaAccountPeriodReconciledToRestReqSchema, updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema, updateMenuRestReqSchema, updateMtaAccountPeriodReconciledToRestReqSchema, updateMtaRestReqSchema, updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema, userEntitySchema, userRestResSchema };
|
|
4321
|
+
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, 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, mta_input_type_constant_MtaTransactionInputType as MtaTransactionInputType, MtaTransactionInputTypeToDisplayText, mta_payment_method_constant_MtaTransactionPaymentMethod as MtaTransactionPaymentMethod, MtaTransactionStatus, MtaTransactionStatusToDisplayTextMapper, MtaTransactionType, MtaTransactionTypeToDisplayTextMapper, MtaUnknownTransactionType, PayoutBankFileStatus, payout_constant_PayoutSourceAccountType as PayoutSourceAccountType, PayoutStatus, payout_constant_PayoutTargetAccountType as PayoutTargetAccountType, PayoutType, ProjectApplyStatusRestRes, ProjectMtaAllocationStatus, PropertyRestResStatus, PropertyStage, 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, StringFilterBaseSchema, TRANSACTION_CANCEL, accountBsbMaskedSchema, accountBsbValidationSchema, accountNumberMaskedSchema, accountNumberValidationSchema, allocateMtaToProjectRestReqSchema, approveMtaAllocationRestReqSchema, assignUnknownReceiptToPropertyRestReqSchema, balanceRestResSchema, bankCodeSchema, bankReconciliationSummaryRestReqSchema, basePayoutItemShape, bigIntFilterSchema, boolFilterBaseSchema, boolFilterSchema, cancelCmaTransactionRestReqSchema, cancelMtaTransactionRestReqSchema, cancelPayoutRestReqSchema, centsToDollarsSchema, cmaAccountPeriodCloseRestReqSchema, cmaAccountPeriodClosingSummaryRestReqSchema, cmaAccountPeriodClosingSummaryRestResSchema, cmaAccountPeriodEntitySchema, cmaAccountPeriodRestResBaseSchema, cmaAccountPeriodRestResSchema, cmaClosedAccountPeriodRestResSchema, cmaEntitySchema, cmaNestedEntitySchema, cmaReconciledTransactionEntitySchema, cmaReconciledTransactionRestResSchema, cmaReconciliationEntitySchema, cmaReconciliationRestResSchema, cmaRestResBaseSchema, cmaRestResSchema, cmaSearchRestReqSchema, cmaTransactionEntitySchema, cmaTransactionNestedSchema, cmaTransactionRestResBaseSchema, cmaTransactionRestResSchema, cmaTransactionSearchRestReqSchema, commonReportRestReqSchema, commonReportWithCmaSelectionRestReqSchema, confirmBankFileProcessedRestReqSchema, createCmaReconciliationRestReqSchema, createCmaRestReqSchema, createCmaSettlementPayoutRestReqSchema, createCmaSettlementPayoutSourceAccountSchema, createCmaTransactionRestReqSchema, createMenuRestReqSchema, createMtaReconciliationRestReqSchema, createMtaRestReqSchema, createMtaSettlementPayoutRestReqSchema, createMtaSettlementPayoutSourceAccountSchema, createMtaToCmaPayoutRestReqSchema, createMtaTransactionRestReqSchema, createSettlementPayoutRestReqSchema, createSettlementPayoutTargetAccountSchema, customerEntitySchema, customerLedgerRestReqSchema, dateTimeFilterBaseSchema, dateTimeFilterSchema, developerEntitySchema, displayBankAccount, dollarsToCentsSchema, formatBankBsb, formatCurrency, fromCentsToDollars, fromDollarsToCents, generateMtaPaymentMethodAccountConfigForZepto, generateMtaPaymentMethodFloatAccountConfigForZepto, getPropertyName, getTransactionAmountStr, getTransactionNumber, getTransactionStatus, intFilterSchema, isInterestTransaction, isPaymentTransaction, isReceiptTransaction, isTransactionAssignable, isTransactionCancelable, isUnknownReceiptAssignedToProperty, isUnknownTransaction, markCmaTransactionAsClearedRestReqSchema, maskBankAccount, maskBankAccountNumber, maskBankBsb, maskString, menuRestResSchema, menuSchema, mtaAccountPeriodCloseRestReqSchema, mtaAccountPeriodClosingSummaryRestReqSchema, mtaAccountPeriodClosingSummaryRestResSchema, mtaAccountPeriodEntitySchema, mtaAccountPeriodRestResSchema, mtaClosedAccountPeriodRestResSchema, mtaEntitySchema, mtaListItemRestResSchema, mtaPaymentMethodAccountConfigSchema, mtaPaymentMethodEntitySchema, mtaPaymentMethodFloatAccountConfigSchema, mtaPaymentMethodRestResSchema, mtaReconciledTransactionEntitySchema, mtaReconciledTransactionRestResSchema, mtaReconciliationEntitySchema, mtaReconciliationRestResSchema, mtaRestResBaseSchema, mtaRestResSchema, mtaTransactionEntitySchema, mtaTransactionRestResBaseSchema, mtaTransactionRestResSchema, paymentListReportRestReqSchema, paymentProviderEntitySchema, payoutBankFileDownloadHistoryEntitySchema, payoutBankFileEntitySchema, payoutBankFileRestResSchema, payoutCmaSourceDetailsRestSchema, payoutCmaTargetDetailsRestSchema, payoutDetailRestResSchema, payoutEntitySchema, payoutItemReqSchema, payoutListRestResSchema, payoutMtaSourceDetailsRestSchema, payoutMtaToCmaProvisionDataEntitySchema, payoutMtaToCmaRestResSchema, payoutMtaToCmaTargetDetailsEntitySchema, payoutOtherProvisionDataEntitySchema, payoutOtherTargetDetailsEntitySchema, payoutOtherTargetDetailsRestSchema, payoutPaymentItemSchema, payoutProvisionDataEntitySchema, payoutRestReqSchema, payoutRestResBaseSchema, payoutRestResSchema, payoutSearchRestReqSchema, payoutSourceDetailsEntitySchema, payoutSourceDetailsRestResBaseSchema, payoutSourceDetailsRestSchema, payoutStatusSummaryRestResSchema, payoutTargetDetailsBaseEntitySchema, payoutTargetDetailsEntitySchema, payoutTargetDetailsRestResBaseSchema, payoutTargetDetailsRestSchema, payoutTransactionEntitySchema, payoutTransactionRestResSchema, payoutTransactionSearchRestReqSchema, projectEntitySchema, projectMtaAllocationEntitySchema, projectMtaAllocationRestResSchema, projectNestedEntitySchema, projectRestResSchema, propertyAccountsBalanceRestResSchema, propertyEntitySchema, propertyNestedEntitySchema, propertyRestResBaseSchema, propertyRestResSchema, propertySearchRestReqSchema, receiptListReportRestReqSchema, reconcileCmaTransactionRestReqSchema, reconcileMtaTransactionRestReqSchema, reconciledItemsListReportRestReqSchema, stateCodeSchema, stringFilterSchema, stringToDateSchema, stringToEndOfDaySchema, stringToStartOfDaySchema, trustTrialBalanceReportRestReqSchema, unreconciledItemsListReportRestReqSchema, updateCmaAccountPeriodReconciledToRestReqSchema, updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema, updateMenuRestReqSchema, updateMtaAccountPeriodReconciledToRestReqSchema, updateMtaRestReqSchema, updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema, userEntitySchema, userRestResSchema };
|
|
@@ -541,17 +541,6 @@ export declare const cmaNestedEntitySchema: z.ZodObject<{
|
|
|
541
541
|
currentPayoutSeq: number;
|
|
542
542
|
subsidiaryId: string;
|
|
543
543
|
} | null | undefined;
|
|
544
|
-
customer?: {
|
|
545
|
-
status: string;
|
|
546
|
-
id: string;
|
|
547
|
-
isArchived: boolean;
|
|
548
|
-
createdAt: Date;
|
|
549
|
-
updatedAt: Date;
|
|
550
|
-
fullName: string | null;
|
|
551
|
-
mobile: string | null;
|
|
552
|
-
email: string;
|
|
553
|
-
syncedAt: Date;
|
|
554
|
-
} | null | undefined;
|
|
555
544
|
buyerName?: string | null | undefined;
|
|
556
545
|
project?: {
|
|
557
546
|
type: string;
|
|
@@ -575,6 +564,17 @@ export declare const cmaNestedEntitySchema: z.ZodObject<{
|
|
|
575
564
|
companyName: string | null;
|
|
576
565
|
} | null | undefined;
|
|
577
566
|
} | null | undefined;
|
|
567
|
+
customer?: {
|
|
568
|
+
status: string;
|
|
569
|
+
id: string;
|
|
570
|
+
isArchived: boolean;
|
|
571
|
+
createdAt: Date;
|
|
572
|
+
updatedAt: Date;
|
|
573
|
+
fullName: string | null;
|
|
574
|
+
mobile: string | null;
|
|
575
|
+
email: string;
|
|
576
|
+
syncedAt: Date;
|
|
577
|
+
} | null | undefined;
|
|
578
578
|
cmaTransactions?: {
|
|
579
579
|
status: string;
|
|
580
580
|
id: string;
|
|
@@ -691,17 +691,6 @@ export declare const cmaNestedEntitySchema: z.ZodObject<{
|
|
|
691
691
|
currentPayoutSeq: number;
|
|
692
692
|
subsidiaryId: string;
|
|
693
693
|
} | null | undefined;
|
|
694
|
-
customer?: {
|
|
695
|
-
status: string;
|
|
696
|
-
id: string;
|
|
697
|
-
isArchived: boolean;
|
|
698
|
-
createdAt: Date;
|
|
699
|
-
updatedAt: Date;
|
|
700
|
-
fullName: string | null;
|
|
701
|
-
mobile: string | null;
|
|
702
|
-
email: string;
|
|
703
|
-
syncedAt: Date;
|
|
704
|
-
} | null | undefined;
|
|
705
694
|
buyerName?: string | null | undefined;
|
|
706
695
|
project?: {
|
|
707
696
|
type: string;
|
|
@@ -725,6 +714,17 @@ export declare const cmaNestedEntitySchema: z.ZodObject<{
|
|
|
725
714
|
companyName: string | null;
|
|
726
715
|
} | null | undefined;
|
|
727
716
|
} | null | undefined;
|
|
717
|
+
customer?: {
|
|
718
|
+
status: string;
|
|
719
|
+
id: string;
|
|
720
|
+
isArchived: boolean;
|
|
721
|
+
createdAt: Date;
|
|
722
|
+
updatedAt: Date;
|
|
723
|
+
fullName: string | null;
|
|
724
|
+
mobile: string | null;
|
|
725
|
+
email: string;
|
|
726
|
+
syncedAt: Date;
|
|
727
|
+
} | null | undefined;
|
|
728
728
|
cmaTransactions?: {
|
|
729
729
|
status: string;
|
|
730
730
|
id: string;
|
|
@@ -843,17 +843,6 @@ export declare const cmaNestedEntitySchema: z.ZodObject<{
|
|
|
843
843
|
currentPayoutSeq: number;
|
|
844
844
|
subsidiaryId: string;
|
|
845
845
|
} | null | undefined;
|
|
846
|
-
customer?: {
|
|
847
|
-
status: string;
|
|
848
|
-
id: string;
|
|
849
|
-
isArchived: boolean;
|
|
850
|
-
createdAt: Date;
|
|
851
|
-
updatedAt: Date;
|
|
852
|
-
fullName: string | null;
|
|
853
|
-
mobile: string | null;
|
|
854
|
-
email: string;
|
|
855
|
-
syncedAt: Date;
|
|
856
|
-
} | null | undefined;
|
|
857
846
|
buyerName?: string | null | undefined;
|
|
858
847
|
project?: {
|
|
859
848
|
type: string;
|
|
@@ -877,6 +866,17 @@ export declare const cmaNestedEntitySchema: z.ZodObject<{
|
|
|
877
866
|
companyName: string | null;
|
|
878
867
|
} | null | undefined;
|
|
879
868
|
} | null | undefined;
|
|
869
|
+
customer?: {
|
|
870
|
+
status: string;
|
|
871
|
+
id: string;
|
|
872
|
+
isArchived: boolean;
|
|
873
|
+
createdAt: Date;
|
|
874
|
+
updatedAt: Date;
|
|
875
|
+
fullName: string | null;
|
|
876
|
+
mobile: string | null;
|
|
877
|
+
email: string;
|
|
878
|
+
syncedAt: Date;
|
|
879
|
+
} | null | undefined;
|
|
880
880
|
cmaTransactions?: {
|
|
881
881
|
status: string;
|
|
882
882
|
id: string;
|
|
@@ -995,17 +995,6 @@ export declare const cmaNestedEntitySchema: z.ZodObject<{
|
|
|
995
995
|
currentPayoutSeq: number;
|
|
996
996
|
subsidiaryId: string;
|
|
997
997
|
} | null | undefined;
|
|
998
|
-
customer?: {
|
|
999
|
-
status: string;
|
|
1000
|
-
id: string;
|
|
1001
|
-
isArchived: boolean;
|
|
1002
|
-
createdAt: Date;
|
|
1003
|
-
updatedAt: Date;
|
|
1004
|
-
fullName: string | null;
|
|
1005
|
-
mobile: string | null;
|
|
1006
|
-
email: string;
|
|
1007
|
-
syncedAt: Date;
|
|
1008
|
-
} | null | undefined;
|
|
1009
998
|
buyerName?: string | null | undefined;
|
|
1010
999
|
project?: {
|
|
1011
1000
|
type: string;
|
|
@@ -1029,6 +1018,17 @@ export declare const cmaNestedEntitySchema: z.ZodObject<{
|
|
|
1029
1018
|
companyName: string | null;
|
|
1030
1019
|
} | null | undefined;
|
|
1031
1020
|
} | null | undefined;
|
|
1021
|
+
customer?: {
|
|
1022
|
+
status: string;
|
|
1023
|
+
id: string;
|
|
1024
|
+
isArchived: boolean;
|
|
1025
|
+
createdAt: Date;
|
|
1026
|
+
updatedAt: Date;
|
|
1027
|
+
fullName: string | null;
|
|
1028
|
+
mobile: string | null;
|
|
1029
|
+
email: string;
|
|
1030
|
+
syncedAt: Date;
|
|
1031
|
+
} | null | undefined;
|
|
1032
1032
|
cmaTransactions?: {
|
|
1033
1033
|
status: string;
|
|
1034
1034
|
id: string;
|
|
@@ -527,17 +527,6 @@ export declare const cmaRestResSchema: z.ZodObject<{
|
|
|
527
527
|
mtaId: string;
|
|
528
528
|
mtaBalanceCents: number | bigint;
|
|
529
529
|
cmaBalanceCents: number | bigint;
|
|
530
|
-
customer?: {
|
|
531
|
-
status: string;
|
|
532
|
-
id: string;
|
|
533
|
-
isArchived: boolean;
|
|
534
|
-
createdAt: Date;
|
|
535
|
-
updatedAt: Date;
|
|
536
|
-
fullName: string | null;
|
|
537
|
-
mobile: string | null;
|
|
538
|
-
email: string;
|
|
539
|
-
syncedAt: Date;
|
|
540
|
-
} | null | undefined;
|
|
541
530
|
buyerName?: string | null | undefined;
|
|
542
531
|
project?: {
|
|
543
532
|
type: string;
|
|
@@ -561,6 +550,17 @@ export declare const cmaRestResSchema: z.ZodObject<{
|
|
|
561
550
|
companyName: string | null;
|
|
562
551
|
} | null | undefined;
|
|
563
552
|
} | null | undefined;
|
|
553
|
+
customer?: {
|
|
554
|
+
status: string;
|
|
555
|
+
id: string;
|
|
556
|
+
isArchived: boolean;
|
|
557
|
+
createdAt: Date;
|
|
558
|
+
updatedAt: Date;
|
|
559
|
+
fullName: string | null;
|
|
560
|
+
mobile: string | null;
|
|
561
|
+
email: string;
|
|
562
|
+
syncedAt: Date;
|
|
563
|
+
} | null | undefined;
|
|
564
564
|
}, {
|
|
565
565
|
status: string;
|
|
566
566
|
id: string;
|
|
@@ -577,17 +577,6 @@ export declare const cmaRestResSchema: z.ZodObject<{
|
|
|
577
577
|
mtaId: string;
|
|
578
578
|
mtaBalanceCents: number | bigint;
|
|
579
579
|
cmaBalanceCents: number | bigint;
|
|
580
|
-
customer?: {
|
|
581
|
-
status: string;
|
|
582
|
-
id: string;
|
|
583
|
-
isArchived: boolean;
|
|
584
|
-
createdAt: Date;
|
|
585
|
-
updatedAt: Date;
|
|
586
|
-
fullName: string | null;
|
|
587
|
-
mobile: string | null;
|
|
588
|
-
email: string;
|
|
589
|
-
syncedAt: Date;
|
|
590
|
-
} | null | undefined;
|
|
591
580
|
buyerName?: string | null | undefined;
|
|
592
581
|
project?: {
|
|
593
582
|
type: string;
|
|
@@ -611,6 +600,17 @@ export declare const cmaRestResSchema: z.ZodObject<{
|
|
|
611
600
|
companyName: string | null;
|
|
612
601
|
} | null | undefined;
|
|
613
602
|
} | null | undefined;
|
|
603
|
+
customer?: {
|
|
604
|
+
status: string;
|
|
605
|
+
id: string;
|
|
606
|
+
isArchived: boolean;
|
|
607
|
+
createdAt: Date;
|
|
608
|
+
updatedAt: Date;
|
|
609
|
+
fullName: string | null;
|
|
610
|
+
mobile: string | null;
|
|
611
|
+
email: string;
|
|
612
|
+
syncedAt: Date;
|
|
613
|
+
} | null | undefined;
|
|
614
614
|
}>>>;
|
|
615
615
|
}, "strip", z.ZodTypeAny, {
|
|
616
616
|
status: "active" | "inactive";
|
|
@@ -648,17 +648,6 @@ export declare const cmaRestResSchema: z.ZodObject<{
|
|
|
648
648
|
mtaId: string;
|
|
649
649
|
mtaBalanceCents: number | bigint;
|
|
650
650
|
cmaBalanceCents: number | bigint;
|
|
651
|
-
customer?: {
|
|
652
|
-
status: string;
|
|
653
|
-
id: string;
|
|
654
|
-
isArchived: boolean;
|
|
655
|
-
createdAt: Date;
|
|
656
|
-
updatedAt: Date;
|
|
657
|
-
fullName: string | null;
|
|
658
|
-
mobile: string | null;
|
|
659
|
-
email: string;
|
|
660
|
-
syncedAt: Date;
|
|
661
|
-
} | null | undefined;
|
|
662
651
|
buyerName?: string | null | undefined;
|
|
663
652
|
project?: {
|
|
664
653
|
type: string;
|
|
@@ -682,6 +671,17 @@ export declare const cmaRestResSchema: z.ZodObject<{
|
|
|
682
671
|
companyName: string | null;
|
|
683
672
|
} | null | undefined;
|
|
684
673
|
} | null | undefined;
|
|
674
|
+
customer?: {
|
|
675
|
+
status: string;
|
|
676
|
+
id: string;
|
|
677
|
+
isArchived: boolean;
|
|
678
|
+
createdAt: Date;
|
|
679
|
+
updatedAt: Date;
|
|
680
|
+
fullName: string | null;
|
|
681
|
+
mobile: string | null;
|
|
682
|
+
email: string;
|
|
683
|
+
syncedAt: Date;
|
|
684
|
+
} | null | undefined;
|
|
685
685
|
} | undefined;
|
|
686
686
|
}, {
|
|
687
687
|
status: string;
|
|
@@ -719,17 +719,6 @@ export declare const cmaRestResSchema: z.ZodObject<{
|
|
|
719
719
|
mtaId: string;
|
|
720
720
|
mtaBalanceCents: number | bigint;
|
|
721
721
|
cmaBalanceCents: number | bigint;
|
|
722
|
-
customer?: {
|
|
723
|
-
status: string;
|
|
724
|
-
id: string;
|
|
725
|
-
isArchived: boolean;
|
|
726
|
-
createdAt: Date;
|
|
727
|
-
updatedAt: Date;
|
|
728
|
-
fullName: string | null;
|
|
729
|
-
mobile: string | null;
|
|
730
|
-
email: string;
|
|
731
|
-
syncedAt: Date;
|
|
732
|
-
} | null | undefined;
|
|
733
722
|
buyerName?: string | null | undefined;
|
|
734
723
|
project?: {
|
|
735
724
|
type: string;
|
|
@@ -753,6 +742,17 @@ export declare const cmaRestResSchema: z.ZodObject<{
|
|
|
753
742
|
companyName: string | null;
|
|
754
743
|
} | null | undefined;
|
|
755
744
|
} | null | undefined;
|
|
745
|
+
customer?: {
|
|
746
|
+
status: string;
|
|
747
|
+
id: string;
|
|
748
|
+
isArchived: boolean;
|
|
749
|
+
createdAt: Date;
|
|
750
|
+
updatedAt: Date;
|
|
751
|
+
fullName: string | null;
|
|
752
|
+
mobile: string | null;
|
|
753
|
+
email: string;
|
|
754
|
+
syncedAt: Date;
|
|
755
|
+
} | null | undefined;
|
|
756
756
|
} | undefined;
|
|
757
757
|
}>;
|
|
758
758
|
export type CmaRestRes = z.infer<typeof cmaRestResSchema>;
|