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 _0x820f=['isAuthenticated','update','delete','/:id','destroy','exports','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x54a054,_0x29b4b1){var _0x36b236=function(_0x5c1935){while(--_0x5c1935){_0x54a054['push'](_0x54a054['shift']());}};_0x36b236(++_0x29b4b1);}(_0x820f,0x7b));var _0xf820=function(_0x321df4,_0x3efec5){_0x321df4=_0x321df4-0x0;var _0x50d06c=_0x820f[_0x321df4];return _0x50d06c;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xf820('0x0'));var express=require(_0xf820('0x1'));var router=express[_0xf820('0x2')]();var fs_extra=require(_0xf820('0x3'));var auth=require(_0xf820('0x4'));var interaction=require(_0xf820('0x5'));var config=require(_0xf820('0x6'));var controller=require('./condition.controller');router['put']('/:id',auth[_0xf820('0x7')](),controller[_0xf820('0x8')]);router[_0xf820('0x9')](_0xf820('0xa'),auth[_0xf820('0x7')](),controller[_0xf820('0xb')]);module[_0xf820('0xc')]=router;