Built motion from commit 9e1399f3.|2.5.37
[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 _0xaf49=['path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatTransferReport.controller','get','isAuthenticated','index','/describe','show','post','put','update','delete','/:id','destroy','exports','multer','util'];(function(_0x2a67fe,_0x295c09){var _0x57e726=function(_0x280573){while(--_0x280573){_0x2a67fe['push'](_0x2a67fe['shift']());}};_0x57e726(++_0x295c09);}(_0xaf49,0x1a0));var _0x9af4=function(_0x5bedbf,_0x114ef4){_0x5bedbf=_0x5bedbf-0x0;var _0x46288f=_0xaf49[_0x5bedbf];return _0x46288f;};'use strict';var multer=require(_0x9af4('0x0'));var util=require(_0x9af4('0x1'));var path=require(_0x9af4('0x2'));var timeout=require(_0x9af4('0x3'));var express=require('express');var router=express[_0x9af4('0x4')]();var fs_extra=require(_0x9af4('0x5'));var auth=require(_0x9af4('0x6'));var interaction=require(_0x9af4('0x7'));var config=require(_0x9af4('0x8'));var controller=require(_0x9af4('0x9'));router[_0x9af4('0xa')]('/',auth[_0x9af4('0xb')](),controller[_0x9af4('0xc')]);router[_0x9af4('0xa')](_0x9af4('0xd'),auth[_0x9af4('0xb')](),controller['describe']);router[_0x9af4('0xa')]('/:id',auth[_0x9af4('0xb')](),controller[_0x9af4('0xe')]);router[_0x9af4('0xf')]('/',auth[_0x9af4('0xb')](),controller['create']);router[_0x9af4('0x10')]('/:id',auth[_0x9af4('0xb')](),controller[_0x9af4('0x11')]);router[_0x9af4('0x12')](_0x9af4('0x13'),auth['isAuthenticated'](),controller[_0x9af4('0x14')]);module[_0x9af4('0x15')]=router;