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 _0xbd7c=['path','express','Router','../../components/auth/service','../../components/interaction/service','./variable.controller','get','index','/:id','isAuthenticated','show','post','create','delete','destroy','exports','util'];(function(_0x55336a,_0x240d59){var _0x28ceb3=function(_0x399d5c){while(--_0x399d5c){_0x55336a['push'](_0x55336a['shift']());}};_0x28ceb3(++_0x240d59);}(_0xbd7c,0x1ec));var _0xcbd7=function(_0x353abf,_0x4c27ff){_0x353abf=_0x353abf-0x0;var _0x2e8c40=_0xbd7c[_0x353abf];return _0x2e8c40;};'use strict';var multer=require('multer');var util=require(_0xcbd7('0x0'));var path=require(_0xcbd7('0x1'));var timeout=require('connect-timeout');var express=require(_0xcbd7('0x2'));var router=express[_0xcbd7('0x3')]();var auth=require(_0xcbd7('0x4'));var interaction=require(_0xcbd7('0x5'));var config=require('../../config/environment');var controller=require(_0xcbd7('0x6'));router[_0xcbd7('0x7')]('/',auth['isAuthenticated'](),controller[_0xcbd7('0x8')]);router['get'](_0xcbd7('0x9'),auth[_0xcbd7('0xa')](),controller[_0xcbd7('0xb')]);router[_0xcbd7('0xc')]('/',auth[_0xcbd7('0xa')](),controller[_0xcbd7('0xd')]);router['put'](_0xcbd7('0x9'),auth[_0xcbd7('0xa')](),controller['update']);router[_0xcbd7('0xe')](_0xcbd7('0x9'),auth['isAuthenticated'](),controller[_0xcbd7('0xf')]);module[_0xcbd7('0x10')]=router;