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 _0xbfb1=['/:id','update','isAuthenticated','exports','multer','util','../../components/auth/service','./action.controller'];(function(_0x134a72,_0x5cf1f5){var _0x36d44b=function(_0x5ab9bd){while(--_0x5ab9bd){_0x134a72['push'](_0x134a72['shift']());}};_0x36d44b(++_0x5cf1f5);}(_0xbfb1,0x7c));var _0x1bfb=function(_0x1f336d,_0x5d0bee){_0x1f336d=_0x1f336d-0x0;var _0x49199d=_0xbfb1[_0x1f336d];return _0x49199d;};'use strict';var multer=require(_0x1bfb('0x0'));var util=require(_0x1bfb('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x1bfb('0x2'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x1bfb('0x3'));router['put'](_0x1bfb('0x4'),auth['isAuthenticated'](),controller[_0x1bfb('0x5')]);router['delete'](_0x1bfb('0x4'),auth[_0x1bfb('0x6')](),controller['destroy']);module[_0x1bfb('0x7')]=router;