{"_id":"leadconduit-migration-tool","_rev":"103-13869bc2f64cc8e37ec50850accbbf8b","name":"leadconduit-migration-tool","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.1":{"name":"leadconduit-migration-tool","version":"0.0.1","author":"","license":"ISC","_id":"leadconduit-migration-tool@0.0.1","maintainers":[{"name":"activeprospect","email":"dev@activeprospect.com"}],"dist":{"shasum":"e9fdfefa8a1d70ff61cc2893bb3c59555633ebd6","tarball":"https://registry.npmjs.org/leadconduit-migration-tool/-/leadconduit-migration-tool-0.0.1.tgz","fileCount":5,"integrity":"sha512-zFbzur8oH4zfXtK7ybvDdIWBaC6ZJLe8iDB+lFPqcL+/YWQqjNSDizOZ2EUQF5jdwIsV8qxEmg/Obb0AqZ2Llg==","signatures":[{"sig":"MEUCIQCP8lyj7mZ/4vKGF6MQIX18irZ/Iu9Kw1PYQcjQ/Dp1ugIgBREjDKMRae1KFspiQdYlpIDrtQrytt9uQG0HZ1lbNcQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6907},"main":"index.js","gitHead":"a27ec963a54e4a4f5848a39c0cdc48d26a2bb37e","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"activeprospect","email":"dev@activeprospect.com"},"_npmVersion":"5.7.1","description":"Flow Migration Tool for LeadConduit","directories":{},"_nodeVersion":"8.9.1","dependencies":{"chalk":"^2.3.0","lodash":"^4.17.4","request":"^2.83.0","inquirer":"^5.1.0"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/leadconduit-migration-tool_0.0.1_1520615103020_0.10445929406921128","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"leadconduit-migration-tool","version":"0.0.2","author":"","license":"ISC","_id":"leadconduit-migration-tool@0.0.2","maintainers":[{"name":"activeprospect","email":"dev@activeprospect.com"}],"dist":{"shasum":"a681c9d9e62a6a7e228e9f375fcc01fe1d8771a5","tarball":"https://registry.npmjs.org/leadconduit-migration-tool/-/leadconduit-migration-tool-0.0.2.tgz","fileCount":6,"integrity":"sha512-UN846L+BaLdjtUIg3i14blZAb+YUJAFCHr+K2c/N+tIlRiG64Af4reXa/2rTUWK3A2OYynO5f2lSnueAp4h3eA==","signatures":[{"sig":"MEUCIQDDIytMgqbdvLA9ovBqgU+EiBy+WE3WIRckX5A+Pf1N7AIgblQ3IKEce7pJk211xd99bTcyBsohc90I9Owo591SwH4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7170},"main":"index.js","gitHead":"1d377c48ef4e3844298f869245d92ca7f7b0a4f7","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"activeprospect","email":"dev@activeprospect.com"},"_npmVersion":"5.7.1","description":"Flow Migration Tool for LeadConduit","directories":{},"_nodeVersion":"8.9.1","dependencies":{"chalk":"^2.3.0","lodash":"^4.17.4","request":"^2.83.0","syncprompt":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/leadconduit-migration-tool_0.0.2_1520634133634_0.14950172013302176","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"leadconduit-migration-tool","version":"0.0.3","author":"","license":"ISC","_id":"leadconduit-migration-tool@0.0.3","maintainers":[{"name":"activeprospect","email":"dev@activeprospect.com"}],"dist":{"shasum":"32b01802c31f80ed4e916e81a12d54d7e13f664c","tarball":"https://registry.npmjs.org/leadconduit-migration-tool/-/leadconduit-migration-tool-0.0.3.tgz","fileCount":5,"integrity":"sha512-sMlQuFr8/VkiikLGrRPEtPpQThiGtdj9AjCwGWiQB60oEu3de4ryVaS1Pw3H21supp88rexIsJ3EcqgXsGTLwQ==","signatures":[{"sig":"MEUCIQCDsZMGcQ7iGFDh35M2uKk+8T7xOvt7+3FrzwZ64V6GxAIgDwE0C19ck51IqSqEejrYNu2AJJsZCdjPU3NF4gQHAB0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7234},"main":"index.js","gitHead":"05ef5bfdb2e9db98bcf89f9936913bd05e9dce46","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"activeprospect","email":"dev@activeprospect.com"},"_npmVersion":"5.7.1","description":"Flow Migration Tool for LeadConduit","directories":{},"_nodeVersion":"8.9.4","dependencies":{"chalk":"^2.3.0","lodash":"^4.17.4","request":"^2.83.0","syncprompt":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/leadconduit-migration-tool_0.0.3_1520884148555_0.6231039400263538","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"leadconduit-migration-tool","version":"0.0.4","author":"","license":"ISC","_id":"leadconduit-migration-tool@0.0.4","maintainers":[{"name":"activeprospect","email":"dev@activeprospect.com"}],"dist":{"shasum":"8391c7899a52e053a92edb8eed16f5dd36f107f6","tarball":"https://registry.npmjs.org/leadconduit-migration-tool/-/leadconduit-migration-tool-0.0.4.tgz","fileCount":5,"integrity":"sha512-j2TNk7dQ+baR19x8f7ggFrkRo1YvvV//Jfo8qR/UkulMO8R2laTwGXxIavn6z3EKb7W4AdI39YYrC1TgZ2afIQ==","signatures":[{"sig":"MEYCIQDN6JxITohdRjurVz7WqupbWYAj3OF6LlnYI8MBqN8a7wIhAIlxgsIT72StD1eD93J2n/64NOUaNHVagTtctxWIZoJK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7554},"main":"index.js","gitHead":"563c5334edd2d878a083fff6ffcdaa499629ee40","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"activeprospect","email":"dev@activeprospect.com"},"_npmVersion":"5.7.1","description":"Flow Migration Tool for LeadConduit","directories":{},"_nodeVersion":"8.9.4","dependencies":{"chalk":"^2.3.0","lodash":"^4.17.4","request":"^2.83.0","syncprompt":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/leadconduit-migration-tool_0.0.4_1521061993350_0.9308867976872497","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"leadconduit-migration-tool","version":"0.0.5","author":"","license":"ISC","_id":"leadconduit-migration-tool@0.0.5","maintainers":[{"name":"activeprospect","email":"dev@activeprospect.com"}],"dist":{"shasum":"72d97f569c67b87cba231cdef4831e71470d0816","tarball":"https://registry.npmjs.org/leadconduit-migration-tool/-/leadconduit-migration-tool-0.0.5.tgz","fileCount":5,"integrity":"sha512-5rk7QJaGM8xoafQ0vgdr9KM3NzctdEJ17Ta8tg0fJar9a7NNFMRPyKGit4bMZ6Y/p+qCSqwVjV17j5/C2QYvFA==","signatures":[{"sig":"MEQCIBVOJJ1J6TgvT7hLTykt/xR9WoutmBUrlVTqW5G4aQoNAiBvnuCzTU/z09xRnxJXjdLbj6pPmQ5nfPD/XvlLwQRXSw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa82y5CRA9TVsSAnZWagAA1gkP/3goTE5zqRuzQexUvbdr\nkFpjNGXI+OedfxYPqZKstd4GmkBg4CjSUnJnr8YLc/oUM/b0x8FAdjVopQgZ\npJcfTitTD1U62miyioBcXzEB9MWpcPClYenBE+8dux60F2r5kFp5+9DkZffO\ntFzcs4fYXV9sei/aqK1gY79Be09c7hIB1XehbD6qaTmB90pd/JTz0dVtcC8H\nzVb92i7t6+k8kAkQ5jZOXL8u/UW6bWIdFM/yCPulf5EncDes48D64EuXTZRB\noUwe3AOjsY4uPw+zRe1tJ6vZZAw7305hbVAJwE9914C7HXGeXpKVfiY1iT/1\n39rS+GrFM5GkpQDl3GAJQWHhSAL2XSbhAbFyqsN0vAEXCuh6CgYV7ZNappsC\nNFnD/ggvXU7txS/LBgLt4A0JjIXzZHjym8fyBQi/BCexNtjuaqyOXXiwAT7v\nLlYUCLAjQj1+FF6e+ixaZ1edM/a3C9w67c5OPmofpr+wyWvaEgM++fgvsVbt\nzJHh5SsfgpbWq05xLyhrLA1tcFlTUe7MpRvBKfSgabDylCQPNSnfcIKC7Z3v\ncoWWlDy9yD1Eiqo9r8Z7ukEyX8wxCIyNFRCvdbkzu7FmGI8g/v51iKmZ1Jl6\n7CMiaMci8+WMkiGOhCEtqupPjMgcc5xWsMArTKIQCScnGeP8fHc5hQ/3vWX1\nT7HK\r\n=ZimM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"2f6f79d45d8c08e2071dbb425d2f72fc1597f721","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"activeprospect","email":"dev@activeprospect.com"},"_npmVersion":"6.0.0","description":"Flow Migration Tool for LeadConduit","directories":{},"_nodeVersion":"8.9.4","dependencies":{"chalk":"^2.3.0","lodash":"^4.17.4","request":"^2.83.0","syncprompt":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/leadconduit-migration-tool_0.0.5_1525902521276_0.6776914680689008","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"leadconduit-migration-tool","version":"0.0.6","author":"","license":"ISC","_id":"leadconduit-migration-tool@0.0.6","maintainers":[{"name":"activeprospect","email":"dev@activeprospect.com"}],"dist":{"shasum":"2d09bae59aaab12ae6063bbcb74d12777df0797b","tarball":"https://registry.npmjs.org/leadconduit-migration-tool/-/leadconduit-migration-tool-0.0.6.tgz","fileCount":5,"integrity":"sha512-QT2jFVt3LskvkrVVkjA+OwYlc+B4X0dFK7vw/DaEEGfkrluO+PiWXhn4bksiqo21ws8kurNcqwzi1D0IvMd07g==","signatures":[{"sig":"MEYCIQCirDsEA8Wh/Td30P76mpUHyaliVDtyCdDBtb4xh9jKIgIhAMzrC/Q/YARsckgNMTLP9igol8NBNjFJD4tERoGGeUJs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9QJ4CRA9TVsSAnZWagAACwsP/0vfInNlFNUqXBDuA3ly\nCNkO6oRgE1oedTDOj396+7rmWea7UbuQ6LNAaG1Tf1w2j4JoRkb2AV1+PzEB\nhpcASIoLnIlgJd8rrKg7vUrPwhFC3W5phqIyF+1TVT8sdnbJfIlL0LW0De7x\n73NEZW2ACSLUoVN8LMUO+tnjuEnfJwbXre6/ZNV6fEoN6BYRs0gQgQwwqGwc\nmodLNbRZEN/ZVpLCxJYgbtjcYRwQvq82ByqCJwhFDz+5aaVJP4cqGX3+6w9B\ng61MCEzaIpvx4r4rlH20JnT0wkhMoN6yQINx2xrKPoGqn3SEzB/da2+vvgQ3\nIFHkqJbklRVWLNuhN9fBJUivtlmPEc4W+104CJQqcRsYe9H68sg4cfh56/F3\n8X7KvGmmRYnn7et6Ms+FLB6b4NRqKT5dYJGgAUkLiAt2jvGiXWHvnDBbMt14\nJoKEXRA1h6fj12z3dHlp/wuULuRBg9/ugslpzGuarcE64iaTYVJqhxVxf6E/\nFb5BEfsimYSF8wRouMTOa8sxKZqbEQ0hg2fA5YepTXbBEmjBkR3szEpT0nSM\nraQVEFi946WnslvOtJeRW7AYQqhRsnwE9arenmkCur5q6kV41rSiYnQTmUUQ\nRdPXa175+L713OzQXBksBfxNS2zA2Avdo/dIyfKKAklxtouksEUZGZ18XLO6\nEmtN\r\n=V04F\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"8cdad412e13959267a41edabb5ec4876c4d0ba8b","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"activeprospect","email":"dev@activeprospect.com"},"_npmVersion":"6.0.0","description":"Flow Migration Tool for LeadConduit","directories":{},"_nodeVersion":"8.9.4","dependencies":{"chalk":"^2.3.0","lodash":"^4.17.4","request":"^2.83.0","syncprompt":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/leadconduit-migration-tool_0.0.6_1526006391269_0.8097662038082265","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"leadconduit-migration-tool","version":"0.1.0","author":"","license":"ISC","_id":"leadconduit-migration-tool@0.1.0","maintainers":[{"name":"activeprospect","email":"dev@activeprospect.com"}],"dist":{"shasum":"c7036894a7ea91fcce336472dd2763093d4cd954","tarball":"https://registry.npmjs.org/leadconduit-migration-tool/-/leadconduit-migration-tool-0.1.0.tgz","fileCount":8,"integrity":"sha512-wy698vAxhhWmLByF9TtNL7b/Nf59XD6zRfFMXdPmvmlOYJhDjMDKbYvPHMx/J8mbQcu1lCPNulJM6LfmKMUPSA==","signatures":[{"sig":"MEUCIQDpf0GTsEZOgn1I7GbPWIdddhwfptCKTYD47/fB92hs5AIgF9W1G1v7bbdQJWylk6HtE//nVYe62hEXIEiLIDvytmQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10189,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+as5CRA9TVsSAnZWagAANGkP+gOg2C3UcCmWl9+Pvt6p\nW9uLMJZv8OL8rmrxIOdSiPdroJOR44RrTrZs0SWWed2q/ucc0hiaDIElgnli\nEEYi0SN415YHGsJrWepXmozfoXEV1dQjIS4s4X7owRAOVsKOKC/XiRmf0OVL\nOp9vqZXjL7ok8O8cTOxikv1zx5/ezw0zlRgTJgDDJdBR2p6xBadyVBRZlDI0\niKmWRqDCH8l8Bt/BdBCWKODhRQFotCHLBOS4rZJYkwcph862e3lzZYZzJx8e\npm/aWnz5r08qv9Uej/pbp04SIvDSSLU2BuOhyXiil+u/DGVPRGv+D+n2jYQd\nj3fi/gkE/2X2iOIB+ql1LAdw2SLueS9X4IsIUkLd11Iu7nf5hjtauV5L3HrD\nS+yPFJvQI5FJyJJVirckU3tTMBsMxGMGeG2/j4DXrzwXpDu1s/WAtaaVxPUS\nV7fCXbWWICTCCepEAxj79+3Hn1niDJRuUVupj1mF5AOOvhHxY/SYVzRDHssS\nylfnNjfQSvcG7EaGetcJEcCVPafAtfKu6ugo/OP7KayzzpYJth9mK0AOcZmd\nRvYeDft/vhYofMk9jVJa4f95kmuBy5C2Tg/eEh1HfpA4IMqWnqvFN873Ti5v\n9TRehNh15VUkDY+2XKEbrxgDMF9Fu36ETFEgmlni2hjuSHDYAT5/HhHmXsM4\nmXIS\r\n=GV2l\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"5c72575598921ee34ed163daaca0bf639068bda1","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"activeprospect","email":"dev@activeprospect.com"},"_npmVersion":"6.0.0","description":"Flow Migration Tool for LeadConduit","directories":{},"_nodeVersion":"8.9.4","dependencies":{"chalk":"^2.3.0","lodash":"^4.17.4","request":"^2.83.0","syncprompt":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/leadconduit-migration-tool_0.1.0_1526311736344_0.5895646045047416","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-03-09T17:05:03.019Z","modified":"2026-10-02T19:13:54.254Z","0.0.1":"2018-03-09T17:05:03.063Z","0.0.2":"2018-03-09T22:22:13.706Z","0.0.3":"2018-03-12T19:49:08.636Z","0.0.4":"2018-03-14T21:13:13.402Z","0.0.5":"2018-05-09T21:48:41.340Z","0.0.6":"2018-05-11T02:39:51.368Z","0.1.0":"2018-05-14T15:28:56.396Z"},"license":"ISC","description":"Flow Migration Tool for LeadConduit","maintainers":[{"email":"dev@activeprospect.com","name":"apadmin"},{"email":"alexkwolfe@gmail.com","name":"alexkwolfe"},{"email":"steve.odom@gmail.com","name":"steveodom"},{"email":"dpjones09@gmail.com","name":"dpjones09"},{"email":"john.bench@activeprospect.com","name":"johnb2"},{"email":"Luis.Ferreira@activeprospect.com","name":"ap_luisferreira"},{"email":"alison.simbanegavi@activeprospect.com","name":"alisimbanegavi"},{"email":"benjamin.martin2010@gmail.com","name":"benjmartin"},{"email":"omar.vazquez@activeprospect.com","name":"vzqzacap"},{"email":"sam.marten@activeprospect.com","name":"sammarten"},{"email":"gabriel.roldan@activeprospect.com","name":"gabriel.roldan.ap"},{"email":"steven.fuchs@activeprospect.com","name":"stwf-ap"},{"email":"jose.salina@activeprospect.com","name":"josevsp"},{"email":"shoeb.khan@activeprospect.com","name":"apshoebkhan"},{"email":"ricky.mcmurtrey@activeprospect.com","name":"rickymcmurtrey"},{"email":"matteo.pandolfi@activeprospect.com","name":"matteo.pandolfi"},{"email":"carl.hannusch@activeprospect.com","name":"carlhannusch"},{"email":"petra.terbe@activeprospect.com","name":"terbepetra"},{"email":"jarrmill@outlook.com","name":"jarrodbmiller"},{"email":"stefano.santonocito@activeprospect.com","name":"stefano.santonocito"},{"email":"carlo.anselmi@activeprospect.com","name":"carlo.anselmi"},{"email":"josh.evensen@activeprospect.com","name":"jevensen"},{"email":"christian.celora@leadsbridge.com","name":"celolb"},{"email":"dusan.pantelic@activeprospect.com","name":"dusan.pantelic.ap"},{"email":"chris.snyder@activeprospect.com","name":"jastingo"},{"email":"it@activeprospect.com","name":"it-activeprospect"},{"email":"santiago.ferreira@activeprospect.com","name":"santiago.ferreira"},{"email":"fellipe.fingoli@activeprospect.com","name":"fellipe.fingoli"},{"email":"matteo.leggieri@activeprospect.com","name":"matteo.leggieri"},{"email":"ludwig.olaru@activeprospect.com","name":"lolaru-ap"},{"email":"matias.delgado@activeprospect.com","name":"matiasdelgado"}],"readme":"# migration-tool\n\nA flow migration tool for LeadConduit.\n\nThis version is hardcoded to migrate from WhitePages's deprecated `address_validation` endpoint to `global_address_validation`.\n\nIt will find all the flows in an account that use `address_validation`, and change their integration steps, mappings, and rules. It asks, for each flow it finds, if you're sure you want to update that one.\n\nThe tool also writes the original and updated flows to './<flow.id>.before.json' and './<flow.id>.after.json', respectively.\n\nThough it updates `flow`s, note that it does currently **not** \"deploy\" them. That must be done separately, via API or UI.\n\nTo use:\n\n0. install via clone of this repo, or `npm install leadconduit-migration-tool`\n1. set and export your ActiveProspect API key as `$AP_STAGING`\n2. to run against production instead of staging, set the value of `getUrl` in the script to `https://X:${process.env.AP_STAGING}@next.leadconduit.com/flows` (and, possibly, change your API key environment variable, if it's different between staging and production).\n3. run `node bin/migrate.js`.\n","readmeFilename":"README.md"}