Built motion from commit 26d08302.|2.6.31
[motion2.git] / server / api / voiceTransferReport / 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 _0xe14b=['post','create','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./voiceTransferReport.controller','isAuthenticated','index','get','describe','/:id','show'];(function(_0x4d57f9,_0x56531c){var _0xa35c5a=function(_0x2063a2){while(--_0x2063a2){_0x4d57f9['push'](_0x4d57f9['shift']());}};_0xa35c5a(++_0x56531c);}(_0xe14b,0xc3));var _0xbe14=function(_0x498894,_0x68a258){_0x498894=_0x498894-0x0;var _0x52243e=_0xe14b[_0x498894];return _0x52243e;};'use strict';var multer=require(_0xbe14('0x0'));var util=require('util');var path=require(_0xbe14('0x1'));var timeout=require(_0xbe14('0x2'));var express=require(_0xbe14('0x3'));var router=express[_0xbe14('0x4')]();var fs_extra=require(_0xbe14('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xbe14('0x6'));var config=require(_0xbe14('0x7'));var controller=require(_0xbe14('0x8'));router['get']('/',auth[_0xbe14('0x9')](),controller[_0xbe14('0xa')]);router[_0xbe14('0xb')]('/describe',auth[_0xbe14('0x9')](),controller[_0xbe14('0xc')]);router[_0xbe14('0xb')](_0xbe14('0xd'),auth[_0xbe14('0x9')](),controller[_0xbe14('0xe')]);router[_0xbe14('0xf')]('/',auth[_0xbe14('0x9')](),controller[_0xbe14('0x10')]);router['put'](_0xbe14('0xd'),auth[_0xbe14('0x9')](),controller[_0xbe14('0x11')]);router[_0xbe14('0x12')]('/:id',auth[_0xbe14('0x9')](),controller[_0xbe14('0x13')]);module[_0xbe14('0x14')]=router;