@pax2pay/client 0.3.112 → 0.3.113
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,11 +1,11 @@
|
|
|
1
1
|
import { Date } from "isoly";
|
|
2
2
|
import { isly } from "isly";
|
|
3
|
-
import {
|
|
3
|
+
import { PaymentCardUsage } from "./PaymentCardUsage";
|
|
4
4
|
import { SummaryCardResponseV3 } from "./SummaryCardResponseV3";
|
|
5
5
|
import { YearMonth } from "./YearMonth";
|
|
6
6
|
export interface CardResponseV3 extends SummaryCardResponseV3 {
|
|
7
7
|
expires: YearMonth;
|
|
8
|
-
usage:
|
|
8
|
+
usage: PaymentCardUsage;
|
|
9
9
|
token?: string;
|
|
10
10
|
cvv?: string;
|
|
11
11
|
cardHolderName: string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Date } from "isoly";
|
|
2
2
|
import { isly } from "isly";
|
|
3
|
-
import {
|
|
3
|
+
import { PaymentCardUsage } from "./PaymentCardUsage";
|
|
4
4
|
import { SummaryCardResponseV3 } from "./SummaryCardResponseV3";
|
|
5
5
|
import { YearMonth } from "./YearMonth";
|
|
6
6
|
export var CardResponseV3;
|
|
7
7
|
(function (CardResponseV3) {
|
|
8
8
|
CardResponseV3.type = SummaryCardResponseV3.type.extend({
|
|
9
9
|
expires: isly.fromIs("YearMonth", YearMonth.is),
|
|
10
|
-
usage: isly.fromIs("
|
|
10
|
+
usage: isly.fromIs("PaymentCardUsage", PaymentCardUsage.is),
|
|
11
11
|
token: isly.string().optional(),
|
|
12
12
|
cvv: isly.string().optional(),
|
|
13
13
|
cardHolderName: isly.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardResponseV3.js","sourceRoot":"../","sources":["model/CardResponseV3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAC5B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CardResponseV3.js","sourceRoot":"../","sources":["model/CardResponseV3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAC5B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAavC,MAAM,KAAW,cAAc,CAY9B;AAZD,WAAiB,cAAc;IACjB,mBAAI,GAAG,qBAAqB,CAAC,IAAI,CAAC,MAAM,CAAiB;QACrE,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,SAAS,CAAC,EAAE,CAAC;QAC/C,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,kBAAkB,EAAE,gBAAgB,CAAC,EAAE,CAAC;QAC3D,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC/B,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC7B,cAAc,EAAE,IAAI,CAAC,MAAM,EAAE;QAC7B,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC/C,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE;QACxB,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE;KACxB,CAAC,CAAA;IACW,iBAAE,GAAG,eAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAZgB,cAAc,KAAd,cAAc,QAY9B"}
|
package/model/CardResponseV3.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Date } from "isoly"
|
|
2
2
|
import { isly } from "isly"
|
|
3
|
-
import {
|
|
3
|
+
import { PaymentCardUsage } from "./PaymentCardUsage"
|
|
4
4
|
import { SummaryCardResponseV3 } from "./SummaryCardResponseV3"
|
|
5
5
|
import { YearMonth } from "./YearMonth"
|
|
6
6
|
|
|
7
7
|
export interface CardResponseV3 extends SummaryCardResponseV3 {
|
|
8
8
|
expires: YearMonth
|
|
9
|
-
usage:
|
|
9
|
+
usage: PaymentCardUsage
|
|
10
10
|
token?: string
|
|
11
11
|
cvv?: string
|
|
12
12
|
cardHolderName: string
|
|
@@ -18,7 +18,7 @@ export interface CardResponseV3 extends SummaryCardResponseV3 {
|
|
|
18
18
|
export namespace CardResponseV3 {
|
|
19
19
|
export const type = SummaryCardResponseV3.type.extend<CardResponseV3>({
|
|
20
20
|
expires: isly.fromIs("YearMonth", YearMonth.is),
|
|
21
|
-
usage: isly.fromIs("
|
|
21
|
+
usage: isly.fromIs("PaymentCardUsage", PaymentCardUsage.is),
|
|
22
22
|
token: isly.string().optional(),
|
|
23
23
|
cvv: isly.string().optional(),
|
|
24
24
|
cardHolderName: isly.string(),
|