Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / voiceChanSpy / 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 _0xdbcd=['update','delete','util','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','isAuthenticated','index','get','/:id','show','post','create','put'];(function(_0x44a046,_0xbb45c2){var _0x517862=function(_0x1e7650){while(--_0x1e7650){_0x44a046['push'](_0x44a046['shift']());}};_0x517862(++_0xbb45c2);}(_0xdbcd,0x1bc));var _0xddbc=function(_0x33845e,_0x75167c){_0x33845e=_0x33845e-0x0;var _0x4c770f=_0xdbcd[_0x33845e];return _0x4c770f;};'use strict';var multer=require('multer');var util=require(_0xddbc('0x0'));var path=require('path');var timeout=require(_0xddbc('0x1'));var express=require(_0xddbc('0x2'));var router=express[_0xddbc('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xddbc('0x4'));var config=require(_0xddbc('0x5'));var controller=require(_0xddbc('0x6'));router['get']('/',auth[_0xddbc('0x7')](),controller[_0xddbc('0x8')]);router[_0xddbc('0x9')](_0xddbc('0xa'),auth[_0xddbc('0x7')](),controller[_0xddbc('0xb')]);router[_0xddbc('0xc')]('/',auth[_0xddbc('0x7')](),controller[_0xddbc('0xd')]);router[_0xddbc('0xe')](_0xddbc('0xa'),auth[_0xddbc('0x7')](),controller[_0xddbc('0xf')]);router[_0xddbc('0x10')]('/:id',auth[_0xddbc('0x7')](),controller['destroy']);module['exports']=router;