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 _0xd893=['/:id','isAuthenticated','post','create','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','get','index'];(function(_0x22aeeb,_0x30d63f){var _0x3a54f0=function(_0x2ecf1f){while(--_0x2ecf1f){_0x22aeeb['push'](_0x22aeeb['shift']());}};_0x3a54f0(++_0x30d63f);}(_0xd893,0xa6));var _0x3d89=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xd893[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0x3d89('0x0'));var util=require(_0x3d89('0x1'));var path=require(_0x3d89('0x2'));var timeout=require(_0x3d89('0x3'));var express=require(_0x3d89('0x4'));var router=express[_0x3d89('0x5')]();var auth=require(_0x3d89('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x3d89('0x7'));var controller=require('./disposition.controller');router[_0x3d89('0x8')]('/',auth['isAuthenticated'](),controller[_0x3d89('0x9')]);router['get'](_0x3d89('0xa'),auth[_0x3d89('0xb')](),controller['show']);router[_0x3d89('0xc')]('/',auth[_0x3d89('0xb')](),controller[_0x3d89('0xd')]);router['put'](_0x3d89('0xa'),auth[_0x3d89('0xb')](),controller['update']);router[_0x3d89('0xe')](_0x3d89('0xa'),auth[_0x3d89('0xb')](),controller['destroy']);module[_0x3d89('0xf')]=router;