Built motion from commit 863c3375.|2.6.28
[motion2.git] / server / api / openchannelAccount / index.js
index 629a83a..e0191f9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa456=['path','connect-timeout','Router','fs-extra','../../components/auth/service','../../config/environment','./openchannelAccount.controller','get','isAuthenticated','/describe','describe','/:id/dispositions','getDispositions','getAnswers','/:id/interactions','getInteractions','getAgents','post','create','addAnswer','notify','/:id/applications','/:id/users','/:id/send','send','put','/:id','update','destroy','delete','removeDispositions','/:id/canned_answers','removeAnswers','removeAgents','multer','util'];(function(_0x51ed62,_0x574379){var _0x34aee3=function(_0x2958bc){while(--_0x2958bc){_0x51ed62['push'](_0x51ed62['shift']());}};_0x34aee3(++_0x574379);}(_0xa456,0x142));var _0x6a45=function(_0x307d86,_0x9264f2){_0x307d86=_0x307d86-0x0;var _0x361745=_0xa456[_0x307d86];return _0x361745;};'use strict';var multer=require(_0x6a45('0x0'));var util=require(_0x6a45('0x1'));var path=require(_0x6a45('0x2'));var timeout=require(_0x6a45('0x3'));var express=require('express');var router=express[_0x6a45('0x4')]();var fs_extra=require(_0x6a45('0x5'));var auth=require(_0x6a45('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x6a45('0x7'));var controller=require(_0x6a45('0x8'));router[_0x6a45('0x9')]('/',auth[_0x6a45('0xa')](),controller['index']);router[_0x6a45('0x9')](_0x6a45('0xb'),auth[_0x6a45('0xa')](),controller[_0x6a45('0xc')]);router[_0x6a45('0x9')]('/:id',auth[_0x6a45('0xa')](),controller['show']);router[_0x6a45('0x9')](_0x6a45('0xd'),auth[_0x6a45('0xa')](),controller[_0x6a45('0xe')]);router[_0x6a45('0x9')]('/:id/canned_answers',auth['isAuthenticated'](),controller[_0x6a45('0xf')]);router[_0x6a45('0x9')]('/:id/applications',auth['isAuthenticated'](),controller['getApplications']);router[_0x6a45('0x9')](_0x6a45('0x10'),auth[_0x6a45('0xa')](),controller[_0x6a45('0x11')]);router[_0x6a45('0x9')]('/:id/users',auth['isAuthenticated'](),controller[_0x6a45('0x12')]);router[_0x6a45('0x13')]('/',auth['isAuthenticated'](),controller[_0x6a45('0x14')]);router[_0x6a45('0x13')](_0x6a45('0xd'),auth[_0x6a45('0xa')](),controller['addDisposition']);router['post']('/:id/canned_answers',auth[_0x6a45('0xa')](),controller[_0x6a45('0x15')]);router[_0x6a45('0x13')]('/:id/notify',controller[_0x6a45('0x16')]);router[_0x6a45('0x13')](_0x6a45('0x17'),auth['isAuthenticated'](),controller['addApplications']);router['post'](_0x6a45('0x18'),auth[_0x6a45('0xa')](),controller['addAgents']);router[_0x6a45('0x13')](_0x6a45('0x19'),auth['isAuthenticated'](),controller[_0x6a45('0x1a')]);router[_0x6a45('0x1b')](_0x6a45('0x1c'),auth[_0x6a45('0xa')](),controller[_0x6a45('0x1d')]);router['delete']('/:id',auth[_0x6a45('0xa')](),controller[_0x6a45('0x1e')]);router[_0x6a45('0x1f')](_0x6a45('0xd'),auth[_0x6a45('0xa')](),controller[_0x6a45('0x20')]);router[_0x6a45('0x1f')](_0x6a45('0x21'),auth[_0x6a45('0xa')](),controller[_0x6a45('0x22')]);router[_0x6a45('0x1f')](_0x6a45('0x18'),auth['isAuthenticated'](),controller[_0x6a45('0x23')]);module['exports']=router;
\ No newline at end of file
+var _0x1967=['./openchannelAccount.controller','isAuthenticated','index','get','/describe','describe','/:id','show','/:id/dispositions','/:id/canned_answers','getAnswers','/:id/applications','getApplications','/:id/interactions','/:id/users','getAgents','post','addDisposition','addAnswer','/:id/notify','notify','addApplications','/:id/send','send','update','destroy','delete','removeDispositions','removeAnswers','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0xc41bff,_0x473007){var _0x3fd1b0=function(_0xa0e0bd){while(--_0xa0e0bd){_0xc41bff['push'](_0xc41bff['shift']());}};_0x3fd1b0(++_0x473007);}(_0x1967,0x173));var _0x7196=function(_0x55b8b4,_0x49f8ae){_0x55b8b4=_0x55b8b4-0x0;var _0x257e81=_0x1967[_0x55b8b4];return _0x257e81;};'use strict';var multer=require('multer');var util=require(_0x7196('0x0'));var path=require(_0x7196('0x1'));var timeout=require(_0x7196('0x2'));var express=require(_0x7196('0x3'));var router=express[_0x7196('0x4')]();var fs_extra=require(_0x7196('0x5'));var auth=require(_0x7196('0x6'));var interaction=require(_0x7196('0x7'));var config=require(_0x7196('0x8'));var controller=require(_0x7196('0x9'));router['get']('/',auth[_0x7196('0xa')](),controller[_0x7196('0xb')]);router[_0x7196('0xc')](_0x7196('0xd'),auth[_0x7196('0xa')](),controller[_0x7196('0xe')]);router['get'](_0x7196('0xf'),auth[_0x7196('0xa')](),controller[_0x7196('0x10')]);router[_0x7196('0xc')](_0x7196('0x11'),auth['isAuthenticated'](),controller['getDispositions']);router[_0x7196('0xc')](_0x7196('0x12'),auth[_0x7196('0xa')](),controller[_0x7196('0x13')]);router[_0x7196('0xc')](_0x7196('0x14'),auth[_0x7196('0xa')](),controller[_0x7196('0x15')]);router[_0x7196('0xc')](_0x7196('0x16'),auth[_0x7196('0xa')](),controller['getInteractions']);router[_0x7196('0xc')](_0x7196('0x17'),auth[_0x7196('0xa')](),controller[_0x7196('0x18')]);router['post']('/',auth[_0x7196('0xa')](),controller['create']);router[_0x7196('0x19')](_0x7196('0x11'),auth[_0x7196('0xa')](),controller[_0x7196('0x1a')]);router[_0x7196('0x19')](_0x7196('0x12'),auth[_0x7196('0xa')](),controller[_0x7196('0x1b')]);router[_0x7196('0x19')](_0x7196('0x1c'),controller[_0x7196('0x1d')]);router['post']('/:id/applications',auth[_0x7196('0xa')](),controller[_0x7196('0x1e')]);router[_0x7196('0x19')]('/:id/users',auth[_0x7196('0xa')](),controller['addAgents']);router['post'](_0x7196('0x1f'),auth[_0x7196('0xa')](),controller[_0x7196('0x20')]);router['put']('/:id',auth[_0x7196('0xa')](),controller[_0x7196('0x21')]);router['delete'](_0x7196('0xf'),auth[_0x7196('0xa')](),controller[_0x7196('0x22')]);router[_0x7196('0x23')](_0x7196('0x11'),auth['isAuthenticated'](),controller[_0x7196('0x24')]);router['delete'](_0x7196('0x12'),auth[_0x7196('0xa')](),controller[_0x7196('0x25')]);router[_0x7196('0x23')](_0x7196('0x17'),auth[_0x7196('0xa')](),controller['removeAgents']);module['exports']=router;
\ No newline at end of file