Built motion from commit ddca4d0d.|2.5.47
[motion2.git] / server / api / smsAccount / index.js
index 8f518ff..530f70b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc0b8=['/:id/canned_answers','getAnswers','/:id/interactions','/:id/status','statusGet','/:id/users','getAgents','create','post','addAnswer','notify','/:id/applications','addApplications','/:id/send','send','status','addAgents','update','delete','removeDispositions','removeAnswers','removeAgents','exports','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsAccount.controller','get','isAuthenticated','index','describe','/:id','show','/:id/dispositions','getDispositions'];(function(_0x143012,_0x69ec1c){var _0x2ebedf=function(_0x12bf82){while(--_0x12bf82){_0x143012['push'](_0x143012['shift']());}};_0x2ebedf(++_0x69ec1c);}(_0xc0b8,0x16d));var _0x8c0b=function(_0x4e417c,_0x98950a){_0x4e417c=_0x4e417c-0x0;var _0x344e4e=_0xc0b8[_0x4e417c];return _0x344e4e;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x8c0b('0x0'));var express=require(_0x8c0b('0x1'));var router=express[_0x8c0b('0x2')]();var auth=require(_0x8c0b('0x3'));var interaction=require(_0x8c0b('0x4'));var config=require(_0x8c0b('0x5'));var controller=require(_0x8c0b('0x6'));router[_0x8c0b('0x7')]('/',auth[_0x8c0b('0x8')](),controller[_0x8c0b('0x9')]);router['get']('/describe',auth[_0x8c0b('0x8')](),controller[_0x8c0b('0xa')]);router[_0x8c0b('0x7')](_0x8c0b('0xb'),auth['isAuthenticated'](),controller[_0x8c0b('0xc')]);router[_0x8c0b('0x7')](_0x8c0b('0xd'),auth[_0x8c0b('0x8')](),controller[_0x8c0b('0xe')]);router[_0x8c0b('0x7')](_0x8c0b('0xf'),auth[_0x8c0b('0x8')](),controller[_0x8c0b('0x10')]);router[_0x8c0b('0x7')]('/:id/applications',auth[_0x8c0b('0x8')](),controller['getApplications']);router[_0x8c0b('0x7')](_0x8c0b('0x11'),auth[_0x8c0b('0x8')](),controller['getInteractions']);router['get'](_0x8c0b('0x12'),controller[_0x8c0b('0x13')]);router['get'](_0x8c0b('0x14'),auth[_0x8c0b('0x8')](),controller[_0x8c0b('0x15')]);router['post']('/',auth['isAuthenticated'](),controller[_0x8c0b('0x16')]);router['post'](_0x8c0b('0xd'),auth['isAuthenticated'](),controller['addDisposition']);router[_0x8c0b('0x17')](_0x8c0b('0xf'),auth[_0x8c0b('0x8')](),controller[_0x8c0b('0x18')]);router[_0x8c0b('0x17')]('/:id/notify',controller[_0x8c0b('0x19')]);router[_0x8c0b('0x17')](_0x8c0b('0x1a'),auth[_0x8c0b('0x8')](),controller[_0x8c0b('0x1b')]);router[_0x8c0b('0x17')](_0x8c0b('0x1c'),auth['isAuthenticated'](),controller[_0x8c0b('0x1d')]);router[_0x8c0b('0x17')](_0x8c0b('0x12'),controller[_0x8c0b('0x1e')]);router['post']('/:id/users',auth[_0x8c0b('0x8')](),controller[_0x8c0b('0x1f')]);router['put']('/:id',auth[_0x8c0b('0x8')](),controller[_0x8c0b('0x20')]);router[_0x8c0b('0x21')](_0x8c0b('0xb'),auth[_0x8c0b('0x8')](),controller['destroy']);router[_0x8c0b('0x21')]('/:id/dispositions',auth[_0x8c0b('0x8')](),controller[_0x8c0b('0x22')]);router[_0x8c0b('0x21')]('/:id/canned_answers',auth[_0x8c0b('0x8')](),controller[_0x8c0b('0x23')]);router[_0x8c0b('0x21')](_0x8c0b('0x14'),auth['isAuthenticated'](),controller[_0x8c0b('0x24')]);module[_0x8c0b('0x25')]=router;
\ No newline at end of file
+var _0x1cb9=['/:id/canned_answers','getAnswers','getApplications','/:id/interactions','getInteractions','/:id/users','post','create','addAnswer','/:id/notify','notify','/:id/applications','/:id/send','/:id/status','status','addAgents','put','update','delete','destroy','removeDispositions','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./smsAccount.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/dispositions','getDispositions'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x1cb9,0x14e));var _0x91cb=function(_0x2b50cd,_0x1ad9b8){_0x2b50cd=_0x2b50cd-0x0;var _0x364821=_0x1cb9[_0x2b50cd];return _0x364821;};'use strict';var multer=require(_0x91cb('0x0'));var util=require('util');var path=require(_0x91cb('0x1'));var timeout=require(_0x91cb('0x2'));var express=require(_0x91cb('0x3'));var router=express[_0x91cb('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x91cb('0x5'));var interaction=require(_0x91cb('0x6'));var config=require('../../config/environment');var controller=require(_0x91cb('0x7'));router[_0x91cb('0x8')]('/',auth[_0x91cb('0x9')](),controller[_0x91cb('0xa')]);router[_0x91cb('0x8')](_0x91cb('0xb'),auth['isAuthenticated'](),controller[_0x91cb('0xc')]);router['get'](_0x91cb('0xd'),auth['isAuthenticated'](),controller[_0x91cb('0xe')]);router[_0x91cb('0x8')](_0x91cb('0xf'),auth[_0x91cb('0x9')](),controller[_0x91cb('0x10')]);router[_0x91cb('0x8')](_0x91cb('0x11'),auth[_0x91cb('0x9')](),controller[_0x91cb('0x12')]);router[_0x91cb('0x8')]('/:id/applications',auth[_0x91cb('0x9')](),controller[_0x91cb('0x13')]);router['get'](_0x91cb('0x14'),auth[_0x91cb('0x9')](),controller[_0x91cb('0x15')]);router[_0x91cb('0x8')]('/:id/status',controller['statusGet']);router[_0x91cb('0x8')](_0x91cb('0x16'),auth['isAuthenticated'](),controller['getAgents']);router[_0x91cb('0x17')]('/',auth[_0x91cb('0x9')](),controller[_0x91cb('0x18')]);router['post'](_0x91cb('0xf'),auth[_0x91cb('0x9')](),controller['addDisposition']);router[_0x91cb('0x17')](_0x91cb('0x11'),auth[_0x91cb('0x9')](),controller[_0x91cb('0x19')]);router['post'](_0x91cb('0x1a'),controller[_0x91cb('0x1b')]);router['post'](_0x91cb('0x1c'),auth['isAuthenticated'](),controller['addApplications']);router[_0x91cb('0x17')](_0x91cb('0x1d'),auth['isAuthenticated'](),controller['send']);router['post'](_0x91cb('0x1e'),controller[_0x91cb('0x1f')]);router[_0x91cb('0x17')](_0x91cb('0x16'),auth['isAuthenticated'](),controller[_0x91cb('0x20')]);router[_0x91cb('0x21')](_0x91cb('0xd'),auth['isAuthenticated'](),controller[_0x91cb('0x22')]);router[_0x91cb('0x23')](_0x91cb('0xd'),auth[_0x91cb('0x9')](),controller[_0x91cb('0x24')]);router[_0x91cb('0x23')](_0x91cb('0xf'),auth[_0x91cb('0x9')](),controller[_0x91cb('0x25')]);router['delete']('/:id/canned_answers',auth[_0x91cb('0x9')](),controller['removeAnswers']);router[_0x91cb('0x23')](_0x91cb('0x16'),auth[_0x91cb('0x9')](),controller['removeAgents']);module[_0x91cb('0x26')]=router;
\ No newline at end of file