48fa7c2afcb1bddfb848e25945598b092928c100
[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 _0x6ef9=['express','fs-extra','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','get','index','isAuthenticated','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout'];(function(_0x561248,_0x360e7c){var _0x58e857=function(_0x1ff481){while(--_0x1ff481){_0x561248['push'](_0x561248['shift']());}};_0x58e857(++_0x360e7c);}(_0x6ef9,0x122));var _0x96ef=function(_0x4ed1d4,_0x512d9a){_0x4ed1d4=_0x4ed1d4-0x0;var _0x28e363=_0x6ef9[_0x4ed1d4];return _0x28e363;};'use strict';var multer=require(_0x96ef('0x0'));var util=require(_0x96ef('0x1'));var path=require(_0x96ef('0x2'));var timeout=require(_0x96ef('0x3'));var express=require(_0x96ef('0x4'));var router=express['Router']();var fs_extra=require(_0x96ef('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x96ef('0x6'));var config=require(_0x96ef('0x7'));var controller=require(_0x96ef('0x8'));router[_0x96ef('0x9')]('/',auth['isAuthenticated'](),controller[_0x96ef('0xa')]);router[_0x96ef('0x9')]('/describe',auth[_0x96ef('0xb')](),controller['describe']);router[_0x96ef('0x9')](_0x96ef('0xc'),auth[_0x96ef('0xb')](),controller[_0x96ef('0xd')]);router[_0x96ef('0xe')]('/',auth[_0x96ef('0xb')](),controller[_0x96ef('0xf')]);router[_0x96ef('0x10')](_0x96ef('0xc'),auth['isAuthenticated'](),controller[_0x96ef('0x11')]);router[_0x96ef('0x12')]('/:id',auth[_0x96ef('0xb')](),controller[_0x96ef('0x13')]);module[_0x96ef('0x14')]=router;