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 _0x868f=['../../components/auth/service','../../config/environment','get','isAuthenticated','index','/:id','post','update','delete','multer','util','path','connect-timeout','express'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0x868f,0x1bb));var _0xf868=function(_0x3c1e77,_0x40bf23){_0x3c1e77=_0x3c1e77-0x0;var _0x5625ea=_0x868f[_0x3c1e77];return _0x5625ea;};'use strict';var multer=require(_0xf868('0x0'));var util=require(_0xf868('0x1'));var path=require(_0xf868('0x2'));var timeout=require(_0xf868('0x3'));var express=require(_0xf868('0x4'));var router=express['Router']();var auth=require(_0xf868('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xf868('0x6'));var controller=require('./pause.controller');router[_0xf868('0x7')]('/',auth[_0xf868('0x8')](),controller[_0xf868('0x9')]);router[_0xf868('0x7')](_0xf868('0xa'),auth[_0xf868('0x8')](),controller['show']);router[_0xf868('0xb')]('/',auth['isAuthenticated'](),controller['create']);router['put'](_0xf868('0xa'),auth[_0xf868('0x8')](),controller[_0xf868('0xc')]);router[_0xf868('0xd')](_0xf868('0xa'),auth[_0xf868('0x8')](),controller['destroy']);module['exports']=router;