@pax2pay/model-banking 0.1.616 → 0.1.618

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.
@@ -1,3 +1,5 @@
1
+ import { isoly } from "isoly"
2
+ import { Emoney } from "../Emoney"
1
3
  import { Base as ResultBase } from "./Base"
2
4
 
3
5
  export interface InternalReconciliation extends ResultBase {
@@ -5,5 +7,11 @@ export interface InternalReconciliation extends ResultBase {
5
7
  counterbalance: number
6
8
  emoney: number
7
9
  discrepancy: number
10
+ accounts: InternalReconciliation.Account[]
11
+ }
12
+ export namespace InternalReconciliation {
13
+ export interface Account extends Omit<Emoney, "balances"> {
14
+ balance: number
15
+ currency: isoly.Currency
16
+ }
8
17
  }
9
- export namespace InternalReconciliation {}
@@ -19,6 +19,7 @@ export interface Snapshot {
19
19
  total: number // emoney issuable total amount
20
20
  accounts: Snapshot.Account[]
21
21
  }
22
+ counterbalance?: number
22
23
  notes: Transaction.Note[]
23
24
  checks: Snapshot.Check[]
24
25
  result: Snapshot.Check.Result
@@ -1,8 +1,16 @@
1
+ import { isoly } from "isoly";
2
+ import { Emoney } from "../Emoney";
1
3
  import { Base as ResultBase } from "./Base";
2
4
  export interface InternalReconciliation extends ResultBase {
3
5
  check: "internal reconciliation";
4
6
  counterbalance: number;
5
7
  emoney: number;
6
8
  discrepancy: number;
9
+ accounts: InternalReconciliation.Account[];
10
+ }
11
+ export declare namespace InternalReconciliation {
12
+ interface Account extends Omit<Emoney, "balances"> {
13
+ balance: number;
14
+ currency: isoly.Currency;
15
+ }
7
16
  }
8
- export declare namespace InternalReconciliation { }
@@ -20,6 +20,7 @@ export interface Snapshot {
20
20
  total: number;
21
21
  accounts: Snapshot.Account[];
22
22
  };
23
+ counterbalance?: number;
23
24
  notes: Transaction.Note[];
24
25
  checks: Snapshot.Check[];
25
26
  result: Snapshot.Check.Result;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Treasury/Snapshot/index.ts"],"names":[],"mappings":";;;AAKA,uCAAsD;AACtD,mCAAgD;AAGhD,uCAAsD;AAiBtD,IAAiB,QAAQ,CAOxB;AAPD,WAAiB,QAAQ;IACV,gBAAO,GAAG,iBAAe,CAAA;IACzB,cAAK,GAAG,aAAa,CAAA;IAIrB,gBAAO,GAAG,iBAAe,CAAA;AACxC,CAAC,EAPgB,QAAQ,wBAAR,QAAQ,QAOxB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Treasury/Snapshot/index.ts"],"names":[],"mappings":";;;AAKA,uCAAsD;AACtD,mCAAgD;AAGhD,uCAAsD;AAkBtD,IAAiB,QAAQ,CAOxB;AAPD,WAAiB,QAAQ;IACV,gBAAO,GAAG,iBAAe,CAAA;IACzB,cAAK,GAAG,aAAa,CAAA;IAIrB,gBAAO,GAAG,iBAAe,CAAA;AACxC,CAAC,EAPgB,QAAQ,wBAAR,QAAQ,QAOxB"}
@@ -1,8 +1,16 @@
1
+ import { isoly } from "isoly";
2
+ import { Emoney } from "../Emoney";
1
3
  import { Base as ResultBase } from "./Base";
2
4
  export interface InternalReconciliation extends ResultBase {
3
5
  check: "internal reconciliation";
4
6
  counterbalance: number;
5
7
  emoney: number;
6
8
  discrepancy: number;
9
+ accounts: InternalReconciliation.Account[];
10
+ }
11
+ export declare namespace InternalReconciliation {
12
+ interface Account extends Omit<Emoney, "balances"> {
13
+ balance: number;
14
+ currency: isoly.Currency;
15
+ }
7
16
  }
8
- export declare namespace InternalReconciliation { }
@@ -20,6 +20,7 @@ export interface Snapshot {
20
20
  total: number;
21
21
  accounts: Snapshot.Account[];
22
22
  };
23
+ counterbalance?: number;
23
24
  notes: Transaction.Note[];
24
25
  checks: Snapshot.Check[];
25
26
  result: Snapshot.Check.Result;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Treasury/Snapshot/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,WAAW,CAAA;AACtD,OAAO,EAAE,KAAK,IAAI,aAAa,EAAE,MAAM,SAAS,CAAA;AAGhD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,WAAW,CAAA;AAiBtD,MAAM,KAAW,QAAQ,CAOxB;AAPD,WAAiB,QAAQ;IACV,gBAAO,GAAG,eAAe,CAAA;IACzB,cAAK,GAAG,aAAa,CAAA;IAIrB,gBAAO,GAAG,eAAe,CAAA;AACxC,CAAC,EAPgB,QAAQ,KAAR,QAAQ,QAOxB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Treasury/Snapshot/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,WAAW,CAAA;AACtD,OAAO,EAAE,KAAK,IAAI,aAAa,EAAE,MAAM,SAAS,CAAA;AAGhD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,WAAW,CAAA;AAkBtD,MAAM,KAAW,QAAQ,CAOxB;AAPD,WAAiB,QAAQ;IACV,gBAAO,GAAG,eAAe,CAAA;IACzB,cAAK,GAAG,aAAa,CAAA;IAIrB,gBAAO,GAAG,eAAe,CAAA;AACxC,CAAC,EAPgB,QAAQ,KAAR,QAAQ,QAOxB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.1.616",
3
+ "version": "0.1.618",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",