Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit 7886b5d

Browse files
Release 4.7.0.
1 parent b862753 commit 7886b5d

File tree

6 files changed

+25
-11
lines changed

6 files changed

+25
-11
lines changed

package-lock.json

Lines changed: 5 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "connect-sdk-nodejs",
3-
"version": "4.6.2",
3+
"version": "4.7.0",
44
"description": "SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API",
55
"homepage": "https://github.com/Ingenico-ePayments/connect-sdk-nodejs#readme",
66
"bugs": {

schemas/payout/CreatePayoutRequest.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
"customer" : {
2121
"$ref" : "#/definitions/PayoutCustomer"
2222
},
23+
"merchant" : {
24+
"$ref" : "#/definitions/PayoutMerchant"
25+
},
2326
"payoutDate" : {
2427
"type" : "string"
2528
},
@@ -247,6 +250,15 @@
247250
},
248251
"additionalProperties" : false
249252
},
253+
"PayoutMerchant" : {
254+
"type" : "object",
255+
"properties" : {
256+
"configurationId" : {
257+
"type" : "string"
258+
}
259+
},
260+
"additionalProperties" : false
261+
},
250262
"PayoutRecipient" : {
251263
"type" : "object",
252264
"properties" : {

src/model/domain/payout/definitions/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ export interface PayoutDetails {
4141
references?: PayoutReferences | null;
4242
}
4343

44+
export interface PayoutMerchant {
45+
configurationId?: string | null;
46+
}
47+
4448
export interface PayoutRecipient {
4549
firstName?: string | null;
4650
surname?: string | null;

src/model/domain/payout/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55
import { AmountOfMoney, BankAccountBban, BankAccountIban } from "../definitions";
66
import { APIError } from "../errors/definitions";
7-
import { BankTransferPayoutMethodSpecificInput, CardPayoutMethodSpecificInput, PayoutCustomer, PayoutDetails, PayoutReferences, PayoutResult } from "./definitions";
7+
import { BankTransferPayoutMethodSpecificInput, CardPayoutMethodSpecificInput, PayoutCustomer, PayoutDetails, PayoutMerchant, PayoutReferences, PayoutResult } from "./definitions";
88

99
export interface ApprovePayoutRequest {
1010
datePayout?: string | null;
@@ -29,6 +29,7 @@ export interface CreatePayoutRequest {
2929
* @deprecated Moved to PayoutDetails
3030
*/
3131
customer?: PayoutCustomer | null;
32+
merchant?: PayoutMerchant | null;
3233
/**
3334
* @deprecated Moved to BankTransferPayoutMethodSpecificInput
3435
*/

src/utils/headers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ interface ServerMetaInfo {
1818
export function serverMetaInfo(sdkContext: SdkContext): Header {
1919
const info: ServerMetaInfo = {
2020
sdkCreator: "Ingenico",
21-
sdkIdentifier: "NodejsServerSDK/v4.6.2",
21+
sdkIdentifier: "NodejsServerSDK/v4.7.0",
2222
platformIdentifier: process.env["OS"] + " Node.js/" + process.versions.node
2323
};
2424
if (sdkContext.getIntegrator() !== null) {

0 commit comments

Comments
 (0)