Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / api / smsAccount / index.js
index 9a77503..b679eae 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x51a2=['removeAnswers','exports','multer','util','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsAccount.controller','get','isAuthenticated','index','describe','/:id','show','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/applications','getInteractions','/:id/users','getAgents','post','addDisposition','/:id/notify','notify','addApplications','/:id/status','status','addAgents','put','update','delete','removeDispositions'];(function(_0x39b333,_0x247db1){var _0x4d361b=function(_0x26cd54){while(--_0x26cd54){_0x39b333['push'](_0x39b333['shift']());}};_0x4d361b(++_0x247db1);}(_0x51a2,0x16a));var _0x251a=function(_0xf4e659,_0x28f520){_0xf4e659=_0xf4e659-0x0;var _0x237789=_0x51a2[_0xf4e659];return _0x237789;};'use strict';var multer=require(_0x251a('0x0'));var util=require(_0x251a('0x1'));var path=require(_0x251a('0x2'));var timeout=require('connect-timeout');var express=require(_0x251a('0x3'));var router=express['Router']();var auth=require(_0x251a('0x4'));var interaction=require(_0x251a('0x5'));var config=require(_0x251a('0x6'));var controller=require(_0x251a('0x7'));router[_0x251a('0x8')]('/',auth[_0x251a('0x9')](),controller[_0x251a('0xa')]);router[_0x251a('0x8')]('/describe',auth['isAuthenticated'](),controller[_0x251a('0xb')]);router[_0x251a('0x8')](_0x251a('0xc'),auth[_0x251a('0x9')](),controller[_0x251a('0xd')]);router['get'](_0x251a('0xe'),auth[_0x251a('0x9')](),controller[_0x251a('0xf')]);router['get'](_0x251a('0x10'),auth['isAuthenticated'](),controller[_0x251a('0x11')]);router[_0x251a('0x8')](_0x251a('0x12'),auth[_0x251a('0x9')](),controller['getApplications']);router[_0x251a('0x8')]('/:id/interactions',auth[_0x251a('0x9')](),controller[_0x251a('0x13')]);router[_0x251a('0x8')]('/:id/status',controller['statusGet']);router[_0x251a('0x8')](_0x251a('0x14'),auth[_0x251a('0x9')](),controller[_0x251a('0x15')]);router[_0x251a('0x16')]('/',auth[_0x251a('0x9')](),controller['create']);router[_0x251a('0x16')](_0x251a('0xe'),auth['isAuthenticated'](),controller[_0x251a('0x17')]);router[_0x251a('0x16')](_0x251a('0x10'),auth[_0x251a('0x9')](),controller['addAnswer']);router[_0x251a('0x16')](_0x251a('0x18'),controller[_0x251a('0x19')]);router[_0x251a('0x16')]('/:id/applications',auth['isAuthenticated'](),controller[_0x251a('0x1a')]);router[_0x251a('0x16')]('/:id/send',auth[_0x251a('0x9')](),controller['send']);router['post'](_0x251a('0x1b'),controller[_0x251a('0x1c')]);router[_0x251a('0x16')](_0x251a('0x14'),auth['isAuthenticated'](),controller[_0x251a('0x1d')]);router[_0x251a('0x1e')]('/:id',auth['isAuthenticated'](),controller[_0x251a('0x1f')]);router[_0x251a('0x20')](_0x251a('0xc'),auth[_0x251a('0x9')](),controller['destroy']);router['delete'](_0x251a('0xe'),auth['isAuthenticated'](),controller[_0x251a('0x21')]);router[_0x251a('0x20')]('/:id/canned_answers',auth['isAuthenticated'](),controller[_0x251a('0x22')]);router[_0x251a('0x20')]('/:id/users',auth[_0x251a('0x9')](),controller['removeAgents']);module[_0x251a('0x23')]=router;
\ No newline at end of file
+var _0x36f3=['removeDispositions','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsAccount.controller','isAuthenticated','index','get','describe','/:id','show','/:id/dispositions','/:id/canned_answers','getAnswers','/:id/interactions','getInteractions','/:id/status','statusGet','/:id/users','post','create','addDisposition','addAnswer','notify','/:id/applications','addApplications','send','addAgents','put','update','delete','destroy'];(function(_0x157636,_0x218d7d){var _0x4cb4a8=function(_0x2e984b){while(--_0x2e984b){_0x157636['push'](_0x157636['shift']());}};_0x4cb4a8(++_0x218d7d);}(_0x36f3,0xe6));var _0x336f=function(_0x2c39f3,_0x30b582){_0x2c39f3=_0x2c39f3-0x0;var _0x33bb02=_0x36f3[_0x2c39f3];return _0x33bb02;};'use strict';var multer=require('multer');var util=require(_0x336f('0x0'));var path=require(_0x336f('0x1'));var timeout=require(_0x336f('0x2'));var express=require(_0x336f('0x3'));var router=express[_0x336f('0x4')]();var auth=require(_0x336f('0x5'));var interaction=require(_0x336f('0x6'));var config=require(_0x336f('0x7'));var controller=require(_0x336f('0x8'));router['get']('/',auth[_0x336f('0x9')](),controller[_0x336f('0xa')]);router[_0x336f('0xb')]('/describe',auth['isAuthenticated'](),controller[_0x336f('0xc')]);router[_0x336f('0xb')](_0x336f('0xd'),auth[_0x336f('0x9')](),controller[_0x336f('0xe')]);router[_0x336f('0xb')](_0x336f('0xf'),auth[_0x336f('0x9')](),controller['getDispositions']);router[_0x336f('0xb')](_0x336f('0x10'),auth[_0x336f('0x9')](),controller[_0x336f('0x11')]);router['get']('/:id/applications',auth[_0x336f('0x9')](),controller['getApplications']);router[_0x336f('0xb')](_0x336f('0x12'),auth['isAuthenticated'](),controller[_0x336f('0x13')]);router[_0x336f('0xb')](_0x336f('0x14'),controller[_0x336f('0x15')]);router[_0x336f('0xb')](_0x336f('0x16'),auth[_0x336f('0x9')](),controller['getAgents']);router[_0x336f('0x17')]('/',auth[_0x336f('0x9')](),controller[_0x336f('0x18')]);router[_0x336f('0x17')]('/:id/dispositions',auth[_0x336f('0x9')](),controller[_0x336f('0x19')]);router[_0x336f('0x17')](_0x336f('0x10'),auth['isAuthenticated'](),controller[_0x336f('0x1a')]);router[_0x336f('0x17')]('/:id/notify',controller[_0x336f('0x1b')]);router[_0x336f('0x17')](_0x336f('0x1c'),auth['isAuthenticated'](),controller[_0x336f('0x1d')]);router[_0x336f('0x17')]('/:id/send',auth[_0x336f('0x9')](),controller[_0x336f('0x1e')]);router[_0x336f('0x17')](_0x336f('0x14'),controller['status']);router[_0x336f('0x17')](_0x336f('0x16'),auth[_0x336f('0x9')](),controller[_0x336f('0x1f')]);router[_0x336f('0x20')](_0x336f('0xd'),auth[_0x336f('0x9')](),controller[_0x336f('0x21')]);router[_0x336f('0x22')](_0x336f('0xd'),auth[_0x336f('0x9')](),controller[_0x336f('0x23')]);router[_0x336f('0x22')]('/:id/dispositions',auth['isAuthenticated'](),controller[_0x336f('0x24')]);router[_0x336f('0x22')](_0x336f('0x10'),auth[_0x336f('0x9')](),controller['removeAnswers']);router[_0x336f('0x22')](_0x336f('0x16'),auth[_0x336f('0x9')](),controller['removeAgents']);module[_0x336f('0x25')]=router;
\ No newline at end of file