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

Commit 65fae57

Browse files
author
Ingenico ePayments
committed
Release 2.8.0.
1 parent d37c754 commit 65fae57

File tree

8 files changed

+62
-2
lines changed

8 files changed

+62
-2
lines changed

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": "2.7.0",
3+
"version": "2.8.0",
44
"description": "SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API",
55
"dependencies": {
66
"dateformat": "^1.0.12",

payments/find.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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, paymentContext, cb) {
9+
communicator({
10+
method: 'GET',
11+
modulePath: '/v1/' + merchantId + '/payments',
12+
body: null,
13+
paymentContext: paymentContext,
14+
cb: cb
15+
});
16+
}
17+
18+
module.exports = myModule;

payments/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*/
66
var modules = {};
77

8+
modules['find'] = require('./find');
9+
// console.log(`Added find to module space`);
810
modules['create'] = require('./create');
911
// console.log(`Added create to module space`);
1012
modules['get'] = require('./get');

payouts/find.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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, paymentContext, cb) {
9+
communicator({
10+
method: 'GET',
11+
modulePath: '/v1/' + merchantId + '/payouts',
12+
body: null,
13+
paymentContext: paymentContext,
14+
cb: cb
15+
});
16+
}
17+
18+
module.exports = myModule;

payouts/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*/
66
var modules = {};
77

8+
modules['find'] = require('./find');
9+
// console.log(`Added find to module space`);
810
modules['create'] = require('./create');
911
// console.log(`Added create to module space`);
1012
modules['get'] = require('./get');

refunds/find.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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, paymentContext, cb) {
9+
communicator({
10+
method: 'GET',
11+
modulePath: '/v1/' + merchantId + '/refunds',
12+
body: null,
13+
paymentContext: paymentContext,
14+
cb: cb
15+
});
16+
}
17+
18+
module.exports = myModule;

refunds/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*/
66
var modules = {};
77

8+
modules['find'] = require('./find');
9+
// console.log(`Added find to module space`);
810
modules['get'] = require('./get');
911
// console.log(`Added get to module space`);
1012
modules['approve'] = require('./approve');

utils/headers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var serverMetaInfo = function (sdkContext) {
99
key: "X-GCS-ServerMetaInfo",
1010
value: {
1111
'sdkCreator': 'Ingenico',
12-
'sdkIdentifier': 'NodejsServerSDK/v2.7.0',
12+
'sdkIdentifier': 'NodejsServerSDK/v2.8.0',
1313
'platformIdentifier': process.env['OS'] + ' Node.js/' + process.versions.node
1414
}
1515
};

0 commit comments

Comments
 (0)