Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / services / agi / scripts / aws / lex / lib / api.js
index 9effa3d..5fb0059 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe95d=['exports','$LATEST','bluebird','aws-sdk','slots','hasOwnProperty','slot_'];(function(_0x4b7253,_0x40f708){var _0x29f09a=function(_0x18d91c){while(--_0x18d91c){_0x4b7253['push'](_0x4b7253['shift']());}};_0x29f09a(++_0x40f708);}(_0xe95d,0x10c));var _0xde95=function(_0x3c7d53,_0x2826d0){_0x3c7d53=_0x3c7d53-0x0;var _0x2c8387=_0xe95d[_0x3c7d53];return _0x2c8387;};'use strict';var BPromise=require(_0xde95('0x0'));var AWS=require(_0xde95('0x1'));function lexResult(_0x252f8d,_0x58bd10){return new BPromise(function(_0x5ec1f5,_0x58f3e5){_0x252f8d['postText'](_0x58bd10,function(_0x5231df,_0x2fbf9d){if(_0x5231df){_0x58f3e5(_0x5231df);}if(_0x2fbf9d['slots']){for(const _0x324b01 in _0x2fbf9d[_0xde95('0x2')]){if(_0x2fbf9d[_0xde95('0x2')][_0xde95('0x3')](_0x324b01)){var _0x3da40c=_0x2fbf9d[_0xde95('0x2')][_0x324b01];_0x2fbf9d[_0xde95('0x4')+_0x324b01]=_0x3da40c;}}}_0x5ec1f5(_0x2fbf9d);});});}module[_0xde95('0x5')]=function(_0x329a76,_0x3873d6,_0x2811ed,_0x13cbd2,_0x4bc954,_0x49cf63){var _0x3dd728=new AWS['LexRuntime']({'accessKeyId':_0x3873d6,'secretAccessKey':_0x2811ed,'region':_0x13cbd2});var _0xd62d5d={'botAlias':_0xde95('0x6'),'botName':_0x49cf63,'inputText':_0x4bc954,'userId':_0x329a76};return lexResult(_0x3dd728,_0xd62d5d);};
\ 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