Built motion from commit 497d3d92.|2.5.43
[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 _0xbdae=['create','put','update','delete','destroy','exports','multer','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../config/environment','./voiceTransferReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show'];(function(_0x10a45d,_0x5981cc){var _0x24ede4=function(_0x3a2838){while(--_0x3a2838){_0x10a45d['push'](_0x10a45d['shift']());}};_0x24ede4(++_0x5981cc);}(_0xbdae,0xc3));var _0xebda=function(_0x2cc0fb,_0x2e7808){_0x2cc0fb=_0x2cc0fb-0x0;var _0x567fbd=_0xbdae[_0x2cc0fb];return _0x567fbd;};'use strict';var multer=require(_0xebda('0x0'));var util=require('util');var path=require(_0xebda('0x1'));var timeout=require(_0xebda('0x2'));var express=require('express');var router=express[_0xebda('0x3')]();var fs_extra=require(_0xebda('0x4'));var auth=require(_0xebda('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xebda('0x6'));var controller=require(_0xebda('0x7'));router[_0xebda('0x8')]('/',auth['isAuthenticated'](),controller[_0xebda('0x9')]);router[_0xebda('0x8')](_0xebda('0xa'),auth[_0xebda('0xb')](),controller[_0xebda('0xc')]);router['get'](_0xebda('0xd'),auth[_0xebda('0xb')](),controller[_0xebda('0xe')]);router['post']('/',auth['isAuthenticated'](),controller[_0xebda('0xf')]);router[_0xebda('0x10')]('/:id',auth['isAuthenticated'](),controller[_0xebda('0x11')]);router[_0xebda('0x12')](_0xebda('0xd'),auth[_0xebda('0xb')](),controller[_0xebda('0x13')]);module[_0xebda('0x14')]=router;