85238775f5be898ed360cc83cc5653f27a9e694b
[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 _0x9028=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','isAuthenticated','index','get','/describe','describe','post','put','/:id','update','delete','destroy','util','path','connect-timeout','express'];(function(_0x58af83,_0x359414){var _0x42e951=function(_0x54df8f){while(--_0x54df8f){_0x58af83['push'](_0x58af83['shift']());}};_0x42e951(++_0x359414);}(_0x9028,0x1b5));var _0x8902=function(_0x1f76d5,_0x517357){_0x1f76d5=_0x1f76d5-0x0;var _0x569c7c=_0x9028[_0x1f76d5];return _0x569c7c;};'use strict';var multer=require('multer');var util=require(_0x8902('0x0'));var path=require(_0x8902('0x1'));var timeout=require(_0x8902('0x2'));var express=require(_0x8902('0x3'));var router=express[_0x8902('0x4')]();var fs_extra=require(_0x8902('0x5'));var auth=require(_0x8902('0x6'));var interaction=require(_0x8902('0x7'));var config=require(_0x8902('0x8'));var controller=require(_0x8902('0x9'));router['get']('/',auth[_0x8902('0xa')](),controller[_0x8902('0xb')]);router[_0x8902('0xc')](_0x8902('0xd'),auth[_0x8902('0xa')](),controller[_0x8902('0xe')]);router[_0x8902('0xc')]('/:id',auth[_0x8902('0xa')](),controller['show']);router[_0x8902('0xf')]('/',auth[_0x8902('0xa')](),controller['create']);router[_0x8902('0x10')](_0x8902('0x11'),auth['isAuthenticated'](),controller[_0x8902('0x12')]);router[_0x8902('0x13')](_0x8902('0x11'),auth[_0x8902('0xa')](),controller[_0x8902('0x14')]);module['exports']=router;