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 _0x5dad=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','put','/:id','isAuthenticated','delete','destroy','multer','util','connect-timeout'];(function(_0x4f09a4,_0x260119){var _0x35e833=function(_0x1fcea7){while(--_0x1fcea7){_0x4f09a4['push'](_0x4f09a4['shift']());}};_0x35e833(++_0x260119);}(_0x5dad,0x176));var _0xd5da=function(_0x310ebd,_0x1bb21b){_0x310ebd=_0x310ebd-0x0;var _0x3642d2=_0x5dad[_0x310ebd];return _0x3642d2;};'use strict';var multer=require(_0xd5da('0x0'));var util=require(_0xd5da('0x1'));var path=require('path');var timeout=require(_0xd5da('0x2'));var express=require(_0xd5da('0x3'));var router=express[_0xd5da('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xd5da('0x5'));var interaction=require(_0xd5da('0x6'));var config=require(_0xd5da('0x7'));var controller=require('./action.controller');router[_0xd5da('0x8')](_0xd5da('0x9'),auth[_0xd5da('0xa')](),controller['update']);router[_0xd5da('0xb')](_0xd5da('0x9'),auth['isAuthenticated'](),controller[_0xd5da('0xc')]);module['exports']=router;