Built motion from commit 10af8726.|2.6.34
[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 _0xfc3e=['index','/describe','/:id','show','create','put','update','destroy','exports','multer','path','express','Router','fs-extra','../../components/auth/service','./openchannelTransferReport.controller','get','isAuthenticated'];(function(_0x51251b,_0x3463f6){var _0x49ee46=function(_0xa72ce6){while(--_0xa72ce6){_0x51251b['push'](_0x51251b['shift']());}};_0x49ee46(++_0x3463f6);}(_0xfc3e,0x183));var _0xefc3=function(_0x46017f,_0x2b80fc){_0x46017f=_0x46017f-0x0;var _0x2656e5=_0xfc3e[_0x46017f];return _0x2656e5;};'use strict';var multer=require(_0xefc3('0x0'));var util=require('util');var path=require(_0xefc3('0x1'));var timeout=require('connect-timeout');var express=require(_0xefc3('0x2'));var router=express[_0xefc3('0x3')]();var fs_extra=require(_0xefc3('0x4'));var auth=require(_0xefc3('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xefc3('0x6'));router[_0xefc3('0x7')]('/',auth[_0xefc3('0x8')](),controller[_0xefc3('0x9')]);router[_0xefc3('0x7')](_0xefc3('0xa'),auth['isAuthenticated'](),controller['describe']);router[_0xefc3('0x7')](_0xefc3('0xb'),auth['isAuthenticated'](),controller[_0xefc3('0xc')]);router['post']('/',auth['isAuthenticated'](),controller[_0xefc3('0xd')]);router[_0xefc3('0xe')](_0xefc3('0xb'),auth['isAuthenticated'](),controller[_0xefc3('0xf')]);router['delete'](_0xefc3('0xb'),auth[_0xefc3('0x8')](),controller[_0xefc3('0x10')]);module[_0xefc3('0x11')]=router;