Built motion from commit (unavailable).|2.5.22
[motion2.git] / server / services / agi / scripts / aws / lex / lib / api.js
index 5fb0059..b8f602d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xcc8e=['slot_','exports','LexRuntime','$LATEST','bluebird','aws-sdk','slots'];(function(_0xfb83c,_0x4ab66e){var _0x3916e8=function(_0x4fcf2a){while(--_0x4fcf2a){_0xfb83c['push'](_0xfb83c['shift']());}};_0x3916e8(++_0x4ab66e);}(_0xcc8e,0x6d));var _0xecc8=function(_0x3138a7,_0x4276d8){_0x3138a7=_0x3138a7-0x0;var _0x3df3d1=_0xcc8e[_0x3138a7];return _0x3df3d1;};'use strict';var BPromise=require(_0xecc8('0x0'));var AWS=require(_0xecc8('0x1'));function lexResult(_0x20b5f9,_0x22ac01){return new BPromise(function(_0x142f92,_0x3830c5){_0x20b5f9['postText'](_0x22ac01,function(_0x3310e1,_0x358561){if(_0x3310e1){_0x3830c5(_0x3310e1);}if(_0x358561[_0xecc8('0x2')]){for(const _0x365f4f in _0x358561['slots']){if(_0x358561[_0xecc8('0x2')]['hasOwnProperty'](_0x365f4f)){var _0x5dc4ca=_0x358561[_0xecc8('0x2')][_0x365f4f];_0x358561[_0xecc8('0x3')+_0x365f4f]=_0x5dc4ca;}}}_0x142f92(_0x358561);});});}module[_0xecc8('0x4')]=function(_0x38a194,_0x1c975b,_0x164f9b,_0x9e930d,_0x86c82f,_0x2f3397){var _0x497ea5=new AWS[(_0xecc8('0x5'))]({'accessKeyId':_0x1c975b,'secretAccessKey':_0x164f9b,'region':_0x9e930d});var _0x42f200={'botAlias':_0xecc8('0x6'),'botName':_0x2f3397,'inputText':_0x86c82f,'userId':_0x38a194};return lexResult(_0x497ea5,_0x42f200);};
\ No newline at end of file
+var _0x51bf=['LexRuntime','$LATEST','slots','hasOwnProperty','slot_','exports'];(function(_0xb301d4,_0x27ed18){var _0x3b5bde=function(_0x1fbc5f){while(--_0x1fbc5f){_0xb301d4['push'](_0xb301d4['shift']());}};_0x3b5bde(++_0x27ed18);}(_0x51bf,0x8c));var _0xf51b=function(_0x21212d,_0x58720c){_0x21212d=_0x21212d-0x0;var _0x26fd4f=_0x51bf[_0x21212d];return _0x26fd4f;};'use strict';var BPromise=require('bluebird');var AWS=require('aws-sdk');function lexResult(_0x134d18,_0x3c4be1){return new BPromise(function(_0x5b3159,_0x4884df){_0x134d18['postText'](_0x3c4be1,function(_0x590593,_0x250c4f){if(_0x590593){_0x4884df(_0x590593);}if(_0x250c4f['slots']){for(const _0x5849a6 in _0x250c4f[_0xf51b('0x0')]){if(_0x250c4f[_0xf51b('0x0')][_0xf51b('0x1')](_0x5849a6)){var _0x51f7a9=_0x250c4f[_0xf51b('0x0')][_0x5849a6];_0x250c4f[_0xf51b('0x2')+_0x5849a6]=_0x51f7a9;}}}_0x5b3159(_0x250c4f);});});}module[_0xf51b('0x3')]=function(_0x4de904,_0xe95ca4,_0x2a1fa7,_0x59f757,_0x4f9a9c,_0xd5e744){var _0x5c7674=new AWS[(_0xf51b('0x4'))]({'accessKeyId':_0xe95ca4,'secretAccessKey':_0x2a1fa7,'region':_0x59f757});var _0x1e6d1c={'botAlias':_0xf51b('0x5'),'botName':_0xd5e744,'inputText':_0x4f9a9c,'userId':_0x4de904};return lexResult(_0x5c7674,_0x1e6d1c);};
\ No newline at end of file