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 _0xa997=['get','isAuthenticated','show','post','create','put','/:id','update','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./pause.controller'];(function(_0xb0f7c3,_0x4eae95){var _0x28ea68=function(_0x4395a7){while(--_0x4395a7){_0xb0f7c3['push'](_0xb0f7c3['shift']());}};_0x28ea68(++_0x4eae95);}(_0xa997,0x13b));var _0x7a99=function(_0x12012d,_0x46e1f6){_0x12012d=_0x12012d-0x0;var _0x2ccaf1=_0xa997[_0x12012d];return _0x2ccaf1;};'use strict';var multer=require(_0x7a99('0x0'));var util=require(_0x7a99('0x1'));var path=require(_0x7a99('0x2'));var timeout=require(_0x7a99('0x3'));var express=require(_0x7a99('0x4'));var router=express[_0x7a99('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0x7a99('0x6'));var config=require(_0x7a99('0x7'));var controller=require(_0x7a99('0x8'));router[_0x7a99('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0x7a99('0x9')]('/:id',auth[_0x7a99('0xa')](),controller[_0x7a99('0xb')]);router[_0x7a99('0xc')]('/',auth[_0x7a99('0xa')](),controller[_0x7a99('0xd')]);router[_0x7a99('0xe')](_0x7a99('0xf'),auth[_0x7a99('0xa')](),controller[_0x7a99('0x10')]);router['delete']('/:id',auth[_0x7a99('0xa')](),controller['destroy']);module[_0x7a99('0x11')]=router;