Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / services / agi / scripts / aws / lex / lib / api.js
index 1125f53..21e6951 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x95f8=['$LATEST','bluebird','postText','slots','hasOwnProperty','slot_','LexRuntime'];(function(_0x5f54b5,_0x216cf2){var _0x2e52a2=function(_0x48d3e4){while(--_0x48d3e4){_0x5f54b5['push'](_0x5f54b5['shift']());}};_0x2e52a2(++_0x216cf2);}(_0x95f8,0x8d));var _0x895f=function(_0x4119bf,_0x2e4b8e){_0x4119bf=_0x4119bf-0x0;var _0xcd3e8f=_0x95f8[_0x4119bf];return _0xcd3e8f;};'use strict';var BPromise=require(_0x895f('0x0'));var AWS=require('aws-sdk');function lexResult(_0x27ae82,_0x30a81a){return new BPromise(function(_0x12a829,_0x5a1bac){_0x27ae82[_0x895f('0x1')](_0x30a81a,function(_0xe8eac7,_0x4a7413){if(_0xe8eac7){_0x5a1bac(_0xe8eac7);}if(_0x4a7413[_0x895f('0x2')]){for(const _0x476424 in _0x4a7413[_0x895f('0x2')]){if(_0x4a7413[_0x895f('0x2')][_0x895f('0x3')](_0x476424)){var _0xb0a31=_0x4a7413['slots'][_0x476424];_0x4a7413[_0x895f('0x4')+_0x476424]=_0xb0a31;}}}_0x12a829(_0x4a7413);});});}module['exports']=function(_0x470eda,_0x132e72,_0x50057b,_0x427789,_0x63e89c,_0x409e0d){var _0x130f10=new AWS[(_0x895f('0x5'))]({'accessKeyId':_0x132e72,'secretAccessKey':_0x50057b,'region':_0x427789});var _0x396e6a={'botAlias':_0x895f('0x6'),'botName':_0x409e0d,'inputText':_0x63e89c,'userId':_0x470eda};return lexResult(_0x130f10,_0x396e6a);};
\ No newline at end of file
+var _0xa9e0=['LexRuntime','bluebird','aws-sdk','slots','hasOwnProperty'];(function(_0x2527eb,_0x320da0){var _0x3b8745=function(_0x542d01){while(--_0x542d01){_0x2527eb['push'](_0x2527eb['shift']());}};_0x3b8745(++_0x320da0);}(_0xa9e0,0x123));var _0x0a9e=function(_0x4dbaad,_0x730318){_0x4dbaad=_0x4dbaad-0x0;var _0x226c72=_0xa9e0[_0x4dbaad];return _0x226c72;};'use strict';var BPromise=require(_0x0a9e('0x0'));var AWS=require(_0x0a9e('0x1'));function lexResult(_0x29929c,_0x5dd881){return new BPromise(function(_0x550fbc,_0x18d5c9){_0x29929c['postText'](_0x5dd881,function(_0x333808,_0x432180){if(_0x333808){_0x18d5c9(_0x333808);}if(_0x432180[_0x0a9e('0x2')]){for(const _0x991246 in _0x432180[_0x0a9e('0x2')]){if(_0x432180['slots'][_0x0a9e('0x3')](_0x991246)){var _0x441e3a=_0x432180[_0x0a9e('0x2')][_0x991246];_0x432180['slot_'+_0x991246]=_0x441e3a;}}}_0x550fbc(_0x432180);});});}module['exports']=function(_0xe42b77,_0x56465b,_0x52cace,_0x39753a,_0xf81284,_0x307b3e){var _0x3ab53f=new AWS[(_0x0a9e('0x4'))]({'accessKeyId':_0x56465b,'secretAccessKey':_0x52cace,'region':_0x39753a});var _0xbd1168={'botAlias':'$LATEST','botName':_0x307b3e,'inputText':_0xf81284,'userId':_0xe42b77};return lexResult(_0x3ab53f,_0xbd1168);};
\ No newline at end of file