Built motion from commit 9d1906d1.|2.5.40
[motion2.git] / server / api / smsInteraction / index.js
index 1e85b51..c0aa3ae 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x682b=['exports','multer','util','connect-timeout','Router','../../components/interaction/service','./smsInteraction.controller','get','isAuthenticated','index','/describe','describe','/:id','/:id/messages','getMessages','/:id/download','download','post','create','addMessage','/:id/tags','tracked','sms','smsinteraction:addtags','smsinteraction:update','update','delete','smsinteraction:destroy','destroy','removeTags'];(function(_0x443b56,_0x514bdd){var _0x4b88f6=function(_0xfdf63b){while(--_0xfdf63b){_0x443b56['push'](_0x443b56['shift']());}};_0x4b88f6(++_0x514bdd);}(_0x682b,0x1e1));var _0xb682=function(_0x59ee6f,_0x450239){_0x59ee6f=_0x59ee6f-0x0;var _0x4c0979=_0x682b[_0x59ee6f];return _0x4c0979;};'use strict';var multer=require(_0xb682('0x0'));var util=require(_0xb682('0x1'));var path=require('path');var timeout=require(_0xb682('0x2'));var express=require('express');var router=express[_0xb682('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xb682('0x4'));var config=require('../../config/environment');var controller=require(_0xb682('0x5'));router[_0xb682('0x6')]('/',auth[_0xb682('0x7')](),controller[_0xb682('0x8')]);router['get'](_0xb682('0x9'),auth[_0xb682('0x7')](),controller[_0xb682('0xa')]);router['get'](_0xb682('0xb'),auth[_0xb682('0x7')](),controller['show']);router['get'](_0xb682('0xc'),auth['isAuthenticated'](),controller[_0xb682('0xd')]);router[_0xb682('0x6')](_0xb682('0xe'),auth[_0xb682('0x7')](),controller[_0xb682('0xf')]);router[_0xb682('0x10')]('/',auth[_0xb682('0x7')](),controller[_0xb682('0x11')]);router[_0xb682('0x10')]('/:id/messages',auth[_0xb682('0x7')](),controller[_0xb682('0x12')]);router[_0xb682('0x10')](_0xb682('0x13'),auth[_0xb682('0x7')](),interaction[_0xb682('0x14')](_0xb682('0x15'),_0xb682('0x16')),controller['addTags']);router['put'](_0xb682('0xb'),auth[_0xb682('0x7')](),interaction[_0xb682('0x14')](_0xb682('0x15'),_0xb682('0x17')),controller[_0xb682('0x18')]);router[_0xb682('0x19')]('/:id',auth[_0xb682('0x7')](),interaction[_0xb682('0x14')]('sms',_0xb682('0x1a')),controller[_0xb682('0x1b')]);router[_0xb682('0x19')]('/:id/tags',auth[_0xb682('0x7')](),controller[_0xb682('0x1c')]);module[_0xb682('0x1d')]=router;
\ No newline at end of file
+var _0x1eba=['put','/:id','update','destroy','delete','removeTags','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsInteraction.controller','get','isAuthenticated','index','/describe','describe','download','post','create','/:id/tags','tracked','sms','smsinteraction:addtags','addTags'];(function(_0x44f0a1,_0x457d11){var _0x4af42e=function(_0x15fcbf){while(--_0x15fcbf){_0x44f0a1['push'](_0x44f0a1['shift']());}};_0x4af42e(++_0x457d11);}(_0x1eba,0x1d7));var _0xa1eb=function(_0x45fc6a,_0x166adb){_0x45fc6a=_0x45fc6a-0x0;var _0x14bcfd=_0x1eba[_0x45fc6a];return _0x14bcfd;};'use strict';var multer=require(_0xa1eb('0x0'));var util=require(_0xa1eb('0x1'));var path=require(_0xa1eb('0x2'));var timeout=require(_0xa1eb('0x3'));var express=require(_0xa1eb('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xa1eb('0x5'));var interaction=require(_0xa1eb('0x6'));var config=require(_0xa1eb('0x7'));var controller=require(_0xa1eb('0x8'));router[_0xa1eb('0x9')]('/',auth[_0xa1eb('0xa')](),controller[_0xa1eb('0xb')]);router[_0xa1eb('0x9')](_0xa1eb('0xc'),auth[_0xa1eb('0xa')](),controller[_0xa1eb('0xd')]);router[_0xa1eb('0x9')]('/:id',auth[_0xa1eb('0xa')](),controller['show']);router[_0xa1eb('0x9')]('/:id/messages',auth[_0xa1eb('0xa')](),controller['getMessages']);router[_0xa1eb('0x9')]('/:id/download',auth[_0xa1eb('0xa')](),controller[_0xa1eb('0xe')]);router[_0xa1eb('0xf')]('/',auth['isAuthenticated'](),controller[_0xa1eb('0x10')]);router[_0xa1eb('0xf')]('/:id/messages',auth[_0xa1eb('0xa')](),controller['addMessage']);router['post'](_0xa1eb('0x11'),auth['isAuthenticated'](),interaction[_0xa1eb('0x12')](_0xa1eb('0x13'),_0xa1eb('0x14')),controller[_0xa1eb('0x15')]);router[_0xa1eb('0x16')](_0xa1eb('0x17'),auth[_0xa1eb('0xa')](),interaction[_0xa1eb('0x12')](_0xa1eb('0x13'),'smsinteraction:update'),controller[_0xa1eb('0x18')]);router['delete'](_0xa1eb('0x17'),auth[_0xa1eb('0xa')](),interaction[_0xa1eb('0x12')](_0xa1eb('0x13'),'smsinteraction:destroy'),controller[_0xa1eb('0x19')]);router[_0xa1eb('0x1a')](_0xa1eb('0x11'),auth[_0xa1eb('0xa')](),controller[_0xa1eb('0x1b')]);module[_0xa1eb('0x1c')]=router;
\ No newline at end of file