Built motion from commit (unavailable).|2.5.19
[motion2.git] / server / services / agi / scripts / aws / lex / lib / api.js
index e98f291..11f4901 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6c3d=['LexRuntime','$LATEST','bluebird','aws-sdk','postText','slots','hasOwnProperty','slot_'];(function(_0x1ddf97,_0x28e3c5){var _0x19b29b=function(_0x2e0250){while(--_0x2e0250){_0x1ddf97['push'](_0x1ddf97['shift']());}};_0x19b29b(++_0x28e3c5);}(_0x6c3d,0x15a));var _0xd6c3=function(_0x17fd3d,_0x2dd9a1){_0x17fd3d=_0x17fd3d-0x0;var _0x262d51=_0x6c3d[_0x17fd3d];return _0x262d51;};'use strict';var BPromise=require(_0xd6c3('0x0'));var AWS=require(_0xd6c3('0x1'));function lexResult(_0x239290,_0x26d5e1){return new BPromise(function(_0x173173,_0x5d4f63){_0x239290[_0xd6c3('0x2')](_0x26d5e1,function(_0x726641,_0x18c904){if(_0x726641){_0x5d4f63(_0x726641);}if(_0x18c904[_0xd6c3('0x3')]){for(const _0x44fbe9 in _0x18c904[_0xd6c3('0x3')]){if(_0x18c904[_0xd6c3('0x3')][_0xd6c3('0x4')](_0x44fbe9)){var _0x36f97d=_0x18c904['slots'][_0x44fbe9];_0x18c904[_0xd6c3('0x5')+_0x44fbe9]=_0x36f97d;}}}_0x173173(_0x18c904);});});}module['exports']=function(_0x5a3d5e,_0x173de3,_0x559642,_0x32f1cb,_0x50e279,_0xc890fa){var _0x2f0476=new AWS[(_0xd6c3('0x6'))]({'accessKeyId':_0x173de3,'secretAccessKey':_0x559642,'region':_0x32f1cb});var _0x187778={'botAlias':_0xd6c3('0x7'),'botName':_0xc890fa,'inputText':_0x50e279,'userId':_0x5a3d5e};return lexResult(_0x2f0476,_0x187778);};
\ No newline at end of file
+var _0x83dc=['postText','slots','hasOwnProperty','slot_','exports','$LATEST','bluebird','aws-sdk'];(function(_0x6c993a,_0x5ea3ab){var _0x27f547=function(_0x22df20){while(--_0x22df20){_0x6c993a['push'](_0x6c993a['shift']());}};_0x27f547(++_0x5ea3ab);}(_0x83dc,0x1be));var _0xc83d=function(_0x37d4b2,_0x47181b){_0x37d4b2=_0x37d4b2-0x0;var _0x2942f6=_0x83dc[_0x37d4b2];return _0x2942f6;};'use strict';var BPromise=require(_0xc83d('0x0'));var AWS=require(_0xc83d('0x1'));function lexResult(_0x58b49b,_0x2168a1){return new BPromise(function(_0x53ca41,_0x3a29be){_0x58b49b[_0xc83d('0x2')](_0x2168a1,function(_0x410478,_0x4046ec){if(_0x410478){_0x3a29be(_0x410478);}if(_0x4046ec['slots']){for(const _0x178ef7 in _0x4046ec[_0xc83d('0x3')]){if(_0x4046ec['slots'][_0xc83d('0x4')](_0x178ef7)){var _0x339cb0=_0x4046ec[_0xc83d('0x3')][_0x178ef7];_0x4046ec[_0xc83d('0x5')+_0x178ef7]=_0x339cb0;}}}_0x53ca41(_0x4046ec);});});}module[_0xc83d('0x6')]=function(_0x22daf9,_0x2f451b,_0x255598,_0x1e9d6c,_0x2abb85,_0x5181da){var _0x4d22c0=new AWS['LexRuntime']({'accessKeyId':_0x2f451b,'secretAccessKey':_0x255598,'region':_0x1e9d6c});var _0x4c7327={'botAlias':_0xc83d('0x7'),'botName':_0x5181da,'inputText':_0x2abb85,'userId':_0x22daf9};return lexResult(_0x4d22c0,_0x4c7327);};
\ No newline at end of file