Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / api / smsAccount / index.js
index a3d2245..14a8854 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x757a=['/:id/interactions','/:id/users','getAgents','post','create','/:id/notify','notify','/:id/applications','addApplications','/:id/send','send','/:id/status','status','addAgents','put','update','delete','removeAgents','util','path','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsAccount.controller','get','isAuthenticated','/describe','describe','/:id','show','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers'];(function(_0x3afdac,_0x50cdc2){var _0xba0744=function(_0x2098e7){while(--_0x2098e7){_0x3afdac['push'](_0x3afdac['shift']());}};_0xba0744(++_0x50cdc2);}(_0x757a,0xde));var _0xa757=function(_0x26edbe,_0x17975b){_0x26edbe=_0x26edbe-0x0;var _0x501293=_0x757a[_0x26edbe];return _0x501293;};'use strict';var multer=require('multer');var util=require(_0xa757('0x0'));var path=require(_0xa757('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0xa757('0x2'));var interaction=require(_0xa757('0x3'));var config=require(_0xa757('0x4'));var controller=require(_0xa757('0x5'));router[_0xa757('0x6')]('/',auth[_0xa757('0x7')](),controller['index']);router[_0xa757('0x6')](_0xa757('0x8'),auth['isAuthenticated'](),controller[_0xa757('0x9')]);router[_0xa757('0x6')](_0xa757('0xa'),auth[_0xa757('0x7')](),controller[_0xa757('0xb')]);router['get'](_0xa757('0xc'),auth[_0xa757('0x7')](),controller[_0xa757('0xd')]);router[_0xa757('0x6')](_0xa757('0xe'),auth[_0xa757('0x7')](),controller[_0xa757('0xf')]);router['get']('/:id/applications',auth['isAuthenticated'](),controller['getApplications']);router['get'](_0xa757('0x10'),auth['isAuthenticated'](),controller['getInteractions']);router[_0xa757('0x6')]('/:id/status',controller['statusGet']);router[_0xa757('0x6')](_0xa757('0x11'),auth[_0xa757('0x7')](),controller[_0xa757('0x12')]);router[_0xa757('0x13')]('/',auth[_0xa757('0x7')](),controller[_0xa757('0x14')]);router[_0xa757('0x13')](_0xa757('0xc'),auth[_0xa757('0x7')](),controller['addDisposition']);router[_0xa757('0x13')](_0xa757('0xe'),auth[_0xa757('0x7')](),controller['addAnswer']);router['post'](_0xa757('0x15'),controller[_0xa757('0x16')]);router[_0xa757('0x13')](_0xa757('0x17'),auth[_0xa757('0x7')](),controller[_0xa757('0x18')]);router['post'](_0xa757('0x19'),auth['isAuthenticated'](),controller[_0xa757('0x1a')]);router[_0xa757('0x13')](_0xa757('0x1b'),controller[_0xa757('0x1c')]);router['post']('/:id/users',auth[_0xa757('0x7')](),controller[_0xa757('0x1d')]);router[_0xa757('0x1e')](_0xa757('0xa'),auth[_0xa757('0x7')](),controller[_0xa757('0x1f')]);router[_0xa757('0x20')](_0xa757('0xa'),auth[_0xa757('0x7')](),controller['destroy']);router[_0xa757('0x20')]('/:id/dispositions',auth[_0xa757('0x7')](),controller['removeDispositions']);router[_0xa757('0x20')](_0xa757('0xe'),auth[_0xa757('0x7')](),controller['removeAnswers']);router[_0xa757('0x20')](_0xa757('0x11'),auth[_0xa757('0x7')](),controller[_0xa757('0x21')]);module['exports']=router;
\ No newline at end of file
+var _0x9957=['getInteractions','statusGet','/:id/users','getAgents','post','create','addDisposition','/:id/canned_answers','addAnswer','addApplications','/:id/status','status','addAgents','/:id','update','delete','destroy','removeDispositions','removeAnswers','removeAgents','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./smsAccount.controller','get','isAuthenticated','index','/describe','describe','show','/:id/dispositions','getDispositions','getAnswers','/:id/applications','getApplications','/:id/interactions'];(function(_0x2d7f87,_0x4bdcf3){var _0x8f69f0=function(_0x1e66a4){while(--_0x1e66a4){_0x2d7f87['push'](_0x2d7f87['shift']());}};_0x8f69f0(++_0x4bdcf3);}(_0x9957,0x93));var _0x7995=function(_0x2f5ac5,_0x1ee939){_0x2f5ac5=_0x2f5ac5-0x0;var _0x37c9a8=_0x9957[_0x2f5ac5];return _0x37c9a8;};'use strict';var multer=require(_0x7995('0x0'));var util=require(_0x7995('0x1'));var path=require(_0x7995('0x2'));var timeout=require(_0x7995('0x3'));var express=require('express');var router=express[_0x7995('0x4')]();var fs_extra=require(_0x7995('0x5'));var auth=require(_0x7995('0x6'));var interaction=require(_0x7995('0x7'));var config=require('../../config/environment');var controller=require(_0x7995('0x8'));router[_0x7995('0x9')]('/',auth[_0x7995('0xa')](),controller[_0x7995('0xb')]);router[_0x7995('0x9')](_0x7995('0xc'),auth['isAuthenticated'](),controller[_0x7995('0xd')]);router[_0x7995('0x9')]('/:id',auth[_0x7995('0xa')](),controller[_0x7995('0xe')]);router[_0x7995('0x9')](_0x7995('0xf'),auth[_0x7995('0xa')](),controller[_0x7995('0x10')]);router[_0x7995('0x9')]('/:id/canned_answers',auth[_0x7995('0xa')](),controller[_0x7995('0x11')]);router['get'](_0x7995('0x12'),auth[_0x7995('0xa')](),controller[_0x7995('0x13')]);router[_0x7995('0x9')](_0x7995('0x14'),auth[_0x7995('0xa')](),controller[_0x7995('0x15')]);router['get']('/:id/status',controller[_0x7995('0x16')]);router[_0x7995('0x9')](_0x7995('0x17'),auth[_0x7995('0xa')](),controller[_0x7995('0x18')]);router[_0x7995('0x19')]('/',auth[_0x7995('0xa')](),controller[_0x7995('0x1a')]);router['post'](_0x7995('0xf'),auth['isAuthenticated'](),controller[_0x7995('0x1b')]);router[_0x7995('0x19')](_0x7995('0x1c'),auth[_0x7995('0xa')](),controller[_0x7995('0x1d')]);router[_0x7995('0x19')]('/:id/notify',controller['notify']);router[_0x7995('0x19')]('/:id/applications',auth['isAuthenticated'](),controller[_0x7995('0x1e')]);router[_0x7995('0x19')]('/:id/send',auth[_0x7995('0xa')](),controller['send']);router['post'](_0x7995('0x1f'),controller[_0x7995('0x20')]);router[_0x7995('0x19')](_0x7995('0x17'),auth[_0x7995('0xa')](),controller[_0x7995('0x21')]);router['put'](_0x7995('0x22'),auth[_0x7995('0xa')](),controller[_0x7995('0x23')]);router[_0x7995('0x24')](_0x7995('0x22'),auth[_0x7995('0xa')](),controller[_0x7995('0x25')]);router[_0x7995('0x24')]('/:id/dispositions',auth[_0x7995('0xa')](),controller[_0x7995('0x26')]);router[_0x7995('0x24')](_0x7995('0x1c'),auth[_0x7995('0xa')](),controller[_0x7995('0x27')]);router['delete'](_0x7995('0x17'),auth['isAuthenticated'](),controller[_0x7995('0x28')]);module[_0x7995('0x29')]=router;
\ No newline at end of file