Built motion from commit d5e4af8c.|2.6.23
[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 _0xfcfc=['../../components/interaction/service','../../config/environment','./chatTransferReport.controller','index','get','/describe','isAuthenticated','describe','/:id','post','create','put','delete','destroy','exports','multer','util','connect-timeout','fs-extra','../../components/auth/service'];(function(_0x28bfba,_0x543076){var _0x1d6099=function(_0x2b3847){while(--_0x2b3847){_0x28bfba['push'](_0x28bfba['shift']());}};_0x1d6099(++_0x543076);}(_0xfcfc,0x1c7));var _0xcfcf=function(_0x2c2902,_0x75cdab){_0x2c2902=_0x2c2902-0x0;var _0x44ec3b=_0xfcfc[_0x2c2902];return _0x44ec3b;};'use strict';var multer=require(_0xcfcf('0x0'));var util=require(_0xcfcf('0x1'));var path=require('path');var timeout=require(_0xcfcf('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xcfcf('0x3'));var auth=require(_0xcfcf('0x4'));var interaction=require(_0xcfcf('0x5'));var config=require(_0xcfcf('0x6'));var controller=require(_0xcfcf('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0xcfcf('0x8')]);router[_0xcfcf('0x9')](_0xcfcf('0xa'),auth[_0xcfcf('0xb')](),controller[_0xcfcf('0xc')]);router[_0xcfcf('0x9')](_0xcfcf('0xd'),auth[_0xcfcf('0xb')](),controller['show']);router[_0xcfcf('0xe')]('/',auth[_0xcfcf('0xb')](),controller[_0xcfcf('0xf')]);router[_0xcfcf('0x10')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0xcfcf('0x11')](_0xcfcf('0xd'),auth[_0xcfcf('0xb')](),controller[_0xcfcf('0x12')]);module[_0xcfcf('0x13')]=router;