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 _0xa004=['express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout'];(function(_0x5b644e,_0x2e5e07){var _0x49c6bf=function(_0x3032d9){while(--_0x3032d9){_0x5b644e['push'](_0x5b644e['shift']());}};_0x49c6bf(++_0x2e5e07);}(_0xa004,0x65));var _0x4a00=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xa004[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x4a00('0x0'));var util=require(_0x4a00('0x1'));var path=require(_0x4a00('0x2'));var timeout=require(_0x4a00('0x3'));var express=require(_0x4a00('0x4'));var router=express[_0x4a00('0x5')]();var fs_extra=require(_0x4a00('0x6'));var auth=require(_0x4a00('0x7'));var interaction=require(_0x4a00('0x8'));var config=require('../../config/environment');var controller=require('./pause.controller');router[_0x4a00('0x9')]('/',auth[_0x4a00('0xa')](),controller[_0x4a00('0xb')]);router[_0x4a00('0x9')](_0x4a00('0xc'),auth[_0x4a00('0xa')](),controller[_0x4a00('0xd')]);router[_0x4a00('0xe')]('/',auth[_0x4a00('0xa')](),controller[_0x4a00('0xf')]);router[_0x4a00('0x10')](_0x4a00('0xc'),auth[_0x4a00('0xa')](),controller[_0x4a00('0x11')]);router[_0x4a00('0x12')](_0x4a00('0xc'),auth[_0x4a00('0xa')](),controller[_0x4a00('0x13')]);module[_0x4a00('0x14')]=router;