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 _0x34be=['util','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/:id','show','post','create','put','isAuthenticated','update','delete','exports','multer'];(function(_0x3855fd,_0x26003f){var _0x226a53=function(_0x14186f){while(--_0x14186f){_0x3855fd['push'](_0x3855fd['shift']());}};_0x226a53(++_0x26003f);}(_0x34be,0x143));var _0xe34b=function(_0x102f97,_0x5bda2f){_0x102f97=_0x102f97-0x0;var _0xd22058=_0x34be[_0x102f97];return _0xd22058;};'use strict';var multer=require(_0xe34b('0x0'));var util=require(_0xe34b('0x1'));var path=require(_0xe34b('0x2'));var timeout=require('connect-timeout');var express=require(_0xe34b('0x3'));var router=express['Router']();var auth=require(_0xe34b('0x4'));var interaction=require(_0xe34b('0x5'));var config=require(_0xe34b('0x6'));var controller=require('./disposition.controller');router[_0xe34b('0x7')]('/',auth['isAuthenticated'](),controller[_0xe34b('0x8')]);router[_0xe34b('0x7')](_0xe34b('0x9'),auth['isAuthenticated'](),controller[_0xe34b('0xa')]);router[_0xe34b('0xb')]('/',auth['isAuthenticated'](),controller[_0xe34b('0xc')]);router[_0xe34b('0xd')](_0xe34b('0x9'),auth[_0xe34b('0xe')](),controller[_0xe34b('0xf')]);router[_0xe34b('0x10')](_0xe34b('0x9'),auth[_0xe34b('0xe')](),controller['destroy']);module[_0xe34b('0x11')]=router;