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 _0xadf0=['update','delete','multer','path','connect-timeout','Router','../../components/interaction/service','../../config/environment','put','/:id','isAuthenticated'];(function(_0x12d16b,_0x4c85f0){var _0x242b1e=function(_0x596cb9){while(--_0x596cb9){_0x12d16b['push'](_0x12d16b['shift']());}};_0x242b1e(++_0x4c85f0);}(_0xadf0,0x91));var _0x0adf=function(_0x37fd5c,_0x3f18b3){_0x37fd5c=_0x37fd5c-0x0;var _0x32c444=_0xadf0[_0x37fd5c];return _0x32c444;};'use strict';var multer=require(_0x0adf('0x0'));var util=require('util');var path=require(_0x0adf('0x1'));var timeout=require(_0x0adf('0x2'));var express=require('express');var router=express[_0x0adf('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x0adf('0x4'));var config=require(_0x0adf('0x5'));var controller=require('./action.controller');router[_0x0adf('0x6')](_0x0adf('0x7'),auth[_0x0adf('0x8')](),controller[_0x0adf('0x9')]);router[_0x0adf('0xa')]('/:id',auth[_0x0adf('0x8')](),controller['destroy']);module['exports']=router;