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 _0x45fb=['path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./condition.controller','put','/:id','update','destroy','exports','util'];(function(_0x2fc4a9,_0x5706b8){var _0x4e15eb=function(_0x46a1d2){while(--_0x46a1d2){_0x2fc4a9['push'](_0x2fc4a9['shift']());}};_0x4e15eb(++_0x5706b8);}(_0x45fb,0x1e0));var _0xb45f=function(_0x4f2c67,_0x382e13){_0x4f2c67=_0x4f2c67-0x0;var _0x56f07c=_0x45fb[_0x4f2c67];return _0x56f07c;};'use strict';var multer=require('multer');var util=require(_0xb45f('0x0'));var path=require(_0xb45f('0x1'));var timeout=require(_0xb45f('0x2'));var express=require(_0xb45f('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xb45f('0x4'));var interaction=require(_0xb45f('0x5'));var config=require(_0xb45f('0x6'));var controller=require(_0xb45f('0x7'));router[_0xb45f('0x8')](_0xb45f('0x9'),auth['isAuthenticated'](),controller[_0xb45f('0xa')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0xb45f('0xb')]);module[_0xb45f('0xc')]=router;