@pax2pay/model-banking 0.1.525 → 0.1.526

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.
@@ -10,4 +10,8 @@ export interface Fiat {
10
10
  type: "safeguarded" | "unsafe" | "other" | "buffer"
11
11
  balances: Balance
12
12
  warnings?: Warning.Snapshot[]
13
+ counterbalance?: Balance
14
+ conditions?: { minimum?: Balance }
15
+ label?: string
16
+ reference?: string
13
17
  }
@@ -6,7 +6,7 @@ import { Account } from "../Account"
6
6
 
7
7
  export interface Fragment {
8
8
  warnings: Warning.Snapshot[]
9
- emoney: Balance.Extended
9
+ emoney: Balance.Extended & { total?: number }
10
10
  counterbalance: Fragment.Counterbalance
11
11
  fiat: {
12
12
  safe: number
@@ -9,4 +9,10 @@ export interface Fiat {
9
9
  type: "safeguarded" | "unsafe" | "other" | "buffer";
10
10
  balances: Balance;
11
11
  warnings?: Warning.Snapshot[];
12
+ counterbalance?: Balance;
13
+ conditions?: {
14
+ minimum?: Balance;
15
+ };
16
+ label?: string;
17
+ reference?: string;
12
18
  }
@@ -5,7 +5,9 @@ import { Warning } from "../../Warning";
5
5
  import { Account } from "../Account";
6
6
  export interface Fragment {
7
7
  warnings: Warning.Snapshot[];
8
- emoney: Balance.Extended;
8
+ emoney: Balance.Extended & {
9
+ total?: number;
10
+ };
9
11
  counterbalance: Fragment.Counterbalance;
10
12
  fiat: {
11
13
  safe: number;
@@ -9,4 +9,10 @@ export interface Fiat {
9
9
  type: "safeguarded" | "unsafe" | "other" | "buffer";
10
10
  balances: Balance;
11
11
  warnings?: Warning.Snapshot[];
12
+ counterbalance?: Balance;
13
+ conditions?: {
14
+ minimum?: Balance;
15
+ };
16
+ label?: string;
17
+ reference?: string;
12
18
  }
@@ -5,7 +5,9 @@ import { Warning } from "../../Warning";
5
5
  import { Account } from "../Account";
6
6
  export interface Fragment {
7
7
  warnings: Warning.Snapshot[];
8
- emoney: Balance.Extended;
8
+ emoney: Balance.Extended & {
9
+ total?: number;
10
+ };
9
11
  counterbalance: Fragment.Counterbalance;
10
12
  fiat: {
11
13
  safe: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.1.525",
3
+ "version": "0.1.526",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",