Built motion from commit (unavailable).|2.5.3
[motion2.git] / server / services / agi / scripts / aws / lex / lib / api.js
index 64e1cde..9955815 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa963=['hasOwnProperty','slot_','exports','LexRuntime','$LATEST','bluebird','aws-sdk','postText','slots'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xa963,0x164));var _0x3a96=function(_0x22e1cf,_0x44788d){_0x22e1cf=_0x22e1cf-0x0;var _0x258e78=_0xa963[_0x22e1cf];return _0x258e78;};'use strict';var BPromise=require(_0x3a96('0x0'));var AWS=require(_0x3a96('0x1'));function lexResult(_0x16d8a5,_0x2d33ec){return new BPromise(function(_0x43267f,_0x3a63d7){_0x16d8a5[_0x3a96('0x2')](_0x2d33ec,function(_0x4f0cc3,_0xe8e195){if(_0x4f0cc3){_0x3a63d7(_0x4f0cc3);}if(_0xe8e195['slots']){for(const _0x4c374f in _0xe8e195[_0x3a96('0x3')]){if(_0xe8e195[_0x3a96('0x3')][_0x3a96('0x4')](_0x4c374f)){var _0x47d6ad=_0xe8e195[_0x3a96('0x3')][_0x4c374f];_0xe8e195[_0x3a96('0x5')+_0x4c374f]=_0x47d6ad;}}}_0x43267f(_0xe8e195);});});}module[_0x3a96('0x6')]=function(_0x5b9f1f,_0x23a57c,_0x5a0025,_0x344146,_0x2abce6,_0x51793e){var _0x59212c=new AWS[(_0x3a96('0x7'))]({'accessKeyId':_0x23a57c,'secretAccessKey':_0x5a0025,'region':_0x344146});var _0x42b37b={'botAlias':_0x3a96('0x8'),'botName':_0x51793e,'inputText':_0x2abce6,'userId':_0x5b9f1f};return lexResult(_0x59212c,_0x42b37b);};
\ No newline at end of file
+var _0x22a1=['bluebird','aws-sdk','postText','slots','hasOwnProperty','slot_','exports','LexRuntime','$LATEST'];(function(_0x41c157,_0x4335a1){var _0x4e62a4=function(_0x192cc4){while(--_0x192cc4){_0x41c157['push'](_0x41c157['shift']());}};_0x4e62a4(++_0x4335a1);}(_0x22a1,0xab));var _0x122a=function(_0x25fa0d,_0x504efe){_0x25fa0d=_0x25fa0d-0x0;var _0x9ef28d=_0x22a1[_0x25fa0d];return _0x9ef28d;};'use strict';var BPromise=require(_0x122a('0x0'));var AWS=require(_0x122a('0x1'));function lexResult(_0xb87e54,_0x24e423){return new BPromise(function(_0x14a608,_0x448c3f){_0xb87e54[_0x122a('0x2')](_0x24e423,function(_0x260556,_0xfe9d6a){if(_0x260556){_0x448c3f(_0x260556);}if(_0xfe9d6a['slots']){for(const _0x43354a in _0xfe9d6a[_0x122a('0x3')]){if(_0xfe9d6a[_0x122a('0x3')][_0x122a('0x4')](_0x43354a)){var _0x52fc96=_0xfe9d6a[_0x122a('0x3')][_0x43354a];_0xfe9d6a[_0x122a('0x5')+_0x43354a]=_0x52fc96;}}}_0x14a608(_0xfe9d6a);});});}module[_0x122a('0x6')]=function(_0x50406a,_0x1cc6f2,_0x305e24,_0x549e49,_0x311ca9,_0x4b4fa4){var _0x29f0aa=new AWS[(_0x122a('0x7'))]({'accessKeyId':_0x1cc6f2,'secretAccessKey':_0x305e24,'region':_0x549e49});var _0x4637ec={'botAlias':_0x122a('0x8'),'botName':_0x4b4fa4,'inputText':_0x311ca9,'userId':_0x50406a};return lexResult(_0x29f0aa,_0x4637ec);};
\ No newline at end of file