connect-sdk-nodejs 3.16.0 → 3.20.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.
- package/hostedcheckouts/index.js +2 -0
- package/hostedcheckouts/remove.js +18 -0
- package/package.json +1 -1
- package/schemas/hostedcheckout/CreateHostedCheckoutRequest.json +6 -0
- package/schemas/payment/CompletePaymentRequest.json +3 -0
- package/schemas/payment/CreatePaymentRequest.json +12 -6
- package/schemas/payout/CreatePayoutRequest.json +3 -0
- package/schemas/riskassessments/RiskAssessmentCard.json +3 -0
- package/utils/headers.js +1 -1
package/hostedcheckouts/index.js
CHANGED
|
@@ -9,5 +9,7 @@ modules['create'] = require('./create');
|
|
|
9
9
|
// console.log(`Added create to module space`);
|
|
10
10
|
modules['get'] = require('./get');
|
|
11
11
|
// console.log(`Added get to module space`);
|
|
12
|
+
modules['remove'] = require('./remove');
|
|
13
|
+
// console.log(`Added remove to module space`);
|
|
12
14
|
|
|
13
15
|
module.exports = modules;
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
var communicator = require('../utils/communicator');
|
|
7
|
+
|
|
8
|
+
var myModule = function (merchantId, hostedCheckoutId, paymentContext, cb) {
|
|
9
|
+
communicator.json({
|
|
10
|
+
method: 'DELETE',
|
|
11
|
+
modulePath: '/v1/' + merchantId + '/hostedcheckouts/' + hostedCheckoutId,
|
|
12
|
+
body: null,
|
|
13
|
+
paymentContext: paymentContext,
|
|
14
|
+
cb: cb
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
module.exports = myModule;
|
package/package.json
CHANGED
|
@@ -623,6 +623,9 @@
|
|
|
623
623
|
"CustomerAccountAuthentication" : {
|
|
624
624
|
"type" : "object",
|
|
625
625
|
"properties" : {
|
|
626
|
+
"data" : {
|
|
627
|
+
"type" : "string"
|
|
628
|
+
},
|
|
626
629
|
"method" : {
|
|
627
630
|
"type" : "string"
|
|
628
631
|
},
|
|
@@ -1706,6 +1709,9 @@
|
|
|
1706
1709
|
},
|
|
1707
1710
|
"skipAuthentication" : {
|
|
1708
1711
|
"type" : "boolean"
|
|
1712
|
+
},
|
|
1713
|
+
"transactionRiskLevel" : {
|
|
1714
|
+
"type" : "string"
|
|
1709
1715
|
}
|
|
1710
1716
|
},
|
|
1711
1717
|
"additionalProperties" : false
|
|
@@ -439,6 +439,9 @@
|
|
|
439
439
|
},
|
|
440
440
|
"issueNumber" : {
|
|
441
441
|
"type" : "string"
|
|
442
|
+
},
|
|
443
|
+
"partialPin" : {
|
|
444
|
+
"type" : "string"
|
|
442
445
|
}
|
|
443
446
|
},
|
|
444
447
|
"additionalProperties" : false
|
|
@@ -779,6 +782,9 @@
|
|
|
779
782
|
"CustomerAccountAuthentication" : {
|
|
780
783
|
"type" : "object",
|
|
781
784
|
"properties" : {
|
|
785
|
+
"data" : {
|
|
786
|
+
"type" : "string"
|
|
787
|
+
},
|
|
782
788
|
"method" : {
|
|
783
789
|
"type" : "string"
|
|
784
790
|
},
|
|
@@ -1774,16 +1780,13 @@
|
|
|
1774
1780
|
"RedirectPaymentProduct4101SpecificInput" : {
|
|
1775
1781
|
"type" : "object",
|
|
1776
1782
|
"properties" : {
|
|
1777
|
-
"
|
|
1783
|
+
"displayName" : {
|
|
1778
1784
|
"type" : "string"
|
|
1779
1785
|
},
|
|
1780
|
-
"
|
|
1781
|
-
"type" : "string"
|
|
1782
|
-
},
|
|
1783
|
-
"transactionNote" : {
|
|
1786
|
+
"integrationType" : {
|
|
1784
1787
|
"type" : "string"
|
|
1785
1788
|
},
|
|
1786
|
-
"
|
|
1789
|
+
"virtualPaymentAddress" : {
|
|
1787
1790
|
"type" : "string"
|
|
1788
1791
|
}
|
|
1789
1792
|
},
|
|
@@ -2090,6 +2093,9 @@
|
|
|
2090
2093
|
},
|
|
2091
2094
|
"skipAuthentication" : {
|
|
2092
2095
|
"type" : "boolean"
|
|
2096
|
+
},
|
|
2097
|
+
"transactionRiskLevel" : {
|
|
2098
|
+
"type" : "string"
|
|
2093
2099
|
}
|
|
2094
2100
|
},
|
|
2095
2101
|
"additionalProperties" : false
|
package/utils/headers.js
CHANGED
|
@@ -9,7 +9,7 @@ var serverMetaInfo = function (sdkContext) {
|
|
|
9
9
|
key: "X-GCS-ServerMetaInfo",
|
|
10
10
|
value: {
|
|
11
11
|
'sdkCreator': 'Ingenico',
|
|
12
|
-
'sdkIdentifier': 'NodejsServerSDK/v3.
|
|
12
|
+
'sdkIdentifier': 'NodejsServerSDK/v3.20.0',
|
|
13
13
|
'platformIdentifier': process.env['OS'] + ' Node.js/' + process.versions.node
|
|
14
14
|
}
|
|
15
15
|
};
|