@pax2pay/model-banking 0.1.379 → 0.1.381

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.
@@ -0,0 +1,15 @@
1
+ import { isly } from "isly"
2
+
3
+ export interface Base {
4
+ type: string
5
+ resource: string
6
+ value?: number
7
+ }
8
+
9
+ export namespace Base {
10
+ export const type = isly.object<Base>({
11
+ type: isly.string(),
12
+ resource: isly.string(),
13
+ value: isly.number().optional(),
14
+ })
15
+ }
@@ -0,0 +1,9 @@
1
+ import { Base as WarningBase } from "./Base"
2
+ // import { Snapshot as WarningSnapshot } from "./Snapshot"
3
+
4
+ // export type Warning = Warning.Snapshot //| Settlement
5
+
6
+ export namespace Warning {
7
+ // export import Snapshot = WarningSnapshot
8
+ export import Base = WarningBase
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.1.379",
3
+ "version": "0.1.381",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",