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 _0x047f=['isAuthenticated','multer','util','path','connect-timeout','Router','../../components/auth/service','../../config/environment','./action.controller','/:id','update','delete'];(function(_0x3e9356,_0x4d7cc8){var _0x55260a=function(_0x8adca2){while(--_0x8adca2){_0x3e9356['push'](_0x3e9356['shift']());}};_0x55260a(++_0x4d7cc8);}(_0x047f,0xc1));var _0xf047=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x047f[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xf047('0x0'));var util=require(_0xf047('0x1'));var path=require(_0xf047('0x2'));var timeout=require(_0xf047('0x3'));var express=require('express');var router=express[_0xf047('0x4')]();var auth=require(_0xf047('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xf047('0x6'));var controller=require(_0xf047('0x7'));router['put'](_0xf047('0x8'),auth['isAuthenticated'](),controller[_0xf047('0x9')]);router[_0xf047('0xa')](_0xf047('0x8'),auth[_0xf047('0xb')](),controller['destroy']);module['exports']=router;