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 _0x6b1d=['util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./condition.controller','/:id','isAuthenticated','update','delete','destroy','exports','multer'];(function(_0x4b7b62,_0x4920a9){var _0x2280df=function(_0x21e1f8){while(--_0x21e1f8){_0x4b7b62['push'](_0x4b7b62['shift']());}};_0x2280df(++_0x4920a9);}(_0x6b1d,0x16b));var _0xd6b1=function(_0x3bcb7c,_0x5af870){_0x3bcb7c=_0x3bcb7c-0x0;var _0x584411=_0x6b1d[_0x3bcb7c];return _0x584411;};'use strict';var multer=require(_0xd6b1('0x0'));var util=require(_0xd6b1('0x1'));var path=require('path');var timeout=require(_0xd6b1('0x2'));var express=require(_0xd6b1('0x3'));var router=express[_0xd6b1('0x4')]();var fs_extra=require(_0xd6b1('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xd6b1('0x6'));var config=require('../../config/environment');var controller=require(_0xd6b1('0x7'));router['put'](_0xd6b1('0x8'),auth[_0xd6b1('0x9')](),controller[_0xd6b1('0xa')]);router[_0xd6b1('0xb')](_0xd6b1('0x8'),auth[_0xd6b1('0x9')](),controller[_0xd6b1('0xc')]);module[_0xd6b1('0xd')]=router;