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 _0x767e=['./action.controller','/:id','isAuthenticated','destroy','multer','util','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x767e,0x1f0));var _0xe767=function(_0x14c755,_0x331242){_0x14c755=_0x14c755-0x0;var _0x240923=_0x767e[_0x14c755];return _0x240923;};'use strict';var multer=require(_0xe767('0x0'));var util=require(_0xe767('0x1'));var path=require(_0xe767('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xe767('0x3')]();var fs_extra=require(_0xe767('0x4'));var auth=require(_0xe767('0x5'));var interaction=require(_0xe767('0x6'));var config=require(_0xe767('0x7'));var controller=require(_0xe767('0x8'));router['put'](_0xe767('0x9'),auth[_0xe767('0xa')](),controller['update']);router['delete']('/:id',auth['isAuthenticated'](),controller[_0xe767('0xb')]);module['exports']=router;