Built motion from commit 616d3211.|2.6.4
[motion2.git] / server / api / smsInteraction / index.js
index 9426a97..df26b91 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xcb07=['post','/:id/messages','addMessage','/:id/tags','sms','smsinteraction:addtags','addTags','update','delete','smsinteraction:destroy','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','isAuthenticated','describe','/:id','show','getMessages','download'];(function(_0x4f7a20,_0x2e9c46){var _0x2cabf4=function(_0xc653cb){while(--_0xc653cb){_0x4f7a20['push'](_0x4f7a20['shift']());}};_0x2cabf4(++_0x2e9c46);}(_0xcb07,0x98));var _0x7cb0=function(_0x57dc85,_0x3a6d51){_0x57dc85=_0x57dc85-0x0;var _0x563a2e=_0xcb07[_0x57dc85];return _0x563a2e;};'use strict';var multer=require(_0x7cb0('0x0'));var util=require(_0x7cb0('0x1'));var path=require(_0x7cb0('0x2'));var timeout=require(_0x7cb0('0x3'));var express=require(_0x7cb0('0x4'));var router=express['Router']();var auth=require(_0x7cb0('0x5'));var interaction=require(_0x7cb0('0x6'));var config=require(_0x7cb0('0x7'));var controller=require('./smsInteraction.controller');router[_0x7cb0('0x8')]('/',auth['isAuthenticated'](),controller[_0x7cb0('0x9')]);router[_0x7cb0('0x8')]('/describe',auth[_0x7cb0('0xa')](),controller[_0x7cb0('0xb')]);router[_0x7cb0('0x8')](_0x7cb0('0xc'),auth[_0x7cb0('0xa')](),controller[_0x7cb0('0xd')]);router[_0x7cb0('0x8')]('/:id/messages',auth[_0x7cb0('0xa')](),controller[_0x7cb0('0xe')]);router[_0x7cb0('0x8')]('/:id/download',auth['isAuthenticated'](),controller[_0x7cb0('0xf')]);router[_0x7cb0('0x10')]('/',auth['isAuthenticated'](),controller['create']);router['post'](_0x7cb0('0x11'),auth['isAuthenticated'](),controller[_0x7cb0('0x12')]);router[_0x7cb0('0x10')](_0x7cb0('0x13'),auth['isAuthenticated'](),interaction['tracked'](_0x7cb0('0x14'),_0x7cb0('0x15')),controller[_0x7cb0('0x16')]);router['put'](_0x7cb0('0xc'),auth['isAuthenticated'](),interaction['tracked'](_0x7cb0('0x14'),'smsinteraction:update'),controller[_0x7cb0('0x17')]);router[_0x7cb0('0x18')](_0x7cb0('0xc'),auth[_0x7cb0('0xa')](),interaction['tracked'](_0x7cb0('0x14'),_0x7cb0('0x19')),controller[_0x7cb0('0x1a')]);router[_0x7cb0('0x18')](_0x7cb0('0x13'),auth[_0x7cb0('0xa')](),controller['removeTags']);module[_0x7cb0('0x1b')]=router;
\ No newline at end of file
+var _0x6cb4=['./smsInteraction.controller','isAuthenticated','get','/describe','describe','/:id','show','getMessages','/:id/download','create','post','/:id/messages','/:id/tags','tracked','sms','smsinteraction:addtags','addTags','put','smsinteraction:update','delete','smsinteraction:destroy','destroy','removeTags','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x4d5492,_0x1cb68f){var _0x228c3a=function(_0x49838e){while(--_0x49838e){_0x4d5492['push'](_0x4d5492['shift']());}};_0x228c3a(++_0x1cb68f);}(_0x6cb4,0xff));var _0x46cb=function(_0x5ad349,_0x5b325e){_0x5ad349=_0x5ad349-0x0;var _0x1644f9=_0x6cb4[_0x5ad349];return _0x1644f9;};'use strict';var multer=require(_0x46cb('0x0'));var util=require(_0x46cb('0x1'));var path=require(_0x46cb('0x2'));var timeout=require(_0x46cb('0x3'));var express=require(_0x46cb('0x4'));var router=express[_0x46cb('0x5')]();var fs_extra=require(_0x46cb('0x6'));var auth=require(_0x46cb('0x7'));var interaction=require(_0x46cb('0x8'));var config=require('../../config/environment');var controller=require(_0x46cb('0x9'));router['get']('/',auth[_0x46cb('0xa')](),controller['index']);router[_0x46cb('0xb')](_0x46cb('0xc'),auth[_0x46cb('0xa')](),controller[_0x46cb('0xd')]);router[_0x46cb('0xb')](_0x46cb('0xe'),auth['isAuthenticated'](),controller[_0x46cb('0xf')]);router[_0x46cb('0xb')]('/:id/messages',auth[_0x46cb('0xa')](),controller[_0x46cb('0x10')]);router['get'](_0x46cb('0x11'),auth[_0x46cb('0xa')](),controller['download']);router['post']('/',auth['isAuthenticated'](),controller[_0x46cb('0x12')]);router[_0x46cb('0x13')](_0x46cb('0x14'),auth[_0x46cb('0xa')](),controller['addMessage']);router[_0x46cb('0x13')](_0x46cb('0x15'),auth[_0x46cb('0xa')](),interaction[_0x46cb('0x16')](_0x46cb('0x17'),_0x46cb('0x18')),controller[_0x46cb('0x19')]);router[_0x46cb('0x1a')](_0x46cb('0xe'),auth[_0x46cb('0xa')](),interaction[_0x46cb('0x16')]('sms',_0x46cb('0x1b')),controller['update']);router[_0x46cb('0x1c')]('/:id',auth['isAuthenticated'](),interaction['tracked'](_0x46cb('0x17'),_0x46cb('0x1d')),controller[_0x46cb('0x1e')]);router[_0x46cb('0x1c')](_0x46cb('0x15'),auth[_0x46cb('0xa')](),controller[_0x46cb('0x1f')]);module[_0x46cb('0x20')]=router;
\ No newline at end of file