Built motion from commit b5996064.|2.6.21
[motion2.git] / server / api / openchannelQueueReport / 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 _0x4cdd=['exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./openchannelQueueReport.controller','get','isAuthenticated','index','/describe','/:id','show','post','create','put','update','delete','destroy'];(function(_0x1967a7,_0x314978){var _0x57564d=function(_0x45dd39){while(--_0x45dd39){_0x1967a7['push'](_0x1967a7['shift']());}};_0x57564d(++_0x314978);}(_0x4cdd,0x177));var _0xd4cd=function(_0x5b3f61,_0x5bdade){_0x5b3f61=_0x5b3f61-0x0;var _0x246e19=_0x4cdd[_0x5b3f61];return _0x246e19;};'use strict';var multer=require(_0xd4cd('0x0'));var util=require(_0xd4cd('0x1'));var path=require(_0xd4cd('0x2'));var timeout=require(_0xd4cd('0x3'));var express=require(_0xd4cd('0x4'));var router=express[_0xd4cd('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xd4cd('0x6'));var interaction=require(_0xd4cd('0x7'));var config=require('../../config/environment');var controller=require(_0xd4cd('0x8'));router[_0xd4cd('0x9')]('/',auth[_0xd4cd('0xa')](),controller[_0xd4cd('0xb')]);router[_0xd4cd('0x9')](_0xd4cd('0xc'),auth[_0xd4cd('0xa')](),controller['describe']);router['get'](_0xd4cd('0xd'),auth[_0xd4cd('0xa')](),controller[_0xd4cd('0xe')]);router[_0xd4cd('0xf')]('/',auth[_0xd4cd('0xa')](),controller[_0xd4cd('0x10')]);router[_0xd4cd('0x11')](_0xd4cd('0xd'),auth[_0xd4cd('0xa')](),controller[_0xd4cd('0x12')]);router[_0xd4cd('0x13')]('/:id',auth[_0xd4cd('0xa')](),controller[_0xd4cd('0x14')]);module[_0xd4cd('0x15')]=router;