@pax2pay/model-banking 0.1.109 → 0.1.111
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/Merchant/index.ts +8 -2
- package/Organization/Contact/Address/GB.ts +1 -1
- package/Organization/Contact/Address/General.ts +2 -2
- package/Organization/Contact/Address/index.ts +1 -1
- package/dist/Merchant/index.d.ts +4 -1
- package/dist/Merchant/index.js +4 -1
- package/dist/Merchant/index.js.map +1 -1
- package/dist/Organization/Contact/Address/GB.d.ts +1 -1
- package/dist/Organization/Contact/Address/General.d.ts +1 -1
- package/dist/Organization/Contact/Address/General.js +1 -1
- package/dist/Organization/Contact/Address/General.js.map +1 -1
- package/dist/Organization/Contact/Address/index.d.ts +2 -2
- package/dist/Organization/Contact/Address/index.js +2 -1
- package/dist/Organization/Contact/Address/index.js.map +1 -1
- package/package.json +1 -1
package/Merchant/index.ts
CHANGED
|
@@ -5,16 +5,22 @@ export interface Merchant {
|
|
|
5
5
|
name: string
|
|
6
6
|
id: string
|
|
7
7
|
category: string
|
|
8
|
-
country: isoly.CountryCode.Alpha2
|
|
9
8
|
address: string
|
|
9
|
+
city: string
|
|
10
|
+
zip: string
|
|
11
|
+
state?: string
|
|
12
|
+
country: isoly.CountryCode.Alpha2
|
|
10
13
|
}
|
|
11
14
|
export namespace Merchant {
|
|
12
15
|
export const type = isly.object<Merchant>({
|
|
13
16
|
name: isly.string(),
|
|
14
17
|
id: isly.string(),
|
|
15
18
|
category: isly.string(),
|
|
16
|
-
country: isly.string(),
|
|
17
19
|
address: isly.string(),
|
|
20
|
+
city: isly.string(),
|
|
21
|
+
zip: isly.string(),
|
|
22
|
+
state: isly.string().optional(),
|
|
23
|
+
country: isly.string(),
|
|
18
24
|
})
|
|
19
25
|
export const is = type.is
|
|
20
26
|
export const flaw = type.flaw
|
|
@@ -2,7 +2,7 @@ import { isoly } from "isoly"
|
|
|
2
2
|
import { isly } from "isly"
|
|
3
3
|
|
|
4
4
|
export interface Default {
|
|
5
|
-
countryCode: isoly.CountryCode.Alpha2
|
|
5
|
+
countryCode: Exclude<isoly.CountryCode.Alpha2, "GB" | "SE">
|
|
6
6
|
state?: string
|
|
7
7
|
county?: string
|
|
8
8
|
city: string
|
|
@@ -12,7 +12,7 @@ export interface Default {
|
|
|
12
12
|
|
|
13
13
|
export namespace Default {
|
|
14
14
|
export const type = isly.object<Default>({
|
|
15
|
-
countryCode: isly.string(
|
|
15
|
+
countryCode: isly.string(),
|
|
16
16
|
state: isly.string().optional(),
|
|
17
17
|
county: isly.string().optional(),
|
|
18
18
|
city: isly.string(),
|
|
@@ -6,7 +6,7 @@ import { SE } from "./SE"
|
|
|
6
6
|
export type Address = GB | SE | Default
|
|
7
7
|
|
|
8
8
|
export namespace Address {
|
|
9
|
-
export const type = isly.union
|
|
9
|
+
export const type = isly.union(GB.type, SE.type, Default.type)
|
|
10
10
|
export const is = type.is
|
|
11
11
|
export const flaw = type.flaw
|
|
12
12
|
}
|
package/dist/Merchant/index.d.ts
CHANGED
|
@@ -4,8 +4,11 @@ export interface Merchant {
|
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
6
|
category: string;
|
|
7
|
-
country: isoly.CountryCode.Alpha2;
|
|
8
7
|
address: string;
|
|
8
|
+
city: string;
|
|
9
|
+
zip: string;
|
|
10
|
+
state?: string;
|
|
11
|
+
country: isoly.CountryCode.Alpha2;
|
|
9
12
|
}
|
|
10
13
|
export declare namespace Merchant {
|
|
11
14
|
const type: isly.object.ExtendableType<Merchant>;
|
package/dist/Merchant/index.js
CHANGED
|
@@ -5,8 +5,11 @@ export var Merchant;
|
|
|
5
5
|
name: isly.string(),
|
|
6
6
|
id: isly.string(),
|
|
7
7
|
category: isly.string(),
|
|
8
|
-
country: isly.string(),
|
|
9
8
|
address: isly.string(),
|
|
9
|
+
city: isly.string(),
|
|
10
|
+
zip: isly.string(),
|
|
11
|
+
state: isly.string().optional(),
|
|
12
|
+
country: isly.string(),
|
|
10
13
|
});
|
|
11
14
|
Merchant.is = Merchant.type.is;
|
|
12
15
|
Merchant.flaw = Merchant.type.flaw;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Merchant/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Merchant/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAY3B,MAAM,KAAW,QAAQ,CAaxB;AAbD,WAAiB,QAAQ;IACX,aAAI,GAAG,IAAI,CAAC,MAAM,CAAW;QACzC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;QACnB,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE;QACvB,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE;QACtB,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;QACnB,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE;QAClB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC/B,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE;KACtB,CAAC,CAAA;IACW,WAAE,GAAG,SAAA,IAAI,CAAC,EAAE,CAAA;IACZ,aAAI,GAAG,SAAA,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC,EAbgB,QAAQ,KAAR,QAAQ,QAaxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"General.js","sourceRoot":"../","sources":["Organization/Contact/Address/General.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAW3B,MAAM,KAAW,OAAO,CAWvB;AAXD,WAAiB,OAAO;IACV,YAAI,GAAG,IAAI,CAAC,MAAM,CAAU;QACxC,WAAW,EAAE,IAAI,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"General.js","sourceRoot":"../","sources":["Organization/Contact/Address/General.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAW3B,MAAM,KAAW,OAAO,CAWvB;AAXD,WAAiB,OAAO;IACV,YAAI,GAAG,IAAI,CAAC,MAAM,CAAU;QACxC,WAAW,EAAE,IAAI,CAAC,MAAM,EAAE;QAC1B,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC/B,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAChC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;QACnB,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE;QACrB,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE;KACtB,CAAC,CAAA;IACW,UAAE,GAAG,QAAA,IAAI,CAAC,EAAE,CAAA;IACZ,YAAI,GAAG,QAAA,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC,EAXgB,OAAO,KAAP,OAAO,QAWvB"}
|
|
@@ -4,7 +4,7 @@ import { Default } from "./General";
|
|
|
4
4
|
import { SE } from "./SE";
|
|
5
5
|
export type Address = GB | SE | Default;
|
|
6
6
|
export declare namespace Address {
|
|
7
|
-
const type: isly.Type<
|
|
8
|
-
const is: isly.Type.IsFunction<
|
|
7
|
+
const type: isly.Type<GB | Default | SE>;
|
|
8
|
+
const is: isly.Type.IsFunction<GB | Default | SE>;
|
|
9
9
|
const flaw: isly.Type.FlawFunction;
|
|
10
10
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { isly } from "isly";
|
|
2
2
|
import { GB } from "./GB";
|
|
3
3
|
import { Default } from "./General";
|
|
4
|
+
import { SE } from "./SE";
|
|
4
5
|
export var Address;
|
|
5
6
|
(function (Address) {
|
|
6
|
-
Address.type = isly.union(GB.type, Default.type);
|
|
7
|
+
Address.type = isly.union(GB.type, SE.type, Default.type);
|
|
7
8
|
Address.is = Address.type.is;
|
|
8
9
|
Address.flaw = Address.type.flaw;
|
|
9
10
|
})(Address || (Address = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Organization/Contact/Address/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Organization/Contact/Address/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA;AAIzB,MAAM,KAAW,OAAO,CAIvB;AAJD,WAAiB,OAAO;IACV,YAAI,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAA;IACjD,UAAE,GAAG,QAAA,IAAI,CAAC,EAAE,CAAA;IACZ,YAAI,GAAG,QAAA,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC,EAJgB,OAAO,KAAP,OAAO,QAIvB"}
|