Built motion from commit 97153652.|2.6.26
[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 _0xcf4c=['show','post','put','/:id','update','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatTransferReport.controller','get','isAuthenticated','index','/describe','describe'];(function(_0x216662,_0x211684){var _0xf6b3e=function(_0x1ee356){while(--_0x1ee356){_0x216662['push'](_0x216662['shift']());}};_0xf6b3e(++_0x211684);}(_0xcf4c,0x13b));var _0xccf4=function(_0x174cfc,_0x2b9617){_0x174cfc=_0x174cfc-0x0;var _0x81b2db=_0xcf4c[_0x174cfc];return _0x81b2db;};'use strict';var multer=require(_0xccf4('0x0'));var util=require(_0xccf4('0x1'));var path=require(_0xccf4('0x2'));var timeout=require(_0xccf4('0x3'));var express=require('express');var router=express[_0xccf4('0x4')]();var fs_extra=require(_0xccf4('0x5'));var auth=require(_0xccf4('0x6'));var interaction=require(_0xccf4('0x7'));var config=require(_0xccf4('0x8'));var controller=require(_0xccf4('0x9'));router[_0xccf4('0xa')]('/',auth[_0xccf4('0xb')](),controller[_0xccf4('0xc')]);router[_0xccf4('0xa')](_0xccf4('0xd'),auth[_0xccf4('0xb')](),controller[_0xccf4('0xe')]);router[_0xccf4('0xa')]('/:id',auth[_0xccf4('0xb')](),controller[_0xccf4('0xf')]);router[_0xccf4('0x10')]('/',auth['isAuthenticated'](),controller['create']);router[_0xccf4('0x11')](_0xccf4('0x12'),auth['isAuthenticated'](),controller[_0xccf4('0x13')]);router['delete'](_0xccf4('0x12'),auth['isAuthenticated'](),controller[_0xccf4('0x14')]);module[_0xccf4('0x15')]=router;