fc5747a26e7e7a9281b907726c8430f51d5e8d3f
[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 _0xd198=['show','post','create','put','/:id','update','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','isAuthenticated','index','get','/describe'];(function(_0x1d1779,_0x284147){var _0x2377e9=function(_0x299f6f){while(--_0x299f6f){_0x1d1779['push'](_0x1d1779['shift']());}};_0x2377e9(++_0x284147);}(_0xd198,0xf9));var _0x8d19=function(_0x355f95,_0x369c0b){_0x355f95=_0x355f95-0x0;var _0x5e5db5=_0xd198[_0x355f95];return _0x5e5db5;};'use strict';var multer=require(_0x8d19('0x0'));var util=require(_0x8d19('0x1'));var path=require(_0x8d19('0x2'));var timeout=require(_0x8d19('0x3'));var express=require(_0x8d19('0x4'));var router=express[_0x8d19('0x5')]();var fs_extra=require(_0x8d19('0x6'));var auth=require(_0x8d19('0x7'));var interaction=require(_0x8d19('0x8'));var config=require(_0x8d19('0x9'));var controller=require(_0x8d19('0xa'));router['get']('/',auth[_0x8d19('0xb')](),controller[_0x8d19('0xc')]);router[_0x8d19('0xd')](_0x8d19('0xe'),auth[_0x8d19('0xb')](),controller['describe']);router['get']('/:id',auth[_0x8d19('0xb')](),controller[_0x8d19('0xf')]);router[_0x8d19('0x10')]('/',auth[_0x8d19('0xb')](),controller[_0x8d19('0x11')]);router[_0x8d19('0x12')](_0x8d19('0x13'),auth[_0x8d19('0xb')](),controller[_0x8d19('0x14')]);router['delete']('/:id',auth[_0x8d19('0xb')](),controller['destroy']);module[_0x8d19('0x15')]=router;