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 _0x293a=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./condition.controller','put','isAuthenticated','delete','exports','multer','util','path'];(function(_0x5c9008,_0x4bb3a6){var _0x31a5e0=function(_0x3f7f1d){while(--_0x3f7f1d){_0x5c9008['push'](_0x5c9008['shift']());}};_0x31a5e0(++_0x4bb3a6);}(_0x293a,0xa6));var _0xa293=function(_0x368806,_0x56fb58){_0x368806=_0x368806-0x0;var _0x583624=_0x293a[_0x368806];return _0x583624;};'use strict';var multer=require(_0xa293('0x0'));var util=require(_0xa293('0x1'));var path=require(_0xa293('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xa293('0x3')]();var fs_extra=require(_0xa293('0x4'));var auth=require(_0xa293('0x5'));var interaction=require(_0xa293('0x6'));var config=require(_0xa293('0x7'));var controller=require(_0xa293('0x8'));router[_0xa293('0x9')]('/:id',auth[_0xa293('0xa')](),controller['update']);router[_0xa293('0xb')]('/:id',auth[_0xa293('0xa')](),controller['destroy']);module[_0xa293('0xc')]=router;