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 _0x4b31=['delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','put','/:id','isAuthenticated','update'];(function(_0x8fcf45,_0x2f2742){var _0x3e1f8c=function(_0x2c29e1){while(--_0x2c29e1){_0x8fcf45['push'](_0x8fcf45['shift']());}};_0x3e1f8c(++_0x2f2742);}(_0x4b31,0x17a));var _0x14b3=function(_0x2b5c82,_0x5dadd7){_0x2b5c82=_0x2b5c82-0x0;var _0x29d9f1=_0x4b31[_0x2b5c82];return _0x29d9f1;};'use strict';var multer=require('multer');var util=require(_0x14b3('0x0'));var path=require(_0x14b3('0x1'));var timeout=require(_0x14b3('0x2'));var express=require(_0x14b3('0x3'));var router=express[_0x14b3('0x4')]();var auth=require(_0x14b3('0x5'));var interaction=require(_0x14b3('0x6'));var config=require(_0x14b3('0x7'));var controller=require('./action.controller');router[_0x14b3('0x8')](_0x14b3('0x9'),auth[_0x14b3('0xa')](),controller[_0x14b3('0xb')]);router[_0x14b3('0xc')]('/:id',auth[_0x14b3('0xa')](),controller[_0x14b3('0xd')]);module[_0x14b3('0xe')]=router;