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 _0x6b77=['multer','util','path','connect-timeout','express','../../components/auth/service','../../config/environment','./condition.controller','put','/:id','update','delete','isAuthenticated','destroy','exports'];(function(_0x25d1f6,_0x48e719){var _0x239cbd=function(_0x5ae3c5){while(--_0x5ae3c5){_0x25d1f6['push'](_0x25d1f6['shift']());}};_0x239cbd(++_0x48e719);}(_0x6b77,0x1e0));var _0x76b7=function(_0x412077,_0x1261c3){_0x412077=_0x412077-0x0;var _0x7f2998=_0x6b77[_0x412077];return _0x7f2998;};'use strict';var multer=require(_0x76b7('0x0'));var util=require(_0x76b7('0x1'));var path=require(_0x76b7('0x2'));var timeout=require(_0x76b7('0x3'));var express=require(_0x76b7('0x4'));var router=express['Router']();var auth=require(_0x76b7('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x76b7('0x6'));var controller=require(_0x76b7('0x7'));router[_0x76b7('0x8')](_0x76b7('0x9'),auth['isAuthenticated'](),controller[_0x76b7('0xa')]);router[_0x76b7('0xb')](_0x76b7('0x9'),auth[_0x76b7('0xc')](),controller[_0x76b7('0xd')]);module[_0x76b7('0xe')]=router;