Built motion from commit (unavailable).|2.5.31
[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 _0x9d1c=['isAuthenticated','index','/describe','describe','/:id','show','create','put','update','exports','multer','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelQueueReport.controller','get'];(function(_0x2cbca7,_0x2c0542){var _0x282c25=function(_0x1c8f93){while(--_0x1c8f93){_0x2cbca7['push'](_0x2cbca7['shift']());}};_0x282c25(++_0x2c0542);}(_0x9d1c,0x186));var _0xc9d1=function(_0xf16db9,_0x9b93bf){_0xf16db9=_0xf16db9-0x0;var _0x4d27c6=_0x9d1c[_0xf16db9];return _0x4d27c6;};'use strict';var multer=require(_0xc9d1('0x0'));var util=require('util');var path=require(_0xc9d1('0x1'));var timeout=require('connect-timeout');var express=require(_0xc9d1('0x2'));var router=express[_0xc9d1('0x3')]();var fs_extra=require(_0xc9d1('0x4'));var auth=require(_0xc9d1('0x5'));var interaction=require(_0xc9d1('0x6'));var config=require(_0xc9d1('0x7'));var controller=require(_0xc9d1('0x8'));router[_0xc9d1('0x9')]('/',auth[_0xc9d1('0xa')](),controller[_0xc9d1('0xb')]);router[_0xc9d1('0x9')](_0xc9d1('0xc'),auth['isAuthenticated'](),controller[_0xc9d1('0xd')]);router[_0xc9d1('0x9')](_0xc9d1('0xe'),auth[_0xc9d1('0xa')](),controller[_0xc9d1('0xf')]);router['post']('/',auth[_0xc9d1('0xa')](),controller[_0xc9d1('0x10')]);router[_0xc9d1('0x11')](_0xc9d1('0xe'),auth[_0xc9d1('0xa')](),controller[_0xc9d1('0x12')]);router['delete']('/:id',auth[_0xc9d1('0xa')](),controller['destroy']);module[_0xc9d1('0x13')]=router;