Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / openchannelTransferReport / 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 _0x1b14=['fs-extra','../../components/auth/service','../../components/interaction/service','./openchannelTransferReport.controller','get','isAuthenticated','index','/describe','/:id','show','post','create','update','exports','multer','util','path','connect-timeout','express','Router'];(function(_0xeead8a,_0x3d2400){var _0x24742c=function(_0x1e357a){while(--_0x1e357a){_0xeead8a['push'](_0xeead8a['shift']());}};_0x24742c(++_0x3d2400);}(_0x1b14,0x13a));var _0x41b1=function(_0x299c41,_0x55d04a){_0x299c41=_0x299c41-0x0;var _0x16278f=_0x1b14[_0x299c41];return _0x16278f;};'use strict';var multer=require(_0x41b1('0x0'));var util=require(_0x41b1('0x1'));var path=require(_0x41b1('0x2'));var timeout=require(_0x41b1('0x3'));var express=require(_0x41b1('0x4'));var router=express[_0x41b1('0x5')]();var fs_extra=require(_0x41b1('0x6'));var auth=require(_0x41b1('0x7'));var interaction=require(_0x41b1('0x8'));var config=require('../../config/environment');var controller=require(_0x41b1('0x9'));router[_0x41b1('0xa')]('/',auth[_0x41b1('0xb')](),controller[_0x41b1('0xc')]);router[_0x41b1('0xa')](_0x41b1('0xd'),auth['isAuthenticated'](),controller['describe']);router[_0x41b1('0xa')](_0x41b1('0xe'),auth[_0x41b1('0xb')](),controller[_0x41b1('0xf')]);router[_0x41b1('0x10')]('/',auth['isAuthenticated'](),controller[_0x41b1('0x11')]);router['put'](_0x41b1('0xe'),auth[_0x41b1('0xb')](),controller[_0x41b1('0x12')]);router['delete']('/:id',auth[_0x41b1('0xb')](),controller['destroy']);module[_0x41b1('0x13')]=router;