@pax2pay/client 0.3.59 → 0.3.60

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.
@@ -1,9 +1,11 @@
1
+ import { Currency } from "isoly";
1
2
  import { ProviderCode } from "./ProviderCode";
2
3
  export interface CardType {
3
4
  providerCode: ProviderCode;
4
5
  cardType: string;
5
6
  representAs: string;
6
7
  cardName?: string;
8
+ currencies?: Currency[];
7
9
  }
8
10
  export declare namespace CardType {
9
11
  function is(value: CardType | any): value is CardType;
@@ -1 +1 @@
1
- {"version":3,"file":"CardType.js","sourceRoot":"../","sources":["model/CardType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAQ7C,MAAM,KAAW,QAAQ,CAUxB;AAVD,WAAiB,QAAQ;IACxB,SAAgB,EAAE,CAAC,KAAqB;QACvC,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC;YACnC,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ;YACjC,OAAO,KAAK,CAAC,WAAW,IAAI,QAAQ;YACpC,CAAC,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ,IAAI,KAAK,CAAC,QAAQ,IAAI,SAAS,CAAC,CAClE,CAAA;IACF,CAAC;IARe,WAAE,KAQjB,CAAA;AACF,CAAC,EAVgB,QAAQ,KAAR,QAAQ,QAUxB"}
1
+ {"version":3,"file":"CardType.js","sourceRoot":"../","sources":["model/CardType.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAS7C,MAAM,KAAW,QAAQ,CAUxB;AAVD,WAAiB,QAAQ;IACxB,SAAgB,EAAE,CAAC,KAAqB;QACvC,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC;YACnC,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ;YACjC,OAAO,KAAK,CAAC,WAAW,IAAI,QAAQ;YACpC,CAAC,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ,IAAI,KAAK,CAAC,QAAQ,IAAI,SAAS,CAAC,CAClE,CAAA;IACF,CAAC;IARe,WAAE,KAQjB,CAAA;AACF,CAAC,EAVgB,QAAQ,KAAR,QAAQ,QAUxB"}
@@ -1,3 +1,4 @@
1
+ import { Currency } from "isoly";
1
2
  import { ProviderCode } from "./ProviderCode";
2
3
  export interface CardTypeResponseV2 {
3
4
  providerCode: ProviderCode;
@@ -6,7 +7,7 @@ export interface CardTypeResponseV2 {
6
7
  originalDescription?: string;
7
8
  scheme: "VISA" | "MASTERCARD" | "AMERICAN_EXPRESS";
8
9
  funding?: "DEBIT" | "CREDIT" | "PREPAID";
9
- currencies?: string[];
10
+ currencies?: Currency[];
10
11
  flags?: ("CORPORATE" | "BUSINESS" | "CONSUMER")[];
11
12
  bins?: string[];
12
13
  preActive?: boolean;
package/model/CardType.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { Currency } from "isoly"
1
2
  import { ProviderCode } from "./ProviderCode"
2
3
 
3
4
  export interface CardType {
@@ -5,6 +6,7 @@ export interface CardType {
5
6
  cardType: string
6
7
  representAs: string
7
8
  cardName?: string
9
+ currencies?: Currency[]
8
10
  }
9
11
  export namespace CardType {
10
12
  export function is(value: CardType | any): value is CardType {
@@ -1,3 +1,4 @@
1
+ import { Currency } from "isoly"
1
2
  import { ProviderCode } from "./ProviderCode"
2
3
 
3
4
  export interface CardTypeResponseV2 {
@@ -7,7 +8,7 @@ export interface CardTypeResponseV2 {
7
8
  originalDescription?: string
8
9
  scheme: "VISA" | "MASTERCARD" | "AMERICAN_EXPRESS"
9
10
  funding?: "DEBIT" | "CREDIT" | "PREPAID"
10
- currencies?: string[]
11
+ currencies?: Currency[]
11
12
  flags?: ("CORPORATE" | "BUSINESS" | "CONSUMER")[]
12
13
  bins?: string[]
13
14
  preActive?: boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/client",
3
- "version": "0.3.59",
3
+ "version": "0.3.60",
4
4
  "description": "Client library for the Pax2Pay API",
5
5
  "author": "Pax2Pay Ltd.",
6
6
  "license": "MIT",