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