1948a93f06b6ec73dc03efd3909bfa767d45a502
[motion-next.git] / server / api / whatsappMessage / index.js
1 const a799_0x28de=['index','describe','status','accept','../../components/auth/service','put','get','reject','whatsappmessage:create','whatsapp','update','/:id/status','/:id/reject','delete','./whatsappMessage.controller','post','tracked','/:id/accept','Router','/:id','/describe','show','isAuthenticated'];(function(_0x35907d,_0x28def1){const _0x2aead9=function(_0x5cb0ef){while(--_0x5cb0ef){_0x35907d['push'](_0x35907d['shift']());}};_0x2aead9(++_0x28def1);}(a799_0x28de,0x145));const a799_0x2aea=function(_0x35907d,_0x28def1){_0x35907d=_0x35907d-0x0;let _0x2aead9=a799_0x28de[_0x35907d];return _0x2aead9;};const _0x18f30d=a799_0x2aea;'use strict';const express=require('express'),router=express[_0x18f30d('0xf')](),auth=require(_0x18f30d('0x1')),interaction=require('../../components/interaction/service'),controller=require(_0x18f30d('0xb'));router[_0x18f30d('0x3')]('/',auth[_0x18f30d('0x13')](),controller[_0x18f30d('0x14')]),router[_0x18f30d('0x3')](_0x18f30d('0x11'),auth[_0x18f30d('0x13')](),controller[_0x18f30d('0x15')]),router[_0x18f30d('0x3')](_0x18f30d('0x10'),auth[_0x18f30d('0x13')](),controller[_0x18f30d('0x12')]),router[_0x18f30d('0xc')]('/',auth['isAuthenticated'](),interaction[_0x18f30d('0xd')](_0x18f30d('0x6'),_0x18f30d('0x5')),controller['create']),router['post'](_0x18f30d('0x8'),controller[_0x18f30d('0x16')]),router[_0x18f30d('0x2')](_0x18f30d('0x10'),auth[_0x18f30d('0x13')](),controller[_0x18f30d('0x7')]),router['put'](_0x18f30d('0xe'),auth['isAuthenticated'](),controller[_0x18f30d('0x0')]),router['put'](_0x18f30d('0x9'),auth[_0x18f30d('0x13')](),controller[_0x18f30d('0x4')]),router[_0x18f30d('0xa')](_0x18f30d('0x10'),auth['isAuthenticated'](),controller['destroy']),module['exports']=router;