Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / smsAccount / index.js
index 437c54f..251d1f8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9157=['/:id/canned_answers','getAnswers','getApplications','/:id/interactions','getInteractions','statusGet','getAgents','post','addAnswer','/:id/notify','/:id/applications','addApplications','/:id/send','send','/:id/status','status','addAgents','put','delete','destroy','removeAnswers','/:id/users','removeAgents','exports','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','index','get','/describe','isAuthenticated','describe','/:id','show','/:id/dispositions','getDispositions'];(function(_0xf561d3,_0x12f0ed){var _0x25d209=function(_0xcebc14){while(--_0xcebc14){_0xf561d3['push'](_0xf561d3['shift']());}};_0x25d209(++_0x12f0ed);}(_0x9157,0x1e0));var _0x7915=function(_0xa6cc5c,_0x239c99){_0xa6cc5c=_0xa6cc5c-0x0;var _0x44803d=_0x9157[_0xa6cc5c];return _0x44803d;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x7915('0x0'));var timeout=require(_0x7915('0x1'));var express=require('express');var router=express['Router']();var auth=require(_0x7915('0x2'));var interaction=require(_0x7915('0x3'));var config=require(_0x7915('0x4'));var controller=require('./smsAccount.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x7915('0x5')]);router[_0x7915('0x6')](_0x7915('0x7'),auth[_0x7915('0x8')](),controller[_0x7915('0x9')]);router[_0x7915('0x6')](_0x7915('0xa'),auth['isAuthenticated'](),controller[_0x7915('0xb')]);router[_0x7915('0x6')](_0x7915('0xc'),auth[_0x7915('0x8')](),controller[_0x7915('0xd')]);router[_0x7915('0x6')](_0x7915('0xe'),auth[_0x7915('0x8')](),controller[_0x7915('0xf')]);router[_0x7915('0x6')]('/:id/applications',auth[_0x7915('0x8')](),controller[_0x7915('0x10')]);router[_0x7915('0x6')](_0x7915('0x11'),auth[_0x7915('0x8')](),controller[_0x7915('0x12')]);router[_0x7915('0x6')]('/:id/status',controller[_0x7915('0x13')]);router[_0x7915('0x6')]('/:id/users',auth[_0x7915('0x8')](),controller[_0x7915('0x14')]);router[_0x7915('0x15')]('/',auth[_0x7915('0x8')](),controller['create']);router['post'](_0x7915('0xc'),auth['isAuthenticated'](),controller['addDisposition']);router[_0x7915('0x15')](_0x7915('0xe'),auth[_0x7915('0x8')](),controller[_0x7915('0x16')]);router[_0x7915('0x15')](_0x7915('0x17'),controller['notify']);router[_0x7915('0x15')](_0x7915('0x18'),auth[_0x7915('0x8')](),controller[_0x7915('0x19')]);router[_0x7915('0x15')](_0x7915('0x1a'),auth[_0x7915('0x8')](),controller[_0x7915('0x1b')]);router[_0x7915('0x15')](_0x7915('0x1c'),controller[_0x7915('0x1d')]);router[_0x7915('0x15')]('/:id/users',auth[_0x7915('0x8')](),controller[_0x7915('0x1e')]);router[_0x7915('0x1f')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0x7915('0x20')](_0x7915('0xa'),auth[_0x7915('0x8')](),controller[_0x7915('0x21')]);router['delete'](_0x7915('0xc'),auth['isAuthenticated'](),controller['removeDispositions']);router['delete'](_0x7915('0xe'),auth[_0x7915('0x8')](),controller[_0x7915('0x22')]);router[_0x7915('0x20')](_0x7915('0x23'),auth[_0x7915('0x8')](),controller[_0x7915('0x24')]);module[_0x7915('0x25')]=router;
\ No newline at end of file
+var _0xf494=['path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsAccount.controller','get','isAuthenticated','index','describe','/:id','show','/:id/dispositions','/:id/canned_answers','getAnswers','getApplications','/:id/interactions','getInteractions','/:id/status','statusGet','getAgents','post','/:id/applications','addApplications','/:id/send','send','/:id/users','put','update','delete','removeDispositions','removeAnswers','removeAgents','exports','multer','util'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xf494,0x1c6));var _0x4f49=function(_0x2175a3,_0x426e08){_0x2175a3=_0x2175a3-0x0;var _0x3d308b=_0xf494[_0x2175a3];return _0x3d308b;};'use strict';var multer=require(_0x4f49('0x0'));var util=require(_0x4f49('0x1'));var path=require(_0x4f49('0x2'));var timeout=require('connect-timeout');var express=require(_0x4f49('0x3'));var router=express[_0x4f49('0x4')]();var fs_extra=require(_0x4f49('0x5'));var auth=require(_0x4f49('0x6'));var interaction=require(_0x4f49('0x7'));var config=require(_0x4f49('0x8'));var controller=require(_0x4f49('0x9'));router[_0x4f49('0xa')]('/',auth[_0x4f49('0xb')](),controller[_0x4f49('0xc')]);router[_0x4f49('0xa')]('/describe',auth['isAuthenticated'](),controller[_0x4f49('0xd')]);router[_0x4f49('0xa')](_0x4f49('0xe'),auth[_0x4f49('0xb')](),controller[_0x4f49('0xf')]);router[_0x4f49('0xa')](_0x4f49('0x10'),auth[_0x4f49('0xb')](),controller['getDispositions']);router[_0x4f49('0xa')](_0x4f49('0x11'),auth['isAuthenticated'](),controller[_0x4f49('0x12')]);router['get']('/:id/applications',auth[_0x4f49('0xb')](),controller[_0x4f49('0x13')]);router['get'](_0x4f49('0x14'),auth[_0x4f49('0xb')](),controller[_0x4f49('0x15')]);router[_0x4f49('0xa')](_0x4f49('0x16'),controller[_0x4f49('0x17')]);router[_0x4f49('0xa')]('/:id/users',auth[_0x4f49('0xb')](),controller[_0x4f49('0x18')]);router[_0x4f49('0x19')]('/',auth['isAuthenticated'](),controller['create']);router[_0x4f49('0x19')](_0x4f49('0x10'),auth[_0x4f49('0xb')](),controller['addDisposition']);router[_0x4f49('0x19')](_0x4f49('0x11'),auth[_0x4f49('0xb')](),controller['addAnswer']);router['post']('/:id/notify',controller['notify']);router[_0x4f49('0x19')](_0x4f49('0x1a'),auth[_0x4f49('0xb')](),controller[_0x4f49('0x1b')]);router['post'](_0x4f49('0x1c'),auth[_0x4f49('0xb')](),controller[_0x4f49('0x1d')]);router[_0x4f49('0x19')](_0x4f49('0x16'),controller['status']);router[_0x4f49('0x19')](_0x4f49('0x1e'),auth[_0x4f49('0xb')](),controller['addAgents']);router[_0x4f49('0x1f')](_0x4f49('0xe'),auth[_0x4f49('0xb')](),controller[_0x4f49('0x20')]);router[_0x4f49('0x21')](_0x4f49('0xe'),auth['isAuthenticated'](),controller['destroy']);router[_0x4f49('0x21')](_0x4f49('0x10'),auth['isAuthenticated'](),controller[_0x4f49('0x22')]);router[_0x4f49('0x21')](_0x4f49('0x11'),auth['isAuthenticated'](),controller[_0x4f49('0x23')]);router[_0x4f49('0x21')](_0x4f49('0x1e'),auth[_0x4f49('0xb')](),controller[_0x4f49('0x24')]);module[_0x4f49('0x25')]=router;
\ No newline at end of file