Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / smsAccount / index.js
index 052803d..215e8a0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7b3a=['path','express','../../config/environment','./smsAccount.controller','get','isAuthenticated','/describe','describe','/:id','show','/:id/canned_answers','getAnswers','getApplications','/:id/interactions','getInteractions','/:id/status','statusGet','/:id/users','post','/:id/dispositions','addDisposition','addAnswer','/:id/notify','notify','/:id/applications','send','status','addAgents','put','update','delete','destroy','removeDispositions','removeAnswers','removeAgents','exports','multer'];(function(_0x502c7d,_0x2f1285){var _0x30b7ed=function(_0x2d92f3){while(--_0x2d92f3){_0x502c7d['push'](_0x502c7d['shift']());}};_0x30b7ed(++_0x2f1285);}(_0x7b3a,0x93));var _0xa7b3=function(_0x4cf664,_0x5ca30a){_0x4cf664=_0x4cf664-0x0;var _0x1cc8f6=_0x7b3a[_0x4cf664];return _0x1cc8f6;};'use strict';var multer=require(_0xa7b3('0x0'));var util=require('util');var path=require(_0xa7b3('0x1'));var timeout=require('connect-timeout');var express=require(_0xa7b3('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xa7b3('0x3'));var controller=require(_0xa7b3('0x4'));router[_0xa7b3('0x5')]('/',auth[_0xa7b3('0x6')](),controller['index']);router[_0xa7b3('0x5')](_0xa7b3('0x7'),auth[_0xa7b3('0x6')](),controller[_0xa7b3('0x8')]);router['get'](_0xa7b3('0x9'),auth[_0xa7b3('0x6')](),controller[_0xa7b3('0xa')]);router[_0xa7b3('0x5')]('/:id/dispositions',auth[_0xa7b3('0x6')](),controller['getDispositions']);router['get'](_0xa7b3('0xb'),auth[_0xa7b3('0x6')](),controller[_0xa7b3('0xc')]);router[_0xa7b3('0x5')]('/:id/applications',auth[_0xa7b3('0x6')](),controller[_0xa7b3('0xd')]);router[_0xa7b3('0x5')](_0xa7b3('0xe'),auth[_0xa7b3('0x6')](),controller[_0xa7b3('0xf')]);router['get'](_0xa7b3('0x10'),controller[_0xa7b3('0x11')]);router[_0xa7b3('0x5')](_0xa7b3('0x12'),auth[_0xa7b3('0x6')](),controller['getAgents']);router['post']('/',auth[_0xa7b3('0x6')](),controller['create']);router[_0xa7b3('0x13')](_0xa7b3('0x14'),auth['isAuthenticated'](),controller[_0xa7b3('0x15')]);router[_0xa7b3('0x13')](_0xa7b3('0xb'),auth[_0xa7b3('0x6')](),controller[_0xa7b3('0x16')]);router[_0xa7b3('0x13')](_0xa7b3('0x17'),controller[_0xa7b3('0x18')]);router['post'](_0xa7b3('0x19'),auth[_0xa7b3('0x6')](),controller['addApplications']);router[_0xa7b3('0x13')]('/:id/send',auth['isAuthenticated'](),controller[_0xa7b3('0x1a')]);router['post']('/:id/status',controller[_0xa7b3('0x1b')]);router[_0xa7b3('0x13')](_0xa7b3('0x12'),auth[_0xa7b3('0x6')](),controller[_0xa7b3('0x1c')]);router[_0xa7b3('0x1d')](_0xa7b3('0x9'),auth[_0xa7b3('0x6')](),controller[_0xa7b3('0x1e')]);router[_0xa7b3('0x1f')](_0xa7b3('0x9'),auth[_0xa7b3('0x6')](),controller[_0xa7b3('0x20')]);router['delete'](_0xa7b3('0x14'),auth['isAuthenticated'](),controller[_0xa7b3('0x21')]);router[_0xa7b3('0x1f')](_0xa7b3('0xb'),auth[_0xa7b3('0x6')](),controller[_0xa7b3('0x22')]);router[_0xa7b3('0x1f')](_0xa7b3('0x12'),auth[_0xa7b3('0x6')](),controller[_0xa7b3('0x23')]);module[_0xa7b3('0x24')]=router;
\ No newline at end of file
+var _0x6b09=['get','isAuthenticated','describe','show','/:id/dispositions','getAnswers','/:id/applications','/:id/interactions','/:id/status','statusGet','/:id/users','getAgents','post','create','addDisposition','/:id/canned_answers','addAnswer','/:id/notify','notify','addApplications','/:id/send','send','status','addAgents','put','/:id','update','delete','removeAnswers','removeAgents','multer','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsAccount.controller','index'];(function(_0x531cb8,_0x8ef36f){var _0x5cf297=function(_0x45acb4){while(--_0x45acb4){_0x531cb8['push'](_0x531cb8['shift']());}};_0x5cf297(++_0x8ef36f);}(_0x6b09,0xe1));var _0x96b0=function(_0x3792e6,_0x32bd91){_0x3792e6=_0x3792e6-0x0;var _0x441e44=_0x6b09[_0x3792e6];return _0x441e44;};'use strict';var multer=require(_0x96b0('0x0'));var util=require('util');var path=require(_0x96b0('0x1'));var timeout=require(_0x96b0('0x2'));var express=require('express');var router=express[_0x96b0('0x3')]();var auth=require(_0x96b0('0x4'));var interaction=require(_0x96b0('0x5'));var config=require(_0x96b0('0x6'));var controller=require(_0x96b0('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x96b0('0x8')]);router[_0x96b0('0x9')]('/describe',auth[_0x96b0('0xa')](),controller[_0x96b0('0xb')]);router['get']('/:id',auth[_0x96b0('0xa')](),controller[_0x96b0('0xc')]);router['get'](_0x96b0('0xd'),auth[_0x96b0('0xa')](),controller['getDispositions']);router['get']('/:id/canned_answers',auth[_0x96b0('0xa')](),controller[_0x96b0('0xe')]);router[_0x96b0('0x9')](_0x96b0('0xf'),auth[_0x96b0('0xa')](),controller['getApplications']);router[_0x96b0('0x9')](_0x96b0('0x10'),auth[_0x96b0('0xa')](),controller['getInteractions']);router['get'](_0x96b0('0x11'),controller[_0x96b0('0x12')]);router['get'](_0x96b0('0x13'),auth[_0x96b0('0xa')](),controller[_0x96b0('0x14')]);router[_0x96b0('0x15')]('/',auth['isAuthenticated'](),controller[_0x96b0('0x16')]);router[_0x96b0('0x15')](_0x96b0('0xd'),auth[_0x96b0('0xa')](),controller[_0x96b0('0x17')]);router[_0x96b0('0x15')](_0x96b0('0x18'),auth[_0x96b0('0xa')](),controller[_0x96b0('0x19')]);router[_0x96b0('0x15')](_0x96b0('0x1a'),controller[_0x96b0('0x1b')]);router[_0x96b0('0x15')]('/:id/applications',auth[_0x96b0('0xa')](),controller[_0x96b0('0x1c')]);router[_0x96b0('0x15')](_0x96b0('0x1d'),auth[_0x96b0('0xa')](),controller[_0x96b0('0x1e')]);router['post'](_0x96b0('0x11'),controller[_0x96b0('0x1f')]);router[_0x96b0('0x15')](_0x96b0('0x13'),auth[_0x96b0('0xa')](),controller[_0x96b0('0x20')]);router[_0x96b0('0x21')](_0x96b0('0x22'),auth[_0x96b0('0xa')](),controller[_0x96b0('0x23')]);router[_0x96b0('0x24')](_0x96b0('0x22'),auth[_0x96b0('0xa')](),controller['destroy']);router[_0x96b0('0x24')](_0x96b0('0xd'),auth[_0x96b0('0xa')](),controller['removeDispositions']);router['delete'](_0x96b0('0x18'),auth['isAuthenticated'](),controller[_0x96b0('0x25')]);router[_0x96b0('0x24')](_0x96b0('0x13'),auth['isAuthenticated'](),controller[_0x96b0('0x26')]);module['exports']=router;
\ No newline at end of file