5b3c58420c7d5208850731d355093766a35592ab
[motion-next.git] / server / api / mailAccount / index.js
1 const a392_0x399f=['post','send','removeAnswers','/:id/out_servers','/:id/in_servers','get','addApplications','/:id/dispositions','addSmtp','verifySmtp','put','Router','getDispositions','addInteraction','delete','exports','getImap','../../components/auth/service','./mailAccount.controller','create','getSmtp','/:id/interactions','getMessages','addAnswer','getAnswers','show','removeDispositions','destroy','/:id/applications','addAgents','express','removeImap','/:id/canned_answers','isAuthenticated','getInteractions','describe','update','/:id/users','/:id/verify','getApplications','/:id/send','/:id'];(function(_0x326d80,_0x399fba){const _0x1c061c=function(_0x391fc8){while(--_0x391fc8){_0x326d80['push'](_0x326d80['shift']());}};_0x1c061c(++_0x399fba);}(a392_0x399f,0x19e));const a392_0x1c06=function(_0x326d80,_0x399fba){_0x326d80=_0x326d80-0x0;let _0x1c061c=a392_0x399f[_0x326d80];return _0x1c061c;};const _0x197ce1=a392_0x1c06;'use strict';const express=require(_0x197ce1('0x24')),router=express[_0x197ce1('0x11')](),auth=require(_0x197ce1('0x17')),controller=require(_0x197ce1('0x18'));router['get']('/',auth[_0x197ce1('0x27')](),controller['index']),router[_0x197ce1('0xb')]('/describe',auth[_0x197ce1('0x27')](),controller[_0x197ce1('0x29')]),router[_0x197ce1('0xb')](_0x197ce1('0x5'),auth[_0x197ce1('0x27')](),controller[_0x197ce1('0x1f')]),router['get'](_0x197ce1('0xd'),auth[_0x197ce1('0x27')](),controller[_0x197ce1('0x12')]),router[_0x197ce1('0xb')]('/:id/canned_answers',auth[_0x197ce1('0x27')](),controller[_0x197ce1('0x1e')]),router['get'](_0x197ce1('0xa'),auth[_0x197ce1('0x27')](),controller[_0x197ce1('0x16')]),router[_0x197ce1('0xb')](_0x197ce1('0x9'),auth[_0x197ce1('0x27')](),controller[_0x197ce1('0x1a')]),router[_0x197ce1('0xb')](_0x197ce1('0x1b'),auth[_0x197ce1('0x27')](),controller[_0x197ce1('0x28')]),router[_0x197ce1('0xb')](_0x197ce1('0x22'),auth['isAuthenticated'](),controller[_0x197ce1('0x3')]),router[_0x197ce1('0xb')]('/:id/messages',auth[_0x197ce1('0x27')](),controller[_0x197ce1('0x1c')]),router[_0x197ce1('0xb')](_0x197ce1('0x2'),auth[_0x197ce1('0x27')](),controller[_0x197ce1('0xf')]),router[_0x197ce1('0xb')](_0x197ce1('0x1'),auth[_0x197ce1('0x27')](),controller['getAgents']),router[_0x197ce1('0x6')](_0x197ce1('0xd'),auth[_0x197ce1('0x27')](),controller['addDisposition']),router[_0x197ce1('0x6')](_0x197ce1('0x26'),auth[_0x197ce1('0x27')](),controller[_0x197ce1('0x1d')]),router['post']('/',auth[_0x197ce1('0x27')](),controller[_0x197ce1('0x19')]),router[_0x197ce1('0x6')](_0x197ce1('0xa'),auth['isAuthenticated'](),controller['addImap']),router[_0x197ce1('0x6')](_0x197ce1('0x9'),auth[_0x197ce1('0x27')](),controller[_0x197ce1('0xe')]),router[_0x197ce1('0x6')](_0x197ce1('0x1b'),auth[_0x197ce1('0x27')](),controller[_0x197ce1('0x13')]),router[_0x197ce1('0x6')](_0x197ce1('0x22'),auth[_0x197ce1('0x27')](),controller[_0x197ce1('0xc')]),router[_0x197ce1('0x6')](_0x197ce1('0x4'),auth['isAuthenticated'](),controller[_0x197ce1('0x7')]),router['post']('/:id/users',auth[_0x197ce1('0x27')](),controller[_0x197ce1('0x23')]),router[_0x197ce1('0x10')]('/:id',auth[_0x197ce1('0x27')](),controller[_0x197ce1('0x0')]),router[_0x197ce1('0x14')](_0x197ce1('0xd'),auth['isAuthenticated'](),controller[_0x197ce1('0x20')]),router[_0x197ce1('0x14')](_0x197ce1('0x26'),auth[_0x197ce1('0x27')](),controller[_0x197ce1('0x8')]),router['delete'](_0x197ce1('0xa'),auth[_0x197ce1('0x27')](),controller[_0x197ce1('0x25')]),router[_0x197ce1('0x14')]('/:id/out_servers',auth[_0x197ce1('0x27')](),controller['removeSmtp']),router[_0x197ce1('0x14')](_0x197ce1('0x5'),auth[_0x197ce1('0x27')](),controller[_0x197ce1('0x21')]),router['delete'](_0x197ce1('0x1'),auth[_0x197ce1('0x27')](),controller['removeAgents']),module[_0x197ce1('0x15')]=router;