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 _0x8fcc=['../../components/interaction/service','../../config/environment','./condition.controller','put','isAuthenticated','update','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service'];(function(_0x1c546c,_0x5c57cb){var _0x2cc384=function(_0x4dee11){while(--_0x4dee11){_0x1c546c['push'](_0x1c546c['shift']());}};_0x2cc384(++_0x5c57cb);}(_0x8fcc,0x166));var _0xc8fc=function(_0x3ce9fd,_0x5a3723){_0x3ce9fd=_0x3ce9fd-0x0;var _0x4da2eb=_0x8fcc[_0x3ce9fd];return _0x4da2eb;};'use strict';var multer=require('multer');var util=require(_0xc8fc('0x0'));var path=require(_0xc8fc('0x1'));var timeout=require(_0xc8fc('0x2'));var express=require(_0xc8fc('0x3'));var router=express[_0xc8fc('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xc8fc('0x5'));var interaction=require(_0xc8fc('0x6'));var config=require(_0xc8fc('0x7'));var controller=require(_0xc8fc('0x8'));router[_0xc8fc('0x9')]('/:id',auth[_0xc8fc('0xa')](),controller[_0xc8fc('0xb')]);router['delete']('/:id',auth[_0xc8fc('0xa')](),controller[_0xc8fc('0xc')]);module[_0xc8fc('0xd')]=router;