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 _0x376a=['show','post','create','put','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./disposition.controller','get','/:id','isAuthenticated'];(function(_0x5b5960,_0x2bab09){var _0x16b671=function(_0x430f0b){while(--_0x430f0b){_0x5b5960['push'](_0x5b5960['shift']());}};_0x16b671(++_0x2bab09);}(_0x376a,0x6c));var _0xa376=function(_0x2792c3,_0x26368c){_0x2792c3=_0x2792c3-0x0;var _0x11a984=_0x376a[_0x2792c3];return _0x11a984;};'use strict';var multer=require(_0xa376('0x0'));var util=require('util');var path=require(_0xa376('0x1'));var timeout=require(_0xa376('0x2'));var express=require(_0xa376('0x3'));var router=express[_0xa376('0x4')]();var auth=require(_0xa376('0x5'));var interaction=require(_0xa376('0x6'));var config=require(_0xa376('0x7'));var controller=require(_0xa376('0x8'));router[_0xa376('0x9')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0xa376('0xa'),auth[_0xa376('0xb')](),controller[_0xa376('0xc')]);router[_0xa376('0xd')]('/',auth[_0xa376('0xb')](),controller[_0xa376('0xe')]);router[_0xa376('0xf')]('/:id',auth[_0xa376('0xb')](),controller[_0xa376('0x10')]);router[_0xa376('0x11')](_0xa376('0xa'),auth[_0xa376('0xb')](),controller[_0xa376('0x12')]);module[_0xa376('0x13')]=router;