Built motion from commit (unavailable).|2.5.4
[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 _0x091c=['./mailQueue.controller','get','index','isAuthenticated','/:id','show','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','post','create','addAgents','put','update','delete','destroy','removeAgents','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x162a95,_0x9dfb1f){var _0x54cd40=function(_0x249ed1){while(--_0x249ed1){_0x162a95['push'](_0x162a95['shift']());}};_0x54cd40(++_0x9dfb1f);}(_0x091c,0xbc));var _0xc091=function(_0x1f8413,_0x18f221){_0x1f8413=_0x1f8413-0x0;var _0x133870=_0x091c[_0x1f8413];return _0x133870;};'use strict';var multer=require('multer');var util=require(_0xc091('0x0'));var path=require(_0xc091('0x1'));var timeout=require(_0xc091('0x2'));var express=require(_0xc091('0x3'));var router=express[_0xc091('0x4')]();var auth=require(_0xc091('0x5'));var interaction=require(_0xc091('0x6'));var config=require(_0xc091('0x7'));var controller=require(_0xc091('0x8'));router[_0xc091('0x9')]('/',auth['isAuthenticated'](),controller[_0xc091('0xa')]);router['get']('/describe',auth[_0xc091('0xb')](),controller['describe']);router[_0xc091('0x9')](_0xc091('0xc'),auth['isAuthenticated'](),controller[_0xc091('0xd')]);router['get'](_0xc091('0xe'),auth[_0xc091('0xb')](),controller[_0xc091('0xf')]);router[_0xc091('0x9')](_0xc091('0x10'),auth[_0xc091('0xb')](),controller[_0xc091('0x11')]);router[_0xc091('0x9')](_0xc091('0x12'),auth[_0xc091('0xb')](),controller['getAgents']);router[_0xc091('0x13')]('/',auth['isAuthenticated'](),controller[_0xc091('0x14')]);router[_0xc091('0x13')](_0xc091('0x10'),auth[_0xc091('0xb')](),controller['addTeams']);router[_0xc091('0x13')](_0xc091('0x12'),auth[_0xc091('0xb')](),controller[_0xc091('0x15')]);router[_0xc091('0x16')](_0xc091('0xc'),auth[_0xc091('0xb')](),controller[_0xc091('0x17')]);router[_0xc091('0x18')]('/:id',auth[_0xc091('0xb')](),controller[_0xc091('0x19')]);router[_0xc091('0x18')](_0xc091('0x10'),auth[_0xc091('0xb')](),controller['removeTeams']);router['delete'](_0xc091('0x12'),auth[_0xc091('0xb')](),controller[_0xc091('0x1a')]);module[_0xc091('0x1b')]=router;