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