Built motion from commit 9d0783e6.|2.6.13
[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 _0xd149=['exports','multer','util','connect-timeout','../../config/environment','./chatTransferReport.controller','isAuthenticated','index','get','/describe','describe','/:id','show','post','delete','destroy'];(function(_0x3b3bbc,_0x5c0e75){var _0x32d1f2=function(_0x449c0b){while(--_0x449c0b){_0x3b3bbc['push'](_0x3b3bbc['shift']());}};_0x32d1f2(++_0x5c0e75);}(_0xd149,0x1d1));var _0x9d14=function(_0xfa634c,_0x414e0e){_0xfa634c=_0xfa634c-0x0;var _0x73e478=_0xd149[_0xfa634c];return _0x73e478;};'use strict';var multer=require(_0x9d14('0x0'));var util=require(_0x9d14('0x1'));var path=require('path');var timeout=require(_0x9d14('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x9d14('0x3'));var controller=require(_0x9d14('0x4'));router['get']('/',auth[_0x9d14('0x5')](),controller[_0x9d14('0x6')]);router[_0x9d14('0x7')](_0x9d14('0x8'),auth[_0x9d14('0x5')](),controller[_0x9d14('0x9')]);router['get'](_0x9d14('0xa'),auth[_0x9d14('0x5')](),controller[_0x9d14('0xb')]);router[_0x9d14('0xc')]('/',auth[_0x9d14('0x5')](),controller['create']);router['put'](_0x9d14('0xa'),auth[_0x9d14('0x5')](),controller['update']);router[_0x9d14('0xd')](_0x9d14('0xa'),auth['isAuthenticated'](),controller[_0x9d14('0xe')]);module[_0x9d14('0xf')]=router;