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 _0x7e61=['multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./condition.controller','put','update','delete','/:id','isAuthenticated','destroy'];(function(_0x36120e,_0x30bf2b){var _0x3c84e3=function(_0xb6ef61){while(--_0xb6ef61){_0x36120e['push'](_0x36120e['shift']());}};_0x3c84e3(++_0x30bf2b);}(_0x7e61,0x1b3));var _0x17e6=function(_0x568414,_0x522dcb){_0x568414=_0x568414-0x0;var _0x2a6641=_0x7e61[_0x568414];return _0x2a6641;};'use strict';var multer=require(_0x17e6('0x0'));var util=require(_0x17e6('0x1'));var path=require(_0x17e6('0x2'));var timeout=require(_0x17e6('0x3'));var express=require('express');var router=express[_0x17e6('0x4')]();var auth=require(_0x17e6('0x5'));var interaction=require(_0x17e6('0x6'));var config=require(_0x17e6('0x7'));var controller=require(_0x17e6('0x8'));router[_0x17e6('0x9')]('/:id',auth['isAuthenticated'](),controller[_0x17e6('0xa')]);router[_0x17e6('0xb')](_0x17e6('0xc'),auth[_0x17e6('0xd')](),controller[_0x17e6('0xe')]);module['exports']=router;