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 _0xb724=['show','post','create','put','delete','destroy','exports','multer','util','connect-timeout','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/:id'];(function(_0x3208ef,_0x3a86f0){var _0x17dfaf=function(_0x364762){while(--_0x364762){_0x3208ef['push'](_0x3208ef['shift']());}};_0x17dfaf(++_0x3a86f0);}(_0xb724,0x19f));var _0x4b72=function(_0x104431,_0x26a1dc){_0x104431=_0x104431-0x0;var _0x1385f1=_0xb724[_0x104431];return _0x1385f1;};'use strict';var multer=require(_0x4b72('0x0'));var util=require(_0x4b72('0x1'));var path=require('path');var timeout=require(_0x4b72('0x2'));var express=require('express');var router=express[_0x4b72('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x4b72('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x4b72('0x5'));var controller=require('./intDeskField.controller');router[_0x4b72('0x6')]('/',auth[_0x4b72('0x7')](),controller[_0x4b72('0x8')]);router[_0x4b72('0x6')](_0x4b72('0x9'),auth['isAuthenticated'](),controller[_0x4b72('0xa')]);router[_0x4b72('0xb')]('/',auth[_0x4b72('0x7')](),controller[_0x4b72('0xc')]);router[_0x4b72('0xd')](_0x4b72('0x9'),auth['isAuthenticated'](),controller['update']);router[_0x4b72('0xe')]('/:id',auth[_0x4b72('0x7')](),controller[_0x4b72('0xf')]);module[_0x4b72('0x10')]=router;