@pax2pay/model-banking 0.1.630 → 0.1.631

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.
@@ -9,7 +9,6 @@ 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
13
12
  "unidentified funds", // Flags any received money not yet assigned to a customer
14
13
  ] as const
15
14
  export const type = isly.string(value)
@@ -6,7 +6,6 @@ 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"
10
9
  import { UnidentifiedFunds as CheckUnidentifiedFunds } from "./UnidentifiedFunds"
11
10
 
12
11
  export type Check =
@@ -16,7 +15,6 @@ export type Check =
16
15
  | Check.LedgerIntegrity
17
16
  | Check.Overdraft
18
17
  | Check.TransactionMatch
19
- | Check.UnallocatedFunds
20
18
  | Check.UnidentifiedFunds
21
19
  export namespace Check {
22
20
  export import Result = CheckResult
@@ -27,6 +25,5 @@ export namespace Check {
27
25
  export type LedgerIntegrity = CheckLedgerIntegrity
28
26
  export type Overdraft = CheckOverdraft
29
27
  export type TransactionMatch = CheckTransactionMatch
30
- export type UnallocatedFunds = CheckUnallocatedFunds
31
28
  export type UnidentifiedFunds = CheckUnidentifiedFunds
32
29
  }
@@ -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", "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">;
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">;
6
6
  }
@@ -11,7 +11,6 @@ var Checks;
11
11
  "ledger integrity",
12
12
  "overdraft",
13
13
  "transaction match",
14
- "unallocated funds",
15
14
  "unidentified funds",
16
15
  ];
17
16
  Checks.type = isly_1.isly.string(Checks.value);
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"Checks.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/Checks.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAG3B,IAAiB,MAAM,CAWtB;AAXD,WAAiB,MAAM;IACT,YAAK,GAAG;QACpB,qBAAqB;QACrB,yBAAyB;QACzB,yBAAyB;QACzB,kBAAkB;QAClB,WAAW;QACX,mBAAmB;QACnB,oBAAoB;KACX,CAAA;IACG,WAAI,GAAG,WAAI,CAAC,MAAM,CAAC,OAAA,KAAK,CAAC,CAAA;AACvC,CAAC,EAXgB,MAAM,sBAAN,MAAM,QAWtB"}
@@ -6,9 +6,8 @@ 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";
10
9
  import { UnidentifiedFunds as CheckUnidentifiedFunds } from "./UnidentifiedFunds";
11
- export type Check = Check.BankFeedIntegrity | Check.ExternalReconciliation | Check.InternalReconciliation | Check.LedgerIntegrity | Check.Overdraft | Check.TransactionMatch | Check.UnallocatedFunds | Check.UnidentifiedFunds;
10
+ export type Check = Check.BankFeedIntegrity | Check.ExternalReconciliation | Check.InternalReconciliation | Check.LedgerIntegrity | Check.Overdraft | Check.TransactionMatch | Check.UnidentifiedFunds;
12
11
  export declare namespace Check {
13
12
  export import Result = CheckResult;
14
13
  export import Checks = CheckChecks;
@@ -18,6 +17,5 @@ export declare namespace Check {
18
17
  type LedgerIntegrity = CheckLedgerIntegrity;
19
18
  type Overdraft = CheckOverdraft;
20
19
  type TransactionMatch = CheckTransactionMatch;
21
- type UnallocatedFunds = CheckUnallocatedFunds;
22
20
  type UnidentifiedFunds = CheckUnidentifiedFunds;
23
21
  }
@@ -1 +1 @@
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
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/index.ts"],"names":[],"mappings":";;;AACA,qCAAgD;AAKhD,qCAAgD;AAYhD,IAAiB,KAAK,CAUrB;AAVD,WAAiB,KAAK;IACP,YAAM,GAAG,eAAW,CAAA;IACpB,YAAM,GAAG,eAAW,CAAA;AAQnC,CAAC,EAVgB,KAAK,qBAAL,KAAK,QAUrB"}
@@ -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", "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">;
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">;
6
6
  }
@@ -8,7 +8,6 @@ export var Checks;
8
8
  "ledger integrity",
9
9
  "overdraft",
10
10
  "transaction match",
11
- "unallocated funds",
12
11
  "unidentified funds",
13
12
  ];
14
13
  Checks.type = isly.string(Checks.value);
@@ -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,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"}
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,CAWtB;AAXD,WAAiB,MAAM;IACT,YAAK,GAAG;QACpB,qBAAqB;QACrB,yBAAyB;QACzB,yBAAyB;QACzB,kBAAkB;QAClB,WAAW;QACX,mBAAmB;QACnB,oBAAoB;KACX,CAAA;IACG,WAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAA,KAAK,CAAC,CAAA;AACvC,CAAC,EAXgB,MAAM,KAAN,MAAM,QAWtB"}
@@ -6,9 +6,8 @@ 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";
10
9
  import { UnidentifiedFunds as CheckUnidentifiedFunds } from "./UnidentifiedFunds";
11
- export type Check = Check.BankFeedIntegrity | Check.ExternalReconciliation | Check.InternalReconciliation | Check.LedgerIntegrity | Check.Overdraft | Check.TransactionMatch | Check.UnallocatedFunds | Check.UnidentifiedFunds;
10
+ export type Check = Check.BankFeedIntegrity | Check.ExternalReconciliation | Check.InternalReconciliation | Check.LedgerIntegrity | Check.Overdraft | Check.TransactionMatch | Check.UnidentifiedFunds;
12
11
  export declare namespace Check {
13
12
  export import Result = CheckResult;
14
13
  export import Checks = CheckChecks;
@@ -18,6 +17,5 @@ export declare namespace Check {
18
17
  type LedgerIntegrity = CheckLedgerIntegrity;
19
18
  type Overdraft = CheckOverdraft;
20
19
  type TransactionMatch = CheckTransactionMatch;
21
- type UnallocatedFunds = CheckUnallocatedFunds;
22
20
  type UnidentifiedFunds = CheckUnidentifiedFunds;
23
21
  }
@@ -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;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"}
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;AAYhD,MAAM,KAAW,KAAK,CAUrB;AAVD,WAAiB,KAAK;IACP,YAAM,GAAG,WAAW,CAAA;IACpB,YAAM,GAAG,WAAW,CAAA;AAQnC,CAAC,EAVgB,KAAK,KAAL,KAAK,QAUrB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.1.630",
3
+ "version": "0.1.631",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",
@@ -1,7 +0,0 @@
1
- import { Base as ResultBase } from "./Base"
2
-
3
- export interface UnallocatedFunds extends ResultBase {
4
- check: "unallocated funds"
5
- balance: number
6
- }
7
- export namespace UnallocatedFunds {}
@@ -1,6 +0,0 @@
1
- import { Base as ResultBase } from "./Base";
2
- export interface UnallocatedFunds extends ResultBase {
3
- check: "unallocated funds";
4
- balance: number;
5
- }
6
- export declare namespace UnallocatedFunds { }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=UnallocatedFunds.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UnallocatedFunds.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/UnallocatedFunds.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- import { Base as ResultBase } from "./Base";
2
- export interface UnallocatedFunds extends ResultBase {
3
- check: "unallocated funds";
4
- balance: number;
5
- }
6
- export declare namespace UnallocatedFunds { }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=UnallocatedFunds.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UnallocatedFunds.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/UnallocatedFunds.ts"],"names":[],"mappings":""}