connect-sdk-nodejs 4.2.0 → 4.2.1

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.
@@ -1,4 +1,4 @@
1
- import { AmountOfMoney, BankAccountBban, BankAccountIban } from "../definitions";
1
+ import { BankAccountBban, BankAccountIban } from "../definitions";
2
2
  import { BankData, BankDetails, IINDetail, PaymentContext, Swift } from "./definitions";
3
3
  export interface BankDetailsRequest extends BankDetails {
4
4
  }
@@ -24,12 +24,6 @@ export interface GetIINDetailsResponse {
24
24
  export interface GetPrivacyPolicyResponse {
25
25
  htmlContent?: string | null;
26
26
  }
27
- export interface SettlementDetails {
28
- acquirerReferenceNumber?: string | null;
29
- amountOfMoney?: AmountOfMoney | null;
30
- paymentId?: string | null;
31
- retrievalReferenceNumber?: string | null;
32
- }
33
27
  export interface TestConnection {
34
28
  result?: string | null;
35
29
  }
@@ -36,13 +36,6 @@ export interface ServicesClient {
36
36
  * If the call was not successful, the response body type will be {@link ErrorResponse}.
37
37
  */
38
38
  testconnection(merchantId: string, paymentContext: PaymentContext | null, cb: SdkCallback): void;
39
- /**
40
- * 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>
41
- * @param cb The callback for the response.
42
- * If the call was successfull, the response body type will be {@link SettlementDetails}.
43
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
44
- */
45
- settlementdetails(merchantId: string, paymentId: string, paymentContext: PaymentContext | null, cb: SdkCallback): void;
46
39
  }
47
40
  export interface ConvertAmountParams extends PaymentContext {
48
41
  source?: string;
@@ -8,14 +8,12 @@ const bankaccount = require("./bankaccount");
8
8
  const getIINdetails = require("./getIINdetails");
9
9
  const privacypolicy = require("./privacypolicy");
10
10
  const testconnection = require("./testconnection");
11
- const settlementdetails = require("./settlementdetails");
12
11
  const servicesClient = {
13
12
  convertAmount: convertAmount,
14
13
  bankaccount: bankaccount,
15
14
  getIINdetails: getIINdetails,
16
15
  privacypolicy: privacypolicy,
17
- testconnection: testconnection,
18
- settlementdetails: settlementdetails
16
+ testconnection: testconnection
19
17
  };
20
18
  module.exports = servicesClient;
21
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;AACH,iDAAkD;AAClD,6CAA8C;AAC9C,iDAAkD;AAClD,iDAAkD;AAClD,mDAAoD;AACpD,yDAA0D;AAG1D,MAAM,cAAc,GAAmB;IACrC,aAAa,EAAE,aAAa;IAC5B,WAAW,EAAE,WAAW;IACxB,aAAa,EAAE,aAAa;IAC5B,aAAa,EAAE,aAAa;IAC5B,cAAc,EAAE,cAAc;IAC9B,iBAAiB,EAAE,iBAAiB;CACrC,CAAC;AACF,iBAAS,cAAc,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;AACH,iDAAkD;AAClD,6CAA8C;AAC9C,iDAAkD;AAClD,iDAAkD;AAClD,mDAAoD;AAGpD,MAAM,cAAc,GAAmB;IACrC,aAAa,EAAE,aAAa;IAC5B,WAAW,EAAE,WAAW;IACxB,aAAa,EAAE,aAAa;IAC5B,aAAa,EAAE,aAAa;IAC5B,cAAc,EAAE,cAAc;CAC/B,CAAC;AACF,iBAAS,cAAc,CAAC"}
@@ -9,7 +9,7 @@ exports.date = date;
9
9
  function serverMetaInfo(sdkContext) {
10
10
  const info = {
11
11
  sdkCreator: "Ingenico",
12
- sdkIdentifier: "NodejsServerSDK/v4.2.0",
12
+ sdkIdentifier: "NodejsServerSDK/v4.2.1",
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.2.0",
3
+ "version": "4.2.1",
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": {
@@ -1,3 +0,0 @@
1
- import { PaymentContext, SdkCallback } from "../model";
2
- declare const getSettlementDetails: (merchantId: string, paymentId: string, paymentContext: PaymentContext | null, cb: SdkCallback) => void;
3
- export = getSettlementDetails;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- /*
3
- * This file was auto-generated from the API references found at
4
- * https://epayments-api.developer-ingenico.com/s2sapi/v1/
5
- */
6
- const communicator = require("../utils/communicator");
7
- const getSettlementDetails = function (merchantId, paymentId, paymentContext, cb) {
8
- communicator.json({
9
- method: "GET",
10
- modulePath: "/v1/" + merchantId + "/services/settlementdetails/" + paymentId,
11
- body: null,
12
- paymentContext: paymentContext,
13
- cb: cb
14
- });
15
- };
16
- module.exports = getSettlementDetails;
17
- //# sourceMappingURL=settlementdetails.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"settlementdetails.js","sourceRoot":"","sources":["../../src/services/settlementdetails.ts"],"names":[],"mappings":";AAAA;;;GAGG;AACH,sDAAuD;AAGvD,MAAM,oBAAoB,GAAG,UAAS,UAAkB,EAAE,SAAiB,EAAE,cAAqC,EAAE,EAAe;IACjI,YAAY,CAAC,IAAI,CAAC;QAChB,MAAM,EAAE,KAAK;QACb,UAAU,EAAE,MAAM,GAAG,UAAU,GAAG,8BAA8B,GAAG,SAAS;QAC5E,IAAI,EAAE,IAAI;QACV,cAAc,EAAE,cAAc;QAC9B,EAAE,EAAE,EAAE;KACP,CAAC,CAAC;AACL,CAAC,CAAC;AACF,iBAAS,oBAAoB,CAAC"}