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 _0x84c6=['isAuthenticated','index','/:id','show','post','create','put','delete','destroy','exports','path','connect-timeout','express','../../components/auth/service','../../config/environment','./disposition.controller','get'];(function(_0x24061a,_0x1c9f4d){var _0x82054e=function(_0x2ec346){while(--_0x2ec346){_0x24061a['push'](_0x24061a['shift']());}};_0x82054e(++_0x1c9f4d);}(_0x84c6,0xe7));var _0x684c=function(_0x101f04,_0x214b09){_0x101f04=_0x101f04-0x0;var _0x5f60d0=_0x84c6[_0x101f04];return _0x5f60d0;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x684c('0x0'));var timeout=require(_0x684c('0x1'));var express=require(_0x684c('0x2'));var router=express['Router']();var auth=require(_0x684c('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x684c('0x4'));var controller=require(_0x684c('0x5'));router[_0x684c('0x6')]('/',auth[_0x684c('0x7')](),controller[_0x684c('0x8')]);router[_0x684c('0x6')](_0x684c('0x9'),auth[_0x684c('0x7')](),controller[_0x684c('0xa')]);router[_0x684c('0xb')]('/',auth['isAuthenticated'](),controller[_0x684c('0xc')]);router[_0x684c('0xd')]('/:id',auth[_0x684c('0x7')](),controller['update']);router[_0x684c('0xe')](_0x684c('0x9'),auth[_0x684c('0x7')](),controller[_0x684c('0xf')]);module[_0x684c('0x10')]=router;