@pax2pay/model-banking 0.1.109 → 0.1.110

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 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
@@ -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>;
@@ -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;AAS3B,MAAM,KAAW,QAAQ,CAUxB;AAVD,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,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,EAVgB,QAAQ,KAAR,QAAQ,QAUxB"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.1.109",
3
+ "version": "0.1.110",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",