Built motion from commit (unavailable).|2.5.7
[motion2.git] / server / api / voiceQueue / 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 _0x92a9=['show','/:id/hoppers','getHoppers','/:id/hopper_histories','getHopperHistories','/:id/hopper_finals','getHopperFinals','/:id/hopper_black','getHopperBlacks','/:id/teams','getTeams','getAgents','/:id/members','/:id/lists','/:id/blacklists','getBlackLists','post','create','/:id/clone','clone','addTeams','addAgents','addBlackLists','put','update','delete','destroy','removeTeams','/:id/users','removeAgents','exports','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./voiceQueue.controller','get','isAuthenticated','index','/:id'];(function(_0x237efa,_0x47b29f){var _0x5be54e=function(_0x1c9782){while(--_0x1c9782){_0x237efa['push'](_0x237efa['shift']());}};_0x5be54e(++_0x47b29f);}(_0x92a9,0x1c3));var _0x992a=function(_0x580647,_0x43d2c3){_0x580647=_0x580647-0x0;var _0x5f0792=_0x92a9[_0x580647];return _0x5f0792;};'use strict';var multer=require('multer');var util=require(_0x992a('0x0'));var path=require(_0x992a('0x1'));var timeout=require(_0x992a('0x2'));var express=require(_0x992a('0x3'));var router=express['Router']();var auth=require(_0x992a('0x4'));var interaction=require(_0x992a('0x5'));var config=require('../../config/environment');var controller=require(_0x992a('0x6'));router[_0x992a('0x7')]('/',auth[_0x992a('0x8')](),controller[_0x992a('0x9')]);router['get'](_0x992a('0xa'),auth[_0x992a('0x8')](),controller[_0x992a('0xb')]);router[_0x992a('0x7')](_0x992a('0xc'),auth[_0x992a('0x8')](),controller[_0x992a('0xd')]);router[_0x992a('0x7')](_0x992a('0xe'),auth['isAuthenticated'](),controller[_0x992a('0xf')]);router[_0x992a('0x7')](_0x992a('0x10'),auth[_0x992a('0x8')](),controller[_0x992a('0x11')]);router[_0x992a('0x7')](_0x992a('0x12'),auth[_0x992a('0x8')](),controller[_0x992a('0x13')]);router[_0x992a('0x7')](_0x992a('0x14'),auth['isAuthenticated'](),controller[_0x992a('0x15')]);router[_0x992a('0x7')]('/:id/users',auth[_0x992a('0x8')](),controller[_0x992a('0x16')]);router['get'](_0x992a('0x17'),auth[_0x992a('0x8')](),controller['getMembers']);router[_0x992a('0x7')](_0x992a('0x18'),auth[_0x992a('0x8')](),controller['getLists']);router[_0x992a('0x7')](_0x992a('0x19'),auth[_0x992a('0x8')](),controller[_0x992a('0x1a')]);router[_0x992a('0x1b')]('/',auth[_0x992a('0x8')](),controller[_0x992a('0x1c')]);router['post'](_0x992a('0x1d'),auth['isAuthenticated'](),controller[_0x992a('0x1e')]);router[_0x992a('0x1b')](_0x992a('0x14'),auth[_0x992a('0x8')](),controller[_0x992a('0x1f')]);router[_0x992a('0x1b')]('/:id/users',auth[_0x992a('0x8')](),controller[_0x992a('0x20')]);router[_0x992a('0x1b')]('/:id/lists',auth[_0x992a('0x8')](),controller['addLists']);router['post'](_0x992a('0x19'),auth[_0x992a('0x8')](),controller[_0x992a('0x21')]);router[_0x992a('0x22')](_0x992a('0xa'),auth[_0x992a('0x8')](),controller[_0x992a('0x23')]);router[_0x992a('0x24')](_0x992a('0xa'),auth[_0x992a('0x8')](),controller[_0x992a('0x25')]);router[_0x992a('0x24')](_0x992a('0x14'),auth[_0x992a('0x8')](),controller[_0x992a('0x26')]);router[_0x992a('0x24')](_0x992a('0x27'),auth[_0x992a('0x8')](),controller[_0x992a('0x28')]);router[_0x992a('0x24')](_0x992a('0x18'),auth[_0x992a('0x8')](),controller['removeLists']);router[_0x992a('0x24')](_0x992a('0x19'),auth[_0x992a('0x8')](),controller['removeBlackLists']);module[_0x992a('0x29')]=router;