Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / api / smsAccount / index.js
index 30777b2..14a8854 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x604a=['../../components/auth/service','../../components/interaction/service','get','index','/describe','isAuthenticated','/:id','show','getDispositions','getApplications','/:id/interactions','statusGet','/:id/users','getAgents','post','create','/:id/dispositions','addDisposition','/:id/canned_answers','addAnswer','/:id/notify','notify','/:id/applications','addApplications','send','/:id/status','addAgents','put','update','delete','destroy','removeAgents','exports','multer','path','express','Router'];(function(_0x501510,_0x61caa9){var _0x1e6ee5=function(_0x32845b){while(--_0x32845b){_0x501510['push'](_0x501510['shift']());}};_0x1e6ee5(++_0x61caa9);}(_0x604a,0x16e));var _0xa604=function(_0x49ee64,_0x1f2c81){_0x49ee64=_0x49ee64-0x0;var _0x1deb4d=_0x604a[_0x49ee64];return _0x1deb4d;};'use strict';var multer=require(_0xa604('0x0'));var util=require('util');var path=require(_0xa604('0x1'));var timeout=require('connect-timeout');var express=require(_0xa604('0x2'));var router=express[_0xa604('0x3')]();var auth=require(_0xa604('0x4'));var interaction=require(_0xa604('0x5'));var config=require('../../config/environment');var controller=require('./smsAccount.controller');router[_0xa604('0x6')]('/',auth['isAuthenticated'](),controller[_0xa604('0x7')]);router[_0xa604('0x6')](_0xa604('0x8'),auth[_0xa604('0x9')](),controller['describe']);router[_0xa604('0x6')](_0xa604('0xa'),auth[_0xa604('0x9')](),controller[_0xa604('0xb')]);router['get']('/:id/dispositions',auth['isAuthenticated'](),controller[_0xa604('0xc')]);router[_0xa604('0x6')]('/:id/canned_answers',auth['isAuthenticated'](),controller['getAnswers']);router['get']('/:id/applications',auth[_0xa604('0x9')](),controller[_0xa604('0xd')]);router[_0xa604('0x6')](_0xa604('0xe'),auth[_0xa604('0x9')](),controller['getInteractions']);router[_0xa604('0x6')]('/:id/status',controller[_0xa604('0xf')]);router[_0xa604('0x6')](_0xa604('0x10'),auth[_0xa604('0x9')](),controller[_0xa604('0x11')]);router[_0xa604('0x12')]('/',auth['isAuthenticated'](),controller[_0xa604('0x13')]);router['post'](_0xa604('0x14'),auth['isAuthenticated'](),controller[_0xa604('0x15')]);router[_0xa604('0x12')](_0xa604('0x16'),auth[_0xa604('0x9')](),controller[_0xa604('0x17')]);router[_0xa604('0x12')](_0xa604('0x18'),controller[_0xa604('0x19')]);router[_0xa604('0x12')](_0xa604('0x1a'),auth['isAuthenticated'](),controller[_0xa604('0x1b')]);router[_0xa604('0x12')]('/:id/send',auth['isAuthenticated'](),controller[_0xa604('0x1c')]);router['post'](_0xa604('0x1d'),controller['status']);router[_0xa604('0x12')](_0xa604('0x10'),auth[_0xa604('0x9')](),controller[_0xa604('0x1e')]);router[_0xa604('0x1f')](_0xa604('0xa'),auth[_0xa604('0x9')](),controller[_0xa604('0x20')]);router[_0xa604('0x21')]('/:id',auth[_0xa604('0x9')](),controller[_0xa604('0x22')]);router[_0xa604('0x21')](_0xa604('0x14'),auth[_0xa604('0x9')](),controller['removeDispositions']);router[_0xa604('0x21')](_0xa604('0x16'),auth[_0xa604('0x9')](),controller['removeAnswers']);router[_0xa604('0x21')]('/:id/users',auth[_0xa604('0x9')](),controller[_0xa604('0x23')]);module[_0xa604('0x24')]=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