Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / smsAccount / index.js
index 01561f6..2f50e1a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa96e=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsAccount.controller','get','/describe','isAuthenticated','describe','/:id','getDispositions','getAnswers','getApplications','/:id/interactions','getInteractions','/:id/status','statusGet','/:id/users','getAgents','post','/:id/dispositions','addDisposition','addAnswer','/:id/notify','notify','/:id/applications','/:id/send','addAgents','put','update','delete','destroy','removeDispositions','/:id/canned_answers','removeAnswers','removeAgents','exports','multer','util','path','express'];(function(_0x117821,_0xaa1933){var _0x4ae9ff=function(_0x253662){while(--_0x253662){_0x117821['push'](_0x117821['shift']());}};_0x4ae9ff(++_0xaa1933);}(_0xa96e,0x144));var _0xea96=function(_0x1b8149,_0x469bb9){_0x1b8149=_0x1b8149-0x0;var _0x1b29be=_0xa96e[_0x1b8149];return _0x1b29be;};'use strict';var multer=require(_0xea96('0x0'));var util=require(_0xea96('0x1'));var path=require(_0xea96('0x2'));var timeout=require('connect-timeout');var express=require(_0xea96('0x3'));var router=express[_0xea96('0x4')]();var auth=require(_0xea96('0x5'));var interaction=require(_0xea96('0x6'));var config=require(_0xea96('0x7'));var controller=require(_0xea96('0x8'));router[_0xea96('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0xea96('0x9')](_0xea96('0xa'),auth[_0xea96('0xb')](),controller[_0xea96('0xc')]);router[_0xea96('0x9')](_0xea96('0xd'),auth[_0xea96('0xb')](),controller['show']);router[_0xea96('0x9')]('/:id/dispositions',auth[_0xea96('0xb')](),controller[_0xea96('0xe')]);router[_0xea96('0x9')]('/:id/canned_answers',auth['isAuthenticated'](),controller[_0xea96('0xf')]);router[_0xea96('0x9')]('/:id/applications',auth['isAuthenticated'](),controller[_0xea96('0x10')]);router[_0xea96('0x9')](_0xea96('0x11'),auth[_0xea96('0xb')](),controller[_0xea96('0x12')]);router['get'](_0xea96('0x13'),controller[_0xea96('0x14')]);router[_0xea96('0x9')](_0xea96('0x15'),auth[_0xea96('0xb')](),controller[_0xea96('0x16')]);router['post']('/',auth[_0xea96('0xb')](),controller['create']);router[_0xea96('0x17')](_0xea96('0x18'),auth[_0xea96('0xb')](),controller[_0xea96('0x19')]);router['post']('/:id/canned_answers',auth[_0xea96('0xb')](),controller[_0xea96('0x1a')]);router[_0xea96('0x17')](_0xea96('0x1b'),controller[_0xea96('0x1c')]);router['post'](_0xea96('0x1d'),auth[_0xea96('0xb')](),controller['addApplications']);router[_0xea96('0x17')](_0xea96('0x1e'),auth[_0xea96('0xb')](),controller['send']);router[_0xea96('0x17')](_0xea96('0x13'),controller['status']);router['post'](_0xea96('0x15'),auth[_0xea96('0xb')](),controller[_0xea96('0x1f')]);router[_0xea96('0x20')](_0xea96('0xd'),auth[_0xea96('0xb')](),controller[_0xea96('0x21')]);router[_0xea96('0x22')](_0xea96('0xd'),auth[_0xea96('0xb')](),controller[_0xea96('0x23')]);router[_0xea96('0x22')](_0xea96('0x18'),auth['isAuthenticated'](),controller[_0xea96('0x24')]);router[_0xea96('0x22')](_0xea96('0x25'),auth[_0xea96('0xb')](),controller[_0xea96('0x26')]);router[_0xea96('0x22')]('/:id/users',auth[_0xea96('0xb')](),controller[_0xea96('0x27')]);module[_0xea96('0x28')]=router;
\ No newline at end of file
+var _0x2ea5=['removeAgents','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','get','/:id','show','/:id/dispositions','getDispositions','getAnswers','/:id/applications','getApplications','getInteractions','/:id/status','statusGet','post','addDisposition','/:id/canned_answers','addAnswer','notify','addApplications','/:id/send','send','/:id/users','put','delete','destroy','removeDispositions'];(function(_0x7e2eb0,_0x17cd58){var _0xd92de4=function(_0x5d005b){while(--_0x5d005b){_0x7e2eb0['push'](_0x7e2eb0['shift']());}};_0xd92de4(++_0x17cd58);}(_0x2ea5,0xab));var _0x52ea=function(_0x160c73,_0x2ee678){_0x160c73=_0x160c73-0x0;var _0xd9302=_0x2ea5[_0x160c73];return _0xd9302;};'use strict';var multer=require(_0x52ea('0x0'));var util=require(_0x52ea('0x1'));var path=require(_0x52ea('0x2'));var timeout=require(_0x52ea('0x3'));var express=require('express');var router=express[_0x52ea('0x4')]();var auth=require(_0x52ea('0x5'));var interaction=require(_0x52ea('0x6'));var config=require(_0x52ea('0x7'));var controller=require('./smsAccount.controller');router['get']('/',auth[_0x52ea('0x8')](),controller['index']);router[_0x52ea('0x9')]('/describe',auth[_0x52ea('0x8')](),controller['describe']);router[_0x52ea('0x9')](_0x52ea('0xa'),auth[_0x52ea('0x8')](),controller[_0x52ea('0xb')]);router[_0x52ea('0x9')](_0x52ea('0xc'),auth[_0x52ea('0x8')](),controller[_0x52ea('0xd')]);router[_0x52ea('0x9')]('/:id/canned_answers',auth[_0x52ea('0x8')](),controller[_0x52ea('0xe')]);router['get'](_0x52ea('0xf'),auth[_0x52ea('0x8')](),controller[_0x52ea('0x10')]);router['get']('/:id/interactions',auth[_0x52ea('0x8')](),controller[_0x52ea('0x11')]);router[_0x52ea('0x9')](_0x52ea('0x12'),controller[_0x52ea('0x13')]);router[_0x52ea('0x9')]('/:id/users',auth[_0x52ea('0x8')](),controller['getAgents']);router[_0x52ea('0x14')]('/',auth[_0x52ea('0x8')](),controller['create']);router[_0x52ea('0x14')](_0x52ea('0xc'),auth[_0x52ea('0x8')](),controller[_0x52ea('0x15')]);router[_0x52ea('0x14')](_0x52ea('0x16'),auth[_0x52ea('0x8')](),controller[_0x52ea('0x17')]);router[_0x52ea('0x14')]('/:id/notify',controller[_0x52ea('0x18')]);router[_0x52ea('0x14')](_0x52ea('0xf'),auth['isAuthenticated'](),controller[_0x52ea('0x19')]);router[_0x52ea('0x14')](_0x52ea('0x1a'),auth[_0x52ea('0x8')](),controller[_0x52ea('0x1b')]);router[_0x52ea('0x14')](_0x52ea('0x12'),controller['status']);router['post'](_0x52ea('0x1c'),auth[_0x52ea('0x8')](),controller['addAgents']);router[_0x52ea('0x1d')](_0x52ea('0xa'),auth['isAuthenticated'](),controller['update']);router[_0x52ea('0x1e')]('/:id',auth[_0x52ea('0x8')](),controller[_0x52ea('0x1f')]);router[_0x52ea('0x1e')](_0x52ea('0xc'),auth[_0x52ea('0x8')](),controller[_0x52ea('0x20')]);router['delete'](_0x52ea('0x16'),auth[_0x52ea('0x8')](),controller['removeAnswers']);router[_0x52ea('0x1e')]('/:id/users',auth['isAuthenticated'](),controller[_0x52ea('0x21')]);module['exports']=router;
\ No newline at end of file