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 _0x236a=['isAuthenticated','show','post','create','put','/:id','delete','destroy','exports','multer','util','connect-timeout','express','../../components/interaction/service','../../config/environment','./voiceContext.controller','get'];(function(_0x3ec713,_0x2119f5){var _0x5378a1=function(_0x4378ab){while(--_0x4378ab){_0x3ec713['push'](_0x3ec713['shift']());}};_0x5378a1(++_0x2119f5);}(_0x236a,0xa2));var _0xa236=function(_0x4ca6c9,_0x473354){_0x4ca6c9=_0x4ca6c9-0x0;var _0x3e6437=_0x236a[_0x4ca6c9];return _0x3e6437;};'use strict';var multer=require(_0xa236('0x0'));var util=require(_0xa236('0x1'));var path=require('path');var timeout=require(_0xa236('0x2'));var express=require(_0xa236('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xa236('0x4'));var config=require(_0xa236('0x5'));var controller=require(_0xa236('0x6'));router[_0xa236('0x7')]('/',auth[_0xa236('0x8')](),controller['index']);router[_0xa236('0x7')]('/:id',auth[_0xa236('0x8')](),controller[_0xa236('0x9')]);router[_0xa236('0xa')]('/',auth[_0xa236('0x8')](),controller[_0xa236('0xb')]);router[_0xa236('0xc')](_0xa236('0xd'),auth[_0xa236('0x8')](),controller['update']);router[_0xa236('0xe')](_0xa236('0xd'),auth[_0xa236('0x8')](),controller[_0xa236('0xf')]);module[_0xa236('0x10')]=router;