Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / smsInteraction / index.js
index 66d837c..a9d5902 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4965=['get','index','/describe','isAuthenticated','show','getMessages','/:id/download','download','post','create','/:id/messages','addMessage','/:id/tags','tracked','sms','smsinteraction:addtags','addTags','put','/:id','update','delete','smsinteraction:destroy','destroy','removeTags','exports','multer','util','path','../../components/auth/service','../../config/environment','./smsInteraction.controller'];(function(_0x4e6ae6,_0x49dba6){var _0x23c108=function(_0x1bc103){while(--_0x1bc103){_0x4e6ae6['push'](_0x4e6ae6['shift']());}};_0x23c108(++_0x49dba6);}(_0x4965,0x16e));var _0x5496=function(_0x2ed919,_0x48314b){_0x2ed919=_0x2ed919-0x0;var _0x574174=_0x4965[_0x2ed919];return _0x574174;};'use strict';var multer=require(_0x5496('0x0'));var util=require(_0x5496('0x1'));var path=require(_0x5496('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x5496('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x5496('0x4'));var controller=require(_0x5496('0x5'));router[_0x5496('0x6')]('/',auth['isAuthenticated'](),controller[_0x5496('0x7')]);router[_0x5496('0x6')](_0x5496('0x8'),auth[_0x5496('0x9')](),controller['describe']);router[_0x5496('0x6')]('/:id',auth[_0x5496('0x9')](),controller[_0x5496('0xa')]);router[_0x5496('0x6')]('/:id/messages',auth[_0x5496('0x9')](),controller[_0x5496('0xb')]);router[_0x5496('0x6')](_0x5496('0xc'),auth[_0x5496('0x9')](),controller[_0x5496('0xd')]);router[_0x5496('0xe')]('/',auth[_0x5496('0x9')](),controller[_0x5496('0xf')]);router[_0x5496('0xe')](_0x5496('0x10'),auth[_0x5496('0x9')](),controller[_0x5496('0x11')]);router[_0x5496('0xe')](_0x5496('0x12'),auth['isAuthenticated'](),interaction[_0x5496('0x13')](_0x5496('0x14'),_0x5496('0x15')),controller[_0x5496('0x16')]);router[_0x5496('0x17')](_0x5496('0x18'),auth[_0x5496('0x9')](),interaction[_0x5496('0x13')]('sms','smsinteraction:update'),controller[_0x5496('0x19')]);router[_0x5496('0x1a')](_0x5496('0x18'),auth[_0x5496('0x9')](),interaction[_0x5496('0x13')](_0x5496('0x14'),_0x5496('0x1b')),controller[_0x5496('0x1c')]);router[_0x5496('0x1a')]('/:id/tags',auth['isAuthenticated'](),controller[_0x5496('0x1d')]);module[_0x5496('0x1e')]=router;
\ No newline at end of file
+var _0x3266=['isAuthenticated','index','get','/:id','show','getMessages','/:id/download','download','post','create','addMessage','sms','smsinteraction:addtags','addTags','put','smsinteraction:destroy','destroy','removeTags','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./smsInteraction.controller'];(function(_0x1b89b9,_0x2809df){var _0xf7770f=function(_0x53b8d0){while(--_0x53b8d0){_0x1b89b9['push'](_0x1b89b9['shift']());}};_0xf7770f(++_0x2809df);}(_0x3266,0x6a));var _0x6326=function(_0x454018,_0x46e33a){_0x454018=_0x454018-0x0;var _0x24697d=_0x3266[_0x454018];return _0x24697d;};'use strict';var multer=require(_0x6326('0x0'));var util=require(_0x6326('0x1'));var path=require(_0x6326('0x2'));var timeout=require(_0x6326('0x3'));var express=require(_0x6326('0x4'));var router=express[_0x6326('0x5')]();var fs_extra=require(_0x6326('0x6'));var auth=require(_0x6326('0x7'));var interaction=require(_0x6326('0x8'));var config=require('../../config/environment');var controller=require(_0x6326('0x9'));router['get']('/',auth[_0x6326('0xa')](),controller[_0x6326('0xb')]);router[_0x6326('0xc')]('/describe',auth[_0x6326('0xa')](),controller['describe']);router[_0x6326('0xc')](_0x6326('0xd'),auth[_0x6326('0xa')](),controller[_0x6326('0xe')]);router[_0x6326('0xc')]('/:id/messages',auth[_0x6326('0xa')](),controller[_0x6326('0xf')]);router[_0x6326('0xc')](_0x6326('0x10'),auth[_0x6326('0xa')](),controller[_0x6326('0x11')]);router[_0x6326('0x12')]('/',auth[_0x6326('0xa')](),controller[_0x6326('0x13')]);router[_0x6326('0x12')]('/:id/messages',auth['isAuthenticated'](),controller[_0x6326('0x14')]);router[_0x6326('0x12')]('/:id/tags',auth[_0x6326('0xa')](),interaction['tracked'](_0x6326('0x15'),_0x6326('0x16')),controller[_0x6326('0x17')]);router[_0x6326('0x18')](_0x6326('0xd'),auth[_0x6326('0xa')](),interaction['tracked'](_0x6326('0x15'),'smsinteraction:update'),controller['update']);router['delete']('/:id',auth['isAuthenticated'](),interaction['tracked'](_0x6326('0x15'),_0x6326('0x19')),controller[_0x6326('0x1a')]);router['delete']('/:id/tags',auth[_0x6326('0xa')](),controller[_0x6326('0x1b')]);module[_0x6326('0x1c')]=router;
\ No newline at end of file