Built motion from commit 47436d59.|2.6.7
[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 _0x22fa=['../../components/auth/service','./chatTransferReport.controller','get','isAuthenticated','/describe','/:id','show','post','create','put','destroy','util','path','express'];(function(_0x4cf98e,_0xba4b79){var _0x1623ac=function(_0x459bc0){while(--_0x459bc0){_0x4cf98e['push'](_0x4cf98e['shift']());}};_0x1623ac(++_0xba4b79);}(_0x22fa,0x1cb));var _0xa22f=function(_0x525d18,_0x28770d){_0x525d18=_0x525d18-0x0;var _0x2cb12e=_0x22fa[_0x525d18];return _0x2cb12e;};'use strict';var multer=require('multer');var util=require(_0xa22f('0x0'));var path=require(_0xa22f('0x1'));var timeout=require('connect-timeout');var express=require(_0xa22f('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xa22f('0x3'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xa22f('0x4'));router[_0xa22f('0x5')]('/',auth[_0xa22f('0x6')](),controller['index']);router[_0xa22f('0x5')](_0xa22f('0x7'),auth[_0xa22f('0x6')](),controller['describe']);router[_0xa22f('0x5')](_0xa22f('0x8'),auth[_0xa22f('0x6')](),controller[_0xa22f('0x9')]);router[_0xa22f('0xa')]('/',auth[_0xa22f('0x6')](),controller[_0xa22f('0xb')]);router[_0xa22f('0xc')]('/:id',auth[_0xa22f('0x6')](),controller['update']);router['delete'](_0xa22f('0x8'),auth[_0xa22f('0x6')](),controller[_0xa22f('0xd')]);module['exports']=router;