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 _0xbbc8=['get','isAuthenticated','/:id','post','create','put','update','delete','destroy','exports','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x553997,_0x46f7ac){var _0x425cad=function(_0x3abfe1){while(--_0x3abfe1){_0x553997['push'](_0x553997['shift']());}};_0x425cad(++_0x46f7ac);}(_0xbbc8,0x106));var _0x8bbc=function(_0x5d6d7d,_0x1f1ed8){_0x5d6d7d=_0x5d6d7d-0x0;var _0x2ad1a7=_0xbbc8[_0x5d6d7d];return _0x2ad1a7;};'use strict';var multer=require('multer');var util=require(_0x8bbc('0x0'));var path=require(_0x8bbc('0x1'));var timeout=require(_0x8bbc('0x2'));var express=require('express');var router=express[_0x8bbc('0x3')]();var fs_extra=require(_0x8bbc('0x4'));var auth=require(_0x8bbc('0x5'));var interaction=require(_0x8bbc('0x6'));var config=require(_0x8bbc('0x7'));var controller=require('./disposition.controller');router[_0x8bbc('0x8')]('/',auth[_0x8bbc('0x9')](),controller['index']);router['get'](_0x8bbc('0xa'),auth['isAuthenticated'](),controller['show']);router[_0x8bbc('0xb')]('/',auth[_0x8bbc('0x9')](),controller[_0x8bbc('0xc')]);router[_0x8bbc('0xd')](_0x8bbc('0xa'),auth['isAuthenticated'](),controller[_0x8bbc('0xe')]);router[_0x8bbc('0xf')](_0x8bbc('0xa'),auth[_0x8bbc('0x9')](),controller[_0x8bbc('0x10')]);module[_0x8bbc('0x11')]=router;