Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / services / agi / scripts / aws / lex / lib / api.js
index 434e4e1..9e9f0a8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb5aa=['$LATEST','bluebird','aws-sdk','postText','slots','hasOwnProperty','slot_','exports','LexRuntime'];(function(_0x3b231a,_0x53a00d){var _0x18d67a=function(_0x5e14c6){while(--_0x5e14c6){_0x3b231a['push'](_0x3b231a['shift']());}};_0x18d67a(++_0x53a00d);}(_0xb5aa,0xf4));var _0xab5a=function(_0x4c12ec,_0x2e9103){_0x4c12ec=_0x4c12ec-0x0;var _0x3ae42c=_0xb5aa[_0x4c12ec];return _0x3ae42c;};'use strict';var BPromise=require(_0xab5a('0x0'));var AWS=require(_0xab5a('0x1'));function lexResult(_0x45a168,_0x32ca04){return new BPromise(function(_0x58cf75,_0x160470){_0x45a168[_0xab5a('0x2')](_0x32ca04,function(_0x4341df,_0x534b32){if(_0x4341df){_0x160470(_0x4341df);}if(_0x534b32[_0xab5a('0x3')]){for(const _0x39a6e9 in _0x534b32['slots']){if(_0x534b32['slots'][_0xab5a('0x4')](_0x39a6e9)){var _0x28444b=_0x534b32[_0xab5a('0x3')][_0x39a6e9];_0x534b32[_0xab5a('0x5')+_0x39a6e9]=_0x28444b;}}}_0x58cf75(_0x534b32);});});}module[_0xab5a('0x6')]=function(_0x2ebafc,_0x2b6e1d,_0x95eb1b,_0x3d0d2c,_0x21f00a,_0x36b99b){var _0x2ca343=new AWS[(_0xab5a('0x7'))]({'accessKeyId':_0x2b6e1d,'secretAccessKey':_0x95eb1b,'region':_0x3d0d2c});var _0x3357c7={'botAlias':_0xab5a('0x8'),'botName':_0x36b99b,'inputText':_0x21f00a,'userId':_0x2ebafc};return lexResult(_0x2ca343,_0x3357c7);};
\ 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