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 _0xa101=['isAuthenticated','index','show','post','create','put','/:id','delete','exports','multer','util','connect-timeout','express','fs-extra','../../components/auth/service','../../config/environment','./variable.controller','get'];(function(_0x5214ad,_0x433576){var _0xbc087b=function(_0x1ec549){while(--_0x1ec549){_0x5214ad['push'](_0x5214ad['shift']());}};_0xbc087b(++_0x433576);}(_0xa101,0x15f));var _0x1a10=function(_0x1deb03,_0xd05ad8){_0x1deb03=_0x1deb03-0x0;var _0x189fe7=_0xa101[_0x1deb03];return _0x189fe7;};'use strict';var multer=require(_0x1a10('0x0'));var util=require(_0x1a10('0x1'));var path=require('path');var timeout=require(_0x1a10('0x2'));var express=require(_0x1a10('0x3'));var router=express['Router']();var fs_extra=require(_0x1a10('0x4'));var auth=require(_0x1a10('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x1a10('0x6'));var controller=require(_0x1a10('0x7'));router[_0x1a10('0x8')]('/',auth[_0x1a10('0x9')](),controller[_0x1a10('0xa')]);router[_0x1a10('0x8')]('/:id',auth['isAuthenticated'](),controller[_0x1a10('0xb')]);router[_0x1a10('0xc')]('/',auth[_0x1a10('0x9')](),controller[_0x1a10('0xd')]);router[_0x1a10('0xe')](_0x1a10('0xf'),auth[_0x1a10('0x9')](),controller['update']);router[_0x1a10('0x10')](_0x1a10('0xf'),auth[_0x1a10('0x9')](),controller['destroy']);module[_0x1a10('0x11')]=router;