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 _0x8d30=['express','../../components/interaction/service','/:id','isAuthenticated','update','delete','destroy','exports','multer','util','path','connect-timeout'];(function(_0x4b055c,_0x4b870b){var _0x4b62bb=function(_0x4884c2){while(--_0x4884c2){_0x4b055c['push'](_0x4b055c['shift']());}};_0x4b62bb(++_0x4b870b);}(_0x8d30,0xb0));var _0x08d3=function(_0x490be3,_0xf0fca3){_0x490be3=_0x490be3-0x0;var _0x3f5140=_0x8d30[_0x490be3];return _0x3f5140;};'use strict';var multer=require(_0x08d3('0x0'));var util=require(_0x08d3('0x1'));var path=require(_0x08d3('0x2'));var timeout=require(_0x08d3('0x3'));var express=require(_0x08d3('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x08d3('0x5'));var config=require('../../config/environment');var controller=require('./condition.controller');router['put'](_0x08d3('0x6'),auth[_0x08d3('0x7')](),controller[_0x08d3('0x8')]);router[_0x08d3('0x9')](_0x08d3('0x6'),auth['isAuthenticated'](),controller[_0x08d3('0xa')]);module[_0x08d3('0xb')]=router;