@pax2pay/client 0.5.6 → 0.5.8
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/dist/model/BeneficiaryResponse.d.ts +2 -1
- package/dist/model/BeneficiaryResponse.js +12 -12
- package/dist/model/BeneficiaryResponse.js.map +1 -1
- package/dist/model/SummaryCardResponseV3.d.ts +1 -0
- package/dist/model/SummaryCardResponseV3.js +1 -0
- package/dist/model/SummaryCardResponseV3.js.map +1 -1
- package/model/BeneficiaryResponse.ts +12 -13
- package/model/SummaryCardResponseV3.ts +2 -0
- package/package.json +1 -1
|
@@ -11,5 +11,6 @@ export interface BeneficiaryResponse {
|
|
|
11
11
|
history?: BeneficiaryResponse[];
|
|
12
12
|
}
|
|
13
13
|
export declare namespace BeneficiaryResponse {
|
|
14
|
-
|
|
14
|
+
const type: import("isly/dist/cjs/object").IslyObject<BeneficiaryResponse, object>;
|
|
15
|
+
const is: (value: BeneficiaryResponse | any) => value is BeneficiaryResponse;
|
|
15
16
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
1
2
|
import { BeneficiaryStatus } from "./BeneficiaryStatus";
|
|
2
3
|
import { TransferDestinationInfo } from "./TransferDestinationInfo";
|
|
3
4
|
export var BeneficiaryResponse;
|
|
4
5
|
(function (BeneficiaryResponse) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
BeneficiaryResponse.is = is;
|
|
6
|
+
BeneficiaryResponse.type = isly.object({
|
|
7
|
+
transferDestination: isly.fromIs("TransferDestinationInfo", TransferDestinationInfo.is),
|
|
8
|
+
status: isly.fromIs("BeneficiaryStatus", BeneficiaryStatus.is),
|
|
9
|
+
name: isly.string(),
|
|
10
|
+
beneficiaryId: isly.string(),
|
|
11
|
+
createdOn: isly.string(),
|
|
12
|
+
defaultReference: isly.string().optional(),
|
|
13
|
+
fullName: isly.string().optional(),
|
|
14
|
+
history: isly.fromIs("BeneficiaryResponse[]", Array.isArray).optional(),
|
|
15
|
+
});
|
|
16
|
+
BeneficiaryResponse.is = BeneficiaryResponse.type.is;
|
|
17
17
|
})(BeneficiaryResponse || (BeneficiaryResponse = {}));
|
|
18
18
|
//# sourceMappingURL=BeneficiaryResponse.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BeneficiaryResponse.js","sourceRoot":"../","sources":["model/BeneficiaryResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AAanE,MAAM,KAAW,mBAAmB,
|
|
1
|
+
{"version":3,"file":"BeneficiaryResponse.js","sourceRoot":"../","sources":["model/BeneficiaryResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AAanE,MAAM,KAAW,mBAAmB,CAYnC;AAZD,WAAiB,mBAAmB;IACtB,wBAAI,GAAG,IAAI,CAAC,MAAM,CAAsB;QACpD,mBAAmB,EAAE,IAAI,CAAC,MAAM,CAAC,yBAAyB,EAAE,uBAAuB,CAAC,EAAE,CAAC;QACvF,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,EAAE,CAAC;QAC9D,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;QACnB,aAAa,EAAE,IAAI,CAAC,MAAM,EAAE;QAC5B,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE;QACxB,gBAAgB,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC1C,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAClC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,uBAAuB,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE;KACvE,CAAC,CAAA;IACW,sBAAE,GAAG,oBAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAZgB,mBAAmB,KAAnB,mBAAmB,QAYnC"}
|
|
@@ -5,6 +5,7 @@ export interface SummaryCardResponseV3 {
|
|
|
5
5
|
providerCardId: string;
|
|
6
6
|
cardType: string;
|
|
7
7
|
pan: string;
|
|
8
|
+
hasDeclines?: boolean;
|
|
8
9
|
}
|
|
9
10
|
export declare namespace SummaryCardResponseV3 {
|
|
10
11
|
const type: import("isly/dist/cjs/object").IslyObject<SummaryCardResponseV3, object>;
|
|
@@ -8,6 +8,7 @@ export var SummaryCardResponseV3;
|
|
|
8
8
|
providerCardId: isly.string(),
|
|
9
9
|
cardType: isly.string(),
|
|
10
10
|
pan: isly.string(),
|
|
11
|
+
hasDeclines: isly.boolean().optional(),
|
|
11
12
|
});
|
|
12
13
|
SummaryCardResponseV3.is = SummaryCardResponseV3.type.is;
|
|
13
14
|
})(SummaryCardResponseV3 || (SummaryCardResponseV3 = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SummaryCardResponseV3.js","sourceRoot":"../","sources":["model/SummaryCardResponseV3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"SummaryCardResponseV3.js","sourceRoot":"../","sources":["model/SummaryCardResponseV3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAW7C,MAAM,KAAW,qBAAqB,CAUrC;AAVD,WAAiB,qBAAqB;IACxB,0BAAI,GAAG,IAAI,CAAC,MAAM,CAAwB;QACtD,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;QACjB,YAAY,EAAE,YAAY,CAAC,IAAI;QAC/B,cAAc,EAAE,IAAI,CAAC,MAAM,EAAE;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE;QACvB,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE;QAClB,WAAW,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;KACtC,CAAC,CAAA;IACW,wBAAE,GAAG,sBAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAVgB,qBAAqB,KAArB,qBAAqB,QAUrC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
1
2
|
import { BeneficiaryStatus } from "./BeneficiaryStatus"
|
|
2
3
|
import { TransferDestinationInfo } from "./TransferDestinationInfo"
|
|
3
4
|
|
|
@@ -13,17 +14,15 @@ export interface BeneficiaryResponse {
|
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
export namespace BeneficiaryResponse {
|
|
16
|
-
export
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
)
|
|
28
|
-
}
|
|
17
|
+
export const type = isly.object<BeneficiaryResponse>({
|
|
18
|
+
transferDestination: isly.fromIs("TransferDestinationInfo", TransferDestinationInfo.is),
|
|
19
|
+
status: isly.fromIs("BeneficiaryStatus", BeneficiaryStatus.is),
|
|
20
|
+
name: isly.string(),
|
|
21
|
+
beneficiaryId: isly.string(),
|
|
22
|
+
createdOn: isly.string(),
|
|
23
|
+
defaultReference: isly.string().optional(),
|
|
24
|
+
fullName: isly.string().optional(),
|
|
25
|
+
history: isly.fromIs("BeneficiaryResponse[]", Array.isArray).optional(), // Not checking same type because of risk of being slow
|
|
26
|
+
})
|
|
27
|
+
export const is = type.is
|
|
29
28
|
}
|
|
@@ -7,6 +7,7 @@ export interface SummaryCardResponseV3 {
|
|
|
7
7
|
providerCardId: string
|
|
8
8
|
cardType: string
|
|
9
9
|
pan: string
|
|
10
|
+
hasDeclines?: boolean
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
export namespace SummaryCardResponseV3 {
|
|
@@ -16,6 +17,7 @@ export namespace SummaryCardResponseV3 {
|
|
|
16
17
|
providerCardId: isly.string(),
|
|
17
18
|
cardType: isly.string(),
|
|
18
19
|
pan: isly.string(),
|
|
20
|
+
hasDeclines: isly.boolean().optional(),
|
|
19
21
|
})
|
|
20
22
|
export const is = type.is
|
|
21
23
|
}
|