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 _0xfe91=['index','/:id','post','isAuthenticated','put','update','delete','destroy','multer','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./disposition.controller','get'];(function(_0x32f7dc,_0x15c2d3){var _0x1ffc6a=function(_0x5557b7){while(--_0x5557b7){_0x32f7dc['push'](_0x32f7dc['shift']());}};_0x1ffc6a(++_0x15c2d3);}(_0xfe91,0xd4));var _0x1fe9=function(_0x1bb58c,_0x2c8a4d){_0x1bb58c=_0x1bb58c-0x0;var _0x277586=_0xfe91[_0x1bb58c];return _0x277586;};'use strict';var multer=require(_0x1fe9('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x1fe9('0x1'));var express=require('express');var router=express[_0x1fe9('0x2')]();var fs_extra=require(_0x1fe9('0x3'));var auth=require(_0x1fe9('0x4'));var interaction=require(_0x1fe9('0x5'));var config=require(_0x1fe9('0x6'));var controller=require(_0x1fe9('0x7'));router[_0x1fe9('0x8')]('/',auth['isAuthenticated'](),controller[_0x1fe9('0x9')]);router[_0x1fe9('0x8')](_0x1fe9('0xa'),auth['isAuthenticated'](),controller['show']);router[_0x1fe9('0xb')]('/',auth[_0x1fe9('0xc')](),controller['create']);router[_0x1fe9('0xd')](_0x1fe9('0xa'),auth[_0x1fe9('0xc')](),controller[_0x1fe9('0xe')]);router[_0x1fe9('0xf')](_0x1fe9('0xa'),auth[_0x1fe9('0xc')](),controller[_0x1fe9('0x10')]);module['exports']=router;