Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / api / faxAccount / index.js
index cbc45cf..7be6bd9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7dc6=['/:id/interactions','getInteractions','/:id/applications','getMessages','/:id/users','getAgents','create','/:id/dispositions','addDisposition','post','addAnswer','addApplications','/addaccountapplications','/updateaccountapplications','updateAccountApplications','send','addAgents','put','/:id','delete','destroy','removeDispositions','removeAnswers','removeAgents','multer','util','connect-timeout','express','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','show','getDispositions','/:id/canned_answers','getAnswers'];(function(_0x2ce6df,_0x49aebe){var _0x315eb7=function(_0xbe6fc0){while(--_0xbe6fc0){_0x2ce6df['push'](_0x2ce6df['shift']());}};_0x315eb7(++_0x49aebe);}(_0x7dc6,0x122));var _0x67dc=function(_0x427bff,_0x576b02){_0x427bff=_0x427bff-0x0;var _0x38a479=_0x7dc6[_0x427bff];return _0x38a479;};'use strict';var multer=require(_0x67dc('0x0'));var util=require(_0x67dc('0x1'));var path=require('path');var timeout=require(_0x67dc('0x2'));var express=require(_0x67dc('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x67dc('0x4'));var config=require(_0x67dc('0x5'));var controller=require('./faxAccount.controller');router[_0x67dc('0x6')]('/',auth[_0x67dc('0x7')](),controller[_0x67dc('0x8')]);router[_0x67dc('0x6')](_0x67dc('0x9'),auth['isAuthenticated'](),controller['describe']);router['get']('/:id',auth[_0x67dc('0x7')](),controller[_0x67dc('0xa')]);router[_0x67dc('0x6')]('/:id/dispositions',auth['isAuthenticated'](),controller[_0x67dc('0xb')]);router[_0x67dc('0x6')](_0x67dc('0xc'),auth['isAuthenticated'](),controller[_0x67dc('0xd')]);router['get'](_0x67dc('0xe'),auth['isAuthenticated'](),controller[_0x67dc('0xf')]);router[_0x67dc('0x6')](_0x67dc('0x10'),auth['isAuthenticated'](),controller['getApplications']);router[_0x67dc('0x6')]('/:id/messages',auth[_0x67dc('0x7')](),controller[_0x67dc('0x11')]);router['get'](_0x67dc('0x12'),auth[_0x67dc('0x7')](),controller[_0x67dc('0x13')]);router['post']('/',auth[_0x67dc('0x7')](),controller[_0x67dc('0x14')]);router['post'](_0x67dc('0x15'),auth[_0x67dc('0x7')](),controller[_0x67dc('0x16')]);router[_0x67dc('0x17')](_0x67dc('0xc'),auth[_0x67dc('0x7')](),controller[_0x67dc('0x18')]);router[_0x67dc('0x17')]('/:id/interactions',auth['isAuthenticated'](),controller['addInteraction']);router[_0x67dc('0x17')](_0x67dc('0x10'),auth[_0x67dc('0x7')](),controller[_0x67dc('0x19')]);router[_0x67dc('0x17')](_0x67dc('0x1a'),auth[_0x67dc('0x7')](),controller['addAccountApplications']);router['post'](_0x67dc('0x1b'),auth['isAuthenticated'](),controller[_0x67dc('0x1c')]);router[_0x67dc('0x17')]('/:id/send',auth[_0x67dc('0x7')](),controller[_0x67dc('0x1d')]);router['post'](_0x67dc('0x12'),auth['isAuthenticated'](),controller[_0x67dc('0x1e')]);router[_0x67dc('0x1f')](_0x67dc('0x20'),auth[_0x67dc('0x7')](),controller['update']);router[_0x67dc('0x21')](_0x67dc('0x20'),auth[_0x67dc('0x7')](),controller[_0x67dc('0x22')]);router['delete']('/:id/dispositions',auth[_0x67dc('0x7')](),controller[_0x67dc('0x23')]);router['delete']('/:id/canned_answers',auth[_0x67dc('0x7')](),controller[_0x67dc('0x24')]);router[_0x67dc('0x21')]('/:id/users',auth[_0x67dc('0x7')](),controller[_0x67dc('0x25')]);module['exports']=router;
\ No newline at end of file
+var _0xa9e0=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxAccount.controller','get','index','/describe','show','/:id/dispositions','isAuthenticated','getDispositions','/:id/interactions','getInteractions','/:id/applications','/:id/messages','getMessages','/:id/users','getAgents','post','addDisposition','/:id/canned_answers','addAnswer','addInteraction','addApplications','addAccountApplications','/updateaccountapplications','/:id/send','send','addAgents','put','/:id','update','destroy','delete','removeDispositions','removeAnswers','removeAgents','exports','multer','util','path'];(function(_0x129422,_0x4af03c){var _0x3f7f3a=function(_0x1b1fcd){while(--_0x1b1fcd){_0x129422['push'](_0x129422['shift']());}};_0x3f7f3a(++_0x4af03c);}(_0xa9e0,0x123));var _0x0a9e=function(_0xbb091,_0x3fe7ee){_0xbb091=_0xbb091-0x0;var _0x467a04=_0xa9e0[_0xbb091];return _0x467a04;};'use strict';var multer=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var path=require(_0x0a9e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0a9e('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x0a9e('0x4'));var interaction=require(_0x0a9e('0x5'));var config=require(_0x0a9e('0x6'));var controller=require(_0x0a9e('0x7'));router[_0x0a9e('0x8')]('/',auth['isAuthenticated'](),controller[_0x0a9e('0x9')]);router[_0x0a9e('0x8')](_0x0a9e('0xa'),auth['isAuthenticated'](),controller['describe']);router[_0x0a9e('0x8')]('/:id',auth['isAuthenticated'](),controller[_0x0a9e('0xb')]);router[_0x0a9e('0x8')](_0x0a9e('0xc'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0xe')]);router[_0x0a9e('0x8')]('/:id/canned_answers',auth['isAuthenticated'](),controller['getAnswers']);router['get'](_0x0a9e('0xf'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x10')]);router[_0x0a9e('0x8')](_0x0a9e('0x11'),auth[_0x0a9e('0xd')](),controller['getApplications']);router[_0x0a9e('0x8')](_0x0a9e('0x12'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x13')]);router[_0x0a9e('0x8')](_0x0a9e('0x14'),auth['isAuthenticated'](),controller[_0x0a9e('0x15')]);router['post']('/',auth[_0x0a9e('0xd')](),controller['create']);router[_0x0a9e('0x16')](_0x0a9e('0xc'),auth['isAuthenticated'](),controller[_0x0a9e('0x17')]);router['post'](_0x0a9e('0x18'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x19')]);router[_0x0a9e('0x16')](_0x0a9e('0xf'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x1a')]);router[_0x0a9e('0x16')](_0x0a9e('0x11'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x1b')]);router[_0x0a9e('0x16')]('/addaccountapplications',auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x1c')]);router['post'](_0x0a9e('0x1d'),auth['isAuthenticated'](),controller['updateAccountApplications']);router[_0x0a9e('0x16')](_0x0a9e('0x1e'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x1f')]);router['post'](_0x0a9e('0x14'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x20')]);router[_0x0a9e('0x21')](_0x0a9e('0x22'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x23')]);router['delete']('/:id',auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x24')]);router[_0x0a9e('0x25')](_0x0a9e('0xc'),auth['isAuthenticated'](),controller[_0x0a9e('0x26')]);router['delete'](_0x0a9e('0x18'),auth['isAuthenticated'](),controller[_0x0a9e('0x27')]);router[_0x0a9e('0x25')](_0x0a9e('0x14'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x28')]);module[_0x0a9e('0x29')]=router;
\ No newline at end of file