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

Commit 1077dd1

Browse files
Release 4.2.1.
1 parent 9f16e2e commit 1077dd1

File tree

7 files changed

+8
-41
lines changed

7 files changed

+8
-41
lines changed

package-lock.json

Lines changed: 4 additions & 4 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.2.0",
3+
"version": "4.2.1",
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": {

src/model/domain/services/index.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* This file was auto-generated from the API references found at
33
* https://epayments-api.developer-ingenico.com/s2sapi/v1/
44
*/
5-
import { AmountOfMoney, BankAccountBban, BankAccountIban } from "../definitions";
5+
import { BankAccountBban, BankAccountIban } from "../definitions";
66
import { BankData, BankDetails, IINDetail, PaymentContext, Swift } from "./definitions";
77

88
// eslint-disable-next-line @typescript-eslint/no-empty-interface
@@ -35,13 +35,6 @@ export interface GetPrivacyPolicyResponse {
3535
htmlContent?: string | null;
3636
}
3737

38-
export interface SettlementDetails {
39-
acquirerReferenceNumber?: string | null;
40-
amountOfMoney?: AmountOfMoney | null;
41-
paymentId?: string | null;
42-
retrievalReferenceNumber?: string | null;
43-
}
44-
4538
export interface TestConnection {
4639
result?: string | null;
4740
}

src/model/services/index.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,6 @@ export interface ServicesClient {
4141
* If the call was not successful, the response body type will be {@link ErrorResponse}.
4242
*/
4343
testconnection(merchantId: string, paymentContext: PaymentContext | null, cb: SdkCallback): void;
44-
/**
45-
* Resource /{merchantId}/services/settlementdetails/{paymentId} - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/services/settlementdetails.html">Get Settlement details</a>
46-
* @param cb The callback for the response.
47-
* If the call was successfull, the response body type will be {@link SettlementDetails}.
48-
* If the call was not successful, the response body type will be {@link ErrorResponse}.
49-
*/
50-
settlementdetails(merchantId: string, paymentId: string, paymentContext: PaymentContext | null, cb: SdkCallback): void;
5144
}
5245

5346
export interface ConvertAmountParams extends PaymentContext {

src/services/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@ import bankaccount = require("./bankaccount");
77
import getIINdetails = require("./getIINdetails");
88
import privacypolicy = require("./privacypolicy");
99
import testconnection = require("./testconnection");
10-
import settlementdetails = require("./settlementdetails");
1110
import { ServicesClient } from "../model/services";
1211

1312
const servicesClient: ServicesClient = {
1413
convertAmount: convertAmount,
1514
bankaccount: bankaccount,
1615
getIINdetails: getIINdetails,
1716
privacypolicy: privacypolicy,
18-
testconnection: testconnection,
19-
settlementdetails: settlementdetails
17+
testconnection: testconnection
2018
};
2119
export = servicesClient;

src/services/settlementdetails.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

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.2.0",
21+
sdkIdentifier: "NodejsServerSDK/v4.2.1",
2222
platformIdentifier: process.env["OS"] + " Node.js/" + process.versions.node
2323
};
2424
if (sdkContext.getIntegrator() !== null) {

0 commit comments

Comments
 (0)