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 _0xfd63=['put','update','delete','exports','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./disposition.controller','get','isAuthenticated','/:id','show','create'];(function(_0x2f23c6,_0x8eacbc){var _0x12e26a=function(_0x2b2b4b){while(--_0x2b2b4b){_0x2f23c6['push'](_0x2f23c6['shift']());}};_0x12e26a(++_0x8eacbc);}(_0xfd63,0x1be));var _0x3fd6=function(_0x1f353,_0x339af6){_0x1f353=_0x1f353-0x0;var _0x50c098=_0xfd63[_0x1f353];return _0x50c098;};'use strict';var multer=require(_0x3fd6('0x0'));var util=require(_0x3fd6('0x1'));var path=require('path');var timeout=require(_0x3fd6('0x2'));var express=require(_0x3fd6('0x3'));var router=express['Router']();var auth=require(_0x3fd6('0x4'));var interaction=require(_0x3fd6('0x5'));var config=require(_0x3fd6('0x6'));var controller=require(_0x3fd6('0x7'));router[_0x3fd6('0x8')]('/',auth[_0x3fd6('0x9')](),controller['index']);router[_0x3fd6('0x8')](_0x3fd6('0xa'),auth[_0x3fd6('0x9')](),controller[_0x3fd6('0xb')]);router['post']('/',auth['isAuthenticated'](),controller[_0x3fd6('0xc')]);router[_0x3fd6('0xd')](_0x3fd6('0xa'),auth[_0x3fd6('0x9')](),controller[_0x3fd6('0xe')]);router[_0x3fd6('0xf')](_0x3fd6('0xa'),auth[_0x3fd6('0x9')](),controller['destroy']);module[_0x3fd6('0x10')]=router;