@pax2pay/model-banking 0.1.612 → 0.1.613
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/Reconciliation.ts +4 -0
- package/Treasury/Snapshot/index.ts +3 -1
- package/Warning/Snapshot/Reconciliation.ts +20 -0
- package/Warning/Snapshot/index.ts +15 -9
- package/dist/cjs/Treasury/Snapshot/Reconciliation.d.ts +4 -0
- package/dist/cjs/Treasury/Snapshot/Reconciliation.js +3 -0
- package/dist/cjs/Treasury/Snapshot/Reconciliation.js.map +1 -0
- package/dist/cjs/Treasury/Snapshot/index.d.ts +3 -0
- package/dist/cjs/Treasury/Snapshot/index.js.map +1 -1
- package/dist/cjs/Warning/Snapshot/Reconciliation.d.ts +15 -0
- package/dist/cjs/Warning/Snapshot/Reconciliation.js +16 -0
- package/dist/cjs/Warning/Snapshot/Reconciliation.js.map +1 -0
- package/dist/cjs/Warning/Snapshot/index.d.ts +6 -4
- package/dist/cjs/Warning/Snapshot/index.js +6 -4
- package/dist/cjs/Warning/Snapshot/index.js.map +1 -1
- package/dist/cjs/Warning/index.d.ts +1 -1
- package/dist/mjs/Treasury/Snapshot/Reconciliation.d.ts +4 -0
- package/dist/mjs/Treasury/Snapshot/Reconciliation.js +2 -0
- package/dist/mjs/Treasury/Snapshot/Reconciliation.js.map +1 -0
- package/dist/mjs/Treasury/Snapshot/index.d.ts +3 -0
- package/dist/mjs/Treasury/Snapshot/index.js.map +1 -1
- package/dist/mjs/Warning/Snapshot/Reconciliation.d.ts +15 -0
- package/dist/mjs/Warning/Snapshot/Reconciliation.js +13 -0
- package/dist/mjs/Warning/Snapshot/Reconciliation.js.map +1 -0
- package/dist/mjs/Warning/Snapshot/index.d.ts +6 -4
- package/dist/mjs/Warning/Snapshot/index.js +6 -4
- package/dist/mjs/Warning/Snapshot/index.js.map +1 -1
- package/dist/mjs/Warning/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -8,10 +8,11 @@ import { Account as SnapshotAccount } from "./Account"
|
|
|
8
8
|
import { Emoney as SnapshotEmoney } from "./Emoney"
|
|
9
9
|
import { Fiat as SnapshotFiat } from "./Fiat"
|
|
10
10
|
import { funding as snapshotFunding } from "./funding"
|
|
11
|
+
import { Reconciliation as SnapshotReconciliation } from "./Reconciliation"
|
|
11
12
|
|
|
12
13
|
export interface Snapshot {
|
|
13
14
|
warnings: Warning.Snapshot[]
|
|
14
|
-
emoney: Balance.Extended & { total?: number }
|
|
15
|
+
emoney: Balance.Extended & { total?: number; reconciliation?: Snapshot.Reconciliation }
|
|
15
16
|
currency: isoly.Currency
|
|
16
17
|
supplier: Supplier
|
|
17
18
|
fiat: {
|
|
@@ -26,6 +27,7 @@ export interface Snapshot {
|
|
|
26
27
|
}
|
|
27
28
|
export namespace Snapshot {
|
|
28
29
|
export import funding = snapshotFunding
|
|
30
|
+
export type Reconciliation = SnapshotReconciliation
|
|
29
31
|
export type Emoney = SnapshotEmoney
|
|
30
32
|
export type Fiat = SnapshotFiat
|
|
31
33
|
export import Account = SnapshotAccount
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { isoly } from "isoly"
|
|
2
|
+
import { isly } from "isly"
|
|
3
|
+
import { Base } from "../Base"
|
|
4
|
+
|
|
5
|
+
export interface Reconciliation extends Base {
|
|
6
|
+
type: "reconciliation"
|
|
7
|
+
severity?: "high"
|
|
8
|
+
delta: { account: number; operation: number }
|
|
9
|
+
currency: isoly.Currency
|
|
10
|
+
account: string
|
|
11
|
+
}
|
|
12
|
+
export namespace Reconciliation {
|
|
13
|
+
export const type = Base.type.extend<Reconciliation>({
|
|
14
|
+
type: isly.string("reconciliation"),
|
|
15
|
+
severity: isly.string(["high"]).optional(),
|
|
16
|
+
currency: isly.string(),
|
|
17
|
+
delta: isly.object({ account: isly.number(), operation: isly.number() }),
|
|
18
|
+
account: isly.string(),
|
|
19
|
+
})
|
|
20
|
+
}
|
|
@@ -5,31 +5,37 @@ import { MissingEmoney as WarningMissingEmoney } from "./MissingEmoney"
|
|
|
5
5
|
import { MissingFiat as WarningMissingFiat } from "./MissingFiat"
|
|
6
6
|
import { MissingTransaction as WarningMissingTransaction } from "./MissingTransaction"
|
|
7
7
|
import { Overdraft as WarningOverdraft } from "./Overdraft"
|
|
8
|
+
import { Reconciliation as WarningReconciliation } from "./Reconciliation"
|
|
8
9
|
import { StaleFiat as WarningStaleFiat } from "./StaleFiat"
|
|
9
10
|
|
|
10
11
|
export type Snapshot =
|
|
11
|
-
| Snapshot.
|
|
12
|
-
| Snapshot.StaleFiat
|
|
12
|
+
| Snapshot.DeltaFiat
|
|
13
13
|
| Snapshot.MissingBuffer
|
|
14
14
|
| Snapshot.MissingEmoney
|
|
15
15
|
| Snapshot.MissingFiat
|
|
16
16
|
| Snapshot.MissingTransaction
|
|
17
|
-
| Snapshot.
|
|
17
|
+
| Snapshot.Overdraft
|
|
18
|
+
| Snapshot.Reconciliation
|
|
19
|
+
| Snapshot.StaleFiat
|
|
20
|
+
|
|
18
21
|
export namespace Snapshot {
|
|
19
|
-
export import
|
|
20
|
-
export import StaleFiat = WarningStaleFiat
|
|
22
|
+
export import DeltaFiat = WarningDeltaFiat
|
|
21
23
|
export import MissingBuffer = WarningMissingBuffer
|
|
22
24
|
export import MissingEmoney = WarningMissingEmoney
|
|
23
25
|
export import MissingFiat = WarningMissingFiat
|
|
24
26
|
export import MissingTransaction = WarningMissingTransaction
|
|
25
|
-
export import
|
|
27
|
+
export import Overdraft = WarningOverdraft
|
|
28
|
+
export import Reconciliation = WarningReconciliation
|
|
29
|
+
export import StaleFiat = WarningStaleFiat
|
|
30
|
+
|
|
26
31
|
export const type = isly.union<Snapshot>(
|
|
27
|
-
|
|
28
|
-
StaleFiat.type,
|
|
32
|
+
DeltaFiat.type,
|
|
29
33
|
MissingBuffer.type,
|
|
30
34
|
MissingEmoney.type,
|
|
31
35
|
MissingFiat.type,
|
|
32
36
|
MissingTransaction.type,
|
|
33
|
-
|
|
37
|
+
Overdraft.type,
|
|
38
|
+
Reconciliation.type,
|
|
39
|
+
StaleFiat.type
|
|
34
40
|
)
|
|
35
41
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Reconciliation.js","sourceRoot":"","sources":["../../../../Treasury/Snapshot/Reconciliation.ts"],"names":[],"mappings":""}
|
|
@@ -7,10 +7,12 @@ import { Account as SnapshotAccount } from "./Account";
|
|
|
7
7
|
import { Emoney as SnapshotEmoney } from "./Emoney";
|
|
8
8
|
import { Fiat as SnapshotFiat } from "./Fiat";
|
|
9
9
|
import { funding as snapshotFunding } from "./funding";
|
|
10
|
+
import { Reconciliation as SnapshotReconciliation } from "./Reconciliation";
|
|
10
11
|
export interface Snapshot {
|
|
11
12
|
warnings: Warning.Snapshot[];
|
|
12
13
|
emoney: Balance.Extended & {
|
|
13
14
|
total?: number;
|
|
15
|
+
reconciliation?: Snapshot.Reconciliation;
|
|
14
16
|
};
|
|
15
17
|
currency: isoly.Currency;
|
|
16
18
|
supplier: Supplier;
|
|
@@ -26,6 +28,7 @@ export interface Snapshot {
|
|
|
26
28
|
}
|
|
27
29
|
export declare namespace Snapshot {
|
|
28
30
|
export import funding = snapshotFunding;
|
|
31
|
+
type Reconciliation = SnapshotReconciliation;
|
|
29
32
|
type Emoney = SnapshotEmoney;
|
|
30
33
|
type Fiat = SnapshotFiat;
|
|
31
34
|
export import Account = SnapshotAccount;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Treasury/Snapshot/index.ts"],"names":[],"mappings":";;;AAAA,iCAA6B;AAC7B,+BAA2B;AAC3B,2CAAuC;AACvC,6CAAyC;AACzC,mDAA+C;AAC/C,2CAAuC;AACvC,uCAAsD;AAGtD,uCAAsD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Treasury/Snapshot/index.ts"],"names":[],"mappings":";;;AAAA,iCAA6B;AAC7B,+BAA2B;AAC3B,2CAAuC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ly } from "isoly";
|
|
2
|
+
import { Base } from "../Base";
|
|
3
|
+
export interface Reconciliation extends Base {
|
|
4
|
+
type: "reconciliation";
|
|
5
|
+
severity?: "high";
|
|
6
|
+
delta: {
|
|
7
|
+
account: number;
|
|
8
|
+
operation: number;
|
|
9
|
+
};
|
|
10
|
+
currency: isoly.Currency;
|
|
11
|
+
account: string;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace Reconciliation {
|
|
14
|
+
const type: import("isly/dist/cjs/object").IslyObject<Reconciliation, Base>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Reconciliation = void 0;
|
|
4
|
+
const isly_1 = require("isly");
|
|
5
|
+
const Base_1 = require("../Base");
|
|
6
|
+
var Reconciliation;
|
|
7
|
+
(function (Reconciliation) {
|
|
8
|
+
Reconciliation.type = Base_1.Base.type.extend({
|
|
9
|
+
type: isly_1.isly.string("reconciliation"),
|
|
10
|
+
severity: isly_1.isly.string(["high"]).optional(),
|
|
11
|
+
currency: isly_1.isly.string(),
|
|
12
|
+
delta: isly_1.isly.object({ account: isly_1.isly.number(), operation: isly_1.isly.number() }),
|
|
13
|
+
account: isly_1.isly.string(),
|
|
14
|
+
});
|
|
15
|
+
})(Reconciliation || (exports.Reconciliation = Reconciliation = {}));
|
|
16
|
+
//# sourceMappingURL=Reconciliation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Reconciliation.js","sourceRoot":"","sources":["../../../../Warning/Snapshot/Reconciliation.ts"],"names":[],"mappings":";;;AACA,+BAA2B;AAC3B,kCAA8B;AAS9B,IAAiB,cAAc,CAQ9B;AARD,WAAiB,cAAc;IACjB,mBAAI,GAAG,WAAI,CAAC,IAAI,CAAC,MAAM,CAAiB;QACpD,IAAI,EAAE,WAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC;QACnC,QAAQ,EAAE,WAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE;QAC1C,QAAQ,EAAE,WAAI,CAAC,MAAM,EAAE;QACvB,KAAK,EAAE,WAAI,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,WAAI,CAAC,MAAM,EAAE,EAAE,SAAS,EAAE,WAAI,CAAC,MAAM,EAAE,EAAE,CAAC;QACxE,OAAO,EAAE,WAAI,CAAC,MAAM,EAAE;KACtB,CAAC,CAAA;AACH,CAAC,EARgB,cAAc,8BAAd,cAAc,QAQ9B"}
|
|
@@ -5,15 +5,17 @@ import { MissingEmoney as WarningMissingEmoney } from "./MissingEmoney";
|
|
|
5
5
|
import { MissingFiat as WarningMissingFiat } from "./MissingFiat";
|
|
6
6
|
import { MissingTransaction as WarningMissingTransaction } from "./MissingTransaction";
|
|
7
7
|
import { Overdraft as WarningOverdraft } from "./Overdraft";
|
|
8
|
+
import { Reconciliation as WarningReconciliation } from "./Reconciliation";
|
|
8
9
|
import { StaleFiat as WarningStaleFiat } from "./StaleFiat";
|
|
9
|
-
export type Snapshot = Snapshot.
|
|
10
|
+
export type Snapshot = Snapshot.DeltaFiat | Snapshot.MissingBuffer | Snapshot.MissingEmoney | Snapshot.MissingFiat | Snapshot.MissingTransaction | Snapshot.Overdraft | Snapshot.Reconciliation | Snapshot.StaleFiat;
|
|
10
11
|
export declare namespace Snapshot {
|
|
11
|
-
export import
|
|
12
|
-
export import StaleFiat = WarningStaleFiat;
|
|
12
|
+
export import DeltaFiat = WarningDeltaFiat;
|
|
13
13
|
export import MissingBuffer = WarningMissingBuffer;
|
|
14
14
|
export import MissingEmoney = WarningMissingEmoney;
|
|
15
15
|
export import MissingFiat = WarningMissingFiat;
|
|
16
16
|
export import MissingTransaction = WarningMissingTransaction;
|
|
17
|
-
export import
|
|
17
|
+
export import Overdraft = WarningOverdraft;
|
|
18
|
+
export import Reconciliation = WarningReconciliation;
|
|
19
|
+
export import StaleFiat = WarningStaleFiat;
|
|
18
20
|
const type: isly.Type<Snapshot>;
|
|
19
21
|
}
|
|
@@ -8,16 +8,18 @@ const MissingEmoney_1 = require("./MissingEmoney");
|
|
|
8
8
|
const MissingFiat_1 = require("./MissingFiat");
|
|
9
9
|
const MissingTransaction_1 = require("./MissingTransaction");
|
|
10
10
|
const Overdraft_1 = require("./Overdraft");
|
|
11
|
+
const Reconciliation_1 = require("./Reconciliation");
|
|
11
12
|
const StaleFiat_1 = require("./StaleFiat");
|
|
12
13
|
var Snapshot;
|
|
13
14
|
(function (Snapshot) {
|
|
14
|
-
Snapshot.
|
|
15
|
-
Snapshot.StaleFiat = StaleFiat_1.StaleFiat;
|
|
15
|
+
Snapshot.DeltaFiat = DeltaFiat_1.DeltaFiat;
|
|
16
16
|
Snapshot.MissingBuffer = MissingBuffer_1.MissingBuffer;
|
|
17
17
|
Snapshot.MissingEmoney = MissingEmoney_1.MissingEmoney;
|
|
18
18
|
Snapshot.MissingFiat = MissingFiat_1.MissingFiat;
|
|
19
19
|
Snapshot.MissingTransaction = MissingTransaction_1.MissingTransaction;
|
|
20
|
-
Snapshot.
|
|
21
|
-
Snapshot.
|
|
20
|
+
Snapshot.Overdraft = Overdraft_1.Overdraft;
|
|
21
|
+
Snapshot.Reconciliation = Reconciliation_1.Reconciliation;
|
|
22
|
+
Snapshot.StaleFiat = StaleFiat_1.StaleFiat;
|
|
23
|
+
Snapshot.type = isly_1.isly.union(Snapshot.DeltaFiat.type, Snapshot.MissingBuffer.type, Snapshot.MissingEmoney.type, Snapshot.MissingFiat.type, Snapshot.MissingTransaction.type, Snapshot.Overdraft.type, Snapshot.Reconciliation.type, Snapshot.StaleFiat.type);
|
|
22
24
|
})(Snapshot || (exports.Snapshot = Snapshot = {}));
|
|
23
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Warning/Snapshot/index.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAC3B,2CAA2D;AAC3D,mDAAuE;AACvE,mDAAuE;AACvE,+CAAiE;AACjE,6DAAsF;AACtF,2CAA2D;AAC3D,2CAA2D;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Warning/Snapshot/index.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAC3B,2CAA2D;AAC3D,mDAAuE;AACvE,mDAAuE;AACvE,+CAAiE;AACjE,6DAAsF;AACtF,2CAA2D;AAC3D,qDAA0E;AAC1E,2CAA2D;AAY3D,IAAiB,QAAQ,CAoBxB;AApBD,WAAiB,QAAQ;IACV,kBAAS,GAAG,qBAAgB,CAAA;IAC5B,sBAAa,GAAG,6BAAoB,CAAA;IACpC,sBAAa,GAAG,6BAAoB,CAAA;IACpC,oBAAW,GAAG,yBAAkB,CAAA;IAChC,2BAAkB,GAAG,uCAAyB,CAAA;IAC9C,kBAAS,GAAG,qBAAgB,CAAA;IAC5B,uBAAc,GAAG,+BAAqB,CAAA;IACtC,kBAAS,GAAG,qBAAgB,CAAA;IAE7B,aAAI,GAAG,WAAI,CAAC,KAAK,CAC7B,SAAA,SAAS,CAAC,IAAI,EACd,SAAA,aAAa,CAAC,IAAI,EAClB,SAAA,aAAa,CAAC,IAAI,EAClB,SAAA,WAAW,CAAC,IAAI,EAChB,SAAA,kBAAkB,CAAC,IAAI,EACvB,SAAA,SAAS,CAAC,IAAI,EACd,SAAA,cAAc,CAAC,IAAI,EACnB,SAAA,SAAS,CAAC,IAAI,CACd,CAAA;AACF,CAAC,EApBgB,QAAQ,wBAAR,QAAQ,QAoBxB"}
|
|
@@ -11,7 +11,7 @@ export declare namespace Warning {
|
|
|
11
11
|
export import Issue = WarningIssue;
|
|
12
12
|
namespace Type {
|
|
13
13
|
type Snapshot = WarningSnapshot["type"];
|
|
14
|
-
const Snapshot: isly.Type<"overdraft" | "delta-fiat" | "missing-buffer" | "missing-emoney" | "missing-fiat" | "missing-transaction" | "stale-fiat">;
|
|
14
|
+
const Snapshot: isly.Type<"overdraft" | "delta-fiat" | "missing-buffer" | "missing-emoney" | "missing-fiat" | "missing-transaction" | "reconciliation" | "stale-fiat">;
|
|
15
15
|
type Settlement = WarningSettlement["type"];
|
|
16
16
|
const Settlement: isly.Type<"missing-file" | "negative-amount" | "unknown-entry">;
|
|
17
17
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Reconciliation.js","sourceRoot":"","sources":["../../../../Treasury/Snapshot/Reconciliation.ts"],"names":[],"mappings":""}
|
|
@@ -7,10 +7,12 @@ import { Account as SnapshotAccount } from "./Account";
|
|
|
7
7
|
import { Emoney as SnapshotEmoney } from "./Emoney";
|
|
8
8
|
import { Fiat as SnapshotFiat } from "./Fiat";
|
|
9
9
|
import { funding as snapshotFunding } from "./funding";
|
|
10
|
+
import { Reconciliation as SnapshotReconciliation } from "./Reconciliation";
|
|
10
11
|
export interface Snapshot {
|
|
11
12
|
warnings: Warning.Snapshot[];
|
|
12
13
|
emoney: Balance.Extended & {
|
|
13
14
|
total?: number;
|
|
15
|
+
reconciliation?: Snapshot.Reconciliation;
|
|
14
16
|
};
|
|
15
17
|
currency: isoly.Currency;
|
|
16
18
|
supplier: Supplier;
|
|
@@ -26,6 +28,7 @@ export interface Snapshot {
|
|
|
26
28
|
}
|
|
27
29
|
export declare namespace Snapshot {
|
|
28
30
|
export import funding = snapshotFunding;
|
|
31
|
+
type Reconciliation = SnapshotReconciliation;
|
|
29
32
|
type Emoney = SnapshotEmoney;
|
|
30
33
|
type Fiat = SnapshotFiat;
|
|
31
34
|
export import Account = SnapshotAccount;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Treasury/Snapshot/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe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,CAAC,IAAI,CAAC,KAAK,EAAE;QACvC,MAAM,EAAE,OAAO,CAAC,QAAQ;QACxB,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;QACpD,QAAQ,EAAE,QAAQ,CAAC,IAAI;QACvB,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;YACjB,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;YACnB,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE;YACrB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE;YACpB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE;YACpB,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE;YACrB,QAAQ,EAAE,SAAA,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE;SAC9B,CAAC;QACF,KAAK,EAAE,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;KACpC,CAAC,CAAA;AACH,CAAC,EA1BgB,QAAQ,KAAR,QAAQ,QA0BxB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { isoly } from "isoly";
|
|
2
|
+
import { Base } from "../Base";
|
|
3
|
+
export interface Reconciliation extends Base {
|
|
4
|
+
type: "reconciliation";
|
|
5
|
+
severity?: "high";
|
|
6
|
+
delta: {
|
|
7
|
+
account: number;
|
|
8
|
+
operation: number;
|
|
9
|
+
};
|
|
10
|
+
currency: isoly.Currency;
|
|
11
|
+
account: string;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace Reconciliation {
|
|
14
|
+
const type: import("isly/dist/cjs/object").IslyObject<Reconciliation, Base>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
import { Base } from "../Base";
|
|
3
|
+
export var Reconciliation;
|
|
4
|
+
(function (Reconciliation) {
|
|
5
|
+
Reconciliation.type = Base.type.extend({
|
|
6
|
+
type: isly.string("reconciliation"),
|
|
7
|
+
severity: isly.string(["high"]).optional(),
|
|
8
|
+
currency: isly.string(),
|
|
9
|
+
delta: isly.object({ account: isly.number(), operation: isly.number() }),
|
|
10
|
+
account: isly.string(),
|
|
11
|
+
});
|
|
12
|
+
})(Reconciliation || (Reconciliation = {}));
|
|
13
|
+
//# sourceMappingURL=Reconciliation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Reconciliation.js","sourceRoot":"","sources":["../../../../Warning/Snapshot/Reconciliation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAS9B,MAAM,KAAW,cAAc,CAQ9B;AARD,WAAiB,cAAc;IACjB,mBAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAiB;QACpD,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC;QACnC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE;QAC1C,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE;QACvB,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC;QACxE,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE;KACtB,CAAC,CAAA;AACH,CAAC,EARgB,cAAc,KAAd,cAAc,QAQ9B"}
|
|
@@ -5,15 +5,17 @@ import { MissingEmoney as WarningMissingEmoney } from "./MissingEmoney";
|
|
|
5
5
|
import { MissingFiat as WarningMissingFiat } from "./MissingFiat";
|
|
6
6
|
import { MissingTransaction as WarningMissingTransaction } from "./MissingTransaction";
|
|
7
7
|
import { Overdraft as WarningOverdraft } from "./Overdraft";
|
|
8
|
+
import { Reconciliation as WarningReconciliation } from "./Reconciliation";
|
|
8
9
|
import { StaleFiat as WarningStaleFiat } from "./StaleFiat";
|
|
9
|
-
export type Snapshot = Snapshot.
|
|
10
|
+
export type Snapshot = Snapshot.DeltaFiat | Snapshot.MissingBuffer | Snapshot.MissingEmoney | Snapshot.MissingFiat | Snapshot.MissingTransaction | Snapshot.Overdraft | Snapshot.Reconciliation | Snapshot.StaleFiat;
|
|
10
11
|
export declare namespace Snapshot {
|
|
11
|
-
export import
|
|
12
|
-
export import StaleFiat = WarningStaleFiat;
|
|
12
|
+
export import DeltaFiat = WarningDeltaFiat;
|
|
13
13
|
export import MissingBuffer = WarningMissingBuffer;
|
|
14
14
|
export import MissingEmoney = WarningMissingEmoney;
|
|
15
15
|
export import MissingFiat = WarningMissingFiat;
|
|
16
16
|
export import MissingTransaction = WarningMissingTransaction;
|
|
17
|
-
export import
|
|
17
|
+
export import Overdraft = WarningOverdraft;
|
|
18
|
+
export import Reconciliation = WarningReconciliation;
|
|
19
|
+
export import StaleFiat = WarningStaleFiat;
|
|
18
20
|
const type: isly.Type<Snapshot>;
|
|
19
21
|
}
|
|
@@ -5,16 +5,18 @@ import { MissingEmoney as WarningMissingEmoney } from "./MissingEmoney";
|
|
|
5
5
|
import { MissingFiat as WarningMissingFiat } from "./MissingFiat";
|
|
6
6
|
import { MissingTransaction as WarningMissingTransaction } from "./MissingTransaction";
|
|
7
7
|
import { Overdraft as WarningOverdraft } from "./Overdraft";
|
|
8
|
+
import { Reconciliation as WarningReconciliation } from "./Reconciliation";
|
|
8
9
|
import { StaleFiat as WarningStaleFiat } from "./StaleFiat";
|
|
9
10
|
export var Snapshot;
|
|
10
11
|
(function (Snapshot) {
|
|
11
|
-
Snapshot.
|
|
12
|
-
Snapshot.StaleFiat = WarningStaleFiat;
|
|
12
|
+
Snapshot.DeltaFiat = WarningDeltaFiat;
|
|
13
13
|
Snapshot.MissingBuffer = WarningMissingBuffer;
|
|
14
14
|
Snapshot.MissingEmoney = WarningMissingEmoney;
|
|
15
15
|
Snapshot.MissingFiat = WarningMissingFiat;
|
|
16
16
|
Snapshot.MissingTransaction = WarningMissingTransaction;
|
|
17
|
-
Snapshot.
|
|
18
|
-
Snapshot.
|
|
17
|
+
Snapshot.Overdraft = WarningOverdraft;
|
|
18
|
+
Snapshot.Reconciliation = WarningReconciliation;
|
|
19
|
+
Snapshot.StaleFiat = WarningStaleFiat;
|
|
20
|
+
Snapshot.type = isly.union(Snapshot.DeltaFiat.type, Snapshot.MissingBuffer.type, Snapshot.MissingEmoney.type, Snapshot.MissingFiat.type, Snapshot.MissingTransaction.type, Snapshot.Overdraft.type, Snapshot.Reconciliation.type, Snapshot.StaleFiat.type);
|
|
19
21
|
})(Snapshot || (Snapshot = {}));
|
|
20
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Warning/Snapshot/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAC3D,OAAO,EAAE,aAAa,IAAI,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AACvE,OAAO,EAAE,aAAa,IAAI,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AACvE,OAAO,EAAE,WAAW,IAAI,kBAAkB,EAAE,MAAM,eAAe,CAAA;AACjE,OAAO,EAAE,kBAAkB,IAAI,yBAAyB,EAAE,MAAM,sBAAsB,CAAA;AACtF,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAC3D,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Warning/Snapshot/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,SAAS,IAA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12
|
namespace Type {
|
|
13
13
|
type Snapshot = WarningSnapshot["type"];
|
|
14
|
-
const Snapshot: isly.Type<"overdraft" | "delta-fiat" | "missing-buffer" | "missing-emoney" | "missing-fiat" | "missing-transaction" | "stale-fiat">;
|
|
14
|
+
const Snapshot: isly.Type<"overdraft" | "delta-fiat" | "missing-buffer" | "missing-emoney" | "missing-fiat" | "missing-transaction" | "reconciliation" | "stale-fiat">;
|
|
15
15
|
type Settlement = WarningSettlement["type"];
|
|
16
16
|
const Settlement: isly.Type<"missing-file" | "negative-amount" | "unknown-entry">;
|
|
17
17
|
}
|