This repository was archived by the owner on Mar 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +62
-2
lines changed
Expand file tree Collapse file tree 8 files changed +62
-2
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 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 ;
Original file line number Diff line number Diff line change 55 */
66var modules = { } ;
77
8+ modules [ 'find' ] = require ( './find' ) ;
9+ // console.log(`Added find to module space`);
810modules [ 'create' ] = require ( './create' ) ;
911// console.log(`Added create to module space`);
1012modules [ 'get' ] = require ( './get' ) ;
Original file line number Diff line number Diff line change 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 ;
Original file line number Diff line number Diff line change 55 */
66var modules = { } ;
77
8+ modules [ 'find' ] = require ( './find' ) ;
9+ // console.log(`Added find to module space`);
810modules [ 'create' ] = require ( './create' ) ;
911// console.log(`Added create to module space`);
1012modules [ 'get' ] = require ( './get' ) ;
Original file line number Diff line number Diff line change 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 ;
Original file line number Diff line number Diff line change 55 */
66var modules = { } ;
77
8+ modules [ 'find' ] = require ( './find' ) ;
9+ // console.log(`Added find to module space`);
810modules [ 'get' ] = require ( './get' ) ;
911// console.log(`Added get to module space`);
1012modules [ 'approve' ] = require ( './approve' ) ;
Original file line number Diff line number Diff 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 } ;
You can’t perform that action at this time.
0 commit comments