Built motion from commit (unavailable).|2.5.19
[motion2.git] / server / api / smsAccount / index.js
index 2952f38..2cb78fa 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdf5e=['put','update','delete','removeDispositions','removeAnswers','removeAgents','util','path','connect-timeout','Router','./smsAccount.controller','get','isAuthenticated','index','/describe','describe','/:id','/:id/dispositions','getDispositions','getAnswers','/:id/applications','getApplications','/:id/interactions','/:id/status','getAgents','post','create','addDisposition','/:id/canned_answers','addAnswer','/:id/notify','notify','addApplications','/:id/send','status','/:id/users','addAgents'];(function(_0x4dcb61,_0x50b527){var _0x50cb3c=function(_0x42ee94){while(--_0x42ee94){_0x4dcb61['push'](_0x4dcb61['shift']());}};_0x50cb3c(++_0x50b527);}(_0xdf5e,0xe4));var _0xedf5=function(_0x644560,_0x1783aa){_0x644560=_0x644560-0x0;var _0x41b76b=_0xdf5e[_0x644560];return _0x41b76b;};'use strict';var multer=require('multer');var util=require(_0xedf5('0x0'));var path=require(_0xedf5('0x1'));var timeout=require(_0xedf5('0x2'));var express=require('express');var router=express[_0xedf5('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xedf5('0x4'));router[_0xedf5('0x5')]('/',auth[_0xedf5('0x6')](),controller[_0xedf5('0x7')]);router[_0xedf5('0x5')](_0xedf5('0x8'),auth[_0xedf5('0x6')](),controller[_0xedf5('0x9')]);router[_0xedf5('0x5')](_0xedf5('0xa'),auth[_0xedf5('0x6')](),controller['show']);router[_0xedf5('0x5')](_0xedf5('0xb'),auth[_0xedf5('0x6')](),controller[_0xedf5('0xc')]);router[_0xedf5('0x5')]('/:id/canned_answers',auth['isAuthenticated'](),controller[_0xedf5('0xd')]);router[_0xedf5('0x5')](_0xedf5('0xe'),auth[_0xedf5('0x6')](),controller[_0xedf5('0xf')]);router[_0xedf5('0x5')](_0xedf5('0x10'),auth['isAuthenticated'](),controller['getInteractions']);router[_0xedf5('0x5')](_0xedf5('0x11'),controller['statusGet']);router[_0xedf5('0x5')]('/:id/users',auth[_0xedf5('0x6')](),controller[_0xedf5('0x12')]);router[_0xedf5('0x13')]('/',auth[_0xedf5('0x6')](),controller[_0xedf5('0x14')]);router['post'](_0xedf5('0xb'),auth[_0xedf5('0x6')](),controller[_0xedf5('0x15')]);router['post'](_0xedf5('0x16'),auth[_0xedf5('0x6')](),controller[_0xedf5('0x17')]);router['post'](_0xedf5('0x18'),controller[_0xedf5('0x19')]);router[_0xedf5('0x13')]('/:id/applications',auth['isAuthenticated'](),controller[_0xedf5('0x1a')]);router[_0xedf5('0x13')](_0xedf5('0x1b'),auth[_0xedf5('0x6')](),controller['send']);router[_0xedf5('0x13')]('/:id/status',controller[_0xedf5('0x1c')]);router['post'](_0xedf5('0x1d'),auth[_0xedf5('0x6')](),controller[_0xedf5('0x1e')]);router[_0xedf5('0x1f')]('/:id',auth[_0xedf5('0x6')](),controller[_0xedf5('0x20')]);router[_0xedf5('0x21')]('/:id',auth[_0xedf5('0x6')](),controller['destroy']);router[_0xedf5('0x21')]('/:id/dispositions',auth[_0xedf5('0x6')](),controller[_0xedf5('0x22')]);router[_0xedf5('0x21')](_0xedf5('0x16'),auth[_0xedf5('0x6')](),controller[_0xedf5('0x23')]);router[_0xedf5('0x21')](_0xedf5('0x1d'),auth[_0xedf5('0x6')](),controller[_0xedf5('0x24')]);module['exports']=router;
\ No newline at end of file
+var _0xbc7f=['addDisposition','/:id/notify','notify','addApplications','/:id/send','send','addAgents','update','delete','destroy','removeAnswers','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./smsAccount.controller','get','isAuthenticated','index','/describe','describe','/:id','show','getDispositions','/:id/canned_answers','/:id/applications','/:id/status','statusGet','/:id/users','post','create','/:id/dispositions'];(function(_0x2e9d12,_0x327e09){var _0x2896c8=function(_0x2a2177){while(--_0x2a2177){_0x2e9d12['push'](_0x2e9d12['shift']());}};_0x2896c8(++_0x327e09);}(_0xbc7f,0x173));var _0xfbc7=function(_0x458a76,_0x17972e){_0x458a76=_0x458a76-0x0;var _0x546dd2=_0xbc7f[_0x458a76];return _0x546dd2;};'use strict';var multer=require(_0xfbc7('0x0'));var util=require(_0xfbc7('0x1'));var path=require(_0xfbc7('0x2'));var timeout=require(_0xfbc7('0x3'));var express=require(_0xfbc7('0x4'));var router=express[_0xfbc7('0x5')]();var auth=require(_0xfbc7('0x6'));var interaction=require(_0xfbc7('0x7'));var config=require('../../config/environment');var controller=require(_0xfbc7('0x8'));router[_0xfbc7('0x9')]('/',auth[_0xfbc7('0xa')](),controller[_0xfbc7('0xb')]);router[_0xfbc7('0x9')](_0xfbc7('0xc'),auth['isAuthenticated'](),controller[_0xfbc7('0xd')]);router['get'](_0xfbc7('0xe'),auth['isAuthenticated'](),controller[_0xfbc7('0xf')]);router['get']('/:id/dispositions',auth[_0xfbc7('0xa')](),controller[_0xfbc7('0x10')]);router[_0xfbc7('0x9')](_0xfbc7('0x11'),auth['isAuthenticated'](),controller['getAnswers']);router[_0xfbc7('0x9')](_0xfbc7('0x12'),auth[_0xfbc7('0xa')](),controller['getApplications']);router[_0xfbc7('0x9')]('/:id/interactions',auth[_0xfbc7('0xa')](),controller['getInteractions']);router[_0xfbc7('0x9')](_0xfbc7('0x13'),controller[_0xfbc7('0x14')]);router[_0xfbc7('0x9')](_0xfbc7('0x15'),auth[_0xfbc7('0xa')](),controller['getAgents']);router[_0xfbc7('0x16')]('/',auth[_0xfbc7('0xa')](),controller[_0xfbc7('0x17')]);router[_0xfbc7('0x16')](_0xfbc7('0x18'),auth['isAuthenticated'](),controller[_0xfbc7('0x19')]);router[_0xfbc7('0x16')](_0xfbc7('0x11'),auth[_0xfbc7('0xa')](),controller['addAnswer']);router['post'](_0xfbc7('0x1a'),controller[_0xfbc7('0x1b')]);router['post'](_0xfbc7('0x12'),auth[_0xfbc7('0xa')](),controller[_0xfbc7('0x1c')]);router[_0xfbc7('0x16')](_0xfbc7('0x1d'),auth['isAuthenticated'](),controller[_0xfbc7('0x1e')]);router[_0xfbc7('0x16')]('/:id/status',controller['status']);router[_0xfbc7('0x16')](_0xfbc7('0x15'),auth[_0xfbc7('0xa')](),controller[_0xfbc7('0x1f')]);router['put'](_0xfbc7('0xe'),auth[_0xfbc7('0xa')](),controller[_0xfbc7('0x20')]);router[_0xfbc7('0x21')](_0xfbc7('0xe'),auth[_0xfbc7('0xa')](),controller[_0xfbc7('0x22')]);router['delete']('/:id/dispositions',auth[_0xfbc7('0xa')](),controller['removeDispositions']);router[_0xfbc7('0x21')](_0xfbc7('0x11'),auth[_0xfbc7('0xa')](),controller[_0xfbc7('0x23')]);router[_0xfbc7('0x21')]('/:id/users',auth[_0xfbc7('0xa')](),controller['removeAgents']);module['exports']=router;
\ No newline at end of file