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 _0xc0e3=['update','delete','destroy','multer','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../config/environment','./intDeskField.controller','get','isAuthenticated','index','show','post','create','put','/:id'];(function(_0x4ded65,_0xc8d7c1){var _0x5864fb=function(_0x40df9d){while(--_0x40df9d){_0x4ded65['push'](_0x4ded65['shift']());}};_0x5864fb(++_0xc8d7c1);}(_0xc0e3,0x1a5));var _0x3c0e=function(_0x597834,_0x159bb6){_0x597834=_0x597834-0x0;var _0x12da6c=_0xc0e3[_0x597834];return _0x12da6c;};'use strict';var multer=require(_0x3c0e('0x0'));var util=require('util');var path=require(_0x3c0e('0x1'));var timeout=require(_0x3c0e('0x2'));var express=require('express');var router=express[_0x3c0e('0x3')]();var fs_extra=require(_0x3c0e('0x4'));var auth=require(_0x3c0e('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x3c0e('0x6'));var controller=require(_0x3c0e('0x7'));router[_0x3c0e('0x8')]('/',auth[_0x3c0e('0x9')](),controller[_0x3c0e('0xa')]);router[_0x3c0e('0x8')]('/:id',auth[_0x3c0e('0x9')](),controller[_0x3c0e('0xb')]);router[_0x3c0e('0xc')]('/',auth[_0x3c0e('0x9')](),controller[_0x3c0e('0xd')]);router[_0x3c0e('0xe')](_0x3c0e('0xf'),auth['isAuthenticated'](),controller[_0x3c0e('0x10')]);router[_0x3c0e('0x11')](_0x3c0e('0xf'),auth['isAuthenticated'](),controller[_0x3c0e('0x12')]);module['exports']=router;