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 _0x5811=['connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./action.controller','put','/:id','update','delete','destroy','exports','multer'];(function(_0x2a0099,_0x4cf712){var _0x2d4237=function(_0x4f46f1){while(--_0x4f46f1){_0x2a0099['push'](_0x2a0099['shift']());}};_0x2d4237(++_0x4cf712);}(_0x5811,0xe9));var _0x1581=function(_0x465781,_0x3c3e57){_0x465781=_0x465781-0x0;var _0x931aaa=_0x5811[_0x465781];return _0x931aaa;};'use strict';var multer=require(_0x1581('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x1581('0x1'));var express=require(_0x1581('0x2'));var router=express[_0x1581('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x1581('0x4'));var config=require(_0x1581('0x5'));var controller=require(_0x1581('0x6'));router[_0x1581('0x7')](_0x1581('0x8'),auth['isAuthenticated'](),controller[_0x1581('0x9')]);router[_0x1581('0xa')](_0x1581('0x8'),auth['isAuthenticated'](),controller[_0x1581('0xb')]);module[_0x1581('0xc')]=router;