d99f6f012923a60308b190280c583732cedbfb50
[motion-next.git] / server / api / faxInteraction / index.js
1 const a203_0x4b79=['update','./faxInteraction.controller','/describe','tracked','../../components/interaction/service','exports','post','isAuthenticated','put','/:id','/:id/messages','addMessage','/:id/tags','download','../../components/auth/service','/:id/download','index','faxinteraction:addtags','fax','delete','get','express'];(function(_0x8849b,_0x4b79cf){const _0x277318=function(_0x408003){while(--_0x408003){_0x8849b['push'](_0x8849b['shift']());}};_0x277318(++_0x4b79cf);}(a203_0x4b79,0x113));const a203_0x2773=function(_0x8849b,_0x4b79cf){_0x8849b=_0x8849b-0x0;let _0x277318=a203_0x4b79[_0x8849b];return _0x277318;};const _0x5e0721=a203_0x2773;'use strict';const express=require(_0x5e0721('0xa')),router=express['Router'](),auth=require(_0x5e0721('0x3')),interaction=require(_0x5e0721('0xf')),controller=require(_0x5e0721('0xc'));router['get']('/',auth[_0x5e0721('0x12')](),controller[_0x5e0721('0x5')]),router[_0x5e0721('0x9')](_0x5e0721('0xd'),auth[_0x5e0721('0x12')](),controller['describe']),router[_0x5e0721('0x9')](_0x5e0721('0x14'),auth['isAuthenticated'](),controller['show']),router[_0x5e0721('0x9')](_0x5e0721('0x15'),auth['isAuthenticated'](),controller['getMessages']),router[_0x5e0721('0x9')](_0x5e0721('0x4'),auth[_0x5e0721('0x12')](),controller[_0x5e0721('0x2')]),router[_0x5e0721('0x11')]('/',auth[_0x5e0721('0x12')](),controller['create']),router[_0x5e0721('0x11')](_0x5e0721('0x15'),auth[_0x5e0721('0x12')](),controller[_0x5e0721('0x0')]),router[_0x5e0721('0x11')](_0x5e0721('0x1'),auth[_0x5e0721('0x12')](),interaction[_0x5e0721('0xe')]('fax',_0x5e0721('0x6')),controller['addTags']),router[_0x5e0721('0x13')](_0x5e0721('0x14'),auth[_0x5e0721('0x12')](),interaction[_0x5e0721('0xe')](_0x5e0721('0x7'),'faxinteraction:update'),controller[_0x5e0721('0xb')]),router[_0x5e0721('0x8')](_0x5e0721('0x14'),auth[_0x5e0721('0x12')](),interaction[_0x5e0721('0xe')](_0x5e0721('0x7'),'faxinteraction:destroy'),controller['destroy']),router[_0x5e0721('0x8')]('/:id/tags',auth['isAuthenticated'](),controller['removeTags']),module[_0x5e0721('0x10')]=router;