@pax2pay/client 0.11.7 → 0.11.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/ExternalSource.d.ts +5 -0
- package/dist/model/ExternalSource.js +7 -1
- package/dist/model/ExternalSource.js.map +1 -1
- package/dist/model/StatementRowIds.d.ts +2 -0
- package/dist/model/StatementRowIds.js +3 -1
- package/dist/model/StatementRowIds.js.map +1 -1
- package/model/ExternalSource.ts +14 -1
- package/model/StatementRowIds.ts +5 -1
- package/package.json +1 -1
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export interface ExternalSource {
|
|
2
2
|
payer?: string;
|
|
3
|
+
iban?: string;
|
|
4
|
+
bic?: string;
|
|
5
|
+
accountNumber?: string;
|
|
6
|
+
sortCode?: string;
|
|
7
|
+
abaRoutingNumber?: string;
|
|
3
8
|
}
|
|
4
9
|
export declare namespace ExternalSource {
|
|
5
10
|
function is(value: ExternalSource | any): value is ExternalSource;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
export var ExternalSource;
|
|
2
2
|
(function (ExternalSource) {
|
|
3
3
|
function is(value) {
|
|
4
|
-
return
|
|
4
|
+
return (value != null && typeof value == "object" &&
|
|
5
|
+
(value.payer == undefined || typeof value.payer == "string") &&
|
|
6
|
+
(value.iban == undefined || typeof value.iban == "string") &&
|
|
7
|
+
(value.bic == undefined || typeof value.bic == "string") &&
|
|
8
|
+
(value.accountNumber == undefined || typeof value.accountNumber == "string") &&
|
|
9
|
+
(value.sortCode == undefined || typeof value.sortCode == "string") &&
|
|
10
|
+
(value.abaRoutingNumber == undefined || typeof value.abaRoutingNumber == "string"));
|
|
5
11
|
}
|
|
6
12
|
ExternalSource.is = is;
|
|
7
13
|
})(ExternalSource || (ExternalSource = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExternalSource.js","sourceRoot":"../","sources":["model/ExternalSource.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ExternalSource.js","sourceRoot":"../","sources":["model/ExternalSource.ts"],"names":[],"mappings":"AAQA,MAAM,KAAW,cAAc,CAY9B;AAZD,WAAiB,cAAc;IAC9B,SAAgB,EAAE,CAAC,KAA2B;QAC7C,OAAO,CACN,KAAK,IAAI,IAAI,IAAI,OAAO,KAAK,IAAI,QAAQ;YACzC,CAAC,KAAK,CAAC,KAAK,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,KAAK,IAAI,QAAQ,CAAC;YAC5D,CAAC,KAAK,CAAC,IAAI,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,IAAI,IAAI,QAAQ,CAAC;YAC1D,CAAC,KAAK,CAAC,GAAG,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,GAAG,IAAI,QAAQ,CAAC;YACxD,CAAC,KAAK,CAAC,aAAa,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,aAAa,IAAI,QAAQ,CAAC;YAC5E,CAAC,KAAK,CAAC,QAAQ,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ,CAAC;YAClE,CAAC,KAAK,CAAC,gBAAgB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,gBAAgB,IAAI,QAAQ,CAAC,CAClF,CAAA;IACF,CAAC;IAVe,iBAAE,KAUjB,CAAA;AACF,CAAC,EAZgB,cAAc,KAAd,cAAc,QAY9B"}
|
|
@@ -7,6 +7,8 @@ export interface StatementRowIds {
|
|
|
7
7
|
orderId?: string;
|
|
8
8
|
providerTransferId?: string;
|
|
9
9
|
merchantDetails?: MerchantDetails;
|
|
10
|
+
providerTransactionId?: string;
|
|
11
|
+
schemeTransactionReference?: string;
|
|
10
12
|
}
|
|
11
13
|
export declare namespace StatementRowIds {
|
|
12
14
|
function is(value: StatementRowIds | any): value is StatementRowIds;
|
|
@@ -9,7 +9,9 @@ export var StatementRowIds;
|
|
|
9
9
|
(value.providerCardId == undefined || typeof value.providerCardId == "string") &&
|
|
10
10
|
(value.orderId == undefined || typeof value.orderId == "string") &&
|
|
11
11
|
(value.providerTransferId == undefined || typeof value.providerTransferId == "string") &&
|
|
12
|
-
(value.merchantDetails == undefined || MerchantDetails.is(value.merchantDetails))
|
|
12
|
+
(value.merchantDetails == undefined || MerchantDetails.is(value.merchantDetails)) &&
|
|
13
|
+
(value.providerTransactionId == undefined || typeof value.providerTransactionId == "string") &&
|
|
14
|
+
(value.schemeTransactionReference == undefined || typeof value.schemeTransactionReference == "string"));
|
|
13
15
|
}
|
|
14
16
|
StatementRowIds.is = is;
|
|
15
17
|
})(StatementRowIds || (StatementRowIds = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatementRowIds.js","sourceRoot":"../","sources":["model/StatementRowIds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"StatementRowIds.js","sourceRoot":"../","sources":["model/StatementRowIds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAa7C,MAAM,KAAW,eAAe,CAc/B;AAdD,WAAiB,eAAe;IAC/B,SAAgB,EAAE,CAAC,KAA4B;QAC9C,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,OAAO,KAAK,CAAC,KAAK,IAAI,QAAQ;YAC9B,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC;YACnC,CAAC,KAAK,CAAC,cAAc,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,cAAc,IAAI,QAAQ,CAAC;YAC9E,CAAC,KAAK,CAAC,OAAO,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ,CAAC;YAChE,CAAC,KAAK,CAAC,kBAAkB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,kBAAkB,IAAI,QAAQ,CAAC;YACtF,CAAC,KAAK,CAAC,eAAe,IAAI,SAAS,IAAI,eAAe,CAAC,EAAE,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;YACjF,CAAC,KAAK,CAAC,qBAAqB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,qBAAqB,IAAI,QAAQ,CAAC;YAC5F,CAAC,KAAK,CAAC,0BAA0B,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,0BAA0B,IAAI,QAAQ,CAAC,CACtG,CAAA;IACF,CAAC;IAZe,kBAAE,KAYjB,CAAA;AACF,CAAC,EAdgB,eAAe,KAAf,eAAe,QAc/B"}
|
package/model/ExternalSource.ts
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
export interface ExternalSource {
|
|
2
2
|
payer?: string
|
|
3
|
+
iban?: string
|
|
4
|
+
bic?: string
|
|
5
|
+
accountNumber?: string
|
|
6
|
+
sortCode?: string
|
|
7
|
+
abaRoutingNumber?: string
|
|
3
8
|
}
|
|
4
9
|
export namespace ExternalSource {
|
|
5
10
|
export function is(value: ExternalSource | any): value is ExternalSource {
|
|
6
|
-
return
|
|
11
|
+
return (
|
|
12
|
+
value != null && typeof value == "object" &&
|
|
13
|
+
(value.payer == undefined || typeof value.payer == "string") &&
|
|
14
|
+
(value.iban == undefined || typeof value.iban == "string") &&
|
|
15
|
+
(value.bic == undefined || typeof value.bic == "string") &&
|
|
16
|
+
(value.accountNumber == undefined || typeof value.accountNumber == "string") &&
|
|
17
|
+
(value.sortCode == undefined || typeof value.sortCode == "string") &&
|
|
18
|
+
(value.abaRoutingNumber == undefined || typeof value.abaRoutingNumber == "string")
|
|
19
|
+
)
|
|
7
20
|
}
|
|
8
21
|
}
|
package/model/StatementRowIds.ts
CHANGED
|
@@ -8,6 +8,8 @@ export interface StatementRowIds {
|
|
|
8
8
|
orderId?: string
|
|
9
9
|
providerTransferId?: string
|
|
10
10
|
merchantDetails?: MerchantDetails
|
|
11
|
+
providerTransactionId?: string
|
|
12
|
+
schemeTransactionReference?: string
|
|
11
13
|
}
|
|
12
14
|
|
|
13
15
|
export namespace StatementRowIds {
|
|
@@ -19,7 +21,9 @@ export namespace StatementRowIds {
|
|
|
19
21
|
(value.providerCardId == undefined || typeof value.providerCardId == "string") &&
|
|
20
22
|
(value.orderId == undefined || typeof value.orderId == "string") &&
|
|
21
23
|
(value.providerTransferId == undefined || typeof value.providerTransferId == "string") &&
|
|
22
|
-
(value.merchantDetails == undefined || MerchantDetails.is(value.merchantDetails))
|
|
24
|
+
(value.merchantDetails == undefined || MerchantDetails.is(value.merchantDetails)) &&
|
|
25
|
+
(value.providerTransactionId == undefined || typeof value.providerTransactionId == "string") &&
|
|
26
|
+
(value.schemeTransactionReference == undefined || typeof value.schemeTransactionReference == "string")
|
|
23
27
|
)
|
|
24
28
|
}
|
|
25
29
|
}
|