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 _0xa967=['express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','/:id','update','delete','isAuthenticated','destroy','util','path','connect-timeout'];(function(_0x591cfd,_0x501204){var _0x4d0100=function(_0xb9ff0c){while(--_0xb9ff0c){_0x591cfd['push'](_0x591cfd['shift']());}};_0x4d0100(++_0x501204);}(_0xa967,0xda));var _0x7a96=function(_0xa3def,_0x496c91){_0xa3def=_0xa3def-0x0;var _0x2cc06a=_0xa967[_0xa3def];return _0x2cc06a;};'use strict';var multer=require('multer');var util=require(_0x7a96('0x0'));var path=require(_0x7a96('0x1'));var timeout=require(_0x7a96('0x2'));var express=require(_0x7a96('0x3'));var router=express['Router']();var fs_extra=require(_0x7a96('0x4'));var auth=require(_0x7a96('0x5'));var interaction=require(_0x7a96('0x6'));var config=require(_0x7a96('0x7'));var controller=require('./condition.controller');router['put'](_0x7a96('0x8'),auth['isAuthenticated'](),controller[_0x7a96('0x9')]);router[_0x7a96('0xa')](_0x7a96('0x8'),auth[_0x7a96('0xb')](),controller[_0x7a96('0xc')]);module['exports']=router;