@pax2pay/model-banking 0.1.253 → 0.1.254
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/Rail/Address/internal.ts
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
import * as cryptly from "cryptly"
|
|
2
|
+
import { isly } from "isly"
|
|
2
3
|
|
|
3
4
|
export interface Internal {
|
|
4
5
|
type: "internal"
|
|
6
|
+
name?: string
|
|
5
7
|
identifier: cryptly.Identifier
|
|
8
|
+
organization?: string
|
|
6
9
|
}
|
|
7
10
|
export namespace Internal {
|
|
8
11
|
export const currencies = ["EUR", "GBP", "SEK", "USD"] as const
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
export const type = isly.object<Internal>({
|
|
13
|
+
type: isly.string("internal"),
|
|
14
|
+
name: isly.string().optional(),
|
|
15
|
+
identifier: isly.fromIs("Identifier", cryptly.Identifier.is),
|
|
16
|
+
organization: isly.string().optional(),
|
|
17
|
+
})
|
|
18
|
+
export const is = type.is
|
|
19
|
+
export const flaw = type.flaw
|
|
12
20
|
}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import * as cryptly from "cryptly";
|
|
2
|
+
import { isly } from "isly";
|
|
2
3
|
export interface Internal {
|
|
3
4
|
type: "internal";
|
|
5
|
+
name?: string;
|
|
4
6
|
identifier: cryptly.Identifier;
|
|
7
|
+
organization?: string;
|
|
5
8
|
}
|
|
6
9
|
export declare namespace Internal {
|
|
7
10
|
const currencies: readonly ["EUR", "GBP", "SEK", "USD"];
|
|
8
|
-
|
|
11
|
+
const type: isly.object.ExtendableType<Internal>;
|
|
12
|
+
const is: isly.Type.IsFunction<Internal>;
|
|
13
|
+
const flaw: isly.Type.FlawFunction;
|
|
9
14
|
}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import * as cryptly from "cryptly";
|
|
2
|
+
import { isly } from "isly";
|
|
2
3
|
export var Internal;
|
|
3
4
|
(function (Internal) {
|
|
4
5
|
Internal.currencies = ["EUR", "GBP", "SEK", "USD"];
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
Internal.type = isly.object({
|
|
7
|
+
type: isly.string("internal"),
|
|
8
|
+
name: isly.string().optional(),
|
|
9
|
+
identifier: isly.fromIs("Identifier", cryptly.Identifier.is),
|
|
10
|
+
organization: isly.string().optional(),
|
|
11
|
+
});
|
|
12
|
+
Internal.is = Internal.type.is;
|
|
13
|
+
Internal.flaw = Internal.type.flaw;
|
|
9
14
|
})(Internal || (Internal = {}));
|
|
10
15
|
//# sourceMappingURL=internal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"../","sources":["Rail/Address/internal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"internal.js","sourceRoot":"../","sources":["Rail/Address/internal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAQ3B,MAAM,KAAW,QAAQ,CAUxB;AAVD,WAAiB,QAAQ;IACX,mBAAU,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAU,CAAA;IAClD,aAAI,GAAG,IAAI,CAAC,MAAM,CAAW;QACzC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC;QAC7B,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC9B,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC,YAAY,EAAE,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;QAC5D,YAAY,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACtC,CAAC,CAAA;IACW,WAAE,GAAG,SAAA,IAAI,CAAC,EAAE,CAAA;IACZ,aAAI,GAAG,SAAA,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC,EAVgB,QAAQ,KAAR,QAAQ,QAUxB"}
|