@pax2pay/model-banking 0.1.392 → 0.1.393

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/Warning/Base.ts CHANGED
@@ -1,11 +1,13 @@
1
1
  import { isoly } from "isoly"
2
2
  import { isly } from "isly"
3
+ import { Issue } from "./Issue"
3
4
 
4
5
  export interface Base {
5
6
  type: string
6
7
  resource: string
7
8
  value?: number
8
9
  date: isoly.Date
10
+ issue?: Issue
9
11
  }
10
12
 
11
13
  export namespace Base {
@@ -14,5 +16,6 @@ export namespace Base {
14
16
  resource: isly.string(),
15
17
  value: isly.number().optional(),
16
18
  date: isly.string(),
19
+ issue: Issue.type.optional(),
17
20
  })
18
21
  }
@@ -0,0 +1,13 @@
1
+ import { isly } from "isly"
2
+
3
+ export interface Issue {
4
+ link: string
5
+ status: "closed" | "open"
6
+ }
7
+
8
+ export namespace Issue {
9
+ export const type = isly.object<Issue>({
10
+ link: isly.string(),
11
+ status: isly.string(["closed", "open"]),
12
+ })
13
+ }
@@ -1,10 +1,12 @@
1
1
  import { isoly } from "isoly";
2
2
  import { isly } from "isly";
3
+ import { Issue } from "./Issue";
3
4
  export interface Base {
4
5
  type: string;
5
6
  resource: string;
6
7
  value?: number;
7
8
  date: isoly.Date;
9
+ issue?: Issue;
8
10
  }
9
11
  export declare namespace Base {
10
12
  const type: isly.object.ExtendableType<Base>;
@@ -1,4 +1,5 @@
1
1
  import { isly } from "isly";
2
+ import { Issue } from "./Issue";
2
3
  export var Base;
3
4
  (function (Base) {
4
5
  Base.type = isly.object({
@@ -6,6 +7,7 @@ export var Base;
6
7
  resource: isly.string(),
7
8
  value: isly.number().optional(),
8
9
  date: isly.string(),
10
+ issue: Issue.type.optional(),
9
11
  });
10
12
  })(Base || (Base = {}));
11
13
  //# sourceMappingURL=Base.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Base.js","sourceRoot":"../","sources":["Warning/Base.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAS3B,MAAM,KAAW,IAAI,CAOpB;AAPD,WAAiB,IAAI;IACP,SAAI,GAAG,IAAI,CAAC,MAAM,CAAO;QACrC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE;QACvB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC/B,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;KACnB,CAAC,CAAA;AACH,CAAC,EAPgB,IAAI,KAAJ,IAAI,QAOpB"}
1
+ {"version":3,"file":"Base.js","sourceRoot":"../","sources":["Warning/Base.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAU/B,MAAM,KAAW,IAAI,CAQpB;AARD,WAAiB,IAAI;IACP,SAAI,GAAG,IAAI,CAAC,MAAM,CAAO;QACrC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE;QACvB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC/B,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;QACnB,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE;KAC5B,CAAC,CAAA;AACH,CAAC,EARgB,IAAI,KAAJ,IAAI,QAQpB"}
@@ -0,0 +1,8 @@
1
+ import { isly } from "isly";
2
+ export interface Issue {
3
+ link: string;
4
+ status: "closed" | "open";
5
+ }
6
+ export declare namespace Issue {
7
+ const type: isly.object.ExtendableType<Issue>;
8
+ }
@@ -0,0 +1,9 @@
1
+ import { isly } from "isly";
2
+ export var Issue;
3
+ (function (Issue) {
4
+ Issue.type = isly.object({
5
+ link: isly.string(),
6
+ status: isly.string(["closed", "open"]),
7
+ });
8
+ })(Issue || (Issue = {}));
9
+ //# sourceMappingURL=Issue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Issue.js","sourceRoot":"../","sources":["Warning/Issue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAO3B,MAAM,KAAW,KAAK,CAKrB;AALD,WAAiB,KAAK;IACR,UAAI,GAAG,IAAI,CAAC,MAAM,CAAQ;QACtC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;QACnB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;KACvC,CAAC,CAAA;AACH,CAAC,EALgB,KAAK,KAAL,KAAK,QAKrB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.1.392",
3
+ "version": "0.1.393",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",