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 _0x518f=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','post','create','put','/:id','delete','destroy','exports','util','path','connect-timeout'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x518f,0x12f));var _0xf518=function(_0x175a55,_0x4082fd){_0x175a55=_0x175a55-0x0;var _0x167adf=_0x518f[_0x175a55];return _0x167adf;};'use strict';var multer=require('multer');var util=require(_0xf518('0x0'));var path=require(_0xf518('0x1'));var timeout=require(_0xf518('0x2'));var express=require('express');var router=express[_0xf518('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xf518('0x4'));var interaction=require(_0xf518('0x5'));var config=require(_0xf518('0x6'));var controller=require('./pause.controller');router[_0xf518('0x7')]('/',auth[_0xf518('0x8')](),controller[_0xf518('0x9')]);router[_0xf518('0x7')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0xf518('0xa')]('/',auth[_0xf518('0x8')](),controller[_0xf518('0xb')]);router[_0xf518('0xc')](_0xf518('0xd'),auth[_0xf518('0x8')](),controller['update']);router[_0xf518('0xe')](_0xf518('0xd'),auth[_0xf518('0x8')](),controller[_0xf518('0xf')]);module[_0xf518('0x10')]=router;