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