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 _0x1a77=['../../config/environment','./pause.controller','get','isAuthenticated','index','/:id','post','create','put','update','delete','destroy','exports','util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0xe9bf6d,_0x47ad0c){var _0x498165=function(_0x6f4882){while(--_0x6f4882){_0xe9bf6d['push'](_0xe9bf6d['shift']());}};_0x498165(++_0x47ad0c);}(_0x1a77,0x150));var _0x71a7=function(_0x48c324,_0x274224){_0x48c324=_0x48c324-0x0;var _0x54d444=_0x1a77[_0x48c324];return _0x54d444;};'use strict';var multer=require('multer');var util=require(_0x71a7('0x0'));var path=require(_0x71a7('0x1'));var timeout=require(_0x71a7('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x71a7('0x3'));var auth=require(_0x71a7('0x4'));var interaction=require(_0x71a7('0x5'));var config=require(_0x71a7('0x6'));var controller=require(_0x71a7('0x7'));router[_0x71a7('0x8')]('/',auth[_0x71a7('0x9')](),controller[_0x71a7('0xa')]);router[_0x71a7('0x8')](_0x71a7('0xb'),auth[_0x71a7('0x9')](),controller['show']);router[_0x71a7('0xc')]('/',auth[_0x71a7('0x9')](),controller[_0x71a7('0xd')]);router[_0x71a7('0xe')](_0x71a7('0xb'),auth[_0x71a7('0x9')](),controller[_0x71a7('0xf')]);router[_0x71a7('0x10')](_0x71a7('0xb'),auth[_0x71a7('0x9')](),controller[_0x71a7('0x11')]);module[_0x71a7('0x12')]=router;