Built motion from commit d301b742.|2.6.29
[motion2.git] / server / api / openchannelAccount / index.js
index 17cafac..8431e8d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xadb5=['/:id','show','/:id/dispositions','/:id/canned_answers','getAnswers','/:id/applications','getApplications','/:id/interactions','getInteractions','/:id/users','getAgents','post','addDisposition','addAnswer','notify','addApplications','addAgents','/:id/send','put','update','delete','destroy','removeDispositions','removeAnswers','exports','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe'];(function(_0x28c094,_0x309f00){var _0x3d8c87=function(_0x5d26d8){while(--_0x5d26d8){_0x28c094['push'](_0x28c094['shift']());}};_0x3d8c87(++_0x309f00);}(_0xadb5,0xad));var _0x5adb=function(_0x54b397,_0x4f10c9){_0x54b397=_0x54b397-0x0;var _0x1e75c8=_0xadb5[_0x54b397];return _0x1e75c8;};'use strict';var multer=require('multer');var util=require(_0x5adb('0x0'));var path=require('path');var timeout=require(_0x5adb('0x1'));var express=require(_0x5adb('0x2'));var router=express[_0x5adb('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x5adb('0x4'));var interaction=require(_0x5adb('0x5'));var config=require(_0x5adb('0x6'));var controller=require('./openchannelAccount.controller');router[_0x5adb('0x7')]('/',auth[_0x5adb('0x8')](),controller[_0x5adb('0x9')]);router[_0x5adb('0x7')](_0x5adb('0xa'),auth[_0x5adb('0x8')](),controller[_0x5adb('0xb')]);router[_0x5adb('0x7')](_0x5adb('0xc'),auth[_0x5adb('0x8')](),controller[_0x5adb('0xd')]);router[_0x5adb('0x7')](_0x5adb('0xe'),auth[_0x5adb('0x8')](),controller['getDispositions']);router['get'](_0x5adb('0xf'),auth[_0x5adb('0x8')](),controller[_0x5adb('0x10')]);router['get'](_0x5adb('0x11'),auth['isAuthenticated'](),controller[_0x5adb('0x12')]);router['get'](_0x5adb('0x13'),auth[_0x5adb('0x8')](),controller[_0x5adb('0x14')]);router['get'](_0x5adb('0x15'),auth[_0x5adb('0x8')](),controller[_0x5adb('0x16')]);router['post']('/',auth[_0x5adb('0x8')](),controller['create']);router[_0x5adb('0x17')](_0x5adb('0xe'),auth[_0x5adb('0x8')](),controller[_0x5adb('0x18')]);router[_0x5adb('0x17')](_0x5adb('0xf'),auth[_0x5adb('0x8')](),controller[_0x5adb('0x19')]);router[_0x5adb('0x17')]('/:id/notify',controller[_0x5adb('0x1a')]);router['post'](_0x5adb('0x11'),auth['isAuthenticated'](),controller[_0x5adb('0x1b')]);router['post']('/:id/users',auth[_0x5adb('0x8')](),controller[_0x5adb('0x1c')]);router[_0x5adb('0x17')](_0x5adb('0x1d'),auth[_0x5adb('0x8')](),controller['send']);router[_0x5adb('0x1e')]('/:id',auth['isAuthenticated'](),controller[_0x5adb('0x1f')]);router[_0x5adb('0x20')](_0x5adb('0xc'),auth[_0x5adb('0x8')](),controller[_0x5adb('0x21')]);router[_0x5adb('0x20')](_0x5adb('0xe'),auth['isAuthenticated'](),controller[_0x5adb('0x22')]);router[_0x5adb('0x20')](_0x5adb('0xf'),auth[_0x5adb('0x8')](),controller[_0x5adb('0x23')]);router['delete'](_0x5adb('0x15'),auth[_0x5adb('0x8')](),controller['removeAgents']);module[_0x5adb('0x24')]=router;
\ No newline at end of file
+var _0x0424=['getAnswers','getApplications','/:id/interactions','getInteractions','/:id/users','getAgents','create','addDisposition','post','addAnswer','/:id/notify','addAgents','/:id/send','send','put','update','delete','removeDispositions','removeAnswers','removeAgents','exports','path','connect-timeout','express','Router','../../components/auth/service','./openchannelAccount.controller','get','isAuthenticated','index','/describe','/:id','show','/:id/dispositions','getDispositions','/:id/canned_answers'];(function(_0x2606f8,_0x3794ba){var _0x30f4e4=function(_0x5dbc5b){while(--_0x5dbc5b){_0x2606f8['push'](_0x2606f8['shift']());}};_0x30f4e4(++_0x3794ba);}(_0x0424,0x159));var _0x4042=function(_0x4bb94b,_0x50628a){_0x4bb94b=_0x4bb94b-0x0;var _0x36dcc6=_0x0424[_0x4bb94b];return _0x36dcc6;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x4042('0x0'));var timeout=require(_0x4042('0x1'));var express=require(_0x4042('0x2'));var router=express[_0x4042('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x4042('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x4042('0x5'));router[_0x4042('0x6')]('/',auth[_0x4042('0x7')](),controller[_0x4042('0x8')]);router[_0x4042('0x6')](_0x4042('0x9'),auth[_0x4042('0x7')](),controller['describe']);router['get'](_0x4042('0xa'),auth[_0x4042('0x7')](),controller[_0x4042('0xb')]);router['get'](_0x4042('0xc'),auth[_0x4042('0x7')](),controller[_0x4042('0xd')]);router[_0x4042('0x6')](_0x4042('0xe'),auth[_0x4042('0x7')](),controller[_0x4042('0xf')]);router[_0x4042('0x6')]('/:id/applications',auth[_0x4042('0x7')](),controller[_0x4042('0x10')]);router['get'](_0x4042('0x11'),auth[_0x4042('0x7')](),controller[_0x4042('0x12')]);router[_0x4042('0x6')](_0x4042('0x13'),auth[_0x4042('0x7')](),controller[_0x4042('0x14')]);router['post']('/',auth[_0x4042('0x7')](),controller[_0x4042('0x15')]);router['post'](_0x4042('0xc'),auth[_0x4042('0x7')](),controller[_0x4042('0x16')]);router[_0x4042('0x17')](_0x4042('0xe'),auth[_0x4042('0x7')](),controller[_0x4042('0x18')]);router[_0x4042('0x17')](_0x4042('0x19'),controller['notify']);router[_0x4042('0x17')]('/:id/applications',auth[_0x4042('0x7')](),controller['addApplications']);router[_0x4042('0x17')](_0x4042('0x13'),auth[_0x4042('0x7')](),controller[_0x4042('0x1a')]);router['post'](_0x4042('0x1b'),auth[_0x4042('0x7')](),controller[_0x4042('0x1c')]);router[_0x4042('0x1d')]('/:id',auth[_0x4042('0x7')](),controller[_0x4042('0x1e')]);router[_0x4042('0x1f')](_0x4042('0xa'),auth[_0x4042('0x7')](),controller['destroy']);router[_0x4042('0x1f')](_0x4042('0xc'),auth['isAuthenticated'](),controller[_0x4042('0x20')]);router['delete'](_0x4042('0xe'),auth[_0x4042('0x7')](),controller[_0x4042('0x21')]);router['delete'](_0x4042('0x13'),auth[_0x4042('0x7')](),controller[_0x4042('0x22')]);module[_0x4042('0x23')]=router;
\ No newline at end of file