@pax2pay/model-banking 0.0.22 → 0.0.23

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/Balances/type.ts CHANGED
@@ -1,7 +1,9 @@
1
- export type BalanceEntry = "actual" | "reserved"
1
+ export type BalanceEntry = "actual" | "incoming reserved" | "outgoing reserved"
2
2
 
3
3
  export namespace BalanceEntry {
4
4
  export function is(value: any | BalanceEntry): value is BalanceEntry {
5
- return typeof value == "string" && (value == "actual" || value == "reserved")
5
+ return (
6
+ typeof value == "string" && (value == "actual" || value == "incoming reserved" || value == "outgoing reserved")
7
+ )
6
8
  }
7
9
  }
@@ -1,4 +1,4 @@
1
- export type BalanceEntry = "actual" | "reserved";
1
+ export type BalanceEntry = "actual" | "incoming reserved" | "outgoing reserved";
2
2
  export declare namespace BalanceEntry {
3
3
  function is(value: any | BalanceEntry): value is BalanceEntry;
4
4
  }
@@ -1,7 +1,7 @@
1
1
  export var BalanceEntry;
2
2
  (function (BalanceEntry) {
3
3
  function is(value) {
4
- return typeof value == "string" && (value == "actual" || value == "reserved");
4
+ return (typeof value == "string" && (value == "actual" || value == "incoming reserved" || value == "outgoing reserved"));
5
5
  }
6
6
  BalanceEntry.is = is;
7
7
  })(BalanceEntry || (BalanceEntry = {}));
@@ -1 +1 @@
1
- {"version":3,"file":"type.js","sourceRoot":"../","sources":["Balances/type.ts"],"names":[],"mappings":"AAEA,MAAM,KAAW,YAAY,CAI5B;AAJD,WAAiB,YAAY;IAC5B,SAAgB,EAAE,CAAC,KAAyB;QAC3C,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,CAAC,KAAK,IAAI,QAAQ,IAAI,KAAK,IAAI,UAAU,CAAC,CAAA;IAC9E,CAAC;IAFe,eAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,YAAY,KAAZ,YAAY,QAI5B"}
1
+ {"version":3,"file":"type.js","sourceRoot":"../","sources":["Balances/type.ts"],"names":[],"mappings":"AAEA,MAAM,KAAW,YAAY,CAM5B;AAND,WAAiB,YAAY;IAC5B,SAAgB,EAAE,CAAC,KAAyB;QAC3C,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ,IAAI,CAAC,KAAK,IAAI,QAAQ,IAAI,KAAK,IAAI,mBAAmB,IAAI,KAAK,IAAI,mBAAmB,CAAC,CAC/G,CAAA;IACF,CAAC;IAJe,eAAE,KAIjB,CAAA;AACF,CAAC,EANgB,YAAY,KAAZ,YAAY,QAM5B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",