connect-sdk-nodejs 4.6.1 → 4.7.0
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.
|
@@ -31,6 +31,9 @@ export interface PayoutDetails {
|
|
|
31
31
|
customer?: PayoutCustomer | null;
|
|
32
32
|
references?: PayoutReferences | null;
|
|
33
33
|
}
|
|
34
|
+
export interface PayoutMerchant {
|
|
35
|
+
configurationId?: string | null;
|
|
36
|
+
}
|
|
34
37
|
export interface PayoutRecipient {
|
|
35
38
|
firstName?: string | null;
|
|
36
39
|
surname?: string | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AmountOfMoney, BankAccountBban, BankAccountIban } from "../definitions";
|
|
2
2
|
import { APIError } from "../errors/definitions";
|
|
3
|
-
import { BankTransferPayoutMethodSpecificInput, CardPayoutMethodSpecificInput, PayoutCustomer, PayoutDetails, PayoutReferences, PayoutResult } from "./definitions";
|
|
3
|
+
import { BankTransferPayoutMethodSpecificInput, CardPayoutMethodSpecificInput, PayoutCustomer, PayoutDetails, PayoutMerchant, PayoutReferences, PayoutResult } from "./definitions";
|
|
4
4
|
export interface ApprovePayoutRequest {
|
|
5
5
|
datePayout?: string | null;
|
|
6
6
|
}
|
|
@@ -23,6 +23,7 @@ export interface CreatePayoutRequest {
|
|
|
23
23
|
* @deprecated Moved to PayoutDetails
|
|
24
24
|
*/
|
|
25
25
|
customer?: PayoutCustomer | null;
|
|
26
|
+
merchant?: PayoutMerchant | null;
|
|
26
27
|
/**
|
|
27
28
|
* @deprecated Moved to BankTransferPayoutMethodSpecificInput
|
|
28
29
|
*/
|
package/lib/utils/headers.js
CHANGED
|
@@ -9,7 +9,7 @@ exports.date = date;
|
|
|
9
9
|
function serverMetaInfo(sdkContext) {
|
|
10
10
|
const info = {
|
|
11
11
|
sdkCreator: "Ingenico",
|
|
12
|
-
sdkIdentifier: "NodejsServerSDK/v4.
|
|
12
|
+
sdkIdentifier: "NodejsServerSDK/v4.7.0",
|
|
13
13
|
platformIdentifier: process.env["OS"] + " Node.js/" + process.versions.node
|
|
14
14
|
};
|
|
15
15
|
if (sdkContext.getIntegrator() !== null) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "connect-sdk-nodejs",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.7.0",
|
|
4
4
|
"description": "SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API",
|
|
5
5
|
"homepage": "https://github.com/Ingenico-ePayments/connect-sdk-nodejs#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -20,6 +20,9 @@
|
|
|
20
20
|
"customer" : {
|
|
21
21
|
"$ref" : "#/definitions/PayoutCustomer"
|
|
22
22
|
},
|
|
23
|
+
"merchant" : {
|
|
24
|
+
"$ref" : "#/definitions/PayoutMerchant"
|
|
25
|
+
},
|
|
23
26
|
"payoutDate" : {
|
|
24
27
|
"type" : "string"
|
|
25
28
|
},
|
|
@@ -247,6 +250,15 @@
|
|
|
247
250
|
},
|
|
248
251
|
"additionalProperties" : false
|
|
249
252
|
},
|
|
253
|
+
"PayoutMerchant" : {
|
|
254
|
+
"type" : "object",
|
|
255
|
+
"properties" : {
|
|
256
|
+
"configurationId" : {
|
|
257
|
+
"type" : "string"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"additionalProperties" : false
|
|
261
|
+
},
|
|
250
262
|
"PayoutRecipient" : {
|
|
251
263
|
"type" : "object",
|
|
252
264
|
"properties" : {
|