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 _0x28f3=['./action.controller','put','/:id','delete','isAuthenticated','destroy','exports','multer','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment'];(function(_0x38a3ff,_0x373f18){var _0x477c82=function(_0x3bcdef){while(--_0x3bcdef){_0x38a3ff['push'](_0x38a3ff['shift']());}};_0x477c82(++_0x373f18);}(_0x28f3,0x96));var _0x328f=function(_0x510742,_0x43011a){_0x510742=_0x510742-0x0;var _0x4273f0=_0x28f3[_0x510742];return _0x4273f0;};'use strict';var multer=require(_0x328f('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x328f('0x1'));var express=require('express');var router=express[_0x328f('0x2')]();var fs_extra=require(_0x328f('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0x328f('0x4'));var config=require(_0x328f('0x5'));var controller=require(_0x328f('0x6'));router[_0x328f('0x7')](_0x328f('0x8'),auth['isAuthenticated'](),controller['update']);router[_0x328f('0x9')](_0x328f('0x8'),auth[_0x328f('0xa')](),controller[_0x328f('0xb')]);module[_0x328f('0xc')]=router;