Built motion from commit 14588770.|2.5.38
[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 _0xf072=['post','create','put','update','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./openchannelQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show'];(function(_0x35383b,_0x2f4ca9){var _0x4f8826=function(_0x7ee8f9){while(--_0x7ee8f9){_0x35383b['push'](_0x35383b['shift']());}};_0x4f8826(++_0x2f4ca9);}(_0xf072,0x8a));var _0x2f07=function(_0x320fb2,_0x3541ee){_0x320fb2=_0x320fb2-0x0;var _0x2c4855=_0xf072[_0x320fb2];return _0x2c4855;};'use strict';var multer=require(_0x2f07('0x0'));var util=require('util');var path=require(_0x2f07('0x1'));var timeout=require(_0x2f07('0x2'));var express=require(_0x2f07('0x3'));var router=express[_0x2f07('0x4')]();var fs_extra=require(_0x2f07('0x5'));var auth=require(_0x2f07('0x6'));var interaction=require(_0x2f07('0x7'));var config=require('../../config/environment');var controller=require(_0x2f07('0x8'));router[_0x2f07('0x9')]('/',auth[_0x2f07('0xa')](),controller[_0x2f07('0xb')]);router[_0x2f07('0x9')](_0x2f07('0xc'),auth[_0x2f07('0xa')](),controller[_0x2f07('0xd')]);router[_0x2f07('0x9')](_0x2f07('0xe'),auth['isAuthenticated'](),controller[_0x2f07('0xf')]);router[_0x2f07('0x10')]('/',auth[_0x2f07('0xa')](),controller[_0x2f07('0x11')]);router[_0x2f07('0x12')](_0x2f07('0xe'),auth[_0x2f07('0xa')](),controller[_0x2f07('0x13')]);router['delete'](_0x2f07('0xe'),auth[_0x2f07('0xa')](),controller[_0x2f07('0x14')]);module[_0x2f07('0x15')]=router;