Built motion from commit b5413ace.|2.6.9
[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 _0xa567=['multer','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','get','isAuthenticated','/describe','/:id','show','post','create','put','update'];(function(_0x4ec185,_0x14eaa8){var _0x436d50=function(_0x78aa03){while(--_0x78aa03){_0x4ec185['push'](_0x4ec185['shift']());}};_0x436d50(++_0x14eaa8);}(_0xa567,0x1b0));var _0x7a56=function(_0x18189f,_0x414e87){_0x18189f=_0x18189f-0x0;var _0x5944ce=_0xa567[_0x18189f];return _0x5944ce;};'use strict';var multer=require(_0x7a56('0x0'));var util=require('util');var path=require(_0x7a56('0x1'));var timeout=require(_0x7a56('0x2'));var express=require('express');var router=express[_0x7a56('0x3')]();var fs_extra=require(_0x7a56('0x4'));var auth=require(_0x7a56('0x5'));var interaction=require(_0x7a56('0x6'));var config=require(_0x7a56('0x7'));var controller=require(_0x7a56('0x8'));router[_0x7a56('0x9')]('/',auth[_0x7a56('0xa')](),controller['index']);router[_0x7a56('0x9')](_0x7a56('0xb'),auth['isAuthenticated'](),controller['describe']);router[_0x7a56('0x9')](_0x7a56('0xc'),auth[_0x7a56('0xa')](),controller[_0x7a56('0xd')]);router[_0x7a56('0xe')]('/',auth[_0x7a56('0xa')](),controller[_0x7a56('0xf')]);router[_0x7a56('0x10')]('/:id',auth[_0x7a56('0xa')](),controller[_0x7a56('0x11')]);router['delete'](_0x7a56('0xc'),auth[_0x7a56('0xa')](),controller['destroy']);module['exports']=router;