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 _0xe676=['isAuthenticated','/:id','show','post','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./intDeskField.controller','get'];(function(_0x3ed727,_0xfbaa56){var _0x56e015=function(_0x234677){while(--_0x234677){_0x3ed727['push'](_0x3ed727['shift']());}};_0x56e015(++_0xfbaa56);}(_0xe676,0x1d5));var _0x6e67=function(_0x30182f,_0x30ce41){_0x30182f=_0x30182f-0x0;var _0x5207db=_0xe676[_0x30182f];return _0x5207db;};'use strict';var multer=require(_0x6e67('0x0'));var util=require(_0x6e67('0x1'));var path=require(_0x6e67('0x2'));var timeout=require(_0x6e67('0x3'));var express=require(_0x6e67('0x4'));var router=express[_0x6e67('0x5')]();var fs_extra=require(_0x6e67('0x6'));var auth=require(_0x6e67('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x6e67('0x8'));var controller=require(_0x6e67('0x9'));router[_0x6e67('0xa')]('/',auth[_0x6e67('0xb')](),controller['index']);router[_0x6e67('0xa')](_0x6e67('0xc'),auth['isAuthenticated'](),controller[_0x6e67('0xd')]);router[_0x6e67('0xe')]('/',auth[_0x6e67('0xb')](),controller[_0x6e67('0xf')]);router[_0x6e67('0x10')](_0x6e67('0xc'),auth[_0x6e67('0xb')](),controller['update']);router[_0x6e67('0x11')](_0x6e67('0xc'),auth['isAuthenticated'](),controller[_0x6e67('0x12')]);module[_0x6e67('0x13')]=router;