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 _0xfcbd=['get','/:id','isAuthenticated','show','post','create','update','delete','destroy','exports','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./variable.controller'];(function(_0x24e19c,_0x1eec14){var _0x188fac=function(_0xeac31d){while(--_0xeac31d){_0x24e19c['push'](_0x24e19c['shift']());}};_0x188fac(++_0x1eec14);}(_0xfcbd,0x160));var _0xdfcb=function(_0x502598,_0x1e95c8){_0x502598=_0x502598-0x0;var _0xbdee21=_0xfcbd[_0x502598];return _0xbdee21;};'use strict';var multer=require(_0xdfcb('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xdfcb('0x1'));var express=require(_0xdfcb('0x2'));var router=express[_0xdfcb('0x3')]();var fs_extra=require(_0xdfcb('0x4'));var auth=require(_0xdfcb('0x5'));var interaction=require(_0xdfcb('0x6'));var config=require(_0xdfcb('0x7'));var controller=require(_0xdfcb('0x8'));router[_0xdfcb('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0xdfcb('0x9')](_0xdfcb('0xa'),auth[_0xdfcb('0xb')](),controller[_0xdfcb('0xc')]);router[_0xdfcb('0xd')]('/',auth[_0xdfcb('0xb')](),controller[_0xdfcb('0xe')]);router['put'](_0xdfcb('0xa'),auth[_0xdfcb('0xb')](),controller[_0xdfcb('0xf')]);router[_0xdfcb('0x10')](_0xdfcb('0xa'),auth[_0xdfcb('0xb')](),controller[_0xdfcb('0x11')]);module[_0xdfcb('0x12')]=router;