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 _0x86b4=['../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/:id','show','create','put','update','delete','destroy','exports','multer','util','path','express','../../components/auth/service'];(function(_0x285d8b,_0x325410){var _0x474268=function(_0x558fac){while(--_0x558fac){_0x285d8b['push'](_0x285d8b['shift']());}};_0x474268(++_0x325410);}(_0x86b4,0xc1));var _0x486b=function(_0x4e5592,_0xcd3415){_0x4e5592=_0x4e5592-0x0;var _0x1aeedc=_0x86b4[_0x4e5592];return _0x1aeedc;};'use strict';var multer=require(_0x486b('0x0'));var util=require(_0x486b('0x1'));var path=require(_0x486b('0x2'));var timeout=require('connect-timeout');var express=require(_0x486b('0x3'));var router=express['Router']();var auth=require(_0x486b('0x4'));var interaction=require(_0x486b('0x5'));var config=require(_0x486b('0x6'));var controller=require('./variable.controller');router['get']('/',auth[_0x486b('0x7')](),controller[_0x486b('0x8')]);router[_0x486b('0x9')](_0x486b('0xa'),auth[_0x486b('0x7')](),controller[_0x486b('0xb')]);router['post']('/',auth[_0x486b('0x7')](),controller[_0x486b('0xc')]);router[_0x486b('0xd')](_0x486b('0xa'),auth[_0x486b('0x7')](),controller[_0x486b('0xe')]);router[_0x486b('0xf')](_0x486b('0xa'),auth[_0x486b('0x7')](),controller[_0x486b('0x10')]);module[_0x486b('0x11')]=router;