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 _0xd10c=['path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','isAuthenticated','destroy','exports','util'];(function(_0x1011ea,_0x1dc935){var _0x5079d2=function(_0x260991){while(--_0x260991){_0x1011ea['push'](_0x1011ea['shift']());}};_0x5079d2(++_0x1dc935);}(_0xd10c,0x9f));var _0xcd10=function(_0x4384c9,_0x27da9c){_0x4384c9=_0x4384c9-0x0;var _0x3b6280=_0xd10c[_0x4384c9];return _0x3b6280;};'use strict';var multer=require('multer');var util=require(_0xcd10('0x0'));var path=require(_0xcd10('0x1'));var timeout=require(_0xcd10('0x2'));var express=require(_0xcd10('0x3'));var router=express[_0xcd10('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xcd10('0x5'));var config=require(_0xcd10('0x6'));var controller=require('./condition.controller');router['put']('/:id',auth['isAuthenticated'](),controller['update']);router['delete']('/:id',auth[_0xcd10('0x7')](),controller[_0xcd10('0x8')]);module[_0xcd10('0x9')]=router;