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 _0x466d=['exports','util','path','express','Router','../../components/interaction/service','../../config/environment','./action.controller','/:id','delete','destroy'];(function(_0x2237d3,_0x10ef8e){var _0xd91644=function(_0x42b4cb){while(--_0x42b4cb){_0x2237d3['push'](_0x2237d3['shift']());}};_0xd91644(++_0x10ef8e);}(_0x466d,0x1ae));var _0xd466=function(_0x33c9f8,_0x5aedbb){_0x33c9f8=_0x33c9f8-0x0;var _0x2d7004=_0x466d[_0x33c9f8];return _0x2d7004;};'use strict';var multer=require('multer');var util=require(_0xd466('0x0'));var path=require(_0xd466('0x1'));var timeout=require('connect-timeout');var express=require(_0xd466('0x2'));var router=express[_0xd466('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xd466('0x4'));var config=require(_0xd466('0x5'));var controller=require(_0xd466('0x6'));router['put'](_0xd466('0x7'),auth['isAuthenticated'](),controller['update']);router[_0xd466('0x8')](_0xd466('0x7'),auth['isAuthenticated'](),controller[_0xd466('0x9')]);module[_0xd466('0xa')]=router;