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 _0x88c4=['show','post','create','put','update','delete','destroy','multer','util','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDeskField.controller','get','isAuthenticated','index','/:id'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0x88c4,0x16f));var _0x488c=function(_0x3238ea,_0x91809d){_0x3238ea=_0x3238ea-0x0;var _0x4aaac2=_0x88c4[_0x3238ea];return _0x4aaac2;};'use strict';var multer=require(_0x488c('0x0'));var util=require(_0x488c('0x1'));var path=require('path');var timeout=require(_0x488c('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0x488c('0x3'));var interaction=require(_0x488c('0x4'));var config=require(_0x488c('0x5'));var controller=require(_0x488c('0x6'));router[_0x488c('0x7')]('/',auth[_0x488c('0x8')](),controller[_0x488c('0x9')]);router[_0x488c('0x7')](_0x488c('0xa'),auth[_0x488c('0x8')](),controller[_0x488c('0xb')]);router[_0x488c('0xc')]('/',auth[_0x488c('0x8')](),controller[_0x488c('0xd')]);router[_0x488c('0xe')](_0x488c('0xa'),auth[_0x488c('0x8')](),controller[_0x488c('0xf')]);router[_0x488c('0x10')](_0x488c('0xa'),auth['isAuthenticated'](),controller[_0x488c('0x11')]);module['exports']=router;