Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / services / agi / scripts / aws / lex / lib / api.js
index 8762039..9e9f0a8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa168=['exports','LexRuntime','$LATEST','aws-sdk','postText','slots','hasOwnProperty','slot_'];(function(_0x1e3977,_0x667490){var _0x2dbaa4=function(_0x41589c){while(--_0x41589c){_0x1e3977['push'](_0x1e3977['shift']());}};_0x2dbaa4(++_0x667490);}(_0xa168,0xf3));var _0x8a16=function(_0x349367,_0x1cede2){_0x349367=_0x349367-0x0;var _0x14179b=_0xa168[_0x349367];return _0x14179b;};'use strict';var BPromise=require('bluebird');var AWS=require(_0x8a16('0x0'));function lexResult(_0x36ee42,_0xff5863){return new BPromise(function(_0x2fe577,_0x2390cd){_0x36ee42[_0x8a16('0x1')](_0xff5863,function(_0x451908,_0x296bda){if(_0x451908){_0x2390cd(_0x451908);}if(_0x296bda[_0x8a16('0x2')]){for(const _0x2a2a46 in _0x296bda[_0x8a16('0x2')]){if(_0x296bda[_0x8a16('0x2')][_0x8a16('0x3')](_0x2a2a46)){var _0x27339c=_0x296bda['slots'][_0x2a2a46];_0x296bda[_0x8a16('0x4')+_0x2a2a46]=_0x27339c;}}}_0x2fe577(_0x296bda);});});}module[_0x8a16('0x5')]=function(_0x29c129,_0x453a7e,_0x1a3944,_0x21ae85,_0xca412b,_0x5606c8){var _0xa4f737=new AWS[(_0x8a16('0x6'))]({'accessKeyId':_0x453a7e,'secretAccessKey':_0x1a3944,'region':_0x21ae85});var _0x37f191={'botAlias':_0x8a16('0x7'),'botName':_0x5606c8,'inputText':_0xca412b,'userId':_0x29c129};return lexResult(_0xa4f737,_0x37f191);};
\ No newline at end of file
+var _0xa9e0=['LexRuntime','bluebird','aws-sdk','slots','hasOwnProperty'];(function(_0x10c697,_0x359264){var _0x5544c2=function(_0x5bd087){while(--_0x5bd087){_0x10c697['push'](_0x10c697['shift']());}};_0x5544c2(++_0x359264);}(_0xa9e0,0x123));var _0x0a9e=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xa9e0[_0x14add3];return _0x4a174f;};'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