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 _0x514f=['/:id','isAuthenticated','update','exports','multer','util','path','connect-timeout','fs-extra','../../components/interaction/service','./condition.controller','put'];(function(_0x24cbbb,_0x28db37){var _0x123f2f=function(_0x11735a){while(--_0x11735a){_0x24cbbb['push'](_0x24cbbb['shift']());}};_0x123f2f(++_0x28db37);}(_0x514f,0x64));var _0xf514=function(_0x39e591,_0x410f2c){_0x39e591=_0x39e591-0x0;var _0x28312e=_0x514f[_0x39e591];return _0x28312e;};'use strict';var multer=require(_0xf514('0x0'));var util=require(_0xf514('0x1'));var path=require(_0xf514('0x2'));var timeout=require(_0xf514('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xf514('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xf514('0x5'));var config=require('../../config/environment');var controller=require(_0xf514('0x6'));router[_0xf514('0x7')](_0xf514('0x8'),auth[_0xf514('0x9')](),controller[_0xf514('0xa')]);router['delete'](_0xf514('0x8'),auth[_0xf514('0x9')](),controller['destroy']);module[_0xf514('0xb')]=router;