Built motion from commit 14588770.|2.5.38
[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 _0x97c8=['delete','destroy','exports','multer','util','path','connect-timeout','express','../../components/interaction/service','./chatTransferReport.controller','isAuthenticated','index','get','/describe','describe','/:id','show','post','put','update'];(function(_0x1ddedd,_0x485606){var _0xa3e1ac=function(_0x580444){while(--_0x580444){_0x1ddedd['push'](_0x1ddedd['shift']());}};_0xa3e1ac(++_0x485606);}(_0x97c8,0x1a7));var _0x897c=function(_0x403ca6,_0x24e284){_0x403ca6=_0x403ca6-0x0;var _0x4e0e05=_0x97c8[_0x403ca6];return _0x4e0e05;};'use strict';var multer=require(_0x897c('0x0'));var util=require(_0x897c('0x1'));var path=require(_0x897c('0x2'));var timeout=require(_0x897c('0x3'));var express=require(_0x897c('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x897c('0x5'));var config=require('../../config/environment');var controller=require(_0x897c('0x6'));router['get']('/',auth[_0x897c('0x7')](),controller[_0x897c('0x8')]);router[_0x897c('0x9')](_0x897c('0xa'),auth[_0x897c('0x7')](),controller[_0x897c('0xb')]);router[_0x897c('0x9')](_0x897c('0xc'),auth[_0x897c('0x7')](),controller[_0x897c('0xd')]);router[_0x897c('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0x897c('0xf')]('/:id',auth[_0x897c('0x7')](),controller[_0x897c('0x10')]);router[_0x897c('0x11')](_0x897c('0xc'),auth[_0x897c('0x7')](),controller[_0x897c('0x12')]);module[_0x897c('0x13')]=router;