{"_id":"@cxco/dcx-connector","_rev":"22-f61a26aca5f63a88884f077a8227f19d","name":"@cxco/dcx-connector","dist-tags":{"latest":"2.3.0","next":"2.0.0-beta.2"},"versions":{"1.0.0":{"name":"@cxco/dcx-connector","version":"1.0.0","description":"A simple module to retrieve information from dcx","main":"src/index.js","scripts":{"prepublish":"npm run build","build":"babel src --out-dir lib --copy-files --ignore spec.js,mockdata,__snapshots__","test":"jest --no-cache"},"keywords":["DigitalCX","cxcompany"],"author":{"name":"david.custodio@cxcompany.com"},"license":"ISC","devDependencies":{"babel-cli":"^6.26.0","babel-jest":"^23.6.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.7.0","eslint":"^5.10.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0"},"dependencies":{"axios":"^0.18.0"},"gitHead":"65e25c010d4698377393d80b9edbb3817a1bffe1","_id":"@cxco/dcx-connector@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},"dist":{"integrity":"sha512-moOaOdVjMJV50ZzD0Xwv3UD+T8YSG5guv3MKMXQKetVbMRPfzy9eAptfiyCgcp7Gh9js7DbKLUW7WHxd4OiNuw==","shasum":"a2899cab1103c287f5e3e69b08ea536b31e084d3","tarball":"https://registry.npmjs.org/@cxco/dcx-connector/-/dcx-connector-1.0.0.tgz","fileCount":7,"unpackedSize":17793,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcDkoHCRA9TVsSAnZWagAAjnIP/1LeXYXTCiSJKxkJwUit\nLlUO8623lun0McylQWzAcJBu7xLjPT0iGUZ8dudzUg2Y5cRODa3Y5vFiG/DA\nrQG1ChmEL0nrIk5HiWwh+C61XSXOTWBPELModLycun5E6WVw1SjX62QSroXg\nZSjJjRXdgHH0DpVj/QrmdYgysMD7KwQYXPsVpZeevaazIkH8J29hAIu+7vdo\n/gTN4vNoddsUNHDFMEy/VczxwdnqmV9tZktz/QszibDA50ACy4Di/PnielGS\nXAFISbsn2FSFHCB82Jw0J0WVSy35og0ysP9hn041KGDq/xR+1itN+nL+QgSO\n+9xFYgGPDpNZBh643n7fQ46xpeiR21lIO7wT2GOuGMpH0/4CCL6NJWYuyJ+q\nygTr1qqA9+5io745qsiro08eO3fD9uc6xIt2WzIKy2QL6gecoBrwgh5Op4KT\nUA5vPVSsu5yl+lMulUnJV+lzFZSFIYXfexwNL3mNhibiKg39PQJcZ3ywruNT\nCRuLDoDLNRNt7aolofPjpgcICIoxhpfhFbGyf20MQVM11OaHjI8vGLISM7fY\nd1Yz66Qp63IAJP/BmgtvhuFo20Z3aIx2FjQ4kVfuw8SzlbZfnOdqRuZ2kKJF\nHsgsljh/92HN2WfKLGerZRzXyNab3QwKitaLPnNTJGpnjfxO4AjubeSzumE+\nKpYN\r\n=4LVc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoDu4MdqxgWQ+q9NqHOmN/wu040/vuozEeHqed+0KnHwIhAMlNhlA/de+JrmL+0CKTWPfWFnLiAPj1q39cStrdP5Gv"}]},"maintainers":[{"name":"remcodevries","email":"remco.de.vries@cxcompany.com"},{"name":"cx-company","email":"licensing.npm@cxcompany.com"},{"name":"esclapes-cxco","email":"eduardo.esclapes.gimenez@cxcompany.com"},{"name":"mdingscx","email":"maarten.dings@cxcompany.com"},{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dcx-connector_1.0.0_1544440326589_0.1774296693085713"},"_hasShrinkwrap":false},"1.0.1":{"name":"@cxco/dcx-connector","version":"1.0.1","description":"A simple module to retrieve information from dcx","main":"lib/index.js","scripts":{"prepublish":"npm run build","build":"babel src --out-dir lib --copy-files --ignore spec.js,mockdata,__snapshots__","test":"jest --no-cache"},"keywords":["DigitalCX","cxcompany"],"author":{"name":"david.custodio@cxcompany.com"},"license":"ISC","devDependencies":{"babel-cli":"^6.26.0","babel-jest":"^23.6.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.7.0","eslint":"^5.10.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0"},"dependencies":{"axios":"^0.18.0"},"gitHead":"416718ceef0e93b7f6b2b4ba1b2ac733cb103e51","_id":"@cxco/dcx-connector@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},"dist":{"integrity":"sha512-SjAtIb/iHzyF+DgcX5qVVxTSUpbj3DvtjI0J+hUv+0jJ4ILDA+RMfOYX+VU8d+XF2omwOiNbwYjuQvXUDZBiVQ==","shasum":"6ec5f08bd006e9faedeabf434b2b3a2f1d3f9b0c","tarball":"https://registry.npmjs.org/@cxco/dcx-connector/-/dcx-connector-1.0.1.tgz","fileCount":6,"unpackedSize":17449,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcDl9BCRA9TVsSAnZWagAANm0P/2ixnn7Zfq3XkZcuTalp\nb5cS3MBigPmNF7DmD2RnMf2trbh0526EO2iHA/ynosVeGn/mr6Mgxj7sMVRc\n+6nViNzhXEzZaUE8Gz2+5zyY8NrlEInRFFlRRDbZ0l2crd+FteB84L3Er+GT\ntgw8WpSWzCyCtXWba7T0ieomCluzIUtt/CX5R2+pTBkE9Vc/VQ7xscpbbpLa\ndpiCBaR5c6rIoWV4IvInNuUQiS75JpDRU9k4StsZ+WS47huXmgI+xAexmdt4\nm8OgVoZq1pyrJ5alImJc/YegDURM0nlZzePCzneqfBvDCf+g49vPGLZEVG6O\nRhkQRk/L9ggnX8qPg1NxVGI7PP/N+U2dyIvurREeRcabbJ5oB+oLqCjdnlwk\nlesmEm3qqbMPa/u9/9hvPWMwL6gGUNBv2JwZW8Zfj54X3uJNtiU+3w3Tx7zs\nKFUclipzLK0j17hOD2Ak7u1MBoQ6lMs3WHyx2/THI4MzvK8ZODY34LTu0D7u\nRfC2BE4XSbLluDPWWYMGRoKWvJ+6oamheCrgpgf7L13J67zbwxJ/djuZee8x\nbXGPGo04umbix537sNsyM8SMLPWTWcP8CU+yysxhlCmqWRIMbBEarN9ahThj\ndYwD5jSv3hDwePHrLBm0blMLslphmrsitqd6ZnOarn/cPdyk4j1QPPTUtvk9\n+Hwh\r\n=pVS2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUTKg3IsaWAKJ+VZIpWBRvtvs8VxJresmfeDI7V4CnAAIhAJU72HBz6DhyxRJz3ZDgLnxb3jw00XFghMSK6hdOgf58"}]},"maintainers":[{"name":"cx-company","email":"licensing.npm@cxcompany.com"},{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},{"name":"esclapes-cxco","email":"eduardo.esclapes.gimenez@cxcompany.com"},{"name":"mdingscx","email":"maarten.dings@cxcompany.com"},{"name":"remcodevries","email":"remco.de.vries@cxcompany.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dcx-connector_1.0.1_1544445760563_0.618736080998149"},"_hasShrinkwrap":false},"1.1.0":{"name":"@cxco/dcx-connector","version":"1.1.0","description":"A simple module to retrieve information from dcx","main":"lib/index.js","scripts":{"prepublish":"npm run test && npm run build","build":"babel src --out-dir lib --copy-files --ignore spec.js,mockdata,__snapshots__","test":"jest --no-cache"},"keywords":["DigitalCX","cxcompany"],"jest":{"verbose":true},"author":{"name":"david.custodio@cxcompany.com"},"license":"ISC","devDependencies":{"babel-cli":"^6.26.0","babel-jest":"^23.6.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.7.0","eslint":"^5.10.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0"},"dependencies":{"axios":"^0.18.0"},"gitHead":"86f652bf8bb765fcd9f521553f1b83ae19efc96f","_id":"@cxco/dcx-connector@1.1.0","_npmVersion":"6.5.0","_nodeVersion":"8.11.3","_npmUser":{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},"dist":{"integrity":"sha512-OwjVlER1wR5kkFQzguY8VFfU19MiMV/kQw42wG3LxvfYHvF64jGvA54Zzi9uxFPrwTOWHEdXvuEp6XLQbw70YQ==","shasum":"baed2c79dbc12f791e6e5c3b78fd4a3d4d923fe4","tarball":"https://registry.npmjs.org/@cxco/dcx-connector/-/dcx-connector-1.1.0.tgz","fileCount":6,"unpackedSize":18717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOIzeCRA9TVsSAnZWagAAiYkQAJEXqSncoH5uWOjLZkbo\nn/s4tArQ8GnbYclokwgV2xjytU4eag5tCPsvzs5KybjdHTC7OsxRDWkxVRGl\nYccaFHCz+Fl1HD6/1ZHrZqpm++d07xGMcqIn7ua1MyyqNi3+4cj2o7ifYmWm\nHjRl3/uP7buyZWicHj+D2nCklG0qJBXQdH3LUE9WNtKNdJkmcbRP+PT1Hwta\nYvD9hemZovrOaTN57UdiTleQ1LZ/p4n1Hi/Z5sQlsPU8C1o4MEctmkYBauhI\n9lhXLwq9ubOvNsO9aezQdYuYvynxSvc0NehEg/E8bx2oPP0sikBs93equg52\nN/keBJe042/MgFl1YrGgzBOV+s08iHHpT3snhDmt2xTPuGrrUCyyZB6U6oKm\nnj0YvS/KuUIgXMQ4oSgKkiKBm7wuf6vRgJIkBDnrpjdoO81OfSlMVoyoJz5D\nvzoFj1LOPNdW55uqt+lu9zTlUhnvHnoxGjgbmdP833apMtdha69jvihDKLnq\n4jejk/z3jFSob+l2z9GU0wJxobrUdmetebhvVYT4UjnTqJk9qxQaSHww4GFJ\n6IpZdo3dhCmjBCSCwxITwgIiMnep4RuFR19gufGzs8wruQovZDeQpFIc+zOh\niMXSz9U1YhUd2KPzeh7SFdFlVtRBTmijLrh/3mYfKbPo0+YFKKRv31jljs/G\nssae\r\n=Zgkn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD07uJ+lyZidSQVgTmUSaKmQGVPmVKUSCIGo7zgJEhhrAIhAN3mRFhiQhDd9J2mYzSMMkKcIiht6xj75WSeOrrnyor8"}]},"maintainers":[{"name":"cx-company","email":"licensing.npm@cxcompany.com"},{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},{"name":"esclapes-cxco","email":"eduardo.esclapes.gimenez@cxcompany.com"},{"name":"mdingscx","email":"maarten.dings@cxcompany.com"},{"name":"remcodevries","email":"remco.de.vries@cxcompany.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dcx-connector_1.1.0_1547209949570_0.4264238426245528"},"_hasShrinkwrap":false},"1.2.0":{"name":"@cxco/dcx-connector","version":"1.2.0","description":"A simple module to retrieve information from dcx","main":"lib/index.js","scripts":{"prepublish":"npm run test && npm run build","build":"babel src --out-dir lib --copy-files --ignore spec.js,mockdata,__snapshots__","test":"jest --no-cache"},"keywords":["DigitalCX","cxcompany"],"jest":{"verbose":true},"author":{"name":"david.custodio@cxcompany.com"},"license":"ISC","devDependencies":{"babel-cli":"^6.26.0","babel-jest":"^23.6.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.7.0","eslint":"^5.10.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0"},"dependencies":{"axios":"^0.18.0"},"gitHead":"a2716fc3af3616ebf9f78ea2f57d2806d4381646","_id":"@cxco/dcx-connector@1.2.0","_npmVersion":"6.5.0","_nodeVersion":"8.11.3","_npmUser":{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},"dist":{"integrity":"sha512-bUpNOdsULQJmiKgltk8Xga3F2lLMdIDy2YhP2yohOzCSRowEDa4+ZYfAxw70B1dJ/kXy7Lna/4F+xJZKsmcnqQ==","shasum":"af40cc8575756ff226e6e88a8dd4d0740c0a99e4","tarball":"https://registry.npmjs.org/@cxco/dcx-connector/-/dcx-connector-1.2.0.tgz","fileCount":6,"unpackedSize":20195,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPIm9CRA9TVsSAnZWagAAGKQQAJ9G8FETkq4FGIcnqztE\n2NIhMmYRrZqj6c2c5m6xItI79S26b2R4aTFbXkhwvlk1TQ63sYCvS/vdzRBQ\ngImNA/cG9ZP4kFINacCLIo37Jztnu4yrA6kHKVGJlGOBiLhqabsZ7kDs/QUC\n6pLLXGvSFTTEekc3v6oQmmngyqYKSdk7cOz+EeqCAnmE0CpZnPVk8k1GrMRF\njVhlfIKoA0ubPOtS8Qz7AmqxaQBexeAQtAX48jcP0W/iaUFySPj+vDb5A2Bx\nFhoWIw+3tU063eZWT40TDZ6Qu5B/zJ4y53Zid538gCsc5ytINF2KRuXvTZaO\nhMkqzLIL8kuQAWH/YT06b6E+/R1i/7Z/6ocXWZkvX9EmHt+021JAeOx6lKrf\nmnbtaVxPBf+1uitajwBID19FPsQDPVpaV7aEcLH2zRAW+C1S2nDZU4JPvcy1\nDfhnyXV1upLastDOF5HabTrIc1NpJtkEKSPaFQxrSpZ2GnNlYaevPbwV2ET8\nyQDBdjei9V08JSQy4NV7RNOiRYjZtpYNyiNPzyPgfLjd4A/6cQORHz4fWqVJ\nlhA4l//KlX/oy5HxhFS9k+LQ7RzgHeAP0N1yXBlJkQ5ARvJaLX1z+/Zhhq5t\ni2agWbvC9hJByEpi/Q5RN90FlTMEqI31phvOWHkdEKg6PCzOc2wVQOOHTWAG\nGAB0\r\n=nIaQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDoI49r/LFG1WwEa21iAxeertn07lFzYLOktDrjI7zsyAiAp8XOOzpMkhWoHHp+MdFCt6O8PPrCkCuRoZd1EcTCNfg=="}]},"maintainers":[{"name":"cx-company","email":"licensing.npm@cxcompany.com"},{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},{"name":"esclapes-cxco","email":"eduardo.esclapes.gimenez@cxcompany.com"},{"name":"mdingscx","email":"maarten.dings@cxcompany.com"},{"name":"remcodevries","email":"remco.de.vries@cxcompany.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dcx-connector_1.2.0_1547471292629_0.7937861754613071"},"_hasShrinkwrap":false},"1.2.1":{"name":"@cxco/dcx-connector","version":"1.2.1","description":"A simple module to retrieve information from dcx","main":"lib/index.js","scripts":{"prepublish":"npm run test && npm run build","build":"babel src --out-dir lib --copy-files --ignore spec.js,mockdata,__snapshots__","test":"jest --no-cache"},"keywords":["DigitalCX","cxcompany"],"jest":{"verbose":true},"author":{"name":"david.custodio@cxcompany.com"},"license":"ISC","devDependencies":{"babel-cli":"^6.26.0","babel-jest":"^23.6.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.7.0","eslint":"^5.10.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0"},"dependencies":{"axios":"^0.18.0"},"gitHead":"b369de1e01acde2537eb12907a2ee50cc1714d28","_id":"@cxco/dcx-connector@1.2.1","_npmVersion":"6.5.0","_nodeVersion":"8.11.3","_npmUser":{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},"dist":{"integrity":"sha512-73kdFg0pdQf64xNEQ+PrMd93tST0qF/pvWdAnMgHWR2jxVu+KrGGdlxpCMZT8ic9k1bD5J3WV491lKnAdJhnFA==","shasum":"890e780b1adbc5a4ce11bdbca54287ee71ab648e","tarball":"https://registry.npmjs.org/@cxco/dcx-connector/-/dcx-connector-1.2.1.tgz","fileCount":6,"unpackedSize":20892,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPdZ3CRA9TVsSAnZWagAAvvkP/1V1HbrHBFky+1UAGu8r\na/a5L+csd4Xk4U1V9EwcWuNVQkxeEUz1BmoVFi9JPFSsPgZFK42SwBjf0M1O\ng3uzkorzq5pnTncEYaBUCXH9/QmG7C/DLE5NK1AZNJ0pjOjhOCy1TcYmmYF8\nTTiVqbxgt8p3g5NDPyQRF+q/cXKhNBNToufOokR1hxzNepOD2KeroRaC1xRY\n3hQFn/+bgBYgBraJKMfkIvhILCNBoolR4tBzv1bRZRjc8CK5coZrnKrTWoiy\nx9PZElVfPThasxGj4jM0GAiKJajdwRo2ajZaLSsmO4syx+FG65zOb9twwveV\n41CKRkz0QnYJ47oXPuke+jdE6jmJBitc/h/aAnyt4ia3Ox0T7b+xY3UqYd4G\netGUNqU2pyrmi2ccnXUUhpMl40OYIZl0Mlnw7JW53p9K+Y8dzPfgdGa997gf\nshp6KQ5kxZiGRat4LxZLhB+jhsY/Br2DZFHSZ4c29mi9fdEAbJHo62NJuqUY\n+UPkJF8BglW9OVXoPISOPzwTT0VYwdeEkckeb3Oe60XU8xUB3Fm562Ev6Mj/\nzfRgBxBFxlDGS7jxakr438t2o8GGqQh1J+uMO2ODr1tAC8PaZVmm2i1yYaxe\neBtwxcgSBb+okTBfwXpVjwemf9+4C5QAQ4dwCt9xgINuwCngAzSt+SznuGFt\nVc7C\r\n=06bn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDZpCpK6BcK+4N3+Vj8tQfP75jH15Uu9wkVnrvm6Yd0zAiBKppoUI2BnUq9jYeaug+aoVlXXs8LAN/MVefKNUg7ADg=="}]},"maintainers":[{"name":"cx-company","email":"licensing.npm@cxcompany.com"},{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},{"name":"esclapes-cxco","email":"eduardo.esclapes.gimenez@cxcompany.com"},{"name":"mdingscx","email":"maarten.dings@cxcompany.com"},{"name":"remcodevries","email":"remco.de.vries@cxcompany.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dcx-connector_1.2.1_1547556470725_0.2664971293402858"},"_hasShrinkwrap":false},"1.2.2":{"name":"@cxco/dcx-connector","version":"1.2.2","description":"A simple module to retrieve information from dcx","main":"lib/index.js","scripts":{"prepublish":"npm run test && npm run build","build":"babel src --out-dir lib --copy-files --ignore spec.js,mockdata,__snapshots__","test":"jest --no-cache"},"keywords":["DigitalCX","cxcompany"],"jest":{"verbose":true},"author":{"name":"david.custodio@cxcompany.com"},"license":"ISC","devDependencies":{"babel-cli":"^6.26.0","babel-jest":"^23.6.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.7.0","eslint":"^5.10.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0"},"dependencies":{"axios":"^0.18.0"},"gitHead":"ab64fdddcd325a9619224ada922c05b3796911ec","_id":"@cxco/dcx-connector@1.2.2","_npmVersion":"6.5.0","_nodeVersion":"8.11.3","_npmUser":{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},"dist":{"integrity":"sha512-Pon4w51MmuDrJw5mNgBYJ7lFEp4t6B6+WUf+ZQJ0Ak28zlY7eCBdLQEhNd+6ZiA/zGA14oFCixBrnGzd1lx2Lg==","shasum":"a93af49a2662ed79ec19f210d16dce95bf558837","tarball":"https://registry.npmjs.org/@cxco/dcx-connector/-/dcx-connector-1.2.2.tgz","fileCount":8,"unpackedSize":24739,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPy8fCRA9TVsSAnZWagAAPhgP/3FH4vmmR1khOCQFtsiT\n1Okf0uG5aFkw1J8MZ4Kgez5b1nx7oCCkMJeiCnnt+F+2BotvGMnu+ulFaJ5y\n48+7TFK1ISRGJ2t83g8VjJ2cucScQ8zkOtXloRMG/UWLSHPaFcNBfisqBfuo\nSfsfstM6NToH4/YmpPr0Ttn1WsTvfXC1khNLyvuxbjlyQZ5JVdOIQviNW7k+\nWAjcLvw/tGw7LB4ujKNTcmeXYm4q1/NQJ77PjJhdNAMkTkiUcyie4/8T8KkP\nSm7ypy7AF29g1aKAHrDt2skwQKfZTXlWCmwS7XvNdovvuXEgxts1V5HHOegi\nGNhhdHWKAcn54MBEPifWGPWdaB6HLbKddkUICSxXSSqShQtN/AmixCzUVfuA\nOH3EjRc8ffA5F753xZj9QpkIIyDzQnU6dQLiHev1BSyTXKrfh7uiS8m2yoHO\n5+qKCt4vp3KYA1QOPLxqz+xjZwj8V5uVft0R5BppMFQg8ULd1vc6buTC19pV\nUS0xbjjHGcb1K0OTY0CAD5OMvXqMJV5kRJbO7T+Xw4J3wNFgOQ4coYmxMbz2\nrzX3ZDSIEnUm/aLLpu7iEtqRyvo3XdhqJVgQAgWxiSRbFaqwHtxca+bD5lN0\n1MrO8AqxWOWh103TCK7V8PqPxXztzcCh/OuCdcTcUqG67/aQNIjsHBPgZGnL\nT3/8\r\n=a9L/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFihGrL8ePH4Re00rCLONrLUQBK+9IZgVmDMeLipD5VLAiEA5bmdwjKdhZT8/8lqErcs6YxQI3pRGcDuRWeJuXFL7tY="}]},"maintainers":[{"name":"cx-company","email":"licensing.npm@cxcompany.com"},{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},{"name":"esclapes-cxco","email":"eduardo.esclapes.gimenez@cxcompany.com"},{"name":"mdingscx","email":"maarten.dings@cxcompany.com"},{"name":"remcodevries","email":"remco.de.vries@cxcompany.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dcx-connector_1.2.2_1547644702627_0.23379295142506007"},"_hasShrinkwrap":false},"1.3.0":{"name":"@cxco/dcx-connector","version":"1.3.0","description":"A simple module to retrieve information from dcx","main":"lib/index.js","scripts":{"prepublish":"npm run test && npm run build","build":"babel src --out-dir lib --copy-files --ignore spec.js,mockdata,__snapshots__","test":"jest --no-cache"},"keywords":["DigitalCX","cxcompany"],"jest":{"verbose":true},"author":{"name":"david.custodio@cxcompany.com"},"license":"ISC","devDependencies":{"babel-cli":"^6.26.0","babel-jest":"^23.6.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.7.0","eslint":"^5.10.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0"},"dependencies":{"axios":"^0.18.0"},"gitHead":"e3d2fc05aaeb963072f187eb3992a2079f10834b","_id":"@cxco/dcx-connector@1.3.0","_npmVersion":"6.5.0","_nodeVersion":"8.11.3","_npmUser":{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},"dist":{"integrity":"sha512-R14Bho/eGU9UPGkYuO+/X6GWDJT6g94C8cSg2v/tJuogktg2YuJm5muCtsHuXNtcbFEzRkjZE/q2Tq/U1YAsnA==","shasum":"02a9ae2cbd2b2d65e462dfebbdcb4cb21ed3f6d4","tarball":"https://registry.npmjs.org/@cxco/dcx-connector/-/dcx-connector-1.3.0.tgz","fileCount":8,"unpackedSize":24831,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcTySKCRA9TVsSAnZWagAA/KIP/Rn18z6XiUPzvf48vzxJ\n7l2zTthzv2aOEAAFo1cm0+3KKXVPGd30A2pJx5ZL7Rzsjbmm+tm28V7I9yLh\n7GzaVuUZKPmFvCkjEOfHcdqzX+Y6bRQ7wLQavAFx1KN4n0CKIY31UBj9OCUE\n/I299fXEHjbwg6OQ4kVOZKqhPyRDx3/Ywts4raRyoi6qPIp7Nd+Xgaj8N1YY\nqTwvZgu9tE3M2V7qBooncgTglSEf0KlXSSGUZERqTWdKyxYp0lR30Ndz0JpA\ng1Ve+twEvRCl1awRoLNyGwaZCS/2KLeGTsS5Y9xBgrIDgfuRjJH8+QzPZyHj\n1tU0aQ5bC/RsEZPCQAO7RT5H8QwPQ7hTHzhaCWkqOqbCizDz1fv4mHiSY8pQ\n6bnyLwrqG1YVO2Rz2SIxHmmfQBe7sKJTLq1ZYzGufcQscPkh68sdCWk7Pcho\nynVmpRmNO22MLB0dKTSybbN8F8FyyOWwDZ7WysCEBOvPDXdVFeEB72rNo3vi\njXlP+XeBiXvCq+6CGNeen06848c2iCOijvAMsOhWVOSXnHGMklu8/cc+5QW2\nelQK4uz4UTsT/813RNYfLDgp8Q7w1IqauiNrARd4vywF7svvqxjUuoIcM/X3\nXvOZB0ilif0hl1RqEahMlworJbQr3aVTdK14lKeHDk2HKAxh67Ak/eAzIWDj\nDzfK\r\n=hfVs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE+Xk9I2aRYyVdHVwdR4/xAYPyvgt+M+NWkCdPt6acXyAiB7XkbkiBRvsV1aHTE/DZZrAM/zsSgauO7Q3LVsT49QTg=="}]},"maintainers":[{"name":"cx-company","email":"licensing.npm@cxcompany.com"},{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},{"name":"esclapes-cxco","email":"eduardo.esclapes.gimenez@cxcompany.com"},{"name":"mdingscx","email":"maarten.dings@cxcompany.com"},{"name":"remcodevries","email":"remco.de.vries@cxcompany.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dcx-connector_1.3.0_1548690569380_0.6072362184422613"},"_hasShrinkwrap":false},"1.3.1":{"name":"@cxco/dcx-connector","version":"1.3.1","description":"A simple module to retrieve information from dcx","main":"lib/index.js","scripts":{"prepublish":"npm run test && npm run build","build":"babel src --out-dir lib --copy-files --ignore spec.js,mockdata,__snapshots__","test":"jest --no-cache"},"keywords":["DigitalCX","cxcompany"],"jest":{"verbose":true},"author":{"name":"david.custodio@cxcompany.com"},"license":"ISC","devDependencies":{"babel-cli":"^6.26.0","babel-jest":"^23.6.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.7.0","eslint":"^5.10.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0"},"dependencies":{"axios":"^0.18.0","babel-runtime":"^6.26.0"},"gitHead":"bea46440789e7e9205cd7adc60693f921847c887","_id":"@cxco/dcx-connector@1.3.1","_npmVersion":"6.5.0","_nodeVersion":"8.11.3","_npmUser":{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},"dist":{"integrity":"sha512-RJZrBTapGOslT+AdlgG/5AR0dUgAGxFLCMZAFeonjXKLV+lK+stgYHR5cfiWEY/JaFj8T5r24XECSe/P1stG1A==","shasum":"06462eb22eff85a6044ebc87602d2f2fe0ac8ec3","tarball":"https://registry.npmjs.org/@cxco/dcx-connector/-/dcx-connector-1.3.1.tgz","fileCount":8,"unpackedSize":24864,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchmXdCRA9TVsSAnZWagAALasP/RyiJb4QaDBJMeSgZnlc\nelPfh7Y0KOTJoBjsdFlSgD2m4+proBtgSqOg0PGZJ7CfkxFB1ZzmNgFQTJBx\nK98qIqSpIDmzvLQCwx9hIsLifBMrr+dX43hJRBVEviI5iGJbnBosRFb8jwSt\nNBxPfXU3N5y0PjxtDK5gz9S/8DnJyEPRArf/d6v8nBu8fvNLRRXLnayJgaNQ\nZ4TU++EEgoHsOPldqAs6q1qmlyQp2RTtUkCaP3tsAWFYaQbhfcWxuRYW9j8l\nX7O3sbsgKgf5X0+QOuAHFZ2WU55whipj6h2T7Xgi//cYxW1TofxrOTq5wQsx\nCriFHdKD+RshSvOQAmIIvyX0hbHpTgqe3yVYwbp42rEdwCuQmB7OjcxHK0of\nC5JvPAYQ0pwv+uLlqcVpv/EMKSRe9uNnpBY45DJGAJMxqfoOimkkKLzskBXv\nARvR9gW343MIfOLMv03yeDOozD8+1SNfHsJ0Pel4Q5lnMdEEWk/tCMHQUvjr\ndujPy30cQp8hV2VBGkPlPAAOrBJEve/G0w1So3/Ur6Gc7ay2f0cAkXDjifNu\nFHh2hDJZ+kHmOUq3tdOxSNNKru0s8SNhnxqUO6NbrlgiRthVvTu3DZcVgKxV\nw5AFGfkwWh6X+44ZBA2rH7y4dL8Ds2hZF/sgnYiLT/M6EB7a3CLU7Y0NuOdL\nOgH5\r\n=u9CI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+UbSeBQ6NrlbKj+KhGG0be88Qi7wLMaxQK1/eTABgrgIgJFbcXKVCQig+RYAjcSLuoyYCGAF67aHDezEWZvEKEto="}]},"maintainers":[{"name":"cx-company","email":"licensing.npm@cxcompany.com"},{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},{"name":"esclapes-cxco","email":"eduardo.esclapes.gimenez@cxcompany.com"},{"name":"mdingscx","email":"maarten.dings@cxcompany.com"},{"name":"remcodevries","email":"remco.de.vries@cxcompany.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dcx-connector_1.3.1_1552311772362_0.1833290020501579"},"_hasShrinkwrap":false},"2.0.0-beta.0":{"name":"@cxco/dcx-connector","version":"2.0.0-beta.0","description":"A simple module to retrieve information from dcx","main":"lib/index.js","scripts":{"prepublishOnly":"npm run test && npm run build","prebuild":"rimraf lib","build":"babel src --out-dir lib --copy-files --ignore spec.js,mockdata,__snapshots__","test":"jest --no-cache"},"keywords":["DigitalCX","cxcompany"],"jest":{"verbose":true},"author":{"name":"david.custodio@cxcompany.com"},"license":"ISC","devDependencies":{"@babel/cli":"^7.8.4","@babel/plugin-proposal-object-rest-spread":"^7.8.3","@babel/plugin-transform-runtime":"^7.8.3","@babel/preset-env":"^7.8.4","@babel/runtime-corejs3":"^7.8.4","babel-jest":"^25.1.0","eslint":"^6.8.0","eslint-config-standard":"^14.1.0","eslint-plugin-import":"^2.20.1","eslint-plugin-node":"^11.0.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","jest":"^25.1.0","rimraf":"^3.0.2"},"dependencies":{"axios":"^0.19.2","@babel/runtime":"^7.8.4"},"readme":"# @CXCO/DCX-CONNECTOR\r\n\r\nLibrary to query DCX endpoints using a common query interface and getting normalized answers. \r\n\r\n---\r\n\r\n## Quickstart\r\n\r\n```javascript \r\n\r\nimport { doDcxRequest } from '@cxco/dcx-connector'\r\n\r\nconst payload = {\r\n    type: 'ask',\r\n    data: {\r\n        userInput: 'some question'\r\n    },\r\n    metadata: {},\r\n    config: {\r\n        baseUrl: 'https://your-digitalcx-endpoint',\r\n        apiKey: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx',\r\n        culture: 'en'\r\n    }\r\n}\r\n\r\nconst answer = await doDcxRequest(payload)\r\n\r\n```\r\n\r\nyou'll get a response with a payload with two objects inside (**data** and **metadata**):\r\n\r\n```json\r\n{\r\n  \"data\":  {\r\n    \"answer\": \"some answer\",\r\n    \"dialogOptions\":  [],\r\n    \"images\":  [],\r\n    \"links\":  [],\r\n    \"outputAdditions\":  {},\r\n    \"type\": \"answer\",\r\n    \"videos\":  []\r\n  },\r\n  \"metadata\":  {\r\n    \"culture\": \"en\",\r\n    \"interactionId\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\r\n    \"sessionId\": \"xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\r\n    \"id\": 0\r\n  }\r\n}\r\n```\r\n\r\n## Payload\r\n\r\n### Type\r\n\r\nThe request type: \r\n- ask\r\n- dialogstep\r\n- event\r\n- linkclick\r\n- feedback\r\n- faq\r\n- faqsincategory\r\n- defaultfaqs\r\n- categorytree\r\n- category\r\n- searchfaqs\r\n\r\n### Data\r\n\r\nThe `data` section allows to pass the main information to the request, e.g. what question needs to be asked. \r\n\r\n### Metadata\r\n\r\nThe `metadata` section allows to pass additional information to the request, e.g. minimum number of FAQs needed. \r\n\r\n### Config\r\n\r\nThe `config` section contains the information related to the how and where to do the request.\r\n\r\n|Property Name | Description | Mandatory |\r\n|---|---|---|\r\n|baseUrl | the URL of the API | yes |\r\n|apiKey | the API key | yes |\r\n|culture | language (en/nl/de) | yes |\r\n|timeout | time in milliseconds until request times out | no |\r\n\r\n\r\n","readmeFilename":"README.md","gitHead":"10d4a1779063f5d18225937c13e7a2817cd7eb03","_id":"@cxco/dcx-connector@2.0.0-beta.0","_nodeVersion":"10.15.3","_npmVersion":"6.13.7","dist":{"integrity":"sha512-PD+qafwzfbkwHMTyPkuAkNK/YZLR+L4CtG3i2p66qUBK5qI6w7uI0gC9upKbZmXaGea6iSOpVW3MucuYmWEFgA==","shasum":"f0579ac5ab24a406863f54183eb7e3122fd7731d","tarball":"https://registry.npmjs.org/@cxco/dcx-connector/-/dcx-connector-2.0.0-beta.0.tgz","fileCount":6,"unpackedSize":27541,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRUd/CRA9TVsSAnZWagAAD14P/A3rTxwLHDDZbnnBNKUq\nKDTGO5FdAv3mqzlfqVVhCEPACUZOOGSWLwxTIkEig89wkd9NckpkrX6JSg+x\nfgdWWLmLLY2j8VDU3KiF5cygWWQogriaekvVBwPQE+NF+aPpx7Xrkaeo4tiJ\n3sWx0lCXLpBQwuPKRGWItHA6pv0HFTlBOG8vMJTia+SfDzO735ILugsHctEZ\njj1F3qfSc222KQ0B0e61Rg58uzw/M5OmfBYvl5S1iocTa8C4TrUoyUFXWdnm\nhMP6UVbeHASM6HNGjZstruPHp1MeF5jyHZKRk85yWoGvuiETKlLnLhz2Xomt\nI2GydIiv+CUFNRi3KO6dIhvfQLssINjP4cdju2ASzKRPgmPjMSV/iuqSczxs\nLjFfwN9/mziptDpfhM7gflYEg7mtDkxhhQtCoG1VeUzAXHKipyXkoylfx+Zo\nTemfSTSYLQUqJx+Ht/FTnDqJSWu/uxtdBpnYa9pawKdmftT5btRWjNjwAMyG\n2xdxNQ9sHBi9qDM73ZjIRueNvJFr7p8HCJCweb7YxbtWOOYsKa2dfiVdLS9u\nWVbag9IkuoJe4UBqyBMRpSIcu8A3pOlO1xW+BHrBSGhJ3jl4sQiAYcla65fu\nEmc2nF7cLg3IGWV31wXSrvsu9gymW3EJ8BC2tlma410DMOdPo0WQOmoaYEp8\nJCZ1\r\n=NDw0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyLCRC5QYHnO6b4obaEwFtIy/p0oR5RuLHY6wuVIveXgIhAJgaBUd1t0yxAiyj7nRwhy3+8JHfZ0oMRNyhdygns2Fe"}]},"maintainers":[{"name":"cx-company","email":"licensing.npm@cxcompany.com"},{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},{"name":"esclapes-cxco","email":"eduardo.esclapes.gimenez@cxcompany.com"},{"name":"mdingscx","email":"maarten.dings@cxcompany.com"},{"name":"remcodevries","email":"remco.de.vries@cxcompany.com"}],"_npmUser":{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dcx-connector_2.0.0-beta.0_1581598591425_0.11256545766235848"},"_hasShrinkwrap":false},"2.0.0-beta.1":{"name":"@cxco/dcx-connector","version":"2.0.0-beta.1","description":"A simple module to retrieve information from dcx","main":"lib/index.js","scripts":{"prepublishOnly":"npm run test && npm run build","prebuild":"rimraf lib","build":"babel src --out-dir lib --copy-files --ignore spec.js,mockdata,__snapshots__","test":"jest --no-cache"},"keywords":["DigitalCX","cxcompany"],"jest":{"verbose":true},"author":{"name":"david.custodio@cxcompany.com"},"license":"ISC","devDependencies":{"@babel/cli":"^7.8.4","@babel/plugin-proposal-object-rest-spread":"^7.8.3","@babel/plugin-transform-runtime":"^7.8.3","@babel/preset-env":"^7.8.4","@babel/runtime-corejs3":"^7.8.4","babel-jest":"^25.1.0","eslint":"^6.8.0","eslint-config-standard":"^14.1.0","eslint-plugin-import":"^2.20.1","eslint-plugin-node":"^11.0.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","jest":"^25.1.0","rimraf":"^3.0.2"},"dependencies":{"axios":"^0.19.2","@babel/runtime":"^7.8.4"},"readme":"# @CXCO/DCX-CONNECTOR\r\n\r\nLibrary to query DCX endpoints using a common query interface and getting normalized answers. \r\n\r\n---\r\n\r\n## Quickstart\r\n\r\n```javascript \r\n\r\nimport { doDcxRequest } from '@cxco/dcx-connector'\r\n\r\nconst payload = {\r\n    type: 'ask',\r\n    data: {\r\n        userInput: 'some question'\r\n    },\r\n    metadata: {},\r\n    config: {\r\n        baseUrl: 'https://your-digitalcx-endpoint',\r\n        apiKey: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx',\r\n        culture: 'en'\r\n    }\r\n}\r\n\r\nconst answer = await doDcxRequest(payload)\r\n\r\n```\r\n\r\nyou'll get a response with a payload with two objects inside (**data** and **metadata**):\r\n\r\n```json\r\n{\r\n  \"data\":  {\r\n    \"answer\": \"some answer\",\r\n    \"dialogOptions\":  [],\r\n    \"images\":  [],\r\n    \"links\":  [],\r\n    \"outputAdditions\":  {},\r\n    \"type\": \"answer\",\r\n    \"videos\":  []\r\n  },\r\n  \"metadata\":  {\r\n    \"culture\": \"en\",\r\n    \"interactionId\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\r\n    \"sessionId\": \"xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\r\n    \"id\": 0\r\n  }\r\n}\r\n```\r\n\r\n## Payload\r\n\r\n### Type\r\n\r\nThe request type: \r\n- ask\r\n- dialogstep\r\n- event\r\n- linkclick\r\n- feedback\r\n- faq\r\n- faqsincategory\r\n- defaultfaqs\r\n- categorytree\r\n- category\r\n- searchfaqs\r\n\r\n### Data\r\n\r\nThe `data` section allows to pass the main information to the request, e.g. what question needs to be asked. \r\n\r\n### Metadata\r\n\r\nThe `metadata` section allows to pass additional information to the request, e.g. minimum number of FAQs needed. \r\n\r\n### Config\r\n\r\nThe `config` section contains the information related to the how and where to do the request.\r\n\r\n|Property Name | Description | Mandatory |\r\n|---|---|---|\r\n|baseUrl | the URL of the API | yes |\r\n|apiKey | the API key | yes |\r\n|culture | language (en/nl/de) | yes |\r\n|timeout | time in milliseconds until request times out | no |\r\n\r\n\r\n","readmeFilename":"README.md","gitHead":"c35dba728b322a304bc61ab73e779d8b1a9bc732","_id":"@cxco/dcx-connector@2.0.0-beta.1","_nodeVersion":"10.15.3","_npmVersion":"6.13.7","dist":{"integrity":"sha512-n/FeOQ0vG61Sp0RKVBs8XYyLBMIFNPKfN8qetDrr28e2NjCaq2ZAKVr+lTHflidZIaW1S6xE0ZVka6jVYX2HSg==","shasum":"22ec87de0a200199a7b2f94542552e50955d8e76","tarball":"https://registry.npmjs.org/@cxco/dcx-connector/-/dcx-connector-2.0.0-beta.1.tgz","fileCount":6,"unpackedSize":25849,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRVJnCRA9TVsSAnZWagAAWbcP/R8zXQnY2UAtGKriHzqe\nZyhl8fBTy9UXLeoNJHi/0HopASk5yoLpRwiuLiFk3za6TtzjznMdeVfOYtrc\ngyOIcN/qJxIdW8S9r2H69EnW9zlizpsHo9mNr3e3/5mpcWQQF/2mHB3NKkKr\nl79SvbLzhfczBc0kW4FTBdMPqFC3EcomAhqmEmSs7GFzq6wYGxeAqrs+B3C1\nTdzzyL3x5K7ZKtjT+UJH65nKuaHo2iP8FXsdoSRLOoAD+M9ReXoy3QqQ0N19\ns7EipGvoyzQgjxs/MwU4UR6AqXWDWCss3xkwzbBHGjilXpwvcCoBP+8EvH7n\nOyiftwfLzJmasCJDhZlhxsFxh2kXvcENCTTBCjGmLB8jG4gyVyIWFy0TWyYO\ni3gFp0Ut2+cPxEV/JXg6QLzNcK6Vofl5ajZSR7wZqkkBR0xaBYRMbicPiDlC\n5iCCR0TdDiLI+KwcsMDHWuds2VIjlB/PQ1lyj2cNuKBscYcM5h/wr+pNThVa\nl3ATSYrhBqQ5kRTD/BFnpx4NgHBIvGXXfa8dbNalYJHsVQgngIbEj0rgzVNA\nYLQhhpgvl4S/7WtN/HdIqkGezSXrwXr7nO7Y4rEgBiqxvP128vxzZOSRNWr0\nUJF6eYkKlMEgnB/mZI30nwMJWy/SZ0hvjksV2stLdmqq+oLw/lIwmZSKYCqi\nYhMH\r\n=ZyOz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCISak6jj/EuvjkOaaR9/Ax5J6Qu2JekbAjc3Pa8+8n5wIhAIL4wGc+f5nrlISq5IVJg/JDG9A+Jn3H6zv8BHgA6zhk"}]},"maintainers":[{"name":"cx-company","email":"licensing.npm@cxcompany.com"},{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},{"name":"esclapes-cxco","email":"eduardo.esclapes.gimenez@cxcompany.com"},{"name":"mdingscx","email":"maarten.dings@cxcompany.com"},{"name":"remcodevries","email":"remco.de.vries@cxcompany.com"}],"_npmUser":{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dcx-connector_2.0.0-beta.1_1581601382750_0.10782222784738349"},"_hasShrinkwrap":false},"2.0.0-beta.2":{"name":"@cxco/dcx-connector","version":"2.0.0-beta.2","description":"A simple module to retrieve information from dcx","main":"lib/index.js","scripts":{"prepublishOnly":"npm run test && npm run build","prebuild":"rimraf lib","build":"babel src --out-dir lib --copy-files --ignore spec.js,mockdata,__snapshots__","test":"jest --no-cache"},"keywords":["DigitalCX","cxcompany"],"jest":{"verbose":true},"author":{"name":"david.custodio@cxcompany.com"},"license":"ISC","devDependencies":{"@babel/cli":"^7.8.4","@babel/plugin-proposal-object-rest-spread":"^7.8.3","@babel/plugin-transform-runtime":"^7.8.3","@babel/preset-env":"^7.8.4","@babel/runtime-corejs3":"^7.8.4","babel-jest":"^25.1.0","eslint":"^6.8.0","eslint-config-standard":"^14.1.0","eslint-plugin-import":"^2.20.1","eslint-plugin-node":"^11.0.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","jest":"^25.1.0","rimraf":"^3.0.2"},"dependencies":{"axios":"^0.19.2","@babel/runtime":"^7.8.4"},"readme":"# @CXCO/DCX-CONNECTOR\r\n\r\nLibrary to query DCX endpoints using a common query interface and getting normalized answers. \r\n\r\n---\r\n\r\n## Quickstart\r\n\r\n```javascript \r\n\r\nimport { doDcxRequest } from '@cxco/dcx-connector'\r\n\r\nconst payload = {\r\n    type: 'ask',\r\n    data: {\r\n        userInput: 'some question'\r\n    },\r\n    metadata: {},\r\n    config: {\r\n        baseUrl: 'https://your-digitalcx-endpoint',\r\n        apiKey: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx',\r\n        culture: 'en'\r\n    }\r\n}\r\n\r\nconst answer = await doDcxRequest(payload)\r\n\r\n```\r\n\r\nyou'll get a response with a payload with two objects inside (**data** and **metadata**):\r\n\r\n```json\r\n{\r\n  \"data\":  {\r\n    \"answer\": \"some answer\",\r\n    \"dialogOptions\":  [],\r\n    \"images\":  [],\r\n    \"links\":  [],\r\n    \"outputAdditions\":  {},\r\n    \"type\": \"answer\",\r\n    \"videos\":  []\r\n  },\r\n  \"metadata\":  {\r\n    \"culture\": \"en\",\r\n    \"interactionId\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\r\n    \"sessionId\": \"xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\r\n    \"id\": 0\r\n  }\r\n}\r\n```\r\n\r\n## Payload\r\n\r\n### Type\r\n\r\nThe request type: \r\n- ask\r\n- dialogstep\r\n- event\r\n- linkclick\r\n- feedback\r\n- faq\r\n- faqsincategory\r\n- defaultfaqs\r\n- categorytree\r\n- category\r\n- searchfaqs\r\n\r\n### Data\r\n\r\nThe `data` section allows to pass the main information to the request, e.g. what question needs to be asked. \r\n\r\n### Metadata\r\n\r\nThe `metadata` section allows to pass additional information to the request, e.g. minimum number of FAQs needed. \r\n\r\n### Config\r\n\r\nThe `config` section contains the information related to the how and where to do the request.\r\n\r\n|Property Name | Description | Mandatory |\r\n|---|---|---|\r\n|baseUrl | the URL of the API | yes |\r\n|apiKey | the API key | yes |\r\n|culture | language (en/nl/de) | yes |\r\n|timeout | time in milliseconds until request times out | no |\r\n\r\n\r\n","readmeFilename":"README.md","gitHead":"c4aa81d96d9197fc625ef1e388bafd248dec3c6b","_id":"@cxco/dcx-connector@2.0.0-beta.2","_nodeVersion":"10.15.3","_npmVersion":"6.13.7","dist":{"integrity":"sha512-80Qsma0GoCqxNsDgEHyE+s7QwOWLDQSaUy6GgLxH6R0I/Vhc/udv9fAI/3qQ2zhLJ+avtbS1F/rXISIT6MYwpw==","shasum":"b571f9c104af46aaa11041e2efbac0146bb63222","tarball":"https://registry.npmjs.org/@cxco/dcx-connector/-/dcx-connector-2.0.0-beta.2.tgz","fileCount":6,"unpackedSize":23786,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRVXoCRA9TVsSAnZWagAAOB4P/3hXNz0jUvKyIGpnc9GN\nCzPdKda7pcKHapb6FAs7k6CVLrMTIZILiJwOjMmQjnWVvf3yPvoLpjGlXQQa\nzic7ABwBJRYUthqxKAIjC/qx2wmDdSsBV5fCUF8EXkCYS/ovOuKF2X37ndgB\nMgjTMv34q/9qFgmXzhwvjMj+g1BdtCzDQtrGSEJkq61vSomILklGWMd50neb\n5o6i2rCYPFgNkWr6u7RTmTul702ZyvHDu2uYF7tUhPESt7H7B6hB6OwoJuIM\ndocARKNFUPILWjo3AIHB/gU/iswnAQ2nz8HpNeptKJtPy5Rpyj8RF7aPO7J7\n/TnBJ1ZaWwVd/KCRIyKYI8S0dXNgqUrChJ+qQXiKTDr9MlH5mnwoxELffhA5\njPE+gkP9MWqTJnW3qbhr6zh8DlYjfPEfkZyGqIJME/30YVOULjSUz/ovw65H\nNZMS8dl8o5TzTKHzKjgXbAY1+mB5t+bI2w6fovHK+IFuOU+LmT4czgN0wMHs\nvJMYSocA91iAUjzNMw45xmX4p2EUx2z6FZlHNucpC/fhuBCUJbbRAjt/JAkF\n8iNxjJ+/Z1N+tOa/3Tnlp/cHN3SdNyfudF9FtcxLYTBCY94DtqW3tmnR0TEr\n9P0t4ESDpHe5brWCjbQUKji47YbEbm7FFAHoXEQ2L8RoUiHZ8pybc7ZBsJaF\nLex1\r\n=f9w4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8LPfzg8gOkef1LOADQ7hUMsxUCZeczjB7ap+fuP/p4gIgeUq0SUPOMqxoYBFYH6rY4bx490txz6lHvvgBMiH54x0="}]},"maintainers":[{"name":"cx-company","email":"licensing.npm@cxcompany.com"},{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},{"name":"esclapes-cxco","email":"eduardo.esclapes.gimenez@cxcompany.com"},{"name":"mdingscx","email":"maarten.dings@cxcompany.com"},{"name":"remcodevries","email":"remco.de.vries@cxcompany.com"}],"_npmUser":{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dcx-connector_2.0.0-beta.2_1581602279717_0.6414682673001217"},"_hasShrinkwrap":false},"2.0.0":{"name":"@cxco/dcx-connector","version":"2.0.0","description":"A simple module to retrieve information from dcx","main":"lib/index.js","scripts":{"prepublishOnly":"npm run test && npm run build","prebuild":"rimraf lib","build":"babel src --out-dir lib --copy-files --ignore spec.js,mockdata,__snapshots__","test":"jest --no-cache"},"keywords":["DigitalCX","cxcompany"],"jest":{"verbose":true},"author":{"name":"david.custodio@cxcompany.com"},"license":"ISC","devDependencies":{"@babel/cli":"^7.8.4","@babel/plugin-proposal-object-rest-spread":"^7.8.3","@babel/plugin-transform-runtime":"^7.8.3","@babel/preset-env":"^7.8.4","@babel/runtime-corejs3":"^7.8.4","babel-jest":"^25.1.0","eslint":"^6.8.0","eslint-config-standard":"^14.1.0","eslint-plugin-import":"^2.20.1","eslint-plugin-node":"^11.0.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","jest":"^25.1.0","rimraf":"^3.0.2"},"dependencies":{"axios":"^0.19.2","@babel/runtime":"^7.8.4"},"gitHead":"43056b4cbec73ba27dac31d1997bcaad14bf150b","_id":"@cxco/dcx-connector@2.0.0","_nodeVersion":"10.15.3","_npmVersion":"6.13.7","dist":{"integrity":"sha512-0x1XK646g8jVjoXG69+ecnXwbeanll9+nT3UBLyg1Pyk7z2Ocifc3Wmn+R1msb6Y1Vnc+uKdH19INZPkSNwB1Q==","shasum":"0a44dbdde1c837d9f8d8ae9e4c340977ce405a37","tarball":"https://registry.npmjs.org/@cxco/dcx-connector/-/dcx-connector-2.0.0.tgz","fileCount":6,"unpackedSize":25476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRpHBCRA9TVsSAnZWagAAIQ0P/iLs9igF7uMZYMani5OM\nhWSuDwPwuL848QciQuIftJ65OSE9P5wE80udP3eSNGUxgV6Ans3vyhxkehRI\nVoJl4HgQubnycgH5fweOUcqd1E3hFKpTANeHiOdU6Izjns/AjGZg8L4ID2ZJ\nxAp5tyYVNF0QQ9J06/Mr1nMFwEcHkMQ87LbBdnMhhcG5hrSriNJ0xnys23Yq\n6vq4gW4epvZ2Tj2jdwT/xJoJZE/g+5K2M2GXq1kzOyfzRRB3PwAQvSqsKu7+\n0rrnx5AOBQ85V/aB+zyz9KaL+OULJ4dsvQrcvAHrvPPd58cj+QeoZj4i3VjJ\nHEtzyobac1px+xXLzLDbndr5CiiQa4YZv78SM3+59x4QGCAwC5izFlMsIgMi\n4vEHrvVjA922sbSpE40jwD6w8Ebz40UJA0wWD9gr7Us9qoA4HHqZgHxl7fwq\nkjzYWgW/CugIUHMGYrPT8uElqis1mc5s1XHvkjzR1y1nvNDAdOJoNTOpqVOw\nEbyyILHL0xwICkfImNZ7oSpPMdX0GBOWEJU2N3QOoam92gFs8foksSaOXSIy\ndcsRR8K/Erh/HCrpU9AOZHEgTtsU4+S32HmoijFuBVOXdFDm01J5zY9cW0mn\nzJYElPr6yWq/raQbEDJFpX8/fY8WDt3f8OaeFs5VdL6OOEKTwuz36cYyWUJm\nIfxU\r\n=GEqI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTwsL1Z7Iwe0CQ9aWwl0VkBBk0HdFB3Gr/dvO5DQ/5SAIgBh08JC7wmxCpZ9bQOKBEhp41rhLe1XEWmaKQUHbAk4c="}]},"maintainers":[{"name":"cx-company","email":"licensing.npm@cxcompany.com"},{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},{"name":"esclapes-cxco","email":"eduardo.esclapes.gimenez@cxcompany.com"},{"name":"mdingscx","email":"maarten.dings@cxcompany.com"},{"name":"remcodevries","email":"remco.de.vries@cxcompany.com"}],"_npmUser":{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dcx-connector_2.0.0_1581683137406_0.929404917346697"},"_hasShrinkwrap":false},"2.1.0":{"name":"@cxco/dcx-connector","version":"2.1.0","description":"A simple module to retrieve information from dcx","main":"lib/index.js","scripts":{"prepublishOnly":"npm run test && npm run build","prebuild":"rimraf lib","build":"babel src --out-dir lib --copy-files --ignore spec.js,mockdata,__snapshots__","test":"jest --no-cache"},"keywords":["DigitalCX","cxcompany"],"jest":{"verbose":true},"author":{"name":"david.custodio@cxcompany.com"},"license":"ISC","devDependencies":{"@babel/cli":"^7.8.4","@babel/plugin-proposal-object-rest-spread":"^7.8.3","@babel/plugin-transform-runtime":"^7.8.3","@babel/preset-env":"^7.8.4","@babel/runtime-corejs3":"^7.8.4","babel-jest":"^25.1.0","eslint":"^6.8.0","eslint-config-standard":"^14.1.0","eslint-plugin-import":"^2.20.1","eslint-plugin-node":"^11.0.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","jest":"^25.1.0","rimraf":"^3.0.2"},"dependencies":{"axios":"^0.19.2","@babel/runtime":"^7.8.4"},"gitHead":"b26a342dccf3784f329ce064a3a87531307ba4fc","_id":"@cxco/dcx-connector@2.1.0","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","dist":{"integrity":"sha512-/b1ZMVL9WPhgF66T8OXSuQX73XzXqdOO6mFc8al7pRSlKfBN/ZFm4l8ou4capll0cDyJseuyq8wSsAvsBY6Egw==","shasum":"0700de26e79a1b6f6bf5a03f1745c0fcdf5a1712","tarball":"https://registry.npmjs.org/@cxco/dcx-connector/-/dcx-connector-2.1.0.tgz","fileCount":6,"unpackedSize":26512,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7IDHCRA9TVsSAnZWagAAqWYP/RDP6o0J46rhwirvZ3hl\nE+ztHcUNpS+orWwVhPOB5nNCS8YYJhsRyH1XPp2L9s1nYgYqKSBd5dk/gpSU\nSZJIS+K0cPX3tCsBspmYtVlcVy048Ljipf3vPO/zD9l+seiJysGXCRQpTsWB\n+RYZfnW79vB6lAVUz2SnrhJnE3Np6GFFmDVhmgDJXsg1J5g5Rebf1bQbCsYa\n3XG74RNn3e8vb5/ihTJbWHW9KlFetLn9ZCmd89JKOIob2AWaITH+GOFMiJZv\ncQC27ZSKz6Pt63fZEvhOjU6d5v7HX2gw9leJ8/ravw4Vbt19cV+FHlG1hsFN\nfrp0Hsn/yyIBIIn17fNUyRz57Z9VF+oxu9HEOYEHKbMMe9Ia45oBDWw4D1kB\nqHBlyDcsm/8uEeRLjAtLHWXjiYb33fD/YzP4k7oB5yIOwKWoYTP/mPqp5KZS\nw2RbVUvEdivxi/l4rPl7wHGrOvkA5alU1J/uOh94Q1XGadeX24KZjjCmllTO\nlDPxgRh343QwDOH5SqGvGD847sPv7SS3x1bEGZxdhOthiLGqkVg95+nVH8rp\nHF5LUBNuYflPoylE7WnuJdFDh0YZAjaLBsUztg/JhsqsemfOWnR1WLxlZZAz\nuW/aU769mg2o/ylxwjvagLjRAdwXijx57AUWpIdDHAySUF3FEqrmsB4tMMro\nl5z2\r\n=s2xM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZym/fk5hpT38qhKQ2EssPE/U5qj0iJlaTK/VBlsQKZwIgZeIvM+is82QkhrIDCK8V/RA0xhN0sBAd1iIKrcNAv40="}]},"maintainers":[{"email":"licensing.npm@cxcompany.com","name":"cx-company"},{"email":"david.custodio@cxcompany.com","name":"dcustodiocx"},{"email":"kasper.simons@cxcompany.com","name":"kaspersimons"},{"email":"remco.de.vries@cxcompany.com","name":"remcodevries"}],"_npmUser":{"name":"remcodevries","email":"remco.de.vries@cxcompany.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dcx-connector_2.1.0_1592557766835_0.00680468921942623"},"_hasShrinkwrap":false},"2.1.1":{"name":"@cxco/dcx-connector","version":"2.1.1","description":"A simple module to retrieve information from dcx","main":"lib/index.js","scripts":{"prepublishOnly":"npm run test && npm run build","prebuild":"rimraf lib","build":"babel src --out-dir lib --copy-files --ignore spec.js,mockdata,__snapshots__","test":"jest --no-cache"},"keywords":["DigitalCX","cxcompany"],"jest":{"verbose":true},"author":{"name":"david.custodio@cxcompany.com"},"license":"ISC","devDependencies":{"@babel/cli":"^7.8.4","@babel/plugin-proposal-object-rest-spread":"^7.8.3","@babel/plugin-transform-runtime":"^7.8.3","@babel/preset-env":"^7.8.4","@babel/runtime-corejs3":"^7.8.4","babel-jest":"^25.1.0","eslint":"^6.8.0","eslint-config-standard":"^14.1.0","eslint-plugin-import":"^2.20.1","eslint-plugin-node":"^11.0.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","jest":"^25.1.0","rimraf":"^3.0.2"},"dependencies":{"axios":"^0.19.2","@babel/runtime":"^7.8.4"},"gitHead":"32255ddf23513a7930ef25da31d7725f5cbfdcb8","_id":"@cxco/dcx-connector@2.1.1","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-P012Olcow8f5+yLyCMPWUmi7FH4EGbc8f2RFb2eNzBBHkfcWXunMHXlp1fb6wGT4etmElWKR9p0UjCsKvSK6jQ==","shasum":"654b98acc28d7feb61a205506a4e9736568730d7","tarball":"https://registry.npmjs.org/@cxco/dcx-connector/-/dcx-connector-2.1.1.tgz","fileCount":6,"unpackedSize":26562,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8wxICRA9TVsSAnZWagAA08AP/1LoS5BQL87Q6puCdMDv\n7OGYaZGAF9WlrsTW7upNybf+4jCwo1cm3xV7whJXzcHmYXw4WtzD5E64jh6z\nM/idZyZyiCLmJtyXmNBpUwUGuOi/HSvKaENOY2JOUqb1JgqpuT2Z7nzZt+fJ\noKI0DWYFPBoDWhx/D9AGehLPbvu3nAUyQg+eofpcsfoeeM7sWwL7H10jZ5Jj\nV+/TP1FJmLOu/wEoM1u/GPriZUbocR5V2URT8C7uhswbx6Tz9HY48FUvxIc1\nPe6fxY3pCjN9qsfYkM8eadgUnMvTasJ4wWomFQmYeY5a3fH7n3wY3QCzgcNm\ntgXSBEbaebDq0qlpAf21Cu2MnEhiEdxmRr6V6JYGPF+7xcZUpeYwWWJM5oPT\njG1/fEu8TSks9PzAZqx54Y+RLvLjj4uM2gCa5jA9tlC1mQMvgoAAV9QN9DKl\nUdUDN6TXM564iu28g1kZKqo2BajD1j68RP/Fcl+CewCfX8J7ZxygZRaZBRvU\nMn03iSDXLpSLLccEeA40DNRR/wNrOBJJHce8rb1caUy1ko7q2rXggnLpnbPY\n/vrryVL/uQjKbnGhk3N2R05HXVFc0Sxu3PCvrHqIT7sY7lyUv4WvgtB5QDpK\nlSg0DH/D6Vo+65llJD0sxYlqZikBkkATlYPFzR7DuDrm4I4NPy/HKZRO46jA\n+BgH\r\n=+seJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG/EJZCKbiIi/+9EO0trqaGcQ/rxAJEnHf1ElAFVl4RoAiEAxUyN0zLE9xkuYRECfbCvL8NmiI+fcfe2OcFg08Nx3fE="}]},"maintainers":[{"email":"licensing.npm@cxcompany.com","name":"cx-company"},{"email":"david.custodio@cxcompany.com","name":"dcustodiocx"},{"email":"kasper.simons@cxcompany.com","name":"kaspersimons"},{"email":"remco.de.vries@cxcompany.com","name":"remcodevries"}],"_npmUser":{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dcx-connector_2.1.1_1592986696349_0.5021342664691602"},"_hasShrinkwrap":false},"2.2.0":{"name":"@cxco/dcx-connector","version":"2.2.0","description":"A simple module to retrieve information from dcx","main":"lib/index.js","scripts":{"prepublishOnly":"npm run test && npm run build","prebuild":"rimraf lib","build":"babel src --out-dir lib --copy-files --ignore spec.js,mockdata,__snapshots__","test":"jest --no-cache"},"keywords":["DigitalCX","cxcompany"],"jest":{"verbose":true},"author":{"name":"david.custodio@cxcompany.com"},"license":"ISC","devDependencies":{"@babel/cli":"^7.8.4","@babel/plugin-proposal-object-rest-spread":"^7.8.3","@babel/plugin-transform-runtime":"^7.8.3","@babel/preset-env":"^7.8.4","@babel/runtime-corejs3":"^7.8.4","babel-jest":"^25.1.0","eslint":"^6.8.0","eslint-config-standard":"^14.1.0","eslint-plugin-import":"^2.20.1","eslint-plugin-node":"^11.0.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","jest":"^25.1.0","rimraf":"^3.0.2"},"dependencies":{"axios":"^0.19.2","@babel/runtime":"^7.8.4"},"gitHead":"94bac577788d008714bcf0f09a06f8eb801cc761","_id":"@cxco/dcx-connector@2.2.0","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-POE6aP3rRx0shZ2D8U0MmG7lUP7b+F6jostwJlNAZSkVzZdyBKE5NiNN6PzQDGzjcgtBEZBcehY6kKA/LuGpPA==","shasum":"faeb30922d2c33ad8870fa3485c76be7c2fe70dc","tarball":"https://registry.npmjs.org/@cxco/dcx-connector/-/dcx-connector-2.2.0.tgz","fileCount":6,"unpackedSize":28011,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfR83qCRA9TVsSAnZWagAAfw0QAJQq+kFiWsdGQH6Ai2Lj\ncPfCP90GeF4VvNH5cUIMiz0wh8wzctjm8QBV42/FPzAfl7I+13MAF/65Dn7o\nUzLTeP/aY+x2+53+kNn8YUZ8emfy0clT9+x8LFPbVRWKGLzPmEUDNdXE+ssw\nXoRcmuOu6aD4bu1dnpC8ZGxLH4XpiIanClKLL+OkAbLr/LRWKjy8hwC/GwzS\nUj0iD88p049vSBvquiLcRQJiRmP009QqH5ncSXeTHFa45l2kcqPGwOY6ZtEa\n4wZaomEul1W/IoeuAzpbkNZUc5lX1LSSIaQhMglkVavt+L9BPGBy9+XrxHu2\nE0o51qOKj4nSd8EduMPuKOOXS8TFr/YSDKS96/VxiuIIwYnho7Abxu7/yZ24\nVxapmq2Wi3gwaY7YyPHnshQGMoxSNOcNahUNiR8yqD1IM2jSeL9/FxqCc5sS\nQqP0Usf7f3/5tkDiAOeEBYkALppINbPlhAj/+xTpMug09gJwmJLljuHRuoNR\nffpEOd4wBsnluQhVWqB9yb1DF2+oBmD5IuaEbz0J6uqpusZ39leX4de44wZb\nIR+yWJBOJ2Lb832EjK8Qtb/aLXMyKPccFkp1oSzJuFa2zDW0Tv0z6HY/aL0r\nwPj4fG2ldu+xICPsnhFTIDMyrbnwGopbYbtsTfqlU51rnhP21pbaGU7JFvDR\n7gHF\r\n=7V30\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICQ8gz8OWr6bh9T5nnGYYIy6M3Yv6NdWhg5Y0jjF1Ze2AiA3bmF6emV2nwFmkORT41Eh9F0i3boRGKvh3qx+lEebSA=="}]},"maintainers":[{"email":"licensing.npm@cxcompany.com","name":"cx-company"},{"email":"david.custodio@cxcompany.com","name":"dcustodiocx"},{"email":"kasper.simons@cxcompany.com","name":"kaspersimons"},{"email":"remco.de.vries@cxcompany.com","name":"remcodevries"}],"_npmUser":{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dcx-connector_2.2.0_1598541290042_0.6468969452146209"},"_hasShrinkwrap":false},"2.2.1":{"name":"@cxco/dcx-connector","version":"2.2.1","description":"A simple module to retrieve information from DigitalCX","main":"lib/index.js","scripts":{"prepublishOnly":"npm run test && npm run build","prebuild":"rimraf lib","build":"babel src --out-dir lib --copy-files --ignore spec.js,mockdata,__snapshots__","test":"jest --no-cache"},"keywords":["DigitalCX","cxcompany"],"jest":{"verbose":true},"author":{"name":"david.custodio@cxcompany.com"},"license":"ISC","devDependencies":{"@babel/cli":"^7.8.4","@babel/plugin-proposal-object-rest-spread":"^7.8.3","@babel/plugin-transform-runtime":"^7.8.3","@babel/preset-env":"^7.8.4","@babel/runtime-corejs3":"^7.8.4","babel-jest":"^25.1.0","eslint":"^6.8.0","eslint-config-standard":"^14.1.0","eslint-plugin-import":"^2.20.1","eslint-plugin-node":"^11.0.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","jest":"^25.1.0","rimraf":"^3.0.2"},"dependencies":{"axios":"^0.19.2","@babel/runtime":"^7.8.4"},"gitHead":"dd25fd1edc9bec1f84af3f1b41d0f6a34e7b067c","_id":"@cxco/dcx-connector@2.2.1","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-rhbvN/L3hgd/Pykwr/NBk0MlamLc9J2bNJe5r61HpSfaxzUpmP9ajSglk68/Be9rbDMrffgVsrr1B/nNV/RXrg==","shasum":"496cb3aefa0ca8146af8369fe651035746f097e8","tarball":"https://registry.npmjs.org/@cxco/dcx-connector/-/dcx-connector-2.2.1.tgz","fileCount":6,"unpackedSize":29303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIrU1CRA9TVsSAnZWagAAkRAQAJ1Q0r5Y+vn5GVrBD4mM\nCC7T8F9vDcoAos09WUrUpU8iulGkSqbchK0dewG3uu9LLAOUILuHl401LRJW\n8s8LcXv1t3OmBakjK7uUC14lUiFhOEXt+Sq/CgTbXvVTpuMQ4oVSDGEfkAzQ\nQB2KDpUhKSZrOF88+/a9oKrHSgXNavaKbsLg6J8YneXMgwGYuoAhc06Q9o6L\nUIXwn7O0jcJBiNwR6P+lpqNISV1nG53GH2wkkFr83BE6su5fXi8IjevaPKfA\nVXvI7kUgwZe7aU8/RL8TIroA4kmJ6pq29GukFDHqyYDAaMvn1rvfF8fniTUF\nlVKP3K5eOTRvxKj6PgMadj78H+c2pINc+MN0WryWmtd9P18ody7vH4cjew+F\nnVZilpmAfTjKvf/rc86G507hLrwo2FXMuFp2ON1Gjv7WzmcdgVHQHYhs4UoN\n2T2LDtGpJ1+NhiZjnX5yKRjuW4gs/vMFpGgF6gfzwaLbDaVHP8klHfADm412\nWzROE4ChhtC4sdRXb4Z8ugNoy+10zDz80b1x/ijx//WEx/MR3H2J/nF7EVBf\n0iZpPYwVi61Wcvh4kyLFVqQLDaZHWNqXqmWkjDAKXcvswhz+h8TIsho+f0Gw\nWZYi8crmmrT2kZnDnAnOF8OB0HZSMYyBDXhPFz5GJ2Po9q0jr4ZYImMsfHre\nAZja\r\n=XKee\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDJclsvlasPjckwfMqzahYKWH6lv5/yLdtNkjHfoAkdhAiAJ0uhSCm7C6cOREIa39Hq7AoiAAcXCYfzMtchDpfyrZw=="}]},"_npmUser":{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},"directories":{},"maintainers":[{"name":"cx-company","email":"licensing.npm@cxcompany.com"},{"name":"dcustodiocx","email":"david.custodio@cxcompany.com"},{"name":"remcodevries","email":"remco.de.vries@cxcompany.com"},{"name":"kaspersimons","email":"kasper.simons@cxcompany.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dcx-connector_2.2.1_1612887348547_0.7685693477291331"},"_hasShrinkwrap":false},"2.3.0":{"name":"@cxco/dcx-connector","version":"2.3.0","description":"A simple module to retrieve information from DigitalCX","main":"lib/index.js","scripts":{"prepublishOnly":"npm run test && npm run build","prebuild":"rimraf lib","build":"babel src --out-dir lib --copy-files --ignore spec.js,mockdata,__snapshots__","test":"jest --no-cache"},"keywords":["DigitalCX","cxcompany"],"jest":{"verbose":true},"author":{"name":"david.custodio@cxcompany.com"},"license":"ISC","devDependencies":{"@babel/cli":"^7.8.4","@babel/plugin-proposal-object-rest-spread":"^7.8.3","@babel/plugin-transform-runtime":"^7.8.3","@babel/preset-env":"^7.8.4","@babel/runtime-corejs3":"^7.8.4","babel-jest":"^25.1.0","eslint":"^6.8.0","eslint-config-standard":"^14.1.0","eslint-plugin-import":"^2.20.1","eslint-plugin-node":"^11.0.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","jest":"^25.1.0","rimraf":"^3.0.2"},"dependencies":{"axios":"^0.19.2","@babel/runtime":"^7.8.4"},"gitHead":"9b156f0455e26a8cca8943ed7847394877b0a3f6","_id":"@cxco/dcx-connector@2.3.0","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-wd2ni9E0ImAVathX5bAbDe0sT29GbNSehW+asfZ8DR7b0X0Cu1wpJkPxxgAygqGfFFXOGEcav7ubbHLffQUMxg==","shasum":"41dac57adde97f27dc4ab5371cdcd4e94d5b7abb","tarball":"https://registry.npmjs.org/@cxco/dcx-connector/-/dcx-connector-2.3.0.tgz","fileCount":7,"unpackedSize":30110,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2DpACRA9TVsSAnZWagAAlF8P/1eE8DFHtBW1b2BRROtq\nTnUOvSqe27WpMGaxzs2/oFI3fcRlYYj7von1xMDinMKf5FroTWbDYr8CJB+W\nELOkz+TUFez8934+8l2J1DP/F697KA59OzaXVgxf/ZUMCCWR5xRC51AVtqA+\nZauDRfH23qwEob2x2Tk675XitAmXl39FGFmW3Cbtjsmk3f60ted8MZzHB7pQ\nEiz/au9qhoJavW+BJC6a/LXLAVAZ0YoyM8oeIvWbxjhu7/q+RAWI2bB7wUU4\nEgMfS4FfTW1cSnQ0Px18yUK8lcKmplEXA5Wd8HBG9+qOrrLVx5PcYELdgj9Z\nrSC6XHm0vipImQeLByj3aXaYYnCm8QgLnGRIB511zGU8gfpqKqKPGx24XDwz\nN+PQgWIKN6+XE4Bi3mcJVP6bxhgrqpXvdLEoh1nMAN3G632RnVdZ7/Uy4J9N\nJATJ6xzJIJEt5G28Nugq/ErHTehQtghtXm2AWv2iVxwz8TCqPv9Wr8EanVeS\nFpA5aOpA6qm/O7XMaL0SlcjZ/GJqUCSKpmdIrH8ZzyXj5R0ETPigrCH5fRRK\na0ZxuwvQt/CUaFjS15mK+mdO0rkOajGW2CzOfBVhe7D+cjZugGVxILmG45cv\nu4P8BxU9f5HGkWbUldM8kpVzvpiSrcs3dL8Hdz+7YEo0NGVODgr6LYX3JXeM\nbW3O\r\n=mqnS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG0z/PDzqxW+m81Urb3Q45ZDIjBkpPGtSQc10ZtIrvoVAiBFLv06bGsaxJeqXNva+PT/V59iXXCT02NYSeR64hrUog=="}]},"_npmUser":{"name":"cx-company","email":"licensing.npm@cxcompany.com"},"directories":{},"maintainers":[{"name":"cx-company","email":"licensing.npm@cxcompany.com"},{"name":"remcodevries","email":"remco.de.vries@cxcompany.com"},{"name":"bo.strijker","email":"bo.strijker@cm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dcx-connector_2.3.0_1632320553436_0.6174461010692596"},"_hasShrinkwrap":false}},"time":{"created":"2018-12-10T11:12:06.498Z","1.0.0":"2018-12-10T11:12:06.753Z","modified":"2022-04-05T02:23:13.416Z","1.0.1":"2018-12-10T12:42:40.751Z","1.1.0":"2019-01-11T12:32:29.670Z","1.2.0":"2019-01-14T13:08:12.800Z","1.2.1":"2019-01-15T12:47:50.868Z","1.2.2":"2019-01-16T13:18:22.781Z","1.3.0":"2019-01-28T15:49:29.496Z","1.3.1":"2019-03-11T13:42:52.476Z","2.0.0-beta.0":"2020-02-13T12:56:31.526Z","2.0.0-beta.1":"2020-02-13T13:43:02.856Z","2.0.0-beta.2":"2020-02-13T13:57:59.834Z","2.0.0":"2020-02-14T12:25:37.577Z","2.1.0":"2020-06-19T09:09:27.023Z","2.1.1":"2020-06-24T08:18:16.448Z","2.2.0":"2020-08-27T15:14:50.143Z","2.2.1":"2021-02-09T16:15:48.697Z","2.3.0":"2021-09-22T14:22:33.592Z"},"maintainers":[{"name":"cx-company","email":"licensing.npm@cxcompany.com"},{"name":"remcodevries","email":"remco.de.vries@cxcompany.com"},{"name":"bo.strijker","email":"bo.strijker@cm.com"}],"description":"A simple module to retrieve information from DigitalCX","keywords":["DigitalCX","cxcompany"],"author":{"name":"david.custodio@cxcompany.com"},"license":"ISC","readme":"# @CXCO/DCX-CONNECTOR\r\n\r\nLibrary to query DigitalCX endpoints using a common query interface and getting normalized answers. \r\n\r\n---\r\n\r\n## Why should I use the @cxco/dcx-connector?\r\n\r\nThe `@cxco/dcx-connector` is a simple JavaScript library that wraps all the DigitalCX standard endpoints using a simple inbount/outbound data contract. It uses [axios](https://www.npmjs.com/package/axios) under the hood to make the HTTP requests. \r\nThis library also exports the data contracts in case you want to use your own HTTP client but want to normalize the responses.\r\n\r\n## Installing\r\n\r\nUsing npm: \r\n\r\n`npm install @cxco/dcx-connector`\r\n\r\n## Quickstart\r\n\r\nPerforming an 'ask' request:\r\n\r\n```javascript \r\n\r\nimport { doDcxRequest } from '@cxco/dcx-connector'\r\n\r\nconst payload = {\r\n    type: 'ask',\r\n    data: {\r\n        userInput: 'some question'\r\n    },\r\n    metadata: {},\r\n    config: {\r\n        baseUrl: 'https://your-digitalcx-endpoint',\r\n        apiKey: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx',\r\n        culture: 'en',\r\n        customerKey: 'your-customer-key' // only needed if you're using the new CAIC URL \r\n        projectKey: 'your-project-key' // only needed if you're using the new CAIC URL\r\n    }\r\n}\r\n\r\nconst answer = await doDcxRequest(payload)\r\n\r\n```\r\n\r\nyou'll get a response with a payload with two objects inside (**data** and **metadata**):\r\n\r\n```json\r\n{\r\n  \"data\":  {\r\n    \"answer\": \"some answer\",\r\n    \"dialogOptions\":  [],\r\n    \"images\":  [],\r\n    \"links\":  [],\r\n    \"outputAdditions\":  {},\r\n    \"type\": \"answer\",\r\n    \"videos\":  []\r\n  },\r\n  \"metadata\":  {\r\n    \"culture\": \"en\",\r\n    \"interactionId\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\r\n    \"sessionId\": \"xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\r\n    \"id\": 0\r\n  }\r\n}\r\n```\r\n\r\n## Request Payload\r\n\r\n### Type\r\n\r\nThe request can be of the following types: \r\n- \"ask\"\r\n- \"dialogstep\"\r\n- \"event\"\r\n- \"linkclick\"\r\n- \"feedback\"\r\n- \"faq\"\r\n- \"faqsincategory\"\r\n- \"defaultfaqs\"\r\n- \"categorytree\"\r\n- \"category\"\r\n- \"searchfaqs\"\r\n- \"autocomplete\"\r\n\r\n### Data\r\n\r\nThe `data` section allows to pass the main information to the request, e.g. what question needs to be asked. The properties are added to the data object depending on the request being made.\r\n\r\n\r\n|Property Name | Description |\r\n|---|---|\r\n| userInput | The question to be asked to the engine. Used in \"ask\", \"searchfaqs\" and \"autocomplete\" requests|\r\n| dialogPath | When in a dialog, it's a node's \"Dialog Path\". Used in \"ask\" and \"dialogstep\" requests|\r\n| eventName | The event to be triggered. Used in the \"event\" request|\r\n| classificationId | The Classification Id. Used in \"faqsincategory\", \"defaultfaqs\", \"categorytree\", \"category\" and \"searchfaqs\" requests  |\r\n| categoryId | The Category Id. Used in \"faqsincategory\" and \"category\" requests |\r\n| faqId | The FAQ Id. Used in the \"faq\" request|\r\n| interactionId | The interaction Id. Used in \"linkclick\" and \"feedback\" requests |    \r\n| linkId | The clicked link id. Used in the \"linkclick\" request|\r\n| linkUrl | The clicked link URL. Used in the \"linkclick\" request|\r\n| score | The feedback score. Used in the \"feedback\" request |\r\n| label |  The feedback label. Used in the \"feedback\" request |\r\n| comment | The feedback comment. Used in the \"feedback\" request |\r\n\r\n\r\n\r\n### Metadata\r\n\r\nThe `metadata` section allows to pass additional information to the request, e.g. minimum number of FAQs needed. The properties depend on the request being made.\r\n\r\n\r\n| Property Name | Description |\r\n| --- | --- |\r\n| context | Array of context variables and corresponding values|\r\n| includeFaqs | Include FAQs in categories |\r\n| maxFaqs | Maximum number of FAQs to be included in the request |\r\n| minFaqs | Minimum number of FAQs to be included in the request |\r\n| session | Session properties and corresponding values|\r\n| sessionId | The current session Id|\r\n| sessionMode | The session mode |  \r\n| tDialogState | The TDialog state |\r\n| user | User properties and corresponding values|\r\n| max | Maximum number of words from dictionary |\r\n| offset | Offset for autocomplete |\r\n| region | The region where the original data resides, e.g. West Europe or Southeast Asia |\r\n|headers| Object containing properties `referer` and `userAgent`|\r\n\r\n### Config\r\n\r\nThe `config` section contains the information related to the how and where to do the request.\r\n\r\n|Property Name | Description | Mandatory |\r\n|---|---|---|\r\n|baseUrl | the URL of the API | yes |\r\n|apiKey | the API key | yes |\r\n|culture | language (en/nl/de) | yes |\r\n|timeout | time in milliseconds until request times out | no |\r\n|customerKey | the customer key (only needed when using the new CAIC URL) | yes/no |\r\n|projectKey | the project key (only needed when using the new CAIC URL)| yes/no |\r\n\r\nIf you're using the new CAIC URL, the project key and customer key are also needed in the `config`\r\n\r\n## Example: using just the data contrats\r\n\r\nThe \"buildRequest\" data contract generates an object that is accepted by [axios](https://github.com/axios/axios#axiosrequestconfig) as a request configuration.\r\n\r\n```javascript\r\n// import data contracts from the @cxco/dcx-connector\r\nimport { buildRequest, buildResponse } from '@cxco/dcx-connector'\r\n\r\n\r\nconst dcxRequest = async (payload) => {\r\n\r\n    const requestConfig = buildRequest(payload)\r\n\r\n    if (requestConfig === null) {\r\n      throw new Error('Invalid payload')\r\n    }\r\n\r\n    const dcxResponse = await httpClient.doRequest(requestConfig)\r\n\r\n    return buildResponse(dcxResponse)\r\n}\r\n```","readmeFilename":"README.md"}