4a9c2fb234c29951d8714af39da526080bd1beca
[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 _0x582d=['get','isAuthenticated','index','/describe','describe','/:id','show','put','delete','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./chatTransferReport.controller'];(function(_0x1ed010,_0x734e0b){var _0x6e22bf=function(_0x1ffe15){while(--_0x1ffe15){_0x1ed010['push'](_0x1ed010['shift']());}};_0x6e22bf(++_0x734e0b);}(_0x582d,0x14a));var _0xd582=function(_0x52218a,_0x587646){_0x52218a=_0x52218a-0x0;var _0x280950=_0x582d[_0x52218a];return _0x280950;};'use strict';var multer=require(_0xd582('0x0'));var util=require(_0xd582('0x1'));var path=require(_0xd582('0x2'));var timeout=require(_0xd582('0x3'));var express=require(_0xd582('0x4'));var router=express[_0xd582('0x5')]();var fs_extra=require(_0xd582('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xd582('0x7'));var config=require(_0xd582('0x8'));var controller=require(_0xd582('0x9'));router[_0xd582('0xa')]('/',auth[_0xd582('0xb')](),controller[_0xd582('0xc')]);router[_0xd582('0xa')](_0xd582('0xd'),auth[_0xd582('0xb')](),controller[_0xd582('0xe')]);router[_0xd582('0xa')](_0xd582('0xf'),auth[_0xd582('0xb')](),controller[_0xd582('0x10')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0xd582('0x11')](_0xd582('0xf'),auth[_0xd582('0xb')](),controller['update']);router[_0xd582('0x12')](_0xd582('0xf'),auth[_0xd582('0xb')](),controller['destroy']);module[_0xd582('0x13')]=router;