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 _0x0e0a=['isAuthenticated','delete','/:id','destroy','multer','util','express','Router','../../components/interaction/service','./condition.controller'];(function(_0x367a44,_0x121a26){var _0x14c9d1=function(_0x1262a8){while(--_0x1262a8){_0x367a44['push'](_0x367a44['shift']());}};_0x14c9d1(++_0x121a26);}(_0x0e0a,0xd6));var _0xa0e0=function(_0x9a4c49,_0x2d03e7){_0x9a4c49=_0x9a4c49-0x0;var _0x183b42=_0x0e0a[_0x9a4c49];return _0x183b42;};'use strict';var multer=require(_0xa0e0('0x0'));var util=require(_0xa0e0('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xa0e0('0x2'));var router=express[_0xa0e0('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xa0e0('0x4'));var config=require('../../config/environment');var controller=require(_0xa0e0('0x5'));router['put']('/:id',auth[_0xa0e0('0x6')](),controller['update']);router[_0xa0e0('0x7')](_0xa0e0('0x8'),auth[_0xa0e0('0x6')](),controller[_0xa0e0('0x9')]);module['exports']=router;