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 _0xc0e8=['util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./pause.controller','get','index','/:id','isAuthenticated','show','create','put','update','delete','exports','multer'];(function(_0x39feca,_0x3d0782){var _0x26915f=function(_0x38806d){while(--_0x38806d){_0x39feca['push'](_0x39feca['shift']());}};_0x26915f(++_0x3d0782);}(_0xc0e8,0x1cb));var _0x8c0e=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xc0e8[_0xa464c9];return _0x3d73c4;};'use strict';var multer=require(_0x8c0e('0x0'));var util=require(_0x8c0e('0x1'));var path=require(_0x8c0e('0x2'));var timeout=require(_0x8c0e('0x3'));var express=require(_0x8c0e('0x4'));var router=express[_0x8c0e('0x5')]();var auth=require(_0x8c0e('0x6'));var interaction=require(_0x8c0e('0x7'));var config=require(_0x8c0e('0x8'));var controller=require(_0x8c0e('0x9'));router[_0x8c0e('0xa')]('/',auth['isAuthenticated'](),controller[_0x8c0e('0xb')]);router[_0x8c0e('0xa')](_0x8c0e('0xc'),auth[_0x8c0e('0xd')](),controller[_0x8c0e('0xe')]);router['post']('/',auth[_0x8c0e('0xd')](),controller[_0x8c0e('0xf')]);router[_0x8c0e('0x10')](_0x8c0e('0xc'),auth[_0x8c0e('0xd')](),controller[_0x8c0e('0x11')]);router[_0x8c0e('0x12')](_0x8c0e('0xc'),auth[_0x8c0e('0xd')](),controller['destroy']);module[_0x8c0e('0x13')]=router;