@pax2pay/client 0.6.16 → 0.6.17
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/ConfirmationOfPayeeRequest.d.ts +4 -3
- package/dist/model/ConfirmationOfPayeeRequest.js +4 -3
- package/dist/model/ConfirmationOfPayeeRequest.js.map +1 -1
- package/dist/model/ConfirmationOfPayeeResponse.d.ts +1 -0
- package/dist/model/ConfirmationOfPayeeResponse.js +1 -0
- package/dist/model/ConfirmationOfPayeeResponse.js.map +1 -1
- package/dist/model/TransferRequest.d.ts +7 -3
- package/model/ConfirmationOfPayeeRequest.ts +8 -6
- package/model/ConfirmationOfPayeeResponse.ts +2 -0
- package/model/TransferRequest.ts +7 -3
- package/package.json +1 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ConfirmationOfPayeeAccountType } from "./ConfirmationOfPayeeAccountType";
|
|
2
2
|
export interface ConfirmationOfPayeeRequest {
|
|
3
|
-
accountNumber
|
|
4
|
-
sortCode
|
|
3
|
+
accountNumber?: string;
|
|
4
|
+
sortCode?: string;
|
|
5
|
+
iban?: string;
|
|
5
6
|
payeeName: string;
|
|
6
|
-
accountType
|
|
7
|
+
accountType?: ConfirmationOfPayeeAccountType;
|
|
7
8
|
secondaryAccountId?: string;
|
|
8
9
|
sourceAccountId?: string;
|
|
9
10
|
}
|
|
@@ -3,11 +3,12 @@ import { ConfirmationOfPayeeAccountType } from "./ConfirmationOfPayeeAccountType
|
|
|
3
3
|
export var ConfirmationOfPayeeRequest;
|
|
4
4
|
(function (ConfirmationOfPayeeRequest) {
|
|
5
5
|
ConfirmationOfPayeeRequest.type = isly.object({
|
|
6
|
-
accountNumber: isly.string(),
|
|
7
|
-
sortCode: isly.string(),
|
|
6
|
+
accountNumber: isly.string().optional(),
|
|
7
|
+
sortCode: isly.string().optional(),
|
|
8
|
+
iban: isly.string().optional(),
|
|
8
9
|
payeeName: isly.string(),
|
|
9
10
|
secondaryAccountId: isly.string().optional(),
|
|
10
|
-
accountType: ConfirmationOfPayeeAccountType.type,
|
|
11
|
+
accountType: ConfirmationOfPayeeAccountType.type.optional(),
|
|
11
12
|
sourceAccountId: isly.string().optional(),
|
|
12
13
|
});
|
|
13
14
|
ConfirmationOfPayeeRequest.is = ConfirmationOfPayeeRequest.type.is;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmationOfPayeeRequest.js","sourceRoot":"../","sources":["model/ConfirmationOfPayeeRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAA;
|
|
1
|
+
{"version":3,"file":"ConfirmationOfPayeeRequest.js","sourceRoot":"../","sources":["model/ConfirmationOfPayeeRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAA;AAWjF,MAAM,KAAW,0BAA0B,CAW1C;AAXD,WAAiB,0BAA0B;IAC7B,+BAAI,GAAG,IAAI,CAAC,MAAM,CAA6B;QAC3D,aAAa,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACvC,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAClC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC9B,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE;QACxB,kBAAkB,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5C,WAAW,EAAE,8BAA8B,CAAC,IAAI,CAAC,QAAQ,EAAE;QAC3D,eAAe,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACzC,CAAC,CAAA;IACW,6BAAE,GAAG,2BAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAXgB,0BAA0B,KAA1B,0BAA0B,QAW1C"}
|
|
@@ -9,6 +9,7 @@ export interface ConfirmationOfPayeeResponse {
|
|
|
9
9
|
accountType?: ConfirmationOfPayeeAccountType;
|
|
10
10
|
secondaryAccountId?: string;
|
|
11
11
|
acceptId?: string;
|
|
12
|
+
verificationOfPayeeId?: string;
|
|
12
13
|
}
|
|
13
14
|
export declare namespace ConfirmationOfPayeeResponse {
|
|
14
15
|
const type: import("isly/dist/cjs/object").IslyObject<ConfirmationOfPayeeResponse, object>;
|
|
@@ -12,6 +12,7 @@ export var ConfirmationOfPayeeResponse;
|
|
|
12
12
|
accountType: ConfirmationOfPayeeAccountType.type.optional(),
|
|
13
13
|
secondaryAccountId: isly.string().optional(),
|
|
14
14
|
acceptId: isly.string().optional(),
|
|
15
|
+
verificationOfPayeeId: isly.string().optional(),
|
|
15
16
|
});
|
|
16
17
|
ConfirmationOfPayeeResponse.is = ConfirmationOfPayeeResponse.type.is;
|
|
17
18
|
})(ConfirmationOfPayeeResponse || (ConfirmationOfPayeeResponse = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmationOfPayeeResponse.js","sourceRoot":"../","sources":["model/ConfirmationOfPayeeResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAA;AACjF,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAA;
|
|
1
|
+
{"version":3,"file":"ConfirmationOfPayeeResponse.js","sourceRoot":"../","sources":["model/ConfirmationOfPayeeResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAA;AACjF,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAA;AAavF,MAAM,KAAW,2BAA2B,CAa3C;AAbD,WAAiB,2BAA2B;IAC9B,gCAAI,GAAG,IAAI,CAAC,MAAM,CAA8B;QAC5D,MAAM,EAAE,iCAAiC,CAAC,IAAI;QAC9C,cAAc,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACxC,WAAW,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACrC,QAAQ,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QACnC,cAAc,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACxC,WAAW,EAAE,8BAA8B,CAAC,IAAI,CAAC,QAAQ,EAAE;QAC3D,kBAAkB,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5C,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAClC,qBAAqB,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAC/C,CAAC,CAAA;IACW,8BAAE,GAAG,4BAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAbgB,2BAA2B,KAA3B,2BAA2B,QAa3C"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MetadataRequest } from "./MetadataRequest";
|
|
2
|
+
import { PaymentDeliveryRequest } from "./PaymentDeliveryRequest";
|
|
2
3
|
import { ProviderCode } from "./ProviderCode";
|
|
3
4
|
import { TransferDestinationRequest } from "./TransferDestinationRequest";
|
|
4
5
|
export interface TransferRequest {
|
|
@@ -6,11 +7,14 @@ export interface TransferRequest {
|
|
|
6
7
|
providerSourceAccountId: string;
|
|
7
8
|
beneficiaryId?: string;
|
|
8
9
|
destination?: TransferDestinationRequest;
|
|
9
|
-
destinationProviderAccountId?: string;
|
|
10
10
|
destinationProviderCode?: ProviderCode;
|
|
11
|
+
destinationProviderAccountId?: string;
|
|
11
12
|
amount: number;
|
|
12
13
|
currency?: string;
|
|
13
14
|
reference?: string;
|
|
14
15
|
paymentDate?: string;
|
|
15
|
-
|
|
16
|
+
metadata?: MetadataRequest;
|
|
17
|
+
delivery?: PaymentDeliveryRequest;
|
|
18
|
+
batchId?: string;
|
|
19
|
+
verificationOfPayeeId?: string;
|
|
16
20
|
}
|
|
@@ -2,20 +2,22 @@ import { isly } from "isly"
|
|
|
2
2
|
import { ConfirmationOfPayeeAccountType } from "./ConfirmationOfPayeeAccountType"
|
|
3
3
|
|
|
4
4
|
export interface ConfirmationOfPayeeRequest {
|
|
5
|
-
accountNumber
|
|
6
|
-
sortCode
|
|
5
|
+
accountNumber?: string
|
|
6
|
+
sortCode?: string
|
|
7
|
+
iban?: string
|
|
7
8
|
payeeName: string
|
|
8
|
-
accountType
|
|
9
|
+
accountType?: ConfirmationOfPayeeAccountType
|
|
9
10
|
secondaryAccountId?: string
|
|
10
11
|
sourceAccountId?: string
|
|
11
12
|
}
|
|
12
13
|
export namespace ConfirmationOfPayeeRequest {
|
|
13
14
|
export const type = isly.object<ConfirmationOfPayeeRequest>({
|
|
14
|
-
accountNumber: isly.string(),
|
|
15
|
-
sortCode: isly.string(),
|
|
15
|
+
accountNumber: isly.string().optional(),
|
|
16
|
+
sortCode: isly.string().optional(),
|
|
17
|
+
iban: isly.string().optional(),
|
|
16
18
|
payeeName: isly.string(),
|
|
17
19
|
secondaryAccountId: isly.string().optional(),
|
|
18
|
-
accountType: ConfirmationOfPayeeAccountType.type,
|
|
20
|
+
accountType: ConfirmationOfPayeeAccountType.type.optional(),
|
|
19
21
|
sourceAccountId: isly.string().optional(),
|
|
20
22
|
})
|
|
21
23
|
export const is = type.is
|
|
@@ -11,6 +11,7 @@ export interface ConfirmationOfPayeeResponse {
|
|
|
11
11
|
accountType?: ConfirmationOfPayeeAccountType
|
|
12
12
|
secondaryAccountId?: string
|
|
13
13
|
acceptId?: string
|
|
14
|
+
verificationOfPayeeId?: string
|
|
14
15
|
}
|
|
15
16
|
export namespace ConfirmationOfPayeeResponse {
|
|
16
17
|
export const type = isly.object<ConfirmationOfPayeeResponse>({
|
|
@@ -22,6 +23,7 @@ export namespace ConfirmationOfPayeeResponse {
|
|
|
22
23
|
accountType: ConfirmationOfPayeeAccountType.type.optional(),
|
|
23
24
|
secondaryAccountId: isly.string().optional(),
|
|
24
25
|
acceptId: isly.string().optional(),
|
|
26
|
+
verificationOfPayeeId: isly.string().optional(),
|
|
25
27
|
})
|
|
26
28
|
export const is = type.is
|
|
27
29
|
}
|
package/model/TransferRequest.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MetadataRequest } from "./MetadataRequest"
|
|
2
|
+
import { PaymentDeliveryRequest } from "./PaymentDeliveryRequest"
|
|
2
3
|
import { ProviderCode } from "./ProviderCode"
|
|
3
4
|
import { TransferDestinationRequest } from "./TransferDestinationRequest"
|
|
4
5
|
|
|
@@ -7,11 +8,14 @@ export interface TransferRequest {
|
|
|
7
8
|
providerSourceAccountId: string
|
|
8
9
|
beneficiaryId?: string
|
|
9
10
|
destination?: TransferDestinationRequest
|
|
10
|
-
destinationProviderAccountId?: string
|
|
11
11
|
destinationProviderCode?: ProviderCode
|
|
12
|
+
destinationProviderAccountId?: string
|
|
12
13
|
amount: number
|
|
13
14
|
currency?: string
|
|
14
15
|
reference?: string
|
|
15
16
|
paymentDate?: string
|
|
16
|
-
|
|
17
|
+
metadata?: MetadataRequest
|
|
18
|
+
delivery?: PaymentDeliveryRequest
|
|
19
|
+
batchId?: string
|
|
20
|
+
verificationOfPayeeId?: string
|
|
17
21
|
}
|