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 _0xa82c=['post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','/:id','show'];(function(_0xd0f0ff,_0x2bc800){var _0x3438f3=function(_0x578cbc){while(--_0x578cbc){_0xd0f0ff['push'](_0xd0f0ff['shift']());}};_0x3438f3(++_0x2bc800);}(_0xa82c,0xb1));var _0xca82=function(_0x817452,_0xf4f5c6){_0x817452=_0x817452-0x0;var _0x2ea13e=_0xa82c[_0x817452];return _0x2ea13e;};'use strict';var multer=require(_0xca82('0x0'));var util=require(_0xca82('0x1'));var path=require(_0xca82('0x2'));var timeout=require(_0xca82('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0xca82('0x4'));var interaction=require(_0xca82('0x5'));var config=require('../../config/environment');var controller=require('./intDeskField.controller');router[_0xca82('0x6')]('/',auth[_0xca82('0x7')](),controller['index']);router['get'](_0xca82('0x8'),auth['isAuthenticated'](),controller[_0xca82('0x9')]);router[_0xca82('0xa')]('/',auth[_0xca82('0x7')](),controller[_0xca82('0xb')]);router[_0xca82('0xc')](_0xca82('0x8'),auth['isAuthenticated'](),controller[_0xca82('0xd')]);router[_0xca82('0xe')](_0xca82('0x8'),auth['isAuthenticated'](),controller[_0xca82('0xf')]);module[_0xca82('0x10')]=router;