@mikemo-coposit/am-accounting-shared 0.0.14 → 0.0.15
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/index.js +105 -85
- package/dist/cjs/schemas/cma/cma-search.rest.schemal.d.ts +477 -459
- package/dist/cjs/schemas/cma/cma-search.rest.schemal.d.ts.map +1 -1
- package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +1 -1
- package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts +3 -2
- package/dist/cjs/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts +746 -708
- package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/common/date/index.d.ts +1 -0
- package/dist/cjs/schemas/common/date/index.d.ts.map +1 -1
- package/dist/cjs/schemas/common/date/string-to-bool.schema.d.ts +4 -0
- package/dist/cjs/schemas/common/date/string-to-bool.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/common/date/string-to-end-of-day.schema.d.ts +1 -1
- package/dist/cjs/schemas/common/date/string-to-end-of-day.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/common/date/string-to-start-of-day.schema.d.ts +1 -1
- package/dist/cjs/schemas/common/date/string-to-start-of-day.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/common/search/bool-filter.schema.d.ts +9 -2
- package/dist/cjs/schemas/common/search/bool-filter.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/common/search/pagination-req.schema.d.ts +2 -2
- package/dist/cjs/schemas/common/search/string-filter.schema.d.ts +28 -5
- package/dist/cjs/schemas/common/search/string-filter.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-reconciliation/create-mta-reconciliation.rest.schema.d.ts +3 -2
- package/dist/cjs/schemas/mta-reconciliation/create-mta-reconciliation.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/create-mta-transactionrest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts +491 -463
- package/dist/cjs/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout/payout-search.rest.schema.d.ts +140 -135
- package/dist/cjs/schemas/payout/payout-search.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/payout-transaction/payout-transaction-search.rest.schema.d.ts +168 -162
- package/dist/cjs/schemas/payout-transaction/payout-transaction-search.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/property/property-search.rest.schema.d.ts +252 -243
- package/dist/cjs/schemas/property/property-search.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/report/bank-reconciliation-summary.schema.d.ts +2 -2
- package/dist/cjs/schemas/report/common-report-with-cma-selection.rest.schema.d.ts +2 -2
- package/dist/cjs/schemas/report/common-report.rest.schema.d.ts +2 -2
- package/dist/cjs/schemas/report/customer-ledger.rest.schema.d.ts +2 -2
- package/dist/cjs/schemas/report/payment-list.rest.schema.d.ts +2 -2
- package/dist/cjs/schemas/report/project-ledger.rest.schema.d.ts +2 -2
- package/dist/cjs/schemas/report/receipt-list.rest.schema.d.ts +2 -2
- package/dist/cjs/schemas/report/reconciled-items-list.rest.schema.d.ts +2 -2
- package/dist/cjs/schemas/report/trust-trial.rest.schema.d.ts +2 -2
- package/dist/cjs/schemas/report/unknown-receipt-ledger.schema.d.ts +2 -2
- package/dist/cjs/schemas/report/unreconciled-items-list.rest.schema.d.ts +2 -2
- package/dist/esm/index.mjs +89 -72
- package/dist/esm/schemas/cma/cma-search.rest.schemal.d.ts +477 -459
- package/dist/esm/schemas/cma/cma-search.rest.schemal.d.ts.map +1 -1
- package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +1 -1
- package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts +3 -2
- package/dist/esm/schemas/cma-reconciliation/create-cma-reconciliation.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts +746 -708
- package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/common/date/index.d.ts +1 -0
- package/dist/esm/schemas/common/date/index.d.ts.map +1 -1
- package/dist/esm/schemas/common/date/string-to-bool.schema.d.ts +4 -0
- package/dist/esm/schemas/common/date/string-to-bool.schema.d.ts.map +1 -0
- package/dist/esm/schemas/common/date/string-to-end-of-day.schema.d.ts +1 -1
- package/dist/esm/schemas/common/date/string-to-end-of-day.schema.d.ts.map +1 -1
- package/dist/esm/schemas/common/date/string-to-start-of-day.schema.d.ts +1 -1
- package/dist/esm/schemas/common/date/string-to-start-of-day.schema.d.ts.map +1 -1
- package/dist/esm/schemas/common/search/bool-filter.schema.d.ts +9 -2
- package/dist/esm/schemas/common/search/bool-filter.schema.d.ts.map +1 -1
- package/dist/esm/schemas/common/search/pagination-req.schema.d.ts +2 -2
- package/dist/esm/schemas/common/search/string-filter.schema.d.ts +28 -5
- package/dist/esm/schemas/common/search/string-filter.schema.d.ts.map +1 -1
- package/dist/esm/schemas/mta-reconciliation/create-mta-reconciliation.rest.schema.d.ts +3 -2
- package/dist/esm/schemas/mta-reconciliation/create-mta-reconciliation.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/create-mta-transactionrest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts +491 -463
- package/dist/esm/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout/payout-search.rest.schema.d.ts +140 -135
- package/dist/esm/schemas/payout/payout-search.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/payout-transaction/payout-transaction-search.rest.schema.d.ts +168 -162
- package/dist/esm/schemas/payout-transaction/payout-transaction-search.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/property/property-search.rest.schema.d.ts +252 -243
- package/dist/esm/schemas/property/property-search.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/report/bank-reconciliation-summary.schema.d.ts +2 -2
- package/dist/esm/schemas/report/common-report-with-cma-selection.rest.schema.d.ts +2 -2
- package/dist/esm/schemas/report/common-report.rest.schema.d.ts +2 -2
- package/dist/esm/schemas/report/customer-ledger.rest.schema.d.ts +2 -2
- package/dist/esm/schemas/report/payment-list.rest.schema.d.ts +2 -2
- package/dist/esm/schemas/report/project-ledger.rest.schema.d.ts +2 -2
- package/dist/esm/schemas/report/receipt-list.rest.schema.d.ts +2 -2
- package/dist/esm/schemas/report/reconciled-items-list.rest.schema.d.ts +2 -2
- package/dist/esm/schemas/report/trust-trial.rest.schema.d.ts +2 -2
- package/dist/esm/schemas/report/unknown-receipt-ledger.schema.d.ts +2 -2
- package/dist/esm/schemas/report/unreconciled-items-list.rest.schema.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const reconciledItemsListReportRestReqSchema: z.ZodIntersection<z.ZodObject<{
|
|
3
3
|
reportDataRangeType: z.ZodEnum<typeof import("../..").ReportDataRangeType>;
|
|
4
|
-
endDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | Date
|
|
5
|
-
startDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | Date
|
|
4
|
+
endDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | Date>>, z.ZodDate>>>, z.ZodDate>;
|
|
5
|
+
startDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | Date>>, z.ZodDate>>>, z.ZodDate>;
|
|
6
6
|
}, z.core.$strip>, z.ZodObject<{
|
|
7
7
|
cmaIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUUID>>>;
|
|
8
8
|
mtaId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const trustTrialBalanceReportRestReqSchema: z.ZodIntersection<z.ZodObject<{
|
|
3
3
|
reportDataRangeType: z.ZodEnum<typeof import("../..").ReportDataRangeType>;
|
|
4
|
-
endDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | Date
|
|
5
|
-
startDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | Date
|
|
4
|
+
endDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | Date>>, z.ZodDate>>>, z.ZodDate>;
|
|
5
|
+
startDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | Date>>, z.ZodDate>>>, z.ZodDate>;
|
|
6
6
|
}, z.core.$strip>, z.ZodObject<{
|
|
7
7
|
cmaIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUUID>>>;
|
|
8
8
|
mtaId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const unknownReceiptLedgerRestReqSchema: z.ZodIntersection<z.ZodObject<{
|
|
3
3
|
reportDataRangeType: z.ZodEnum<typeof import("../..").ReportDataRangeType>;
|
|
4
|
-
endDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | Date
|
|
5
|
-
startDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | Date
|
|
4
|
+
endDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | Date>>, z.ZodDate>>>, z.ZodDate>;
|
|
5
|
+
startDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | Date>>, z.ZodDate>>>, z.ZodDate>;
|
|
6
6
|
}, z.core.$strip>, z.ZodObject<{
|
|
7
7
|
mtaId: z.ZodUUID;
|
|
8
8
|
}, z.core.$strip>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const unreconciledItemsListReportRestReqSchema: z.ZodIntersection<z.ZodObject<{
|
|
3
3
|
reportDataRangeType: z.ZodEnum<typeof import("../..").ReportDataRangeType>;
|
|
4
|
-
endDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | Date
|
|
5
|
-
startDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | Date
|
|
4
|
+
endDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | Date>>, z.ZodDate>>>, z.ZodDate>;
|
|
5
|
+
startDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | Date>>, z.ZodDate>>>, z.ZodDate>;
|
|
6
6
|
}, z.core.$strip>, z.ZodObject<{
|
|
7
7
|
cmaIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUUID>>>;
|
|
8
8
|
mtaId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1284,12 +1284,25 @@ const cmaAccountPeriodCloseRestReqSchema = z.object({
|
|
|
1284
1284
|
endDate: stringToDateSchema,
|
|
1285
1285
|
closingDescription: z.string().optional()
|
|
1286
1286
|
});
|
|
1287
|
+
const stringToEndOfDaySchema = z.union([
|
|
1288
|
+
z.string(),
|
|
1289
|
+
z.date(),
|
|
1290
|
+
z.iso.datetime()
|
|
1291
|
+
]).transform((val, ctx)=>{
|
|
1292
|
+
const { dayjs, isValid, reason } = safeParseDateFromStr(val);
|
|
1293
|
+
if (!isValid) return ctx.issues.push({
|
|
1294
|
+
code: 'invalid_value',
|
|
1295
|
+
message: reason ?? 'Invalid date',
|
|
1296
|
+
input: val.toString(),
|
|
1297
|
+
values: [
|
|
1298
|
+
val.toString()
|
|
1299
|
+
]
|
|
1300
|
+
});
|
|
1301
|
+
return dayjs.endOf('day').toDate();
|
|
1302
|
+
}).pipe(z.date());
|
|
1287
1303
|
const cmaAccountPeriodClosingSummaryRestReqSchema = z.object({
|
|
1288
1304
|
cmaAccountPeriodId: z.uuid(),
|
|
1289
|
-
endDate:
|
|
1290
|
-
z.string(),
|
|
1291
|
-
z.date()
|
|
1292
|
-
]).transform((arg)=>dayjs_0(arg).endOf('day').toDate()).pipe(z.date())
|
|
1305
|
+
endDate: stringToEndOfDaySchema
|
|
1293
1306
|
});
|
|
1294
1307
|
const cmaAccountPeriodClosingSummaryRestResSchema = z.object({
|
|
1295
1308
|
startDate: z.date(),
|
|
@@ -1367,7 +1380,7 @@ const dollarsToCentsSchema = z.codec(z.union([
|
|
|
1367
1380
|
});
|
|
1368
1381
|
const createCmaReconciliationRestReqSchema = z.object({
|
|
1369
1382
|
bankStatementBalanceCents: dollarsToCentsSchema,
|
|
1370
|
-
reconciledTo:
|
|
1383
|
+
reconciledTo: stringToEndOfDaySchema,
|
|
1371
1384
|
cmaAccountPeriodId: z.uuid()
|
|
1372
1385
|
});
|
|
1373
1386
|
const updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema = z.object({
|
|
@@ -1406,15 +1419,39 @@ const dateTimeFilterSchema = z.strictObject({
|
|
|
1406
1419
|
]).optional()
|
|
1407
1420
|
});
|
|
1408
1421
|
const paginationReqSchema = z.object({
|
|
1409
|
-
page: z.coerce.number().prefault(1).pipe(z.int().positive()),
|
|
1410
|
-
pageSize: z.coerce.number().pipe(z.int().positive())
|
|
1422
|
+
page: z.coerce.number().prefault(1).pipe(z.int().positive()).optional(),
|
|
1423
|
+
pageSize: z.coerce.number().pipe(z.int().positive()).optional()
|
|
1424
|
+
});
|
|
1425
|
+
const stringToBoolSchema = z.union([
|
|
1426
|
+
z.boolean(),
|
|
1427
|
+
z.string()
|
|
1428
|
+
]).transform((input, ctx)=>{
|
|
1429
|
+
if ('string' == typeof input) {
|
|
1430
|
+
const result = z.stringbool().safeParse(input);
|
|
1431
|
+
if (result.success) return result.data;
|
|
1432
|
+
ctx.issues.push({
|
|
1433
|
+
code: 'invalid_value',
|
|
1434
|
+
message: result.error.message,
|
|
1435
|
+
input,
|
|
1436
|
+
values: [
|
|
1437
|
+
input
|
|
1438
|
+
]
|
|
1439
|
+
});
|
|
1440
|
+
return z.NEVER;
|
|
1441
|
+
}
|
|
1442
|
+
if ('boolean' == typeof input) return input;
|
|
1443
|
+
ctx.issues.push({
|
|
1444
|
+
code: 'invalid_value',
|
|
1445
|
+
message: 'Invalid boolean',
|
|
1446
|
+
input: JSON.stringify(input),
|
|
1447
|
+
values: [
|
|
1448
|
+
JSON.stringify(input)
|
|
1449
|
+
]
|
|
1450
|
+
});
|
|
1451
|
+
return z.NEVER;
|
|
1411
1452
|
});
|
|
1412
1453
|
const boolFilterBaseSchema = z.strictObject({
|
|
1413
|
-
equals:
|
|
1414
|
-
not: z.union([
|
|
1415
|
-
z.boolean(),
|
|
1416
|
-
z.lazy(()=>boolFilterBaseSchema)
|
|
1417
|
-
]).optional()
|
|
1454
|
+
equals: stringToBoolSchema
|
|
1418
1455
|
});
|
|
1419
1456
|
const boolFilterSchema = boolFilterBaseSchema.extend({
|
|
1420
1457
|
not: z.union([
|
|
@@ -1469,11 +1506,11 @@ const cmaTransactionSearchRestReqSchema = z.object({
|
|
|
1469
1506
|
]).optional(),
|
|
1470
1507
|
isCanceled: z.union([
|
|
1471
1508
|
z.lazy(()=>boolFilterSchema),
|
|
1472
|
-
z.
|
|
1509
|
+
z.boolean()
|
|
1473
1510
|
]).optional(),
|
|
1474
1511
|
isRefunded: z.union([
|
|
1475
1512
|
z.lazy(()=>boolFilterSchema),
|
|
1476
|
-
z.
|
|
1513
|
+
z.boolean()
|
|
1477
1514
|
]).optional(),
|
|
1478
1515
|
status: z.union([
|
|
1479
1516
|
z.lazy(()=>stringFilterSchema),
|
|
@@ -1490,9 +1527,8 @@ const cmaTransactionSearchRestReqSchema = z.object({
|
|
|
1490
1527
|
debitAmountCents: z.union([
|
|
1491
1528
|
z.lazy(()=>bigIntFilterSchema),
|
|
1492
1529
|
z.bigint()
|
|
1493
|
-
]).optional()
|
|
1494
|
-
|
|
1495
|
-
});
|
|
1530
|
+
]).optional()
|
|
1531
|
+
}).and(paginationReqSchema.optional());
|
|
1496
1532
|
const createCmaTransactionRestReqSchema = z.object({
|
|
1497
1533
|
amount: z.number().positive().transform(fromDollarsToCents).pipe(z.bigint()),
|
|
1498
1534
|
clearedAt: stringToDateSchema,
|
|
@@ -1520,22 +1556,6 @@ const accountNumberMaskedSchema = z.string().transform(maskBankAccountNumber);
|
|
|
1520
1556
|
const accountNumberValidationSchema = z.coerce.string().min(1, 'Account Number is required').max(9, 'Account Number must be less than 9 digits').regex(/^\d+$/, {
|
|
1521
1557
|
error: 'Account number must be all digits'
|
|
1522
1558
|
});
|
|
1523
|
-
const stringToEndOfDaySchema = z.union([
|
|
1524
|
-
z.string(),
|
|
1525
|
-
z.date(),
|
|
1526
|
-
z.iso.datetime()
|
|
1527
|
-
]).transform((val, ctx)=>{
|
|
1528
|
-
const { dayjs, isValid, reason } = safeParseDateFromStr(val);
|
|
1529
|
-
if (!isValid) return ctx.issues.push({
|
|
1530
|
-
code: 'invalid_value',
|
|
1531
|
-
message: reason ?? 'Invalid date',
|
|
1532
|
-
input: val.toString(),
|
|
1533
|
-
values: [
|
|
1534
|
-
val.toString()
|
|
1535
|
-
]
|
|
1536
|
-
});
|
|
1537
|
-
return dayjs.endOf('day').toDate();
|
|
1538
|
-
});
|
|
1539
1559
|
const stringToStartOfDaySchema = z.union([
|
|
1540
1560
|
z.string(),
|
|
1541
1561
|
z.date(),
|
|
@@ -1551,7 +1571,7 @@ const stringToStartOfDaySchema = z.union([
|
|
|
1551
1571
|
]
|
|
1552
1572
|
});
|
|
1553
1573
|
return dayjs.startOf('day').toDate();
|
|
1554
|
-
});
|
|
1574
|
+
}).pipe(z.date());
|
|
1555
1575
|
const InputJsonValueSchema = z.lazy(()=>z.union([
|
|
1556
1576
|
z.string(),
|
|
1557
1577
|
z.number(),
|
|
@@ -1908,10 +1928,7 @@ const mtaAccountPeriodClosingSummaryRestResSchema = z.object({
|
|
|
1908
1928
|
});
|
|
1909
1929
|
const createMtaReconciliationRestReqSchema = z.object({
|
|
1910
1930
|
bankStatementBalanceCents: dollarsToCentsSchema,
|
|
1911
|
-
reconciledTo:
|
|
1912
|
-
z.string(),
|
|
1913
|
-
z.date()
|
|
1914
|
-
]).transform((arg)=>dayjs_0(arg).endOf('day').toDate()).pipe(z.coerce.date()),
|
|
1931
|
+
reconciledTo: stringToEndOfDaySchema,
|
|
1915
1932
|
mtaAccountPeriodId: z.uuid()
|
|
1916
1933
|
});
|
|
1917
1934
|
const updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema = z.object({
|
|
@@ -1935,7 +1952,7 @@ const cancelMtaTransactionRestReqSchema = z.object({
|
|
|
1935
1952
|
});
|
|
1936
1953
|
const createMtaTransactionRestReqSchema = z.object({
|
|
1937
1954
|
amount: z.number().positive().transform(fromDollarsToCents).pipe(z.bigint()),
|
|
1938
|
-
clearedAt:
|
|
1955
|
+
clearedAt: stringToDateSchema,
|
|
1939
1956
|
description: z.string().transform((val)=>val.trim()),
|
|
1940
1957
|
inputType: z["enum"](mta_input_type_constant_MtaTransactionInputType),
|
|
1941
1958
|
transactionType: z["enum"](MtaTransactionType),
|
|
@@ -1987,11 +2004,11 @@ const mtaTransactionSearchRestReqSchema = z.object({
|
|
|
1987
2004
|
]).optional(),
|
|
1988
2005
|
isCanceled: z.union([
|
|
1989
2006
|
z.lazy(()=>boolFilterSchema),
|
|
1990
|
-
z.
|
|
2007
|
+
z.boolean()
|
|
1991
2008
|
]).optional(),
|
|
1992
2009
|
isRefunded: z.union([
|
|
1993
2010
|
z.lazy(()=>boolFilterSchema),
|
|
1994
|
-
z.
|
|
2011
|
+
z.boolean()
|
|
1995
2012
|
]).optional(),
|
|
1996
2013
|
mtaId: z.union([
|
|
1997
2014
|
z.lazy(()=>stringFilterSchema),
|
|
@@ -2888,7 +2905,7 @@ const utils = {
|
|
|
2888
2905
|
asap,
|
|
2889
2906
|
isIterable
|
|
2890
2907
|
};
|
|
2891
|
-
function
|
|
2908
|
+
function AxiosError(message, code, config, request, response) {
|
|
2892
2909
|
Error.call(this);
|
|
2893
2910
|
if (Error.captureStackTrace) Error.captureStackTrace(this, this.constructor);
|
|
2894
2911
|
else this.stack = new Error().stack;
|
|
@@ -2902,7 +2919,7 @@ function AxiosError_AxiosError(message, code, config, request, response) {
|
|
|
2902
2919
|
this.status = response.status ? response.status : null;
|
|
2903
2920
|
}
|
|
2904
2921
|
}
|
|
2905
|
-
utils.inherits(
|
|
2922
|
+
utils.inherits(AxiosError, Error, {
|
|
2906
2923
|
toJSON: function() {
|
|
2907
2924
|
return {
|
|
2908
2925
|
message: this.message,
|
|
@@ -2919,7 +2936,7 @@ utils.inherits(AxiosError_AxiosError, Error, {
|
|
|
2919
2936
|
};
|
|
2920
2937
|
}
|
|
2921
2938
|
});
|
|
2922
|
-
const AxiosError_prototype =
|
|
2939
|
+
const AxiosError_prototype = AxiosError.prototype;
|
|
2923
2940
|
const AxiosError_descriptors = {};
|
|
2924
2941
|
[
|
|
2925
2942
|
'ERR_BAD_OPTION_VALUE',
|
|
@@ -2939,22 +2956,22 @@ const AxiosError_descriptors = {};
|
|
|
2939
2956
|
value: code
|
|
2940
2957
|
};
|
|
2941
2958
|
});
|
|
2942
|
-
Object.defineProperties(
|
|
2959
|
+
Object.defineProperties(AxiosError, AxiosError_descriptors);
|
|
2943
2960
|
Object.defineProperty(AxiosError_prototype, 'isAxiosError', {
|
|
2944
2961
|
value: true
|
|
2945
2962
|
});
|
|
2946
|
-
|
|
2963
|
+
AxiosError.from = (error, code, config, request, response, customProps)=>{
|
|
2947
2964
|
const axiosError = Object.create(AxiosError_prototype);
|
|
2948
2965
|
utils.toFlatObject(error, axiosError, function(obj) {
|
|
2949
2966
|
return obj !== Error.prototype;
|
|
2950
2967
|
}, (prop)=>'isAxiosError' !== prop);
|
|
2951
|
-
|
|
2968
|
+
AxiosError.call(axiosError, error.message, code, config, request, response);
|
|
2952
2969
|
axiosError.cause = error;
|
|
2953
2970
|
axiosError.name = error.name;
|
|
2954
2971
|
customProps && Object.assign(axiosError, customProps);
|
|
2955
2972
|
return axiosError;
|
|
2956
2973
|
};
|
|
2957
|
-
const
|
|
2974
|
+
const core_AxiosError = AxiosError;
|
|
2958
2975
|
const helpers_null = null;
|
|
2959
2976
|
function isVisitable(thing) {
|
|
2960
2977
|
return utils.isPlainObject(thing) || utils.isArray(thing);
|
|
@@ -2996,7 +3013,7 @@ function toFormData(obj, formData, options) {
|
|
|
2996
3013
|
if (null === value) return '';
|
|
2997
3014
|
if (utils.isDate(value)) return value.toISOString();
|
|
2998
3015
|
if (utils.isBoolean(value)) return value.toString();
|
|
2999
|
-
if (!useBlob && utils.isBlob(value)) throw new
|
|
3016
|
+
if (!useBlob && utils.isBlob(value)) throw new core_AxiosError('Blob is not supported. Use a Buffer instead.');
|
|
3000
3017
|
if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) return useBlob && 'function' == typeof Blob ? new Blob([
|
|
3001
3018
|
value
|
|
3002
3019
|
]) : Buffer.from(value);
|
|
@@ -3278,7 +3295,7 @@ const defaults = {
|
|
|
3278
3295
|
return JSON.parse(data);
|
|
3279
3296
|
} catch (e) {
|
|
3280
3297
|
if (strictJSONParsing) {
|
|
3281
|
-
if ('SyntaxError' === e.name) throw
|
|
3298
|
+
if ('SyntaxError' === e.name) throw core_AxiosError.from(e, core_AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
|
|
3282
3299
|
throw e;
|
|
3283
3300
|
}
|
|
3284
3301
|
}
|
|
@@ -3575,19 +3592,19 @@ function isCancel(value) {
|
|
|
3575
3592
|
return !!(value && value.__CANCEL__);
|
|
3576
3593
|
}
|
|
3577
3594
|
function CanceledError(message, config, request) {
|
|
3578
|
-
|
|
3595
|
+
core_AxiosError.call(this, null == message ? 'canceled' : message, core_AxiosError.ERR_CANCELED, config, request);
|
|
3579
3596
|
this.name = 'CanceledError';
|
|
3580
3597
|
}
|
|
3581
|
-
utils.inherits(CanceledError,
|
|
3598
|
+
utils.inherits(CanceledError, core_AxiosError, {
|
|
3582
3599
|
__CANCEL__: true
|
|
3583
3600
|
});
|
|
3584
3601
|
const cancel_CanceledError = CanceledError;
|
|
3585
3602
|
function settle(resolve, reject, response) {
|
|
3586
3603
|
const validateStatus = response.config.validateStatus;
|
|
3587
3604
|
if (!response.status || !validateStatus || validateStatus(response.status)) resolve(response);
|
|
3588
|
-
else reject(new
|
|
3589
|
-
|
|
3590
|
-
|
|
3605
|
+
else reject(new core_AxiosError('Request failed with status code ' + response.status, [
|
|
3606
|
+
core_AxiosError.ERR_BAD_REQUEST,
|
|
3607
|
+
core_AxiosError.ERR_BAD_RESPONSE
|
|
3591
3608
|
][Math.floor(response.status / 100) - 4], response.config, response.request, response));
|
|
3592
3609
|
}
|
|
3593
3610
|
function parseProtocol(url) {
|
|
@@ -3875,18 +3892,18 @@ const xhr = isXHRAdapterSupported && function(config) {
|
|
|
3875
3892
|
};
|
|
3876
3893
|
request.onabort = function() {
|
|
3877
3894
|
if (!request) return;
|
|
3878
|
-
reject(new
|
|
3895
|
+
reject(new core_AxiosError('Request aborted', core_AxiosError.ECONNABORTED, config, request));
|
|
3879
3896
|
request = null;
|
|
3880
3897
|
};
|
|
3881
3898
|
request.onerror = function() {
|
|
3882
|
-
reject(new
|
|
3899
|
+
reject(new core_AxiosError('Network Error', core_AxiosError.ERR_NETWORK, config, request));
|
|
3883
3900
|
request = null;
|
|
3884
3901
|
};
|
|
3885
3902
|
request.ontimeout = function() {
|
|
3886
3903
|
let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
3887
3904
|
const transitional = _config.transitional || defaults_transitional;
|
|
3888
3905
|
if (_config.timeoutErrorMessage) timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
3889
|
-
reject(new
|
|
3906
|
+
reject(new core_AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? core_AxiosError.ETIMEDOUT : core_AxiosError.ECONNABORTED, config, request));
|
|
3890
3907
|
request = null;
|
|
3891
3908
|
};
|
|
3892
3909
|
void 0 === requestData && requestHeaders.setContentType(null);
|
|
@@ -3915,7 +3932,7 @@ const xhr = isXHRAdapterSupported && function(config) {
|
|
|
3915
3932
|
if (_config.signal) _config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);
|
|
3916
3933
|
}
|
|
3917
3934
|
const protocol = parseProtocol(_config.url);
|
|
3918
|
-
if (protocol && -1 === platform.protocols.indexOf(protocol)) return void reject(new
|
|
3935
|
+
if (protocol && -1 === platform.protocols.indexOf(protocol)) return void reject(new core_AxiosError('Unsupported protocol ' + protocol + ':', core_AxiosError.ERR_BAD_REQUEST, config));
|
|
3919
3936
|
request.send(requestData || null);
|
|
3920
3937
|
});
|
|
3921
3938
|
};
|
|
@@ -3929,12 +3946,12 @@ const composeSignals = (signals, timeout)=>{
|
|
|
3929
3946
|
aborted = true;
|
|
3930
3947
|
unsubscribe();
|
|
3931
3948
|
const err = reason instanceof Error ? reason : this.reason;
|
|
3932
|
-
controller.abort(err instanceof
|
|
3949
|
+
controller.abort(err instanceof core_AxiosError ? err : new cancel_CanceledError(err instanceof Error ? err.message : err));
|
|
3933
3950
|
}
|
|
3934
3951
|
};
|
|
3935
3952
|
let timer = timeout && setTimeout(()=>{
|
|
3936
3953
|
timer = null;
|
|
3937
|
-
onabort(new
|
|
3954
|
+
onabort(new core_AxiosError(`timeout ${timeout} of ms exceeded`, core_AxiosError.ETIMEDOUT));
|
|
3938
3955
|
}, timeout);
|
|
3939
3956
|
const unsubscribe = ()=>{
|
|
3940
3957
|
if (signals) {
|
|
@@ -4054,7 +4071,7 @@ isFetchSupported && ((res)=>{
|
|
|
4054
4071
|
'stream'
|
|
4055
4072
|
].forEach((type)=>{
|
|
4056
4073
|
resolvers[type] || (resolvers[type] = utils.isFunction(res[type]) ? (res)=>res[type]() : (_, config)=>{
|
|
4057
|
-
throw new
|
|
4074
|
+
throw new core_AxiosError(`Response type '${type}' is not supported`, core_AxiosError.ERR_NOT_SUPPORT, config);
|
|
4058
4075
|
});
|
|
4059
4076
|
});
|
|
4060
4077
|
})(new Response);
|
|
@@ -4146,10 +4163,10 @@ const adapters_fetch = isFetchSupported && (async (config)=>{
|
|
|
4146
4163
|
});
|
|
4147
4164
|
} catch (err) {
|
|
4148
4165
|
unsubscribe && unsubscribe();
|
|
4149
|
-
if (err && 'TypeError' === err.name && /Load failed|fetch/i.test(err.message)) throw Object.assign(new
|
|
4166
|
+
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), {
|
|
4150
4167
|
cause: err.cause || err
|
|
4151
4168
|
});
|
|
4152
|
-
throw
|
|
4169
|
+
throw core_AxiosError.from(err, err && err.code, config, request);
|
|
4153
4170
|
}
|
|
4154
4171
|
});
|
|
4155
4172
|
const knownAdapters = {
|
|
@@ -4186,7 +4203,7 @@ const adapters_adapters = {
|
|
|
4186
4203
|
adapter = nameOrAdapter;
|
|
4187
4204
|
if (!isResolvedHandle(nameOrAdapter)) {
|
|
4188
4205
|
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
|
4189
|
-
if (void 0 === adapter) throw new
|
|
4206
|
+
if (void 0 === adapter) throw new core_AxiosError(`Unknown adapter '${id}'`);
|
|
4190
4207
|
}
|
|
4191
4208
|
if (adapter) break;
|
|
4192
4209
|
rejectedReasons[id || '#' + i] = adapter;
|
|
@@ -4194,7 +4211,7 @@ const adapters_adapters = {
|
|
|
4194
4211
|
if (!adapter) {
|
|
4195
4212
|
const reasons = Object.entries(rejectedReasons).map(([id, state])=>`adapter ${id} ` + (false === state ? 'is not supported by the environment' : 'is not available in the build'));
|
|
4196
4213
|
let s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified';
|
|
4197
|
-
throw new
|
|
4214
|
+
throw new core_AxiosError("There is no suitable adapter to dispatch the request " + s, 'ERR_NOT_SUPPORT');
|
|
4198
4215
|
}
|
|
4199
4216
|
return adapter;
|
|
4200
4217
|
},
|
|
@@ -4250,7 +4267,7 @@ validators.transitional = function(validator, version, message) {
|
|
|
4250
4267
|
return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
|
|
4251
4268
|
}
|
|
4252
4269
|
return (value, opt, opts)=>{
|
|
4253
|
-
if (false === validator) throw new
|
|
4270
|
+
if (false === validator) throw new core_AxiosError(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), core_AxiosError.ERR_DEPRECATED);
|
|
4254
4271
|
if (version && !deprecatedWarnings[opt]) {
|
|
4255
4272
|
deprecatedWarnings[opt] = true;
|
|
4256
4273
|
console.warn(formatMessage(opt, ' has been deprecated since v' + version + ' and will be removed in the near future'));
|
|
@@ -4265,7 +4282,7 @@ validators.spelling = function(correctSpelling) {
|
|
|
4265
4282
|
};
|
|
4266
4283
|
};
|
|
4267
4284
|
function assertOptions(options, schema, allowUnknown) {
|
|
4268
|
-
if ('object' != typeof options) throw new
|
|
4285
|
+
if ('object' != typeof options) throw new core_AxiosError('options must be an object', core_AxiosError.ERR_BAD_OPTION_VALUE);
|
|
4269
4286
|
const keys = Object.keys(options);
|
|
4270
4287
|
let i = keys.length;
|
|
4271
4288
|
while(i-- > 0){
|
|
@@ -4274,10 +4291,10 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
4274
4291
|
if (validator) {
|
|
4275
4292
|
const value = options[opt];
|
|
4276
4293
|
const result = void 0 === value || validator(value, opt, options);
|
|
4277
|
-
if (true !== result) throw new
|
|
4294
|
+
if (true !== result) throw new core_AxiosError('option ' + opt + ' must be ' + result, core_AxiosError.ERR_BAD_OPTION_VALUE);
|
|
4278
4295
|
continue;
|
|
4279
4296
|
}
|
|
4280
|
-
if (true !== allowUnknown) throw new
|
|
4297
|
+
if (true !== allowUnknown) throw new core_AxiosError('Unknown option ' + opt, core_AxiosError.ERR_BAD_OPTION);
|
|
4281
4298
|
}
|
|
4282
4299
|
}
|
|
4283
4300
|
const helpers_validator = {
|
|
@@ -4605,7 +4622,7 @@ axios.CancelToken = CancelToken;
|
|
|
4605
4622
|
axios.isCancel = isCancel;
|
|
4606
4623
|
axios.VERSION = VERSION;
|
|
4607
4624
|
axios.toFormData = helpers_toFormData;
|
|
4608
|
-
axios.AxiosError =
|
|
4625
|
+
axios.AxiosError = core_AxiosError;
|
|
4609
4626
|
axios.Cancel = axios.CanceledError;
|
|
4610
4627
|
axios.all = function(promises) {
|
|
4611
4628
|
return Promise.all(promises);
|
|
@@ -4711,4 +4728,4 @@ const getPropertyName = (property, options)=>{
|
|
|
4711
4728
|
names = names.filter(Boolean);
|
|
4712
4729
|
return names.length > 0 ? names.join(' ') : 'Nill';
|
|
4713
4730
|
};
|
|
4714
|
-
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, PropertyRestResStatus, PropertyStage, 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, 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, dateTimeFilterBaseSchema, dateTimeFilterSchema, developerEntitySchema, displayBankAccount, dollarsToCentsSchema, date_util_e as extendDayjs, formatBankBsb, formatCurrency, fromCentsToDollars, fromDollarsToCents, generateMtaPaymentMethodAccountConfigForZepto, generateMtaPaymentMethodFloatAccountConfigForZepto, getPropertyName, getTransactionAmountStr, getTransactionNumber, getTransactionStatus, intFilterSchema, intNullableFilterSchema, 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, mtaSettlementPayoutRestResSchema, mtaToCmaPayoutPaymentEntitySchema, mtaToCmaPayoutPaymentRestSchema, mtaToCmaPayoutProvisionDataEntitySchema, mtaToCmaPayoutProvisionDataRestSchema, mtaToCmaPayoutRestResSchema, mtaToCmaPayoutSourceDetailEntitySchema, mtaToCmaPayoutSourceDetailRestSchema, mtaToCmaPayoutTargetDetailEntitySchema, mtaToCmaPayoutTargetDetailRestSchema, mtaTransactionEntitySchema, mtaTransactionNestedSchema, mtaTransactionRestResBaseSchema, mtaTransactionRestResSchema, mtaTransactionSearchRestReqSchema, mtaTransactionStatusSummaryRestResSchema, paginatedResSchema, paginationReqSchema, paymentListReportRestReqSchema, paymentProviderEntitySchema, payoutBankFileDownloadHistoryEntitySchema, payoutBankFileEntitySchema, payoutBankFileRestResSchema, payoutEntitySchema, payoutProvisionDataEntitySchema, payoutRestResBaseSchema, payoutRestResSchema, payoutSearchRestReqSchema, payoutStatusSummaryRestResSchema, payoutTransactionEntitySchema, payoutTransactionRestResSchema, payoutTransactionSearchRestReqSchema, payoutUpdateRestReqSchema, projectEntitySchema, projectLedgerRestReqSchema, projectMtaAllocationEntitySchema, projectMtaAllocationRestResSchema, projectNestedEntitySchema, projectRestResSchema, propertyAccountsBalanceRestResSchema, propertyEntitySchema, propertyNestedEntitySchema, propertyRestResBaseSchema, propertyRestResSchema, propertySearchRestReqSchema, queryModeSchema, receiptListReportRestReqSchema, reconcileCmaTransactionRestReqSchema, reconcileMtaTransactionRestReqSchema, reconciledItemsListReportRestReqSchema, safeParseDateFromStr, settlementPayoutPaymentEntitySchema, settlementPayoutProvisionDataEntitySchema, settlementPayoutRestResSchema, settlementPayoutSourceDetailEntitySchema, settlementPayoutTargetDetailEntitySchema, simpleStringFilterSchema, sortReqSchema, stateCodeSchema, stringFilterSchema, stringToDateSchema, stringToEndOfDaySchema, stringToStartOfDaySchema, trustTrialBalanceReportRestReqSchema, unknownPayoutPaymentEntitySchema, unknownPayoutProvisionDataEntitySchema, unknownPayoutRestResSchema, unknownPayoutSourceDetailEntitySchema, unknownPayoutTargetDetailEntitySchema, unknownReceiptLedgerRestReqSchema, unreconciledItemsListReportRestReqSchema, updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema, updateCmaSettlementPayoutRestReqSchema, updateMenuRestReqSchema, updateMtaRestReqSchema, updateMtaSettlementPayoutRestReqSchema, updateMtaToCmaPayoutRestReqSchema, updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema, updateSettlementPayoutRestReqSchema, updateUnknownPayoutRestReqSchema, updateUnknownPayoutTargetDetailRestReqSchema, userEntitySchema, userRestResSchema };
|
|
4731
|
+
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, PropertyRestResStatus, PropertyStage, 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, 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, dateTimeFilterBaseSchema, dateTimeFilterSchema, developerEntitySchema, displayBankAccount, dollarsToCentsSchema, date_util_e as extendDayjs, formatBankBsb, formatCurrency, fromCentsToDollars, fromDollarsToCents, generateMtaPaymentMethodAccountConfigForZepto, generateMtaPaymentMethodFloatAccountConfigForZepto, getPropertyName, getTransactionAmountStr, getTransactionNumber, getTransactionStatus, intFilterSchema, intNullableFilterSchema, 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, mtaSettlementPayoutRestResSchema, mtaToCmaPayoutPaymentEntitySchema, mtaToCmaPayoutPaymentRestSchema, mtaToCmaPayoutProvisionDataEntitySchema, mtaToCmaPayoutProvisionDataRestSchema, mtaToCmaPayoutRestResSchema, mtaToCmaPayoutSourceDetailEntitySchema, mtaToCmaPayoutSourceDetailRestSchema, mtaToCmaPayoutTargetDetailEntitySchema, mtaToCmaPayoutTargetDetailRestSchema, mtaTransactionEntitySchema, mtaTransactionNestedSchema, mtaTransactionRestResBaseSchema, mtaTransactionRestResSchema, mtaTransactionSearchRestReqSchema, mtaTransactionStatusSummaryRestResSchema, paginatedResSchema, paginationReqSchema, paymentListReportRestReqSchema, paymentProviderEntitySchema, payoutBankFileDownloadHistoryEntitySchema, payoutBankFileEntitySchema, payoutBankFileRestResSchema, payoutEntitySchema, payoutProvisionDataEntitySchema, payoutRestResBaseSchema, payoutRestResSchema, payoutSearchRestReqSchema, payoutStatusSummaryRestResSchema, payoutTransactionEntitySchema, payoutTransactionRestResSchema, payoutTransactionSearchRestReqSchema, payoutUpdateRestReqSchema, projectEntitySchema, projectLedgerRestReqSchema, projectMtaAllocationEntitySchema, projectMtaAllocationRestResSchema, projectNestedEntitySchema, projectRestResSchema, propertyAccountsBalanceRestResSchema, propertyEntitySchema, propertyNestedEntitySchema, propertyRestResBaseSchema, propertyRestResSchema, propertySearchRestReqSchema, queryModeSchema, receiptListReportRestReqSchema, reconcileCmaTransactionRestReqSchema, reconcileMtaTransactionRestReqSchema, reconciledItemsListReportRestReqSchema, safeParseDateFromStr, settlementPayoutPaymentEntitySchema, settlementPayoutProvisionDataEntitySchema, settlementPayoutRestResSchema, settlementPayoutSourceDetailEntitySchema, settlementPayoutTargetDetailEntitySchema, simpleStringFilterSchema, sortReqSchema, stateCodeSchema, stringFilterSchema, stringToBoolSchema, stringToDateSchema, stringToEndOfDaySchema, stringToStartOfDaySchema, trustTrialBalanceReportRestReqSchema, unknownPayoutPaymentEntitySchema, unknownPayoutProvisionDataEntitySchema, unknownPayoutRestResSchema, unknownPayoutSourceDetailEntitySchema, unknownPayoutTargetDetailEntitySchema, unknownReceiptLedgerRestReqSchema, unreconciledItemsListReportRestReqSchema, updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema, updateCmaSettlementPayoutRestReqSchema, updateMenuRestReqSchema, updateMtaRestReqSchema, updateMtaSettlementPayoutRestReqSchema, updateMtaToCmaPayoutRestReqSchema, updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema, updateSettlementPayoutRestReqSchema, updateUnknownPayoutRestReqSchema, updateUnknownPayoutTargetDetailRestReqSchema, userEntitySchema, userRestResSchema };
|