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 _0x6f94=['isAuthenticated','delete','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./condition.controller','put'];(function(_0x54d4a8,_0x585a59){var _0x3b321b=function(_0x245c6a){while(--_0x245c6a){_0x54d4a8['push'](_0x54d4a8['shift']());}};_0x3b321b(++_0x585a59);}(_0x6f94,0x148));var _0x46f9=function(_0x2112d4,_0x3c863c){_0x2112d4=_0x2112d4-0x0;var _0x434972=_0x6f94[_0x2112d4];return _0x434972;};'use strict';var multer=require('multer');var util=require(_0x46f9('0x0'));var path=require(_0x46f9('0x1'));var timeout=require(_0x46f9('0x2'));var express=require(_0x46f9('0x3'));var router=express[_0x46f9('0x4')]();var auth=require(_0x46f9('0x5'));var interaction=require(_0x46f9('0x6'));var config=require(_0x46f9('0x7'));var controller=require(_0x46f9('0x8'));router[_0x46f9('0x9')]('/:id',auth[_0x46f9('0xa')](),controller['update']);router[_0x46f9('0xb')]('/:id',auth[_0x46f9('0xa')](),controller['destroy']);module[_0x46f9('0xc')]=router;