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 _0x2b40=['/:id','isAuthenticated','update','delete','destroy','exports','multer','util','express','Router','../../components/auth/service','../../components/interaction/service','put'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0x2b40,0x1da));var _0x02b4=function(_0x1e4cbc,_0xb5890f){_0x1e4cbc=_0x1e4cbc-0x0;var _0x31c80a=_0x2b40[_0x1e4cbc];return _0x31c80a;};'use strict';var multer=require(_0x02b4('0x0'));var util=require(_0x02b4('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x02b4('0x2'));var router=express[_0x02b4('0x3')]();var auth=require(_0x02b4('0x4'));var interaction=require(_0x02b4('0x5'));var config=require('../../config/environment');var controller=require('./condition.controller');router[_0x02b4('0x6')](_0x02b4('0x7'),auth[_0x02b4('0x8')](),controller[_0x02b4('0x9')]);router[_0x02b4('0xa')](_0x02b4('0x7'),auth['isAuthenticated'](),controller[_0x02b4('0xb')]);module[_0x02b4('0xc')]=router;