Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / smsAccount / index.js
index 30777b2..b98487a 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 _0x9e0f=['/:id','show','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/applications','getApplications','/:id/interactions','getInteractions','/:id/status','statusGet','getAgents','post','create','addDisposition','/:id/notify','send','status','/:id/users','addAgents','put','update','destroy','delete','removeDispositions','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsAccount.controller','get','isAuthenticated','index','/describe','describe'];(function(_0x50d8e0,_0x41b161){var _0x355c79=function(_0xfe6ee0){while(--_0xfe6ee0){_0x50d8e0['push'](_0x50d8e0['shift']());}};_0x355c79(++_0x41b161);}(_0x9e0f,0x141));var _0xf9e0=function(_0x4b0d71,_0x324945){_0x4b0d71=_0x4b0d71-0x0;var _0x254492=_0x9e0f[_0x4b0d71];return _0x254492;};'use strict';var multer=require(_0xf9e0('0x0'));var util=require('util');var path=require(_0xf9e0('0x1'));var timeout=require(_0xf9e0('0x2'));var express=require(_0xf9e0('0x3'));var router=express[_0xf9e0('0x4')]();var fs_extra=require(_0xf9e0('0x5'));var auth=require(_0xf9e0('0x6'));var interaction=require(_0xf9e0('0x7'));var config=require(_0xf9e0('0x8'));var controller=require(_0xf9e0('0x9'));router[_0xf9e0('0xa')]('/',auth[_0xf9e0('0xb')](),controller[_0xf9e0('0xc')]);router[_0xf9e0('0xa')](_0xf9e0('0xd'),auth[_0xf9e0('0xb')](),controller[_0xf9e0('0xe')]);router[_0xf9e0('0xa')](_0xf9e0('0xf'),auth[_0xf9e0('0xb')](),controller[_0xf9e0('0x10')]);router[_0xf9e0('0xa')](_0xf9e0('0x11'),auth[_0xf9e0('0xb')](),controller[_0xf9e0('0x12')]);router[_0xf9e0('0xa')](_0xf9e0('0x13'),auth[_0xf9e0('0xb')](),controller[_0xf9e0('0x14')]);router[_0xf9e0('0xa')](_0xf9e0('0x15'),auth[_0xf9e0('0xb')](),controller[_0xf9e0('0x16')]);router[_0xf9e0('0xa')](_0xf9e0('0x17'),auth[_0xf9e0('0xb')](),controller[_0xf9e0('0x18')]);router[_0xf9e0('0xa')](_0xf9e0('0x19'),controller[_0xf9e0('0x1a')]);router['get']('/:id/users',auth[_0xf9e0('0xb')](),controller[_0xf9e0('0x1b')]);router[_0xf9e0('0x1c')]('/',auth[_0xf9e0('0xb')](),controller[_0xf9e0('0x1d')]);router['post'](_0xf9e0('0x11'),auth[_0xf9e0('0xb')](),controller[_0xf9e0('0x1e')]);router['post'](_0xf9e0('0x13'),auth[_0xf9e0('0xb')](),controller['addAnswer']);router['post'](_0xf9e0('0x1f'),controller['notify']);router[_0xf9e0('0x1c')](_0xf9e0('0x15'),auth['isAuthenticated'](),controller['addApplications']);router[_0xf9e0('0x1c')]('/:id/send',auth['isAuthenticated'](),controller[_0xf9e0('0x20')]);router[_0xf9e0('0x1c')](_0xf9e0('0x19'),controller[_0xf9e0('0x21')]);router[_0xf9e0('0x1c')](_0xf9e0('0x22'),auth[_0xf9e0('0xb')](),controller[_0xf9e0('0x23')]);router[_0xf9e0('0x24')](_0xf9e0('0xf'),auth[_0xf9e0('0xb')](),controller[_0xf9e0('0x25')]);router['delete'](_0xf9e0('0xf'),auth[_0xf9e0('0xb')](),controller[_0xf9e0('0x26')]);router[_0xf9e0('0x27')](_0xf9e0('0x11'),auth['isAuthenticated'](),controller[_0xf9e0('0x28')]);router[_0xf9e0('0x27')](_0xf9e0('0x13'),auth[_0xf9e0('0xb')](),controller['removeAnswers']);router['delete'](_0xf9e0('0x22'),auth[_0xf9e0('0xb')](),controller['removeAgents']);module[_0xf9e0('0x29')]=router;
\ No newline at end of file