Built motion from commit 67e5df37.|2.0.65
[motion2.git] / server / api / faxAccount / index.js
1 // xCALLY MOTION OBFUSCATOR 2.0.65
2 var _0x1fcc=['describe','/:id','show','/:id/canned_answers','getAnswers','/:id/interactions','getInteractions','/:id/dispositions','getDispositions','getMessages','post','create','addAnswer','addInteraction','addDisposition','/addaccountapplications','addAccountApplications','/updateaccountapplications','/:id/send','send','update','delete','destroy','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','./faxAccount.controller','get','isAuthenticated','index'];(function(_0x1caf6a,_0x26a5bf){var _0x1bf493=function(_0x3982f5){while(--_0x3982f5){_0x1caf6a['push'](_0x1caf6a['shift']());}};_0x1bf493(++_0x26a5bf);}(_0x1fcc,0xe4));var _0xc1fc=function(_0x54d52,_0x2473ba){_0x54d52=_0x54d52-0x0;var _0x968345=_0x1fcc[_0x54d52];return _0x968345;};'use strict';var multer=require(_0xc1fc('0x0'));var util=require(_0xc1fc('0x1'));var path=require(_0xc1fc('0x2'));var express=require('express');var router=express[_0xc1fc('0x3')]();var auth=require(_0xc1fc('0x4'));var interaction=require(_0xc1fc('0x5'));var config=require('../../config/environment');var controller=require(_0xc1fc('0x6'));router[_0xc1fc('0x7')]('/',auth[_0xc1fc('0x8')](),controller[_0xc1fc('0x9')]);router[_0xc1fc('0x7')]('/describe',auth[_0xc1fc('0x8')](),controller[_0xc1fc('0xa')]);router['get'](_0xc1fc('0xb'),auth[_0xc1fc('0x8')](),controller[_0xc1fc('0xc')]);router[_0xc1fc('0x7')](_0xc1fc('0xd'),auth['isAuthenticated'](),controller[_0xc1fc('0xe')]);router[_0xc1fc('0x7')](_0xc1fc('0xf'),auth[_0xc1fc('0x8')](),controller[_0xc1fc('0x10')]);router[_0xc1fc('0x7')]('/:id/applications',auth[_0xc1fc('0x8')](),controller['getApplications']);router[_0xc1fc('0x7')](_0xc1fc('0x11'),auth['isAuthenticated'](),controller[_0xc1fc('0x12')]);router[_0xc1fc('0x7')]('/:id/messages',auth[_0xc1fc('0x8')](),controller[_0xc1fc('0x13')]);router[_0xc1fc('0x14')]('/',auth[_0xc1fc('0x8')](),controller[_0xc1fc('0x15')]);router[_0xc1fc('0x14')](_0xc1fc('0xd'),auth[_0xc1fc('0x8')](),controller[_0xc1fc('0x16')]);router[_0xc1fc('0x14')](_0xc1fc('0xf'),auth[_0xc1fc('0x8')](),controller[_0xc1fc('0x17')]);router[_0xc1fc('0x14')]('/:id/applications',auth[_0xc1fc('0x8')](),controller['addApplications']);router['post'](_0xc1fc('0x11'),auth[_0xc1fc('0x8')](),controller[_0xc1fc('0x18')]);router[_0xc1fc('0x14')](_0xc1fc('0x11'),auth[_0xc1fc('0x8')](),controller['addDispositions']);router[_0xc1fc('0x14')](_0xc1fc('0x19'),auth['isAuthenticated'](),controller[_0xc1fc('0x1a')]);router['post'](_0xc1fc('0x1b'),auth[_0xc1fc('0x8')](),controller['updateAccountApplications']);router[_0xc1fc('0x14')](_0xc1fc('0x1c'),auth['isAuthenticated'](),controller[_0xc1fc('0x1d')]);router['put'](_0xc1fc('0xb'),auth['isAuthenticated'](),controller[_0xc1fc('0x1e')]);router[_0xc1fc('0x1f')](_0xc1fc('0xb'),auth[_0xc1fc('0x8')](),controller[_0xc1fc('0x20')]);router['delete'](_0xc1fc('0xd'),auth[_0xc1fc('0x8')](),controller['removeAnswers']);module[_0xc1fc('0x21')]=router;