Built motion from commit d1eab355.|2.6.28
[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 _0x034e=['util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','get','isAuthenticated','describe','/:id','show','create','put','update','delete','destroy','multer'];(function(_0x3091d6,_0x52afe4){var _0x47b9d4=function(_0x543df6){while(--_0x543df6){_0x3091d6['push'](_0x3091d6['shift']());}};_0x47b9d4(++_0x52afe4);}(_0x034e,0x71));var _0xe034=function(_0x3fa5c2,_0x51eec9){_0x3fa5c2=_0x3fa5c2-0x0;var _0x56cb92=_0x034e[_0x3fa5c2];return _0x56cb92;};'use strict';var multer=require(_0xe034('0x0'));var util=require(_0xe034('0x1'));var path=require('path');var timeout=require(_0xe034('0x2'));var express=require(_0xe034('0x3'));var router=express[_0xe034('0x4')]();var fs_extra=require(_0xe034('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xe034('0x6'));var config=require(_0xe034('0x7'));var controller=require(_0xe034('0x8'));router[_0xe034('0x9')]('/',auth[_0xe034('0xa')](),controller['index']);router[_0xe034('0x9')]('/describe',auth[_0xe034('0xa')](),controller[_0xe034('0xb')]);router[_0xe034('0x9')](_0xe034('0xc'),auth[_0xe034('0xa')](),controller[_0xe034('0xd')]);router['post']('/',auth[_0xe034('0xa')](),controller[_0xe034('0xe')]);router[_0xe034('0xf')](_0xe034('0xc'),auth[_0xe034('0xa')](),controller[_0xe034('0x10')]);router[_0xe034('0x11')](_0xe034('0xc'),auth['isAuthenticated'](),controller[_0xe034('0x12')]);module['exports']=router;