{"_id":"@mft/mhe-sdk","_rev":"151-6bc375e2797d0bb8684751fbe530d10d","name":"@mft/mhe-sdk","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@mft/mhe-sdk","version":"1.0.0","author":{"name":"Aviv Beeri"},"license":"UNLICENSED","_id":"@mft/mhe-sdk@1.0.0","maintainers":[{"name":"avivbeeri","email":"avbeeri@gmail.com"}],"homepage":"https://bitbucket.org/momentum-uk/mhe-sdk#readme","dist":{"shasum":"7cf556948b91b0cd60649ab4c266d3acc3b2da0b","tarball":"https://registry.npmjs.org/@mft/mhe-sdk/-/mhe-sdk-1.0.0.tgz","integrity":"sha512-pDBYwxwu73tJbLjB1PmyG8SvBdVzB64MFsvoXdRM0TY549XvYeXbj3yjkYVi3Og3iNVOcbg0Og0NsXbYs8cjJg==","signatures":[{"sig":"MEUCIERRR2/30iMP+yZjC1pDS3PBV1grJStyfieXIgFhYam7AiEA9ARUI3atCUOTK2+cm1sj6VJZ/6/nEdk+SfUZnUIt7Rk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","types":"dist/mhe-sdk.d.ts","_shasum":"7cf556948b91b0cd60649ab4c266d3acc3b2da0b","engines":{"node":"~6"},"gitHead":"4077ecc2c6a04af56b8bdfbd6c4b7340ba3e6ad6","scripts":{"lint":"gulp lint","test":"gulp test","build":"gulp build"},"_npmUser":{"name":"avivbeeri","email":"avbeeri@gmail.com"},"repository":{"url":"git+ssh://git@bitbucket.org/momentum-uk/mhe-sdk.git","type":"git"},"_npmVersion":"3.10.8","description":"An SDK for interacting with MoneyHub Enterprise APIs.","directories":{"test":"test"},"_nodeVersion":"6.9.1","dependencies":{"node-fetch":"^1.7.1","source-map-support":"^0.4.6"},"devDependencies":{"nsp":"^2.6.2","gulp":"^3.9.1","eslint":"^3.10.0","tslint":"^3.15.1","gulp-nsp":"^2.4.2","dts-bundle":"^0.7.2","typescript":"^2.2.1","@types/node":"^6.0.46","gulp-eslint":"^3.0.1","gulp-tslint":"^6.1.3","babel-eslint":"^7.1.0","gulp-nodemon":"^2.2.1","@types/winston":"0.0.30","@types/bluebird":"^3.0.36","gulp-sourcemaps":"^2.2.0","gulp-typescript":"^3.1.3","@types/node-fetch":"^1.6.7","eslint-config-defaults":"^9.0.0","eslint-plugin-typescript":"^0.1.0","typescript-eslint-parser":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mhe-sdk-1.0.0.tgz_1498128900704_0.3039088756777346","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@mft/mhe-sdk","version":"1.0.1","author":{"name":"Aviv Beeri"},"license":"UNLICENSED","_id":"@mft/mhe-sdk@1.0.1","maintainers":[{"name":"leewalters-mom","email":"lee.walters@momentumft.co.uk"},{"name":"avivbeeri","email":"avbeeri@gmail.com"},{"name":"artiommft","email":"artiom.ciumac@momentumft.co.uk"},{"name":"tanuck","email":"tanuck@gmail.com"},{"name":"maciej.dworakowski","email":"maciej.dworakowski@momentumft.co.uk"},{"name":"tomhicks-bsf","email":"tom.hicks@momentumft.co.uk"},{"name":"thomwright","email":"npm@thomwright.co.uk"},{"name":"tomcollins","email":"tom.collins@momentumft.co.uk"},{"name":"shweta.kamaraddi","email":"shweta.kamaraddi@momentumft.co.uk"},{"name":"mft-bamboo","email":"tech+bamboonpm@bluespeckmedia.co.uk"},{"name":"marcus.kielly","email":"marcus.kielly@momentumft.co.uk"},{"name":"davidgtonge","email":"dave.tonge@moneyhub.co.uk"},{"name":"matt.sinton-hewitt","email":"matt.sinton-hewitt@momentumft.co.uk"},{"name":"ozamarripamft","email":"omar.zamarripa@momentumft.co.uk"},{"name":"stefanspita","email":"stefan.spita@momentumft.co.uk"},{"name":"jeanpaulgorman","email":"jean-paul.gorman@momentumft.co.uk"},{"name":"ab-mft","email":"aaron.burtnyk@momentumft.co.uk"},{"name":"davidxmoody","email":"david@davidxmoody.com"},{"name":"pavel-dohnal","email":"pavel.dohnal@momentumft.co.uk"}],"homepage":"https://bitbucket.org/momentum-uk/mhe-sdk#readme","dist":{"shasum":"5064df0c8a8cc864d1c1b86f29703bce415c2d47","tarball":"https://registry.npmjs.org/@mft/mhe-sdk/-/mhe-sdk-1.0.1.tgz","integrity":"sha512-ErmmrIiusGDHxNxviZlGLfCT1tUDkRPJ/EoiOpbzTsH6O3uW+q1+i+wUgmQgFureb+ucDChI7PDRPrtZYcLvUg==","signatures":[{"sig":"MEQCIF6R1jIU7ciHXd/I6GqsHM0pTBvLPtq2t1yKVzbYVQJEAiBNIbOsJchtWxEMUoP17yQACgn5KDLDOlt/en5AbMsjbw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","types":"dist/mhe-sdk.d.ts","_shasum":"5064df0c8a8cc864d1c1b86f29703bce415c2d47","engines":{"node":"~6"},"gitHead":"576aba07d2dede9ace7fd700f8715bda43d97e88","scripts":{"lint":"gulp lint","test":"gulp test","build":"gulp build"},"_npmUser":{"name":"avivbeeri","email":"avbeeri@gmail.com"},"repository":{"url":"git+ssh://git@bitbucket.org/momentum-uk/mhe-sdk.git","type":"git"},"_npmVersion":"3.10.8","description":"An SDK for interacting with MoneyHub Enterprise APIs.","directories":{"test":"test"},"_nodeVersion":"6.9.1","dependencies":{"node-fetch":"^1.7.1","source-map-support":"^0.4.6"},"devDependencies":{"nsp":"^2.6.2","gulp":"^3.9.1","eslint":"^3.10.0","tslint":"^3.15.1","gulp-nsp":"^2.4.2","dts-bundle":"^0.7.2","typescript":"^2.2.1","@types/node":"^6.0.46","gulp-eslint":"^3.0.1","gulp-tslint":"^6.1.3","babel-eslint":"^7.1.0","gulp-nodemon":"^2.2.1","@types/winston":"0.0.30","@types/bluebird":"^3.0.36","gulp-sourcemaps":"^2.2.0","gulp-typescript":"^3.1.3","@types/node-fetch":"^1.6.7","eslint-config-defaults":"^9.0.0","eslint-plugin-typescript":"^0.1.0","typescript-eslint-parser":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mhe-sdk-1.0.1.tgz_1502122719028_0.7850381722673774","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@mft/mhe-sdk","version":"1.0.2","author":{"name":"Aviv Beeri"},"license":"UNLICENSED","_id":"@mft/mhe-sdk@1.0.2","maintainers":[{"name":"leewalters-mom","email":"lee.walters@momentumft.co.uk"},{"name":"avivbeeri","email":"avbeeri@gmail.com"},{"name":"artiommft","email":"artiom.ciumac@momentumft.co.uk"},{"name":"tanuck","email":"tanuck@gmail.com"},{"name":"maciej.dworakowski","email":"maciej.dworakowski@momentumft.co.uk"},{"name":"tomhicks-bsf","email":"tom.hicks@momentumft.co.uk"},{"name":"thomwright","email":"npm@thomwright.co.uk"},{"name":"tomcollins","email":"tom.collins@momentumft.co.uk"},{"name":"shweta.kamaraddi","email":"shweta.kamaraddi@momentumft.co.uk"},{"name":"mft-bamboo","email":"tech+bamboonpm@bluespeckmedia.co.uk"},{"name":"marcus.kielly","email":"marcus.kielly@momentumft.co.uk"},{"name":"davidgtonge","email":"dave.tonge@moneyhub.co.uk"},{"name":"matt.sinton-hewitt","email":"matt.sinton-hewitt@momentumft.co.uk"},{"name":"ozamarripamft","email":"omar.zamarripa@momentumft.co.uk"},{"name":"stefanspita","email":"stefan.spita@momentumft.co.uk"},{"name":"jeanpaulgorman","email":"jean-paul.gorman@momentumft.co.uk"},{"name":"ab-mft","email":"aaron.burtnyk@momentumft.co.uk"},{"name":"davidxmoody","email":"david@davidxmoody.com"},{"name":"pavel-dohnal","email":"pavel.dohnal@momentumft.co.uk"}],"homepage":"https://bitbucket.org/momentum-uk/mhe-sdk#readme","dist":{"shasum":"00de187b3d589881987edf7c5b3f0ca27ce72035","tarball":"https://registry.npmjs.org/@mft/mhe-sdk/-/mhe-sdk-1.0.2.tgz","integrity":"sha512-AXA9KqoVhLmgDeSiXgiAsogVp4X/o2J4me/KIZXJ3kMkSJOjF74Atw4TpSMVL3lA+61VNZDq2mlXQV+Wbbn6Ug==","signatures":[{"sig":"MEUCIQDkP8hN7OyBDZbhD2miU4BWfMxQIXGD5SzUktl8bReQBwIgEyIcNWdk4g35kkzYqfR+jtSpY0Ccdno0e+qk+TzNzCU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","types":"dist/mhe-sdk.d.ts","_shasum":"00de187b3d589881987edf7c5b3f0ca27ce72035","engines":{"node":"~6"},"gitHead":"5f2524e8c01fa56313f4080f1b9934454dade35d","scripts":{"lint":"gulp lint","test":"gulp test","build":"gulp build"},"_npmUser":{"name":"avivbeeri","email":"avbeeri@gmail.com"},"repository":{"url":"git+ssh://git@bitbucket.org/momentum-uk/mhe-sdk.git","type":"git"},"_npmVersion":"3.10.8","description":"An SDK for interacting with MoneyHub Enterprise APIs.","directories":{"test":"test"},"_nodeVersion":"6.9.1","dependencies":{"node-fetch":"^1.7.1","source-map-support":"^0.4.6"},"devDependencies":{"nsp":"^2.6.2","gulp":"^3.9.1","eslint":"^3.10.0","tslint":"^3.15.1","gulp-nsp":"^2.4.2","dts-bundle":"^0.7.2","typescript":"^2.2.1","@types/node":"^6.0.46","gulp-eslint":"^3.0.1","gulp-tslint":"^6.1.3","babel-eslint":"^7.1.0","gulp-nodemon":"^2.2.1","@types/winston":"0.0.30","@types/bluebird":"^3.0.36","gulp-sourcemaps":"^2.2.0","gulp-typescript":"^3.1.3","@types/node-fetch":"^1.6.7","eslint-config-defaults":"^9.0.0","eslint-plugin-typescript":"^0.1.0","typescript-eslint-parser":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mhe-sdk-1.0.2.tgz_1502122853694_0.39382465346716344","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@mft/mhe-sdk","version":"1.0.3","author":{"name":"Aviv Beeri"},"license":"UNLICENSED","_id":"@mft/mhe-sdk@1.0.3","maintainers":[{"name":"jspaine","email":"painejs@hotmail.com"},{"name":"maciej.dworakowski","email":"maciej.dworakowski@momentumft.co.uk"},{"name":"shweta.kamaraddi","email":"shweta.kamaraddi@momentumft.co.uk"},{"name":"mft-bamboo","email":"tech+bamboonpm@bluespeckmedia.co.uk"},{"name":"davidgtonge","email":"dave.tonge@moneyhub.co.uk"},{"name":"ozamarripamft","email":"omar.zamarripa@momentumft.co.uk"},{"name":"ab-mft","email":"aaron.burtnyk@momentumft.co.uk"}],"homepage":"https://bitbucket.org/momentum-uk/mhe-sdk#readme","dist":{"shasum":"dbbecd5e14c69360353eb5074bbbb508dddc6806","tarball":"https://registry.npmjs.org/@mft/mhe-sdk/-/mhe-sdk-1.0.3.tgz","integrity":"sha512-zM97Addv1ZTsgUVBsoSKW0tCnEAeHm9UE459Qj9pbbHC1Mov2+EK3Jk0M7iDA9KW5D3VRsNeuS9S5tz4wbHCJg==","signatures":[{"sig":"MEYCIQCjFcEsXhSRLTth/n6PvTFOolQzUJAqIICALwtP49a0PQIhAL6fShTMDuq/ZZAMjawDfvlecZFwxOaGnry1UD4NcTKV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","types":"dist/mhe-sdk.d.ts","engines":{"node":"~6"},"gitHead":"c271b2ca750941c129e7a33bb49817062a8a4ca8","scripts":{"lint":"gulp lint","test":"gulp test","build":"gulp build"},"_npmUser":{"name":"davidgtonge","email":"dave.tonge@moneyhub.co.uk"},"repository":{"url":"git+ssh://git@bitbucket.org/momentum-uk/mhe-sdk.git","type":"git"},"_npmVersion":"5.5.1","description":"An SDK for interacting with MoneyHub Enterprise APIs.","directories":{"test":"test"},"_nodeVersion":"8.9.1","dependencies":{"node-fetch":"^1.7.1","source-map-support":"^0.4.6"},"devDependencies":{"nsp":"^2.6.2","gulp":"^3.9.1","eslint":"^3.10.0","tslint":"^3.15.1","gulp-nsp":"^2.4.2","dts-bundle":"^0.7.2","typescript":"^2.2.1","@types/node":"^6.0.46","gulp-eslint":"^3.0.1","gulp-tslint":"^6.1.3","babel-eslint":"^7.1.0","gulp-nodemon":"^2.2.1","@types/winston":"0.0.30","@types/bluebird":"^3.0.36","gulp-sourcemaps":"^2.2.0","gulp-typescript":"^3.1.3","@types/node-fetch":"^1.6.7","eslint-config-defaults":"^9.0.0","eslint-plugin-typescript":"^0.1.0","typescript-eslint-parser":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mhe-sdk-1.0.3.tgz_1513083414002_0.01744678756222129","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-06-22T10:55:02.226Z","modified":"2026-08-05T11:40:23.101Z","1.0.0":"2017-06-22T10:55:02.226Z","1.0.1":"2017-08-07T16:18:40.101Z","1.0.2":"2017-08-07T16:20:54.887Z","1.0.3":"2017-12-12T12:56:55.034Z"},"author":{"name":"Aviv Beeri"},"license":"UNLICENSED","homepage":"https://bitbucket.org/momentum-uk/mhe-sdk#readme","repository":{"url":"git+ssh://git@bitbucket.org/momentum-uk/mhe-sdk.git","type":"git"},"description":"An SDK for interacting with MoneyHub Enterprise APIs.","maintainers":[{"email":"omar.zamarripa@moneyhub.com","name":"ozamarripamft"},{"email":"dave.tonge@moneyhub.co.uk","name":"davidgtonge"},{"email":"maciej.dworakowski@moneyhub.com","name":"maciej.dworakowski"},{"email":"hannah.goodridge@moneyhub.com","name":"hannah_goodridge"},{"email":"painejs@hotmail.com","name":"jspaine"},{"email":"shweta.kamaraddi@moneyhub.com","name":"skamaraddi"},{"email":"stefan.spita@moneyhub.com","name":"stefanspita"},{"email":"samy.bounouar@moneyhub.com","name":"samybounouar42"},{"email":"conrad.jackson@moneyhub.com","name":"conradjackson"},{"email":"jonathan.bride@moneyhub.com","name":"jon_bride_mh"},{"email":"gilbert.holland-lloyd@moneyhub.com","name":"gilbert.holland-lloyd"},{"email":"daniel.cook@moneyhub.com","name":"daniel_cook"},{"email":"jack.scott@moneyhub.com","name":"jackscott10"},{"email":"colin.adams@moneyhub.com","name":"moneyhubcolin"},{"email":"john.dyer@moneyhub.com","name":"littlejohnd"},{"email":"vicki.edwards@moneyhub.com","name":"vicki_tamar"},{"email":"phong.vu@moneyhub.com","name":"phongvu"},{"email":"chris.wood@moneyhub.com","name":"chrisw00d"},{"email":"jennifer.beckingham@moneyhub.com","name":"jenniferbeckingham"},{"email":"tom.copestake@moneyhub.com","name":"tomcopestake"},{"email":"olatunde.phoster@moneyhub.com","name":"tundeph_mh"},{"email":"matt.cobley@moneyhub.com","name":"mattcobleymh"},{"email":"piyush.goyal@moneyhub.com","name":"piyushgoyal"},{"email":"james.allen@moneyhub.com","name":"james-mh"},{"email":"paulina.cisek@moneyhub.com","name":"paulina.cisek"},{"email":"thomas.kupai@moneyhub.com","name":"thomaskupai"},{"email":"Yevhen.Sydorov@moneyhub.com","name":"yevhen.sydorov"},{"email":"nadia.pavelin@moneyhub.com","name":"nadia.pavelin"},{"email":"ingrid.acero@moneyhub.com","name":"ingrid.acero"},{"email":"lily.page@moneyhub.com","name":"lily.page"},{"email":"gareth.williams@moneyhub.com","name":"gareth.williams1"},{"email":"jake.fenley@moneyhub.com","name":"jake.fenley.moneyhub"},{"email":"tetiana.starkiv@moneyhub.com","name":"tetianastarkiv"},{"email":"allan.calderwood@moneyhub.com","name":"allan.calderwood"},{"email":"andrew.foote@moneyhub.com","name":"andrewfoote"},{"email":"fergus.morrow@moneyhub.com","name":"mh-fergus"},{"email":"richard.green@moneyhub.com","name":"richardjgreen-mh"},{"email":"ignacio.contreras@moneyhub.com","name":"ignacio.contreras"}],"readme":"# MHE-SDK\n\nThis module provides easy access to the MoneyHub Enterprise API.\n\n## Overview\n\nHere are the main processes that this repository is responsible for:\n\n- A simple boilerplate for experimenting with the API.\n- Integrated Typescript toolchain\n- Providing a live-reloading build system\n\n## Example\n\n```\n#!javascript\n\nimport MoneyHub from '@mft/mhe-sdk';\n\nMoneyHub.setup({\n  environment: 'test',\n  clientId: ''\n  clientSecret: '',\n  scopes: ''\n});\n\nconst refreshToken = 'Refresh token goes here';\nMoneyHub.user(refreshToken).accounts().create({\n  ...\n}).then((account) => console.log);\n\n```\n\n## Setup Development Environment\n\nImportant: This project requires **Node v6** to run. I recommend using [nvm](https://github.com/creationix/nvm) to install alternate versions of Node.\n\n1. Clone this repository\n2. `npm install` (using Node v6)\n3. `npm run start` (to transpile the project into `build/` and begin execution)\n\n## Style Guidelines\n\nThe project is written using Typescript and ES6 (ES2015) features only.\n\nThe build system is integrated with both TSLint and ESLint, thanks to the `tslint.json` and `.eslintrc.json` files provided. When the service is started or reloads, all the code is run through both linters and you will see their output.\n\nWe intend to code in the [AirBnB Javascript Style](https://github.com/airbnb/javascript), and ESLint is configured to use their rules, with a few modifications to suit the context of Typescript code.\n\nFor maximum benefit, this project aims to embrace as much of Typescript as possible.\nTherefore, TSLint will insist upon giving all variables type definitions.\n\n## Type definitions\nWhen installing new NPM modules, check if they have an `@types` declaration. This package/file is\nprovided by the community to give standard Javascript modules types from Typescript, allowing for\ninteroperability.\nIf you import a module which does not have one, you will have to create your own for Typescript to\ndetect the module. Examples of these can be found in \"src/types\".\n\nYou can create a simple stub declaration:\n```\ndeclare module 'module-name' {\n\n}\n```\n\nYou might end up declaring significant portions of the module's API, but this will ensure more\nconsistent code in the future.\n\nMore information about importing type definitions can be found [here](https://blogs.msdn.microsoft.com/typescript/2016/06/15/the-future-of-declaration-files/).","readmeFilename":"README.md"}