Built motion from commit 511216ff.|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 _0x4af1=['util','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','/:id','show','create','put','destroy','exports','multer'];(function(_0x31e29a,_0x349c9b){var _0x32d892=function(_0x41cc86){while(--_0x41cc86){_0x31e29a['push'](_0x31e29a['shift']());}};_0x32d892(++_0x349c9b);}(_0x4af1,0x179));var _0x14af=function(_0x580239,_0x135bfc){_0x580239=_0x580239-0x0;var _0x31993c=_0x4af1[_0x580239];return _0x31993c;};'use strict';var multer=require(_0x14af('0x0'));var util=require(_0x14af('0x1'));var path=require('path');var timeout=require(_0x14af('0x2'));var express=require(_0x14af('0x3'));var router=express['Router']();var fs_extra=require(_0x14af('0x4'));var auth=require(_0x14af('0x5'));var interaction=require(_0x14af('0x6'));var config=require(_0x14af('0x7'));var controller=require('./openchannelTransferReport.controller');router[_0x14af('0x8')]('/',auth[_0x14af('0x9')](),controller[_0x14af('0xa')]);router[_0x14af('0x8')]('/describe',auth[_0x14af('0x9')](),controller[_0x14af('0xb')]);router[_0x14af('0x8')](_0x14af('0xc'),auth[_0x14af('0x9')](),controller[_0x14af('0xd')]);router['post']('/',auth[_0x14af('0x9')](),controller[_0x14af('0xe')]);router[_0x14af('0xf')]('/:id',auth[_0x14af('0x9')](),controller['update']);router['delete'](_0x14af('0xc'),auth[_0x14af('0x9')](),controller[_0x14af('0x10')]);module[_0x14af('0x11')]=router;