Built motion from commit 10af8726.|2.6.34
[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 _0x318f=['exports','multer','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./chatTransferReport.controller','get','isAuthenticated','index','/:id','show','create','update','delete','destroy'];(function(_0x4fbcf7,_0xb754de){var _0x327bec=function(_0xdcb1c4){while(--_0xdcb1c4){_0x4fbcf7['push'](_0x4fbcf7['shift']());}};_0x327bec(++_0xb754de);}(_0x318f,0x100));var _0xf318=function(_0x501c3e,_0x217859){_0x501c3e=_0x501c3e-0x0;var _0x3384a9=_0x318f[_0x501c3e];return _0x3384a9;};'use strict';var multer=require(_0xf318('0x0'));var util=require('util');var path=require(_0xf318('0x1'));var timeout=require(_0xf318('0x2'));var express=require('express');var router=express[_0xf318('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xf318('0x4'));var interaction=require(_0xf318('0x5'));var config=require('../../config/environment');var controller=require(_0xf318('0x6'));router[_0xf318('0x7')]('/',auth[_0xf318('0x8')](),controller[_0xf318('0x9')]);router[_0xf318('0x7')]('/describe',auth['isAuthenticated'](),controller['describe']);router['get'](_0xf318('0xa'),auth[_0xf318('0x8')](),controller[_0xf318('0xb')]);router['post']('/',auth[_0xf318('0x8')](),controller[_0xf318('0xc')]);router['put'](_0xf318('0xa'),auth[_0xf318('0x8')](),controller[_0xf318('0xd')]);router[_0xf318('0xe')]('/:id',auth[_0xf318('0x8')](),controller[_0xf318('0xf')]);module[_0xf318('0x10')]=router;