cb912c0b3d2080e6c99c19648a553581783f736f
[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 _0x6bbc=['./openchannelQueueReport.controller','get','isAuthenticated','/describe','describe','show','post','create','put','update','delete','/:id','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x16b9ed,_0x56517a){var _0x66b1f8=function(_0x1c883){while(--_0x1c883){_0x16b9ed['push'](_0x16b9ed['shift']());}};_0x66b1f8(++_0x56517a);}(_0x6bbc,0x115));var _0xc6bb=function(_0x4f4a07,_0x4ebd9d){_0x4f4a07=_0x4f4a07-0x0;var _0xc99fab=_0x6bbc[_0x4f4a07];return _0xc99fab;};'use strict';var multer=require(_0xc6bb('0x0'));var util=require(_0xc6bb('0x1'));var path=require(_0xc6bb('0x2'));var timeout=require(_0xc6bb('0x3'));var express=require(_0xc6bb('0x4'));var router=express[_0xc6bb('0x5')]();var fs_extra=require(_0xc6bb('0x6'));var auth=require(_0xc6bb('0x7'));var interaction=require(_0xc6bb('0x8'));var config=require('../../config/environment');var controller=require(_0xc6bb('0x9'));router[_0xc6bb('0xa')]('/',auth[_0xc6bb('0xb')](),controller['index']);router[_0xc6bb('0xa')](_0xc6bb('0xc'),auth[_0xc6bb('0xb')](),controller[_0xc6bb('0xd')]);router[_0xc6bb('0xa')]('/:id',auth[_0xc6bb('0xb')](),controller[_0xc6bb('0xe')]);router[_0xc6bb('0xf')]('/',auth[_0xc6bb('0xb')](),controller[_0xc6bb('0x10')]);router[_0xc6bb('0x11')]('/:id',auth[_0xc6bb('0xb')](),controller[_0xc6bb('0x12')]);router[_0xc6bb('0x13')](_0xc6bb('0x14'),auth[_0xc6bb('0xb')](),controller[_0xc6bb('0x15')]);module['exports']=router;