@mikemo-coposit/am-accounting-shared 0.0.12 → 0.0.13
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 +67 -50
- package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +24 -24
- package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +8 -8
- package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +24 -24
- package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +8 -8
- package/dist/cjs/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.rest.schema.d.ts +156 -156
- package/dist/cjs/schemas/payout/payout.rest.schema.d.ts +448 -448
- package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +36 -36
- package/dist/cjs/schemas/property/property.rest.schema.d.ts +16 -16
- package/dist/cjs/schemas/report/index.d.ts +2 -0
- package/dist/cjs/schemas/report/index.d.ts.map +1 -1
- package/dist/cjs/schemas/report/project-ledger.rest.schema.d.ts +34 -0
- package/dist/cjs/schemas/report/project-ledger.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/report/unknown-receipt-ledger.schema.d.ts +30 -0
- package/dist/cjs/schemas/report/unknown-receipt-ledger.schema.d.ts.map +1 -0
- package/dist/cjs/utils/mask-string.util.d.ts +9 -0
- package/dist/cjs/utils/mask-string.util.d.ts.map +1 -1
- package/dist/cjs/utils/payment-credential-generate.util.d.ts +21 -0
- package/dist/cjs/utils/payment-credential-generate.util.d.ts.map +1 -1
- package/dist/cjs/utils/property.util.d.ts +13 -1
- package/dist/cjs/utils/property.util.d.ts.map +1 -1
- package/dist/esm/index.mjs +42 -31
- package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +24 -24
- package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +8 -8
- package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +24 -24
- package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +8 -8
- package/dist/esm/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.rest.schema.d.ts +156 -156
- package/dist/esm/schemas/payout/payout.rest.schema.d.ts +448 -448
- package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +36 -36
- package/dist/esm/schemas/property/property.rest.schema.d.ts +16 -16
- package/dist/esm/schemas/report/index.d.ts +2 -0
- package/dist/esm/schemas/report/index.d.ts.map +1 -1
- package/dist/esm/schemas/report/project-ledger.rest.schema.d.ts +34 -0
- package/dist/esm/schemas/report/project-ledger.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/report/unknown-receipt-ledger.schema.d.ts +30 -0
- package/dist/esm/schemas/report/unknown-receipt-ledger.schema.d.ts.map +1 -0
- package/dist/esm/utils/mask-string.util.d.ts +9 -0
- package/dist/esm/utils/mask-string.util.d.ts.map +1 -1
- package/dist/esm/utils/payment-credential-generate.util.d.ts +21 -0
- package/dist/esm/utils/payment-credential-generate.util.d.ts.map +1 -1
- package/dist/esm/utils/property.util.d.ts +13 -1
- package/dist/esm/utils/property.util.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -462,7 +462,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
462
462
|
firstName?: string | null | undefined;
|
|
463
463
|
lastName?: string | null | undefined;
|
|
464
464
|
} | null | undefined;
|
|
465
|
-
} & any, "cma"> | null | undefined;
|
|
465
|
+
} & /*elided*/ any, "cma"> | null | undefined;
|
|
466
466
|
subsequentTransactions?: Omit<{
|
|
467
467
|
status: "clearing" | "cleared" | "reconciled";
|
|
468
468
|
id: string;
|
|
@@ -554,7 +554,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
554
554
|
firstName?: string | null | undefined;
|
|
555
555
|
lastName?: string | null | undefined;
|
|
556
556
|
} | null | undefined;
|
|
557
|
-
} & any, "cma">[] | null | undefined;
|
|
557
|
+
} & /*elided*/ any, "cma">[] | null | undefined;
|
|
558
558
|
reconciledTransactions?: z.output<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
559
559
|
isReceipt?: boolean | null | undefined;
|
|
560
560
|
isPayment?: boolean | null | undefined;
|
|
@@ -747,7 +747,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
747
747
|
firstName?: string | null | undefined;
|
|
748
748
|
lastName?: string | null | undefined;
|
|
749
749
|
} | null | undefined;
|
|
750
|
-
} & any) | null | undefined;
|
|
750
|
+
} & /*elided*/ any) | null | undefined;
|
|
751
751
|
subsequentTransactions?: ({
|
|
752
752
|
status: string;
|
|
753
753
|
id: string;
|
|
@@ -839,7 +839,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
839
839
|
firstName?: string | null | undefined;
|
|
840
840
|
lastName?: string | null | undefined;
|
|
841
841
|
} | null | undefined;
|
|
842
|
-
} & any)[] | null | undefined;
|
|
842
|
+
} & /*elided*/ any)[] | null | undefined;
|
|
843
843
|
reconciledTransactions?: z.input<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
844
844
|
payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
|
|
845
845
|
}>, "many">>>;
|
|
@@ -1029,7 +1029,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
1029
1029
|
firstName?: string | null | undefined;
|
|
1030
1030
|
lastName?: string | null | undefined;
|
|
1031
1031
|
} | null | undefined;
|
|
1032
|
-
} & any) | null | undefined;
|
|
1032
|
+
} & /*elided*/ any) | null | undefined;
|
|
1033
1033
|
subsequentTransactions?: ({
|
|
1034
1034
|
status: "clearing" | "cleared" | "reconciled";
|
|
1035
1035
|
id: string;
|
|
@@ -1122,7 +1122,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
1122
1122
|
firstName?: string | null | undefined;
|
|
1123
1123
|
lastName?: string | null | undefined;
|
|
1124
1124
|
} | null | undefined;
|
|
1125
|
-
} & any)[] | null | undefined;
|
|
1125
|
+
} & /*elided*/ any)[] | null | undefined;
|
|
1126
1126
|
reconciledTransactions?: z.output<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
1127
1127
|
isReceipt?: boolean | null | undefined;
|
|
1128
1128
|
isPayment?: boolean | null | undefined;
|
|
@@ -1319,7 +1319,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
1319
1319
|
firstName?: string | null | undefined;
|
|
1320
1320
|
lastName?: string | null | undefined;
|
|
1321
1321
|
} | null | undefined;
|
|
1322
|
-
} & any) | null | undefined;
|
|
1322
|
+
} & /*elided*/ any) | null | undefined;
|
|
1323
1323
|
subsequentTransactions?: ({
|
|
1324
1324
|
status: string;
|
|
1325
1325
|
id: string;
|
|
@@ -1412,7 +1412,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
1412
1412
|
firstName?: string | null | undefined;
|
|
1413
1413
|
lastName?: string | null | undefined;
|
|
1414
1414
|
} | null | undefined;
|
|
1415
|
-
} & any)[] | null | undefined;
|
|
1415
|
+
} & /*elided*/ any)[] | null | undefined;
|
|
1416
1416
|
reconciledTransactions?: z.input<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
1417
1417
|
}>, "many">>>;
|
|
1418
1418
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1690,7 +1690,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
1690
1690
|
firstName?: string | null | undefined;
|
|
1691
1691
|
lastName?: string | null | undefined;
|
|
1692
1692
|
} | null | undefined;
|
|
1693
|
-
} & any, "cma"> | null | undefined;
|
|
1693
|
+
} & /*elided*/ any, "cma"> | null | undefined;
|
|
1694
1694
|
subsequentTransactions?: Omit<{
|
|
1695
1695
|
status: "clearing" | "cleared" | "reconciled";
|
|
1696
1696
|
id: string;
|
|
@@ -1782,7 +1782,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
1782
1782
|
firstName?: string | null | undefined;
|
|
1783
1783
|
lastName?: string | null | undefined;
|
|
1784
1784
|
} | null | undefined;
|
|
1785
|
-
} & any, "cma">[] | null | undefined;
|
|
1785
|
+
} & /*elided*/ any, "cma">[] | null | undefined;
|
|
1786
1786
|
reconciledTransactions?: z.output<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
1787
1787
|
isReceipt?: boolean | null | undefined;
|
|
1788
1788
|
isPayment?: boolean | null | undefined;
|
|
@@ -1978,7 +1978,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
1978
1978
|
firstName?: string | null | undefined;
|
|
1979
1979
|
lastName?: string | null | undefined;
|
|
1980
1980
|
} | null | undefined;
|
|
1981
|
-
} & any) | null | undefined;
|
|
1981
|
+
} & /*elided*/ any) | null | undefined;
|
|
1982
1982
|
subsequentTransactions?: ({
|
|
1983
1983
|
status: "clearing" | "cleared" | "reconciled";
|
|
1984
1984
|
id: string;
|
|
@@ -2071,7 +2071,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
2071
2071
|
firstName?: string | null | undefined;
|
|
2072
2072
|
lastName?: string | null | undefined;
|
|
2073
2073
|
} | null | undefined;
|
|
2074
|
-
} & any)[] | null | undefined;
|
|
2074
|
+
} & /*elided*/ any)[] | null | undefined;
|
|
2075
2075
|
reconciledTransactions?: z.output<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
2076
2076
|
isReceipt?: boolean | null | undefined;
|
|
2077
2077
|
isPayment?: boolean | null | undefined;
|
|
@@ -2358,7 +2358,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
2358
2358
|
firstName?: string | null | undefined;
|
|
2359
2359
|
lastName?: string | null | undefined;
|
|
2360
2360
|
} | null | undefined;
|
|
2361
|
-
} & any) | null | undefined;
|
|
2361
|
+
} & /*elided*/ any) | null | undefined;
|
|
2362
2362
|
subsequentTransactions?: ({
|
|
2363
2363
|
status: string;
|
|
2364
2364
|
id: string;
|
|
@@ -2450,7 +2450,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
2450
2450
|
firstName?: string | null | undefined;
|
|
2451
2451
|
lastName?: string | null | undefined;
|
|
2452
2452
|
} | null | undefined;
|
|
2453
|
-
} & any)[] | null | undefined;
|
|
2453
|
+
} & /*elided*/ any)[] | null | undefined;
|
|
2454
2454
|
reconciledTransactions?: z.input<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
2455
2455
|
payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
|
|
2456
2456
|
})[] | null | undefined;
|
|
@@ -2640,7 +2640,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
2640
2640
|
firstName?: string | null | undefined;
|
|
2641
2641
|
lastName?: string | null | undefined;
|
|
2642
2642
|
} | null | undefined;
|
|
2643
|
-
} & any) | null | undefined;
|
|
2643
|
+
} & /*elided*/ any) | null | undefined;
|
|
2644
2644
|
subsequentTransactions?: ({
|
|
2645
2645
|
status: string;
|
|
2646
2646
|
id: string;
|
|
@@ -2733,7 +2733,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
2733
2733
|
firstName?: string | null | undefined;
|
|
2734
2734
|
lastName?: string | null | undefined;
|
|
2735
2735
|
} | null | undefined;
|
|
2736
|
-
} & any)[] | null | undefined;
|
|
2736
|
+
} & /*elided*/ any)[] | null | undefined;
|
|
2737
2737
|
reconciledTransactions?: z.input<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
2738
2738
|
})[] | null | undefined;
|
|
2739
2739
|
}>>>>;
|
|
@@ -3005,7 +3005,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
3005
3005
|
firstName?: string | null | undefined;
|
|
3006
3006
|
lastName?: string | null | undefined;
|
|
3007
3007
|
} | null | undefined;
|
|
3008
|
-
} & any, "cma"> | null | undefined;
|
|
3008
|
+
} & /*elided*/ any, "cma"> | null | undefined;
|
|
3009
3009
|
subsequentTransactions?: Omit<{
|
|
3010
3010
|
status: "clearing" | "cleared" | "reconciled";
|
|
3011
3011
|
id: string;
|
|
@@ -3097,7 +3097,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
3097
3097
|
firstName?: string | null | undefined;
|
|
3098
3098
|
lastName?: string | null | undefined;
|
|
3099
3099
|
} | null | undefined;
|
|
3100
|
-
} & any, "cma">[] | null | undefined;
|
|
3100
|
+
} & /*elided*/ any, "cma">[] | null | undefined;
|
|
3101
3101
|
reconciledTransactions?: z.output<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
3102
3102
|
isReceipt?: boolean | null | undefined;
|
|
3103
3103
|
isPayment?: boolean | null | undefined;
|
|
@@ -3290,7 +3290,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
3290
3290
|
firstName?: string | null | undefined;
|
|
3291
3291
|
lastName?: string | null | undefined;
|
|
3292
3292
|
} | null | undefined;
|
|
3293
|
-
} & any) | null | undefined;
|
|
3293
|
+
} & /*elided*/ any) | null | undefined;
|
|
3294
3294
|
subsequentTransactions?: ({
|
|
3295
3295
|
status: string;
|
|
3296
3296
|
id: string;
|
|
@@ -3382,7 +3382,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
3382
3382
|
firstName?: string | null | undefined;
|
|
3383
3383
|
lastName?: string | null | undefined;
|
|
3384
3384
|
} | null | undefined;
|
|
3385
|
-
} & any)[] | null | undefined;
|
|
3385
|
+
} & /*elided*/ any)[] | null | undefined;
|
|
3386
3386
|
reconciledTransactions?: z.input<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
3387
3387
|
payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
|
|
3388
3388
|
}>>>>;
|
|
@@ -3659,7 +3659,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
3659
3659
|
firstName?: string | null | undefined;
|
|
3660
3660
|
lastName?: string | null | undefined;
|
|
3661
3661
|
} | null | undefined;
|
|
3662
|
-
} & any) | null | undefined;
|
|
3662
|
+
} & /*elided*/ any) | null | undefined;
|
|
3663
3663
|
subsequentTransactions?: ({
|
|
3664
3664
|
status: "clearing" | "cleared" | "reconciled";
|
|
3665
3665
|
id: string;
|
|
@@ -3752,7 +3752,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
3752
3752
|
firstName?: string | null | undefined;
|
|
3753
3753
|
lastName?: string | null | undefined;
|
|
3754
3754
|
} | null | undefined;
|
|
3755
|
-
} & any)[] | null | undefined;
|
|
3755
|
+
} & /*elided*/ any)[] | null | undefined;
|
|
3756
3756
|
reconciledTransactions?: z.output<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
3757
3757
|
isReceipt?: boolean | null | undefined;
|
|
3758
3758
|
isPayment?: boolean | null | undefined;
|
|
@@ -3949,7 +3949,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
3949
3949
|
firstName?: string | null | undefined;
|
|
3950
3950
|
lastName?: string | null | undefined;
|
|
3951
3951
|
} | null | undefined;
|
|
3952
|
-
} & any) | null | undefined;
|
|
3952
|
+
} & /*elided*/ any) | null | undefined;
|
|
3953
3953
|
subsequentTransactions?: ({
|
|
3954
3954
|
status: string;
|
|
3955
3955
|
id: string;
|
|
@@ -4042,7 +4042,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
4042
4042
|
firstName?: string | null | undefined;
|
|
4043
4043
|
lastName?: string | null | undefined;
|
|
4044
4044
|
} | null | undefined;
|
|
4045
|
-
} & any)[] | null | undefined;
|
|
4045
|
+
} & /*elided*/ any)[] | null | undefined;
|
|
4046
4046
|
reconciledTransactions?: z.input<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
4047
4047
|
}>>>>;
|
|
4048
4048
|
cma: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodLazy<z.ZodObject<{
|
|
@@ -5426,7 +5426,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
5426
5426
|
firstName?: string | null | undefined;
|
|
5427
5427
|
lastName?: string | null | undefined;
|
|
5428
5428
|
} | null | undefined;
|
|
5429
|
-
} & any, "cma"> | null | undefined;
|
|
5429
|
+
} & /*elided*/ any, "cma"> | null | undefined;
|
|
5430
5430
|
subsequentTransactions?: Omit<{
|
|
5431
5431
|
status: "clearing" | "cleared" | "reconciled";
|
|
5432
5432
|
id: string;
|
|
@@ -5518,7 +5518,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
5518
5518
|
firstName?: string | null | undefined;
|
|
5519
5519
|
lastName?: string | null | undefined;
|
|
5520
5520
|
} | null | undefined;
|
|
5521
|
-
} & any, "cma">[] | null | undefined;
|
|
5521
|
+
} & /*elided*/ any, "cma">[] | null | undefined;
|
|
5522
5522
|
reconciledTransactions?: z.output<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
5523
5523
|
isReceipt?: boolean | null | undefined;
|
|
5524
5524
|
isPayment?: boolean | null | undefined;
|
|
@@ -5714,7 +5714,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
5714
5714
|
firstName?: string | null | undefined;
|
|
5715
5715
|
lastName?: string | null | undefined;
|
|
5716
5716
|
} | null | undefined;
|
|
5717
|
-
} & any) | null | undefined;
|
|
5717
|
+
} & /*elided*/ any) | null | undefined;
|
|
5718
5718
|
subsequentTransactions?: ({
|
|
5719
5719
|
status: "clearing" | "cleared" | "reconciled";
|
|
5720
5720
|
id: string;
|
|
@@ -5807,7 +5807,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
5807
5807
|
firstName?: string | null | undefined;
|
|
5808
5808
|
lastName?: string | null | undefined;
|
|
5809
5809
|
} | null | undefined;
|
|
5810
|
-
} & any)[] | null | undefined;
|
|
5810
|
+
} & /*elided*/ any)[] | null | undefined;
|
|
5811
5811
|
reconciledTransactions?: z.output<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
5812
5812
|
isReceipt?: boolean | null | undefined;
|
|
5813
5813
|
isPayment?: boolean | null | undefined;
|
|
@@ -6006,7 +6006,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
6006
6006
|
firstName?: string | null | undefined;
|
|
6007
6007
|
lastName?: string | null | undefined;
|
|
6008
6008
|
} | null | undefined;
|
|
6009
|
-
} & any) | null | undefined;
|
|
6009
|
+
} & /*elided*/ any) | null | undefined;
|
|
6010
6010
|
subsequentTransactions?: ({
|
|
6011
6011
|
status: "clearing" | "cleared" | "reconciled";
|
|
6012
6012
|
id: string;
|
|
@@ -6099,7 +6099,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
6099
6099
|
firstName?: string | null | undefined;
|
|
6100
6100
|
lastName?: string | null | undefined;
|
|
6101
6101
|
} | null | undefined;
|
|
6102
|
-
} & any)[] | null | undefined;
|
|
6102
|
+
} & /*elided*/ any)[] | null | undefined;
|
|
6103
6103
|
reconciledTransactions?: z.output<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
6104
6104
|
isReceipt?: boolean | null | undefined;
|
|
6105
6105
|
isPayment?: boolean | null | undefined;
|
|
@@ -6295,7 +6295,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
6295
6295
|
firstName?: string | null | undefined;
|
|
6296
6296
|
lastName?: string | null | undefined;
|
|
6297
6297
|
} | null | undefined;
|
|
6298
|
-
} & any, "cma"> | null | undefined;
|
|
6298
|
+
} & /*elided*/ any, "cma"> | null | undefined;
|
|
6299
6299
|
subsequentTransactions?: Omit<{
|
|
6300
6300
|
status: "clearing" | "cleared" | "reconciled";
|
|
6301
6301
|
id: string;
|
|
@@ -6387,7 +6387,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
6387
6387
|
firstName?: string | null | undefined;
|
|
6388
6388
|
lastName?: string | null | undefined;
|
|
6389
6389
|
} | null | undefined;
|
|
6390
|
-
} & any, "cma">[] | null | undefined;
|
|
6390
|
+
} & /*elided*/ any, "cma">[] | null | undefined;
|
|
6391
6391
|
reconciledTransactions?: z.output<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
6392
6392
|
isReceipt?: boolean | null | undefined;
|
|
6393
6393
|
isPayment?: boolean | null | undefined;
|
|
@@ -6735,7 +6735,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
6735
6735
|
firstName?: string | null | undefined;
|
|
6736
6736
|
lastName?: string | null | undefined;
|
|
6737
6737
|
} | null | undefined;
|
|
6738
|
-
} & any) | null | undefined;
|
|
6738
|
+
} & /*elided*/ any) | null | undefined;
|
|
6739
6739
|
subsequentTransactions?: ({
|
|
6740
6740
|
status: string;
|
|
6741
6741
|
id: string;
|
|
@@ -6827,7 +6827,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
6827
6827
|
firstName?: string | null | undefined;
|
|
6828
6828
|
lastName?: string | null | undefined;
|
|
6829
6829
|
} | null | undefined;
|
|
6830
|
-
} & any)[] | null | undefined;
|
|
6830
|
+
} & /*elided*/ any)[] | null | undefined;
|
|
6831
6831
|
reconciledTransactions?: z.input<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
6832
6832
|
payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
|
|
6833
6833
|
})[] | null | undefined;
|
|
@@ -7017,7 +7017,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
7017
7017
|
firstName?: string | null | undefined;
|
|
7018
7018
|
lastName?: string | null | undefined;
|
|
7019
7019
|
} | null | undefined;
|
|
7020
|
-
} & any) | null | undefined;
|
|
7020
|
+
} & /*elided*/ any) | null | undefined;
|
|
7021
7021
|
subsequentTransactions?: ({
|
|
7022
7022
|
status: string;
|
|
7023
7023
|
id: string;
|
|
@@ -7110,7 +7110,7 @@ export declare const payoutTransactionRestResSchema: z.ZodObject<{
|
|
|
7110
7110
|
firstName?: string | null | undefined;
|
|
7111
7111
|
lastName?: string | null | undefined;
|
|
7112
7112
|
} | null | undefined;
|
|
7113
|
-
} & any)[] | null | undefined;
|
|
7113
|
+
} & /*elided*/ any)[] | null | undefined;
|
|
7114
7114
|
reconciledTransactions?: z.input<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
7115
7115
|
})[] | null | undefined;
|
|
7116
7116
|
} | null | undefined;
|
|
@@ -491,7 +491,7 @@ export declare const propertyRestResSchema: z.ZodObject<{
|
|
|
491
491
|
firstName?: string | null | undefined;
|
|
492
492
|
lastName?: string | null | undefined;
|
|
493
493
|
} | null | undefined;
|
|
494
|
-
} & any, "cma"> | null | undefined;
|
|
494
|
+
} & /*elided*/ any, "cma"> | null | undefined;
|
|
495
495
|
subsequentTransactions?: Omit<{
|
|
496
496
|
status: "clearing" | "cleared" | "reconciled";
|
|
497
497
|
id: string;
|
|
@@ -583,7 +583,7 @@ export declare const propertyRestResSchema: z.ZodObject<{
|
|
|
583
583
|
firstName?: string | null | undefined;
|
|
584
584
|
lastName?: string | null | undefined;
|
|
585
585
|
} | null | undefined;
|
|
586
|
-
} & any, "cma">[] | null | undefined;
|
|
586
|
+
} & /*elided*/ any, "cma">[] | null | undefined;
|
|
587
587
|
reconciledTransactions?: z.output<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
588
588
|
isReceipt?: boolean | null | undefined;
|
|
589
589
|
isPayment?: boolean | null | undefined;
|
|
@@ -776,7 +776,7 @@ export declare const propertyRestResSchema: z.ZodObject<{
|
|
|
776
776
|
firstName?: string | null | undefined;
|
|
777
777
|
lastName?: string | null | undefined;
|
|
778
778
|
} | null | undefined;
|
|
779
|
-
} & any) | null | undefined;
|
|
779
|
+
} & /*elided*/ any) | null | undefined;
|
|
780
780
|
subsequentTransactions?: ({
|
|
781
781
|
status: string;
|
|
782
782
|
id: string;
|
|
@@ -868,7 +868,7 @@ export declare const propertyRestResSchema: z.ZodObject<{
|
|
|
868
868
|
firstName?: string | null | undefined;
|
|
869
869
|
lastName?: string | null | undefined;
|
|
870
870
|
} | null | undefined;
|
|
871
|
-
} & any)[] | null | undefined;
|
|
871
|
+
} & /*elided*/ any)[] | null | undefined;
|
|
872
872
|
reconciledTransactions?: z.input<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
873
873
|
payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
|
|
874
874
|
}>, "many">>>;
|
|
@@ -1058,7 +1058,7 @@ export declare const propertyRestResSchema: z.ZodObject<{
|
|
|
1058
1058
|
firstName?: string | null | undefined;
|
|
1059
1059
|
lastName?: string | null | undefined;
|
|
1060
1060
|
} | null | undefined;
|
|
1061
|
-
} & any) | null | undefined;
|
|
1061
|
+
} & /*elided*/ any) | null | undefined;
|
|
1062
1062
|
subsequentTransactions?: ({
|
|
1063
1063
|
status: "clearing" | "cleared" | "reconciled";
|
|
1064
1064
|
id: string;
|
|
@@ -1151,7 +1151,7 @@ export declare const propertyRestResSchema: z.ZodObject<{
|
|
|
1151
1151
|
firstName?: string | null | undefined;
|
|
1152
1152
|
lastName?: string | null | undefined;
|
|
1153
1153
|
} | null | undefined;
|
|
1154
|
-
} & any)[] | null | undefined;
|
|
1154
|
+
} & /*elided*/ any)[] | null | undefined;
|
|
1155
1155
|
reconciledTransactions?: z.output<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
1156
1156
|
isReceipt?: boolean | null | undefined;
|
|
1157
1157
|
isPayment?: boolean | null | undefined;
|
|
@@ -1348,7 +1348,7 @@ export declare const propertyRestResSchema: z.ZodObject<{
|
|
|
1348
1348
|
firstName?: string | null | undefined;
|
|
1349
1349
|
lastName?: string | null | undefined;
|
|
1350
1350
|
} | null | undefined;
|
|
1351
|
-
} & any) | null | undefined;
|
|
1351
|
+
} & /*elided*/ any) | null | undefined;
|
|
1352
1352
|
subsequentTransactions?: ({
|
|
1353
1353
|
status: string;
|
|
1354
1354
|
id: string;
|
|
@@ -1441,7 +1441,7 @@ export declare const propertyRestResSchema: z.ZodObject<{
|
|
|
1441
1441
|
firstName?: string | null | undefined;
|
|
1442
1442
|
lastName?: string | null | undefined;
|
|
1443
1443
|
} | null | undefined;
|
|
1444
|
-
} & any)[] | null | undefined;
|
|
1444
|
+
} & /*elided*/ any)[] | null | undefined;
|
|
1445
1445
|
reconciledTransactions?: z.input<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
1446
1446
|
}>, "many">>>;
|
|
1447
1447
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1719,7 +1719,7 @@ export declare const propertyRestResSchema: z.ZodObject<{
|
|
|
1719
1719
|
firstName?: string | null | undefined;
|
|
1720
1720
|
lastName?: string | null | undefined;
|
|
1721
1721
|
} | null | undefined;
|
|
1722
|
-
} & any, "cma"> | null | undefined;
|
|
1722
|
+
} & /*elided*/ any, "cma"> | null | undefined;
|
|
1723
1723
|
subsequentTransactions?: Omit<{
|
|
1724
1724
|
status: "clearing" | "cleared" | "reconciled";
|
|
1725
1725
|
id: string;
|
|
@@ -1811,7 +1811,7 @@ export declare const propertyRestResSchema: z.ZodObject<{
|
|
|
1811
1811
|
firstName?: string | null | undefined;
|
|
1812
1812
|
lastName?: string | null | undefined;
|
|
1813
1813
|
} | null | undefined;
|
|
1814
|
-
} & any, "cma">[] | null | undefined;
|
|
1814
|
+
} & /*elided*/ any, "cma">[] | null | undefined;
|
|
1815
1815
|
reconciledTransactions?: z.output<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
1816
1816
|
isReceipt?: boolean | null | undefined;
|
|
1817
1817
|
isPayment?: boolean | null | undefined;
|
|
@@ -2007,7 +2007,7 @@ export declare const propertyRestResSchema: z.ZodObject<{
|
|
|
2007
2007
|
firstName?: string | null | undefined;
|
|
2008
2008
|
lastName?: string | null | undefined;
|
|
2009
2009
|
} | null | undefined;
|
|
2010
|
-
} & any) | null | undefined;
|
|
2010
|
+
} & /*elided*/ any) | null | undefined;
|
|
2011
2011
|
subsequentTransactions?: ({
|
|
2012
2012
|
status: "clearing" | "cleared" | "reconciled";
|
|
2013
2013
|
id: string;
|
|
@@ -2100,7 +2100,7 @@ export declare const propertyRestResSchema: z.ZodObject<{
|
|
|
2100
2100
|
firstName?: string | null | undefined;
|
|
2101
2101
|
lastName?: string | null | undefined;
|
|
2102
2102
|
} | null | undefined;
|
|
2103
|
-
} & any)[] | null | undefined;
|
|
2103
|
+
} & /*elided*/ any)[] | null | undefined;
|
|
2104
2104
|
reconciledTransactions?: z.output<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
2105
2105
|
isReceipt?: boolean | null | undefined;
|
|
2106
2106
|
isPayment?: boolean | null | undefined;
|
|
@@ -2387,7 +2387,7 @@ export declare const propertyRestResSchema: z.ZodObject<{
|
|
|
2387
2387
|
firstName?: string | null | undefined;
|
|
2388
2388
|
lastName?: string | null | undefined;
|
|
2389
2389
|
} | null | undefined;
|
|
2390
|
-
} & any) | null | undefined;
|
|
2390
|
+
} & /*elided*/ any) | null | undefined;
|
|
2391
2391
|
subsequentTransactions?: ({
|
|
2392
2392
|
status: string;
|
|
2393
2393
|
id: string;
|
|
@@ -2479,7 +2479,7 @@ export declare const propertyRestResSchema: z.ZodObject<{
|
|
|
2479
2479
|
firstName?: string | null | undefined;
|
|
2480
2480
|
lastName?: string | null | undefined;
|
|
2481
2481
|
} | null | undefined;
|
|
2482
|
-
} & any)[] | null | undefined;
|
|
2482
|
+
} & /*elided*/ any)[] | null | undefined;
|
|
2483
2483
|
reconciledTransactions?: z.input<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
2484
2484
|
payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
|
|
2485
2485
|
})[] | null | undefined;
|
|
@@ -2669,7 +2669,7 @@ export declare const propertyRestResSchema: z.ZodObject<{
|
|
|
2669
2669
|
firstName?: string | null | undefined;
|
|
2670
2670
|
lastName?: string | null | undefined;
|
|
2671
2671
|
} | null | undefined;
|
|
2672
|
-
} & any) | null | undefined;
|
|
2672
|
+
} & /*elided*/ any) | null | undefined;
|
|
2673
2673
|
subsequentTransactions?: ({
|
|
2674
2674
|
status: string;
|
|
2675
2675
|
id: string;
|
|
@@ -2762,7 +2762,7 @@ export declare const propertyRestResSchema: z.ZodObject<{
|
|
|
2762
2762
|
firstName?: string | null | undefined;
|
|
2763
2763
|
lastName?: string | null | undefined;
|
|
2764
2764
|
} | null | undefined;
|
|
2765
|
-
} & any)[] | null | undefined;
|
|
2765
|
+
} & /*elided*/ any)[] | null | undefined;
|
|
2766
2766
|
reconciledTransactions?: z.input<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
|
|
2767
2767
|
})[] | null | undefined;
|
|
2768
2768
|
}>;
|
|
@@ -3,8 +3,10 @@ export * from './common-report-with-cma-selection.rest.schema';
|
|
|
3
3
|
export * from './common-report.rest.schema';
|
|
4
4
|
export * from './customer-ledger.rest.schema';
|
|
5
5
|
export * from './payment-list.rest.schema';
|
|
6
|
+
export * from './project-ledger.rest.schema';
|
|
6
7
|
export * from './receipt-list.rest.schema';
|
|
7
8
|
export * from './reconciled-items-list.rest.schema';
|
|
8
9
|
export * from './trust-trial.rest.schema';
|
|
10
|
+
export * from './unknown-receipt-ledger.schema';
|
|
9
11
|
export * from './unreconciled-items-list.rest.schema';
|
|
10
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/report/index.ts"],"names":[],"mappings":"AAEA,cAAc,sCAAsC,CAAC;AACrD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qCAAqC,CAAC;AACpD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uCAAuC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/report/index.ts"],"names":[],"mappings":"AAEA,cAAc,sCAAsC,CAAC;AACrD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qCAAqC,CAAC;AACpD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ReportGroupType } from '../../constants/report/common/report-group-type.constant';
|
|
3
|
+
export declare const projectLedgerRestReqSchema: z.ZodIntersection<z.ZodEffects<z.ZodObject<{
|
|
4
|
+
reportDataRangeType: z.ZodNativeEnum<typeof import("../..").ReportDataRangeType>;
|
|
5
|
+
endDate: z.ZodPipeline<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string | Date | null, string | Date>>>, z.ZodDate>;
|
|
6
|
+
startDate: z.ZodPipeline<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | Date | null | undefined, string | Date | null | undefined>>>, z.ZodDate>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
endDate: Date;
|
|
9
|
+
startDate: Date;
|
|
10
|
+
reportDataRangeType: import("../..").ReportDataRangeType;
|
|
11
|
+
}, {
|
|
12
|
+
reportDataRangeType: import("../..").ReportDataRangeType;
|
|
13
|
+
endDate?: string | Date | null | undefined;
|
|
14
|
+
startDate?: string | Date | null | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
endDate: Date;
|
|
17
|
+
startDate: Date;
|
|
18
|
+
reportDataRangeType: import("../..").ReportDataRangeType;
|
|
19
|
+
}, {
|
|
20
|
+
reportDataRangeType: import("../..").ReportDataRangeType;
|
|
21
|
+
endDate?: string | Date | null | undefined;
|
|
22
|
+
startDate?: string | Date | null | undefined;
|
|
23
|
+
}>, z.ZodObject<{
|
|
24
|
+
propertyIds: z.ZodArray<z.ZodString, "many">;
|
|
25
|
+
reportGroupType: z.ZodNativeEnum<typeof ReportGroupType>;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
reportGroupType: ReportGroupType;
|
|
28
|
+
propertyIds: string[];
|
|
29
|
+
}, {
|
|
30
|
+
reportGroupType: ReportGroupType;
|
|
31
|
+
propertyIds: string[];
|
|
32
|
+
}>>;
|
|
33
|
+
export type ProjectLedgerRestReq = z.input<typeof projectLedgerRestReqSchema>;
|
|
34
|
+
//# sourceMappingURL=project-ledger.rest.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-ledger.rest.schema.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/report/project-ledger.rest.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,0DAA0D,CAAC;AAG3F,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAGpC,CAAC;AAEJ,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const unknownReceiptLedgerRestReqSchema: z.ZodIntersection<z.ZodEffects<z.ZodObject<{
|
|
3
|
+
reportDataRangeType: z.ZodNativeEnum<typeof import("../..").ReportDataRangeType>;
|
|
4
|
+
endDate: z.ZodPipeline<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string | Date | null, string | Date>>>, z.ZodDate>;
|
|
5
|
+
startDate: z.ZodPipeline<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | Date | null | undefined, string | Date | null | undefined>>>, z.ZodDate>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
endDate: Date;
|
|
8
|
+
startDate: Date;
|
|
9
|
+
reportDataRangeType: import("../..").ReportDataRangeType;
|
|
10
|
+
}, {
|
|
11
|
+
reportDataRangeType: import("../..").ReportDataRangeType;
|
|
12
|
+
endDate?: string | Date | null | undefined;
|
|
13
|
+
startDate?: string | Date | null | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
endDate: Date;
|
|
16
|
+
startDate: Date;
|
|
17
|
+
reportDataRangeType: import("../..").ReportDataRangeType;
|
|
18
|
+
}, {
|
|
19
|
+
reportDataRangeType: import("../..").ReportDataRangeType;
|
|
20
|
+
endDate?: string | Date | null | undefined;
|
|
21
|
+
startDate?: string | Date | null | undefined;
|
|
22
|
+
}>, z.ZodObject<{
|
|
23
|
+
mtaId: z.ZodString;
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
mtaId: string;
|
|
26
|
+
}, {
|
|
27
|
+
mtaId: string;
|
|
28
|
+
}>>;
|
|
29
|
+
export type UnknownReceiptLedgerRestReq = z.infer<typeof unknownReceiptLedgerRestReqSchema>;
|
|
30
|
+
//# sourceMappingURL=unknown-receipt-ledger.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unknown-receipt-ledger.schema.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/report/unknown-receipt-ledger.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;GAE3C,CAAC;AAEJ,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Masks a string while keeping specified number of characters visible at the start and end
|
|
3
|
+
* @param input The string to mask
|
|
4
|
+
* @param options Configuration options for masking
|
|
5
|
+
* @param options.visibleStart Number of characters to keep visible at the start (default: 0)
|
|
6
|
+
* @param options.visibleEnd Number of characters to keep visible at the end (default: 2)
|
|
7
|
+
* @param options.maskChar Character to use for masking (default: '*')
|
|
8
|
+
* @returns Masked string eg. 1234567890 -> ************90
|
|
9
|
+
*/
|
|
1
10
|
export declare const maskString: (input: string, options?: {
|
|
2
11
|
visibleStart?: number;
|
|
3
12
|
visibleEnd?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mask-string.util.d.ts","sourceRoot":"","sources":["../../../packages/utils/mask-string.util.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mask-string.util.d.ts","sourceRoot":"","sources":["../../../packages/utils/mask-string.util.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,GACrB,OAAO,MAAM,EACb,UAAS;IACP,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACd,KACL,MAwBF,CAAC"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { MtaPaymentMethodAccountConfig, MtaPaymentMethodFloatAccountConfig } from '../schemas/mta-payment-method/mta-payment-method.entity.schema';
|
|
2
|
+
/**
|
|
3
|
+
* Generates a Zepto bank account credential object with masked BSB and account number.
|
|
4
|
+
*
|
|
5
|
+
* This particular credential is used for Ammoze system to make a payment to a bank account.
|
|
6
|
+
*
|
|
7
|
+
* @param payload - An object containing:
|
|
8
|
+
* @param payload.bsb The BSB number as a string.
|
|
9
|
+
* @param payload.accountNumber The bank account number as a string.
|
|
10
|
+
* @param payload.bankAccountId The unique identifier for the bank account.
|
|
11
|
+
* @returns An object containing the masked BSB, masked account number, and the credential with bankAccountId.
|
|
12
|
+
*/
|
|
2
13
|
export declare const generateMtaPaymentMethodAccountConfigForZepto: (payload: {
|
|
3
14
|
bsb: string;
|
|
4
15
|
accountNumber: string;
|
|
5
16
|
bankAccountId: string;
|
|
6
17
|
}) => MtaPaymentMethodAccountConfig;
|
|
18
|
+
/**
|
|
19
|
+
* Generates a Mta float account credential object with masked domain name.
|
|
20
|
+
*
|
|
21
|
+
* This particular credential is used for Ammoze system to generate a payid.
|
|
22
|
+
*
|
|
23
|
+
* @param payload - An object containing:
|
|
24
|
+
* @param payload.domainName The domain name as a string, it is required to be a valid domain name.
|
|
25
|
+
* @param payload.bankAccountId The unique identifier for the bank account.
|
|
26
|
+
* @returns An object containing the domain name, and the credential with bankAccountId.
|
|
27
|
+
*/
|
|
7
28
|
export declare const generateMtaPaymentMethodFloatAccountConfigForZepto: (payload: {
|
|
8
29
|
domainName: string;
|
|
9
30
|
bankAccountId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-credential-generate.util.d.ts","sourceRoot":"","sources":["../../../packages/utils/payment-credential-generate.util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,kCAAkC,EAAE,MAAM,gEAAgE,CAAC;
|
|
1
|
+
{"version":3,"file":"payment-credential-generate.util.d.ts","sourceRoot":"","sources":["../../../packages/utils/payment-credential-generate.util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,kCAAkC,EAAE,MAAM,gEAAgE,CAAC;AAGnJ;;;;;;;;;;GAUG;AACH,eAAO,MAAM,6CAA6C,GAAI,SAAS;IACrE,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB,KAAG,6BAkBH,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,kDAAkD,GAAI,SAAS;IAC1E,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;CACvB,KAAG,kCAOH,CAAC"}
|
|
@@ -5,8 +5,20 @@ type Property = Pick<PropertyEntity, 'buyerName' | 'propertyAddress' | 'lotDetai
|
|
|
5
5
|
developer?: Pick<DeveloperEntity, 'companyName'> | null | undefined;
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
|
+
/**
|
|
9
|
+
* Get the property name for payout or refund
|
|
10
|
+
* @param property - The property object
|
|
11
|
+
* @param options - The options object
|
|
12
|
+
* @param options.target - The target type
|
|
13
|
+
* @returns The property name
|
|
14
|
+
* @example
|
|
15
|
+
* mta return: "Lot 123 | Project Name | Buyer Name"
|
|
16
|
+
* payout return: "Project Name Lot 123"
|
|
17
|
+
* refund return: "Lot 123 Project Name"
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
8
20
|
export declare const getPropertyName: (property: Property, options?: {
|
|
9
|
-
target?: "payout" | "refund" | "cma" | "mta" | "
|
|
21
|
+
target?: "payout" | "refund" | "cma" | "mta" | "report";
|
|
10
22
|
}) => string;
|
|
11
23
|
export {};
|
|
12
24
|
//# sourceMappingURL=property.util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"property.util.d.ts","sourceRoot":"","sources":["../../../packages/utils/property.util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAE5E,KAAK,QAAQ,GAAG,IAAI,CAAC,cAAc,EAAE,WAAW,GAAG,iBAAiB,GAAG,WAAW,CAAC,GAAG;IACpF,OAAO,CAAC,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,GAAG;QACzD,SAAS,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,aAAa,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;KACrE,CAAC;CACH,CAAC;
|
|
1
|
+
{"version":3,"file":"property.util.d.ts","sourceRoot":"","sources":["../../../packages/utils/property.util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAE5E,KAAK,QAAQ,GAAG,IAAI,CAAC,cAAc,EAAE,WAAW,GAAG,iBAAiB,GAAG,WAAW,CAAC,GAAG;IACpF,OAAO,CAAC,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,GAAG;QACzD,SAAS,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,aAAa,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;KACrE,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe,GAAI,UAAU,QAAQ,EAAE,UAAU;IAC5D,MAAM,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,CAAC;CACzD,WA6CA,CAAC"}
|