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 _0x7e78=['/:id','update','delete','isAuthenticated','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./condition.controller','put'];(function(_0x1b9080,_0x25d543){var _0x4ce6ee=function(_0x4cccf8){while(--_0x4cccf8){_0x1b9080['push'](_0x1b9080['shift']());}};_0x4ce6ee(++_0x25d543);}(_0x7e78,0x139));var _0x87e7=function(_0x425a53,_0x56ef6c){_0x425a53=_0x425a53-0x0;var _0xeb3b49=_0x7e78[_0x425a53];return _0xeb3b49;};'use strict';var multer=require(_0x87e7('0x0'));var util=require('util');var path=require(_0x87e7('0x1'));var timeout=require('connect-timeout');var express=require(_0x87e7('0x2'));var router=express[_0x87e7('0x3')]();var auth=require(_0x87e7('0x4'));var interaction=require(_0x87e7('0x5'));var config=require(_0x87e7('0x6'));var controller=require(_0x87e7('0x7'));router[_0x87e7('0x8')](_0x87e7('0x9'),auth['isAuthenticated'](),controller[_0x87e7('0xa')]);router[_0x87e7('0xb')](_0x87e7('0x9'),auth[_0x87e7('0xc')](),controller['destroy']);module[_0x87e7('0xd')]=router;