Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / services / agi / scripts / aws / lex / lib / api.js
index f35e265..9c80b0e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x354d=['hasOwnProperty','exports','LexRuntime','$LATEST','bluebird','aws-sdk','slots'];(function(_0x50f467,_0x3126a1){var _0x4c866b=function(_0x3f162d){while(--_0x3f162d){_0x50f467['push'](_0x50f467['shift']());}};_0x4c866b(++_0x3126a1);}(_0x354d,0x1a1));var _0xd354=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0x354d[_0x122ef9];return _0x42fba0;};'use strict';var BPromise=require(_0xd354('0x0'));var AWS=require(_0xd354('0x1'));function lexResult(_0x2d9510,_0x19b99a){return new BPromise(function(_0x1dbeb5,_0x445a1a){_0x2d9510['postText'](_0x19b99a,function(_0x2d42bc,_0x2b656e){if(_0x2d42bc){_0x445a1a(_0x2d42bc);}if(_0x2b656e[_0xd354('0x2')]){for(const _0xe50183 in _0x2b656e[_0xd354('0x2')]){if(_0x2b656e['slots'][_0xd354('0x3')](_0xe50183)){var _0x4be81d=_0x2b656e['slots'][_0xe50183];_0x2b656e['slot_'+_0xe50183]=_0x4be81d;}}}_0x1dbeb5(_0x2b656e);});});}module[_0xd354('0x4')]=function(_0x997b4a,_0x3a8ba8,_0x595a87,_0x5a9394,_0x33dfdc,_0x24d3a1){var _0x35ebba=new AWS[(_0xd354('0x5'))]({'accessKeyId':_0x3a8ba8,'secretAccessKey':_0x595a87,'region':_0x5a9394});var _0x4b8950={'botAlias':_0xd354('0x6'),'botName':_0x24d3a1,'inputText':_0x33dfdc,'userId':_0x997b4a};return lexResult(_0x35ebba,_0x4b8950);};
\ No newline at end of file
+var _0x0380=['aws-sdk','postText','slots','slot_','exports','LexRuntime','bluebird'];(function(_0x134cbc,_0x16240f){var _0x4ef52d=function(_0x555e4f){while(--_0x555e4f){_0x134cbc['push'](_0x134cbc['shift']());}};_0x4ef52d(++_0x16240f);}(_0x0380,0x172));var _0x0038=function(_0x1760f8,_0x3e8f45){_0x1760f8=_0x1760f8-0x0;var _0x3a002c=_0x0380[_0x1760f8];return _0x3a002c;};'use strict';var BPromise=require(_0x0038('0x0'));var AWS=require(_0x0038('0x1'));function lexResult(_0x4a9fb3,_0x78c44d){return new BPromise(function(_0x10156e,_0x225dc2){_0x4a9fb3[_0x0038('0x2')](_0x78c44d,function(_0xdc6b2b,_0x2cc0f5){if(_0xdc6b2b){_0x225dc2(_0xdc6b2b);}if(_0x2cc0f5[_0x0038('0x3')]){for(const _0x2f2347 in _0x2cc0f5['slots']){if(_0x2cc0f5['slots']['hasOwnProperty'](_0x2f2347)){var _0x3edfed=_0x2cc0f5[_0x0038('0x3')][_0x2f2347];_0x2cc0f5[_0x0038('0x4')+_0x2f2347]=_0x3edfed;}}}_0x10156e(_0x2cc0f5);});});}module[_0x0038('0x5')]=function(_0x547caa,_0x3e9cf2,_0x52d9d2,_0x8a7088,_0x38b5bf,_0x51b834){var _0x40c79a=new AWS[(_0x0038('0x6'))]({'accessKeyId':_0x3e9cf2,'secretAccessKey':_0x52d9d2,'region':_0x8a7088});var _0x1e114a={'botAlias':'$LATEST','botName':_0x51b834,'inputText':_0x38b5bf,'userId':_0x547caa};return lexResult(_0x40c79a,_0x1e114a);};
\ No newline at end of file