4971ee62073777bf7961496e3da74640afbee3d8
[motion-next.git] / server / api / smsMessage / index.js
1 const a558_0xc7d0=['/:id/accept','destroy','Router','isAuthenticated','/:id','describe','show','/describe','status','put','accept','tracked','index','create','/:id/reject','exports','get','post','delete','reject','express','/:id/status','sms'];(function(_0x4d872d,_0xc7d0fe){const _0x364e92=function(_0xa61692){while(--_0xa61692){_0x4d872d['push'](_0x4d872d['shift']());}};_0x364e92(++_0xc7d0fe);}(a558_0xc7d0,0x9c));const a558_0x364e=function(_0x4d872d,_0xc7d0fe){_0x4d872d=_0x4d872d-0x0;let _0x364e92=a558_0xc7d0[_0x4d872d];return _0x364e92;};const _0x437715=a558_0x364e;'use strict';const express=require(_0x437715('0x2')),router=express[_0x437715('0x7')](),auth=require('../../components/auth/service'),interaction=require('../../components/interaction/service'),controller=require('./smsMessage.controller');router[_0x437715('0x15')]('/',auth[_0x437715('0x8')](),controller[_0x437715('0x11')]),router[_0x437715('0x15')](_0x437715('0xc'),auth[_0x437715('0x8')](),controller[_0x437715('0xa')]),router[_0x437715('0x15')](_0x437715('0x9'),auth[_0x437715('0x8')](),controller[_0x437715('0xb')]),router[_0x437715('0x16')]('/',auth[_0x437715('0x8')](),interaction[_0x437715('0x10')](_0x437715('0x4'),'smsmessage:create'),controller[_0x437715('0x12')]),router[_0x437715('0x16')](_0x437715('0x3'),controller[_0x437715('0xd')]),router[_0x437715('0xe')](_0x437715('0x9'),auth[_0x437715('0x8')](),controller['update']),router[_0x437715('0xe')](_0x437715('0x5'),auth[_0x437715('0x8')](),controller[_0x437715('0xf')]),router[_0x437715('0xe')](_0x437715('0x13'),auth[_0x437715('0x8')](),controller[_0x437715('0x1')]),router[_0x437715('0x0')](_0x437715('0x9'),auth[_0x437715('0x8')](),controller[_0x437715('0x6')]),module[_0x437715('0x14')]=router;