Built motion from commit (unavailable).|2.2.0
[motion2.git] / server / api / smsAccount / index.js
index 90255e9..dd94456 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb0e6=['util','connect-timeout','express','../../config/environment','./smsAccount.controller','get','index','/describe','describe','/:id','isAuthenticated','/:id/dispositions','/:id/canned_answers','getAnswers','/:id/applications','getApplications','/:id/interactions','getInteractions','/:id/status','statusGet','/:id/users','post','addAnswer','/:id/notify','notify','addApplications','send','status','update','delete','destroy','removeAnswers','removeAgents','exports','multer'];(function(_0x4e8e68,_0x52a7b8){var _0x3c1398=function(_0x315eb8){while(--_0x315eb8){_0x4e8e68['push'](_0x4e8e68['shift']());}};_0x3c1398(++_0x52a7b8);}(_0xb0e6,0x1a3));var _0x6b0e=function(_0xa148b7,_0x2f3eb2){_0xa148b7=_0xa148b7-0x0;var _0x51efd3=_0xb0e6[_0xa148b7];return _0x51efd3;};'use strict';var multer=require(_0x6b0e('0x0'));var util=require(_0x6b0e('0x1'));var path=require('path');var timeout=require(_0x6b0e('0x2'));var express=require(_0x6b0e('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x6b0e('0x4'));var controller=require(_0x6b0e('0x5'));router[_0x6b0e('0x6')]('/',auth['isAuthenticated'](),controller[_0x6b0e('0x7')]);router[_0x6b0e('0x6')](_0x6b0e('0x8'),auth['isAuthenticated'](),controller[_0x6b0e('0x9')]);router['get'](_0x6b0e('0xa'),auth[_0x6b0e('0xb')](),controller['show']);router[_0x6b0e('0x6')](_0x6b0e('0xc'),auth[_0x6b0e('0xb')](),controller['getDispositions']);router['get'](_0x6b0e('0xd'),auth['isAuthenticated'](),controller[_0x6b0e('0xe')]);router[_0x6b0e('0x6')](_0x6b0e('0xf'),auth['isAuthenticated'](),controller[_0x6b0e('0x10')]);router[_0x6b0e('0x6')](_0x6b0e('0x11'),auth[_0x6b0e('0xb')](),controller[_0x6b0e('0x12')]);router[_0x6b0e('0x6')](_0x6b0e('0x13'),controller[_0x6b0e('0x14')]);router[_0x6b0e('0x6')](_0x6b0e('0x15'),auth[_0x6b0e('0xb')](),controller['getAgents']);router[_0x6b0e('0x16')]('/',auth[_0x6b0e('0xb')](),controller['create']);router['post'](_0x6b0e('0xc'),auth[_0x6b0e('0xb')](),controller['addDisposition']);router[_0x6b0e('0x16')](_0x6b0e('0xd'),auth[_0x6b0e('0xb')](),controller[_0x6b0e('0x17')]);router['post'](_0x6b0e('0x18'),controller[_0x6b0e('0x19')]);router[_0x6b0e('0x16')]('/:id/applications',auth[_0x6b0e('0xb')](),controller[_0x6b0e('0x1a')]);router['post']('/:id/send',auth['isAuthenticated'](),controller[_0x6b0e('0x1b')]);router[_0x6b0e('0x16')]('/:id/status',controller[_0x6b0e('0x1c')]);router[_0x6b0e('0x16')]('/:id/users',auth[_0x6b0e('0xb')](),controller['addAgents']);router['put'](_0x6b0e('0xa'),auth['isAuthenticated'](),controller[_0x6b0e('0x1d')]);router[_0x6b0e('0x1e')](_0x6b0e('0xa'),auth[_0x6b0e('0xb')](),controller[_0x6b0e('0x1f')]);router[_0x6b0e('0x1e')](_0x6b0e('0xc'),auth[_0x6b0e('0xb')](),controller['removeDispositions']);router[_0x6b0e('0x1e')](_0x6b0e('0xd'),auth[_0x6b0e('0xb')](),controller[_0x6b0e('0x20')]);router[_0x6b0e('0x1e')](_0x6b0e('0x15'),auth[_0x6b0e('0xb')](),controller[_0x6b0e('0x21')]);module[_0x6b0e('0x22')]=router;
\ No newline at end of file
+var _0xbc05=['/:id/canned_answers','getAnswers','/:id/applications','getInteractions','/:id/status','statusGet','post','create','addDisposition','notify','addApplications','send','/:id/users','delete','removeDispositions','removeAnswers','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','isAuthenticated','describe','/:id','show','/:id/dispositions','getDispositions'];(function(_0x1992f1,_0x5c61f0){var _0x413dfe=function(_0x2136e5){while(--_0x2136e5){_0x1992f1['push'](_0x1992f1['shift']());}};_0x413dfe(++_0x5c61f0);}(_0xbc05,0xff));var _0x5bc0=function(_0x4d5e8f,_0x1fff74){_0x4d5e8f=_0x4d5e8f-0x0;var _0x3da5d5=_0xbc05[_0x4d5e8f];return _0x3da5d5;};'use strict';var multer=require(_0x5bc0('0x0'));var util=require(_0x5bc0('0x1'));var path=require(_0x5bc0('0x2'));var timeout=require(_0x5bc0('0x3'));var express=require(_0x5bc0('0x4'));var router=express[_0x5bc0('0x5')]();var auth=require(_0x5bc0('0x6'));var interaction=require(_0x5bc0('0x7'));var config=require(_0x5bc0('0x8'));var controller=require('./smsAccount.controller');router[_0x5bc0('0x9')]('/',auth['isAuthenticated'](),controller[_0x5bc0('0xa')]);router[_0x5bc0('0x9')]('/describe',auth[_0x5bc0('0xb')](),controller[_0x5bc0('0xc')]);router['get'](_0x5bc0('0xd'),auth[_0x5bc0('0xb')](),controller[_0x5bc0('0xe')]);router[_0x5bc0('0x9')](_0x5bc0('0xf'),auth[_0x5bc0('0xb')](),controller[_0x5bc0('0x10')]);router[_0x5bc0('0x9')](_0x5bc0('0x11'),auth[_0x5bc0('0xb')](),controller[_0x5bc0('0x12')]);router['get'](_0x5bc0('0x13'),auth[_0x5bc0('0xb')](),controller['getApplications']);router[_0x5bc0('0x9')]('/:id/interactions',auth[_0x5bc0('0xb')](),controller[_0x5bc0('0x14')]);router[_0x5bc0('0x9')](_0x5bc0('0x15'),controller[_0x5bc0('0x16')]);router[_0x5bc0('0x9')]('/:id/users',auth[_0x5bc0('0xb')](),controller['getAgents']);router[_0x5bc0('0x17')]('/',auth[_0x5bc0('0xb')](),controller[_0x5bc0('0x18')]);router[_0x5bc0('0x17')](_0x5bc0('0xf'),auth[_0x5bc0('0xb')](),controller[_0x5bc0('0x19')]);router[_0x5bc0('0x17')](_0x5bc0('0x11'),auth[_0x5bc0('0xb')](),controller['addAnswer']);router[_0x5bc0('0x17')]('/:id/notify',controller[_0x5bc0('0x1a')]);router[_0x5bc0('0x17')]('/:id/applications',auth['isAuthenticated'](),controller[_0x5bc0('0x1b')]);router[_0x5bc0('0x17')]('/:id/send',auth[_0x5bc0('0xb')](),controller[_0x5bc0('0x1c')]);router[_0x5bc0('0x17')](_0x5bc0('0x15'),controller['status']);router['post'](_0x5bc0('0x1d'),auth[_0x5bc0('0xb')](),controller['addAgents']);router['put'](_0x5bc0('0xd'),auth[_0x5bc0('0xb')](),controller['update']);router['delete'](_0x5bc0('0xd'),auth[_0x5bc0('0xb')](),controller['destroy']);router[_0x5bc0('0x1e')]('/:id/dispositions',auth[_0x5bc0('0xb')](),controller[_0x5bc0('0x1f')]);router[_0x5bc0('0x1e')](_0x5bc0('0x11'),auth[_0x5bc0('0xb')](),controller[_0x5bc0('0x20')]);router[_0x5bc0('0x1e')](_0x5bc0('0x1d'),auth[_0x5bc0('0xb')](),controller['removeAgents']);module[_0x5bc0('0x21')]=router;
\ No newline at end of file