8b7139ab9589d1cbae64fd244cfc23329e707aaa
[motion2.git] / server / api / chatTransferReport / 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 _0x3c11=['exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./chatTransferReport.controller','get','isAuthenticated','index','/describe','create','put','/:id','destroy'];(function(_0x204836,_0x34d172){var _0x335884=function(_0x4e8e65){while(--_0x4e8e65){_0x204836['push'](_0x204836['shift']());}};_0x335884(++_0x34d172);}(_0x3c11,0x144));var _0x13c1=function(_0x5481de,_0xb30074){_0x5481de=_0x5481de-0x0;var _0x3f3071=_0x3c11[_0x5481de];return _0x3f3071;};'use strict';var multer=require('multer');var util=require(_0x13c1('0x0'));var path=require(_0x13c1('0x1'));var timeout=require(_0x13c1('0x2'));var express=require(_0x13c1('0x3'));var router=express[_0x13c1('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x13c1('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x13c1('0x6'));var controller=require(_0x13c1('0x7'));router[_0x13c1('0x8')]('/',auth[_0x13c1('0x9')](),controller[_0x13c1('0xa')]);router[_0x13c1('0x8')](_0x13c1('0xb'),auth['isAuthenticated'](),controller['describe']);router[_0x13c1('0x8')]('/:id',auth[_0x13c1('0x9')](),controller['show']);router['post']('/',auth[_0x13c1('0x9')](),controller[_0x13c1('0xc')]);router[_0x13c1('0xd')](_0x13c1('0xe'),auth[_0x13c1('0x9')](),controller['update']);router['delete']('/:id',auth[_0x13c1('0x9')](),controller[_0x13c1('0xf')]);module[_0x13c1('0x10')]=router;