README
pathfinder-provisioning-client
A library used to provision PathFinder profiles and associate them to a telephone number.
Installation
You must have setup connection to the @@mojaloop npm repo on JFrog in order to install.
npm install @@mojaloop/pathfinder-provisioning-client
Usage
const Provisioning = require('../src')
const args = process.argv.slice(2)
if (args.length === 0) {
console.log('You must enter a profile ID to create!')
process.exit(1)
}
const profileId = args[0]
const client = Provisioning.createClient({ address: 'https://pathfinder-cte-pi.neustar.biz/nrs-pi/services/SIPIX/SendRequest' })
let record = Provisioning.Record({ order: 10, preference: 1, service: 'E2U+mm', regexp: { pattern: '^.*