Built motion from commit 994c64e1.|2.6.1
[motion2.git] / server / api / faxAccount / index.js
index d0d386f..d884c1a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x011b=['destroy','removeDispositions','removeAnswers','exports','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxAccount.controller','get','isAuthenticated','index','/describe','describe','/:id','/:id/dispositions','getDispositions','/:id/canned_answers','/:id/interactions','getInteractions','/:id/applications','/:id/messages','getMessages','/:id/users','getAgents','post','create','addDisposition','addAnswer','addInteraction','addApplications','/addaccountapplications','addAccountApplications','/updateaccountapplications','updateAccountApplications','/:id/send','put','delete'];(function(_0x21af3a,_0x386e1d){var _0x268a49=function(_0x41a650){while(--_0x41a650){_0x21af3a['push'](_0x21af3a['shift']());}};_0x268a49(++_0x386e1d);}(_0x011b,0x82));var _0xb011=function(_0x5e0dfd,_0x4bba34){_0x5e0dfd=_0x5e0dfd-0x0;var _0xc12874=_0x011b[_0x5e0dfd];return _0xc12874;};'use strict';var multer=require('multer');var util=require(_0xb011('0x0'));var path=require(_0xb011('0x1'));var timeout=require('connect-timeout');var express=require(_0xb011('0x2'));var router=express[_0xb011('0x3')]();var fs_extra=require(_0xb011('0x4'));var auth=require(_0xb011('0x5'));var interaction=require(_0xb011('0x6'));var config=require(_0xb011('0x7'));var controller=require(_0xb011('0x8'));router[_0xb011('0x9')]('/',auth[_0xb011('0xa')](),controller[_0xb011('0xb')]);router[_0xb011('0x9')](_0xb011('0xc'),auth[_0xb011('0xa')](),controller[_0xb011('0xd')]);router[_0xb011('0x9')](_0xb011('0xe'),auth[_0xb011('0xa')](),controller['show']);router[_0xb011('0x9')](_0xb011('0xf'),auth[_0xb011('0xa')](),controller[_0xb011('0x10')]);router[_0xb011('0x9')](_0xb011('0x11'),auth['isAuthenticated'](),controller['getAnswers']);router['get'](_0xb011('0x12'),auth[_0xb011('0xa')](),controller[_0xb011('0x13')]);router['get'](_0xb011('0x14'),auth[_0xb011('0xa')](),controller['getApplications']);router[_0xb011('0x9')](_0xb011('0x15'),auth[_0xb011('0xa')](),controller[_0xb011('0x16')]);router[_0xb011('0x9')](_0xb011('0x17'),auth[_0xb011('0xa')](),controller[_0xb011('0x18')]);router[_0xb011('0x19')]('/',auth[_0xb011('0xa')](),controller[_0xb011('0x1a')]);router['post'](_0xb011('0xf'),auth[_0xb011('0xa')](),controller[_0xb011('0x1b')]);router[_0xb011('0x19')](_0xb011('0x11'),auth[_0xb011('0xa')](),controller[_0xb011('0x1c')]);router[_0xb011('0x19')]('/:id/interactions',auth['isAuthenticated'](),controller[_0xb011('0x1d')]);router['post']('/:id/applications',auth['isAuthenticated'](),controller[_0xb011('0x1e')]);router[_0xb011('0x19')](_0xb011('0x1f'),auth[_0xb011('0xa')](),controller[_0xb011('0x20')]);router[_0xb011('0x19')](_0xb011('0x21'),auth[_0xb011('0xa')](),controller[_0xb011('0x22')]);router['post'](_0xb011('0x23'),auth[_0xb011('0xa')](),controller['send']);router[_0xb011('0x19')]('/:id/users',auth[_0xb011('0xa')](),controller['addAgents']);router[_0xb011('0x24')](_0xb011('0xe'),auth[_0xb011('0xa')](),controller['update']);router[_0xb011('0x25')](_0xb011('0xe'),auth['isAuthenticated'](),controller[_0xb011('0x26')]);router['delete'](_0xb011('0xf'),auth[_0xb011('0xa')](),controller[_0xb011('0x27')]);router[_0xb011('0x25')](_0xb011('0x11'),auth[_0xb011('0xa')](),controller[_0xb011('0x28')]);router['delete']('/:id/users',auth[_0xb011('0xa')](),controller['removeAgents']);module[_0xb011('0x29')]=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(_0x2e5124,_0x518e6a){var _0x2e9223=function(_0x3a9e3d){while(--_0x3a9e3d){_0x2e5124['push'](_0x2e5124['shift']());}};_0x2e9223(++_0x518e6a);}(_0xa9e0,0x123));var _0x0a9e=function(_0xc6be3a,_0x540e05){_0xc6be3a=_0xc6be3a-0x0;var _0x56a310=_0xa9e0[_0xc6be3a];return _0x56a310;};'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