Built motion from commit (unavailable).|2.5.26
[motion2.git] / server / services / agi / scripts / aws / lex / lib / api.js
index 1125f53..7c0fd4d 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 _0x8e0a=['aws-sdk','slots','hasOwnProperty','exports','LexRuntime','$LATEST'];(function(_0x27a948,_0x2eebae){var _0x45ac61=function(_0x8418f5){while(--_0x8418f5){_0x27a948['push'](_0x27a948['shift']());}};_0x45ac61(++_0x2eebae);}(_0x8e0a,0x168));var _0xa8e0=function(_0x1e9210,_0x201b5c){_0x1e9210=_0x1e9210-0x0;var _0x40c9cd=_0x8e0a[_0x1e9210];return _0x40c9cd;};'use strict';var BPromise=require('bluebird');var AWS=require(_0xa8e0('0x0'));function lexResult(_0xddb157,_0xc7ed2b){return new BPromise(function(_0x1dd49c,_0x36c945){_0xddb157['postText'](_0xc7ed2b,function(_0x43897c,_0x37e77e){if(_0x43897c){_0x36c945(_0x43897c);}if(_0x37e77e[_0xa8e0('0x1')]){for(const _0x4a60b7 in _0x37e77e[_0xa8e0('0x1')]){if(_0x37e77e['slots'][_0xa8e0('0x2')](_0x4a60b7)){var _0x37c5c8=_0x37e77e[_0xa8e0('0x1')][_0x4a60b7];_0x37e77e['slot_'+_0x4a60b7]=_0x37c5c8;}}}_0x1dd49c(_0x37e77e);});});}module[_0xa8e0('0x3')]=function(_0x2d19d4,_0x2bb50a,_0x4cc75c,_0x3fcdf4,_0xc0d0e8,_0xdcfa72){var _0x522877=new AWS[(_0xa8e0('0x4'))]({'accessKeyId':_0x2bb50a,'secretAccessKey':_0x4cc75c,'region':_0x3fcdf4});var _0x31bd2b={'botAlias':_0xa8e0('0x5'),'botName':_0xdcfa72,'inputText':_0xc0d0e8,'userId':_0x2d19d4};return lexResult(_0x522877,_0x31bd2b);};
\ No newline at end of file