Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / api / smsAccount / index.js
index 30777b2..164d851 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x604a=['../../components/auth/service','../../components/interaction/service','get','index','/describe','isAuthenticated','/:id','show','getDispositions','getApplications','/:id/interactions','statusGet','/:id/users','getAgents','post','create','/:id/dispositions','addDisposition','/:id/canned_answers','addAnswer','/:id/notify','notify','/:id/applications','addApplications','send','/:id/status','addAgents','put','update','delete','destroy','removeAgents','exports','multer','path','express','Router'];(function(_0x501510,_0x61caa9){var _0x1e6ee5=function(_0x32845b){while(--_0x32845b){_0x501510['push'](_0x501510['shift']());}};_0x1e6ee5(++_0x61caa9);}(_0x604a,0x16e));var _0xa604=function(_0x49ee64,_0x1f2c81){_0x49ee64=_0x49ee64-0x0;var _0x1deb4d=_0x604a[_0x49ee64];return _0x1deb4d;};'use strict';var multer=require(_0xa604('0x0'));var util=require('util');var path=require(_0xa604('0x1'));var timeout=require('connect-timeout');var express=require(_0xa604('0x2'));var router=express[_0xa604('0x3')]();var auth=require(_0xa604('0x4'));var interaction=require(_0xa604('0x5'));var config=require('../../config/environment');var controller=require('./smsAccount.controller');router[_0xa604('0x6')]('/',auth['isAuthenticated'](),controller[_0xa604('0x7')]);router[_0xa604('0x6')](_0xa604('0x8'),auth[_0xa604('0x9')](),controller['describe']);router[_0xa604('0x6')](_0xa604('0xa'),auth[_0xa604('0x9')](),controller[_0xa604('0xb')]);router['get']('/:id/dispositions',auth['isAuthenticated'](),controller[_0xa604('0xc')]);router[_0xa604('0x6')]('/:id/canned_answers',auth['isAuthenticated'](),controller['getAnswers']);router['get']('/:id/applications',auth[_0xa604('0x9')](),controller[_0xa604('0xd')]);router[_0xa604('0x6')](_0xa604('0xe'),auth[_0xa604('0x9')](),controller['getInteractions']);router[_0xa604('0x6')]('/:id/status',controller[_0xa604('0xf')]);router[_0xa604('0x6')](_0xa604('0x10'),auth[_0xa604('0x9')](),controller[_0xa604('0x11')]);router[_0xa604('0x12')]('/',auth['isAuthenticated'](),controller[_0xa604('0x13')]);router['post'](_0xa604('0x14'),auth['isAuthenticated'](),controller[_0xa604('0x15')]);router[_0xa604('0x12')](_0xa604('0x16'),auth[_0xa604('0x9')](),controller[_0xa604('0x17')]);router[_0xa604('0x12')](_0xa604('0x18'),controller[_0xa604('0x19')]);router[_0xa604('0x12')](_0xa604('0x1a'),auth['isAuthenticated'](),controller[_0xa604('0x1b')]);router[_0xa604('0x12')]('/:id/send',auth['isAuthenticated'](),controller[_0xa604('0x1c')]);router['post'](_0xa604('0x1d'),controller['status']);router[_0xa604('0x12')](_0xa604('0x10'),auth[_0xa604('0x9')](),controller[_0xa604('0x1e')]);router[_0xa604('0x1f')](_0xa604('0xa'),auth[_0xa604('0x9')](),controller[_0xa604('0x20')]);router[_0xa604('0x21')]('/:id',auth[_0xa604('0x9')](),controller[_0xa604('0x22')]);router[_0xa604('0x21')](_0xa604('0x14'),auth[_0xa604('0x9')](),controller['removeDispositions']);router[_0xa604('0x21')](_0xa604('0x16'),auth[_0xa604('0x9')](),controller['removeAnswers']);router[_0xa604('0x21')]('/:id/users',auth[_0xa604('0x9')](),controller[_0xa604('0x23')]);module[_0xa604('0x24')]=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(_0x2509fb,_0x2cd4eb){_0x2509fb=_0x2509fb-0x0;var _0x528b13=_0xf494[_0x2509fb];return _0x528b13;};'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