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 _0xbe1a=['update','delete','/:id','destroy','multer','util','path','express','../../components/auth/service','../../config/environment','./condition.controller','put','isAuthenticated'];(function(_0x2f4379,_0x9e270){var _0x3e90cd=function(_0x52e9cb){while(--_0x52e9cb){_0x2f4379['push'](_0x2f4379['shift']());}};_0x3e90cd(++_0x9e270);}(_0xbe1a,0x1f2));var _0xabe1=function(_0x3a0f4e,_0x6add20){_0x3a0f4e=_0x3a0f4e-0x0;var _0x306f6a=_0xbe1a[_0x3a0f4e];return _0x306f6a;};'use strict';var multer=require(_0xabe1('0x0'));var util=require(_0xabe1('0x1'));var path=require(_0xabe1('0x2'));var timeout=require('connect-timeout');var express=require(_0xabe1('0x3'));var router=express['Router']();var auth=require(_0xabe1('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xabe1('0x5'));var controller=require(_0xabe1('0x6'));router[_0xabe1('0x7')]('/:id',auth[_0xabe1('0x8')](),controller[_0xabe1('0x9')]);router[_0xabe1('0xa')](_0xabe1('0xb'),auth[_0xabe1('0x8')](),controller[_0xabe1('0xc')]);module['exports']=router;