Built motion from commit f25620e4.|2.6.30
[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 _0x66a1=['put','update','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelQueueReport.controller','isAuthenticated','/describe','get','/:id','show','post'];(function(_0x5b6cd3,_0x2fcf1b){var _0x34f3a6=function(_0x59f523){while(--_0x59f523){_0x5b6cd3['push'](_0x5b6cd3['shift']());}};_0x34f3a6(++_0x2fcf1b);}(_0x66a1,0xc2));var _0x166a=function(_0x39d33d,_0x38eeb4){_0x39d33d=_0x39d33d-0x0;var _0x397fd9=_0x66a1[_0x39d33d];return _0x397fd9;};'use strict';var multer=require(_0x166a('0x0'));var util=require(_0x166a('0x1'));var path=require(_0x166a('0x2'));var timeout=require(_0x166a('0x3'));var express=require(_0x166a('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x166a('0x5'));var interaction=require(_0x166a('0x6'));var config=require(_0x166a('0x7'));var controller=require(_0x166a('0x8'));router['get']('/',auth[_0x166a('0x9')](),controller['index']);router['get'](_0x166a('0xa'),auth['isAuthenticated'](),controller['describe']);router[_0x166a('0xb')](_0x166a('0xc'),auth[_0x166a('0x9')](),controller[_0x166a('0xd')]);router[_0x166a('0xe')]('/',auth[_0x166a('0x9')](),controller['create']);router[_0x166a('0xf')]('/:id',auth[_0x166a('0x9')](),controller[_0x166a('0x10')]);router['delete'](_0x166a('0xc'),auth[_0x166a('0x9')](),controller[_0x166a('0x11')]);module[_0x166a('0x12')]=router;