@pax2pay/model-banking 0.1.621 → 0.1.623
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/Treasury/Snapshot/Check/Checks.ts +1 -0
- package/Treasury/Snapshot/Check/UnallocatedFunds.ts +7 -0
- package/Treasury/Snapshot/Check/index.ts +3 -0
- package/dist/cjs/Treasury/Snapshot/Check/Checks.d.ts +2 -2
- package/dist/cjs/Treasury/Snapshot/Check/Checks.js +1 -0
- package/dist/cjs/Treasury/Snapshot/Check/Checks.js.map +1 -1
- package/dist/cjs/Treasury/Snapshot/Check/UnallocatedFunds.d.ts +6 -0
- package/dist/cjs/Treasury/Snapshot/Check/UnallocatedFunds.js +3 -0
- package/dist/cjs/Treasury/Snapshot/Check/UnallocatedFunds.js.map +1 -0
- package/dist/cjs/Treasury/Snapshot/Check/index.d.ts +3 -1
- package/dist/cjs/Treasury/Snapshot/Check/index.js.map +1 -1
- package/dist/mjs/Treasury/Snapshot/Check/Checks.d.ts +2 -2
- package/dist/mjs/Treasury/Snapshot/Check/Checks.js +1 -0
- package/dist/mjs/Treasury/Snapshot/Check/Checks.js.map +1 -1
- package/dist/mjs/Treasury/Snapshot/Check/UnallocatedFunds.d.ts +6 -0
- package/dist/mjs/Treasury/Snapshot/Check/UnallocatedFunds.js +2 -0
- package/dist/mjs/Treasury/Snapshot/Check/UnallocatedFunds.js.map +1 -0
- package/dist/mjs/Treasury/Snapshot/Check/index.d.ts +3 -1
- package/dist/mjs/Treasury/Snapshot/Check/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@ export namespace Checks {
|
|
|
9
9
|
"ledger integrity", // Proves Opening Balance + Operations = Closing Balance
|
|
10
10
|
"overdraft", // Warns if any customer accounts fall below zero
|
|
11
11
|
"transaction match", // Proves all external bank txns have a 1:1 internal ledger txn
|
|
12
|
+
"unallocated funds", // Never flags, only zero
|
|
12
13
|
"unidentified funds", // Flags any received money not yet assigned to a customer
|
|
13
14
|
] as const
|
|
14
15
|
export const type = isly.string(value)
|
|
@@ -6,6 +6,7 @@ import { LedgerIntegrity as CheckLedgerIntegrity } from "./LedgerIntegrity"
|
|
|
6
6
|
import { Overdraft as CheckOverdraft } from "./Overdraft"
|
|
7
7
|
import { Result as CheckResult } from "./Result"
|
|
8
8
|
import { TransactionMatch as CheckTransactionMatch } from "./TransactionMatch"
|
|
9
|
+
import { UnallocatedFunds as CheckUnallocatedFunds } from "./UnallocatedFunds"
|
|
9
10
|
import { UnidentifiedFunds as CheckUnidentifiedFunds } from "./UnidentifiedFunds"
|
|
10
11
|
|
|
11
12
|
export type Check =
|
|
@@ -15,6 +16,7 @@ export type Check =
|
|
|
15
16
|
| Check.LedgerIntegrity
|
|
16
17
|
| Check.Overdraft
|
|
17
18
|
| Check.TransactionMatch
|
|
19
|
+
| Check.UnallocatedFunds
|
|
18
20
|
| Check.UnidentifiedFunds
|
|
19
21
|
export namespace Check {
|
|
20
22
|
export import Result = CheckResult
|
|
@@ -25,5 +27,6 @@ export namespace Check {
|
|
|
25
27
|
export type LedgerIntegrity = CheckLedgerIntegrity
|
|
26
28
|
export type Overdraft = CheckOverdraft
|
|
27
29
|
export type TransactionMatch = CheckTransactionMatch
|
|
30
|
+
export type UnallocatedFunds = CheckUnallocatedFunds
|
|
28
31
|
export type UnidentifiedFunds = CheckUnidentifiedFunds
|
|
29
32
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isly } from "isly";
|
|
2
2
|
export type Checks = (typeof Checks.value)[number];
|
|
3
3
|
export declare namespace Checks {
|
|
4
|
-
const value: readonly ["bank feed integrity", "external reconciliation", "internal reconciliation", "ledger integrity", "overdraft", "transaction match", "unidentified funds"];
|
|
5
|
-
const type: isly.Type<"overdraft" | "bank feed integrity" | "external reconciliation" | "internal reconciliation" | "ledger integrity" | "transaction match" | "unidentified funds">;
|
|
4
|
+
const value: readonly ["bank feed integrity", "external reconciliation", "internal reconciliation", "ledger integrity", "overdraft", "transaction match", "unallocated funds", "unidentified funds"];
|
|
5
|
+
const type: isly.Type<"overdraft" | "bank feed integrity" | "external reconciliation" | "internal reconciliation" | "ledger integrity" | "transaction match" | "unallocated funds" | "unidentified funds">;
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checks.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/Checks.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAG3B,IAAiB,MAAM,
|
|
1
|
+
{"version":3,"file":"Checks.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/Checks.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAG3B,IAAiB,MAAM,CAYtB;AAZD,WAAiB,MAAM;IACT,YAAK,GAAG;QACpB,qBAAqB;QACrB,yBAAyB;QACzB,yBAAyB;QACzB,kBAAkB;QAClB,WAAW;QACX,mBAAmB;QACnB,mBAAmB;QACnB,oBAAoB;KACX,CAAA;IACG,WAAI,GAAG,WAAI,CAAC,MAAM,CAAC,OAAA,KAAK,CAAC,CAAA;AACvC,CAAC,EAZgB,MAAM,sBAAN,MAAM,QAYtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnallocatedFunds.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/UnallocatedFunds.ts"],"names":[],"mappings":""}
|
|
@@ -6,8 +6,9 @@ import { LedgerIntegrity as CheckLedgerIntegrity } from "./LedgerIntegrity";
|
|
|
6
6
|
import { Overdraft as CheckOverdraft } from "./Overdraft";
|
|
7
7
|
import { Result as CheckResult } from "./Result";
|
|
8
8
|
import { TransactionMatch as CheckTransactionMatch } from "./TransactionMatch";
|
|
9
|
+
import { UnallocatedFunds as CheckUnallocatedFunds } from "./UnallocatedFunds";
|
|
9
10
|
import { UnidentifiedFunds as CheckUnidentifiedFunds } from "./UnidentifiedFunds";
|
|
10
|
-
export type Check = Check.BankFeedIntegrity | Check.ExternalReconciliation | Check.InternalReconciliation | Check.LedgerIntegrity | Check.Overdraft | Check.TransactionMatch | Check.UnidentifiedFunds;
|
|
11
|
+
export type Check = Check.BankFeedIntegrity | Check.ExternalReconciliation | Check.InternalReconciliation | Check.LedgerIntegrity | Check.Overdraft | Check.TransactionMatch | Check.UnallocatedFunds | Check.UnidentifiedFunds;
|
|
11
12
|
export declare namespace Check {
|
|
12
13
|
export import Result = CheckResult;
|
|
13
14
|
export import Checks = CheckChecks;
|
|
@@ -17,5 +18,6 @@ export declare namespace Check {
|
|
|
17
18
|
type LedgerIntegrity = CheckLedgerIntegrity;
|
|
18
19
|
type Overdraft = CheckOverdraft;
|
|
19
20
|
type TransactionMatch = CheckTransactionMatch;
|
|
21
|
+
type UnallocatedFunds = CheckUnallocatedFunds;
|
|
20
22
|
type UnidentifiedFunds = CheckUnidentifiedFunds;
|
|
21
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/index.ts"],"names":[],"mappings":";;;AACA,qCAAgD;AAKhD,qCAAgD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/index.ts"],"names":[],"mappings":";;;AACA,qCAAgD;AAKhD,qCAAgD;AAchD,IAAiB,KAAK,CAWrB;AAXD,WAAiB,KAAK;IACP,YAAM,GAAG,eAAW,CAAA;IACpB,YAAM,GAAG,eAAW,CAAA;AASnC,CAAC,EAXgB,KAAK,qBAAL,KAAK,QAWrB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isly } from "isly";
|
|
2
2
|
export type Checks = (typeof Checks.value)[number];
|
|
3
3
|
export declare namespace Checks {
|
|
4
|
-
const value: readonly ["bank feed integrity", "external reconciliation", "internal reconciliation", "ledger integrity", "overdraft", "transaction match", "unidentified funds"];
|
|
5
|
-
const type: isly.Type<"overdraft" | "bank feed integrity" | "external reconciliation" | "internal reconciliation" | "ledger integrity" | "transaction match" | "unidentified funds">;
|
|
4
|
+
const value: readonly ["bank feed integrity", "external reconciliation", "internal reconciliation", "ledger integrity", "overdraft", "transaction match", "unallocated funds", "unidentified funds"];
|
|
5
|
+
const type: isly.Type<"overdraft" | "bank feed integrity" | "external reconciliation" | "internal reconciliation" | "ledger integrity" | "transaction match" | "unallocated funds" | "unidentified funds">;
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checks.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/Checks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAG3B,MAAM,KAAW,MAAM,
|
|
1
|
+
{"version":3,"file":"Checks.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/Checks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAG3B,MAAM,KAAW,MAAM,CAYtB;AAZD,WAAiB,MAAM;IACT,YAAK,GAAG;QACpB,qBAAqB;QACrB,yBAAyB;QACzB,yBAAyB;QACzB,kBAAkB;QAClB,WAAW;QACX,mBAAmB;QACnB,mBAAmB;QACnB,oBAAoB;KACX,CAAA;IACG,WAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAA,KAAK,CAAC,CAAA;AACvC,CAAC,EAZgB,MAAM,KAAN,MAAM,QAYtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnallocatedFunds.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/UnallocatedFunds.ts"],"names":[],"mappings":""}
|
|
@@ -6,8 +6,9 @@ import { LedgerIntegrity as CheckLedgerIntegrity } from "./LedgerIntegrity";
|
|
|
6
6
|
import { Overdraft as CheckOverdraft } from "./Overdraft";
|
|
7
7
|
import { Result as CheckResult } from "./Result";
|
|
8
8
|
import { TransactionMatch as CheckTransactionMatch } from "./TransactionMatch";
|
|
9
|
+
import { UnallocatedFunds as CheckUnallocatedFunds } from "./UnallocatedFunds";
|
|
9
10
|
import { UnidentifiedFunds as CheckUnidentifiedFunds } from "./UnidentifiedFunds";
|
|
10
|
-
export type Check = Check.BankFeedIntegrity | Check.ExternalReconciliation | Check.InternalReconciliation | Check.LedgerIntegrity | Check.Overdraft | Check.TransactionMatch | Check.UnidentifiedFunds;
|
|
11
|
+
export type Check = Check.BankFeedIntegrity | Check.ExternalReconciliation | Check.InternalReconciliation | Check.LedgerIntegrity | Check.Overdraft | Check.TransactionMatch | Check.UnallocatedFunds | Check.UnidentifiedFunds;
|
|
11
12
|
export declare namespace Check {
|
|
12
13
|
export import Result = CheckResult;
|
|
13
14
|
export import Checks = CheckChecks;
|
|
@@ -17,5 +18,6 @@ export declare namespace Check {
|
|
|
17
18
|
type LedgerIntegrity = CheckLedgerIntegrity;
|
|
18
19
|
type Overdraft = CheckOverdraft;
|
|
19
20
|
type TransactionMatch = CheckTransactionMatch;
|
|
21
|
+
type UnallocatedFunds = CheckUnallocatedFunds;
|
|
20
22
|
type UnidentifiedFunds = CheckUnidentifiedFunds;
|
|
21
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,UAAU,CAAA;AAKhD,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,UAAU,CAAA;AAKhD,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,UAAU,CAAA;AAchD,MAAM,KAAW,KAAK,CAWrB;AAXD,WAAiB,KAAK;IACP,YAAM,GAAG,WAAW,CAAA;IACpB,YAAM,GAAG,WAAW,CAAA;AASnC,CAAC,EAXgB,KAAK,KAAL,KAAK,QAWrB"}
|