Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / faxAccount / index.js
index 136e9d9..f57a81b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x59ab=['addAnswer','/:id/applications','addApplications','/addaccountapplications','addAccountApplications','updateAccountApplications','/:id/send','send','addAgents','/:id','delete','destroy','removeDispositions','/:id/canned_answers','removeAnswers','removeAgents','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxAccount.controller','index','get','/describe','isAuthenticated','show','getDispositions','/:id/interactions','getInteractions','getApplications','/:id/messages','getMessages','/:id/users','getAgents','post','create','/:id/dispositions','addDisposition'];(function(_0x4a8ef3,_0x4c1529){var _0x55df4b=function(_0xb37d1e){while(--_0xb37d1e){_0x4a8ef3['push'](_0x4a8ef3['shift']());}};_0x55df4b(++_0x4c1529);}(_0x59ab,0x95));var _0xb59a=function(_0x23c23c,_0x5ee1ff){_0x23c23c=_0x23c23c-0x0;var _0xf99e32=_0x59ab[_0x23c23c];return _0xf99e32;};'use strict';var multer=require(_0xb59a('0x0'));var util=require(_0xb59a('0x1'));var path=require(_0xb59a('0x2'));var timeout=require(_0xb59a('0x3'));var express=require(_0xb59a('0x4'));var router=express[_0xb59a('0x5')]();var auth=require(_0xb59a('0x6'));var interaction=require(_0xb59a('0x7'));var config=require(_0xb59a('0x8'));var controller=require(_0xb59a('0x9'));router['get']('/',auth['isAuthenticated'](),controller[_0xb59a('0xa')]);router[_0xb59a('0xb')](_0xb59a('0xc'),auth[_0xb59a('0xd')](),controller['describe']);router[_0xb59a('0xb')]('/:id',auth[_0xb59a('0xd')](),controller[_0xb59a('0xe')]);router[_0xb59a('0xb')]('/:id/dispositions',auth[_0xb59a('0xd')](),controller[_0xb59a('0xf')]);router[_0xb59a('0xb')]('/:id/canned_answers',auth[_0xb59a('0xd')](),controller['getAnswers']);router[_0xb59a('0xb')](_0xb59a('0x10'),auth[_0xb59a('0xd')](),controller[_0xb59a('0x11')]);router[_0xb59a('0xb')]('/:id/applications',auth[_0xb59a('0xd')](),controller[_0xb59a('0x12')]);router[_0xb59a('0xb')](_0xb59a('0x13'),auth[_0xb59a('0xd')](),controller[_0xb59a('0x14')]);router[_0xb59a('0xb')](_0xb59a('0x15'),auth['isAuthenticated'](),controller[_0xb59a('0x16')]);router[_0xb59a('0x17')]('/',auth[_0xb59a('0xd')](),controller[_0xb59a('0x18')]);router[_0xb59a('0x17')](_0xb59a('0x19'),auth['isAuthenticated'](),controller[_0xb59a('0x1a')]);router['post']('/:id/canned_answers',auth[_0xb59a('0xd')](),controller[_0xb59a('0x1b')]);router[_0xb59a('0x17')]('/:id/interactions',auth['isAuthenticated'](),controller['addInteraction']);router[_0xb59a('0x17')](_0xb59a('0x1c'),auth[_0xb59a('0xd')](),controller[_0xb59a('0x1d')]);router[_0xb59a('0x17')](_0xb59a('0x1e'),auth[_0xb59a('0xd')](),controller[_0xb59a('0x1f')]);router[_0xb59a('0x17')]('/updateaccountapplications',auth[_0xb59a('0xd')](),controller[_0xb59a('0x20')]);router[_0xb59a('0x17')](_0xb59a('0x21'),auth[_0xb59a('0xd')](),controller[_0xb59a('0x22')]);router[_0xb59a('0x17')](_0xb59a('0x15'),auth['isAuthenticated'](),controller[_0xb59a('0x23')]);router['put'](_0xb59a('0x24'),auth[_0xb59a('0xd')](),controller['update']);router[_0xb59a('0x25')](_0xb59a('0x24'),auth['isAuthenticated'](),controller[_0xb59a('0x26')]);router[_0xb59a('0x25')](_0xb59a('0x19'),auth[_0xb59a('0xd')](),controller[_0xb59a('0x27')]);router['delete'](_0xb59a('0x28'),auth[_0xb59a('0xd')](),controller[_0xb59a('0x29')]);router[_0xb59a('0x25')](_0xb59a('0x15'),auth[_0xb59a('0xd')](),controller[_0xb59a('0x2a')]);module[_0xb59a('0x2b')]=router;
\ No newline at end of file
+var _0x1877=['Router','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/interactions','getInteractions','/:id/applications','getApplications','/:id/messages','getMessages','/:id/users','addDisposition','post','addInteraction','addApplications','/updateaccountapplications','updateAccountApplications','/:id/send','send','put','update','destroy','delete','removeDispositions','removeAnswers','multer','util','path','connect-timeout','express'];(function(_0x51020b,_0x38c2c7){var _0x371e47=function(_0x2a538f){while(--_0x2a538f){_0x51020b['push'](_0x51020b['shift']());}};_0x371e47(++_0x38c2c7);}(_0x1877,0x15a));var _0x7187=function(_0x1aac60,_0x2e5ce5){_0x1aac60=_0x1aac60-0x0;var _0x186adf=_0x1877[_0x1aac60];return _0x186adf;};'use strict';var multer=require(_0x7187('0x0'));var util=require(_0x7187('0x1'));var path=require(_0x7187('0x2'));var timeout=require(_0x7187('0x3'));var express=require(_0x7187('0x4'));var router=express[_0x7187('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x7187('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x7187('0x7'));var controller=require('./faxAccount.controller');router[_0x7187('0x8')]('/',auth[_0x7187('0x9')](),controller[_0x7187('0xa')]);router['get'](_0x7187('0xb'),auth[_0x7187('0x9')](),controller[_0x7187('0xc')]);router[_0x7187('0x8')](_0x7187('0xd'),auth[_0x7187('0x9')](),controller['show']);router[_0x7187('0x8')](_0x7187('0xe'),auth['isAuthenticated'](),controller[_0x7187('0xf')]);router[_0x7187('0x8')](_0x7187('0x10'),auth[_0x7187('0x9')](),controller[_0x7187('0x11')]);router[_0x7187('0x8')](_0x7187('0x12'),auth[_0x7187('0x9')](),controller[_0x7187('0x13')]);router[_0x7187('0x8')](_0x7187('0x14'),auth[_0x7187('0x9')](),controller[_0x7187('0x15')]);router[_0x7187('0x8')](_0x7187('0x16'),auth[_0x7187('0x9')](),controller[_0x7187('0x17')]);router[_0x7187('0x8')](_0x7187('0x18'),auth[_0x7187('0x9')](),controller['getAgents']);router['post']('/',auth[_0x7187('0x9')](),controller['create']);router['post'](_0x7187('0xe'),auth['isAuthenticated'](),controller[_0x7187('0x19')]);router[_0x7187('0x1a')](_0x7187('0x10'),auth['isAuthenticated'](),controller['addAnswer']);router[_0x7187('0x1a')]('/:id/interactions',auth[_0x7187('0x9')](),controller[_0x7187('0x1b')]);router[_0x7187('0x1a')](_0x7187('0x14'),auth[_0x7187('0x9')](),controller[_0x7187('0x1c')]);router[_0x7187('0x1a')]('/addaccountapplications',auth[_0x7187('0x9')](),controller['addAccountApplications']);router[_0x7187('0x1a')](_0x7187('0x1d'),auth[_0x7187('0x9')](),controller[_0x7187('0x1e')]);router[_0x7187('0x1a')](_0x7187('0x1f'),auth[_0x7187('0x9')](),controller[_0x7187('0x20')]);router[_0x7187('0x1a')](_0x7187('0x18'),auth[_0x7187('0x9')](),controller['addAgents']);router[_0x7187('0x21')](_0x7187('0xd'),auth['isAuthenticated'](),controller[_0x7187('0x22')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x7187('0x23')]);router[_0x7187('0x24')]('/:id/dispositions',auth[_0x7187('0x9')](),controller[_0x7187('0x25')]);router[_0x7187('0x24')]('/:id/canned_answers',auth[_0x7187('0x9')](),controller[_0x7187('0x26')]);router['delete']('/:id/users',auth['isAuthenticated'](),controller['removeAgents']);module['exports']=router;
\ No newline at end of file