@pax2pay/model-banking 0.1.395 → 0.1.396
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/Issue.ts +15 -1
- package/dist/Warning/Issue.d.ts +10 -0
- package/dist/Warning/Issue.js +10 -0
- package/dist/Warning/Issue.js.map +1 -1
- package/package.json +1 -1
package/Warning/Issue.ts
CHANGED
|
@@ -1,13 +1,27 @@
|
|
|
1
|
+
import { isoly } from "isoly"
|
|
1
2
|
import { isly } from "isly"
|
|
2
3
|
|
|
3
4
|
export interface Issue {
|
|
4
5
|
link: string
|
|
5
6
|
status: "closed" | "open"
|
|
6
7
|
}
|
|
7
|
-
|
|
8
8
|
export namespace Issue {
|
|
9
9
|
export const type = isly.object<Issue>({
|
|
10
10
|
link: isly.string(),
|
|
11
11
|
status: isly.string(["closed", "open"]),
|
|
12
12
|
})
|
|
13
|
+
export interface Creatable {
|
|
14
|
+
type: string
|
|
15
|
+
currency: isoly.Currency
|
|
16
|
+
resource?: string
|
|
17
|
+
issue: Issue
|
|
18
|
+
}
|
|
19
|
+
export namespace Creatable {
|
|
20
|
+
export const type = isly.object<Creatable>({
|
|
21
|
+
type: isly.string(),
|
|
22
|
+
currency: isly.fromIs("Currency", isoly.Currency.is),
|
|
23
|
+
resource: isly.string().optional(),
|
|
24
|
+
issue: Issue.type,
|
|
25
|
+
})
|
|
26
|
+
}
|
|
13
27
|
}
|
package/dist/Warning/Issue.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { isoly } from "isoly";
|
|
1
2
|
import { isly } from "isly";
|
|
2
3
|
export interface Issue {
|
|
3
4
|
link: string;
|
|
@@ -5,4 +6,13 @@ export interface Issue {
|
|
|
5
6
|
}
|
|
6
7
|
export declare namespace Issue {
|
|
7
8
|
const type: isly.object.ExtendableType<Issue>;
|
|
9
|
+
interface Creatable {
|
|
10
|
+
type: string;
|
|
11
|
+
currency: isoly.Currency;
|
|
12
|
+
resource?: string;
|
|
13
|
+
issue: Issue;
|
|
14
|
+
}
|
|
15
|
+
namespace Creatable {
|
|
16
|
+
const type: isly.object.ExtendableType<Creatable>;
|
|
17
|
+
}
|
|
8
18
|
}
|
package/dist/Warning/Issue.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { isoly } from "isoly";
|
|
1
2
|
import { isly } from "isly";
|
|
2
3
|
export var Issue;
|
|
3
4
|
(function (Issue) {
|
|
@@ -5,5 +6,14 @@ export var Issue;
|
|
|
5
6
|
link: isly.string(),
|
|
6
7
|
status: isly.string(["closed", "open"]),
|
|
7
8
|
});
|
|
9
|
+
let Creatable;
|
|
10
|
+
(function (Creatable) {
|
|
11
|
+
Creatable.type = isly.object({
|
|
12
|
+
type: isly.string(),
|
|
13
|
+
currency: isly.fromIs("Currency", isoly.Currency.is),
|
|
14
|
+
resource: isly.string().optional(),
|
|
15
|
+
issue: Issue.type,
|
|
16
|
+
});
|
|
17
|
+
})(Creatable = Issue.Creatable || (Issue.Creatable = {}));
|
|
8
18
|
})(Issue || (Issue = {}));
|
|
9
19
|
//# sourceMappingURL=Issue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Issue.js","sourceRoot":"../","sources":["Warning/Issue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"Issue.js","sourceRoot":"../","sources":["Warning/Issue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAM3B,MAAM,KAAW,KAAK,CAmBrB;AAnBD,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;IAOF,IAAiB,SAAS,CAOzB;IAPD,WAAiB,SAAS;QACZ,cAAI,GAAG,IAAI,CAAC,MAAM,CAAY;YAC1C,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;YACnB,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;YACpD,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YAClC,KAAK,EAAE,KAAK,CAAC,IAAI;SACjB,CAAC,CAAA;IACH,CAAC,EAPgB,SAAS,GAAT,eAAS,KAAT,eAAS,QAOzB;AACF,CAAC,EAnBgB,KAAK,KAAL,KAAK,QAmBrB"}
|