1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x6057=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./pause.controller','get','index','/:id','isAuthenticated','show','post','create','update','delete','destroy','multer','path','express','Router'];(function(_0x2cf7dd,_0x26172a){var _0x20450a=function(_0x37696e){while(--_0x37696e){_0x2cf7dd['push'](_0x2cf7dd['shift']());}};_0x20450a(++_0x26172a);}(_0x6057,0x12c));var _0x7605=function(_0x541260,_0x4c7f2e){_0x541260=_0x541260-0x0;var _0x1dd2b5=_0x6057[_0x541260];return _0x1dd2b5;};'use strict';var multer=require(_0x7605('0x0'));var util=require('util');var path=require(_0x7605('0x1'));var timeout=require('connect-timeout');var express=require(_0x7605('0x2'));var router=express[_0x7605('0x3')]();var fs_extra=require(_0x7605('0x4'));var auth=require(_0x7605('0x5'));var interaction=require(_0x7605('0x6'));var config=require(_0x7605('0x7'));var controller=require(_0x7605('0x8'));router[_0x7605('0x9')]('/',auth['isAuthenticated'](),controller[_0x7605('0xa')]);router[_0x7605('0x9')](_0x7605('0xb'),auth[_0x7605('0xc')](),controller[_0x7605('0xd')]);router[_0x7605('0xe')]('/',auth[_0x7605('0xc')](),controller[_0x7605('0xf')]);router['put'](_0x7605('0xb'),auth[_0x7605('0xc')](),controller[_0x7605('0x10')]);router[_0x7605('0x11')](_0x7605('0xb'),auth[_0x7605('0xc')](),controller[_0x7605('0x12')]);module['exports']=router;