Built motion from commit 42801a18.|2.6.28
[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 _0x3c74=['isAuthenticated','create','update','destroy','exports','multer','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelQueueReport.controller','get','index','/describe','describe','/:id','post'];(function(_0x3f0939,_0xd1cf71){var _0x403017=function(_0x10e806){while(--_0x10e806){_0x3f0939['push'](_0x3f0939['shift']());}};_0x403017(++_0xd1cf71);}(_0x3c74,0xa7));var _0x43c7=function(_0x6e9d83,_0x36225b){_0x6e9d83=_0x6e9d83-0x0;var _0xca3bbe=_0x3c74[_0x6e9d83];return _0xca3bbe;};'use strict';var multer=require(_0x43c7('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x43c7('0x1'));var express=require(_0x43c7('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x43c7('0x3'));var interaction=require(_0x43c7('0x4'));var config=require(_0x43c7('0x5'));var controller=require(_0x43c7('0x6'));router[_0x43c7('0x7')]('/',auth['isAuthenticated'](),controller[_0x43c7('0x8')]);router[_0x43c7('0x7')](_0x43c7('0x9'),auth['isAuthenticated'](),controller[_0x43c7('0xa')]);router[_0x43c7('0x7')](_0x43c7('0xb'),auth['isAuthenticated'](),controller['show']);router[_0x43c7('0xc')]('/',auth[_0x43c7('0xd')](),controller[_0x43c7('0xe')]);router['put'](_0x43c7('0xb'),auth['isAuthenticated'](),controller[_0x43c7('0xf')]);router['delete'](_0x43c7('0xb'),auth[_0x43c7('0xd')](),controller[_0x43c7('0x10')]);module[_0x43c7('0x11')]=router;