Built motion from commit cb845558.|2.6.34
[motion2.git] / server / api / faxAccount / index.js
index 470c1ba..e58cdba 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x55f8=['addAccountApplications','/updateaccountapplications','updateAccountApplications','send','addAgents','put','update','delete','destroy','removeDispositions','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./faxAccount.controller','get','isAuthenticated','index','describe','/:id','getDispositions','/:id/canned_answers','getInteractions','/:id/applications','getApplications','/:id/messages','getMessages','/:id/users','getAgents','post','create','/:id/dispositions','addAnswer','addInteraction','addApplications','/addaccountapplications'];(function(_0x5b2094,_0xe7e1ec){var _0x54af16=function(_0x5a13a0){while(--_0x5a13a0){_0x5b2094['push'](_0x5b2094['shift']());}};_0x54af16(++_0xe7e1ec);}(_0x55f8,0x12a));var _0x855f=function(_0x10d394,_0x1e6d40){_0x10d394=_0x10d394-0x0;var _0xb75305=_0x55f8[_0x10d394];return _0xb75305;};'use strict';var multer=require(_0x855f('0x0'));var util=require('util');var path=require(_0x855f('0x1'));var timeout=require(_0x855f('0x2'));var express=require(_0x855f('0x3'));var router=express[_0x855f('0x4')]();var fs_extra=require(_0x855f('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x855f('0x6'));var config=require(_0x855f('0x7'));var controller=require(_0x855f('0x8'));router[_0x855f('0x9')]('/',auth[_0x855f('0xa')](),controller[_0x855f('0xb')]);router['get']('/describe',auth[_0x855f('0xa')](),controller[_0x855f('0xc')]);router[_0x855f('0x9')](_0x855f('0xd'),auth[_0x855f('0xa')](),controller['show']);router['get']('/:id/dispositions',auth[_0x855f('0xa')](),controller[_0x855f('0xe')]);router['get'](_0x855f('0xf'),auth[_0x855f('0xa')](),controller['getAnswers']);router[_0x855f('0x9')]('/:id/interactions',auth['isAuthenticated'](),controller[_0x855f('0x10')]);router['get'](_0x855f('0x11'),auth[_0x855f('0xa')](),controller[_0x855f('0x12')]);router[_0x855f('0x9')](_0x855f('0x13'),auth[_0x855f('0xa')](),controller[_0x855f('0x14')]);router[_0x855f('0x9')](_0x855f('0x15'),auth['isAuthenticated'](),controller[_0x855f('0x16')]);router[_0x855f('0x17')]('/',auth['isAuthenticated'](),controller[_0x855f('0x18')]);router[_0x855f('0x17')](_0x855f('0x19'),auth[_0x855f('0xa')](),controller['addDisposition']);router[_0x855f('0x17')](_0x855f('0xf'),auth['isAuthenticated'](),controller[_0x855f('0x1a')]);router[_0x855f('0x17')]('/:id/interactions',auth['isAuthenticated'](),controller[_0x855f('0x1b')]);router['post']('/:id/applications',auth['isAuthenticated'](),controller[_0x855f('0x1c')]);router[_0x855f('0x17')](_0x855f('0x1d'),auth[_0x855f('0xa')](),controller[_0x855f('0x1e')]);router[_0x855f('0x17')](_0x855f('0x1f'),auth[_0x855f('0xa')](),controller[_0x855f('0x20')]);router['post']('/:id/send',auth[_0x855f('0xa')](),controller[_0x855f('0x21')]);router[_0x855f('0x17')](_0x855f('0x15'),auth[_0x855f('0xa')](),controller[_0x855f('0x22')]);router[_0x855f('0x23')](_0x855f('0xd'),auth[_0x855f('0xa')](),controller[_0x855f('0x24')]);router[_0x855f('0x25')](_0x855f('0xd'),auth[_0x855f('0xa')](),controller[_0x855f('0x26')]);router[_0x855f('0x25')](_0x855f('0x19'),auth[_0x855f('0xa')](),controller[_0x855f('0x27')]);router[_0x855f('0x25')](_0x855f('0xf'),auth[_0x855f('0xa')](),controller['removeAnswers']);router[_0x855f('0x25')]('/:id/users',auth[_0x855f('0xa')](),controller['removeAgents']);module[_0x855f('0x28')]=router;
\ No newline at end of file
+var _0x6bf4=['/:id/applications','getApplications','getMessages','post','addDisposition','addAnswer','addApplications','/addaccountapplications','addAccountApplications','/updateaccountapplications','updateAccountApplications','/:id/send','/:id/users','put','update','delete','removeDispositions','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./faxAccount.controller','get','index','isAuthenticated','describe','/:id','show','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/interactions','getInteractions'];(function(_0x3f105b,_0x1f2a0c){var _0x59a2a7=function(_0x399f40){while(--_0x399f40){_0x3f105b['push'](_0x3f105b['shift']());}};_0x59a2a7(++_0x1f2a0c);}(_0x6bf4,0x168));var _0x46bf=function(_0x2ee679,_0x13f469){_0x2ee679=_0x2ee679-0x0;var _0x559b9d=_0x6bf4[_0x2ee679];return _0x559b9d;};'use strict';var multer=require(_0x46bf('0x0'));var util=require(_0x46bf('0x1'));var path=require(_0x46bf('0x2'));var timeout=require(_0x46bf('0x3'));var express=require(_0x46bf('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x46bf('0x5'));var interaction=require(_0x46bf('0x6'));var config=require('../../config/environment');var controller=require(_0x46bf('0x7'));router[_0x46bf('0x8')]('/',auth['isAuthenticated'](),controller[_0x46bf('0x9')]);router['get']('/describe',auth[_0x46bf('0xa')](),controller[_0x46bf('0xb')]);router[_0x46bf('0x8')](_0x46bf('0xc'),auth['isAuthenticated'](),controller[_0x46bf('0xd')]);router[_0x46bf('0x8')](_0x46bf('0xe'),auth['isAuthenticated'](),controller[_0x46bf('0xf')]);router[_0x46bf('0x8')](_0x46bf('0x10'),auth[_0x46bf('0xa')](),controller[_0x46bf('0x11')]);router[_0x46bf('0x8')](_0x46bf('0x12'),auth[_0x46bf('0xa')](),controller[_0x46bf('0x13')]);router[_0x46bf('0x8')](_0x46bf('0x14'),auth[_0x46bf('0xa')](),controller[_0x46bf('0x15')]);router[_0x46bf('0x8')]('/:id/messages',auth[_0x46bf('0xa')](),controller[_0x46bf('0x16')]);router[_0x46bf('0x8')]('/:id/users',auth[_0x46bf('0xa')](),controller['getAgents']);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0x46bf('0x17')](_0x46bf('0xe'),auth[_0x46bf('0xa')](),controller[_0x46bf('0x18')]);router[_0x46bf('0x17')]('/:id/canned_answers',auth[_0x46bf('0xa')](),controller[_0x46bf('0x19')]);router[_0x46bf('0x17')](_0x46bf('0x12'),auth[_0x46bf('0xa')](),controller['addInteraction']);router[_0x46bf('0x17')](_0x46bf('0x14'),auth[_0x46bf('0xa')](),controller[_0x46bf('0x1a')]);router[_0x46bf('0x17')](_0x46bf('0x1b'),auth[_0x46bf('0xa')](),controller[_0x46bf('0x1c')]);router[_0x46bf('0x17')](_0x46bf('0x1d'),auth[_0x46bf('0xa')](),controller[_0x46bf('0x1e')]);router['post'](_0x46bf('0x1f'),auth[_0x46bf('0xa')](),controller['send']);router['post'](_0x46bf('0x20'),auth[_0x46bf('0xa')](),controller['addAgents']);router[_0x46bf('0x21')](_0x46bf('0xc'),auth[_0x46bf('0xa')](),controller[_0x46bf('0x22')]);router[_0x46bf('0x23')](_0x46bf('0xc'),auth[_0x46bf('0xa')](),controller['destroy']);router[_0x46bf('0x23')](_0x46bf('0xe'),auth['isAuthenticated'](),controller[_0x46bf('0x24')]);router['delete']('/:id/canned_answers',auth[_0x46bf('0xa')](),controller['removeAnswers']);router[_0x46bf('0x23')](_0x46bf('0x20'),auth[_0x46bf('0xa')](),controller['removeAgents']);module[_0x46bf('0x25')]=router;
\ No newline at end of file