diff --git a/lib/businessinformation/index.js b/lib/businessInformation/index.js similarity index 100% rename from lib/businessinformation/index.js rename to lib/businessInformation/index.js diff --git a/lib/sbcsinformation/index.js b/lib/sbcsinformation/index.js index c25b85f..70db98d 100644 --- a/lib/sbcsinformation/index.js +++ b/lib/sbcsinformation/index.js @@ -57,6 +57,16 @@ function reportsSbcsHtml(data) { return bisRequest('reports/sbcs/html', data); } +/** + * Premier Reports SBCS scores + * + * @param {object} data Request Object + * @returns {Promise} Request as a promise + */ +function reportsSbcsscores(data) { + return bisRequest('reports/sbcsscores', data); +} + /** * Business API Request * @@ -118,5 +128,6 @@ module.exports.us = { search: search, headers: headers, aggregates: aggregates, - reportsSbcsHtml: reportsSbcsHtml + reportsSbcsHtml: reportsSbcsHtml, + reportsSbcsscores: reportsSbcsscores }; \ No newline at end of file diff --git a/package.json b/package.json index d830bbc..6395030 100644 --- a/package.json +++ b/package.json @@ -1,38 +1,43 @@ { - "name": "experian-node", - "version": "1.0.0", - "description": "Experian Node.js Library", - "main": "lib/experian.js", - "directories": { - "example": "examples", - "test": "test" - }, - "dependencies": { - "bluebird": "3.5.0", - "request": "2.81.0" - }, - "devDependencies": { - "chai": "~4.1.2", - "chai-as-promised": "^7.1.1", - "jscs": "^2.3.5", - "mocha": "~3.5.3" - }, - "scripts": { - "mocha": "mocha", - "test": "mocha ./test/ --timeout 120000" - }, - "repository": { - "type": "git", - "url": "ssh://git@github.com:experianplc/experian-node.git" - }, - "keywords": [ - "experian", - "business", - "data", - "api", - "credit", - "score" - ], - "author": "Experian (https://developer.experian.com)", - "license": "MIT" -} \ No newline at end of file + "name": "experian-node", + "version": "1.0.1", + "description": "Experian Node.js Library", + "main": "lib/experian.js", + "directories": { + "example": "examples", + "lib": "lib", + "test": "test" + }, + "dependencies": { + "bluebird": "3.5.0", + "request": "2.81.0" + }, + "devDependencies": { + "chai": "~4.1.2", + "chai-as-promised": "^7.1.1", + "jscs": "^2.3.5", + "mocha": "~3.5.3" + }, + "scripts": { + "mocha": "mocha", + "test": "mocha ./test/ --timeout 120000" + }, + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/experianplc/experian-node.git" + }, + "keywords": [ + "experian", + "business", + "data", + "api", + "credit", + "score" + ], + "author": "Experian (https://developer.experian.com)", + "license": "MIT", + "bugs": { + "url": "https://github.com/experianplc/experian-node/issues" + }, + "homepage": "https://github.com/experianplc/experian-node#readme" +}