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 _0x5fc5=['path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','index','get','/:id','show','post','isAuthenticated','update','delete','destroy','exports','multer','util'];(function(_0x47316e,_0x5d229d){var _0x49c653=function(_0x5bbe85){while(--_0x5bbe85){_0x47316e['push'](_0x47316e['shift']());}};_0x49c653(++_0x5d229d);}(_0x5fc5,0x1d2));var _0x55fc=function(_0x50d8e5,_0x5569e0){_0x50d8e5=_0x50d8e5-0x0;var _0x2fd68a=_0x5fc5[_0x50d8e5];return _0x2fd68a;};'use strict';var multer=require(_0x55fc('0x0'));var util=require(_0x55fc('0x1'));var path=require(_0x55fc('0x2'));var timeout=require(_0x55fc('0x3'));var express=require('express');var router=express[_0x55fc('0x4')]();var auth=require(_0x55fc('0x5'));var interaction=require(_0x55fc('0x6'));var config=require(_0x55fc('0x7'));var controller=require('./pause.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x55fc('0x8')]);router[_0x55fc('0x9')](_0x55fc('0xa'),auth['isAuthenticated'](),controller[_0x55fc('0xb')]);router[_0x55fc('0xc')]('/',auth[_0x55fc('0xd')](),controller['create']);router['put'](_0x55fc('0xa'),auth[_0x55fc('0xd')](),controller[_0x55fc('0xe')]);router[_0x55fc('0xf')](_0x55fc('0xa'),auth[_0x55fc('0xd')](),controller[_0x55fc('0x10')]);module[_0x55fc('0x11')]=router;