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 _0x50b8=['/:id','isAuthenticated','update','delete','destroy','exports','multer','util','path','express','Router','../../components/interaction/service','../../config/environment','./action.controller','put'];(function(_0x3524f7,_0x36a7cf){var _0xbc62f1=function(_0x43b382){while(--_0x43b382){_0x3524f7['push'](_0x3524f7['shift']());}};_0xbc62f1(++_0x36a7cf);}(_0x50b8,0x18c));var _0x850b=function(_0x3376b3,_0xd00f30){_0x3376b3=_0x3376b3-0x0;var _0x3cef5b=_0x50b8[_0x3376b3];return _0x3cef5b;};'use strict';var multer=require(_0x850b('0x0'));var util=require(_0x850b('0x1'));var path=require(_0x850b('0x2'));var timeout=require('connect-timeout');var express=require(_0x850b('0x3'));var router=express[_0x850b('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x850b('0x5'));var config=require(_0x850b('0x6'));var controller=require(_0x850b('0x7'));router[_0x850b('0x8')](_0x850b('0x9'),auth[_0x850b('0xa')](),controller[_0x850b('0xb')]);router[_0x850b('0xc')](_0x850b('0x9'),auth[_0x850b('0xa')](),controller[_0x850b('0xd')]);module[_0x850b('0xe')]=router;