Built motion from commit 449495f6.|2.6.27
[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 _0xa35b=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','get','index','/describe','/:id','isAuthenticated','show','put','update','delete','destroy','multer','path','express'];(function(_0x1a6399,_0x437d38){var _0x3a42d1=function(_0xeacda1){while(--_0xeacda1){_0x1a6399['push'](_0x1a6399['shift']());}};_0x3a42d1(++_0x437d38);}(_0xa35b,0x179));var _0xba35=function(_0x4a9fb1,_0x273043){_0x4a9fb1=_0x4a9fb1-0x0;var _0x348672=_0xa35b[_0x4a9fb1];return _0x348672;};'use strict';var multer=require(_0xba35('0x0'));var util=require('util');var path=require(_0xba35('0x1'));var timeout=require('connect-timeout');var express=require(_0xba35('0x2'));var router=express[_0xba35('0x3')]();var fs_extra=require(_0xba35('0x4'));var auth=require(_0xba35('0x5'));var interaction=require(_0xba35('0x6'));var config=require(_0xba35('0x7'));var controller=require(_0xba35('0x8'));router[_0xba35('0x9')]('/',auth['isAuthenticated'](),controller[_0xba35('0xa')]);router[_0xba35('0x9')](_0xba35('0xb'),auth['isAuthenticated'](),controller['describe']);router[_0xba35('0x9')](_0xba35('0xc'),auth[_0xba35('0xd')](),controller[_0xba35('0xe')]);router['post']('/',auth[_0xba35('0xd')](),controller['create']);router[_0xba35('0xf')](_0xba35('0xc'),auth[_0xba35('0xd')](),controller[_0xba35('0x10')]);router[_0xba35('0x11')](_0xba35('0xc'),auth[_0xba35('0xd')](),controller[_0xba35('0x12')]);module['exports']=router;