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 _0xed48=['util','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDeskField.controller','get','/:id','isAuthenticated','show','create','update','delete','destroy','exports'];(function(_0x17f60d,_0x5c4756){var _0x47eba1=function(_0x55c8d1){while(--_0x55c8d1){_0x17f60d['push'](_0x17f60d['shift']());}};_0x47eba1(++_0x5c4756);}(_0xed48,0x90));var _0x8ed4=function(_0x27c24e,_0x5db1c7){_0x27c24e=_0x27c24e-0x0;var _0x39004a=_0xed48[_0x27c24e];return _0x39004a;};'use strict';var multer=require('multer');var util=require(_0x8ed4('0x0'));var path=require('path');var timeout=require(_0x8ed4('0x1'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x8ed4('0x2'));var auth=require(_0x8ed4('0x3'));var interaction=require(_0x8ed4('0x4'));var config=require(_0x8ed4('0x5'));var controller=require(_0x8ed4('0x6'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x8ed4('0x7')](_0x8ed4('0x8'),auth[_0x8ed4('0x9')](),controller[_0x8ed4('0xa')]);router['post']('/',auth[_0x8ed4('0x9')](),controller[_0x8ed4('0xb')]);router['put'](_0x8ed4('0x8'),auth[_0x8ed4('0x9')](),controller[_0x8ed4('0xc')]);router[_0x8ed4('0xd')](_0x8ed4('0x8'),auth[_0x8ed4('0x9')](),controller[_0x8ed4('0xe')]);module[_0x8ed4('0xf')]=router;