{"_id":"@gupshup-io/gupshup-onedirect","_rev":"26-42e3232afdc6616418312add40f95eef","time":{"created":"2022-09-14T13:09:19.164Z","1.0.0":"2022-09-13T12:02:35.376Z","modified":"2023-05-04T10:19:57.195Z","1.0.1":"2022-09-13T12:12:12.968Z","1.0.2":"2022-09-14T13:09:19.435Z","1.0.5":"2022-09-30T08:23:05.772Z","1.0.9":"2022-10-04T07:40:59.579Z","1.0.10":"2022-10-07T07:34:08.001Z","1.0.12":"2022-10-10T07:36:52.014Z","1.0.14":"2022-10-17T07:32:57.388Z","1.0.15":"2022-10-17T13:44:55.630Z","1.0.16":"2022-11-17T06:40:42.736Z","1.0.17":"2022-11-17T06:51:59.931Z","1.1.0":"2023-01-12T06:01:50.643Z","1.1.1":"2023-02-16T06:48:08.518Z","1.1.2-SNAPSHOT":"2023-03-23T11:30:51.357Z","1.1.2-v2-SNAPSHOT":"2023-03-27T07:48:02.956Z","1.1.2-v3-SNAPSHOT":"2023-03-27T09:06:26.425Z","1.1.2-v4-SNAPSHOT":"2023-03-30T11:58:07.490Z","1.1.3":"2023-04-26T05:17:23.558Z","1.1.4":"2023-05-01T09:44:06.470Z"},"name":"@gupshup-io/gupshup-onedirect","dist-tags":{"latest":"1.1.4"},"versions":{"1.0.2":{"name":"@gupshup-io/gupshup-onedirect","version":"1.0.2","description":"One Direct Module","main":"index.js","scripts":{"test":"mocha --timeout 0|| true"},"author":"","license":"ISC","dependencies":{"amqplib":"0.10.2","axios":"0.27.2","axios-retry":"3.3.1","dotenv":"^16.0.2"},"devDependencies":{"chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","mocha-steps":"^1.3.0"},"gitHead":"9939a5dab1b2c0b6cad3581f13911d6ab228e172","_id":"@gupshup-io/gupshup-onedirect@1.0.2","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-deChM190+lB1DK7x3v6tCaqABxhuoqKLxS3fO2olQZM0o4PURk8Icjcm+zCHXPisYw88XwQp/vv+7GhoXKpMsA==","shasum":"66a658c04450d02d52622561efc3905cdb84b4b6","tarball":"https://registry.npmjs.org/@gupshup-io/gupshup-onedirect/-/gupshup-onedirect-1.0.2.tgz","fileCount":13,"unpackedSize":31191,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2zCPrkdoyRiOVVfmHgDFXQ986HJMqLx0fDef805XiOAIgdbWePBW3NsFkbsBhcF+zwcPBjrSwseLft77CoyIpTvg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjIdJ/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrEVQ//WNsQFqa5h6ImY9sfPERbiWa8NmpPtHnM4DmUbI0yjPZpMn4n\r\nO63+m79cT3dtIHyZ6ii4YQUtvAu0033pXPoryFOAg2gjshcNJhYvMnapDoS2\r\n8v9S9NEaaHctj1KZ4bKCbtumCc64XwTRquZfbqoHToyL2H8pXTRnPwOI3D6j\r\nIuav2CJpP8NCUsee5JpQDL8Ww1s6wrr64oa9A/F9KAwIpvTv4u7IOjYm8HVI\r\nVqiTWvy2hkLB1KlSsAPId4Py/gslF6eHVhhXTganbcCCxJCpmGcgd9ksU+Wg\r\n+YwTSMlTHjR6PskXAnllUDTLh7di5BK7YhECyfu/PmFHdAovEpONT7IaiElb\r\nPLXTF3dx8Yu313C0bsu+taaR01uuAdTIUyOOj3iH6By1gJWX2mQtbtzFu8XW\r\nY8QUYvacXsHiUBkzOXMqQTWadjTWjn30ZPLuTynf9ku/Fr5e//i6ooeoNbPo\r\n+i/MUoTH7lADHNIp71EvTrJHoXm5ZLSyjmLfgpxTozKBhxPrFDVGGUldHGvC\r\nXjZe1W0wdHh81VHUJU1X/WaIj2fDYJ/hdbBfOrK6lBlDuiru9RjChc0iR4RW\r\nz4wSFAc/a47YmAuq9BWO/bMnnZaKlnKEP+uMIUspDFEi9+kILgWmPZl9FLEN\r\nD8sxggvhpj+0hUCunwp23ZfdzXtkc/B6BOc=\r\n=15nn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},"directories":{},"maintainers":[{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},{"name":"kamlesh1988","email":"kamlesh.patel.djs@gmail.com"},{"name":"nishuchandravanshi","email":"nishu.chandravanshi@gupshup.io"},{"name":"avinburicha","email":"avin.buricha@gupshup.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gupshup-onedirect_1.0.2_1663160959229_0.2058052538223083"},"_hasShrinkwrap":false},"1.0.5":{"name":"@gupshup-io/gupshup-onedirect","version":"1.0.5","description":"One Direct Module","main":"index.js","scripts":{"test":"mocha --timeout 0|| true"},"author":"","license":"ISC","dependencies":{"amqplib":"0.10.2","axios":"0.27.2","axios-retry":"3.3.1","log4js":"^6.6.1"},"devDependencies":{"chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","mocha-steps":"^1.3.0"},"gitHead":"51af904b6656d520beeef0da4454c756c6f8b4e7","_id":"@gupshup-io/gupshup-onedirect@1.0.5","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-aR3Z43tYjKM3m7QEBKp48NMxSOTuzeom1lLKGS0qnsx4kJzNknHlQ1xJPUummQA4iy2JWEd4M5En++GK0ztJ8g==","shasum":"6ac38c9ec973e83773bd67f083fe7a6f49e4581d","tarball":"https://registry.npmjs.org/@gupshup-io/gupshup-onedirect/-/gupshup-onedirect-1.0.5.tgz","fileCount":15,"unpackedSize":42103,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH3yLgX6fBsX8nA0e98FQP1+IcE8ZB4chap/0wL06WOBAiAF1NoJIw2L30aScWqTrSMSES5ocQRkmCU/a9V4+7YaKQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNqdpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGsxAAgWsqwe7mjzc2iUtxuxzhYBchFACvLfbcpqvtXzm4CV1LIIVD\r\nzlFTs9KR4/UUCNBU18R6y5JqAGgc0nRTV/j4X0tWtM8cLKWoc9xiu6wRQuLy\r\nbj7OAZsm8S7K0ZfKL5A5y1F6IKGC44tIxbPP20vbu17PbEr88awZdR3dmW2g\r\nyCgXkjzmmq6y1nufNlhAtflnBkUoRnMnjp49+pBq+PnG+f/lj/AS2cn0T5AG\r\n6PMXNrr90+kOBgJOnNVO1Sj9Kg7lQjxtn+nnPeMvVf9gf+JFLqJ7Fx3WBZgf\r\nh+TJLpdaiHIK4cmb+LyfcEQHSVRcjotSWgXa330kiuQA4s9rd/NaV2/s+S7c\r\neFdOC39JhY6H3VBccKSxajVd4KlSbw/AfV1xoPW26xrA4gMbjYOOa8QuTkco\r\nDrCiQjpc0C0JwrIpfy4dwYw5Coo7JfZCHw4336Ygl8jz+fYfycoInQBpO6NF\r\ndZ+UYetBQPGVgfgMWQRqayIGBpZ2sibY5ExXxerygcgNN7wHZguqyqmhKFrI\r\nFedLfpdIBq1GnuQzvoJKiOj7IlHrpbdNiq8DsHqt3YGd86fYYnQ5stuKlq6m\r\nK6VcB2i30VCt0kJYUC+GgFwlxfbVbjoEOdMsBLbaSQonRltIM2TSs8x57Wnt\r\nMq4JmdBs4Y32qfoYY3gJS5VdWcCi6ZulVPk=\r\n=rN0Q\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},"directories":{},"maintainers":[{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},{"name":"kamlesh1988","email":"kamlesh.patel.djs@gmail.com"},{"name":"nishuchandravanshi","email":"nishu.chandravanshi@gupshup.io"},{"name":"avinburicha","email":"avin.buricha@gupshup.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gupshup-onedirect_1.0.5_1664526185546_0.3741472386323612"},"_hasShrinkwrap":false},"1.0.9":{"name":"@gupshup-io/gupshup-onedirect","version":"1.0.9","description":"One Direct Module","main":"index.js","scripts":{"test":"mocha --timeout 0|| true"},"author":"","license":"ISC","dependencies":{"amqplib":"0.10.2","axios":"0.27.2","axios-retry":"3.3.1","log4js":"^6.6.1"},"devDependencies":{"chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","mocha-steps":"^1.3.0"},"gitHead":"51949bb1efdb88a3cdcb32b44b0768afb3188408","_id":"@gupshup-io/gupshup-onedirect@1.0.9","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-o/+OBrIZw64BJTECRevsHNp4uhU+uySWONesk8Qte7kYo0SfMGpcchiMHVGUZD5ZpatUeBgt1eWT8Ag0YdK9Qg==","shasum":"34f7f7f90e771d2d0f1d9b15da3f8d0f9dd6bbe1","tarball":"https://registry.npmjs.org/@gupshup-io/gupshup-onedirect/-/gupshup-onedirect-1.0.9.tgz","fileCount":15,"unpackedSize":42457,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCD+IutMZdeFWHQ4o6O5mGhGO6XHv1M5i95K6F7g7nytgIhAPox6LTYixtVmKJ66qUSFdEHjWGejWPYiv+eSl1BaRei"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjO+OLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpJcA/9FTEy2yuWGgmcXDBtP0fEWaiXytmHzFm/4/G10aJlWljwzmMx\r\n9xL0jdSlShr2gpn0jL1sYSVGOLkV+YiUdAB6iE9dDnckSeij7ZnwK8NLk3qb\r\nqMYmIaZQ2ufi3bFUQ3AAy0pqg7DeMBz9IvW+2Yuq3JkZpaI4BnqWfxO53LFS\r\nLtn+zV4QDlDl4WbVq0G9dHub44kOOM4Q1FuzzFij52g5Cxc2X0lcP2SHZCbL\r\nHr0kU1ixGp6tjDthuB/YcqIqxt9HxIJ6IOEsEMaB7ZyBdvuoy7T/OPXDQ5wq\r\nUTSiXyvK7EN9zDyzDH8ytwo6c9W3P9LgW4SbsMQ7W5eJbUP2muFlIP4soq1L\r\nBv9u/KCZjEuRAa+mBkiiwQH2dY/6okd8xFPbRbX7FxTEKYOa6Rffgd0olkYl\r\n6ZoOCCwCvMWfCnGvLS2wlksATnKaGuMeXpruTY6lT+fHFyr3E/x9i+3YAuqR\r\nGv7wo/iXBCNk1AkmIWvf8dwYIW3S9jcB8LErXFYRvY3bjr9gOihZy451lHyC\r\ng6IEdOs8DyiqufJsPjvhqgKge3Snkd1o0Rk409GeN4JWztC1/CAeKazSoJts\r\nbnh265NhOzsBDYMDWM6fygR89YR7OGJU7TmZEXdId2CGOMOxbcPT7NfBi9cD\r\n4e5bM2ZbZwAovNzrgEP1k4yYFSwCXhER8AY=\r\n=GJXx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},"directories":{},"maintainers":[{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},{"name":"kamlesh1988","email":"kamlesh.patel.djs@gmail.com"},{"name":"nishuchandravanshi","email":"nishu.chandravanshi@gupshup.io"},{"name":"avinburicha","email":"avin.buricha@gupshup.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gupshup-onedirect_1.0.9_1664869259407_0.4936395953329382"},"_hasShrinkwrap":false},"1.0.10":{"name":"@gupshup-io/gupshup-onedirect","version":"1.0.10","description":"One Direct Module","main":"index.js","scripts":{"test":"mocha --timeout 0|| true"},"author":"","license":"ISC","dependencies":{"amqplib":"0.10.2","axios":"0.27.2","axios-retry":"3.3.1","log4js":"^6.6.1"},"devDependencies":{"chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","mocha-steps":"^1.3.0"},"gitHead":"fc7681b36512a0eb7f4c3616b80d408eabf6db1d","_id":"@gupshup-io/gupshup-onedirect@1.0.10","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-SNyFuJjuBV+LB8Kh+Af2qTANcgLfVPrkFLXMBQo331Oi4uLMvNzavx/YVIyekumaU9T0RW+q3L0jGdqfKLJ32w==","shasum":"e737f939bfbe8dc39a005fc1816c65e8bc7bb3db","tarball":"https://registry.npmjs.org/@gupshup-io/gupshup-onedirect/-/gupshup-onedirect-1.0.10.tgz","fileCount":16,"unpackedSize":42755,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCS4oYUzlRdvNBM1hRs8g1NUPiLh3cWmUPgyel4dNpwKAIhAOv5KmqZhPbAKurgiXLLiqljEoXDEad1Mm0HuNtbAh5h"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjP9ZwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpG6A/7BxuuuaL5Q5RSOHPkhAJh8wqrKTQT9IuJAnWUNPFSJoGpmXL9\r\ngPifqJNeQCwHn+qv2qUZbe9Bq6tzbf0S+QmNx5IBW9gLswNQUWEzeeL4NiW9\r\nN5Z/fMk9Dxg7jraT/WOyocLksO2o/tOTvdWKfPxLckw0iZOGZPkKNQ9g7SDI\r\neaKRuLCVLI8G2edaNHZtCvfS49ov9f715AIGmq0W61G2G8OEfxmIrxBle6mC\r\nsYfzRDMeumOaE5xPqNiYD67eUhSARb/SRl2ClFXnZJCJBTnmEVLEzCdIeu09\r\nn8K0Kk82VNiJ0XXZMzCcqueeUlc2EfNGvXIpjKWoYUytso1elFbNBuXRc/Lo\r\ny5VBN5xNek5TW40O4lUnW5+0YOIiieGkGN7cshIGCQVUYFU9T6dnhnKuTNbF\r\njwVx52f1hCNqvMPphFnJLdmDseJ8L9YJo919rNQzVMNUCBxMXJSuwQkxq4M+\r\n8Hncm4udPQk2HqH7HdyFIatx+KXwZfQBez2cIDlYgW8ahqAJ9y/8FI97e8DM\r\nCgbJpc7N5tvu+sMdAkHtoA/xBt2HZCv3ffRGT+x30PTvvDyuSZHP3jHF36vZ\r\nyULikAFv6d/NF3g76wBI0uin13n90V2c7i+AyYWhPUpA+TKfFhCOuT5LDIL4\r\nbw6MM4mbqEuEMTfTh5Ivfz/sz8+L1E3PuE8=\r\n=gxZt\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},"directories":{},"maintainers":[{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},{"name":"kamlesh1988","email":"kamlesh.patel.djs@gmail.com"},{"name":"nishuchandravanshi","email":"nishu.chandravanshi@gupshup.io"},{"name":"avinburicha","email":"avin.buricha@gupshup.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gupshup-onedirect_1.0.10_1665128047812_0.2743247894547425"},"_hasShrinkwrap":false},"1.0.12":{"name":"@gupshup-io/gupshup-onedirect","version":"1.0.12","description":"One Direct Module","main":"index.js","scripts":{"test":"mocha --timeout 0|| true"},"author":"","license":"ISC","dependencies":{"amqplib":"0.10.2","axios":"0.27.2","axios-retry":"3.3.1","log4js":"^6.6.1"},"devDependencies":{"chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","mocha-steps":"^1.3.0"},"gitHead":"cb0cff3890fa7855b474bc3edde3aa58f8d4845c","_id":"@gupshup-io/gupshup-onedirect@1.0.12","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-wWJaSc4fx8rsvnzfgFsIan4nnEWxKLCZIOqXywIS5fptuDQjw0obSdsvUwIYwyXNjeptuVyxW2ntpLaq24jWXw==","shasum":"989f2093a8056f4abbf2f1a4a2cb5d8faf721b04","tarball":"https://registry.npmjs.org/@gupshup-io/gupshup-onedirect/-/gupshup-onedirect-1.0.12.tgz","fileCount":16,"unpackedSize":43339,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAaq1o3NRtH90hrK9QoFB5CVxZLr6r1V/VmyeIZaYnVQIgWqC7NTiBldd9LHn8KPX94MZex0zd6Nzjdw6zMOG2JSc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQ8uUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmryog//Z963GbwfxUWA7PnGb+DJnqBDSnk/k4C0LQ6IEEdWjJaw1SJq\r\n+EjPzpBiyW1eNr3+Bx/ykySGtHy/VtXLfrW+XT7Zcj5L/hdVmOzQzdgQxUAm\r\n3lECwkC/JCdVgynSn5eEJ35UGRwFN02FKtXQHP8rn+d1M6MUkZ55v1ug9uff\r\nywUhZ+F2p64rYJMIz+fbQuQI07HaC956dIn5Y5lYTOmxBK4qZf/bVf72O1E6\r\nS/W7Br6HbXvJEPR4flz7qj9eur50BI8xo1hL9mE84dyX4tCnjTnNz/KdWTP4\r\ny/7VCB+iVQtivXcMoAQ4AX0c8vDqBTF2wb3eurelu88NtXkJyxVluHgKi9QL\r\nlm/LlJjsorQSVwCbze+MgNXouCOJuWaIe/pgdQ3/vAtAxgHCw48xIoWXipk2\r\n5WU1lqbaLrqkTc3t7MG2X0IMg9kbHMLN8FITmQvXfdyCeVRQXRU67CzJGpnJ\r\nStx3G3PScrXHPkUvIiDbjpdZ4ZSon1JVOdg7ePP/aVm7v5x+KIPS9fbwYZms\r\nCC+YtWVrGcZ0PKVT7IHMeWOCWKEfdapLj+bddWixLUghEazSNZnAxsE8B6lR\r\nQdS/KPetcV8mHKWdJbnpPi5lPmtdgcnvLluxGcnEXIYlBB1AxnfGjD5Ff7Bh\r\nPFIRoo1eH5Lt7vHUhkqMRevYLMs4LZo3g/I=\r\n=Tv1m\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},"directories":{},"maintainers":[{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},{"name":"kamlesh1988","email":"kamlesh.patel.djs@gmail.com"},{"name":"nishuchandravanshi","email":"nishu.chandravanshi@gupshup.io"},{"name":"avinburicha","email":"avin.buricha@gupshup.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gupshup-onedirect_1.0.12_1665387411842_0.06820384978165484"},"_hasShrinkwrap":false},"1.0.14":{"name":"@gupshup-io/gupshup-onedirect","version":"1.0.14","description":"One Direct Module","main":"index.js","scripts":{"test":"mocha --timeout 0|| true"},"author":"","license":"ISC","dependencies":{"amqp-connection-manager":"^4.1.7","amqplib":"^0.10.2","axios":"0.27.2","axios-retry":"3.3.1","log4js":"^6.6.1"},"devDependencies":{"chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","mocha-steps":"^1.3.0"},"gitHead":"d1e78f72dce7990f9da25914593e0924e99fa263","_id":"@gupshup-io/gupshup-onedirect@1.0.14","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-TcV3o47WXjwJC4t9KK3IXtC4Z4nx9CvsctCLpSOn/udDcjliNH+wR9EmiHpPkNT4mQkpByOUHuhvjDB3sETYww==","shasum":"5125f3be703748c6d0b5ab5e1ee6f30fdc7f3d47","tarball":"https://registry.npmjs.org/@gupshup-io/gupshup-onedirect/-/gupshup-onedirect-1.0.14.tgz","fileCount":14,"unpackedSize":40014,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEo/O52taGkZrf1L8XBTDBIMXAfAoUcF7t21zD1ZGlz1AiApb4OdR3EIXlxWH/nOFU7R4MqyHXcsX1pcq8ny28AQfQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTQUpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpkLw/+OidXcVWRJI7G4lTYLJO6XgaVPzLl0XiTut/vMUZBrW17RqG0\r\nh2poTP+ArR6C1gRQVNRfkhyUVrVanqOIck2W+RoKZPDmY2Jmet8wh2s5romL\r\nObmovVS+o4E53h+ajw8BMqkkJ65FuczsBH0kyHCeJcww7znS23St5oMIwDUd\r\nkZfIUukqJm0ArbiTYV3HMPZ9IvkCpXv4OclmRR5d5qdFfTWdSciuIkESbKp6\r\nsWYBL7AhS6m5f4U5u3+1VUZ+ZubObU6sBQsv+ztQiNW2lnhrsdVT0qFaoBs8\r\nZcKzxbWRlHdOnPBk+xYmHRI5uNs6MjUPPUlEcK+W+kvUopXbd4PMLofyJXS1\r\nylaZBXDMBlvpc3tfLVq1ztorrkj6cPuPTMXahidEnKuwmF6lwT467WysHGj+\r\nCPwuU9NI4u7LI/A5vY4Zb120+5lODXj0bGtFZ36rI+yC+3eo28EKDelBOKs8\r\nZPhP8kwrmsNMtWeQn17R7Voz6KxLrvRMFMrEzXE5AdPB8/WMekZR4HlAT9v6\r\nU4zhJXhyezukvu8GlHfquXnsm0MHVWJZ2/Jfo+OKVgefi7VpcoDUGLvor+5S\r\ntOr0djmrucStLE/sTtk9PVyX/NgT6Jsp65bKIgu3tZBOU4FhZQ58M6NxSrbj\r\nhBDGlRA8EYanJ8dsOswLVYjjuEkTKKZQawo=\r\n=GCbk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},"directories":{},"maintainers":[{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},{"name":"kamlesh1988","email":"kamlesh.patel.djs@gmail.com"},{"name":"nishuchandravanshi","email":"nishu.chandravanshi@gupshup.io"},{"name":"avinburicha","email":"avin.buricha@gupshup.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gupshup-onedirect_1.0.14_1665991977164_0.8954504215752981"},"_hasShrinkwrap":false},"1.0.16":{"name":"@gupshup-io/gupshup-onedirect","version":"1.0.16","description":"One Direct Module","main":"index.js","scripts":{"test":"mocha --timeout 0|| true"},"author":"","license":"ISC","dependencies":{"amqp-connection-manager":"^4.1.7","amqplib":"^0.10.2","axios":"0.27.2","axios-retry":"3.3.1","log4js":"^6.6.1"},"devDependencies":{"chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","mocha-steps":"^1.3.0"},"gitHead":"6fcea8b2ffd324e62a7f9977e9b772ca13f28d03","_id":"@gupshup-io/gupshup-onedirect@1.0.16","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-nKrWXGdysb5loFxgM6hx02Oi1R9jVj9DFut6tS+/2inozbQvGmlRf5ljP+kA9kkW7XiX4z4C8h/UDf2pN8ATbQ==","shasum":"4b76c895b46b578d600e3b334c7a978ba378abc2","tarball":"https://registry.npmjs.org/@gupshup-io/gupshup-onedirect/-/gupshup-onedirect-1.0.16.tgz","fileCount":15,"unpackedSize":40875,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAI8Odcn7QnOSwxzsO/ER3Goh8Wbtox/ICqt8EuK/VRUAiBn7sxH2flRs2C5J88/grs/oJnNQGcPD68VDvnrWmRDhA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdddqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo4GQ/+KOeO9dqZUU1FlTNorj2P17+ViPh3IWFIsVEAPnaYIpInp21x\r\n81Jc9LuUKcpTGhxnC6NtzNhMtOH+YloTiOoXNQhKfCHXjgVzF3Rbg3ALQDf1\r\n0U/f9TOpYKF+qX1D+Af5Ybps7IZKFotExcYUpINOJXtstfIhsqfPFfqiwWty\r\nLxJ+ChYkUQrQXGFr/MqansraKw/mIUOuqL2h4JMl73VqGITSvnHtucViKB2V\r\nwj2iGABIJjjDcEdtaunV78OZzv/lrvcpMT4N7sQGVAkp6KTmfYb1uiR2Tkic\r\nbB0ZkRQ+UkA7U8xEBu5eASKeYEBEt92yIai07mMhI5uxE34vaouJAUPJX6br\r\nUiqMssjUuMuzmaY/rYFG7+NbHT/OdGQVGt8bs/rtIwVy1p1ECzg4Mr/W5X3c\r\n3OLLENmW6s6CRedF4HTCdnjtP4yYO8IYzNEbLOxYtyUmVgXZlsgCjINL1wXs\r\nJqUPQTuiypqTdNiQS/Z/+kktMUKL1LzDTUbVOHmbyg9N0tInt+Md2Q0f5gPN\r\nfsucGqKZJyPn1Koypo0cmK2oWWsFc0ZAc9jI6xtjQGG9jN86Sabxjijq4l3Q\r\noN8nhbTljk1bl5mJt7qmIstBXbFOEIuR3NQ7O1fe5+2jt9birNKp+Af3VWoD\r\nHHgt7eoMw1pBFcxqVScZfZfOigdOQ/mEVDM=\r\n=52we\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},"directories":{},"maintainers":[{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},{"name":"kamlesh1988","email":"kamlesh.patel.djs@gmail.com"},{"name":"nishuchandravanshi","email":"nishu.chandravanshi@gupshup.io"},{"name":"avinburicha","email":"avin.buricha@gupshup.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gupshup-onedirect_1.0.16_1668667242534_0.663265921266418"},"_hasShrinkwrap":false},"1.0.17":{"name":"@gupshup-io/gupshup-onedirect","version":"1.0.17","description":"One Direct Module","main":"index.js","scripts":{"test":"mocha --timeout 0|| true"},"author":"","license":"ISC","dependencies":{"amqp-connection-manager":"^4.1.7","amqplib":"^0.10.2","axios":"0.27.2","axios-retry":"3.3.1","log4js":"^6.6.1"},"devDependencies":{"chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","mocha-steps":"^1.3.0"},"gitHead":"6fcea8b2ffd324e62a7f9977e9b772ca13f28d03","_id":"@gupshup-io/gupshup-onedirect@1.0.17","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-foOCp5LffgiK+1fMlgs9wSX04r8qJSOdnEvWi+C54QSzOGfGgX0ulSccmIrUX1LpZhQYZpA+UWrjnC3ZgesPwA==","shasum":"77cd8a188a50c905d9e8a74c852799d24ac8f25a","tarball":"https://registry.npmjs.org/@gupshup-io/gupshup-onedirect/-/gupshup-onedirect-1.0.17.tgz","fileCount":15,"unpackedSize":40651,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHbvdkYON68A00Z+iOfRVd6PuAKZ+gqrXZOBut3XBT0NAiEAibCeOIer3OBAm8yoXQXkCdJfG7QKt6CiBO1AvhX3dV4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjddoPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqTtw//ar1xY+22J+nkHR9GXn6WDlzTvj74a7klecK4cd5vhHVuGgYN\r\nUvgeI/7EUvaqKWHFc7csg+G69ri6ZVUJi+54qsbINMBytX8U5myVfn6hNLgH\r\n5CGvpiO/Qor/i1CKqnsNCPvJAaa6K3cDLYQQTPjVmwgodaRnWOV+OjZ33EY5\r\ny4bdQpIINsvSTJ/nT4EWXC9MNWDKTgUqlihmT5MWcy+jcFeTBjTlR0icfspz\r\nVTBHXURs+PRNHzWVRcVIbYoJDECWN/0h0w/N73dPS4x0FRnr23IqoREyEZP/\r\np7P1/CRGWvEE2geZa1YjMCZNDTNnnhONOR6NMHASY+k3bgMII8qtE13UGL2J\r\nO6W+Y6oWrLs//kfye+sKTIMVf/Wz1SGeIXLCBAysuiK/IunzAeOfIP8fTtRm\r\nxIexykibijz4hKKqDAizA8N0wEwfqfB3dwGxwSdOv27gvsOCbglTo2WOiih1\r\nWamGr6kRx5R91faxpUe10e4m4YWKv2tce6kmvgXI2Qn+58kNwsiRUwRYILPp\r\nuzJXpnZLFEovuXCTU9v+SIvcvPa4hVq5VDeLIcF55QhWlEhcrPx6VkMf5/aN\r\niqw3KfTZDN+o77zMbk76KOVGPm9/sewHe833s5fmdnFpGDxUDpz7ZaAjdCF7\r\nOsyxdMpAHirAKsQnpYEA07KjneDjUc1b5+A=\r\n=XYz2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},"directories":{},"maintainers":[{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},{"name":"kamlesh1988","email":"kamlesh.patel.djs@gmail.com"},{"name":"nishuchandravanshi","email":"nishu.chandravanshi@gupshup.io"},{"name":"avinburicha","email":"avin.buricha@gupshup.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gupshup-onedirect_1.0.17_1668667919759_0.5396351416854588"},"_hasShrinkwrap":false},"1.1.0":{"name":"@gupshup-io/gupshup-onedirect","version":"1.1.0","description":"One Direct Module","main":"index.js","scripts":{"test":"mocha --timeout 0|| true"},"author":"","license":"ISC","dependencies":{"amqp-connection-manager":"^4.1.7","amqplib":"^0.10.2","axios":"0.27.2","axios-retry":"3.3.1"},"devDependencies":{"chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","mocha-steps":"^1.3.0"},"gitHead":"8b06047753448d2019400ed4393a9345c17e77e0","_id":"@gupshup-io/gupshup-onedirect@1.1.0","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-ykkLdOBquQl4q1o/UindfYokO67jFv3I86J16XR6pvJr74M0htJHmmn+ViSA4/iF5Ohh0Ep1lr0HHjJe5nR65A==","shasum":"5ef102845bc7ac7cba042691ab8fd35e338c52c2","tarball":"https://registry.npmjs.org/@gupshup-io/gupshup-onedirect/-/gupshup-onedirect-1.1.0.tgz","fileCount":14,"unpackedSize":39628,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDosDERcWPpAbfL55oVg4gFBvx1iK1pVPsbxHSVMTk63AIgfI2g9EZTP6tosJLMYhs2SyjUhY26BE3Psnwgt6qCbew="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjv6JOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrBhQ//SWF2ekHfIaEj4qR7XU+0qfETyqLvf/uuKzuc2oCP7z0W0qVh\r\nVBJoeOrZLHg4L/dk0+1yYbmFe2af1cPv26CKDso+4RyhR5B3DhNVDlmViyM8\r\nb6cZzUi5XD35yAjj9RnFFZ2wbf5l8uxb6SbdZPSx8/x3D6cYQzxP5FXgEBv/\r\nOI9l0/rUi3sjCEVJmX9IL9IHzlawwfMQybd50Ha+2pGHZnzKjcYCt6KjlYsZ\r\nXrqwKpkNkS/+MtfZiS7yo/c1bVj6v8Ly9oe6d8oPPnp+M7wAbl581XNFEpNw\r\nQmGaEhr8P0kdcVePOza84S3oLzerHbf8WU+B2MSuW0Wxz7rxL98k08qvpAcx\r\nQdRgqKuaS95AMLhwkEtyMS/9c44/WR/3Sb46xptfKKXHWts6p0phRWL4KAny\r\n5FE47XtfBwyZzjURCEIlL26UyDywqA5HqfpSYFOqAkerEgzz6WIb5fam6V7T\r\nLU34e7H/Q8DGrYaS1QlnbKvYeCZv/oMW2smWj42epLSvsDy3jufwT6T0jBl6\r\nd81ns4TAlvmhVQTzkx2bil9whoxL9LC4jirD/oL5vZtvEi/k0gRCXPlNUJVM\r\nuVYhYh/6OyYDz5R5FKe2CGsiob6tKYAq3HTBkdgyhckO0+ZFHqKl2qx8Yi9w\r\nHrNiT3fLHl1d7/mHjNParS2R7YuA0WXRU5s=\r\n=Ecf5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},"directories":{},"maintainers":[{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},{"name":"kamlesh1988","email":"kamlesh.patel.djs@gmail.com"},{"name":"nishuchandravanshi","email":"nishu.chandravanshi@gupshup.io"},{"name":"avinburicha","email":"avin.buricha@gupshup.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gupshup-onedirect_1.1.0_1673503310503_0.33678989708860985"},"_hasShrinkwrap":false},"1.1.1":{"name":"@gupshup-io/gupshup-onedirect","version":"1.1.1","description":"One Direct Module","main":"index.js","scripts":{"test":"mocha --timeout 0|| true"},"author":"","license":"ISC","dependencies":{"amqp-connection-manager":"^4.1.7","amqplib":"^0.10.2","axios":"0.27.2","axios-retry":"3.3.1"},"devDependencies":{"chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","mocha-steps":"^1.3.0"},"gitHead":"b0de93fd984123c9aebb93355e2e8222310baac0","_id":"@gupshup-io/gupshup-onedirect@1.1.1","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-zn4LzXrAXEsRzwb5eBEtpO6Ci/f3tQSySgRU1JAkj6O9Nm2cRhnkqBrgX8shvQNJ9lX6/u9/crRqyytOcPGVlw==","shasum":"cceeb8aaf2c247a7b952c9377cc1505813b0248b","tarball":"https://registry.npmjs.org/@gupshup-io/gupshup-onedirect/-/gupshup-onedirect-1.1.1.tgz","fileCount":14,"unpackedSize":39622,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChglgfbd1ixOSxOlD6AUBaIEDX+I/fxJNOvR9aDN6IaQIhAM7P8psNRmf1YgZ8BaX3xuZp09nTyjhDkcF8tmsSod6a"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7dGoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqAPhAAkql2UuYOxsheopLAuBwv4TflHOMTiig2GZO+SKFmuzaw3Cjc\r\nD/yhwNASffqzieh33smPT040VqcBp5a7zvj5ts8WES9ahgCbCKelJfw99h3+\r\nCAOMAdzij9aDMqhUdaLsx1YuWwn9WkF6zNko2Qg+Ys+N049bCBJbdCzK/KkF\r\nd6BkN6L2DAgoxjee2/nrecZK4Zym8DUAT6GGHVUOnNMc/r7Qr++SMyiAHjsA\r\nt1Y49FVa8gWk0ZF2Q9+QQceUfZ6E9PQMahOQKI5fD7DHDuGFF9XQKGP83Q/k\r\nsMRp+IJp76M7CylkRZvgM43wcrc4hjwKBUyu68EVGRPZ7coe0iCiW8BclhMe\r\nCIMNBu43w09nMOaHBleOBIVPt149H4gLJv/Ed8td8HJfq9w3Mv/Va+RzpSSJ\r\na1/k81R2ZrSDbOO42uezt8g3kho+DO40Uew1pzpdDhFyKfL1HfsAQpgoqwDq\r\nqmren3akeaiUevUO6fXcFNoZXcwgkmsEGp9/QbrFu1MJAn1rurjRzCHHb6nO\r\n64FaV4EbNraysgqoB8aY1WVurmz23yQDmLN+CphHtXIlwqg+64LXD3lLj6Qa\r\nWsivHyqZT4Yh79z123u0LQFfajRFX8p+1RidZIBORX0I/hlvJ9bXc3/ulGy/\r\nTqPfrtrkWYR4S28wqPmHvwL32wXcX3ULq8Q=\r\n=8ubd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},"directories":{},"maintainers":[{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},{"name":"kamlesh1988","email":"kamlesh.patel.djs@gmail.com"},{"name":"nishuchandravanshi","email":"nishu.chandravanshi@gupshup.io"},{"name":"avinburicha","email":"avin.buricha@gupshup.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gupshup-onedirect_1.1.1_1676530088290_0.0018848646548548231"},"_hasShrinkwrap":false},"1.1.2-SNAPSHOT":{"name":"@gupshup-io/gupshup-onedirect","version":"1.1.2-SNAPSHOT","description":"One Direct Module","main":"index.js","scripts":{"test":"mocha --timeout 0|| true"},"author":"","license":"ISC","dependencies":{"amqp-connection-manager":"^4.1.7","amqplib":"^0.10.2","axios":"0.27.2","axios-retry":"3.3.1"},"devDependencies":{"chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","mocha-steps":"^1.3.0"},"gitHead":"7d4d43c4c6326a3484909f8f686ccc9cde65ff7f","_id":"@gupshup-io/gupshup-onedirect@1.1.2-SNAPSHOT","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-a2ryG7UlQ8IOoejxL4/Vvw6JQOuS4UGBdWJpNXoeaF/IT9KLjzIQO+KyloDTjiXkLbU8KxV3aHCEFYIv1tfJmA==","shasum":"ce67606bf07f0a18e133b36ac5aaf5c0594a9b4e","tarball":"https://registry.npmjs.org/@gupshup-io/gupshup-onedirect/-/gupshup-onedirect-1.1.2-SNAPSHOT.tgz","fileCount":14,"unpackedSize":41034,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGeFMMG9+P5Q1/xAditxpXwPvkyYfahCjzgx8K+9mF0PAiEApq6OqWzcdfwb4EvdyQj5g3jNC6n/t3Z+4Qia9AB2dK4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHDhrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphjA/8D+6W0w/aFZmaAI8faF4aXz/3AIG9hDG6sHJvGgCVmZDkTcEq\r\nB1s8zVWaKQ1cpznVBvJEwo91Q5DsgW/btBbpeKmZ9KRGm9JZIMOCqUpFic3H\r\n4EbOtD9TGarreia5Tr/5vdTzb7R7E1d7HLknkQVCAYhTgTf5iRsTZKPFClHj\r\n10W0UxEKl775Yl5hDKHavJnNhDaEwoUl2/sFg0wzQCDFDWugfgCJfDw2TGMN\r\nDjilAnGhJwf7y+hdd2a5xemNVbbA+ycKAPi+RIyh6fXXn8kEKoGLukdKdbh5\r\n2oegnXDwiUfA375vAkKiobOaNM/d/aOaG9yagLOipkjSn7aud8wAxcv4sm+y\r\nWKJO8yqfXABQhAbOUxrXr/7S2ReNRYTccZqe646PtKZzN89h6Oe9x9gXBlzE\r\nNex00V8sOvJfBIA/FDA0Cr2WAHIghSoi+50GEkoyNA9cwb1SLfQL1e8cFdKz\r\nfRQDUvLyKmZC6/FXkVHZHbWLHUUlKSrJ0O1mQrm6nqR9NYxKAVLph6TDa6/+\r\npZ7uHC2upqQYixfc4Wn2KhSCBM0hdAiyIZblZAyc1qVwy+KFooQkKFTaw+Tx\r\nEYqUNQihW0rR0RB9XvCvKVfg0XyKzr1LcXcWfnZ61uSH/EjvfvLcgrcrmFgq\r\n/qmjKS9lU0y1uaBouRWAd0kytLMd2g4c7KE=\r\n=baNu\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},"directories":{},"maintainers":[{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},{"name":"kamlesh1988","email":"kamlesh.patel.djs@gmail.com"},{"name":"nishuchandravanshi","email":"nishu.chandravanshi@gupshup.io"},{"name":"avinburicha","email":"avin.buricha@gupshup.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gupshup-onedirect_1.1.2-SNAPSHOT_1679571051141_0.6269358737590647"},"_hasShrinkwrap":false},"1.1.2-v3-SNAPSHOT":{"name":"@gupshup-io/gupshup-onedirect","version":"1.1.2-v3-SNAPSHOT","description":"One Direct Module","main":"index.js","scripts":{"test":"mocha --timeout 0|| true"},"author":"","license":"ISC","dependencies":{"amqp-connection-manager":"^4.1.7","amqplib":"^0.10.2","axios":"0.27.2","axios-retry":"3.3.1"},"devDependencies":{"chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","mocha-steps":"^1.3.0"},"gitHead":"7d4d43c4c6326a3484909f8f686ccc9cde65ff7f","_id":"@gupshup-io/gupshup-onedirect@1.1.2-v3-SNAPSHOT","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-nj9fLnmJP/DWdG+w8kDReXSV8ufJp+1lndqCfH9/b7CtXt2BuvwNaca0bIbsa+0zzCoa6lCppKxvsW31H4FbSA==","shasum":"d72f574e7054b3325619cf280caf5c1b598f446a","tarball":"https://registry.npmjs.org/@gupshup-io/gupshup-onedirect/-/gupshup-onedirect-1.1.2-v3-SNAPSHOT.tgz","fileCount":14,"unpackedSize":41114,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+8YQqwVOi5Q+sZvE54WwSLzCx5iGV1YwCj+GxmvnPKgIhAN2KW2VTR/O15kj5Q7ETpMpT8z7JMF6OYOOytrmBsCON"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIVySACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqcbw//d0Ge67COE7hZ0m84ukT5NDPdHK1CsCv2GOacPf5YCb8DD3Il\r\nIZS0TXi7EV6VOSKl1mbHwg9nsQQdV04kVnV6OgARmbdus669XeKVarHNCdHo\r\nZjWxPkArwoxtpTJ8b0c5cNqAEPAKTGN29HUjEYLborRBWmWWryNh7bN9b68b\r\n+/dc+x+RaCT4RSl60BCeIgp7Aokgj/CEkmNUjHtXuzNGJbKY1BMNLu3VTJCx\r\nruczhaJOS6hwdgyhYIuNxOtVHLiSSlKdhT3UmA4NmdVPSDI1CqkHPPbad1Wu\r\n5dLuGzZQ2ilMo+BXAK+AnhOJQAVZz+OVA2pdFPS98qeVYxKfzOPPuUapt2nY\r\nsX0O0HrrYtimUW6aHMV+c9dAtV2gAK5Wvc28gdlsaMBvEIDfh73Gd5qLwhNf\r\nOeBWWQ1dtoy+qwODpE/CYB55B26B3MIa5ZEFnRTtpeC+2ZpJ8FsYh95RjGC9\r\nJSgwbBlaGWcsVrEz85jfFqoBFuOHkXL6GxG6UARVB4Kk9fnH2WXK80zgDutn\r\nKb1sym0uAVI+y9iJRRIwGcMqVviYPwiWMxg1N9vtIzKuS+WQ/PRPWwKwHQJl\r\nnxfTEKMj56PJmbv2Lexx50snv/6CLp0iKHygyKXwXC/H6QAie6bSWxyoecHN\r\n4rE2gW1ep9FG2LqUYUHC9CVy2KtRAWUoaFA=\r\n=ruFJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},"directories":{},"maintainers":[{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},{"name":"kamlesh1988","email":"kamlesh.patel.djs@gmail.com"},{"name":"nishuchandravanshi","email":"nishu.chandravanshi@gupshup.io"},{"name":"avinburicha","email":"avin.buricha@gupshup.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gupshup-onedirect_1.1.2-v3-SNAPSHOT_1679907986257_0.25776385464857476"},"_hasShrinkwrap":false},"1.1.2-v4-SNAPSHOT":{"name":"@gupshup-io/gupshup-onedirect","version":"1.1.2-v4-SNAPSHOT","description":"One Direct Module","main":"index.js","scripts":{"test":"mocha --timeout 0|| true"},"author":"","license":"ISC","dependencies":{"amqp-connection-manager":"^4.1.7","amqplib":"^0.10.2","axios":"0.27.2","axios-retry":"3.3.1"},"devDependencies":{"chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","mocha-steps":"^1.3.0"},"gitHead":"7d4d43c4c6326a3484909f8f686ccc9cde65ff7f","_id":"@gupshup-io/gupshup-onedirect@1.1.2-v4-SNAPSHOT","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-QMV5tkylptbDU4RsA+ZYlS9oZwiNPNIeFtw6vR32EDNzoM7B7g5EvzyFnDxvkPbyG6AND7zJ47Wpnh+Oy4xM0g==","shasum":"d2077ee0fe7b943490620fd609aabbf9558831bd","tarball":"https://registry.npmjs.org/@gupshup-io/gupshup-onedirect/-/gupshup-onedirect-1.1.2-v4-SNAPSHOT.tgz","fileCount":14,"unpackedSize":40806,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDaKGq4dbA8+eUS4+PjBQ162UqnSIl1LuzJiwSZSssLxQIgHj7JrwJrwagxsLUBXVkpaCEw4CyQ8AlPu2CnJwHfIhc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJXlPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq7Hw/+LSmZ2c6pnHSKYUIdfKsrmnyBG1Yrjwdr/QTgpp4fRdqpsRe+\r\nj+ZVy1ZGoj/GoskYqC7zc9X+zA1Uu3VXX/Y0JQZMbf6rjtl+fzgjIlQ3PMKj\r\ntDcjgLkW8V3U+OMd+Xugh/zsoOUywNgeSnCee5Ho39Byf+Ud0DwVaURsdRj5\r\nBopRwF8Im+nYy3JVgCu2YmnLfZc+UjH5iKvo2QmC7fNOMCiJA5L/dGpcxMYT\r\n9QfRmkvMss63kc/aEz/aKbrX7vtyeK7cGe5oxtCpKSwFi0DI++Idbhxv8zbZ\r\nib3bwhZ7FFpH1VIPsXr4xLFyHa5KyAeez/eBiqgwVNUwQPPI+SFS6xdvMUZr\r\nU6AwNQnDwQgTAbkmLzJzJDbrbf9vbV+2OwBf+JlFO86gb/kNBnlEqffmftSc\r\n4YGszQnIwYcxPhluQ4lI1JiUhDyKwHiMj8wPwq3MP/aALkSLPbm2klxPvKoD\r\nqcvdlkjR78giChOy7NaN4cDipLbLUIxRpwVCE8BalAz7kbcVrCaaCKORmk5Q\r\ncI4A0ZUJHXIib385IQjraAcFFBDZ0PEJ1aa8JHihvl2RvIt3K0YillYHCHMY\r\nFGCCkFQUm3s5KJZfrhXVDPZkGeAnA8dLS14wi4Jg2xpdIoUh9q0nrdbF2kT3\r\nhT4A9vwFf8m5bvVuEIrKW480fOkoJEBFgSg=\r\n=aSgy\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},"directories":{},"maintainers":[{"name":"akshay_mane","email":"akshay.mane@gupshup.io"},{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},{"name":"kamlesh1988","email":"kamlesh.patel.djs@gmail.com"},{"name":"nishuchandravanshi","email":"nishu.chandravanshi@gupshup.io"},{"name":"avinburicha","email":"avin.buricha@gupshup.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gupshup-onedirect_1.1.2-v4-SNAPSHOT_1680177487295_0.38257466196028833"},"_hasShrinkwrap":false},"1.1.3":{"name":"@gupshup-io/gupshup-onedirect","version":"1.1.3","description":"One Direct Module","main":"index.js","scripts":{"test":"mocha --timeout 0|| true"},"author":"","license":"ISC","dependencies":{"amqp-connection-manager":"^4.1.7","amqplib":"^0.10.2","axios":"0.27.2","axios-retry":"3.3.1"},"devDependencies":{"chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","mocha-steps":"^1.3.0"},"gitHead":"6a2fda0d062feba226a8c84402c38b199015aff8","_id":"@gupshup-io/gupshup-onedirect@1.1.3","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-VAIkD62lwdZjCpr0SkgeK4NUln/ym9eTIx9gxNSqEvYjHJ7PO2Oa+fcY3xKXtM4cXk6ubA2krfNOhm+MGtgyDg==","shasum":"967edd7a7233c199bb44408b3b384e8a9f60e3a0","tarball":"https://registry.npmjs.org/@gupshup-io/gupshup-onedirect/-/gupshup-onedirect-1.1.3.tgz","fileCount":14,"unpackedSize":40887,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICp3wC/5IV+uefccQjDp2VbwaGWP8j7Czw67KZik+CVXAiEAh+gLt7zNdTHzpjmY2ZpvoBheoRjXYzZ1JaJZZcEMgmo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSLPjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqtcg//UAKcJKrHVGkVPqn7NBW57bZ+fk0+5Z2cb/8750EPyqj946td\r\n/lL+X2tqrxq4c4IbnJ1KGWyMdjxcrjYHD9DIOfj/VQ0n+GXGev100s6CxQyx\r\ncTAnLwNCOhxZ+8PxEGJkyrqL/tErFVHz8AFEKB4l7ImVuIZm3eSph7xwjkh6\r\nuSkSiXcbVvm5QUQVNyJ1+TmlyaqF+jTx1pU+AAlz3XgWvXh8TD0HQWLBrLzE\r\ntU0GBlaoYxWBnHfBl4O96S4sKL55BZlkrEkPdn9u92K85I3bPBrq3j2s6dOR\r\nWP8tDioltQhJ4DpjRlU1Rmw4TL5JIphH9dbYtD6S7aoFudQmLX0KjHtrK6GF\r\n7Uxbw6uey7zrLHjThmbxuO3fIz4s8492JirHJdKvYTDxVJpFC3jFF5mTcd+r\r\nsejeO305vhLidFwYs8yPTG9hHrSYfogsUyTaucCS2veSSsYARgGSvqvBLe9e\r\nkbnna6YlD+0gcsJRa4pJSJ1CtaI1/B6LxI1qb6DsGxSESNGWzQGZkmh5aB9E\r\nBDTZZ+g1+3UuyyrhPBSz6a4mXspOPt4Jc/oFRr+JLBcxYl1B/QRaX7OQ0zB3\r\nkkM3OyalK0jV37viUk5KrCIs0RnLqzq44ApyyIUKsjzfs9+UcxCJMpY+/jp2\r\n7/GhWbERLULCkj7DYbJa2FHkwLBGRMDw/c4=\r\n=obZ/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},"directories":{},"maintainers":[{"name":"akshay_mane","email":"akshay.mane@gupshup.io"},{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},{"name":"kamlesh1988","email":"kamlesh.patel.djs@gmail.com"},{"name":"nishuchandravanshi","email":"nishu.chandravanshi@gupshup.io"},{"name":"avinburicha","email":"avin.buricha@gupshup.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gupshup-onedirect_1.1.3_1682486243342_0.429952255992202"},"_hasShrinkwrap":false},"1.1.4":{"name":"@gupshup-io/gupshup-onedirect","version":"1.1.4","description":"One Direct Module","main":"index.js","scripts":{"test":"mocha --timeout 0|| true"},"author":"","license":"ISC","dependencies":{"amqp-connection-manager":"^4.1.7","amqplib":"^0.10.2","axios":"0.27.2","axios-retry":"3.3.1"},"devDependencies":{"chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","mocha-steps":"^1.3.0"},"gitHead":"3da9438536ee294e5ab9f21bc66450eda11e8eef","_id":"@gupshup-io/gupshup-onedirect@1.1.4","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-/yv8/3osrkafF7in+CqqTj+AeAsTVwIQKTuhHLLlIjJuEjvovHiQ/uCF522jRXghG23eTqFAtiVhX2I9ysLaMg==","shasum":"ac6797cb04acb34b87811d180c8fd99df1e649e5","tarball":"https://registry.npmjs.org/@gupshup-io/gupshup-onedirect/-/gupshup-onedirect-1.1.4.tgz","fileCount":14,"unpackedSize":42817,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/WHlIOPtdFv1mdBwhYzXF79y0T5Mxeqb7yPFqBLJ8BAIgVzZbFBogQVd4IyLoePdq4G1TYx2c/Aoa5Fxdf43MxOc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkT4nmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrxVA/8DgA6hvQqPtL5a0C8aDraupN23CcJF07Vy3De4rlF/PCCNRiH\r\nJC1pfUM9xGcfYbTfuhCoWvks5xSOjFqIzGb+f7/tqGqUCGs6JHvBoqvhy7wq\r\nw6PS1LMPjBof8vk2BuWXerS79xAJx7fbgcDPdpNu7bXcY8q+Quq6w0vM9Huu\r\nmokBao+YwXqS0QBni62CMEZQcX/3K6hyUre7ZVbEJeRoD+AKy1TMCc0zF2gQ\r\nmx9InV81lNHCPoF0JIkmjpFRweFvZip0EK0GLsbAcTSWI74nYwFR7a3iOmCC\r\nMSFkeXeRhByjBNI4NesEGFIREDaZHzesUZV0ZNsfIcaE5LWqXGD5UizjJviQ\r\nNP8qwSffaGm9Ggk66qboqkh8bLUuu8PFqjdvG07HGUmMFiVV06kgnGv05T2J\r\neRA1lwcYDnSeUkeRu/ZAqO3dc3EXpKNo2Dv58VybTsMYRpb25nVv2h4G2osQ\r\nTfFYN3dNX2dRX2UsITA0XDFE+NCDqwdrhOVqDghzevlqSI391SN0KVZ6FpmK\r\nlbX2ZXsNEkDgTO8R35JlXQ7Uu+hXHkg6oEkRnyC15MMwjTzSrQAujzuZ1D9L\r\nOFHIPHOGKStGtmPLAId8X+ALA7H42zvlAee8D33L37nChZOQkmP5ycgnteJW\r\nndE3TNVs/3IZ+Fgm0r7Q0shZnVUhNhdckoE=\r\n=SACh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},"directories":{},"maintainers":[{"name":"akshay_mane","email":"akshay.mane@gupshup.io"},{"name":"akhil.koilada","email":"akhil.koilada@gupshup.io"},{"name":"kamlesh1988","email":"kamlesh.patel.djs@gmail.com"},{"name":"nishuchandravanshi","email":"nishu.chandravanshi@gupshup.io"},{"name":"avinburicha","email":"avin.buricha@gupshup.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gupshup-onedirect_1.1.4_1682934246293_0.40439099108924537"},"_hasShrinkwrap":false}},"maintainers":[{"email":"navin.sharma@gupshup.io","name":"navin.sharma"},{"email":"gobinath.v@gupshup.io","name":"gobinathv"},{"email":"akshay.mane@gupshup.io","name":"akshay_mane"},{"email":"akhil.koilada@gupshup.io","name":"akhil.koilada"},{"email":"kamlesh.patel.djs@gmail.com","name":"kamlesh1988"},{"email":"nishu.chandravanshi@gupshup.io","name":"nishuchandravanshi"},{"email":"avin.buricha@gupshup.io","name":"avinburicha"}],"description":"One Direct Module","license":"ISC","readme":"# Overview\n\nThis library can be added in the bot project and can be used to send the analytics to the One Direct\nplatform or send the analytics data to different applications (ex: Convomate).\n\n1. Send Analytics to the One Direct platform.\n2. Send Analytics Data to Applications such as Convomate,etc. using Queuing Mechanism.\n\n# Installation\n\n```\nnpm install @gupshup-io/gupshup-onedirect\n```\n\n# 1. Send Analytics to One Direct Platform\n\nIn order to connect to OneDirect analytics we need following details -\n\n1. **One Direct Brand Auth Token** : Token is required to push the analytics\n2. **One Direct Brand Mobile Number** : The mobile number which the brand is associated with\n3. **One Direct Brand Host Name** : Host name of the brand which is registered in One Direct\n4. **Bot Id** : Unique Id for the bot through which the current message is sent\n5. **Bot Name** :  Name of the corresponding bot.\n6. **Channel Name** : Channel through which message is being sent.\n\nThese above details need to passed in the constructor call shown as below:\n\n## Initialization\n\n```\nconst oneDirectSDK = require(\"@gupshup-io/gupshup-onedirect\").oneDirectSDK;\nconst whatsAppChannel = new oneDirectSDK(\n                    {\n                        oneDirectBrandAuthToken: ``,           # Unique API Key of the customer\n                        oneDirectBrandAccountMobileNumber: ``, # Associated Mobile number\n                                                                 of the oneDirect Account\n                        oneDirectBrandAccountHostName: ``      # Host name of the customer\n                    }, \n                    {\n                        botName: ``,                           # Bot Name to be used for conversation\n                        botId: ``,                             # Corresponding bot Id\n                        channelName: ``                        # Channel through which message is being sent.\n                    });\n```\n\n### Flow\n\nThe library should be used in order to identify the flow of events by the user. From where the user started the journey\nand which route the user has taken, so its necessary to tag every Message/Node/State in the bot flow. And that tag\nshould be passed as a parameter to the library. Also, we need to make sure that parent Message/Node/State is also known\nand passed to the library.\n\n## Methods\n\n* **captureEvent** : This method takes in the node details, message to be passed and channel id for both inbound and\n   outbound requests and further executes the requests. The following are the parameters that need to be passed : \n\n    * **incomingMsg** (String) : Message received from the user\n    * **outgoingMsg** (String) : Message responded by the bot\n    * **channelId** (Number): Unique Id for the channel in which the current message is exchanged\n    * **inboundNodeData** (JSON Object) : Incoming Message JSON Object with nodeId, nodeName, parentId, flowName and flowId as keys.\n   ```\n      inboundNodeData = {\n        \"nodeId\": \"\",   # Id for the node inside the flow which the message is generated by\n        \"nodeName\": \"\", # Name of the corresponding node\n        \"parentId\": \"\", # Id for the node after which the current Node is executed.\n        \"flowName\": \"\", # Name of the flow to which the message is related to\n        \"flowId\": \"\",   # Id of the corresponding flow\n    }\n   \n      Flow will be the higher level entity and node will be entity within flow\n      For example - `Menu` will be flow (Higher level) and `display_menu` will be a node\n      Similarly `view_products` will be flow and `display_toothpaste`, `display_toothbrush`, `display_item3` will all be nodes.\n      NodeId if not present, can be used same as nodeName, similarly if flowId can be used as same as flowName\n      Parent ID is basically from which node is reply coming from.\n    ```\n    * **outboundNodeData** (JSON Object): Outgoing Message JSON Object with nodeId, nodeName, parentId, flowName and flowId as keys.\n    ```\n      nodeinfo = {\n        \"nodeId\": \"\",       # Id for the node inside the flow which the message is generated by\n        \"nodeName\": \"\",     # Name of the corresponding node\n        \"parentId\": \"\",     # Id for the node after which the current Node is executed.\n        \"flowName\": \"\",     # Name of the flow to which the message is related to\n        \"flowId\": \"\",       # Id of the corresponding flow\n        \"sessionId\": \"\",    # Unique session Id in which the current message is sent(Required only when either Method type is outbound)\n    }\n    ```\n    * **retryCount** (Number): Maximum number of tries to send the request if it fails . Default value is 0.\n    * **methodType** (String): The type of request that should be called. Available methodTypes are :\n                   1. inbound\n                   2. outbound\n                   3. exchange (Inbound followed by outbound).\n                   Default value is exchange.\n\n## Example\n\n```\n#For Whatsapp channel\nconst oneDirectSDK = require(\"@gupshup-io/gupshup-onedirect\").oneDirectSDK;\n\nconst whatsAppChannel = new oneDirectSDK({\n    oneDirectBrandAuthToken: `xxxxxxxxx`,                        \n    oneDirectBrandAccountMobileNumber: `+91xxxxxxx`,              \n    oneDirectBrandAccountHostName: `xxxxx.xxxxxx.xxx`                   \n}, {\n    botName: `One Direct Module Test Bot`,\n    botId: `678`,\n    channelName: \"WHATSAPP\"\n});\n\n## Note : In case of outbound request, the sessionId needs to be passed in outboundNodeData as shown in example. \n\n## Inbound request\n\ninboundMsgData = {incomingMsg: \"Hi..!!\",channelId: 29712813}\ninboundNodeData =\n    {\n        nodeId: `inboundNode`,\n        nodeName: `inboundNode`,\n        parentId: null,\n        flowName: `testflowIn`,\n        flowId: `testflowIn`\n    }\nvar inboundResponse = whatsAppChannel.captureEvent(inboundMsgData,inboundNodeData,null,5,\"inbound\")\n\n## Outbound Request\n\noutboundMsgData = {outgoingMsg: \"What would you like to buy.?\"}\noutboundNodeData =\n    {\n        nodeId: `outboundNode`,\n        nodeName: `outboundNode`,\n        parentId: `inboundNode`,\n        flowName: `testflowOut`,\n        flowId: `testflowOut`,\n        sessionId: 1234567          #Valid Session Id is required\n    }\nvar outboundResponse = whatsAppChannel.captureEvent(outboundMsgData,null,outboundNodeData,5,\"outbound\")\n\n## Both Inbound and Outbound\n\nmsgData = {incomingMsg: \"Hi..!!\", outgoingMsg: \"What would you like to buy.?\", channelId: 29712813}\ninboundNodeData =\n    {\n        nodeId: `inboundNode`,\n        nodeName: `inboundNode`,\n        parentId: null,\n        flowName: `testflowIn`,\n        flowId: `testflowIn`\n    }\noutboundNodeData =\n    {\n        nodeId: `outboundNode`,\n        nodeName: `outboundNode`,\n        parentId: `inboundNode`,\n        flowName: `testflowIn`,\n        flowId: `testflowIn`,\n    }\nwhatsAppChannel.captureEvent(msgData,inboundNodeData,outboundNodeData,5,\"exchange\");\n\n\n```\n\n# 2. Send Data to any other app using Queue\n\nIn order to send data to any other app using queue, we would need the following values-\n\n1. **Bot Id** : Unique Id for the bot through which the current message is sent\n2. **Bot Name** :  Name of the corresponding bot.\n3. **Channel Name** : Channel through which message is being sent.\n4. **RabbitMQ URL** : Rabbit MQ Connection URL over which data is sent\n5. **Exchange Name** : Exchange name across which data is sent\n6. **Routing Key** : Routing Key acts as an address that exchange uses to decide where the data is sent \n\n\nThese above details need to passed in the constructor call shown as below:\n\n\n## Initialization\n\n```\nconst SendDataByQueue = require(\"@gupshup-io/gupshup-onedirect\").sendDataByQueue;\nconst sendDataByQueue = new SendDataByQueue(\n                    {\n                        channelName: ``                        # Channel through which message is being sent.\n                    },\n                    {\n                        rabbitmqURL : `` ,                     # RabbitMQ Connection URL\n                        exchange: ``,                          # Exchange Name\n                        routingKey : ``,                       # Routing Key for the exchange\n                    });\n```\n\n## Methods\n* **captureEvent** : This method takes in the node details, message to be passed and channel id for both inbound and\n   outbound requests and further executes the requests. The following are the parameters that need to be passed : \n\n    * **incomingMsg** (String) : Message received from the user\n    * **outgoingMsg** (String) : Message responded by the bot\n    * **channelId** (Number): Unique Id for the channel in which the current message is exchanged\n    * **inboundNodeData** (JSON Object) : Incoming Message JSON Object with nodeId, nodeName, parentId, flowName and flowId as keys.\n   ```\n      inboundNodeData = {\n        \"nodeId\": \"\",   # Id for the node inside the flow which the message is generated by\n        \"nodeName\": \"\", # Name of the corresponding node\n        \"parentId\": \"\", # Id for the node after which the current Node is executed.\n        \"flowName\": \"\", # Name of the flow to which the message is related to\n        \"flowId\": \"\",   # Id of the corresponding flow\n    }\n   \n      Flow will be the higher level entity and node will be entity within flow\n      For example - `Menu` will be flow (Higher level) and `display_menu` will be a node\n      Similarly `view_products` will be flow and `display_toothpaste`, `display_toothbrush`, `display_item3` will all be nodes.\n      NodeId if not present, can be used same as nodeName, similarly if flowId can be used as same as flowName\n      Parent ID is basically from which node is reply coming from.\n    ```\n    * **outboundNodeData** (JSON Object): Outgoing Message JSON Object with nodeId, nodeName, parentId, flowName and flowId as keys.\n    ```\n      nodeinfo = {\n        \"nodeId\": \"\",       # Id for the node inside the flow which the message is generated by\n        \"nodeName\": \"\",     # Name of the corresponding node\n        \"parentId\": \"\",     # Id for the node after which the current Node is executed.\n        \"flowName\": \"\",     # Name of the flow to which the message is related to\n        \"flowId\": \"\",       # Id of the corresponding flow\n    }\n    ```\n    * **methodType** (String): The type of request that should be called. Available methodTypes are :\n\n                    1. inbound\n                    2. outbound\n                    3. exchange (Inbound followed by outbound).\n                    Default value is exchange.\n\n\n\n* **captureEventV2** : This method is used for sending multiple outgoing messages from bot to user. The following are the parameters that need to be passed :\n\n    * **inboundNodeData** (JSON Object) : Incoming Message JSON Object with nodeId, nodeName, parentId, flowName and flowId as keys.\n   ```\n      inboundNodeData = {\n        \"incomingMsg\": \"\",   # Message received from the user\n        \"channelId\": \"\",     # Unique Id for the channel in which the current message is exchanged\n        \"nodeInfo\" : {\n            \"nodeId\": \"\",        # Id for the node inside the flow which the message is generated by\n            \"nodeName\": \"\",      # Name of the corresponding node\n            \"parentId\": \"\",      # Id for the node after which the current Node is executed.\n            \"flowName\": \"\",      # Name of the flow to which the message is related to\n            \"flowId\": \"\",        # Id of the corresponding flow\n        }\n    }\n   \n      Flow will be the higher level entity and node will be entity within flow\n      For example - `Menu` will be flow (Higher level) and `display_menu` will be a node\n      Similarly `view_products` will be flow and `display_toothpaste`, `display_toothbrush`, `display_item3` will all be nodes.\n      NodeId if not present, can be used same as nodeName, similarly if flowId can be used as same as flowName\n      Parent ID is basically from which node is reply coming from.\n    ```\n    * **outboundNodeData** (JSON Object): Array of Outgoing Message JSON Object with outgoingMsg, nodeId, nodeName, parentId, flowName and flowId as items in the JSON Object.\n    ```\n      outboundNodeData = [{\n        \"outgoingMsg\": \"\"   # Message responded by the bot\n        \"nodeInfo\": {\n            \"nodeId\": \"\",       # Id for the node inside the flow which the message is generated by\n            \"nodeName\": \"\",     # Name of the corresponding node\n            \"parentId\": \"\",     # Id for the node after which the current Node is executed.\n            \"flowName\": \"\",     # Name of the flow to which the message is related to\n            \"flowId\": \"\",       # Id of the corresponding flow\n        }\n    }, ... ]\n    ```\n    * **methodType** (String): The type of request that should be called. Available methodTypes are :\n        1. inbound\n        2. outbound\n        3. exchange (Inbound followed by outbound).\n           Default value is exchange.\n\n\n## Example\n\n```\n## Inbound\n\ninboundMsgData = {incomingMsg: \"Hi..!!\",channelId: 29712813}\ninboundNodeData =\n    {\n        nodeId: `inboundNode`,\n        nodeName: `inboundNode`,\n        parentId: null,\n        flowName: `testflowIn`,\n        flowId: `testflowIn`\n    }\nwhatsAppChannel.captureEvent(inboundMsgData,inboundNodeData,null,\"inbound\");\n\n## Outbound\n\noutboundMsgData = {outgoingMsg: \"What would you like to buy.?\"}\noutboundNodeData =\n    {\n        nodeId: `outboundNode`,\n        nodeName: `outboundNode`,\n        parentId: `inboundNode`,\n        flowName: `testflowOut`,\n        flowId: `testflowOut`,\n    }\nwhatsAppChannel.captureEvent(outboundMsgData,null,outboundNodeData,\"outbound\");\n\n## Both Inbound and Outbound\n\nmsgData = {incomingMsg: \"Hi..!!\", outgoingMsg: \"What would you like to buy.?\", channelId: 29712813}\ninboundNodeData =\n    {\n        nodeId: `inboundNode`,\n        nodeName: `inboundNode`,\n        parentId: null,\n        flowName: `testflowIn`,\n        flowId: `testflowIn`\n    }\noutboundNodeData =\n    {\n        nodeId: `outboundNode`,\n        nodeName: `outboundNode`,\n        parentId: `inboundNode`,\n        flowName: `testflowIn`,\n        flowId: `testflowIn`,\n    }\n\nwhatsAppChannel.captureEvent(msgData,inboundNodeData,outboundNodeData,\"exchange\");\n\n\n## Multiple outgoing messages for both inbound and outbound ## \nlet inboundNodeData = {\n    incomingMsg: \"test incoming\",\n    channelId: \"29712813\"\n    nodeInfo : {\n        nodeId: `inboundNode`,\n        nodeName: `inboundNode`,\n        parentId: null,\n        flowName: `testflowIn`,\n        flowId: `testflowIn`\n    }\n}\n\nlet outboundNodeData = [\n{\n    outgoingMsg : \"outgoing message 1\"\n    nodeInfo : {\n        nodeId: `outboundNode1`,\n        nodeName: `outboundNode1`,\n        parentId: `inboundNode`,\n        flowName: `testflowIn`,\n        flowId: `testflowIn`,\n    } \n},\n{\n    outgoingMsg : \"outgoing message 2\"\n    nodeInfo : {\n        nodeId: `outboundNode2`,\n        nodeName: `outboundNode2`,\n        parentId: `outboundNode1`,\n        flowName: `testflowIn2`,\n        flowId: `testflowIn2`,\n    }\n}\n]\n\noutbound messages will have their parent ID as their previous node\n\nwhatsAppChannel.captureEventV2(inboundNodeData,outboundNodeData,\"exchange\");\n\nData is sent in the form of an Object with keys inboundData and outboundData.\n\n``` \n\nTo listen to messages which are sent through rabbitmq, we would require an active consumer. Before publishing any messages, the consumer should be actively listening to incoming requests.\n\n\n**Note**: 1. The sessionId and the one Direct Brand Account MobileNumber aren't present in the sent outbound and inbound data respectively. After consuming the data from the queue:\n          * Add brand account to inbound Data\n          * Add sessionId to outbound Data\n          2. The exchange across which data is shared should be durable\n\n\n```\n#Consumer\n\nasync function consumeMessage(consumer)\n{\n    const connection = await amqp.connect(rabbitmqURL);\n    const channel = await connection.createChannel();\n    await channel.assertExchange(exchange,'direct',{\n        durable:false\n    })\n    \n    const q = await channel.assertQueue('',{\n        durable:false,autoDelete:true\n    })\n\n    channel.bindQueue(q.queue,exchange,consumer)\n\n    console.log(\"[x]Awaiting messages in Consumer\");\n    channel.consume(q.queue,(msg)=>\n    {\n        var data = JSON.parse(msg.content)\n        // console.log(data[\"inboundData\"]);        Inbound Data\n        // console.log(data[\"outboundData\"]);       Outbound Data\n\n        // var inboundDataObj = JSON.parse(data[\"inboundData\"]);\n        // inboundDataObj.brandAccount = oneDirectBrandAccountMobileNumber;   Adding brand account to inbound data\n\n        // var outboundDataObj = JSON.parse(data[\"outboundData\"]);\n        // outboundDataObj.sessionId = sessionId;                             Adding session Id to outbound data\n\n        console.log(data);\n        setTimeout(()=>\n        {\n            connection.close();\n            process.exit(0);\n        },500); \n\n        channel.ack(msg);   \n    },{ noAck : false });\n}\n\nconsumeMessage(consumer)\n```\n","readmeFilename":"README.md"}