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 _0xb2ca=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./condition.controller','/:id','isAuthenticated','update','delete','destroy','exports','multer','util','path','connect-timeout'];(function(_0x5d8363,_0x51833c){var _0x55b177=function(_0x2ba16c){while(--_0x2ba16c){_0x5d8363['push'](_0x5d8363['shift']());}};_0x55b177(++_0x51833c);}(_0xb2ca,0x7c));var _0xab2c=function(_0xefd519,_0xc62635){_0xefd519=_0xefd519-0x0;var _0x4bb882=_0xb2ca[_0xefd519];return _0x4bb882;};'use strict';var multer=require(_0xab2c('0x0'));var util=require(_0xab2c('0x1'));var path=require(_0xab2c('0x2'));var timeout=require(_0xab2c('0x3'));var express=require(_0xab2c('0x4'));var router=express[_0xab2c('0x5')]();var auth=require(_0xab2c('0x6'));var interaction=require(_0xab2c('0x7'));var config=require(_0xab2c('0x8'));var controller=require(_0xab2c('0x9'));router['put'](_0xab2c('0xa'),auth[_0xab2c('0xb')](),controller[_0xab2c('0xc')]);router[_0xab2c('0xd')](_0xab2c('0xa'),auth['isAuthenticated'](),controller[_0xab2c('0xe')]);module[_0xab2c('0xf')]=router;