Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / services / agi / scripts / aws / lex / lib / api.js
index 98df0e1..5fb0059 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5a8a=['slot_','exports','LexRuntime','$LATEST','bluebird','postText','slots','hasOwnProperty'];(function(_0xb20a71,_0x118e59){var _0xa67aa2=function(_0x1d271a){while(--_0x1d271a){_0xb20a71['push'](_0xb20a71['shift']());}};_0xa67aa2(++_0x118e59);}(_0x5a8a,0xd4));var _0xa5a8=function(_0x432682,_0x253044){_0x432682=_0x432682-0x0;var _0x463d05=_0x5a8a[_0x432682];return _0x463d05;};'use strict';var BPromise=require(_0xa5a8('0x0'));var AWS=require('aws-sdk');function lexResult(_0x205963,_0xc5376a){return new BPromise(function(_0x17ca61,_0x562deb){_0x205963[_0xa5a8('0x1')](_0xc5376a,function(_0x2250bd,_0x2497f1){if(_0x2250bd){_0x562deb(_0x2250bd);}if(_0x2497f1[_0xa5a8('0x2')]){for(const _0x444e11 in _0x2497f1[_0xa5a8('0x2')]){if(_0x2497f1[_0xa5a8('0x2')][_0xa5a8('0x3')](_0x444e11)){var _0x4bcc4f=_0x2497f1['slots'][_0x444e11];_0x2497f1[_0xa5a8('0x4')+_0x444e11]=_0x4bcc4f;}}}_0x17ca61(_0x2497f1);});});}module[_0xa5a8('0x5')]=function(_0x37819d,_0x35caa4,_0x56d011,_0x4ba500,_0x5f0eb1,_0x1a210b){var _0x1bf91f=new AWS[(_0xa5a8('0x6'))]({'accessKeyId':_0x35caa4,'secretAccessKey':_0x56d011,'region':_0x4ba500});var _0x152ed0={'botAlias':_0xa5a8('0x7'),'botName':_0x1a210b,'inputText':_0x5f0eb1,'userId':_0x37819d};return lexResult(_0x1bf91f,_0x152ed0);};
\ No newline at end of file
+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