Built motion from commit (unavailable).|2.5.22
[motion2.git] / server / api / mailQueue / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xb1f7=['index','describe','/:id','/:id/members','getMembers','/:id/teams','getTeams','getAgents','post','addTeams','/:id/users','addAgents','update','delete','destroy','removeTeams','removeAgents','exports','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./mailQueue.controller','get','isAuthenticated'];(function(_0x2a90a6,_0x4967d4){var _0x3422cf=function(_0x391351){while(--_0x391351){_0x2a90a6['push'](_0x2a90a6['shift']());}};_0x3422cf(++_0x4967d4);}(_0xb1f7,0xba));var _0x7b1f=function(_0x233c11,_0x1083e4){_0x233c11=_0x233c11-0x0;var _0x381729=_0xb1f7[_0x233c11];return _0x381729;};'use strict';var multer=require('multer');var util=require(_0x7b1f('0x0'));var path=require(_0x7b1f('0x1'));var timeout=require(_0x7b1f('0x2'));var express=require(_0x7b1f('0x3'));var router=express[_0x7b1f('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x7b1f('0x5'));var config=require(_0x7b1f('0x6'));var controller=require(_0x7b1f('0x7'));router[_0x7b1f('0x8')]('/',auth[_0x7b1f('0x9')](),controller[_0x7b1f('0xa')]);router['get']('/describe',auth[_0x7b1f('0x9')](),controller[_0x7b1f('0xb')]);router[_0x7b1f('0x8')](_0x7b1f('0xc'),auth[_0x7b1f('0x9')](),controller['show']);router[_0x7b1f('0x8')](_0x7b1f('0xd'),auth[_0x7b1f('0x9')](),controller[_0x7b1f('0xe')]);router[_0x7b1f('0x8')](_0x7b1f('0xf'),auth[_0x7b1f('0x9')](),controller[_0x7b1f('0x10')]);router[_0x7b1f('0x8')]('/:id/users',auth[_0x7b1f('0x9')](),controller[_0x7b1f('0x11')]);router[_0x7b1f('0x12')]('/',auth[_0x7b1f('0x9')](),controller['create']);router['post'](_0x7b1f('0xf'),auth['isAuthenticated'](),controller[_0x7b1f('0x13')]);router['post'](_0x7b1f('0x14'),auth[_0x7b1f('0x9')](),controller[_0x7b1f('0x15')]);router['put'](_0x7b1f('0xc'),auth['isAuthenticated'](),controller[_0x7b1f('0x16')]);router[_0x7b1f('0x17')](_0x7b1f('0xc'),auth[_0x7b1f('0x9')](),controller[_0x7b1f('0x18')]);router['delete'](_0x7b1f('0xf'),auth['isAuthenticated'](),controller[_0x7b1f('0x19')]);router[_0x7b1f('0x17')](_0x7b1f('0x14'),auth[_0x7b1f('0x9')](),controller[_0x7b1f('0x1a')]);module[_0x7b1f('0x1b')]=router;