Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / api / smsAccount / index.js
index 69cab9a..5f2cb42 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x315c=['/:id/status','addAgents','put','update','delete','destroy','removeDispositions','removeAnswers','removeAgents','multer','util','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsAccount.controller','get','isAuthenticated','index','/describe','describe','/:id','/:id/dispositions','getAnswers','getInteractions','/:id/users','post','addDisposition','/:id/canned_answers','/:id/notify','notify','/:id/applications','addApplications','/:id/send','send'];(function(_0x36884e,_0x48008f){var _0x1cc367=function(_0x388a78){while(--_0x388a78){_0x36884e['push'](_0x36884e['shift']());}};_0x1cc367(++_0x48008f);}(_0x315c,0xe1));var _0xc315=function(_0x1e86df,_0x128230){_0x1e86df=_0x1e86df-0x0;var _0x5140c0=_0x315c[_0x1e86df];return _0x5140c0;};'use strict';var multer=require(_0xc315('0x0'));var util=require(_0xc315('0x1'));var path=require('path');var timeout=require(_0xc315('0x2'));var express=require('express');var router=express[_0xc315('0x3')]();var auth=require(_0xc315('0x4'));var interaction=require(_0xc315('0x5'));var config=require(_0xc315('0x6'));var controller=require(_0xc315('0x7'));router[_0xc315('0x8')]('/',auth[_0xc315('0x9')](),controller[_0xc315('0xa')]);router[_0xc315('0x8')](_0xc315('0xb'),auth[_0xc315('0x9')](),controller[_0xc315('0xc')]);router[_0xc315('0x8')](_0xc315('0xd'),auth[_0xc315('0x9')](),controller['show']);router[_0xc315('0x8')](_0xc315('0xe'),auth[_0xc315('0x9')](),controller['getDispositions']);router[_0xc315('0x8')]('/:id/canned_answers',auth['isAuthenticated'](),controller[_0xc315('0xf')]);router[_0xc315('0x8')]('/:id/applications',auth[_0xc315('0x9')](),controller['getApplications']);router[_0xc315('0x8')]('/:id/interactions',auth[_0xc315('0x9')](),controller[_0xc315('0x10')]);router['get']('/:id/status',controller['statusGet']);router[_0xc315('0x8')](_0xc315('0x11'),auth['isAuthenticated'](),controller['getAgents']);router[_0xc315('0x12')]('/',auth[_0xc315('0x9')](),controller['create']);router['post'](_0xc315('0xe'),auth['isAuthenticated'](),controller[_0xc315('0x13')]);router[_0xc315('0x12')](_0xc315('0x14'),auth[_0xc315('0x9')](),controller['addAnswer']);router[_0xc315('0x12')](_0xc315('0x15'),controller[_0xc315('0x16')]);router['post'](_0xc315('0x17'),auth[_0xc315('0x9')](),controller[_0xc315('0x18')]);router['post'](_0xc315('0x19'),auth[_0xc315('0x9')](),controller[_0xc315('0x1a')]);router[_0xc315('0x12')](_0xc315('0x1b'),controller['status']);router[_0xc315('0x12')](_0xc315('0x11'),auth[_0xc315('0x9')](),controller[_0xc315('0x1c')]);router[_0xc315('0x1d')]('/:id',auth['isAuthenticated'](),controller[_0xc315('0x1e')]);router[_0xc315('0x1f')]('/:id',auth[_0xc315('0x9')](),controller[_0xc315('0x20')]);router[_0xc315('0x1f')]('/:id/dispositions',auth[_0xc315('0x9')](),controller[_0xc315('0x21')]);router['delete']('/:id/canned_answers',auth[_0xc315('0x9')](),controller[_0xc315('0x22')]);router['delete'](_0xc315('0x11'),auth['isAuthenticated'](),controller[_0xc315('0x23')]);module['exports']=router;
\ No newline at end of file
+var _0x53ec=['send','status','update','delete','removeDispositions','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./smsAccount.controller','isAuthenticated','get','/describe','describe','/:id','show','/:id/dispositions','getDispositions','/:id/applications','getApplications','getInteractions','/:id/status','statusGet','/:id/users','getAgents','post','addDisposition','/:id/canned_answers','addAnswer','addApplications','/:id/send'];(function(_0x2fbd55,_0x56bfdb){var _0x46147b=function(_0x439a7e){while(--_0x439a7e){_0x2fbd55['push'](_0x2fbd55['shift']());}};_0x46147b(++_0x56bfdb);}(_0x53ec,0x192));var _0xc53e=function(_0x80f51a,_0x32e95e){_0x80f51a=_0x80f51a-0x0;var _0x327148=_0x53ec[_0x80f51a];return _0x327148;};'use strict';var multer=require(_0xc53e('0x0'));var util=require(_0xc53e('0x1'));var path=require(_0xc53e('0x2'));var timeout=require(_0xc53e('0x3'));var express=require(_0xc53e('0x4'));var router=express[_0xc53e('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xc53e('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xc53e('0x7'));var controller=require(_0xc53e('0x8'));router['get']('/',auth[_0xc53e('0x9')](),controller['index']);router[_0xc53e('0xa')](_0xc53e('0xb'),auth['isAuthenticated'](),controller[_0xc53e('0xc')]);router[_0xc53e('0xa')](_0xc53e('0xd'),auth[_0xc53e('0x9')](),controller[_0xc53e('0xe')]);router[_0xc53e('0xa')](_0xc53e('0xf'),auth[_0xc53e('0x9')](),controller[_0xc53e('0x10')]);router['get']('/:id/canned_answers',auth[_0xc53e('0x9')](),controller['getAnswers']);router['get'](_0xc53e('0x11'),auth[_0xc53e('0x9')](),controller[_0xc53e('0x12')]);router[_0xc53e('0xa')]('/:id/interactions',auth['isAuthenticated'](),controller[_0xc53e('0x13')]);router[_0xc53e('0xa')](_0xc53e('0x14'),controller[_0xc53e('0x15')]);router[_0xc53e('0xa')](_0xc53e('0x16'),auth[_0xc53e('0x9')](),controller[_0xc53e('0x17')]);router[_0xc53e('0x18')]('/',auth[_0xc53e('0x9')](),controller['create']);router[_0xc53e('0x18')](_0xc53e('0xf'),auth[_0xc53e('0x9')](),controller[_0xc53e('0x19')]);router[_0xc53e('0x18')](_0xc53e('0x1a'),auth[_0xc53e('0x9')](),controller[_0xc53e('0x1b')]);router[_0xc53e('0x18')]('/:id/notify',controller['notify']);router[_0xc53e('0x18')](_0xc53e('0x11'),auth[_0xc53e('0x9')](),controller[_0xc53e('0x1c')]);router[_0xc53e('0x18')](_0xc53e('0x1d'),auth[_0xc53e('0x9')](),controller[_0xc53e('0x1e')]);router[_0xc53e('0x18')](_0xc53e('0x14'),controller[_0xc53e('0x1f')]);router[_0xc53e('0x18')](_0xc53e('0x16'),auth['isAuthenticated'](),controller['addAgents']);router['put'](_0xc53e('0xd'),auth[_0xc53e('0x9')](),controller[_0xc53e('0x20')]);router[_0xc53e('0x21')](_0xc53e('0xd'),auth['isAuthenticated'](),controller['destroy']);router[_0xc53e('0x21')]('/:id/dispositions',auth[_0xc53e('0x9')](),controller[_0xc53e('0x22')]);router[_0xc53e('0x21')](_0xc53e('0x1a'),auth[_0xc53e('0x9')](),controller['removeAnswers']);router[_0xc53e('0x21')]('/:id/users',auth['isAuthenticated'](),controller['removeAgents']);module[_0xc53e('0x23')]=router;
\ No newline at end of file