Built motion from commit da617fac.|2.6.6
[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 _0x48fc=['index','/describe','isAuthenticated','describe','/:id','show','post','put','update','delete','destroy','exports','multer','path','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','./voiceTransferReport.controller','get'];(function(_0x2ac04c,_0x773cd7){var _0x40e941=function(_0x8af020){while(--_0x8af020){_0x2ac04c['push'](_0x2ac04c['shift']());}};_0x40e941(++_0x773cd7);}(_0x48fc,0xf3));var _0xc48f=function(_0x5b2856,_0x5be399){_0x5b2856=_0x5b2856-0x0;var _0x20999e=_0x48fc[_0x5b2856];return _0x20999e;};'use strict';var multer=require(_0xc48f('0x0'));var util=require('util');var path=require(_0xc48f('0x1'));var timeout=require(_0xc48f('0x2'));var express=require('express');var router=express[_0xc48f('0x3')]();var fs_extra=require(_0xc48f('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xc48f('0x5'));var config=require(_0xc48f('0x6'));var controller=require(_0xc48f('0x7'));router[_0xc48f('0x8')]('/',auth['isAuthenticated'](),controller[_0xc48f('0x9')]);router[_0xc48f('0x8')](_0xc48f('0xa'),auth[_0xc48f('0xb')](),controller[_0xc48f('0xc')]);router[_0xc48f('0x8')](_0xc48f('0xd'),auth[_0xc48f('0xb')](),controller[_0xc48f('0xe')]);router[_0xc48f('0xf')]('/',auth[_0xc48f('0xb')](),controller['create']);router[_0xc48f('0x10')]('/:id',auth['isAuthenticated'](),controller[_0xc48f('0x11')]);router[_0xc48f('0x12')]('/:id',auth[_0xc48f('0xb')](),controller[_0xc48f('0x13')]);module[_0xc48f('0x14')]=router;